A terminal upgrading method and related device for linkage between a vehicle terminal and a user terminal

By generating joint upgrade packages and a real-time session mechanism, the vehicle terminal and user terminal upgrade in tandem, solving the problems of poor compatibility and cumbersome operation caused by independent upgrades, achieving synchronous upgrades and high compatibility, and improving the user experience.

CN122450481APending Publication Date: 2026-07-24GAC HONDA AUTOMOBILE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GAC HONDA AUTOMOBILE CO LTD
Filing Date
2026-04-28
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

The upgrade process for user terminals and vehicle terminals is carried out independently, resulting in poor compatibility, cumbersome operation, and the risk of errors, which affects the user experience.

Method used

By generating a joint upgrade package, the vehicle terminal and user terminal work together to upgrade, using real-time sessions and key interaction to achieve synchronous upgrades, ensuring the security and compatibility of the upgrade package.

Benefits of technology

It enables synchronized upgrades of vehicle-mounted terminals and user terminals, improving compatibility and user experience while reducing the risk of errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122450481A_ABST
    Figure CN122450481A_ABST
Patent Text Reader

Abstract

The application discloses a kind of terminal upgrading method and related equipment of car terminal and user terminal linkage, and the application enables car terminal and user terminal to be based on the same joint upgrade package Execute linkage upgrade process, since joint upgrade package is obtained by joint function development and optimization, therefore, linkage upgrade is carried out using such joint upgrade package, car terminal and user terminal can be optimized together, to be more suitable for the application scene of interconnection between user terminal and car terminal;By executing linkage upgrade process, the collaborative scheduling of the upgrade of user terminal and car terminal is realized, for example, the synchronous upgrade of car terminal and user terminal is realized, and the compatibility between user terminal and car terminal is improved;Since the upgrade of user terminal and car terminal is carried out simultaneously, the operation required by the user is reduced, which is conducive to improving user experience.The application is widely used in the field of automobile technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive technology, and in particular to a terminal upgrade method and related equipment for linking vehicle-mounted terminals and user terminals. Background Technology

[0002] With the development of electronic technology, user terminals such as mobile phones and in-vehicle terminals installed in cars have achieved a high degree of intelligence. Some technologies have enabled the interconnection and interoperability between user terminals and in-vehicle terminals, thereby opening up more application scenarios.

[0003] As intelligent systems, both user terminals and vehicle-mounted terminals have the capability and necessity for software upgrades. Upgrading the software of user terminals and vehicle-mounted terminals allows for the fixing of software vulnerabilities or malfunctions, the addition of new functional modules, and the removal of outdated or unsuitable old functional modules, thereby making user terminals and vehicle-mounted terminals more readily meet the needs of users in the latest scenarios.

[0004] Current upgrade technologies for user terminals and vehicle-mounted terminals have the following problems: First, upgrades to user terminals and vehicle-mounted terminals are performed independently, lacking coordinated scheduling. For example, if the vehicle-mounted terminal is upgraded, the user terminal may not be upgraded simultaneously. Due to significant differences in hardware interfaces, communication protocols, and other architectural aspects, independent upgrades can easily lead to incompatibility between the user terminal and the vehicle-mounted terminal, resulting in functional mismatch and inadequacy for application scenarios requiring interconnection between them. Second, users need to perform separate upgrades for both user terminals and vehicle-mounted terminals, a cumbersome process prone to omissions, leading to a poor user experience. Third, both independent upgrade processes for user terminals and vehicle-mounted terminals carry the risk of errors that could render the terminals unusable. Summary of the Invention

[0005] To address at least one of the aforementioned technical problems, the present invention aims to provide a terminal upgrade method and related equipment for linking vehicle-mounted terminals and user terminals.

[0006] On one hand, embodiments of the present invention include a terminal upgrade method for linking a vehicle-mounted terminal and a user terminal, applied to both the vehicle-mounted terminal and the user terminal. The terminal upgrade method for linking the vehicle-mounted terminal and the user terminal includes: Obtain the joint upgrade package; Extract a first upgrade package and a second upgrade package from the joint upgrade package; the first upgrade package is an upgrade package for upgrading the vehicle terminal, and the second upgrade package is an upgrade package for upgrading the user terminal; The first upgrade package and the second upgrade package are used to perform a linkage upgrade between the vehicle terminal and the user terminal.

[0007] Furthermore, the step of using the first upgrade package and the second upgrade package to perform the linkage upgrade between the vehicle terminal and the user terminal includes: Establish a real-time session between the vehicle terminal and the user terminal; Based on the real-time session, the linkage upgrade process is maintained; the linkage upgrade process includes the vehicle terminal running the first upgrade package for upgrade, and the user terminal running the second upgrade package for upgrade.

[0008] Furthermore, the step of using the first upgrade package and the second upgrade package to perform the linkage upgrade between the vehicle terminal and the user terminal also includes: Based on the real-time session, dynamic information exchange is performed during the linkage upgrade process.

[0009] Furthermore, the step of using the first upgrade package and the second upgrade package to perform the linkage upgrade between the vehicle terminal and the user terminal also includes: Based on the real-time session, mutual authentication is performed between the vehicle terminal and the user terminal.

[0010] Furthermore, maintaining the linkage upgrade process based on the real-time session includes: Extract index information from the joint upgrade package; Based on the index information, determine the first serial installation order and the second serial installation order; The vehicle terminal decomposes the first upgrade package into multiple first sub-upgrade packages according to the first serial installation order; each first sub-upgrade package includes its own second key, the first first sub-upgrade package is in an unencrypted state, and the other first sub-upgrade packages are in an encrypted state that is encrypted by the corresponding first key; The user terminal decomposes the second upgrade package into multiple second sub-upgrade packages according to the second serial installation order; each second sub-upgrade package includes its own first key, and each second sub-upgrade package is encrypted by the corresponding second key. Multiple upgrade cycles are executed based on the first serial installation order and the second serial installation order; In the first upgrade cycle, the vehicle terminal installs the first sub-upgrade package in an unencrypted state and obtains the second key from the first sub-upgrade package; In any of the other upgrade cycles, the vehicle terminal sends the second key obtained in the previous upgrade cycle to the user terminal through the real-time session. The user terminal uses the second key to decrypt the corresponding second sub-upgrade package, installs the second sub-upgrade package and obtains the first key in the second sub-upgrade package, and sends the first key to the vehicle terminal through the real-time session. The vehicle terminal uses the first key to decrypt the corresponding first sub-upgrade package, installs the first sub-upgrade package and obtains the second key in the first sub-upgrade package.

[0011] Furthermore, the dynamic information interaction during the linked upgrade process based on the real-time session includes: The vehicle terminal detects its own upgrade progress, obtains first upgrade progress information, and sends the first upgrade progress information to the user terminal through the real-time session; The user terminal detects its own upgrade progress, obtains second upgrade progress information, and sends the second upgrade progress information to the vehicle terminal through the real-time session.

[0012] On the other hand, embodiments of the present invention also include a terminal upgrade method for linking a vehicle-mounted terminal and a user terminal, applied to a cloud server, characterized in that the terminal upgrade method for linking the vehicle-mounted terminal and the user terminal includes: Generate a first upgrade package, a second upgrade package, and index information; the first upgrade package is an upgrade package for upgrading the vehicle terminal, and the second upgrade package is an upgrade package for upgrading the user terminal; The first upgrade package, the second upgrade package, and the index information are encapsulated into a combined upgrade package; Detect upgrade requests sent by the vehicle terminal or user terminal; When the upgrade request is detected, the joint upgrade package is sent to the vehicle terminal or the user terminal.

[0013] Furthermore, the generation of the first upgrade package, the second upgrade package, and the index information includes: The vehicle terminal is functionally developed to obtain multiple first sub-upgrade packages and determine a first serial installation order; each first sub-upgrade package is used to upgrade the functional modules of the vehicle terminal. The user terminal is functionally developed to obtain multiple second sub-upgrade packages and determine a second serial installation order; each second sub-upgrade package is used to upgrade the functional modules of the user terminal. Based on the first serial installation order and the second serial installation order, a first mapping relationship and a second mapping relationship are established to generate the index information; the first mapping relationship represents the mapping from each first sub-upgrade package to each second sub-upgrade package, and the second mapping relationship represents the mapping from each second sub-upgrade package to each first sub-upgrade package; Generate multiple first keys and multiple second keys; Each of the second keys is encapsulated into the corresponding first sub-upgrade package, and each of the first keys is encapsulated into the corresponding second sub-upgrade package; One of the first sub-upgrade packages is kept in an unencrypted state. For any other first sub-upgrade package, the first sub-upgrade package is encrypted using the first key in the second sub-upgrade package determined according to the second mapping relationship. For any second sub-upgrade package, the second sub-upgrade package is encrypted using the second key in the first sub-upgrade package determined according to the first mapping relationship; According to the first serial installation order, each of the first sub-upgrade packages is encapsulated to obtain the first upgrade package, and the first upgrade package is signed. According to the second serial installation order, each of the second sub-upgrade packages is encapsulated to obtain the second upgrade package, and the second upgrade package is signed.

[0014] On the other hand, embodiments of the present invention also include a terminal device, which is a vehicle-mounted terminal or a user terminal, and the terminal device is used to execute the terminal upgrade method for linkage between the vehicle-mounted terminal and the user terminal in the embodiments.

[0015] On the other hand, embodiments of the present invention also include a cloud server, which is used to execute the terminal upgrade method of the vehicle terminal and user terminal linkage applied to the cloud server in the embodiments.

[0016] The beneficial effects of this invention are as follows: By executing a terminal upgrade method that links vehicle-mounted terminals and user terminals applied to a cloud server, joint functional development and optimization of vehicle-mounted terminals and user terminals can be achieved, thereby generating a joint upgrade package, providing data support for executing the terminal upgrade method that links vehicle-mounted terminals and user terminals; by executing the terminal upgrade method that links vehicle-mounted terminals and user terminals, vehicle-mounted terminals and user terminals can perform a linked upgrade process based on the same joint upgrade package. Since the joint upgrade package is obtained through joint functional development and optimization, using such a joint upgrade package for linked upgrades can achieve joint optimization of vehicle-mounted terminals and user terminals, thus making it more suitable for application scenarios where user terminals and vehicle-mounted terminals are interconnected; by executing the linked upgrade process, coordinated scheduling of upgrades for user terminals and vehicle-mounted terminals is achieved, such as achieving synchronous upgrades of vehicle-mounted terminals and user terminals, improving compatibility between user terminals and vehicle-mounted terminals; since the upgrades of user terminals and vehicle-mounted terminals are performed simultaneously, the number of operations required by the user is reduced, which is beneficial to improving the user experience. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of a system in which a terminal upgrade method that links vehicle-mounted terminals and user terminals can be applied, as described in the embodiment. Figure 2 This is a schematic diagram illustrating the steps of a terminal upgrade method for linking a vehicle terminal and a user terminal applied to a cloud server, as described in this embodiment. Figure 3 This is a schematic diagram illustrating the principle of steps P101-P109 in the embodiment; Figure 4 This is a schematic diagram illustrating the principle of encrypting the first and second sub-upgrade packages in the embodiment. Figure 5 This embodiment describes a terminal upgrade method for the linkage between the vehicle-mounted terminal and the user terminal, applied to both the vehicle-mounted terminal and the user terminal. A step-by-step diagram; Figure 6 This is a schematic diagram of the principle of step S305 in the embodiment. Detailed Implementation

[0018] This embodiment provides a terminal upgrade method that links vehicle-mounted terminals and user terminals. This terminal upgrade method that links vehicle-mounted terminals and user terminals can be applied to... Figure 1 The system shown. (Refer to...) Figure 1The system includes a vehicle-mounted terminal, a user terminal, and a cloud server. The vehicle-mounted terminal, also known as an in-vehicle terminal, is a smart terminal installed in a car, capable of controlling in-vehicle components, providing a human-machine interface and audio-visual entertainment, and communicating with the outside world. The user terminal is specifically a mobile phone or tablet computer. This embodiment uses a user terminal owned by the same user and a vehicle-mounted terminal in the car as an example for explanation.

[0019] In this embodiment, the vehicle-mounted terminal and the user terminal can be manufactured by the same manufacturer. Such terminals belong to the same product ecosystem and have good interoperability. Alternatively, they can be manufactured by different manufacturers and jointly developed by them, thus achieving interoperability. The cloud server can be operated by the manufacturer of either the vehicle-mounted terminal or the user terminal, or by a dedicated maintenance service provider. The cloud server stores vehicle information (including vehicle model, VIN code, vehicle device version) and user terminal information (device information, bound vehicle, APP version) for both the vehicle-mounted terminal and the user terminal, as well as their binding relationship.

[0020] In this embodiment, refer to Figure 1 The vehicle-mounted terminal and the user terminal can connect and communicate with the cloud server via wireless communication protocols such as 5G. The vehicle-mounted terminal and the user terminal can connect and communicate using WiFi, Bluetooth, or dedicated wireless communication protocols, establishing a real-time session through a direct link.

[0021] This embodiment provides a terminal upgrade method for linking a vehicle-mounted terminal and a user terminal on a cloud server, wherein each step is executed by the cloud server. (Refer to...) Figure 2 The terminal upgrade method for linking vehicle-mounted terminals and user terminals on cloud servers includes the following steps: P1. Generate the first upgrade package, the second upgrade package, and index information; P2. Encapsulate the first upgrade package, the second upgrade package, and the index information into a combined upgrade package; P3. Detect upgrade requests sent by the vehicle terminal or user terminal; P4. When an upgrade request is detected, the joint upgrade package will be sent to the vehicle terminal or user terminal.

[0022] In this embodiment, when the cloud server executes step P1, which is the step of generating the first upgrade package, the second upgrade package, and the index information, it can specifically perform the following steps: P101. Develop functions for the vehicle terminal, obtain multiple first sub-upgrade packages, and determine the first serial installation order; P102. Develop functions for the user terminal, obtain multiple second sub-upgrade packages, and determine the second serial installation order; P103. Based on the first serial installation order and the second serial installation order, establish the first mapping relationship and the second mapping relationship, and generate index information; P104. Generate multiple first keys and multiple second keys; P105. Encapsulate each second key into the corresponding first sub-upgrade package, and encapsulate each first key into the corresponding second sub-upgrade package; P106. Keep one first sub-upgrade package in an unencrypted state. For any other first sub-upgrade package, encrypt the first sub-upgrade package using the first key in the second sub-upgrade package determined according to the second mapping relationship. P107. For any second sub-upgrade package, encrypt the second sub-upgrade package using the second key in the first sub-upgrade package determined according to the first mapping relationship; P108. According to the first serial installation order, each first sub-upgrade package is encapsulated to obtain the first upgrade package, and the first upgrade package is signed; P109. According to the second serial installation order, each second sub-upgrade package is encapsulated to obtain a second upgrade package, and the second upgrade package is signed.

[0023] The principle of steps P101-P109 is as follows: Figure 3 As shown.

[0024] In steps P101-P102, the manufacturer or maintenance provider of the vehicle where the in-vehicle terminal is located, together with the manufacturer or maintenance provider of the user terminal, can jointly develop the in-vehicle terminal and the user terminal to obtain multiple first sub-upgrade packages and multiple second sub-upgrade packages.

[0025] Specifically, when manufacturers or maintainers of vehicle-mounted terminals and user terminals conduct joint development, they can consider the needs of application scenarios such as interconnection between vehicle-mounted terminals and user terminals (e.g., screen projection, user terminal controlling vehicle-mounted terminals), and develop new functions for vehicle-mounted terminals and user terminals respectively, delete incompatible old functions, and fix software vulnerabilities of vehicle-mounted terminals and user terminals to reduce conflicts during interconnection, thereby obtaining multiple first sub-upgrade packages and multiple second sub-upgrade packages.

[0026] In this embodiment, a first sub-upgrade package is used to upgrade the functional modules of the vehicle terminal. That is, when the first sub-upgrade package is run and installed on the vehicle terminal, it will install a new functional module (such as a new human-machine interface), delete an already installed functional module (such as an old human-machine interface) on the vehicle terminal, or modify the underlying code of an already installed functional module on the vehicle terminal to fix vulnerabilities, etc.

[0027] Similar to the first sub-upgrade package, a second sub-upgrade package is used to upgrade the functional modules of the user terminal. That is, when this second sub-upgrade package is run and installed on the user terminal, it will install a new functional module (such as a new human-machine interface), delete an already installed functional module (such as an old human-machine interface) from the vehicle terminal, or modify the underlying code of an already installed functional module to fix vulnerabilities, etc.

[0028] In this embodiment, when performing steps P101-P102, the functional development of one of the terminals, such as the vehicle terminal, can be the main focus to obtain n first sub-upgrade packages. If the number of second sub-upgrade packages obtained from the functional development of the user terminal is not n, the various second sub-upgrade packages can be appropriately merged or deleted to obtain n second sub-upgrade packages, so that the number of first sub-upgrade packages obtained from performing steps P101-P102 is equal to the number of second sub-upgrade packages.

[0029] In this embodiment, the manufacturer or maintainer of the vehicle-mounted terminal can configure the n first sub-upgrade packages to be installed sequentially. This means that after obtaining the n first sub-upgrade packages, the vehicle-mounted terminal needs to install them one by one in a specific order, completing one first sub-upgrade package before installing the next. Specifically, the manufacturer or maintainer can set the installation order based on data support relationships or goals related to stability and efficiency. For example, if the installation of a certain first sub-upgrade package requires data generated by another first sub-upgrade package after its installation, then the installation order of that first sub-upgrade package is after the installation order of the other first sub-upgrade package; if installing one first sub-upgrade package before the other results in higher stability or upgrade speed for the vehicle-mounted terminal, then the installation order of that first sub-upgrade package is before the installation order of the other first sub-upgrade package. After the manufacturer or maintainer of the vehicle terminal determines the serial installation order of the n first sub-upgrade packages, they number each first sub-upgrade package to obtain first sub-upgrade package 1, first sub-upgrade package 2, first sub-upgrade package 3... first sub-upgrade package n. The order determined by this numbering is the first serial installation order, that is, the vehicle terminal needs to complete the installation and upgrade of first sub-upgrade package 1 first, and then perform the installation and upgrade of first sub-upgrade package 2.

[0030] Similarly, the manufacturer or maintainer of the user terminal can set the n second sub-upgrade packages to be installed serially, and number each second sub-upgrade package to obtain second sub-upgrade package 1, second sub-upgrade package 2, second sub-upgrade package 3... second sub-upgrade package n. The order determined by this numbering is the second serial installation order, that is, the user terminal needs to complete the installation and upgrade of second sub-upgrade package 1 first, and then perform the installation and upgrade of second sub-upgrade package 2.

[0031] After generating each first sub-upgrade package and second sub-upgrade package and determining the first serial installation order and second serial installation order, the manufacturer or maintainer of the vehicle terminal and user terminal uploads each first sub-upgrade package and second sub-upgrade package, as well as the first serial installation order and second serial installation order, to the cloud server.

[0032] In step P103, refer to Figure 3 After determining the first serial installation order and the second serial installation order, the first mapping relationship can be determined, that is, for any i (i=1,2,3…,n-1), the i-th first sub-upgrade package is mapped to the (i+1)-th second sub-upgrade package; at the same time, the second mapping relationship can be determined, that is, for any i (i=2,2,3…,n), the i-th second sub-upgrade package is mapped to the (i+1)-th first sub-upgrade package.

[0033] In step P103, the cloud server can save the first serial installation order, the second serial installation order, the first mapping relationship, and the second mapping relationship as index information in text or other formats.

[0034] In step P104, the cloud server can run a key generation algorithm to generate a key. 11 ,key 12 ,key 13 ...key 1n Equal to n first keys and keys 21 ,key 22 ,key 23 ...key 2n There are n second keys. Specifically, each of the first and second keys can be a key suitable for a symmetric encryption algorithm, such as a 128-bit or 256-bit key suitable for AES.

[0035] In step P105, refer to Figure 3 For any i (i=1,2,3,…,n), the cloud server will assign the second key. 2i Encapsulate it into the first sub-upgrade package i, and include the first key. 1i It is then encapsulated into the second sub-upgrade package i.

[0036] Specifically, when encapsulating the key, the cloud server can embed the key in a specific location within the sub-upgrade package, ensuring that the key is only released after the sub-upgrade package has been installed. For example, the cloud server might encapsulate the second key... 2i A specific location within the first sub-upgrade package i is designed to prevent the vehicle's infotainment system from obtaining the second key before the installation of the first sub-upgrade package i is completed. 2i After completing the installation of the first sub-upgrade package i, the second key for releasing the first sub-upgrade package i is obtained. 2i .

[0037] By executing step P105, each first sub-upgrade package includes, in addition to payload information for installation and upgrade by the vehicle terminal, a corresponding second key; and each second sub-upgrade package includes, in addition to payload information for installation and upgrade by the user terminal, a corresponding first key.

[0038] In step P106, refer to Figure 4 The cloud server retains the first sub-upgrade package (i.e., sub-upgrade package 1) in the first serial installation sequence as unencrypted. For any other sub-upgrade package, it encrypts it using the first key from the second sub-upgrade package determined according to the second mapping relationship. Specifically, refer to... Figure 4 For any i (i=2,3,…,n), use the first key. 1(i-1) (That is, the first key that is encapsulated in the second sub-upgrade package i-1) runs a symmetric encryption algorithm such as AES to encrypt the first sub-upgrade package i, and obtains the encrypted first sub-upgrade package i.

[0039] In step P107, refer to Figure 4 For any second sub-upgrade package, the cloud server encrypts it using the second key from the first sub-upgrade package, determined according to the first mapping relationship. Specifically, refer to... Figure 4 For any i (i=1,2,3,…,n), use the second key. 2i- (That is, the second key that is encapsulated in the first sub-upgrade package i) Run a symmetric encryption algorithm such as AES to encrypt the second sub-upgrade package i, and obtain the encrypted second sub-upgrade package i.

[0040] In steps P108-P109, refer to Figure 4 The cloud server encapsulates each encrypted first sub-upgrade package according to the first serial installation order to obtain the first upgrade package, and signs the first upgrade package. Then, it encapsulates each encrypted second sub-upgrade package according to the second serial installation order to obtain the second upgrade package, and signs the second upgrade package.

[0041] Specifically, in steps P108-P109, after obtaining the first upgrade package and the second upgrade package, the first upgrade package and the second upgrade package are signed respectively, and the signature and public key certificate are sent together to the vehicle terminal or user terminal, or simultaneously to the vehicle terminal and the user terminal. After receiving them, the vehicle terminal or user terminal can verify the first upgrade package and the second upgrade package based on the signature and public key certificate. If the verification is successful, the package is then unpacked and decrypted. If the verification fails, the first upgrade package and the second upgrade package are deleted, thereby ensuring the legality and authenticity of the upgrade package.

[0042] In step P2, the cloud server... Figure 4 The first upgrade package, the second upgrade package, and the index information shown are encapsulated to obtain the combined upgrade package.

[0043] In step P3, the cloud server can detect an upgrade request issued by either the vehicle terminal or the user terminal, or periodically determine the event of detecting an upgrade request, thereby triggering the execution of step P4.

[0044] In step P4, the cloud server will send the joint upgrade package to the vehicle terminal or the user terminal, or simultaneously to both the vehicle terminal and the user terminal.

[0045] In this embodiment, based on the terminal upgrade method for linkage between vehicle-mounted terminals and user terminals applied to a cloud server, a new terminal upgrade method for linkage between vehicle-mounted terminals and user terminals is provided, wherein each step is executed separately by the vehicle-mounted terminal and the user terminal. (Refer to...) Figure 5 The terminal upgrade method for the linkage between vehicle-mounted terminals and user terminals, applied to both vehicle-mounted terminals and user terminals, includes the following steps: S1. Obtain the joint upgrade package; S2. Extract the first and second upgrade packages from the combined upgrade package; S3. Use the first and second upgrade packages to perform a linkage upgrade between the vehicle terminal and the user terminal.

[0046] In step S1, the user can operate the vehicle terminal or user terminal to establish a real-time session between them. The user can operate the vehicle terminal or user terminal to send an upgrade request to the cloud server. The upgrade request triggers the cloud server to execute step P3, which in turn causes the cloud server to execute step P4 to send a joint upgrade package to the vehicle terminal or user terminal, allowing the vehicle terminal or user terminal to receive the joint upgrade package in step S1.

[0047] In this embodiment, when one of the vehicle terminal or the user terminal receives the joint upgrade package, the joint upgrade package is sent to the other terminal through a real-time session, so that both the vehicle terminal and the user terminal obtain the joint upgrade package.

[0048] In this embodiment, because the joint upgrade package has Figure 4 As shown in the structure, the vehicle terminal and the user terminal can decompose the joint upgrade package separately, thereby extracting the first upgrade package, the second upgrade package, and the index information.

[0049] In step S3, the vehicle terminal and user terminal maintain the linkage upgrade process based on a real-time session. Specifically, the vehicle terminal and user terminal perform the following steps: S301. Extract index information from the combined upgrade package; S302. Determine the first serial installation order and the second serial installation order based on the index information; S303. The vehicle terminal decomposes the first upgrade package into multiple first sub-upgrade packages according to the first serial installation order; S304. The user terminal decomposes the second upgrade package into multiple second sub-upgrade packages according to the second serial installation order; S305. Perform multiple upgrade cycles according to the first serial installation order and the second serial installation order.

[0050] In steps S301-S303, the vehicle terminal can determine the first serial installation order based on the index information, that is, determine that the n first sub-upgrade packages decomposed from the first upgrade package are installed serially in the order of first sub-upgrade package 1, first sub-upgrade package 2, first sub-upgrade package 3... first sub-upgrade package n; the user terminal can determine the second serial installation order based on the index information, that is, determine that the n second sub-upgrade packages decomposed from the second upgrade package are installed serially in the order of second sub-upgrade package 1, second sub-upgrade package 2, second sub-upgrade package 3... second sub-upgrade package n.

[0051] In this embodiment, since the vehicle terminal and the user terminal obtain each first sub-upgrade package and each second sub-upgrade package as follows: Figure 4 As shown, except for the first sub-upgrade package 1 which is in an unencrypted state, all other first sub-upgrade packages and second sub-upgrade packages are encrypted by their respective first or second keys and are in an encrypted state. However, the cloud server does not directly send the first and second keys to the vehicle terminal and the user terminal. Therefore, the vehicle terminal can only install the first sub-upgrade package 1 and cannot directly install other first sub-upgrade packages, while the user terminal cannot directly install any second sub-upgrade packages.

[0052] In order to enable the vehicle terminal to perform serial installation of n first sub-upgrade packages and the user terminal to perform serial installation of n second sub-upgrade packages, the vehicle terminal and the user terminal maintain data communication through real-time session, thereby executing multiple upgrade cycles in step S305.

[0053] In this embodiment, the principle of step S305 is as follows: Figure 6 As shown. (Refer to...) Figure 6 In step S305, the first upgrade cycle is executed first, in which the vehicle terminal installs the first sub-upgrade package 1. Since the first sub-upgrade package 1 is itself in an unencrypted state, the vehicle terminal can directly install the first sub-upgrade package 1 without obtaining any key. After the installation and upgrade of the first sub-upgrade package 1 is completed, the vehicle terminal obtains the second key released by the first sub-upgrade package 1. 21 After completing the first upgrade cycle, the second upgrade cycle will begin.

[0054] In the second upgrade cycle, the vehicle terminal sends the second key obtained in the previous upgrade cycle (i.e., the first upgrade cycle) to the user terminal via a real-time session. 21 According to the first mapping relationship, the second key is... 21 This is the key used by the cloud server to encrypt the second sub-upgrade package 1, therefore the user terminal can use the second key. 21 The encrypted second sub-upgrade package 1 is decrypted to obtain its payload information. The user terminal installs the second sub-upgrade package 1, and after installation, obtains the first key released by the second sub-upgrade package 1. 11 The user terminal sends the first key to the vehicle terminal through a real-time session. 11 According to the second mapping relationship, the first key is... 11 This is the key used by the cloud server to encrypt the first sub-upgrade package 2, therefore the vehicle terminal can use the first key. 11 The first sub-upgrade package 2, which is in an encrypted state, is decrypted to obtain the payload information within it. The vehicle terminal installs the first sub-upgrade package 2, and after installation, obtains the second key released by the first sub-upgrade package 2. 22 After completing the execution of the second upgrade cycle, the execution of the third upgrade cycle begins.

[0055] In the third upgrade cycle, similar to the second upgrade cycle, the vehicle terminal and the user terminal use the first key or second key sent by each other through a real-time session to decrypt the first sub-upgrade package or the second sub-upgrade package, which is in an encrypted state. This allows them to obtain the payload information in the first sub-upgrade package or the second sub-upgrade package for installation and upgrade. They also obtain the second key or first key released by the first sub-upgrade package or the second sub-upgrade package after installation to decrypt the next second sub-upgrade package or the first sub-upgrade package. This maintains the linked upgrade process where the vehicle terminal runs the first upgrade package for upgrade and the user terminal runs the second upgrade package for upgrade.

[0056] In this embodiment, by executing a terminal upgrade method that links the vehicle-mounted terminal and the user terminal on a cloud server, joint function development and optimization of the vehicle-mounted terminal and the user terminal can be achieved, thereby generating a joint upgrade package. This provides data support for executing the terminal upgrade method that links the vehicle-mounted terminal and the user terminal. By executing the terminal upgrade method that links the vehicle-mounted terminal and the user terminal, the vehicle-mounted terminal and the user terminal can perform a linked upgrade process based on the same joint upgrade package. Since the joint upgrade package is obtained through joint function development and optimization, using such a joint upgrade package for linked upgrades can achieve joint optimization of the vehicle-mounted terminal and the user terminal, making it more suitable for application scenarios where user terminals and vehicle-mounted terminals are interconnected. By executing the linked upgrade process, coordinated scheduling of upgrades for user terminals and vehicle-mounted terminals is achieved, such as synchronous upgrades of vehicle-mounted terminals and user terminals, improving compatibility between user terminals and vehicle-mounted terminals. Since the upgrades for user terminals and vehicle-mounted terminals are performed simultaneously, the number of operations required by the user is reduced, which is beneficial to improving the user experience.

[0057] In this embodiment, the principle behind the cloud server executing steps P101-P109 to generate each first sub-upgrade package and each second sub-upgrade package, and the corresponding vehicle terminal and user terminal executing steps S301-S305 to install each first sub-upgrade package and each second sub-upgrade package, is as follows: Through the execution of steps P101-P109 by the cloud server, there is an association between each first sub-upgrade package and each second sub-upgrade package obtained through a first key and a second key. For example, the first sub-upgrade package i encapsulates the second key required to decrypt the second sub-upgrade package i. 2i The second sub-upgrade package i contains the first key required to decrypt the first sub-upgrade package i+1. 1(i+1)This means that when the vehicle terminal and user terminal execute steps S301-S305, without real-time interaction between them, the vehicle terminal lacks a first key to decrypt the encrypted first sub-upgrade package, and the user terminal lacks a second key to decrypt the encrypted second sub-upgrade package. This prevents the vehicle terminal and user terminal from independently executing the installation and upgrade process. Only when the vehicle terminal and user terminal interact through a real-time session, with the vehicle terminal sending the second key to the user terminal and the user terminal sending the first key to the vehicle terminal, can the vehicle terminal and user terminal decrypt and install the first and second sub-upgrade packages respectively, maintaining the coordinated upgrade process. This system enables synchronized upgrades for both the vehicle-mounted terminal and the user terminal. Specifically, by forcibly controlling synchronized upgrades for both the vehicle-mounted terminal and the user terminal, the system achieves synchronized upgrades, enhances coordination and compatibility between them, and allows the vehicle-mounted terminal and the user terminal to alternately install and upgrade a first sub-upgrade package and a second sub-upgrade package. This forces the vehicle-mounted terminal to install and upgrade each first sub-upgrade package in a specific time sequence, and forces the user terminal to install and upgrade each second sub-upgrade package in a specific time sequence. This helps reduce the possibility of errors caused by disordered installation of upgrade packages and reduces the risk of the vehicle-mounted terminal and the user terminal becoming unusable due to upgrade errors.

[0058] In this embodiment, the vehicle-mounted terminal and the user terminal also interact dynamically during the upgrade process via real-time conversation. Specifically, during the installation of each first sub-upgrade package, the vehicle-mounted terminal detects its own upgrade progress, obtains first upgrade progress information, and sends this information to the user terminal via real-time conversation. Similarly, during the installation of each second sub-upgrade package, the user terminal detects its own upgrade progress, obtains second upgrade progress information, and sends this information to the vehicle-mounted terminal via real-time conversation. This allows the vehicle-mounted terminal to simultaneously display its own first upgrade progress information and the user terminal's second upgrade progress information via progress bars, and vice versa. This enables users to monitor the upgrade progress of one terminal while observing the other, facilitating monitoring of the upgrade process between the vehicle-mounted terminal and the user terminal and ensuring a high success rate for the upgrade process.

[0059] In this embodiment, the vehicle-mounted terminal and the user terminal also authenticate each other through a real-time session. Specifically, the vehicle-mounted terminal can generate first authentication information and send the first authentication information to the user terminal through the real-time session to request the user terminal to perform authentication; the user terminal can generate second authentication information and send the second authentication information to the vehicle-mounted terminal through the real-time session to request the vehicle-mounted terminal to perform authentication. When the user terminal passes the authentication of the vehicle-mounted terminal, the user terminal generates second confirmation information and sends the second confirmation information to the vehicle-mounted terminal through the real-time session; when the vehicle-mounted terminal passes the authentication of the user terminal, the vehicle-mounted terminal generates first confirmation information and sends the first confirmation information to the user terminal through the real-time session. In this embodiment, it can be set that the vehicle-mounted terminal and the user terminal only execute steps S1-S3 when the vehicle-mounted terminal receives the second confirmation information and the user terminal receives the first confirmation information, so as to realize that only the vehicle-mounted terminal and the user terminal with a specific binding relationship perform linkage upgrade, thereby improving the security and stability of the linkage upgrade.

[0060] A computer program for executing the terminal upgrade method for the linkage between the vehicle-mounted terminal and the user terminal in this embodiment can be written, and the computer program can be written into a computer device or a storage medium. Such a computer device can be used as the vehicle-mounted terminal, the user terminal or the cloud server in this embodiment. When the computer program is read and run, it executes the terminal upgrade method for the linkage between the vehicle-mounted terminal and the user terminal in this embodiment, so as to achieve the same technical effect as the terminal upgrade method for the linkage between the vehicle-mounted terminal and the user terminal in the embodiment.

[0061] It should be noted that, unless otherwise specified, when a certain feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. In addition, the up, down, left, right, etc. descriptions used in this disclosure are only relative to the mutual positional relationship of the components of this disclosure in the drawings. The singular forms of "a", "an" and "the" used in this disclosure also aim to include the plural forms, unless the context clearly indicates otherwise. In addition, unless otherwise defined, all the technical and scientific terms used in this embodiment have the same meanings as those commonly understood by those skilled in the technical field of this disclosure. The terms used in the specification of this embodiment are only for describing specific embodiments, rather than for limiting the present invention. The term "and / or" used in this embodiment includes any combination of one or more of the related listed items.

[0062] It should be understood that although various elements may be described in this disclosure using terms such as "second," "third," etc., these elements should not be limited to these terms. These terms are used only to distinguish elements of the same type from one another. For example, an element may also be referred to as a second element without departing from the scope of this disclosure, and similarly, a second element may also be referred to as an element. The use of any and all instances or exemplary language ("e.g.," "such as," etc.) provided in this embodiment is intended only to better illustrate embodiments of the invention and, unless otherwise required, does not impose a limitation on the scope of the invention.

[0063] It should be recognized that embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable storage medium. The method can be implemented using standard programming techniques—including a non-transitory computer-readable storage medium configured with a computer program, wherein such a storage medium causes the computer to operate in a specific and predefined manner—according to the methods and drawings described in the specific embodiments. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if desired, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. Furthermore, for this purpose, the program can run on a programmed application-specific integrated circuit (ASIC).

[0064] Furthermore, the procedures described in this embodiment can be performed in any suitable order unless otherwise indicated by this embodiment or otherwise obviously contradict the context. The procedures (or variations and / or combinations thereof) described in this embodiment can be executed under the control of one or more computer systems configured with executable instructions, and can be implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that commonly executes on one or more processors. A computer program includes a plurality of instructions executable by one or more processors.

[0065] Furthermore, the method can be implemented in any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, networked or distributed computing environments, standalone or integrated computer platforms, or in communication with charged particle tools or other imaging devices, etc. Aspects of the invention can be implemented as machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and / or write storage medium, RAM, ROM, etc., such that it is readable by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the processes described herein. Furthermore, the machine-readable code, or portions thereof, can be transmitted via wired or wireless networks. The invention of this embodiment includes these and other different types of non-transitory computer-readable storage media when such media comprises instructions or programs that implement the steps above in conjunction with a microprocessor or other data processor. When programmed according to the methods and techniques of the invention, the invention also includes the computer itself.

[0066] A computer program can be applied to input data to perform the functions of this embodiment, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects generated on the display.

[0067] The above are merely preferred embodiments of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.

Claims

1. A terminal upgrade method for linking vehicle-mounted terminals and user terminals, applied to vehicle-mounted terminals and user terminals, characterized in that, The terminal upgrade method for linking the vehicle terminal and the user terminal includes: Obtain the joint upgrade package; Extract a first upgrade package and a second upgrade package from the joint upgrade package; the first upgrade package is an upgrade package for upgrading the vehicle terminal, and the second upgrade package is an upgrade package for upgrading the user terminal; The first upgrade package and the second upgrade package are used to perform a linkage upgrade between the vehicle terminal and the user terminal.

2. The terminal upgrade method for linking vehicle-mounted terminals and user terminals according to claim 1, characterized in that, The step of using the first upgrade package and the second upgrade package to perform a linkage upgrade between the vehicle terminal and the user terminal includes: Establish a real-time session between the vehicle terminal and the user terminal; Based on the real-time session, the linkage upgrade process is maintained; the linkage upgrade process includes the vehicle terminal running the first upgrade package for upgrade, and the user terminal running the second upgrade package for upgrade.

3. The terminal upgrade method for linking vehicle-mounted terminals and user terminals according to claim 2, characterized in that, The step of using the first upgrade package and the second upgrade package to perform a linkage upgrade between the vehicle terminal and the user terminal also includes: Based on the real-time session, dynamic information exchange is performed during the linkage upgrade process.

4. The terminal upgrade method for linking vehicle-mounted terminals and user terminals according to claim 2, characterized in that, The step of using the first upgrade package and the second upgrade package to perform a linkage upgrade between the vehicle terminal and the user terminal also includes: Based on the real-time session, mutual authentication is performed between the vehicle terminal and the user terminal.

5. The terminal upgrade method for linking vehicle-mounted terminals and user terminals according to claim 2, characterized in that, Maintaining the linkage upgrade process based on the real-time session includes: Extract index information from the joint upgrade package; Based on the index information, determine the first serial installation order and the second serial installation order; The vehicle terminal decomposes the first upgrade package into multiple first sub-upgrade packages according to the first serial installation order; each first sub-upgrade package includes its own second key, the first first sub-upgrade package is in an unencrypted state, and the other first sub-upgrade packages are in an encrypted state that is encrypted by the corresponding first key; The user terminal decomposes the second upgrade package into multiple second sub-upgrade packages according to the second serial installation order; each second sub-upgrade package includes its own first key, and each second sub-upgrade package is encrypted by the corresponding second key. Multiple upgrade cycles are executed based on the first serial installation order and the second serial installation order; In the first upgrade cycle, the vehicle terminal installs the first sub-upgrade package in an unencrypted state and obtains the second key from the first sub-upgrade package; In any of the other upgrade cycles, the vehicle terminal sends the second key obtained in the previous upgrade cycle to the user terminal through the real-time session. The user terminal uses the second key to decrypt the corresponding second sub-upgrade package, installs the second sub-upgrade package and obtains the first key in the second sub-upgrade package, and sends the first key to the vehicle terminal through the real-time session. The vehicle terminal uses the first key to decrypt the corresponding first sub-upgrade package, installs the first sub-upgrade package and obtains the second key in the first sub-upgrade package.

6. The terminal upgrade method for linking vehicle-mounted terminals and user terminals according to claim 3, characterized in that, The dynamic information interaction based on the real-time session during the linked upgrade process includes: The vehicle terminal detects its own upgrade progress, obtains first upgrade progress information, and sends the first upgrade progress information to the user terminal through the real-time session; The user terminal detects its own upgrade progress, obtains second upgrade progress information, and sends the second upgrade progress information to the vehicle terminal through the real-time session.

7. A terminal upgrade method for linking vehicle-mounted terminals and user terminals, applied to a cloud server, characterized in that, The terminal upgrade method for linking the vehicle terminal and the user terminal includes: Generate a first upgrade package, a second upgrade package, and index information; the first upgrade package is an upgrade package for upgrading the vehicle terminal, and the second upgrade package is an upgrade package for upgrading the user terminal; The first upgrade package, the second upgrade package, and the index information are encapsulated into a combined upgrade package; Detect upgrade requests sent by the vehicle terminal or user terminal; When the upgrade request is detected, the joint upgrade package is sent to the vehicle terminal or the user terminal.

8. The terminal upgrade method for linking vehicle-mounted terminals and user terminals according to claim 7, characterized in that, The generation of the first upgrade package, the second upgrade package, and the index information includes: The vehicle terminal is functionally developed to obtain multiple first sub-upgrade packages and determine a first serial installation order; each first sub-upgrade package is used to upgrade the functional modules of the vehicle terminal. The user terminal is functionally developed to obtain multiple second sub-upgrade packages and determine a second serial installation order; each second sub-upgrade package is used to upgrade the functional modules of the user terminal. Based on the first serial installation order and the second serial installation order, a first mapping relationship and a second mapping relationship are established to generate the index information; the first mapping relationship represents the mapping from each first sub-upgrade package to each second sub-upgrade package, and the second mapping relationship represents the mapping from each second sub-upgrade package to each first sub-upgrade package; Generate multiple first keys and multiple second keys; Each of the second keys is encapsulated into the corresponding first sub-upgrade package, and each of the first keys is encapsulated into the corresponding second sub-upgrade package; One of the first sub-upgrade packages is kept in an unencrypted state. For any other first sub-upgrade package, the first key in the second sub-upgrade package determined according to the second mapping relationship is used to encrypt the first sub-upgrade package. For any second sub-upgrade package, the second sub-upgrade package is encrypted using the second key in the first sub-upgrade package determined according to the first mapping relationship; According to the first serial installation order, each of the first sub-upgrade packages is encapsulated to obtain the first upgrade package, and the first upgrade package is signed. According to the second serial installation order, each of the second sub-upgrade packages is encapsulated to obtain the second upgrade package, and the second upgrade package is signed.

9. A terminal device, characterized in that, The terminal device is a vehicle-mounted terminal or a user terminal, and the vehicle-mounted terminal is used to execute the terminal upgrade method of linkage between the vehicle-mounted terminal and the user terminal as described in any one of claims 1-6.

10. A cloud server, characterized in that, The cloud server is used to execute the terminal upgrade method for linking the vehicle terminal and the user terminal as described in claim 7 or 8.