A method, system, device and storage medium based on deployment of an autonomous vehicle
By comparing version files and configuring parameters of the onboard controller, highly automated software deployment for autonomous vehicles was achieved, solving the problems of cumbersome operation and low reliability, improving safety and reducing human error rate.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 东风悦享科技有限公司
- Filing Date
- 2022-12-12
- Publication Date
- 2026-05-12
AI Technical Summary
During the software deployment process of autonomous vehicles, there are numerous program versions and different interfaces, resulting in cumbersome operation procedures, low reliability, high error rate in manual processing, and a lack of a unified system for integrated deployment.
The system obtains change data requests through the vehicle controller, compares version file packages and generates compensation packages, performs parameter changes and configurations, and utilizes a modular system for automated deployment, including vehicle controller program import, backup, environment checks, status feedback and parameter configuration.
It has enabled highly automated software deployment on a large scale, improving security and reliability, reducing human intervention, lowering the probability of errors, and simplifying operation processes.
Smart Images

Figure CN115794129B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of autonomous vehicle technology, and in particular to a deployment method, system, device and storage medium based on autonomous vehicles. Background Technology
[0002] With the current development of autonomous driving, there is a wide variety of autonomous vehicle models. Currently, the development and debugging of autonomous driving systems requires the deployment and configuration of different programs and parameters. Due to the varying vehicle software environments, numerous program versions, and differences in interface, path, and operation methods among program modules, the deployment and operation process of autonomous driving systems is cumbersome and requires specialized personnel to learn and use them.
[0003] For the reasons mentioned above, the reliability of existing autonomous driving deployment systems is relatively low, with numerous manual processing steps leading to a high rate of human error. Furthermore, the various functions within the current deployment system are quite fragmented, lacking a unified and integrated framework.
[0004] In the prior art, patent CN110308978A provides a method, device, terminal, and server for deploying autonomous driving software. The method includes: collecting geographical location parameters and environmental parameters of the next road segment of the vehicle; searching for matching autonomous driving software in the vehicle's cache based on the geographical location parameters and environmental parameters; when at least two matching autonomous driving software exist, prioritizing the at least two matching autonomous driving software and calling the autonomous driving software with the highest priority; when no matching autonomous driving software exists or only one matching autonomous driving software exists, providing feedback and prompting information. However, this method cannot achieve the deployment of autonomous driving software with a higher level of automation on a large scale. Therefore, how to achieve the deployment of autonomous driving software with a higher level of automation on a large scale has become an urgent problem to be solved. Summary of the Invention
[0005] In view of the shortcomings of the prior art, the present invention provides a deployment method, system, device and storage medium based on autonomous vehicles. It not only enables the deployment of autonomous driving software with a higher level of automation on a large scale, but also prioritizes multiple matched autonomous driving software and calls the autonomous driving software with the highest priority, which greatly improves safety and reliability. In addition, it reduces human intervention and greatly reduces labor costs.
[0006] To achieve the above and other related objectives, the present invention provides the following technical solution:
[0007] A deployment method based on autonomous vehicles includes the following steps:
[0008] M1: Based on the onboard controller of autonomous vehicles, it obtains the change data request of the onboard controller and outputs the change data request information according to the ROS workspace of the onboard controller.
[0009] M2: Based on the change data request information, check the version file information of the vehicle controller, obtain the current version file package corresponding to the current version, compare the current version file package with the upgrade version file package, and output the compensation package associated with the current version file package;
[0010] M3: Based on the upgraded version file package and the compensation package associated with the current version file package, change and back up the version file information of the vehicle controller, and feed back the status data information of the vehicle controller;
[0011] M4: Based on the status data information of the vehicle controller, check whether the corresponding nodes have been started, report the nodes that are not running as required, and change and configure the parameters of the nodes that are not running as required to complete the deployment work.
[0012] Furthermore, in step M2, the step of outputting the compensation package associated with the current version file package includes:
[0013] M21: Determine the current version of the vehicle controller based on the version file information of the vehicle controller;
[0014] M22: Compare the current version of the script file of the vehicle controller with the script file of the upgrade version file package to generate a compensation file containing the differences and additions in the content;
[0015] M23: Based on the generated compensation file containing differences and additions, parameters are changed and configured according to the environmental configuration of the vehicle controller, and a compensation package associated with the current version file package is output.
[0016] Furthermore, the current version of the script file includes the function package file of the vehicle controller and the current version number file.
[0017] Furthermore, the current version script file selects an upgrade script template corresponding to the target database type from the constructed upgrade script templates, and filters and sorts the upgrade script templates based on the obtained upgrade version range to obtain the upgrade script for the corresponding version upgrade request.
[0018] Furthermore, the current version number is used to filter the obtained upgrade script templates, and the filtered upgrade script templates are sorted according to the version number to obtain the upgrade script corresponding to the final version upgrade request.
[0019] To achieve the above and other related objectives, the present invention also provides a deployment system based on an autonomous vehicle, the system comprising:
[0020] The vehicle controller program import module is used to import upgrade version data; the vehicle controller program backup module is connected to the vehicle controller program module and is used for program storage and backup.
[0021] The vehicle controller environment check module is used to check the version information of the necessary dependencies of the vehicle controller;
[0022] The vehicle controller status feedback module is used to display operation results and provide operation reminders;
[0023] The vehicle controller parameter configuration module is used to change and configure parameters based on the information in the upgraded version data.
[0024] The vehicle controller program self-test module is used to detect the program running status in the controller, check whether the corresponding nodes have been started, and provide feedback on nodes that are not running as required; the version reading unit is used to check the version number of each function package and program in the controller;
[0025] The vehicle controller network communication module is connected to the vehicle controller import module, environment check module, status feedback module, parameter configuration module and program self-test module. It is used for SSH communication connection function and provides Shell command issuance and SFTP file transfer interface for other modules.
[0026] Furthermore, the system also includes an on-board controller tool parameter module to meet diverse needs, configuring the cloud platform interface, requirement node list, parameter file name, and path information using a JSON parameter file.
[0027] Furthermore, the vehicle controller network communication module sends a Shell command based on the Deploy::sshSendCmd slot function, and the received result is then processed based on Deploy::slotDataArr.
[0028] The ived slot function is used for listening.
[0029] To achieve the above and other related objectives, the present invention also provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the steps of any of the described deployment methods based on an autonomous vehicle by executing the executable instructions.
[0030] To achieve the above and other related objectives, the present invention also provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor of the steps of any of the described deployment methods based on autonomous vehicles.
[0031] The present invention has the following positive effects:
[0032] 1. This invention addresses the problem of excessive human intervention in the program deployment process of autonomous vehicles by implementing deployment methods for various functional modules during the deployment and update of autonomous vehicle programs.
[0033] 2. This invention enables the deployment of autonomous driving software with a higher level of automation on a large scale. It prioritizes multiple matched autonomous driving software programs and calls the autonomous driving software with the highest priority, which greatly improves safety and reliability.
[0034] 3. This invention simplifies the number of human interventions required during the deployment of autonomous driving systems, improves deployment efficiency, reduces the probability of errors caused by human error during deployment, and the method is simple and easy to use. Attached Figure Description
[0035] Figure 1 This is a schematic diagram of the method flow of the present invention;
[0036] Figure 2 This is a schematic diagram of the method flow for outputting a compensation package associated with the current version file package according to the present invention;
[0037] Figure 3 This is a schematic diagram of the system framework of the present invention. Detailed Implementation
[0038] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0039] Example 1: As Figure 1 As shown, a deployment method based on autonomous vehicles includes the following steps:
[0040] M1: Based on the onboard controller of autonomous vehicles, it obtains the change data request of the onboard controller and outputs the change data request information according to the ROS workspace of the onboard controller.
[0041] M2: Based on the change data request information, check the version file information of the vehicle controller, obtain the current version file package corresponding to the current version, compare the current version file package with the upgrade version file package, and output the compensation package associated with the current version file package;
[0042] M3: Based on the upgraded version file package and the compensation package associated with the current version file package, change and back up the version file information of the vehicle controller, and feed back the status data information of the vehicle controller;
[0043] M4: Based on the status data information of the vehicle controller, check whether the corresponding nodes have been started, report the nodes that are not running as required, and change and configure the parameters of the nodes that are not running as required to complete the deployment work.
[0044] In this embodiment, as Figure 2 As shown, in step M2, the step of outputting the compensation package associated with the current version file package includes:
[0045] M21: Determine the current version of the vehicle controller based on the version file information of the vehicle controller;
[0046] M22: Compare the current version of the script file of the vehicle controller with the script file of the upgrade version file package to generate a compensation file containing the differences and additions in the content;
[0047] M23: Based on the generated compensation file containing differences and additions, parameters are changed and configured according to the environmental configuration of the vehicle controller, and a compensation package associated with the current version file package is output.
[0048] In this embodiment, the current version of the script file includes the function package file of the vehicle controller and the current version number file.
[0049] In this embodiment, the current version script file selects an upgrade script template corresponding to the target database type from the built upgrade script templates, and filters and sorts the upgrade script templates based on the obtained upgrade version range to obtain the upgrade script for the corresponding version upgrade request.
[0050] In this embodiment, the current version number is used to filter the obtained upgrade script templates, and the filtered upgrade script templates are sorted according to the version number to obtain the upgrade script corresponding to the final version upgrade request.
[0051] Example 2: Based on the deployment method of autonomous vehicles in Example 1, the present invention will be further described below.
[0052] like Figure 3As shown, in order to achieve the above and other related objectives, the present invention also provides a deployment system based on an autonomous vehicle, the system comprising:
[0053] The vehicle controller program import module is used to import upgrade version data;
[0054] The vehicle controller program backup module is connected to the vehicle controller program module and is used for program storage and backup.
[0055] The vehicle controller environment check module is used to check the version information of the necessary dependencies of the vehicle controller;
[0056] The vehicle controller status feedback module is used to display operation results and provide operation reminders;
[0057] The vehicle controller parameter configuration module is used to change and configure parameters based on the information in the upgraded version data.
[0058] The vehicle controller program self-test module is used to detect the program running status in the controller, check whether the corresponding nodes have been started, and provide feedback on nodes that are not running as required; the version reading unit is used to check the version number of each function package and program in the controller;
[0059] The vehicle controller network communication module is connected to the vehicle controller import module, environment check module, status feedback module, parameter configuration module and program self-test module. It is used for SSH communication connection function and provides Shell command issuance and SFTP file transfer interface for other modules.
[0060] In this embodiment, the system also includes an on-board controller tool parameter module to meet diverse needs, configuring the cloud platform interface, requirement node list, parameter file name, and path information using a JSON parameter file.
[0061] In this embodiment, the vehicle controller network communication module is based on DepLoy::ssh.
[0062] The SendCmd slot function sends shell commands, and the received results are based on Deploy::s
[0063] The lotDataArrived slot function listens for activity.
[0064] To achieve the above and other related objectives, the present invention also provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the steps of any of the described deployment methods based on an autonomous vehicle by executing the executable instructions.
[0065] To achieve the above and other related objectives, the present invention also provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor of the steps of any of the described deployment methods based on autonomous vehicles, the computer-readable storage medium being a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0066] In summary, this invention not only enables the deployment of autonomous driving software with a higher level of automation on a large scale, but also prioritizes multiple matched autonomous driving software programs and calls the one with the highest priority, greatly improving safety and reliability. Furthermore, it reduces human intervention and significantly lowers labor costs.
[0067] Although the invention has been described with reference to a limited number of embodiments, those skilled in the art will understand from the foregoing description that other embodiments are conceivable within the scope of the invention described herein. Furthermore, it should be noted that the language used in this specification has been chosen primarily for readability and instructional purposes, and not for the purpose of interpreting or limiting the subject matter of the invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the invention is illustrative and not restrictive, and the scope of the invention is defined by the appended claims.
Claims
1. A deployment method based on autonomous vehicles, characterized in that, Includes the following steps: M1. Based on the onboard controller of the autonomous vehicle, obtain the change data request of the onboard controller, and output the change data request information according to the ROS workspace of the onboard controller; M2. Based on the change data request information, check the version file information of the vehicle controller, obtain the current version file package corresponding to the current version, compare the current version file package with the upgrade version file package, and output the compensation package associated with the current version file package; M3. Based on the upgraded version file package and the compensation package associated with the current version file package, modify and back up the version file information of the vehicle controller, and feed back the status data information of the vehicle controller; M4. Based on the status data information of the vehicle controller, check whether the corresponding nodes have been started, report the nodes that are not running as required, and change and configure the parameters of the nodes that are not running as required to complete the deployment work; In step M2, the step of outputting the compensation package associated with the current version file package includes: M21. Determine the current version of the vehicle controller based on the version file information of the vehicle controller; M22. Compare the current version of the script file of the vehicle controller with the script file of the upgrade version package to generate a compensation file containing the differences and additions in the content; M23. Based on the generated compensation file containing differences and additions, parameters are changed and configured according to the environmental configuration of the vehicle controller, and a compensation package associated with the current version file package is output.
2. The deployment method based on autonomous vehicles according to claim 1, characterized in that: The current version of the script file includes the function package file of the vehicle controller and the current version number file.
3. The deployment method based on autonomous vehicles according to claim 2, characterized in that: The current version script file selects the upgrade script template corresponding to the target database type from the built upgrade script templates, and filters and sorts the upgrade script templates based on the obtained upgrade version range to obtain the upgrade script for the corresponding version upgrade request.
4. The deployment method based on autonomous vehicles according to claim 3, characterized in that: The current version number is used to filter the obtained upgrade script templates. The filtered upgrade script templates are then sorted by version number to obtain the upgrade script corresponding to the final version upgrade request.
5. A deployment system based on autonomous vehicles, characterized in that, For implementing the deployment method based on autonomous vehicles according to any one of claims 1-4, the system comprises: The vehicle controller program import module is used to import upgrade version data; The vehicle controller program backup module is connected to the vehicle controller program module and is used for program storage and backup. The vehicle controller environment check module is used to check the version information of the necessary dependencies of the vehicle controller; The vehicle controller status feedback module is used to display operation results and provide operation reminders; The vehicle controller parameter configuration module is used to change and configure parameters based on the information in the upgraded version data. The vehicle controller program self-test module is used to detect the program running status in the controller, check whether the corresponding nodes have been started, and provide feedback on nodes that are not running as required; the version reading unit is used to check the version numbers of each function package and program in the controller; The vehicle controller network communication module is connected to the vehicle controller import module, environment check module, status feedback module, parameter configuration module and program self-test module. It is used for SSH communication connection function and provides Shell command issuance and SFTP file transfer interface for other modules.
6. The deployment system based on autonomous vehicles according to claim 5, characterized in that: The system also includes an on-board controller tool parameter module to meet diverse needs, configuring cloud platform interfaces, requirement node lists, parameter file names, and path information using JSON parameter files.
7. The deployment system based on autonomous vehicles according to claim 5, characterized in that: The vehicle controller network communication module sends a Shell command based on the Deploy::sshSendCmd slot function, and listens for the received results based on the Deploy::slotDataArrived slot function.
8. An electronic device, characterized in that, include: processor; And a memory for storing executable instructions of the processor; wherein the processor is configured to perform the steps of the deployment method based on any one of claims 1 to 4 by executing the executable instructions.
9. A computer-readable storage medium, characterized in that, It stores a computer program that is processed by a processor to perform the steps of the deployment method based on an autonomous vehicle according to any one of claims 1 to 4.