Vehicle application upgrading method and device, equipment and storage medium

CN115167894BActive Publication Date: 2026-09-22DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210887409.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2026-09-22
Estimated Expiration
2042-07-26

AI Technical Summary

Technical Problem

[0004]本发明的主要目的在于提供一种车载应用升级方法、装置、设备及存储介质,旨在解决现有技术对车载应用升级时成本高、迭代速度慢的技术问题

Benefits of technology

[0044]本发明通过从云端下载待升级应用的应用安装包及应用安装包对应的安装配置文件;根据安装配置文件对车机系统中已安装的应用进行调整;在调整完成时,根据应用安装包在车机系统中安装新版应用;根据新版应用的应用元数据对所述车机系统进行配置,以实现对待升级应用的升级。由于应用安装包为基于车机系统的标准化接口开发,在根据该应用安装包在安装新版应用时,仅需对车机系统进行配置,即可保证其他车载应用可正常调用该新版应用,车机系统及其他车载应用无需同步发版,流程简单,成本低,迭代速度快。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115167894B_ABST
    Figure CN115167894B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of automobiles and discloses a vehicle-mounted application upgrading method, device, equipment and storage medium. The application downloads an application installation package of a to-be-upgraded application and an installation configuration file corresponding to the application installation package from the cloud; adjusts the installed application in the vehicle machine system according to the installation configuration file; when the adjustment is completed, installs a new version of the application in the vehicle machine system according to the application installation package; and configures the vehicle machine system according to the application metadata of the new version of the application, so as to upgrade the to-be-upgraded application. Since the application installation package is developed based on the standardized interface of the vehicle machine system, when the new version of the application is installed according to the application installation package, the vehicle machine system only needs to be configured, so that the other vehicle-mounted applications can normally call the new version of the application, the vehicle machine system and the other vehicle-mounted applications do not need to be synchronously released, the process is simple, the cost is low, and the iteration speed is fast.
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, apparatus, device, and storage medium for upgrading in-vehicle applications. Background Technology

[0002] Currently, in-vehicle infotainment systems need to provide application entry points for multimedia applications installed in cars, reveal application information, and be associated with other in-vehicle functions (such as VR, personal center, other in-vehicle applications, etc.). On this basis, if an in-vehicle application needs to be upgraded (such as switching, adding, deleting, etc.), the in-vehicle infotainment system and its other related modules need to release a unified version to correspond with the update of the in-vehicle application. The overall workload is huge, and its development cost and time cost are both high, and the iteration speed is extremely slow.

[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this invention is to provide a method, apparatus, device, and storage medium for upgrading in-vehicle applications, aiming to solve the technical problems of high cost and slow iteration speed in the prior art when upgrading in-vehicle applications.

[0005] To achieve the above objectives, the present invention provides a method for upgrading in-vehicle applications, the method comprising the following steps:

[0006] Download the application installation package of the application to be upgraded and the corresponding installation configuration file from the cloud.

[0007] Adjust the applications already installed in the vehicle system according to the installation configuration file;

[0008] Upon completion of the adjustment, the new version of the application will be installed in the vehicle's infotainment system according to the application installation package.

[0009] The vehicle system is configured according to the application metadata of the new version of the application to upgrade the application to be upgraded.

[0010] Optionally, the step of adjusting the applications already installed in the vehicle system according to the installation configuration file includes:

[0011] Read the application identification information and application interface configuration from the installation configuration file;

[0012] Detect whether the application software corresponding to the application identifier information has been installed in the vehicle system;

[0013] If so, then read the software interface configuration of the application software;

[0014] Determine whether the software interface configuration is valid based on the application interface configuration;

[0015] If the software interface configuration is invalid, the application software will be removed from the vehicle system.

[0016] Optionally, after the step of determining whether the software interface configuration is valid based on the application interface configuration, the method further includes:

[0017] If the software interface configuration is valid, read the application version information from the installation configuration file;

[0018] Obtain the software version information corresponding to the application software;

[0019] If the application version information is inconsistent with the software version information, the application software will be removed from the vehicle system.

[0020] Optionally, the step of determining whether the software interface configuration is valid based on the application interface configuration includes:

[0021] Read the list of standard interfaces from the application interface configuration;

[0022] Check whether all the software interfaces included in the software interface configuration exist in the standard interface list;

[0023] If all the software interfaces included in the software interface configuration exist in the standard interface list, then the software interface configuration is deemed valid.

[0024] If the software interface configuration contains any software interface that does not exist in the standard interface list, then the software interface configuration is deemed invalid.

[0025] Optionally, the step of configuring the vehicle system based on the application metadata of the new application includes:

[0026] Read the application registration information, application type, and application identification information from the application metadata of the new version of the application;

[0027] Find the corresponding application entry list based on the application type, and update the application entry list based on the application registration information;

[0028] The corresponding associated application is located based on the application identification information, and the application registration information is sent to the associated application to update the associated application.

[0029] Optionally, the step of finding the corresponding associated application based on the application identifier information and sending the application registration information to the associated application to update the associated application includes:

[0030] Locate the application software corresponding to the application type in the vehicle infotainment system to obtain a set of type software.

[0031] Construct a list of software types based on the software type set;

[0032] The system locates the corresponding associated application based on the application identifier information, sends the application registration information and the list of software of the type to the associated application, and updates the associated application.

[0033] Optionally, before the step of downloading the new application installation package and the corresponding installation configuration file from the cloud, the method further includes:

[0034] Receive software update information pushed from the cloud, update the list of software to be updated according to the software update information, and obtain the current list of software to be updated;

[0035] Display the current list to be updated;

[0036] The application to be upgraded is selected from the current list of applications to be updated based on the user's operation instructions.

[0037] Furthermore, to achieve the above objectives, the present invention also proposes an in-vehicle application upgrade device, which includes the following modules:

[0038] The data download module is used to download the application installation package of the application to be upgraded and the corresponding installation configuration file from the cloud.

[0039] The application adjustment module is used to adjust the applications already installed in the vehicle system according to the installation configuration file.

[0040] An application installation module is used to install a new version of the application in the vehicle system according to the application installation package when the adjustment is completed;

[0041] The system configuration module is used to configure the vehicle system according to the application metadata of the new application, so as to upgrade the application to be upgraded.

[0042] In addition, to achieve the above objectives, the present invention also proposes an in-vehicle application upgrade device, which includes: a processor, a memory, and an in-vehicle application upgrade program stored in the memory and executable on the processor. When the in-vehicle application upgrade program is executed by the processor, it implements the steps of the in-vehicle application upgrade method as described above.

[0043] Furthermore, to achieve the above objectives, the present invention also proposes a computer-readable storage medium storing an in-vehicle application upgrade program, wherein the in-vehicle application upgrade program, when executed, implements the steps of the in-vehicle application upgrade method as described above.

[0044] This invention involves downloading the application installation package and corresponding installation configuration file of the application to be upgraded from the cloud; adjusting the applications already installed in the vehicle's infotainment system according to the installation configuration file; installing the new version of the application in the vehicle's infotainment system according to the application installation package; and configuring the vehicle's infotainment system according to the application metadata of the new version of the application to upgrade, thereby realizing the upgrade of the application to be upgraded. Since the application installation package is developed based on a standardized interface of the vehicle's infotainment system, when installing the new version of the application according to the application installation package, only the vehicle's infotainment system needs to be configured to ensure that other in-vehicle applications can normally call the new version of the application. The vehicle's infotainment system and other in-vehicle applications do not need to be released simultaneously, resulting in a simple process, low cost, and fast iteration speed. Attached Figure Description

[0045] Figure 1 This is a schematic diagram of the structure of an electronic device in the hardware operating environment involved in the embodiments of the present invention;

[0046] Figure 2 This is a flowchart illustrating the first embodiment of the vehicle application upgrade method of the present invention;

[0047] Figure 3 This is a flowchart illustrating the second embodiment of the vehicle application upgrade method of the present invention;

[0048] Figure 4 This is a schematic diagram of the execution flow of an embodiment of the vehicle application upgrade method of the present invention;

[0049] Figure 5 This is a flowchart illustrating the third embodiment of the vehicle application upgrade method of the present invention;

[0050] Figure 6 This is a schematic diagram of the installation directory structure of an embodiment of the vehicle application upgrade method of the present invention;

[0051] Figure 7 This is a schematic diagram illustrating the update of the application entry list according to an embodiment of the vehicle application upgrade method of the present invention;

[0052] Figure 8 This is a schematic diagram illustrating the generation of a type software list according to an embodiment of the vehicle application upgrade method of the present invention;

[0053] Figure 9 This is a schematic diagram showing the connection between an application with an application entry point and a new version of the application, according to an embodiment of the vehicle application upgrade method of the present invention.

[0054] Figure 10This is a schematic diagram illustrating the connection between a third-party application and an audio source in an embodiment of the vehicle application upgrade method of the present invention.

[0055] Figure 11 This is a schematic diagram of information interaction of multimedia-related applications according to an embodiment of the vehicle application upgrade method of the present invention;

[0056] Figure 12 This is a schematic diagram illustrating the information interaction between a non-related application and a new version of the application, according to an embodiment of the vehicle application upgrade method of the present invention.

[0057] Figure 13 This is a structural block diagram of the first embodiment of the vehicle application upgrade device of the present invention.

[0058] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0059] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0060] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of an in-vehicle application upgrade device for the hardware operating environment involved in the embodiments of the present invention.

[0061] like Figure 1 As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0062] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0063] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and an in-vehicle application upgrade program.

[0064] exist Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in the vehicle application upgrade device. The electronic device calls the vehicle application upgrade program stored in the memory 1005 through the processor 1001 and executes the vehicle application upgrade method provided in the embodiment of the present invention.

[0065] This invention provides a method for upgrading in-vehicle applications, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of an in-vehicle application upgrade method according to the present invention.

[0066] In this embodiment, the in-vehicle application upgrade method includes the following steps:

[0067] Step S10: Download the application installation package of the application to be upgraded and the corresponding installation configuration file from the cloud.

[0068] It should be noted that the execution subject of this embodiment can be the vehicle application upgrade device, which can be a controller installed in the vehicle to manage the applications installed in the vehicle, such as an in-vehicle computer. Of course, it can also be other devices that can achieve the same or similar functions. This embodiment does not limit it. In this embodiment and the following embodiments, the vehicle application upgrade device is used as an example to illustrate the vehicle application upgrade method of the present invention.

[0069] It should be noted that the cloud can be a cloud server providing various applications for the vehicle. The application to be upgraded can be a user-specified in-vehicle application that needs to be upgraded. In-vehicle applications can be multimedia applications (applications that play multimedia data, etc.), or other types of applications; this embodiment does not impose any restrictions. The application installation package can be an installation package used to install the latest version of the application to be upgraded. Depending on the vehicle's infotainment system, the format of the application installation package will also differ. For example, assuming the vehicle's infotainment system is based on Android, the application installation package can be an APK file. The installation configuration file can include configuration information such as the application identifier, application version, and allowed interfaces. The application identifier can be the application directory or application package name, or other unique identifiers.

[0070] Furthermore, to enable users to quickly identify upgradable in-vehicle applications, this embodiment may include the following steps before step S10:

[0071] Receive software update information pushed from the cloud, update the list of software to be updated according to the software update information, and obtain the current list of software to be updated;

[0072] Display the current list to be updated;

[0073] The application to be upgraded is selected from the current list of applications to be updated based on the user's operation instructions.

[0074] It should be noted that when developers complete the development of a new version of the application, they can upload the application installation package to the cloud for review. After the cloud verifies the application installation package through scanning, identification, or manual review, it will set the corresponding installation configuration file for the application installation package. At the same time, it will generate software update information based on the application version number, installation package size, application identifier, and other information, and push the software update information to the in-vehicle application upgrade device. When the in-vehicle application upgrade device receives the software update information, it can update the list of software to be updated according to the software update information. The updated current list to be updated is then displayed to the user. Afterwards, the user can perform operations on the displayed page. At this time, the in-vehicle application upgrade device can select the application to be upgraded from the current list of applications to be updated based on the operation commands generated by the user on the current list of applications to be updated.

[0075] In practical use, the current list of apps to be updated can be displayed through an in-vehicle application specifically designed for managing in-vehicle applications within the vehicle's infotainment system. For example, the current list of apps to be updated can be displayed on the application upgrade management page of the app store installed in the vehicle.

[0076] Understandably, the cloud will push software update information to the in-vehicle application upgrade device as soon as the application installation package of the new version of the application is approved. The in-vehicle application upgrade device will then update the list of software to be updated according to the received software update information and display the updated list, which allows users to quickly identify the in-vehicle applications that can be upgraded, thereby improving the user experience.

[0077] Step S20: Adjust the applications already installed in the vehicle system according to the installation configuration file.

[0078] It should be noted that when installing an application, if the vehicle's infotainment system already has an older version of the application or an illegally cracked version of the application, it may cause abnormalities during the application installation process, resulting in application installation failure or the application not working properly after installation. Therefore, you can first adjust the application in the vehicle's infotainment system according to the installation configuration file to ensure that the new version of the application can be installed normally.

[0079] Step S30: Upon completion of the adjustment, install the new version of the application in the vehicle system according to the application installation package.

[0080] It should be noted that if the adjustment is complete, it means that the old version or illegal application that caused the installation process of the application installation package no longer exists in the vehicle system. Therefore, the new version of the application can be installed in the vehicle system according to the application installation package.

[0081] In practical use, installing a new version of an application in the vehicle's infotainment system can be achieved by having the installer in the vehicle's infotainment system read the corresponding installation directory from the application installation package and install the application installation package into that directory.

[0082] In practice, the in-vehicle application corresponding to the application installation package can be developed based on the standardized interface of the vehicle system. The vehicle system and the in-vehicle application are connected through the standardized interface, rather than a customized interface. The interface specifications of the standardized interface of the vehicle system generally do not change. Therefore, when installing a new version of the application based on such an application installation package, the vehicle system does not need to be re-released.

[0083] Step S40: Configure the vehicle system according to the application metadata of the new version of the application to upgrade the application to be upgraded.

[0084] It should be noted that if only the new version of the application is installed, other in-vehicle functions previously associated with the new version of the application may have difficulty calling the new version of the application normally. Therefore, after installing the new version of the application, the vehicle system can also be configured according to the application metadata of the new version of the application to ensure that other associated applications can call the functions of the new version of the application normally, thereby realizing the upgrade of the application to be upgraded.

[0085] The application metadata for the new version of the application can be stored in its installation directory, such as the root directory of the installation directory. The application metadata can store data such as application type, application registration information, and application identifier.

[0086] This embodiment downloads the application installation package and corresponding installation configuration file of the application to be upgraded from the cloud; adjusts the applications already installed in the vehicle system according to the installation configuration file; upon completion of the adjustment, installs the new version of the application in the vehicle system according to the application installation package; and configures the vehicle system according to the application metadata of the new version of the application to upgrade, thereby realizing the upgrade of the application to be upgraded. Since the application installation package is developed based on the standardized interface of the vehicle system, when installing the new version of the application according to the application installation package, only the vehicle system needs to be configured to ensure that other in-vehicle applications can normally call the new version of the application. The vehicle system and other in-vehicle applications do not need to be released simultaneously, making the process simple, low-cost, and fast-paced.

[0087] refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of an in-vehicle application upgrade method according to the present invention.

[0088] Based on the first embodiment described above, step S20 of the vehicle application upgrade method in this embodiment includes:

[0089] Step S201: Read the application identification information and application interface configuration from the installation configuration file.

[0090] It should be noted that reading application identification information and application interface configuration from the installation configuration file can be done by parsing the installation configuration file in a preset configuration format, and then extracting the application identification information and application interface configuration from the parsing results. The application identification information may include the application's package name, the application's installation path, or other unique identifiers, and the application interface configuration may include interface information that allows the application to use the interface.

[0091] Step S202: Detect whether the application software corresponding to the application identifier information has been installed in the vehicle system.

[0092] It should be noted that detecting whether there is an application software corresponding to the application identification information installed in the vehicle system can be done by comparing the identification of each installed application with the application identification information to determine whether there is an installed application whose identification matches the application identification information. If so, it is determined that the application software corresponding to the application identification information is installed in the vehicle system; if not, it is determined that the application software corresponding to the application identification information is not installed in the vehicle system.

[0093] Step S203: If yes, then read the software interface configuration of the application software.

[0094] Understandably, if the vehicle's infotainment system already has an application software corresponding to the application identification information installed, it is necessary to verify whether the application software is illegally cracked. Therefore, the application software's software interface configuration can be read. Reading the application software's software interface configuration can involve reading the application software's installation information to determine the interface information of all interfaces that the application software can call, thereby obtaining the software interface configuration.

[0095] Step S204: Determine whether the software interface configuration is valid based on the application interface configuration.

[0096] It is understandable that illegally cracked applications will generally request more permissions than the original application, that is, they will call more interfaces. Therefore, by comparing the application's interface configuration with the software's interface configuration, it is possible to quickly determine whether the software's interface configuration is legitimate.

[0097] In a specific implementation, in order to quickly determine whether the software interface configuration is valid, step S204 in this embodiment may include:

[0098] Read the list of standard interfaces from the application interface configuration;

[0099] Check whether all the software interfaces included in the software interface configuration exist in the standard interface list;

[0100] If all the software interfaces included in the software interface configuration exist in the standard interface list, then the software interface configuration is deemed valid.

[0101] If the software interface configuration contains any software interface that does not exist in the standard interface list, then the software interface configuration is deemed invalid.

[0102] It should be noted that reading the standard interface list from the application interface configuration can be done by extracting the unique identifiers of each allowed interface from the interface information contained in the application interface configuration and aggregating them into a standard interface list. The unique identifier of the interface can consist of the interface access path and the interface name.

[0103] In practical use, to check whether all the software interfaces included in the software interface configuration exist in the standard interface list, the unique identifier of each interface included in the software interface configuration can be extracted in the same way. Then, based on the unique identifier of each interface included in the software interface configuration, the standard interface list is searched to determine whether the corresponding data can be found in the standard interface list. If the corresponding data can be found in the standard interface list, it can be determined whether all the software interfaces included in the software interface configuration exist in the standard interface list, and at this time, the software interface configuration can be determined to be valid.

[0104] If any software interface configuration contains an interface whose unique identifier cannot be found in the standard interface list, then it can be determined that the software interface configuration contains a software interface that does not exist in the standard interface list. This indicates that the application software has obtained more permissions, and therefore, the software interface configuration can be determined to be invalid.

[0105] Step S205: If the software interface configuration is invalid, remove the application software from the vehicle system.

[0106] Understandably, if the software interface configuration is invalid, it means that the application software is illegally cracked. In this case, in order to avoid the application software from affecting the new version of the application, the application software can be removed from the vehicle system to ensure that the new version of the application can be installed normally.

[0107] Furthermore, since older versions of the application may also cause the installation of new versions of the application to fail, in order to ensure that the new versions of the application can be installed normally, this embodiment may further include the following after step S204:

[0108] If the software interface configuration is valid, read the application version information from the installation configuration file;

[0109] Obtain the software version information corresponding to the application software;

[0110] If the application version information is inconsistent with the software version information, the application software will be removed from the vehicle system.

[0111] Understandably, even if the software interface configuration is legal, it only indicates that the application software is not illegally cracked, but it cannot determine whether it is an older version of the software. Therefore, the application version information can be read from the installation configuration file, and then the application version information can be compared with the software version information corresponding to the application software. If the application version information and the software version information are inconsistent, it means that the application software is an older version. Therefore, the application software can be removed from the vehicle system to avoid affecting the installation of the new version of the application and to ensure that the new version of the application can be installed normally.

[0112] To facilitate understanding, we will now combine... Figure 4 The present invention describes the vehicle application upgrade method, but does not limit the scope of the present invention. Figure 4This is a schematic diagram illustrating the execution flow of the in-vehicle application upgrade method of the present invention. After developing a new multimedia application, the software developer uploads the application installation package (APK) to a cloud server. After approval, the cloud server sends a message to the in-vehicle application upgrade device. The user can download the new application's APK and corresponding configuration file (i.e., the installation configuration file) through the vehicle's infotainment system upgrade center. The in-vehicle application upgrade device then determines the legality of local applications based on the configuration file. If an old or invalid application exists, it is uninstalled. After uninstallation, the APK is installed, and then the application metadata of the APK is read. Based on the obtained metadata, other related applications are notified to configure the new application.

[0113] This embodiment reads application identification information and application interface configuration from the installation configuration file; detects whether the application software corresponding to the application identification information is already installed in the vehicle system; if so, it reads the software interface configuration of the application software; determines whether the software interface configuration is valid based on the application interface configuration; if the software interface configuration is invalid, it removes the application software from the vehicle system. Since the installation configuration file contains application identification information and application interface configuration, it can quickly determine whether the corresponding application software is already installed based on the application identification information. Then, by comparing the application interface configuration with the software interface configuration, it can quickly determine whether the application software is illegal or cracked software, and then remove the illegal or cracked software from the vehicle system, thereby preventing illegal software from affecting the installation of new versions of applications and improving the reliability of the in-vehicle application upgrade method of this invention.

[0114] refer to Figure 5 , Figure 5 This is a flowchart illustrating a third embodiment of an in-vehicle application upgrade method according to the present invention.

[0115] Based on the first embodiment described above, step S40 of the vehicle application upgrade method in this embodiment includes:

[0116] Step S401: Read the application registration information, application type, and application identifier information from the application metadata of the new version of the application.

[0117] It should be noted that the in-vehicle application upgrade device can pre-store the parsing format of application metadata. Therefore, the application metadata of the new version of the application can be parsed according to this parsing format to read the application registration information, application type, and application identification information. Among them, the application registration information may include information such as the application launch entry point and the calling interfaces of various functions.

[0118] Step S402: Locate the corresponding application entry list according to the application type, and update the application entry list according to the application registration information.

[0119] It should be noted that the vehicle's infotainment system stores various application entry points. Generally, different lists are used to store application entry points for different types of in-vehicle applications. When an in-vehicle application needs to open another in-vehicle application, it retrieves the application entry point list from the infotainment system and opens the other in-vehicle application according to the application entry point recorded in the application entry point list. Therefore, when a new version of an application is installed, the corresponding application entry point list can be found first, and then the application entry point list can be updated according to the application registration information, thereby ensuring that other in-vehicle applications can open the new version of the application normally.

[0120] In practical use, since in-vehicle applications generally only obtain the application entry list from the vehicle system and cache it at startup, and then call other in-vehicle applications based on the cached application entry list, the in-vehicle applications that are currently running may still not be able to call the new version of the application normally. Therefore, after updating the application entry list according to the application registration information, the updated application entry list can also be pushed to the in-vehicle software running in the vehicle system, so that it can update the cached application entry list.

[0121] To facilitate understanding, we will now combine... Figure 6 This explanation does not limit the scope of this solution. Figure 6 This is a schematic diagram of the installation directory structure of the new version of the application of this invention. Assuming that the new version of the application is a multimedia application, the installation directory of the new version of the application includes relevant configuration files (such as MetaData and MediaSession files) and a system jar. Among them, MediaSession is a configuration file that allows other applications to interact with the new version of the application, MetaData is used for application entry configuration and audio source management, and the system jar is used to interface with third-party applications. For example, the system jar can be used to send application registration information or a list of software types to other in-vehicle applications.

[0122] To facilitate understanding, we will now combine... Figure 7 This explanation does not limit the scope of this solution. Figure 6 This is a schematic diagram illustrating the update of the application entry list in this invention. Assuming the newly installed application is listed as a multimedia reference in its metadata, and its new application function is radio, then the multimedia entry list will be retrieved based on the application type, and the radio station will be added to the multimedia entry list.

[0123] Step S403: Locate the corresponding associated application based on the application identifier information, and send the application registration information to the associated application to update the associated application.

[0124] It's important to note that associated applications are those with a corresponding calling relationship. For example, if application A calls the functions of application B, then application A is an associated application of application B. The vehicle infotainment system has a pre-set application association information table, which records the association information of related applications. This association information includes the application identifiers of the two associated applications. Finding the corresponding associated application based on the application identifier information involves searching for the corresponding association information based on the application identifier, and then determining the associated application based on the application identifier recorded in the association information.

[0125] In practical use, in-vehicle applications typically call the functions of other in-vehicle applications through the interfaces provided by the application itself. However, if a new version of the application is updated, the interface may change, and the associated application may not be able to call the functions of the new version of the application normally. To avoid this phenomenon, after finding the associated application, the application registration information can be sent to the associated application. The associated application will then update the stored interface information, thereby ensuring that the associated application can call the new version of the application normally.

[0126] For example, taking a multimedia application as an example, the multimedia application will provide an implementation class of the MediaBrowserServiceCompat interface of the MediaSession framework. Other in-vehicle applications can call the functions of the multimedia application through the MediaBrowserServiceCompat interface. However, the implementation class of the MediaBrowserServiceCompat interface of the new version of the application may change, such as modification, deletion, or addition. Therefore, it is necessary to send the application registration information to the associated application so that it can update the stored interface information, thereby ensuring that the associated application can call the new version of the application normally.

[0127] Furthermore, since some associated applications may not only call other in-vehicle applications in the background, but also display corresponding lists, if only the application registration information is sent to the associated applications, the list displayed by the associated applications may be abnormal. To avoid this phenomenon, step S403 in this embodiment may include:

[0128] Locate the application software corresponding to the application type in the vehicle infotainment system to obtain a set of type software.

[0129] Construct a list of software types based on the software type set;

[0130] The system locates the corresponding associated application based on the application identifier information, sends the application registration information and the list of software of the type to the associated application, and updates the associated application.

[0131] It should be noted that when displaying related applications, they may also list applications of the same type as the new version of the application. For example, if the application type is multimedia, the related application may display a list of audio sources (applications that can provide sound data are audio sources). In this case, to avoid abnormal display of related applications, all application software of the same type as the new application in the vehicle system can be searched. Then, a list of type software can be built based on the software information of the application software. The application registration information and the list of type software are then sent to the related application. This allows the related application to update the displayed list and the stored interface information at the same time, so that the related application can call the new version of the software normally and the list can also be displayed normally.

[0132] To facilitate understanding, we will now combine... Figure 8 The present invention describes the vehicle application upgrade method, but does not limit the present invention. Figure 8 This is a schematic diagram illustrating the generation of the software type list according to the present invention. Assuming that the metadata of the new application indicates that the application type is a multimedia application, the provided function is radio, and it includes audio source registration information, then all multimedia applications in the vehicle system can be detected, and a software type list (i.e., an audio source list) can be constructed. Subsequently, the audio source list can be sent to the associated software (Launcher) to display the audio source list.

[0133] To facilitate understanding, we will now combine... Figure 9 , Figure 10 , Figure 11 and Figure 12 The present invention describes the vehicle application upgrade method, but does not limit the present invention. Figure 9 This diagram illustrates the connection between the application containing the application entry point and the new application. In the diagram, the radio function is provided by the new application. The application containing the entry point calls the new application's function through the application launch entry point of the new application in the application entry point list, and then controls the new application through the implementation class of the MediaBrowserServiceCompat interface provided by the new application.

[0134] Figure 10 This diagram illustrates the connection between a third-party application and an audio source. In the diagram, the radio station is a function provided by the new application. The third-party application connects to the new application through the implementation class of the MediaBrowserServiceCompat interface provided by the new application and calls the audio source function it provides.

[0135] Figure 11 This is a schematic diagram illustrating information interaction for multimedia-related applications. The multimedia information card represents other in-vehicle applications within the vehicle's infotainment system. This multimedia information card is accessed through the aforementioned... Figure 9 or Figure 10 The connection method establishes a connection with the new version of the application and performs data interaction and application control.

[0136] Figure 12 This diagram illustrates the information interaction between a non-related application and the new version of the application. The radio is a function provided by the new version of the application, while voice control is an in-vehicle application that is not related to the new version of the application. In this case, if the voice control wants to interact with the new version of the application, it needs to interact with the vehicle system through TTS broadcast. Then, the vehicle system forwards the information to the new version of the application (i.e., the radio) through TTS broadcast.

[0137] This embodiment reads application registration information, application type, and application identifier information from the application metadata of the new application; it then searches for the corresponding application entry list based on the application type and updates the application entry list according to the application registration information; finally, it searches for the corresponding associated application based on the application identifier information and sends the application registration information to the associated application to update it. Because the corresponding application entry list is searched based on the application type and updated according to the application registration information, other in-vehicle applications can launch the new application normally. Furthermore, the application registration information is subsequently sent to other associated applications to update their stored interface information, ensuring that the associated applications can correctly call the functions provided by the new application.

[0138] Furthermore, this embodiment of the invention also proposes a storage medium storing an in-vehicle application upgrade program, which, when executed by a processor, implements the steps of the in-vehicle application upgrade method described above.

[0139] Reference Figure 13 , Figure 13 This is a structural block diagram of the first embodiment of the vehicle application upgrade device of the present invention.

[0140] like Figure 13 As shown, the vehicle application upgrade device proposed in this embodiment of the invention includes:

[0141] Data download module 10 is used to download the application installation package of the application to be upgraded and the installation configuration file corresponding to the application installation package from the cloud.

[0142] Application adjustment module 20 is used to adjust the applications already installed in the vehicle system according to the installation configuration file;

[0143] Application installation module 30 is used to install a new version of the application in the vehicle system according to the application installation package when the adjustment is completed;

[0144] The system configuration module 40 is used to configure the vehicle system according to the application metadata of the new version of the application, so as to upgrade the application to be upgraded.

[0145] This embodiment downloads the application installation package and corresponding installation configuration file of the application to be upgraded from the cloud; adjusts the applications already installed in the vehicle system according to the installation configuration file; upon completion of the adjustment, installs the new version of the application in the vehicle system according to the application installation package; and configures the vehicle system according to the application metadata of the new version of the application to upgrade, thereby realizing the upgrade of the application to be upgraded. Since the application installation package is developed based on the standardized interface of the vehicle system, when installing the new version of the application according to the application installation package, only the vehicle system needs to be configured to ensure that other in-vehicle applications can normally call the new version of the application. The vehicle system and other in-vehicle applications do not need to be released simultaneously, making the process simple, low-cost, and fast-paced.

[0146] Furthermore, the application adjustment module 20 is also used to read application identification information and application interface configuration from the installation configuration file; detect whether the application software corresponding to the application identification information has been installed in the vehicle system; if so, read the software interface configuration of the application software; determine whether the software interface configuration is valid based on the application interface configuration; if the software interface configuration is invalid, remove the application software from the vehicle system.

[0147] Furthermore, the application adjustment module 20 is also used to read application version information from the installation configuration file if the software interface configuration is valid; obtain the software version information corresponding to the application software; and remove the application software from the vehicle system if the application version information is inconsistent with the software version information.

[0148] Furthermore, the application adjustment module 20 is also used to read a standard interface list from the application interface configuration; detect whether all the software interfaces included in the software interface configuration exist in the standard interface list; if all the software interfaces included in the software interface configuration exist in the standard interface list, then the software interface configuration is determined to be valid; if the software interface configuration includes any software interface that does not exist in the standard interface list, then the software interface configuration is determined to be invalid.

[0149] Furthermore, the system configuration module 40 is also used to read application registration information, application type, and application identification information from the application metadata of the new version of the application; find the corresponding application entry list according to the application type, and update the application entry list according to the application registration information; find the corresponding associated application according to the application identification information, and send the application registration information to the associated application to update the associated application.

[0150] Furthermore, the system configuration module 40 is also used to find the application software corresponding to the application type in the vehicle system, obtain a type software set; construct a type software list based on the type software set; find the corresponding associated application based on the application identification information, and send the application registration information and the type software list to the associated application to update the associated application.

[0151] Furthermore, the data download module 10 is also used to receive software update information pushed from the cloud, update the list of software to be updated according to the software update information to obtain the current list to be updated; display the current list to be updated; and select the application to be upgraded from the current list to be updated according to the operation instructions of the user based on the current list to be updated.

[0152] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.

[0153] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.

[0154] In addition, for technical details not described in detail in this embodiment, please refer to the vehicle application upgrade method provided in any embodiment of the present invention, which will not be repeated here.

[0155] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0156] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0157] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0158] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A method for upgrading in-vehicle applications, characterized in that, The in-vehicle application upgrade method includes the following steps: Download the application installation package of the application to be upgraded and the corresponding installation configuration file of the application installation package from the cloud. The application installation package of the application to be upgraded is developed based on the standardized interface of the vehicle system. Adjust the applications already installed in the vehicle system according to the installation configuration file; Upon completion of the adjustment, the new version of the application will be installed in the vehicle's infotainment system according to the application installation package. The vehicle system is configured according to the application metadata of the new version of the application to upgrade the application to be upgraded. The step of configuring the vehicle system based on the application metadata of the new application includes: Read the application registration information, application type, and application identification information from the application metadata of the new version of the application; Find the corresponding application entry list based on the application type, and update the application entry list based on the application registration information; The corresponding associated application is located based on the application identification information, and the application registration information is sent to the associated application to update the associated application.

2. The in-vehicle application upgrade method as described in claim 1, characterized in that, The step of adjusting the applications already installed in the vehicle system according to the installation configuration file includes: Read the application identification information and application interface configuration from the installation configuration file; Detect whether the application software corresponding to the application identifier information has been installed in the vehicle system; If so, then read the software interface configuration of the application software; Determine whether the software interface configuration is valid based on the application interface configuration; If the software interface configuration is invalid, the application software will be removed from the vehicle system.

3. The in-vehicle application upgrade method as described in claim 2, characterized in that, After the step of determining whether the software interface configuration is valid based on the application interface configuration, the method further includes: If the software interface configuration is valid, read the application version information from the installation configuration file; Obtain the software version information corresponding to the application software; If the application version information is inconsistent with the software version information, the application software will be removed from the vehicle system.

4. The in-vehicle application upgrade method as described in claim 2, characterized in that, The step of determining whether the software interface configuration is valid based on the application interface configuration includes: Read the list of standard interfaces from the application interface configuration; Check whether all the software interfaces included in the software interface configuration exist in the standard interface list; If all the software interfaces included in the software interface configuration exist in the standard interface list, then the software interface configuration is deemed valid. If the software interface configuration contains any software interface that does not exist in the standard interface list, then the software interface configuration is deemed invalid.

5. The in-vehicle application upgrade method as described in claim 1, characterized in that, The step of finding the corresponding associated application based on the application identifier information and sending the application registration information to the associated application to update the associated application includes: Locate the application software corresponding to the application type in the vehicle infotainment system to obtain a set of type software. Construct a list of software types based on the software type set; The system locates the corresponding associated application based on the application identifier information, sends the application registration information and the list of software of the type to the associated application, and updates the associated application.

6. The in-vehicle application upgrade method as described in any one of claims 1-5, characterized in that, Before the step of downloading the new application installation package and the corresponding installation configuration file from the cloud, the method further includes: Receive software update information pushed from the cloud, update the list of software to be updated according to the software update information, and obtain the current list of software to be updated; Display the current list to be updated; The application to be upgraded is selected from the current list of applications to be updated based on the user's operation instructions.

7. A vehicle-mounted application upgrade device, characterized in that, The vehicle application upgrade device includes the following modules: The data download module is used to download the application installation package of the application to be upgraded and the installation configuration file corresponding to the application installation package from the cloud. The application installation package of the application to be upgraded is developed based on the standardized interface of the vehicle system. The application adjustment module is used to adjust the applications already installed in the vehicle system according to the installation configuration file. An application installation module is used to install a new version of the application in the vehicle system according to the application installation package when the adjustment is completed; The system configuration module is used to configure the vehicle system according to the application metadata of the new application, so as to upgrade the application to be upgraded; The system configuration module is also used to read application registration information, application type, and application identifier information from the application metadata of the new version of the application; find the corresponding application entry list according to the application type, and update the application entry list according to the application registration information; The corresponding associated application is located based on the application identification information, and the application registration information is sent to the associated application to update the associated application.

8. A vehicle-mounted application upgrade device, characterized in that, The in-vehicle application upgrade device includes: a processor, a memory, and an in-vehicle application upgrade program stored in the memory and executable on the processor. When the in-vehicle application upgrade program is executed by the processor, it implements the steps of the in-vehicle application upgrade method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an in-vehicle application upgrade program, which, when executed, implements the steps of the in-vehicle application upgrade method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Vehicle-mounted application updating method, device and equipment and storage medium

    CN111752575A

  • Vehicle-mounted application mall system and implementation method thereof

    CN112419007A