Automatic integration method and device based on vehicle application

Through the method of automated integration of vehicle applications, the problems of low efficiency and high error rate caused by manual integration in the existing technology are solved, an efficient and reliable integration process is realized, and the development efficiency of intelligent driving domain control software and vehicle safety are improved. .

CN119356723AInactive Publication Date: 2025-01-24CHINA FAW CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411335646.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-01-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing vehicle application integration methods rely on manual operations and are prone to errors, affecting the development efficiency and vehicle safety of intelligent driving domain control software.

Method used

Provide an automated integration method based on vehicle application. By obtaining basic mirror packages, application mirror packages, and application configuration files, unzip and integrated mirror packages, perform software version verification and generate integrated mirror packages. Essence

Benefits of technology

The automation integration of vehicle applications has been achieved, significantly improved the efficiency of integration, reduced the incidence rate, improved the development efficiency of intelligent driving domain control software, and ensured the safety of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356723A_ABST
    Figure CN119356723A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an automatic integration method and device based on a vehicle application, and relates to the technical field of automobile automatic integration, and the method comprises the steps: obtaining a basic mirror image package, an application mirror image package and an application configuration file; decompressing the basic mirror image package and mounting the decompressed basic mirror image package to a local temporary directory; decompressing each application mirror image package, and analyzing the application configuration file; according to the content of each application configuration file, creating integrated threads in one-to-one correspondence with the application configuration files, and integrating the application software files in the decompressed application mirror image package to obtain an integrated mirror image; verifying the integrated mirror image software version to generate an integrated mirror image package; compressing the generated integrated mirror image packet to obtain a compressed integrated mirror image, and uploading the compressed integrated mirror image to a server; automatic integration of vehicle applications is achieved, the integration efficiency is remarkably improved, the error occurrence rate is reduced, the development efficiency of intelligent driving domain control software is improved, and the vehicle safety is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automotive automation integration technology, and in particular to an automation integration method and device based on vehicle applications. Background Art

[0002] With the rapid development of the automotive industry, intelligence, electrification and networking have become the main development trends. As a frontier field in the automotive industry, the complexity of the software system of intelligent driving technology is increasing. In the field of intelligent driving technology, various applications such as automatic driving assistance systems, in-vehicle infotainment systems, vehicle monitoring and diagnostic systems, etc. are designed and implemented by different development teams. These applications need to be integrated into a unified platform and installed on the intelligent driving domain controller. The traditional integration method requires manual operation by integrators and integration according to the documentation of each application. This process is time-consuming and error-prone, especially when the number of applications increases. The integration complexity is higher; at the same time, there is a lack of unified integration processes and standards, and the integration methods between different applications are also different, making automated integration almost impossible to achieve; these problems not only affect the development efficiency of intelligent driving domain control software, but also pose a potential threat to vehicle safety and user experience. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an automated integration method and device based on vehicle applications, so as to solve the problem that the existing vehicle application integration method relies on manual operation, is prone to errors, and affects the development efficiency of intelligent driving domain control software and vehicle safety.

[0004] In a first aspect, an embodiment of the present application provides an automated integration method based on vehicle applications, comprising:

[0005] Obtain the basic image package, application image package, and application configuration file;

[0006] Unzip the base image package and mount the unzipped base image package to a local temporary directory;

[0007] Decompress each application image package and parse the application configuration file;

[0008] According to the content of each application configuration file, an integration thread corresponding to each is created and the application software files in the decompressed application image package are integrated to obtain an integrated image;

[0009] Verify the integrated image software version and generate an integrated image package;

[0010] Compress the generated integrated image package to obtain a compressed integrated image and upload it to the server.

[0011] In the above implementation process, the basic image package, application image package and application configuration file are obtained; the basic image package is decompressed and the decompressed basic image package is mounted to a local temporary directory; each application image package is decompressed and the application configuration file is parsed; according to the content of each application configuration file, an integration thread corresponding to each is created and the application software files in the decompressed application image package are integrated to obtain an integrated image; the integrated image software version is verified to generate an integrated image package; the generated integrated image package is compressed to obtain a compressed integrated image and uploaded to the server; the automated integration of vehicle applications is realized, which simplifies the writing of automated scripts and the integration operation process, significantly improves the efficiency of integration, reduces the error rate, improves the development efficiency of intelligent driving domain control software, and ensures vehicle safety.

[0012] Further, the obtaining of the basic image package, the application image package and the application configuration file includes:

[0013] Download the base image package from the server;

[0014] Download the application image package and the application configuration file from the server, wherein the number of applications to be integrated corresponds to the number of application image packages and their application configuration files that need to be downloaded.

[0015] In the above implementation process, the basic image package, the application image package and the application configuration file are first downloaded from the server so as to perform automatic integration according to the downloaded content.

[0016] Further, the step of creating an integration thread corresponding to each application configuration file according to the content of each application configuration file, and integrating the application software files in the decompressed application image package to obtain an integrated image includes:

[0017] According to the content of each application configuration file, create an integration thread corresponding to each one;

[0018] The application software files in the decompressed application image package are processed separately according to different integration threads, and the processed contents are integrated uniformly to obtain an integrated image.

[0019] In the above implementation process, an integration thread corresponding to each application configuration file is created according to the content of each application configuration file, and the integration is performed uniformly to obtain an integrated image, thereby simplifying the integration operation process and significantly improving the integration efficiency.

[0020] Furthermore, the application software files in the decompressed application image package are processed separately according to different integration threads, including:

[0021] The application software files in the decompressed application image package are copied according to different integration threads, the read and write permissions are modified, the relevant library files are installed, and the startup script is processed.

[0022] In the above implementation process, the application image package is integrated and processed automatically, and the integration is reliable and efficient.

[0023] Further, the integrated image software version is verified to generate an integrated image package, including:

[0024] Perform md5 data verification and application version verification on the integrated image, and modify the database file of the integrated image;

[0025] Upgrade the software version number of the integrated image;

[0026] Generate an integration description document file of the integration process, which records the integration operation process and integration application information description.

[0027] In the above implementation process, the integrated image software version is verified to ensure the accuracy of the integrated image, automatically upgrade the software version number, avoid errors, and make the integration efficient and reliable.

[0028] Furthermore, compressing the generated integrated image package to obtain a compressed integrated image and uploading it to the server includes:

[0029] Uninstall the integrated image from the local temporary directory;

[0030] The generated integrated image package is compressed to obtain a compressed integrated image and uploaded to the server.

[0031] In the above implementation process, the generated integrated image package is compressed to obtain the compressed integrated image and upload it to the server, which significantly improves the efficiency of integration, reduces the error rate and the long-term maintenance cost relying on manpower and time, improves the overall software quality, improves the user experience, and brings significant economic benefits to the development of complete vehicles and parts products.

[0032] In a second aspect, an embodiment of the present application provides an automated integration device based on vehicle applications, including:

[0033] The file acquisition module is used to obtain the basic image package, application image package and application configuration file;

[0034] The image decompression module is used to decompress the base image package and mount the decompressed base image package to a local temporary directory;

[0035] The file parsing module is used to decompress each application image package and parse the application configuration file;

[0036] An image integration module is used to create an integration thread corresponding to each application configuration file according to the content of each application configuration file and integrate the application software files in the decompressed application image package to obtain an integrated image;

[0037] The image verification module is used to verify the integrated image software version and generate an integrated image package;

[0038] The image upload module is used to compress the generated integrated image package, obtain the compressed integrated image and upload it to the server.

[0039] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0040] A processor, a memory and a bus, wherein the processor is connected to the memory via the bus, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the automated integration method based on vehicle applications as described above is implemented.

[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a server, the automated integration method based on vehicle applications as described above is implemented.

[0042] In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes instructions, and when the instructions are executed by a computer, the computer implements the vehicle application-based automation integration method as described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 A schematic diagram of a process flow of an automated integration method based on vehicle applications provided in an embodiment of the present application;

[0045] Figure 2 A schematic diagram of an automated integration process of an automated integration method based on vehicle applications provided in an embodiment of the present application;

[0046] Figure 3 A schematic diagram of a configuration file of an automated integration method based on vehicle applications provided in an embodiment of the present application;

[0047] Figure 4 is a structural schematic diagram of an automated integrated device based on vehicle applications provided in an embodiment of the present application;

[0048] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0050] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0051] Please see Figure 1 , Figure 1 A schematic diagram of a process flow of an automated integration method based on vehicle applications provided in an embodiment of the present application. Figure 1 , the vehicle application-based automated integration method includes:

[0052] 100. Obtain the basic image package, application image package, and application configuration file.

[0053] It can be understood that the basic image package is a copy of the operating system program and its additional files, which is usually used to provide a basic environment for an operating system. It is the starting point for creating a virtual machine or container instance, and contains the basic components required for operation, such as the kernel, file system, driver, etc.; optionally, the basic image package of the embodiment of the present application includes an operating system, necessary library files, development tools, and a runtime environment.

[0054] The application image package is built based on the basic image package. It contains all the components required to run a specific application, including the application itself, dependent libraries, configuration files, etc. The main function of the application image package is to provide an environment for rapid deployment and operation of applications. Optionally, the application image package of the embodiment of the present application contains the core algorithms, models, control logic, etc. of the intelligent driving system, as well as configuration files and data sets related thereto.

[0055] An application configuration file is a text file containing system or application configuration information. It is used to define key configuration items such as the application's operating environment, parameter settings, and database connection information. The existence of the application configuration file enables the application to flexibly adapt to different operating environments and requirements. Optionally, the configuration file of the embodiment of the present application contains model parameters, training parameters, system operating parameters, etc., which are used to guide the normal operation and tuning of the intelligent driving system.

[0056] Specifically, a basic image package is downloaded from a server; each application image package and application configuration file is downloaded from a server; the basic image package, application image package and application configuration file are first downloaded from the server so as to automatically integrate the downloaded content.

[0057] 200. Unzip the base image package and mount the unzipped base image package to a local temporary directory.

[0058] Specifically, the basic image package is decompressed and mounted to a local temporary directory, and after the application image package is processed and integrated, the generated integrated image package is uploaded to the server.

[0059] 300. Decompress each application image package and parse the application configuration file.

[0060] It can be understood that each application image package to be integrated is decompressed, and each application configuration file is parsed, so that the decompressed application image packages are uniformly integrated according to the application configuration files.

[0061] Optionally, the application configuration file is usually written in a format that is easy for humans to read (such as INI, XML, YAML, JSON, etc.), and its content can be directly read to understand the configuration information of the application or system.

[0062] 400. According to the content of the application configuration file, create an integration thread corresponding to each one and integrate the application software files in the decompressed application image package to obtain an integrated image.

[0063] Specifically, according to the contents of each application configuration file to be integrated, an integration thread corresponding to each is created; the application software files in the decompressed application image package are processed respectively according to different integration threads, and the processed contents are integrated uniformly to obtain an integrated image.

[0064] On the basis of the above embodiment, the automatic integration method based on vehicle applications can also be embodied as follows: the application software files in the decompressed application image package are processed separately according to different integration threads, including:

[0065] The application software files in the decompressed application image package are copied according to different integration threads, the read and write permissions are modified, the relevant library files are installed, and the startup scripts are processed; among them, the application image package is automatically integrated and processed, and the integration is reliable and efficient.

[0066] For example, please refer to Figure 2, create n integration threads, integrate according to the configuration of application 1 (or application 2, application n, etc.) in the application configuration file (for example, in XML format), copy all application-related files, modify permissions, add startup scripts, etc.

[0067] 500. Verify the integrated image software version and generate an integrated image package.

[0068] Specifically, the integrated image is verified by MD5 data and application version, and the database file of the integrated image is modified; the software version number of the integrated image is automatically upgraded; and an application integration description file is generated at the same time, which records the integrated operation process and integrated application information description. Thus, the integrated image software version is verified, the accuracy of the integrated image is ensured, and the integrated description document file of the integrated image is automatically generated to avoid errors, and the integration is efficient and reliable.

[0069] Exemplarily, the integrated image is subjected to an md5 data verification process, the data to be verified is taken as input, the md5 algorithm is used to perform a hash operation on the data, a hash value of a fixed length is generated, and the calculated hash value is compared with a known hash value (such as a hash value transmitted with the data, an officially released hash value, etc.). If the two are the same, it is considered that the data has not been tampered with during transmission or storage, and the integrity and correctness are maintained; if they are different, it is considered that the data may have been tampered with or damaged.

[0070] The strength is equal. The application version of the integrated image can be verified through script verification: write an automated script to obtain the version number of the application by executing specific commands or calling the API interface, and compare it with the expected version; it can also be verified through a container image scanning tool: use container image scanning tools (such as Clair, Trivy, etc.) to scan the image. These tools can identify vulnerabilities and outdated software packages in the image, and report the version information of the application.

[0071] Optionally, the database file of the integrated image can be adjusted and modified according to the verification results, thereby enhancing the completeness and accuracy of the automated integration.

[0072] 600. Compression is performed on the generated integrated image package to obtain a compressed integrated image and upload the compressed integrated image to a server.

[0073] Specifically, the integrated image package is uninstalled from the local temporary directory; the generated integrated image package is compressed to obtain a compressed integrated image and uploaded to the server.

[0074] In the above implementation process, the automatically generated integrated image package is compressed to obtain a compressed integrated image and automatically uploaded to the server, which significantly improves the efficiency of integration, reduces the error rate and the cost of long-term maintenance relying on manpower and time, improves the overall quality of the software, improves the user experience, and brings significant economic benefits to the development of complete vehicles and parts products.

[0075] As described above, the embodiment of the present application obtains a basic image package, an application image package and an application configuration file; decompresses the basic image package and mounts the decompressed basic image package to a local temporary directory; decompresses each application image package and parses the application configuration file; according to the content of each application configuration file, creates an integration thread corresponding to each one and uniformly integrates the application software files in the decompressed application image package to obtain an integrated image; verifies the integrated image software version to generate an integrated image package; compresses the generated integrated image package to obtain a compressed integrated image and uploads it to the server; realizes automated integration of vehicle applications, significantly improves integration efficiency, reduces error rate, improves the development efficiency of intelligent driving domain control software, and ensures vehicle safety.

[0076] For example, download the basic image package from the server. The basic image package contains multiple applications such as uboot.bin, kernel.bin, and rootfs.ext4.gz. Integration mainly refers to integrating a bunch of applications into the file system, namely, rootfs.ext4.gz. Download the application image package and application configuration file from the server. The application configuration file is bigdata.xml, and the content is as follows: Figure 3 ; Unzip the image package and mount the image to a local temporary directory; create an integration thread according to the content of the application configuration file; integrate according to the content of the configuration file, copy the application software files in the application image package according to the content of bigdata.xml, modify the read and write permissions, install related library files, start scripts, etc.; integrate the image's md5 check and application version check, and modify the image's database file; upgrade the software version number of the integrated image; generate an integration description document file for the integration process, which mainly records the integration operation process and integrated application information description; uninstall the local image and compress the integrated image package; upload the integrated image package to the server.

[0077] Please refer to Figure 3 The contents of the application configuration file include: application configuration, application name, application version, application permissions (you can select correct or incorrect for the specific operation of the application permissions to agree or deny the application permissions), installation information, application installation path (you can select the installation path), library installation path (you can select the installation path), self-starting script file, content added by the script file, image package md5 checksum, etc.

[0078] The above steps are not to be performed in a strict order as described in the numbers, but should be understood as an overall solution.

[0079] In the second aspect, based on the above embodiments, Figure 4 This is a schematic diagram of the structure of an automated integrated device based on vehicle applications provided in an embodiment of the present application. Figure 4 The automated integration device based on vehicle application provided in this embodiment specifically includes: a file acquisition module 401, an image decompression module 402, a file parsing module 403, an image integration module 404, an image verification module 405 and an image upload module 406.

[0080] Among them, the file acquisition module 401 is used to obtain the basic image package, application image package and application configuration file; the image decompression module 402 is used to decompress the basic image package and mount the decompressed basic image package to a local temporary directory; the file parsing module 403 is used to decompress each application image package and parse the configuration file; the image integration module 404 is used to create an integration thread corresponding to each application configuration file according to the content of each application configuration file and integrate the application software files in the decompressed application image package to obtain an integrated image; the image verification module 405 is used to verify the integrated image software version and generate an integrated image package; the image upload module 406 is used to compress the generated integrated image package, obtain a compressed integrated image and upload it to the server.

[0081] As described above, the embodiment of the present application obtains a basic image package, an application image package and an application configuration file; decompresses the basic image package and mounts the decompressed basic image package to a local temporary directory; decompresses each application image package and parses the configuration file; according to the content of each application configuration file, creates an integration thread corresponding to each one and integrates the application software files in the decompressed application image package to obtain an integrated image; verifies the integrated image software version to generate an integrated image package; compresses the generated integrated image package to obtain a compressed integrated image and uploads it to the server; realizes automated integration of the vehicle's application image package, significantly improves the efficiency of integration, reduces the error rate, improves the development efficiency of intelligent driving domain control software, and ensures vehicle safety.

[0082] The automated integration device based on vehicle applications provided in the embodiment of the present application can be used to execute the automated integration method based on vehicle applications provided in the above embodiment, and has corresponding functions and beneficial effects.

[0083] In a third aspect, an embodiment of the present application further provides an electronic device that can integrate the vehicle application-based automation integration device provided in an embodiment of the present application. Figure 5 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 5The electronic device includes: an input device 53, an output device 54, a memory 52 and one or more processors 51; the memory 52 is used to store one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 51 implement the automatic integration method based on vehicle applications as provided in the above embodiment. The input device 53, the output device 54, the memory 52 and the processor 51 can be connected by a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0084] The processor 51 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 52, that is, realizes the above-mentioned automated integration method based on vehicle applications.

[0085] The electronic device provided above can be used to execute the vehicle application-based automation integration method provided in the above embodiment, and has corresponding functions and beneficial effects.

[0086] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, the computer-readable storage medium including a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the automated integration method based on vehicle applications as described above, and can achieve the same beneficial effects.

[0087] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present application, whose computer executable instructions are not limited to the automated integration method based on vehicle applications as described above, can also execute related operations in the automated integration method based on vehicle applications provided in any embodiment of the present application.

[0088] In a fifth aspect, the embodiments of the present application also provide a computer program product, and the methods described in the various embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the various embodiments of the present application is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM (Open Application Model) or other programmable device.

[0089] The computer program or instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.

[0090] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0091] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0092] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for an electronic device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0093] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0094] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0095] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

Claims

1. An automated integration method based on vehicle applications, characterized in that: include: Obtain the basic image package, application image package, and application configuration file; Unzip the base image package and mount the unzipped base image package to a local temporary directory; Decompress each application image package and parse the application configuration file; According to the content of each application configuration file, an integration thread corresponding to each is created and the application software files in the decompressed application image package are integrated to obtain an integrated image; Verify the integrated image software version and generate an integrated image package; Compress the generated integrated image package to obtain a compressed integrated image and upload it to the server.

2. The vehicle application-based automated integration method according to claim 1, characterized in that: The obtaining of the basic image package, the application image package and the application configuration file includes: Download the base image package from the server; Download each application image package and application configuration file from the server, wherein the number of applications to be integrated corresponds to the number of application image packages and application configuration files that need to be downloaded.

3. The vehicle application-based automated integration method according to claim 1, characterized in that: The step of creating an integration thread corresponding to each application configuration file according to the content of each application configuration file and integrating the application software files in the decompressed application image package to obtain an integrated image includes: According to the content of each application configuration file, create an integration thread corresponding to each one; The application software files in the decompressed application image package are processed separately according to different integration threads, and the processed contents are integrated uniformly to obtain an integrated image.

4. The vehicle application-based automated integration method according to claim 3, characterized in that: The process of processing the application software files in the decompressed application image package according to different integration threads includes: The application software files in the decompressed application image package are copied according to different integration threads, the read and write permissions are modified, the relevant library files are installed, and the startup script is processed.

5. The vehicle application-based automated integration method according to claim 1, characterized in that: The step of verifying the integrated image software version and generating an integrated image package includes: Perform md5 data verification and application version verification on the integrated image, and modify the database file of the integrated image; Upgrade the software version number of the integrated image; Generate an integration description document file of the integration process, which records the integration operation process and integrated application information description.

6. The vehicle application-based automated integration method according to claim 1, characterized in that: The step of compressing the generated integrated image package to obtain a compressed integrated image and uploading it to the server includes: Uninstall the integrated image from the local temporary directory; Compress the generated integrated image package to obtain a compressed integrated image and upload it to the server.

7. An automated integrated device based on vehicle applications, characterized in that: include: The file acquisition module is used to obtain the basic image package, application image package and application configuration file; The image decompression module is used to decompress the base image package and mount the decompressed base image package to a local temporary directory; File parsing module, used to decompress each application image package and parse the configuration file; An image integration module is used to create an integration thread corresponding to each application configuration file according to the content of each application configuration file and integrate the application software files in the decompressed application image package to obtain an integrated image; The image verification module is used to verify the integrated image software version and generate an integrated image package; The image upload module is used to compress the generated integrated image package, obtain the compressed integrated image and upload it to the server.

8. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the processor is connected to the memory via the bus, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, they are used to implement the automated integration method based on vehicle applications as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a server, the vehicle application-based automated integration method as described in any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that The computer program product comprises instructions, which, when executed by a computer, enable the computer to implement the vehicle application-based automation integration method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Operating system customization method, batch deployment method and batch deployment system

    CN110825392A