Intelligent network connection vehicle remote upgrading device, method, equipment, medium and product
The remote upgrade device of intelligent connected vehicles through local area network communication solves the problem of inconvenience in upgrades of smart cars in special scenarios, realizes differential upgrades and breakpoint relays, reduces dependence on cloud services, improves upgrade convenience and testing efficiency .
Patent Information
- Application Number
- CN202411505006.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-01-03
AI Technical Summary
In special scenarios, it is inconvenient to upgrade intelligent connected vehicles, especially because of security issues, the cloud service platform cannot be used, and the experimental vehicle investment in cloud service platforms is too large, which leads to difficulty in upgrading.
Provides a remote upgrade device and method for intelligent connected vehicles, communicates with the intelligent connected vehicle module through a local area network, configures the upgrade package and executes upgrade instructions, supports differential upgrades, breakpoint relays and software rollback after the upgrade failed, get rid of the right Cloud server dependency.
It has achieved convenient upgrades of smart cars in special scenarios, reduced costs, and is suitable for special vehicles, improving the testing efficiency of the experimental vehicle stage.
Smart Images

Figure CN119248323A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy vehicle software upgrades, and in particular to a remote upgrade device, method, equipment, medium and product for intelligent networked vehicles. Background Art
[0002] Existing online upgrade solutions mostly rely on cloud service platforms and are suitable for commercial passenger vehicles, etc. However, the cloud service platform may not be used in special scenarios. For example, the cloud service platform cannot be used in the field of special vehicles due to safety issues, and the investment in developing the cloud service platform in the experimental vehicle stage is too large. Therefore, it is very inconvenient to upgrade intelligent connected vehicles in special scenarios. Summary of the invention
[0003] The purpose of this application is to provide a remote upgrade device, method, equipment, medium and product for an intelligent connected vehicle to solve the problem of inconvenient upgrade of intelligent connected vehicles in special scenarios.
[0004] To achieve the above objectives, this application provides the following solutions:
[0005] In a first aspect, the present application provides a remote upgrade device for an intelligent networked vehicle, the remote upgrade device for an intelligent networked vehicle comprising: an upgrade service platform, an intelligent vehicle networking module, and an intelligent vehicle to-be-upgraded module;
[0006] The upgrade service platform communicates with the smart car networking module through a local area network; the upgrade service platform is used to configure the upgrade package, select the smart car to be upgraded, and prompt the upgrade status;
[0007] The smart car networking module and the smart car upgrade module are arranged on the smart car to be upgraded;
[0008] The smart car networking module serves as an external communication interface of the smart car, receives the upgrade package, and sends the upgrade package to the smart car module to be upgraded;
[0009] The smart car upgrade module is used to execute upgrade instructions according to the upgrade package and feedback the upgrade results; during the upgrade process, the smart connected car remote upgrade device supports differential upgrade, breakpoint resumption and software rollback after upgrade failure.
[0010] In a second aspect, the present application provides a method for remotely upgrading an intelligent networked vehicle, the method comprising:
[0011] Communicate with the smart car networking module through the local area network via the upgrade service platform; the upgrade service platform is used to configure the upgrade package, select the smart car to be upgraded, and prompt the upgrade status;
[0012] The smart car networking module is used as an external communication interface of the smart car to receive the upgrade package, and the upgrade package is sent to the smart car module to be upgraded; the smart car networking module and the smart car module to be upgraded are arranged on the smart car to be upgraded;
[0013] Through the smart car upgrade module, the upgrade command is executed according to the upgrade package, and the upgrade result is fed back; during the upgrade process, the smart connected car remote upgrade device supports differential upgrade, breakpoint resumption and software rollback after upgrade failure.
[0014] In a third aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any one of the above-described methods for remotely upgrading an intelligent connected vehicle.
[0015] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for remotely upgrading an intelligent connected vehicle.
[0016] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for remote upgrading of intelligent connected vehicles.
[0017] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0018] The present application sets up an upgrade service platform, an intelligent vehicle networking module and an intelligent vehicle to-be-upgraded module, wherein the upgrade service platform communicates with the intelligent vehicle networking module through a local area network, configures upgrade packages, selects intelligent vehicles to be upgraded and prompts upgrade status; the intelligent vehicle networking module serves as an external communication interface for intelligent vehicles, receives upgrade packages, and sends upgrade packages to the intelligent vehicle to-be-upgraded module, which executes upgrade instructions according to the upgrade packages and feeds back upgrade results; during the upgrade process, the intelligent vehicle to-be-upgraded module supports differential upgrades, breakpoint continuation and software rollback after upgrade failure. Based on the intelligent networked vehicle remote upgrade device and method of the present application, the present application only requires the intelligent vehicles to be upgraded to be able to connect to the local area network, and can upgrade multiple intelligent vehicles through an upgrade service platform, thus getting rid of the need for cloud servers for online upgrades, and can solve the need for low-cost testing in the experimental vehicle stage, the need for special vehicles that cannot use cloud service platforms due to safety issues, etc., effectively improving the convenience of upgrading intelligent vehicles in special scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 This is an interactive schematic diagram of a remote upgrade device for a smart connected vehicle in one embodiment of the present application;
[0021] Figure 2 A flowchart of a remote upgrade method for a smart connected vehicle provided in accordance with an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0024] The present application provides a remote upgrade device for an intelligent networked vehicle, which includes: an upgrade service platform 1, an intelligent vehicle networking module 2, and an intelligent vehicle module to be upgraded 3.
[0025] The upgrade service platform 1 communicates with the smart car networking module 2 via a local area network; the upgrade service platform 1 is used to configure upgrade packages, select smart cars to be upgraded, and prompt upgrade status.
[0026] The smart car networking module 2 and the smart car upgrade module 3 are arranged on the smart car to be upgraded.
[0027] The smart car networking module 2 serves as an external communication interface of the smart car, receives the upgrade package, and sends the upgrade package to the smart car module to be upgraded 3.
[0028] The smart car upgrade module 3 is used to execute the upgrade instructions according to the upgrade package and feedback the upgrade results; during the upgrade process, the smart connected car remote upgrade device supports differential upgrade, breakpoint resumption and software rollback after upgrade failure.
[0029] In an exemplary embodiment, the upgrade service platform 1 specifically includes:
[0030] The first judgment unit is used to judge whether the smart car to be upgraded needs to be upgraded according to the current software version of the smart car to be upgraded corresponding to the upgrade package and the version information in the software library.
[0031] The difference calculation unit is used to perform a difference calculation between the upgrade package and the original version upgrade package corresponding to the current software version to generate a difference upgrade package.
[0032] The block division unit is used to divide the differential upgrade package into blocks.
[0033] The second judgment unit is used to parse the unreceived upgrade package information sent by the intelligent vehicle networking module 2 to determine whether breakpoint resumption is required.
[0034] The breakpoint resume unit is used to calculate the transmission breakpoint, encrypt the remaining differential upgrade package of the block transmission, and send it to the intelligent vehicle networking module 2.
[0035] The differential upgrade package sending module is used to encrypt the differential upgrade package and send it completely to the smart car networking module 2.
[0036] A visual interactive interface is used to display upgrade information; the upgrade information includes selecting the drone to be upgraded, selecting the upgrade package, the upgrade status, and the upgrade result information.
[0037] In an exemplary embodiment, the difference calculation unit specifically includes:
[0038] The comparison subunit is used to decompress the upgrade package, compare the upgrade package with the original version upgrade package one by one, and determine whether the files are consistent; wherein the files are the upgrade package and the original version upgrade package.
[0039] The first difference patch generating subunit is used for, when the files are inconsistent and the files are text files, performing process difference processing on the upgrade package and the original version upgrade package by a diff difference method to generate a difference patch.
[0040] The second difference patch generating subunit is used for converting the binary file into ASCII encoding representation using the binascii module in the Python standard library when the files are inconsistent and the files are binary files, and then performing process difference processing on the ASCII encoding representation through the diff difference method to generate a difference patch.
[0041] The differential software package generating subunit is used to generate a differential software package according to one or more differential patches.
[0042] In an exemplary embodiment, the intelligent vehicle networking module 2 specifically includes:
[0043] The checking unit is used to check whether there is an unaccepted upgrade package according to the upgrade instruction, and if so, send information about unaccepted upgrade package to the upgrade service platform 1.
[0044] A decryption unit is used to download and decrypt the differential upgrade package.
[0045] The verification unit is used to perform integrity verification on the upgrade package.
[0046] The reporting unit is used to report the success or failure information of the upgrade package download to the upgrade service platform 1.
[0047] The parsing unit is used to parse the upgrade package and send the upgrade package to the smart car upgrade module 3.
[0048] The sending unit is used to send all reception and upgrade result information to the upgrade service platform 1.
[0049] In an exemplary embodiment, the smart car upgrade module 3 specifically includes:
[0050] The verification unit is used to perform integrity verification on the upgrade package.
[0051] The reception failure information sending unit is used to send the reception failure information to the intelligent vehicle networking module 2.
[0052] The upgrade attempt unit is used to attempt an upgrade according to the upgrade package and determine whether the upgrade is successful.
[0053] Rollback unit, used to roll back to the previous software version.
[0054] The sending unit is used to send all receiving and upgrading result information to the intelligent vehicle networking module 2.
[0055] Online upgrades for existing vehicles are mostly upgrades of released versions, which can basically run directly without the need for a failure rollback function. However, there are often many problems with the software in the testing phase, so designing a failure rollback function can effectively improve testing efficiency.
[0056] The execution steps of each module in the actual application of this application are as follows:
[0057] The power supply system of the smart car to be upgraded is started to enable the smart car networking module 2 and the smart car to-be-upgraded module 3 of the smart car to be upgraded to enter a working state.
[0058] The power supply system of the upgrade service platform 1 is started to put the upgrade service platform 1 into working state.
[0059] The upgrade service platform 1 has a software management function, and the upgrade package can be added to the software library of the upgrade service platform 1 by selecting a local file, and the upgrade service platform 1 automatically identifies its corresponding software and version.
[0060] Start the visual interactive interface of the upgrade service platform 1.
[0061] If a new upgrade package is needed, select the upgrade package in the interactive interface to update the upgrade package to the software library of the upgrade service platform 1.
[0062] Select the smart car to be upgraded, and control the upgrade service platform 1 to communicate with the smart car networking module 2.
[0063] An upgrade package is selected, and the upgrade package and upgrade instructions are sent to the smart car networking module 2 through the upgrade service platform 1.
[0064] After receiving the upgrade package information, the smart car networking module 2 sends the current software version of the smart car corresponding to the upgrade package to the upgrade service platform 1.
[0065] The upgrade service platform 1 compares the software versions based on the current software version of the smart car and the version information in the software library to determine whether an upgrade is required.
[0066] If so, the upgrade service platform 1 performs differential calculation on the upgrade package and the software package corresponding to the current software version of the smart car to generate a differential upgrade package. In the differential calculation, the upgrade package is first completely decompressed locally, and it is compared one by one with the original version upgrade package. If the files are consistent, there is no need to transfer them; if the files are inconsistent and the files are text files, such as py, sh, txt and other file formats, they are differentiated by the diff differential method. Diff is a file-level comparison tool that can find the differences between the file contents of two versions and generate differential patches; if the files are inconsistent and the files are binary files, the binascii module in the python standard library is used to convert the binary files into ASCII encoding representation, and then diff is used to compare and generate differential patches. Finally, a differential upgrade package consisting of multiple differential patches is generated.
[0067] If not, the visual interactive interface will prompt that no upgrade is required.
[0068] After receiving the upgrade instruction, the intelligent vehicle networking module 2 will also check whether there is a corresponding upgrade package that has not been received and send information that the upgrade package has not been received to the upgrade service platform 1. If not, it will send information that there is no upgrade package.
[0069] The upgrade service platform 1 analyzes the information of the unreceived upgrade package to determine whether it needs to be resumed. The judgment process is as follows: the unreceived upgrade package information includes the file name and the current size. The upgrade service platform 1 compares the size with the size of the complete upgrade package. If the size is the same, no transmission is required; if it is smaller than the complete upgrade package, it needs to be resumed.
[0070] If yes, the upgrade service platform 1 calculates the transmission breakpoint, and encrypts the remaining differential upgrade package for block transmission and sends it to the intelligent vehicle networking module 2. Furthermore, the files are transmitted in blocks, but the breakpoint is not necessarily after a complete transmission block, so it is necessary to calculate the end position of the last complete transmission block according to the file size and the transmission block size, and continue to transmit backward from this position.
[0071] If not, the upgrade service platform 1 encrypts the complete differential upgrade package and sends it to the intelligent vehicle networking module 2. Furthermore, all upgrades should transmit differential upgrade packages. If breakpoint resuming is required, the remaining differential upgrade packages are transmitted. If breakpoint resuming is not required and complete transmission is required, the complete differential upgrade package is transmitted.
[0072] The intelligent vehicle networking module 2 downloads the remaining differential upgrade package or the complete differential upgrade package, decrypts it and stores it in the intelligent vehicle networking module 2.
[0073] The intelligent car networking module 2 performs an integrity check on the upgrade package to determine whether the upgrade package is complete. The verification process is as follows: When the differential upgrade package is transmitted, an md5 verification file will be attached. The intelligent car networking module 2 only needs to perform md5 calculation on the received differential upgrade package and compare it with the verification file. If they are the same, the upgrade package is complete. If they are different, the upgrade package is damaged.
[0074] If not, the intelligent vehicle networking module 2 reports the upgrade package download failure information to the upgrade service platform 1.
[0075] If so, the smart car networking module 2 parses the upgrade package information to obtain the smart car to be upgraded module 3 to be upgraded. Further, the upgrade package should contain relevant information of the smart car to be upgraded module 3 to be upgraded, mainly including the address (IP) and update path of the smart car to be upgraded module 3, and the smart car networking module 2 automatically parses the information.
[0076] The intelligent vehicle networking module 2 is connected and communicated with the intelligent vehicle to-be-upgraded module 3 .
[0077] The intelligent vehicle networking module 2 sends an upgrade package to the intelligent vehicle module to be upgraded 3 .
[0078] After receiving the upgrade package, the smart car upgrade module 3 performs an upgrade package integrity check to determine whether the upgrade package is complete.
[0079] If not, a reception failure message is sent to the smart car networking module 2.
[0080] The smart car upgrade module 3 attempts to upgrade the corresponding software and determines whether the upgrade is successful.
[0081] If not, roll back the corresponding software to the previous version.
[0082] The smart car to-be-upgraded module 3 sends all the receiving and upgrading result information to the smart car networking module 2 .
[0083] The intelligent vehicle networking module 2 sends all reception and upgrade result information to the upgrade service platform 1 .
[0084] Based on all the received and upgraded result information, the upgrade service platform 1 analyzes the upgrade status and displays it on a visual interactive interface.
[0085] The embodiment of the present application provides a remote upgrade method for an intelligent network-connected vehicle, which is executed by a computer device, and can be executed by a computer device such as a terminal or a server alone, or can be executed by a terminal and a server together. In the embodiment of the present application, Figure 2 As shown, the method includes the following steps.
[0086] S201: Communicate with the smart car networking module 2 through the local area network via the upgrade service platform 1; the upgrade service platform 1 is used to configure the upgrade package, select the smart car to be upgraded, and prompt the upgrade status.
[0087] S202: Using the smart car networking module 2 as an external communication interface of the smart car, receiving the upgrade package, and sending the upgrade package to the smart car module to be upgraded 3; the smart car networking module 2 and the smart car module to be upgraded 3 are arranged on the smart car to be upgraded.
[0088] S203: Execute the upgrade command according to the upgrade package through the smart car upgrade module 3, and feedback the upgrade result; during the upgrade process, the smart connected car remote upgrade device supports differential upgrade, breakpoint resumption and software rollback after upgrade failure.
[0089] In an exemplary embodiment, the upgrade process of the differential upgrade specifically includes:
[0090] Decompress the upgrade package, and compare the upgrade package with the original version upgrade package one by one to determine whether the files are consistent; wherein the files are the upgrade package and the original version upgrade package.
[0091] When the files are inconsistent and the files are text files, the upgrade package and the original version upgrade package are differentially processed by a diff difference method to generate a differential patch.
[0092] When the files are inconsistent and the files are binary files, the binascii module in the Python standard library is used to convert the binary files into ASCII encoding representation, and then the ASCII encoding representation is differentially processed by the diff difference method to generate a difference patch.
[0093] A differential software package is generated based on one or more differential patches.
[0094] Advantage 1: It does not rely on cloud service platforms and is simple and fast to set up.
[0095] The existing online upgrade solutions for commercial vehicles generally require a 4G / 5G module on the vehicle, and the manufacturer builds a cloud server, and the two communicate to complete the online upgrade. This application is equivalent to a lightweight online upgrade solution, which only requires the module to be able to connect to the local area network (the smart car module to be upgraded is generally connected to the smart car networking module through the local area network, and the smart car networking module only needs to be connected to an Ethernet cable or a wireless network card), and the upgrade service platform module can be a laptop computer, which is equivalent to the role of a cloud server. The main advantage of the online upgrade method of this application is that it is simple to deploy, which simplifies the purchase and development costs of 4G / 5G modules and cloud service platforms. At the same time, it is basically implemented using the python built-in library, and the environment is quickly built during deployment.
[0096] Advantage 2: Strong portability and easy layout.
[0097] This application has low requirements for equipment and is easy to deploy on different types of smart cars. The upgrade service platform module supports both Windows and Linux systems. The smart car networking module and the smart car upgrade module only need a local area network interface. Therefore, this application has strong portability and is suitable for wide application in smart cars in special scenarios.
[0098] Advantage 3: The upgrade method has high redundancy.
[0099] This application supports breakpoint resuming and version rollback after upgrade failure during the upgrade process. Breakpoint resuming can effectively solve the communication interruption problem that may exist during the upgrade package transmission process; version rollback after upgrade failure plays an important role in the software testing stage, which can not only avoid software errors causing problems in the whole vehicle, but also simplify the software testing process.
[0100] In an exemplary embodiment, a computer device is provided, which may be a server or a terminal. The computer device includes a processor, a memory, an input / output interface (I / O for short) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store remote upgrade data of intelligent networked vehicles. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for remote upgrading of an intelligent networked vehicle is implemented.
[0101] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the above method is implemented when the processor executes the computer program.
[0102] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the above method when executed by a processor.
[0103] In an exemplary embodiment, a computer program product is provided, including a computer program, which implements the above method when executed by a processor.
[0104] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ReadOnlyMemory, ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (Magnetoresistive RandomAccess Memory, MRAM), ferroelectric random access memory (Ferroelectric RandomAccess Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (RandomAccess Memory, RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0105] In this application, all actions to obtain signals, information or data are carried out in compliance with the relevant data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.
[0106] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0107] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0108] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A remote upgrade device for an intelligent network-connected vehicle, characterized in that: The remote upgrade device for the intelligent networked vehicle comprises: an upgrade service platform, an intelligent vehicle networking module and an intelligent vehicle module to be upgraded; The upgrade service platform communicates with the smart car networking module through a local area network; the upgrade service platform is used to configure the upgrade package, select the smart car to be upgraded, and prompt the upgrade status; The smart car networking module and the smart car upgrade module are arranged on the smart car to be upgraded; The smart car networking module serves as an external communication interface of the smart car, receives the upgrade package, and sends the upgrade package to the smart car module to be upgraded; The smart car upgrade module is used to execute upgrade instructions according to the upgrade package and feedback the upgrade results; during the upgrade process, the smart connected car remote upgrade device supports differential upgrade, breakpoint resumption and software rollback after upgrade failure.
2. The remote upgrade device for intelligent networked vehicles according to claim 1, characterized in that: The upgrade service platform specifically includes: A first judgment unit, configured to judge whether the smart car to be upgraded needs to be upgraded according to the current software version of the smart car to be upgraded corresponding to the upgrade package and version information in the software library; A difference calculation unit, used for performing a difference calculation between the upgrade package and an original version upgrade package corresponding to the current software version to generate a difference upgrade package; A block division unit, used for dividing the differential upgrade package into blocks; A second judgment unit is used to analyze the unreceived upgrade package information sent by the intelligent vehicle networking module to determine whether breakpoint resuming is required; A breakpoint resuming unit, used for calculating the transmission breakpoint, encrypting the remaining differential upgrade package of the block transmission, and sending it to the intelligent vehicle networking module; A differential upgrade package sending module, used to encrypt the differential upgrade package and send it completely to the smart car networking module; A visual interactive interface is used to display upgrade information; the upgrade information includes selecting the drone to be upgraded, selecting the upgrade package, the upgrade status, and the upgrade result information.
3. The remote upgrade device for intelligent networked vehicles according to claim 2, characterized in that: The difference calculation unit specifically includes: A comparison subunit, used to decompress the upgrade package, compare the upgrade package with the original version upgrade package one by one, and determine whether the files are consistent; wherein the files are the upgrade package and the original version upgrade package; The first difference patch generating subunit is used for performing difference processing on the upgrade package and the original version upgrade package process by using a diff difference method to generate a difference patch when the files are inconsistent and the files are text files; The second difference patch generating subunit is used for, when the files are inconsistent and the files are binary files, converting the binary files into ASCII encoding representation using the binascii module in the Python standard library, and then performing process difference processing on the ASCII encoding representation using the diff difference method to generate a difference patch; The differential software package generating subunit is used to generate a differential software package according to one or more differential patches.
4. The remote upgrade device for intelligent networked vehicles according to claim 1, characterized in that: The intelligent vehicle networking module specifically includes: A checking unit, configured to check whether there is an unaccepted upgrade package according to the upgrade instruction, and if so, send information about unaccepted upgrade packages to the upgrade service platform; A decryption unit, used for downloading and decrypting the differential upgrade package; A verification unit, used to perform integrity verification on the upgrade package; A reporting unit, used to report the success or failure information of the upgrade package download to the upgrade service platform; A parsing unit, used for parsing the upgrade package and sending the upgrade package to the smart car module to be upgraded; The sending unit is used to send all the receiving and upgrading result information to the upgrading service platform.
5. The remote upgrade device for intelligent networked vehicles according to claim 1, characterized in that: The smart car module to be upgraded specifically includes: A verification unit, used to perform integrity verification on the upgrade package; A reception failure information sending unit, used to send reception failure information to the intelligent vehicle networking module; An upgrade attempt unit, used to attempt an upgrade according to the upgrade package and determine whether the upgrade is successful; A rollback unit, used to roll back to the previous software version; The sending unit is used to send all receiving and upgrading result information to the intelligent vehicle networking module.
6. A remote upgrade method for an intelligent network-connected vehicle, characterized in that: The remote upgrade method of the intelligent network-connected vehicle comprises: Communicate with the smart car networking module through the local area network via the upgrade service platform; the upgrade service platform is used to configure the upgrade package, select the smart car to be upgraded, and prompt the upgrade status; The smart car networking module is used as an external communication interface of the smart car to receive the upgrade package, and the upgrade package is sent to the smart car module to be upgraded; the smart car networking module and the smart car module to be upgraded are arranged on the smart car to be upgraded; Through the smart car upgrade module, the upgrade command is executed according to the upgrade package, and the upgrade result is fed back; during the upgrade process, the smart connected car remote upgrade device supports differential upgrade, breakpoint resumption and software rollback after upgrade failure.
7. The remote upgrade method for an intelligent network-connected vehicle according to claim 6, characterized in that: The upgrade process of the differential upgrade specifically includes: Decompress the upgrade package, and compare the upgrade package with the original version upgrade package one by one to determine whether the files are consistent; wherein the files are the upgrade package and the original version upgrade package; When the files are inconsistent and the files are text files, the upgrade package and the original version upgrade package are differentially processed by a diff method to generate a differential patch; When the files are inconsistent and the files are binary files, the binascii module in the Python standard library is used to convert the binary files into ASCII encoding, and then the ASCII encoding is differentially processed by the diff method to generate a differential patch; A differential software package is generated based on one or more differential patches.
8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the remote upgrade method for an intelligent connected vehicle according to any one of claims 6 to 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the remote upgrade method for an intelligent connected vehicle described in any one of claims 6-7 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the remote upgrade method for an intelligent connected vehicle described in any one of claims 6-7 is implemented.
Citation Information
Cited By
NPU firmware online upgrading method and device based on differential updating and storage medium
CN120144163A
Remote upgrading method
CN120386541A
Charging pile software upgrading method, electronic equipment and computer readable storage medium
CN121833012A
