Vehicle-mounted equipment network upgrading method and system and storage medium
The target kernel data is determined through the network upgrade request of smart car equipment, the preview kernel resource package is generated and the preview kernel is upgraded in version, which solves the problem of application incompatibility caused by network upgrade of car equipment and achieves network upgrade and user experience improvement.
Patent Information
- Application Number
- CN202510051397.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2045-01-13
AI Technical Summary
During the upgrade of existing vehicle-mounted equipment, other applications are likely to be incompatible and reduce user experience.
By obtaining the on-board network upgrade request for smart on-board devices, determining the target kernel data, generating a preview kernel resource package, and performing version upgrades to the preview kernel in smart on-board devices, and conducting network testing to obtain the upgrade results.
The network upgrade of smart car equipment is realized without the need to upgrade the car system, avoiding incompatibility of other applications, and improving the user experience.
Smart Images

Figure CN119960799A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to a vehicle-mounted device network upgrade method, system and storage medium. Background Art
[0002] With the continuous development of automobile technology, especially the widespread application of large model technology in vehicle-mounted equipment, the display end of vehicle-mounted equipment has become richer, and the complex interactive interface is more of a web page automatically generated by a large model. In order to load richer web pages, higher requirements are placed on the network of smart vehicle-mounted equipment. Therefore, the issue of vehicle-mounted equipment network upgrade has received more and more attention.
[0003] In the existing vehicle-mounted device network upgrade process, the network is generally upgraded by upgrading the vehicle-mounted system. However, since upgrading the vehicle-mounted system is likely to cause incompatibility with other applications on the vehicle-mounted device, the user experience is reduced. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a vehicle-mounted device network upgrade method, system and storage medium to solve the problem in the prior art that other applications on the vehicle-mounted device are easily incompatible.
[0005] The embodiment of the present invention is implemented as follows: a method for upgrading a vehicle-mounted device network, the method comprising:
[0006] Obtaining a vehicle network upgrade request sent by a smart vehicle device, and determining target kernel data according to a preview kernel file in the vehicle network upgrade request;
[0007] 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 decompressed file;
[0008] The preview kernel in the smart vehicle-mounted device is upgraded according to the preview kernel decompression file to obtain the preview upgraded kernel, and a network test is performed on the preview upgraded kernel to obtain a network upgrade result of the smart vehicle-mounted device.
[0009] Preferably, determining the target kernel data according to the preview kernel file in the vehicle network upgrade request includes:
[0010] Obtaining a current kernel version and a target upgrade version in the vehicle network upgrade request, and combining 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 target kernel data, configuration files and dependent libraries, and the target kernel file, the configuration files and the dependent libraries are combined to obtain the target kernel data.
[0012] Preferably, performing a version upgrade on the preview kernel in the intelligent vehicle-mounted device according to the preview kernel decompression file to obtain the preview upgraded kernel includes:
[0013] In the intelligent vehicle-mounted device, the target kernel file is used to replace the current kernel file in the preview kernel, and the preview network service is restarted according to the configuration file and the dependent library to obtain the preview upgrade kernel.
[0014] Preferably, performing a network test on the preview upgrade kernel to obtain a network upgrade result of the intelligent vehicle-mounted device includes:
[0015] Controlling the preview upgrade kernel to connect to the network according to the preset website address, obtaining a display web page, and acquiring the loading time of the display web page;
[0016] Controlling the preview upgrade kernel to download the preset application in the display webpage, and obtaining the download time of the preset application;
[0017] Controlling the preview upgrade kernel to perform a web page jump in the displayed web page, obtaining a jump web page, and acquiring a response time of the jump web page;
[0018] The network upgrade result is generated according to the loading time, the downloading time and the response time.
[0019] Preferably, generating the network upgrade result according to the loading time, the downloading time and the response time includes:
[0020] Performing weighted calculation on the loading time, the downloading time and the response time to obtain a total network time;
[0021] If the total network duration is less than or equal to the duration threshold, it is determined that the network upgrade of the intelligent vehicle-mounted device is successful;
[0022] If the total network duration is greater than the duration threshold, it is determined that the network upgrade of the intelligent vehicle-mounted device has failed.
[0023] Preferably, before obtaining the vehicle network upgrade request sent by the intelligent vehicle device, the method further includes:
[0024] Acquire an environment image of the intelligent vehicle-mounted device corresponding to the user's vehicle, and perform vehicle recognition on the environment image to obtain a recognized vehicle;
[0025] Performing vehicle matching between the user vehicle and the identified vehicle, and determining an associated vehicle according to the vehicle matching result;
[0026] Sending a kernel version request message to the associated vehicle, and receiving a kernel version response to the kernel version request message;
[0027] Matching the kernel version in the kernel version response with the current kernel version of the intelligent vehicle-mounted device;
[0028] If the kernel version in the kernel version response successfully matches the current kernel version, the vehicle network upgrade request sent by the intelligent vehicle device is controlled.
[0029] Preferably, generating a preview kernel resource package according to the target kernel data includes:
[0030] The signature information of the cloud server and the preview kernel version library is obtained to obtain the server signature and the version library signature, and the target kernel data is re-signed according to the server signature and the version library signature to obtain the preview kernel resource package.
[0031] Another object of an embodiment of the present invention is to provide a vehicle-mounted device network upgrade system, the system comprising:
[0032] A data determination module, used to obtain a vehicle network upgrade request sent by an intelligent vehicle device, and determine target kernel data according to a preview kernel file in the vehicle network upgrade request;
[0033] A decompression module, used for 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 decompressed file;
[0034] The kernel upgrade module is used to upgrade the preview kernel in the smart vehicle-mounted device according to the preview kernel decompression file to obtain the preview upgrade kernel, and perform a network test on the preview upgrade kernel to obtain the network upgrade result of the smart vehicle-mounted device.
[0035] Preferably, the data determination module is further used 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 target kernel data, configuration files and dependent libraries, and the target kernel file, the configuration files and the dependent libraries are combined to obtain the target kernel data.
[0037] The embodiment of the present invention can automatically determine the target kernel data based on the preview kernel file in the vehicle network upgrade request, and can effectively generate a preview kernel resource package based on the target kernel data. The preview kernel decompression file can effectively upgrade the preview kernel in the smart vehicle device to obtain the preview upgraded kernel, so as to achieve the network upgrade effect of the smart vehicle device without upgrading the vehicle system, thereby preventing incompatibility of other applications on the smart vehicle device and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a flow chart of a vehicle-mounted device network upgrade method provided by a first embodiment of the present invention;
[0039] Figure 2 is a structural diagram of a vehicle-mounted device network upgrade system provided by a second embodiment of the present invention;
[0040] Figure 3 It is a schematic diagram of the structure of a terminal device provided in the third embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0042] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.
[0043] Embodiment 1
[0044] See also Figure 1 , is a flow chart of a vehicle-mounted device network upgrade method provided by a first embodiment of the present invention. The vehicle-mounted device network upgrade method can be applied to any device or system. The vehicle-mounted device network upgrade method comprises the steps of:
[0045] Step S10, obtaining a vehicle network upgrade request sent by the intelligent vehicle device, and determining target kernel data according to the preview kernel file in the vehicle network upgrade request;
[0046] Among them, the cloud server sends a network upgrade message to the smart vehicle device. After receiving the network upgrade message, the smart vehicle device sends a vehicle network upgrade request. The vehicle network upgrade request includes the current kernel version (WebView kernel version) and the target upgrade version. The cloud server obtains the corresponding version data from the preset preview kernel version library based on the vehicle network upgrade request to obtain the target kernel data.
[0047] Optionally, determining the target kernel data according to the preview kernel file in the vehicle network upgrade request includes:
[0048] Obtaining the current kernel version and the target upgrade version in the vehicle network upgrade request, and combining the current kernel version and the target kernel upgrade version to obtain kernel combination information; wherein, by combining the current kernel version and the target kernel upgrade version, the subsequent matching operation between the 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 target kernel data, configuration files and dependent libraries, and the target kernel file, the configuration files and the dependent libraries are combined to obtain the target kernel data; wherein the preview kernel version library stores the correspondence between different kernel combination information and the corresponding target kernel data, configuration files and dependent libraries.
[0050] Furthermore, before obtaining the vehicle network upgrade request sent by the intelligent vehicle device, it also includes:
[0051] Acquire an environment image of the intelligent vehicle-mounted device corresponding to the user's vehicle, and perform vehicle recognition on the environment image to obtain a recognized vehicle; wherein, an image is captured in the environment where the intelligent vehicle-mounted device is currently located to obtain an environment image, and vehicle recognition is performed on the vehicles in the environment image to obtain the model of each recognized vehicle;
[0052] Matching the user vehicle with the identified vehicle, and determining an associated vehicle according to the vehicle matching result; wherein the model of the user vehicle is matched with the model of the identified vehicle, and based on the vehicle matching result, determining the identified vehicle of the same model as the user vehicle as the associated vehicle;
[0053] Sending kernel version request information to the associated vehicle, and receiving a kernel version response to the kernel version request information; wherein the kernel version information of the associated vehicle is obtained by sending the kernel version request information to the associated vehicle;
[0054] Matching the kernel version in the kernel version response with the current kernel version of the smart vehicle-mounted device; wherein, 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 smart vehicle-mounted device, and if the version of the preview kernel in the associated vehicle is higher than the kernel version of the smart vehicle-mounted device, it is determined that the kernel version in the kernel version response successfully matches the current kernel version;
[0055] If the kernel version in the kernel version response successfully matches the current kernel version, controlling the vehicle network upgrade request sent by the intelligent vehicle device;
[0056] In this step, if the version of the preview kernel in the associated vehicle is lower than the kernel version of the smart vehicle-mounted device, a network upgrade prompt is sent to the associated vehicle. If the version of the preview kernel in the associated vehicle is the same as the kernel version of the smart vehicle-mounted device, there is no need to send a network upgrade prompt.
[0057] Step S20, 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 decompressed file;
[0058] Among them, the cloud server re-signs the target kernel data and generates a preview kernel resource package containing the new kernel version. In addition to the new kernel file, the preview kernel resource package also contains necessary configuration files and dependent libraries to ensure that the smart vehicle-mounted equipment can correctly load and use the new kernel.
[0059] Optionally, generating a preview kernel resource package according to the target kernel data includes:
[0060] The signature information of the cloud server and the preview kernel version library is obtained to obtain the server signature and the version library signature, and the target kernel data is re-signed according to the server signature and the version library signature to obtain the preview kernel resource package; wherein, re-signing the target kernel data by the server signature and the version library signature facilitates the decompression and verification of the preview kernel resource package by the smart vehicle-mounted device. Specifically, the cloud server pushes the generated preview kernel resource package to the smart vehicle-mounted device requesting the upgrade, and after receiving the resource package, the vehicle-mounted device verifies and decompresses it to obtain the preview kernel decompressed file.
[0061] Step S30, performing a version upgrade on the preview kernel in the smart vehicle-mounted device according to the preview kernel decompression file to obtain a preview upgrade kernel, and performing a network test on the preview upgrade kernel to obtain a network upgrade result of the smart vehicle-mounted device;
[0062] Among them, determine whether the preview is compatible. If the preview kernel decompression file can be directly installed, if the installation is successful, it means that the preview version can be directly upgraded. If the installation fails, you need to delete the preview file (system / app / webview) before installing it. In this step, after the smart car device completes the kernel replacement, it restarts the preview service to make the new kernel effective. After restarting, perform a network test on the preview upgrade kernel to detect whether the network upgrade of the smart car device is successful. If the network upgrade is successful, the smart car device can use the new version of the preview kernel to load the web page, improving the web page loading speed and compatibility.
[0063] Optionally, the preview kernel in the smart vehicle device is upgraded according to the preview kernel decompression file to obtain the preview upgraded kernel, including: in the smart vehicle device, replacing the current kernel file in the preview kernel with the target kernel file, and restarting the preview network service according to the configuration file and the dependent library to obtain the preview upgraded kernel.
[0064] Further, a network test is performed on the preview upgrade kernel to obtain a network upgrade result of the intelligent vehicle-mounted device, including:
[0065] According to the preset website, the preview upgrade kernel is controlled to connect to the network, a displayed web page is obtained, and the loading time of the displayed web page is obtained; wherein the preset website can be set according to the demand, and by controlling the preview upgrade kernel to connect to the network, the network loading speed of the preview upgrade kernel can be effectively tested;
[0066] Controlling the preview upgrade kernel to download the preset application in the display webpage, and obtaining the download time of the preset application; wherein the preset application can be set according to demand, and by downloading the preset application in the display webpage, the network download speed of the preview upgrade kernel can be effectively tested;
[0067] Control the preview upgrade kernel to perform a web page jump in the displayed web page, obtain a jump web page, and obtain the response time of the jump web page; wherein, by performing a web page jump in the displayed web page, the network response speed of the preview upgrade kernel can be effectively tested;
[0068] The network upgrade result is generated according to the loading time, the downloading time and the response time.
[0069] Furthermore, generating the network upgrade result according to the loading time, the downloading time and the response time includes:
[0070] Performing weighted calculation on the loading time, the downloading time and the response time to obtain a total network time; wherein the weighted coefficients of the loading time, the downloading time and the response time in the weighted calculation process can be set according to requirements;
[0071] If the total network time is less than or equal to the time threshold, it is determined that the network upgrade of the smart vehicle device is successful; if the total network time is greater than the time threshold, it is determined that the network upgrade of the smart vehicle device has failed; wherein, the time threshold can be set according to needs.
[0072] In this embodiment, based on the preview kernel file in the vehicle network upgrade request, the target kernel data can be automatically determined, and the preview kernel resource package can be effectively generated based on the target kernel data. The preview kernel decompression file can be effectively upgraded to the preview kernel in the smart vehicle device to obtain the preview upgraded kernel, so as to achieve the network upgrade effect of the smart vehicle device. There is no need to upgrade the vehicle system, which prevents incompatibility of other applications on the smart vehicle device and improves the user experience.
[0073] Embodiment 2
[0074] See also Figure 2 , is a schematic diagram of the structure of a vehicle-mounted device network upgrade system 100 provided in a second embodiment of the present invention, comprising:
[0075] The data determination module 10 is used to obtain the vehicle network upgrade request sent by the intelligent vehicle device, and determine the target kernel data according to the preview kernel file in the vehicle network upgrade request.
[0076] Optionally, the data determination module 10 is further used to: obtain a current kernel version and a 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 target kernel data, configuration files and dependent libraries, and the target kernel file, the configuration files and the dependent libraries are combined to obtain the target kernel data.
[0078] Furthermore, the data determination module 10 is further used to: obtain an environment image of the intelligent vehicle-mounted device corresponding to the user's vehicle, and perform vehicle recognition on the environment image to obtain a recognized vehicle;
[0079] Performing vehicle matching between the user vehicle and the identified vehicle, and determining an associated vehicle according to the vehicle matching result;
[0080] Sending a kernel version request message to the associated vehicle, and receiving a kernel version response to the kernel version request message;
[0081] Matching the kernel version in the kernel version response with the current kernel version of the intelligent vehicle-mounted device;
[0082] If the kernel version in the kernel version response successfully matches the current kernel version, the vehicle network upgrade request sent by the intelligent vehicle device is controlled.
[0083] The decompression module 11 is used 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 decompressed file.
[0084] Optionally, the decompression module 11 is also used to: obtain the signature information of the cloud server and the preview kernel version library, obtain the server signature and the version library signature, and re-sign the target kernel data according to the server signature and the version library signature to obtain the preview kernel resource package.
[0085] The kernel upgrade module 12 is used to upgrade the preview kernel in the smart vehicle-mounted device according to the preview kernel decompression file to obtain the preview upgraded kernel, and perform a network test on the preview upgraded kernel to obtain the network upgrade result of the smart vehicle-mounted device.
[0086] Optionally, the kernel upgrade module 12 is also used to: in the intelligent vehicle-mounted device, replace the current kernel file in the preview kernel with the target kernel file, and restart the preview network service according to the configuration file and the dependent library to obtain the preview upgraded kernel.
[0087] Furthermore, the kernel upgrade module 12 is also used to: control the preview upgrade kernel to connect to the network according to a preset website address, obtain a display web page, and obtain a loading time of the display web page;
[0088] Controlling the preview upgrade kernel to download the preset application in the display webpage, and obtaining the download time of the preset application;
[0089] Controlling the preview upgrade kernel to perform a web page jump in the displayed web page, obtaining a jump web page, and acquiring a response time of the jump web page;
[0090] The network upgrade result is generated according to the loading time, the downloading time and the response time.
[0091] Furthermore, the kernel upgrade module 12 is further used to: perform weighted calculation on the loading time, the downloading time and the response time to obtain a total network time;
[0092] If the total network duration is less than or equal to the duration threshold, it is determined that the network upgrade of the intelligent vehicle-mounted device is successful;
[0093] If the total network duration is greater than the duration threshold, it is determined that the network upgrade of the intelligent vehicle-mounted device has 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, and the preview kernel resource package can be effectively generated based on the target kernel data. The preview kernel decompression file can be effectively upgraded to the preview kernel in the smart vehicle device to obtain the preview upgraded kernel, so as to achieve the network upgrade effect of the smart vehicle device. There is no need to upgrade the vehicle system, which prevents incompatibility of other applications on the smart vehicle device and improves the user experience.
[0095] Specifically, the specific implementation of the vehicle-mounted device network upgrade system 100 includes:
[0096] 1. Preparation stage: The cloud server establishes a WebView kernel version library to store different versions of WebView kernel files. The vehicle-mounted device is pre-installed with a client program that communicates with the cloud server to send upgrade requests and receive resource packages.
[0097] 2. Upgrade request stage: 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: The cloud server obtains the kernel file of the corresponding version from the version library according to the request information, re-signs it, and generates the WebView resource package. The cloud server pushes the resource package to the vehicle-mounted device and sends a notification of successful push.
[0099] 4. Vehicle device upgrade stage: After receiving the resource package, the vehicle device verifies and decompresses it, and replaces the old kernel file with the new kernel file. The vehicle device restarts the WebView service to make the new kernel take effect.
[0100] 5. Upgrade verification phase: After the vehicle device restarts the WebView service, it verifies whether the upgrade is successful by loading a test web page. If the upgrade fails, the vehicle device sends a failure notification to the cloud server and requests to re-push the resource package.
[0101] The beneficial effects of this embodiment include:
[0102] 1. Improve web page loading speed and compatibility: By upgrading the WebView kernel, smart car devices can load higher versions of web pages, improving web page loading speed and compatibility.
[0103] 2. Simplify the upgrade process: The present invention realizes the remote upgrade of the WebView kernel through the cloud server, without the need for users to manually download and install, thus simplifying the upgrade process.
[0104] 3. Reduce upgrade costs: The cloud server centrally manages the WebView kernel version, reducing the upgrade costs of vehicle equipment manufacturers.
[0105] Embodiment 3
[0106] Figure 3 2 is a block diagram of a terminal device 2 provided in the third embodiment of the present application. Figure 3 As shown, the terminal device 2 of 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 of the vehicle-mounted device network upgrade method. When the processor 20 executes the computer program 22, the steps in each embodiment of the vehicle-mounted device network upgrade method described above are implemented.
[0107] Exemplarily, 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 the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 22 in the terminal device 2. The terminal device may include, but is not limited to, a processor 20 and a memory 21.
[0108] The processor 20 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) 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, etc.
[0109] The memory 21 may be an internal storage unit of the terminal device 2, such as a hard disk or memory of the terminal device 2. The memory 21 may also be an external storage device of the terminal device 2, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 2. Further, the memory 21 may also include both an internal storage unit and an external storage device 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 may also be used to temporarily store data that has been output or is to be output.
[0110] In addition, each functional module in each embodiment of the present 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 above integrated unit can be implemented in the form of hardware or in the form of software functional unit.
[0111] If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Among them, the computer-readable storage medium can be non-volatile or volatile. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in computer-readable storage media can be appropriately increased or decreased according to the requirements of legislation and patent practices in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practices, computer-readable storage media do not include electrical carrier signals and telecommunication signals.
[0112] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A vehicle-mounted device network upgrade method, characterized in that: The method comprises: Obtaining a vehicle network upgrade request sent by a smart vehicle device, and determining target kernel data according to a preview kernel file in the vehicle network upgrade request; 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 decompressed file; The preview kernel in the smart vehicle-mounted device is upgraded according to the preview kernel decompression file to obtain the preview upgraded kernel, and a network test is performed on the preview upgraded kernel to obtain a network upgrade result of the smart vehicle-mounted device.
2. The vehicle-mounted device network upgrade method according to claim 1, characterized in that: Determining target kernel data according to the preview kernel file in the vehicle network upgrade request includes: Obtaining a current kernel version and a target upgrade version in the vehicle network upgrade request, and combining the current kernel version and the target kernel upgrade version to obtain kernel combination information; The kernel combination information is matched with the preview kernel version library in the cloud server to obtain target kernel data, configuration files and dependent libraries, and the target kernel file, the configuration files and the dependent libraries are combined to obtain the target kernel data.
3. The vehicle-mounted device network upgrade method according to claim 2, characterized in that: The preview kernel in the intelligent vehicle-mounted device is upgraded according to the preview kernel decompression file to obtain the preview upgraded kernel, including: In the intelligent vehicle-mounted device, the target kernel file is used to replace the current kernel file in the preview kernel, and the preview network service is restarted according to the configuration file and the dependent library to obtain the preview upgrade kernel.
4. The vehicle-mounted device network upgrade method according to claim 1, characterized in that: Performing a network test on the preview upgrade kernel to obtain a network upgrade result of the intelligent vehicle-mounted device includes: Controlling the preview upgrade kernel to connect to the network according to the preset website address, obtaining a display web page, and acquiring the loading time of the display web page; Controlling the preview upgrade kernel to download the preset application in the display webpage, and obtaining the download time of the preset application; Controlling the preview upgrade kernel to perform a web page jump in the displayed web page, obtaining a jump web page, and acquiring a response time of the jump web page; The network upgrade result is generated according to the loading time, the downloading time and the response time.
5. The vehicle-mounted device network upgrade method according to claim 4, characterized in that: Generating the network upgrade result according to the loading time, the downloading time and the response time includes: Performing weighted calculation on the loading time, the downloading time and the response time to obtain a total network time; If the total network duration is less than or equal to the duration threshold, it is determined that the network upgrade of the intelligent vehicle-mounted device is successful; If the total network duration is greater than the duration threshold, it is determined that the network upgrade of the intelligent vehicle-mounted device has failed.
6. The vehicle-mounted device network upgrade method according to claim 1, characterized in that: Before obtaining the vehicle network upgrade request sent by the smart vehicle device, it also includes: Acquire an environment image of the intelligent vehicle-mounted device corresponding to the user's vehicle, and perform vehicle recognition on the environment image to obtain a recognized vehicle; Performing vehicle matching between the user vehicle and the identified vehicle, and determining an associated vehicle according to the vehicle matching result; Sending a kernel version request message to the associated vehicle, and receiving a kernel version response to the kernel version request message; Matching the kernel version in the kernel version response with the current kernel version of the intelligent vehicle-mounted device; If the kernel version in the kernel version response successfully matches the current kernel version, the vehicle network upgrade request sent by the intelligent vehicle device is controlled.
7. The vehicle-mounted device network upgrade method according to claim 2, characterized in that: Generating a preview kernel resource package according to the target kernel data includes: The signature information of the cloud server and the preview kernel version library is obtained to obtain the server signature and the version library signature, and the target kernel data is re-signed according to the server signature and the version library signature to obtain the preview kernel resource package.
8. A vehicle-mounted equipment network upgrade system, characterized in that: The system comprises: A data determination module, used to obtain a vehicle network upgrade request sent by an intelligent vehicle device, and determine target kernel data according to a preview kernel file in the vehicle network upgrade request; A decompression module, used for 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 decompressed file; The kernel upgrade module is used to upgrade the preview kernel in the smart vehicle-mounted device according to the preview kernel decompression file to obtain the preview upgrade kernel, and perform a network test on the preview upgrade kernel to obtain the network upgrade result of the smart vehicle-mounted device.
9. The vehicle-mounted device network upgrade system according to claim 8, characterized in that: The data determination module is also used for: Obtaining a current kernel version and a target upgrade version in the vehicle network upgrade request, and combining the current kernel version and the target kernel upgrade version to obtain kernel combination information; The kernel combination information is matched with the preview kernel version library in the cloud server to obtain target kernel data, configuration files and dependent libraries, and the target kernel file, the configuration files and the dependent libraries are combined to obtain the target kernel data.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
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
Webpage static resource loading method and device, equipment and storage medium
CN119179822A
Method, system and application programmable interface within a mobile device for indicating a confidence level of the integrity of sources of information
US20190037406A1