Vehicle-mounted device network upgrading method and system, and storage medium

By generating a preview kernel resource package in the intelligent vehicle device and upgrading the version, the problem of application incompatibility during the network upgrade of the vehicle device was solved, the user experience was improved and the upgrade process was simplified.

CN119960799BActive Publication Date: 2026-03-17BEIJING UNISOUND INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Upgrading existing in-vehicle network equipment can easily lead to incompatibility with other applications, reducing user experience.

Method used

By acquiring network upgrade requests from intelligent vehicle devices, the target kernel data is determined, a preview kernel resource package is generated, and the preview kernel is upgraded and network tested to avoid upgrading the vehicle system and prevent application incompatibility.

Benefits of technology

The network upgrade of intelligent vehicle devices has been achieved, improving user experience, preventing incompatibility with other applications, simplifying the upgrade process, and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119960799B_ABST
    Figure CN119960799B_ABST
Patent Text Reader

Abstract

This invention provides a method, system, and storage medium for upgrading a vehicle-mounted device's network. The method includes: acquiring a vehicle network upgrade request sent by a smart vehicle-mounted device, and determining target kernel data based on a preview kernel file in the upgrade request; generating a preview kernel resource package based on the target kernel data, and sending the preview kernel resource package to the smart vehicle-mounted device for decompression to obtain a decompressed preview kernel file; upgrading the preview kernel in the smart vehicle-mounted device based on the decompressed preview kernel file to obtain an upgraded preview kernel, and performing network testing on the upgraded preview kernel to obtain a network upgrade result for the smart vehicle-mounted device. In this embodiment, the preview kernel in the smart vehicle-mounted device can be effectively upgraded using the decompressed preview kernel file, achieving a network upgrade effect without requiring an upgrade to the vehicle system.
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 method, system, and storage medium for upgrading in-vehicle equipment networks. Background Technology

[0002] With the continuous development of automotive technology, especially the widespread application of large-scale model technology in in-vehicle devices, the display end of in-vehicle devices has become richer. The complex interactive interface is more often a web page automatically generated by large-scale models. In order to load richer web pages, higher requirements are placed on the network of intelligent in-vehicle devices. Therefore, the issue of upgrading the network of in-vehicle devices is receiving more and more attention.

[0003] In the current process of upgrading in-vehicle equipment networks, the network is generally upgraded by upgrading the in-vehicle system. However, upgrading the in-vehicle system can easily lead to incompatibility with other applications on the in-vehicle equipment, which reduces the user experience. Summary of the Invention

[0004] The purpose of this invention is to provide a method, system, and storage medium for upgrading in-vehicle equipment networks, in order to solve the problem that existing technologies can easily lead to incompatibility with other applications on in-vehicle equipment.

[0005] This invention is implemented as follows: a method for upgrading a vehicle-mounted device network, the method comprising:

[0006] Obtain the vehicle network upgrade request sent by the intelligent vehicle device, and determine the target kernel data based on the preview kernel file in the vehicle network upgrade request;

[0007] A preview kernel resource package is generated based on the target kernel data, and the preview kernel resource package is sent to the intelligent vehicle device for decompression to obtain the preview kernel decompressed file;

[0008] The preview kernel in the intelligent vehicle device is upgraded according to the preview kernel decompression file to obtain the preview upgraded kernel, and the network upgrade result of the intelligent vehicle device is obtained by performing network testing on the preview upgraded kernel.

[0009] Preferably, the target kernel data is determined based on the preview kernel file in the vehicle network upgrade request, including:

[0010] Obtain the current kernel version and the target upgrade version from the vehicle network upgrade request, and combine the current kernel version and the target kernel upgrade version to obtain kernel combination information;

[0011] The kernel combination information is matched with the preview kernel version library in the cloud server to obtain the target kernel data, configuration file and dependency library, and the target kernel file, configuration file and dependency library are combined to obtain the target kernel data.

[0012] Preferably, the preview kernel in the intelligent vehicle device is upgraded according to the preview kernel decompression file to obtain a preview upgrade kernel, including:

[0013] In the intelligent vehicle device, the target kernel file replaces the current kernel file in the preview kernel, and the preview network service is restarted according to the configuration file and the dependent libraries to obtain the preview upgrade kernel.

[0014] Preferably, network testing is performed on the preview upgrade kernel to obtain the network upgrade results of the intelligent vehicle device, including:

[0015] The preview upgrade kernel is controlled to make a network connection according to the preset URL, and the webpage is displayed and the loading time of the displayed webpage is obtained.

[0016] The preview upgrade kernel is controlled to download a preset application in the displayed webpage and the download time of the preset application is obtained;

[0017] The preview upgrade kernel is controlled to perform a webpage redirection on the displayed webpage, obtain the redirected webpage, and acquire the response time of the redirected webpage;

[0018] The network upgrade result is generated based on the loading time, the download time, and the response time.

[0019] Preferably, generating the network upgrade result based on the loading time, the download time, and the response time includes:

[0020] The total network time is obtained by weighting the loading time, download time, and response time.

[0021] If the total network time is less than or equal to the time threshold, the network upgrade of the intelligent vehicle device is determined to be successful.

[0022] If the total network time is greater than the time threshold, the network upgrade of the intelligent vehicle device is determined to have failed.

[0023] Preferably, before obtaining the vehicle network upgrade request sent by the intelligent vehicle device, the process further includes:

[0024] The system acquires an environmental image of the user's vehicle corresponding to the intelligent vehicle device, and performs vehicle recognition on the environmental image to obtain the identified vehicle.

[0025] The user's vehicle is matched with the identified vehicle, and the associated vehicle is determined based on the vehicle matching result.

[0026] Send a kernel version request message to the associated vehicle and receive a kernel version response in response to the kernel version request message;

[0027] Match the kernel version in the kernel version response with the current kernel version of the intelligent vehicle device;

[0028] If the kernel version in the kernel version response matches the current kernel version, then the intelligent vehicle device is controlled to send the vehicle network upgrade request.

[0029] Preferably, generating a preview kernel resource package based on the target kernel data includes:

[0030] Obtain the signature information of the cloud server and the preview kernel repository to obtain the server signature and the repository signature, and re-sign the target kernel data based on the server signature and the repository signature to obtain the preview kernel resource package.

[0031] Another objective of this invention is to provide a vehicle-mounted device network upgrade system, the system comprising:

[0032] The data determination module is used to acquire the vehicle network upgrade request sent by the intelligent vehicle device, and determine the target kernel data based on the preview kernel file in the vehicle network upgrade request;

[0033] The decompression module is used to generate a preview kernel resource package based on the target kernel data, and send the preview kernel resource package to the intelligent vehicle device for decompression to obtain a preview kernel decompression file;

[0034] The kernel upgrade module is used to upgrade the preview kernel in the intelligent vehicle device according to the preview kernel decompression file to obtain the preview upgraded kernel, and to perform network testing on the preview upgraded kernel to obtain the network upgrade result of the intelligent vehicle device.

[0035] Preferably, the data determination module is further configured to: obtain the current kernel version and the target upgrade version in the vehicle network upgrade request, and combine the current kernel version and the target kernel upgrade version to obtain kernel combination information;

[0036] The kernel combination information is matched with the preview kernel version library in the cloud server to obtain the target kernel data, configuration file and dependency library, and the target kernel file, configuration file and dependency library are combined to obtain the target kernel data.

[0037] In this embodiment of the invention, based on the preview kernel file in the vehicle network upgrade request, the target kernel data can be automatically determined. Based on the target kernel data, a preview kernel resource package can be effectively generated. By decompressing the preview kernel file, the preview kernel in the intelligent vehicle device can be effectively upgraded to obtain the preview upgraded kernel, thereby achieving the network upgrade effect of the intelligent vehicle device without upgrading the vehicle system. This prevents incompatibility issues with other applications on the intelligent vehicle device and improves the user experience. Attached Figure Description

[0038] Figure 1 This is a flowchart of the vehicle-mounted device network upgrade method provided in the first embodiment of the present invention;

[0039] Figure 2 This is a schematic diagram of the structure of the vehicle-mounted equipment network upgrade system provided in the second embodiment of the present invention;

[0040] Figure 3 This is a schematic diagram of the structure of the terminal device provided in the third embodiment of the present invention. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0042] To illustrate the technical solution described in this invention, specific embodiments are described below.

[0043] Example 1

[0044] Please see Figure 1 This is a flowchart of a vehicle-mounted device network upgrade method provided in the first embodiment of the present invention. This vehicle-mounted device network upgrade method can be applied to any device or system, and includes the following steps:

[0045] Step S10: Obtain the vehicle network upgrade request sent by the intelligent vehicle device, and determine the target kernel data based on the preview kernel file in the vehicle network upgrade request;

[0046] The cloud server sends a network upgrade message to the intelligent vehicle device. After receiving the network upgrade message, the intelligent vehicle device sends an in-vehicle network upgrade request. The in-vehicle network upgrade request includes the current kernel version (WebView kernel version) and the target upgrade version. Based on the in-vehicle network upgrade request, the cloud server obtains the corresponding version data from the preset preview kernel version library to obtain the target kernel data.

[0047] Optionally, the target kernel data is determined based on the preview kernel file in the vehicle network upgrade request, including:

[0048] The current kernel version and the target upgrade version in the vehicle network upgrade request are obtained, and the current kernel version and the target kernel upgrade version are combined to obtain kernel combination information; wherein, by combining the current kernel version and the target kernel upgrade version, the matching operation between the subsequent kernel combination information and the preview kernel version library is effectively facilitated.

[0049] The kernel combination information is matched with the preview kernel version library in the cloud server to obtain the target kernel data, configuration file and dependency library. The target kernel file, configuration file and dependency library are then combined to obtain the target kernel data. The preview kernel version library stores the correspondence between different kernel combination information and the corresponding target kernel data, configuration file and dependency library.

[0050] Furthermore, before obtaining the vehicle network upgrade request sent by the intelligent vehicle device, the following steps are also included:

[0051] The system acquires an environmental image of the user's vehicle corresponding to the intelligent vehicle device, and performs vehicle recognition on the environmental image to obtain the identified vehicle; wherein, the system takes an image of the environment in which the intelligent vehicle device is currently located to obtain an environmental image, and performs vehicle recognition on the vehicles in the environmental image to obtain the model of each identified vehicle.

[0052] The user's vehicle is matched with the identified vehicle, and the associated vehicle is determined based on the vehicle matching result; wherein, the model of the user's vehicle is matched with the model of the identified vehicle, and based on the vehicle matching result, the identified vehicle with the same model as the user's vehicle is determined as the associated vehicle.

[0053] Send a kernel version request message to the associated vehicle and receive a kernel version response to the kernel version request message; wherein, by sending a kernel version request message to the associated vehicle, the kernel version information of the associated vehicle is obtained.

[0054] The kernel version in the kernel version response is matched with the current kernel version of the intelligent vehicle device. Specifically, by comparing the kernel version in the kernel version response with the current kernel version, it is determined whether the version of the preview kernel in the associated vehicle is higher than the kernel version of the intelligent vehicle device. If the version of the preview kernel in the associated vehicle is higher than the kernel version of the intelligent vehicle device, it is determined that the kernel version in the kernel version response matches the current kernel version successfully.

[0055] If the kernel version in the kernel version response matches the current kernel version, then the intelligent vehicle device is controlled to send the vehicle network upgrade request.

[0056] In this step, if the preview kernel version in the associated vehicle is lower than the kernel version of the smart vehicle device, a network upgrade prompt will be sent to the associated vehicle. If the preview kernel version in the associated vehicle is the same as the kernel version of the smart vehicle device, no network upgrade prompt needs to be sent.

[0057] Step S20: Generate a preview kernel resource package based on the target kernel data, and send the preview kernel resource package to the intelligent vehicle device for decompression to obtain the preview kernel decompressed file;

[0058] The cloud server re-signs the target kernel data to generate a preview kernel resource package containing the new kernel version. In addition to the new kernel file, the preview kernel resource package also contains the necessary configuration files and dependency libraries to ensure that the smart vehicle device can correctly load and use the new kernel.

[0059] Optionally, a preview kernel resource package is generated based on the target kernel data, including:

[0060] The signature information of the cloud server and the preview kernel repository is obtained to obtain the server signature and repository signature. The target kernel data is then re-signed based on the server signature and repository signature to obtain the preview kernel resource package. Specifically, re-signing the target kernel data using the server signature and repository signature facilitates the decompression and verification of the preview kernel resource package by the intelligent vehicle device. The cloud server pushes the generated preview kernel resource package to the intelligent vehicle device requesting the upgrade. After receiving the resource package, the vehicle device verifies and decompresses it to obtain the decompressed preview kernel file.

[0061] Step S30: Upgrade the preview kernel in the intelligent vehicle device according to the preview kernel decompression file to obtain the preview upgraded kernel, and perform network testing on the preview upgraded kernel to obtain the network upgrade result of the intelligent vehicle device;

[0062] The process involves determining preview compatibility. If the preview kernel decompression file can be installed directly, the preview version can be upgraded directly. If the installation fails, the previewer files (system / app / webview) must be deleted before installation. In this step, after the kernel replacement is complete, the smart vehicle device restarts the previewer service to make the new kernel effective. After restarting, a network test is performed on the upgraded preview kernel to check if the smart vehicle device has successfully upgraded online. If the network upgrade is successful, the smart vehicle device can use the new version of the preview kernel to load web pages, improving page loading speed and compatibility.

[0063] Optionally, the preview kernel in the intelligent vehicle device is upgraded according to the preview kernel decompression file to obtain the preview upgraded kernel, including: replacing the current kernel file in the preview kernel with the target kernel file in the intelligent vehicle device, and restarting the preview network service according to the configuration file and the dependent libraries to obtain the preview upgraded kernel.

[0064] Furthermore, network testing is performed on the preview upgrade kernel to obtain the network upgrade results of the intelligent vehicle device, including:

[0065] The preview upgrade kernel is controlled to make a network connection according to a preset URL, and the webpage is displayed and the loading time of the displayed webpage is obtained. The preset URL can be set according to the requirements. By controlling the preview upgrade kernel to make a network connection, the network loading speed of the preview upgrade kernel can be effectively tested.

[0066] The preview upgrade kernel is controlled to download a preset application in the displayed webpage and the download time of the preset application is obtained; wherein, the preset application can be set according to needs, and by downloading the preset application in the displayed webpage, the network download speed of the preview upgrade kernel can be effectively tested;

[0067] The preview upgrade kernel is controlled to perform webpage redirection on the displayed webpage, obtain the redirected webpage, and acquire the response time of the redirected webpage; wherein, by performing webpage redirection on the displayed webpage, the network response speed of the preview upgrade kernel can be effectively tested;

[0068] The network upgrade result is generated based on the loading time, the download time, and the response time.

[0069] Furthermore, the network upgrade result is generated based on the loading time, the download time, and the response time, including:

[0070] The total network time is obtained by weighting the loading time, download time, and response time; wherein the weighting coefficients of loading time, download time, and response time during the weighting process can be set according to requirements;

[0071] If the total network time is less than or equal to the time threshold, the network upgrade of the intelligent vehicle device is determined to be successful; if the total network time is greater than the time threshold, the network upgrade of the intelligent vehicle device is determined to be unsuccessful; wherein, the time threshold can be set according to requirements.

[0072] In this embodiment, based on the preview kernel file in the vehicle network upgrade request, the target kernel data can be automatically determined. Based on the target kernel data, a preview kernel resource package can be effectively generated. By decompressing the preview kernel file, the preview kernel in the smart vehicle device can be effectively upgraded to obtain the preview upgraded kernel, thereby achieving the network upgrade effect of the smart vehicle device without upgrading the vehicle system. This prevents incompatibility issues with other applications on the smart vehicle device and improves the user experience.

[0073] Example 2

[0074] Please see Figure 2 This is a schematic diagram of the structure of the vehicle-mounted equipment network upgrade system 100 provided in the second embodiment of the present invention, including:

[0075] The data determination module 10 is used to acquire the vehicle network upgrade request sent by the intelligent vehicle device, and determine the target kernel data based on the preview kernel file in the vehicle network upgrade request.

[0076] Optionally, the data determination module 10 is further configured to: obtain the current kernel version and the target upgrade version in the vehicle network upgrade request, and combine the current kernel version and the target kernel upgrade version to obtain kernel combination information;

[0077] The kernel combination information is matched with the preview kernel version library in the cloud server to obtain the target kernel data, configuration file and dependency library, and the target kernel file, configuration file and dependency library are combined to obtain the target kernel data.

[0078] Furthermore, the data determination module 10 is also used to: acquire an environmental image of the user's vehicle corresponding to the intelligent vehicle device, and perform vehicle recognition on the environmental image to obtain the identified vehicle;

[0079] The user's vehicle is matched with the identified vehicle, and the associated vehicle is determined based on the vehicle matching result.

[0080] Send a kernel version request message to the associated vehicle and receive a kernel version response in response to the kernel version request message;

[0081] Match the kernel version in the kernel version response with the current kernel version of the intelligent vehicle device;

[0082] If the kernel version in the kernel version response matches the current kernel version, then the intelligent vehicle device is controlled to send the vehicle network upgrade request.

[0083] The decompression module 11 is used to generate a preview kernel resource package based on the target kernel data, and send the preview kernel resource package to the intelligent vehicle device for decompression to obtain a preview kernel decompression file.

[0084] Optionally, the decompression module 11 is further configured to: obtain the signature information of the cloud server and the preview kernel repository, obtain the server signature and the repository signature, and re-sign the target kernel data according to the server signature and the repository signature to obtain the preview kernel resource package.

[0085] The kernel upgrade module 12 is used to upgrade the preview kernel in the intelligent vehicle device according to the preview kernel decompression file to obtain the preview upgraded kernel, and to perform network testing on the preview upgraded kernel to obtain the network upgrade result of the intelligent vehicle device.

[0086] Optionally, the kernel upgrade module 12 is further configured to: replace the current kernel file in the preview kernel with the target kernel file in the intelligent vehicle device, and restart the preview network service according to the configuration file and the dependent libraries to obtain the preview upgrade kernel.

[0087] Furthermore, the kernel upgrade module 12 is also used to: control the preview upgrade kernel to make a network connection according to a preset URL, obtain a display webpage, and obtain the loading time of the display webpage;

[0088] The preview upgrade kernel is controlled to download a preset application in the displayed webpage and the download time of the preset application is obtained;

[0089] The preview upgrade kernel is controlled to perform a webpage redirection on the displayed webpage, obtain the redirected webpage, and acquire the response time of the redirected webpage;

[0090] The network upgrade result is generated based on the loading time, the download time, and the response time.

[0091] Furthermore, the kernel upgrade module 12 is also used to: perform a weighted calculation on the loading time, the download time, and the response time to obtain the total network time;

[0092] If the total network time is less than or equal to the time threshold, the network upgrade of the intelligent vehicle device is determined to be successful.

[0093] If the total network time is greater than the time threshold, the network upgrade of the intelligent vehicle device is determined to have failed.

[0094] In this embodiment, based on the preview kernel file in the vehicle network upgrade request, the target kernel data can be automatically determined. Based on the target kernel data, a preview kernel resource package can be effectively generated. By decompressing the preview kernel file, the preview kernel in the smart vehicle device can be effectively upgraded to obtain the preview upgraded kernel, thereby achieving the network upgrade effect of the smart vehicle device without upgrading the vehicle system. This prevents incompatibility issues with other applications on the smart vehicle device and improves the user experience.

[0095] Specifically, the implementation methods of the vehicle-mounted equipment network upgrade system 100 include:

[0096] 1. Preparation Phase: The cloud server establishes a WebView kernel version library, storing different versions of WebView kernel files. The in-vehicle device has a pre-installed client program that communicates with the cloud server to send upgrade requests and receive resource packages.

[0097] 2. Upgrade Request Phase: The cloud sends an upgrade message, and the vehicle-mounted device sends an upgrade request to the cloud server through the client program, which includes the current WebView kernel version and the target upgrade version information.

[0098] 3. Resource Package Generation and Push Phase: Based on the request information, the cloud server retrieves the corresponding version of the kernel file from the version control system, re-signs it, and generates the WebView resource package. The cloud server then pushes the resource package to the in-vehicle device and sends a notification of successful push.

[0099] 4. Vehicle-mounted equipment upgrade phase: After receiving the resource package, the vehicle-mounted equipment verifies and decompresses it, replacing the old kernel file with the new one. The vehicle-mounted equipment then restarts the WebView service to make the new kernel take effect.

[0100] 5. Upgrade Verification Phase: After restarting the WebView service, the in-vehicle device verifies the success of the upgrade by loading a test webpage. If the upgrade fails, the in-vehicle device sends a failure notification to the cloud server, requesting a re-push of the resource package.

[0101] The beneficial effects of this embodiment include:

[0102] 1. Improve webpage loading speed and compatibility: By upgrading the WebView kernel, smart in-vehicle devices can load higher versions of webpages, improving webpage loading speed and compatibility.

[0103] 2. Simplified upgrade process: This invention enables remote upgrades of the WebView kernel via a cloud server, eliminating the need for users to manually download and install, thus simplifying the upgrade process.

[0104] 3. Reduced upgrade costs: The cloud server centrally manages the WebView kernel version, reducing upgrade costs for in-vehicle equipment manufacturers.

[0105] Example 3

[0106] Figure 3 This is a structural block diagram of a terminal device 2 provided in the third embodiment of this application. For example... Figure 3 As shown, the terminal device 2 in this embodiment includes a processor 20, a memory 21, and a computer program 22 stored in the memory 21 and executable on the processor 20, such as a program for an in-vehicle device network upgrade method. When the processor 20 executes the computer program 22, it implements the steps in the various embodiments of the in-vehicle device network upgrade methods described above.

[0107] For example, the computer program 22 may be divided into one or more modules, which are stored in the memory 21 and executed by the processor 20 to complete this application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program 22 in the terminal device 2. The terminal device may include, but is not limited to, the processor 20 and the memory 21.

[0108] The processor 20 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0109] The memory 21 can be an internal storage unit of the terminal device 2, such as a hard drive or memory of the terminal device 2. The memory 21 can also be an external storage device of the terminal device 2, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the terminal device 2. Furthermore, the memory 21 can include both internal and external storage units of the terminal device 2. The memory 21 is used to store the computer program and other programs and data required by the terminal device. The memory 21 can also be used to temporarily store data that has been output or will be output.

[0110] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0111] If an integrated module is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. This computer-readable storage medium can be non-volatile or volatile. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the contents of a computer-readable storage medium may be appropriately added to or subtracted from the contents as required by the legislation and patent practice in a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, a computer-readable storage medium may not include electrical carrier signals and telecommunication signals.

[0112] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A vehicle-mounted device network upgrade method characterized by comprising: The method comprises: Obtaining a vehicle-mounted network upgrade request sent by an intelligent vehicle-mounted device, and determining target kernel data according to a preview kernel file in the vehicle-mounted network upgrade request; Generating a preview kernel resource package according to the target kernel data, and sending the preview kernel resource package to the intelligent vehicle-mounted device for decompression to obtain a preview kernel decompression file; According to the preview kernel decompression file, the preview kernel in the intelligent vehicle-mounted device is upgraded in version to obtain a preview upgraded kernel, and the preview upgraded kernel is tested in network to obtain a network upgrade result of the intelligent vehicle-mounted device; According to the preview kernel file in the vehicle-mounted network upgrade request, the target kernel data is determined, which comprises: obtaining a current kernel version and a target upgrade version in the vehicle-mounted network upgrade request, and combining the current kernel version and the target upgrade version to obtain kernel combination information; matching the kernel combination information with a preview kernel version library in a cloud server to obtain a target kernel file, a configuration file and a dependent library, and combining the target kernel file, the configuration file and the dependent library to obtain the target kernel data; The preview kernel decompression file upgrades the preview kernel in the intelligent vehicle-mounted device in version to obtain a preview upgraded kernel, which comprises: in the intelligent vehicle-mounted device, replacing a current kernel file in the preview kernel with the target kernel file, and restarting a preview network service according to the configuration file and the dependent library to obtain the preview upgraded kernel; Before obtaining the vehicle-mounted network upgrade request sent by the intelligent vehicle-mounted device, it further comprises: obtaining an environment image of a user vehicle corresponding to the intelligent vehicle-mounted device, and performing vehicle recognition on the environment image to obtain a recognized vehicle; performing vehicle matching on the user vehicle and the recognized vehicle, and determining an associated vehicle according to the vehicle matching result; sending kernel version request information to the associated vehicle, and receiving a kernel version response to the kernel version request information; matching a kernel version in the kernel version response with a current kernel version of the intelligent vehicle-mounted device; if the kernel version in the kernel version response matches the current kernel version successfully, controlling the vehicle-mounted network upgrade request sent by the intelligent vehicle-mounted device; According to the target kernel data, a preview kernel resource package is generated, which comprises: obtaining signature information of the cloud server and the preview kernel version library to obtain server signature and version library signature, and re-signing the target kernel data according to the server signature and the version library signature to obtain the preview kernel resource package.

2. The in-vehicle device network upgrade method according to claim 1, wherein The preview upgraded kernel is tested in network to obtain the network upgrade result of the intelligent vehicle-mounted device, which comprises: According to a preset website, the preview upgraded kernel is controlled to perform network connection to obtain a display webpage, and the loading time of the display webpage is obtained; The preview upgraded kernel is controlled to download a preset application in the display webpage, and the download time of the preset application is obtained; controlling the preview upgraded kernel to perform a webpage jump in the display webpage to obtain a jump webpage, and obtaining a response time length of the jump webpage; generating the network upgrading result according to the loading time length, the downloading time length and the response time length.

3. The in-vehicle device network upgrade method according to claim 2, wherein generating the network upgrading result according to the loading time length, the downloading time length and the response time length, comprising: performing a weighted operation on the loading time length, the downloading time length and the response time length to obtain a total network time length; if the total network time length is less than or equal to a time length threshold, determining that the network upgrading of the intelligent vehicle-mounted device is successful; if the total network time length is greater than the time length threshold, determining that the network upgrading of the intelligent vehicle-mounted device is unsuccessful.

4. An in-vehicle device network upgrade system characterized by The vehicle-mounted device network upgrading method according to any one of claims 1-3, comprising: a data determination module configured to obtain a vehicle-mounted network upgrading request sent by an intelligent vehicle-mounted device, and determine target kernel data according to a preview kernel file in the vehicle-mounted network upgrading request; a decompression module configured to generate a preview kernel resource package according to the target kernel data, and send the preview kernel resource package to the intelligent vehicle-mounted device for decompression to obtain a preview kernel decompression file; a kernel upgrading module configured to perform version upgrading on a preview kernel in the intelligent vehicle-mounted device according to the preview kernel decompression file to obtain a preview upgraded kernel, and perform network testing on the preview upgraded kernel to obtain a network upgrading result of the intelligent vehicle-mounted device.

5. The in-vehicle device network upgrade system of claim 4, wherein, The data determination module is further configured to: obtain a current kernel version and a target upgrading version in the vehicle-mounted network upgrading request, and combine the current kernel version and the target upgrading version to obtain kernel combination information; match the kernel combination information with a preview kernel version library in a cloud server to obtain a target kernel file, a configuration file and a dependent library, and combine the target kernel file, the configuration file and the dependent library to obtain the target kernel data.

6. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 5. The computer program is executed by a processor to implement the steps of the method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Over-the-air (OTA) upgrading method and system of whole vehicle, storage medium and equipment

    CN115344281A

  • Android system updating method and device, equipment and storage medium

    CN115470423A