Method and apparatus for updating in-vehicle language pack

WO2026199880A1PCT designated stage Publication Date: 2026-10-01VOYAH AUTOMOTIVE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/125848
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-26
Filing Date
2025-09-30
Publication Date
2026-10-01

Smart Images

  • Figure CN2025125848_01102026_PF_FP_ABST
    Figure CN2025125848_01102026_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a method and apparatus for updating an in-vehicle language pack. The method comprises: when it is detected that an updated language pack is present in the cloud, in response to an update operation inputted by a user, downloading the updated language pack on the basis of a first application of a first operating system; acquiring the updated language pack from the first application of the first operating system on the basis of a second application of a second operating system; and copying the updated language pack to a first folder on the basis of the second application of the second operating system, wherein the first folder refers to a folder used for storing language packs and created in a storage area for which permissions are granted by the second operating system, and the first folder is used for external access to language pack data. In this way, by separating the language pack from a software package, rapid update of multiple language packs for the second application can be achieved, and by creating the first folder in the storage area for which permissions are granted by the second operating system, language pack data transmission, storage, and usage between the first operating system and the second operating system can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

A method and apparatus for updating in-vehicle language packs

[0001] Related applications

[0002] This application claims priority to Chinese patent application filed on March 26, 2025, with application number 2025103636125 and entitled "A Method and Apparatus for Updating an In-Vehicle Language Pack", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of vehicle control technology, and in particular to a method and apparatus for updating vehicle-mounted language packs. Background Technology

[0004] The automotive user base is expanding, and car brands need to meet the needs of users in different countries, requiring them to consider multilingual cockpit display solutions. Language packs need continuous iteration and optimization of translations for different countries.

[0005] However, automotive software has a long iteration cycle, and user vehicles cannot achieve rapid iteration of language translation and updates. Summary of the Invention

[0006] In view of the above problems, this application provides a method and apparatus for updating in-vehicle language packs, which solves the problem of rapid and timely updates of multilingual packs for the second application by separating the language packs from the software package.

[0007] According to the first aspect of this application, a method for updating in-vehicle language packs is provided, applied to an in-vehicle infotainment system, the method comprising:

[0008] If an updated language pack is detected in the cloud, in response to an update operation input by the user, the first application based on the first operating system downloads the updated language pack;

[0009] A second application based on a second operating system obtains updated language packs from a first application on the first operating system;

[0010] The second application, based on the second operating system, copies the updated language pack to a first folder. The first folder is a folder created in a storage area with open permissions on the second operating system for storing language packs. The first folder is used for external access to the language pack data.

[0011] Optionally, before the step of copying the updated language pack to the first folder in the second application based on the second operating system, the method further includes:

[0012] After the vehicle's infotainment system starts up, it checks whether the first folder exists.

[0013] If the first folder does not exist, then create the first folder in the storage area with open permissions in the second operating system;

[0014] Copy the contents of the second folder to the first folder that was created; wherein the second folder is located in a storage area where the permissions of the second operating system are not open, and the second folder stores the language pack and software package version number that are included in the current version of the vehicle infotainment system's software package.

[0015] Optionally, the method further includes:

[0016] If an updated software package is detected in the cloud, respond to the update operation input by the user;

[0017] Copy the language pack from the updated software package to the second folder, and copy the software package version number corresponding to the current version of the software package in the second folder; wherein, the second folder is located in a storage area where the permissions of the second operating system are not open;

[0018] Each time the vehicle system starts up, the software package version number in the second folder is compared with the software package version number in the first folder to see if they are consistent; wherein, the software package version number in the first folder refers to the software package version number obtained when the contents of the first folder are copied from the second folder;

[0019] If the package version number in the second folder is different from the package version number in the first folder, then copy the contents of the second folder to the first folder.

[0020] Optionally, the method further includes:

[0021] The external access path for the language pack is changed from accessing the folder storing the language pack in an area where access permissions for the second operating system are not enabled, to access the first folder.

[0022] Optionally, the second application based on the second operating system obtains updated language packs from the first application on the first operating system, including:

[0023] The first application of the first operating system downloads the updated language pack from the cloud and publishes the updated language pack to the target topic.

[0024] The second application of the second operating system subscribes to the target topic and receives the updated language pack.

[0025] Optionally: The vehicle's operating system includes a second operating system and carries a virtual machine of the first operating system;

[0026] The first application runs on a first operating system emulated by the first operating system virtual machine;

[0027] The second application runs on the second operating system.

[0028] Optionally, if an updated language pack is detected in the cloud, before responding to the update operation step input by the user, the method further includes:

[0029] The updated language pack is encrypted and then uploaded to the cloud.

[0030] According to a second aspect of this application, an in-vehicle language pack update device is provided, applied to an in-vehicle infotainment system, the device comprising:

[0031] A release response module is used to download the updated language pack based on a first application of a first operating system in response to an update operation inputted by the user when an updated language pack is detected in the cloud.

[0032] A receiving module is used for a second application based on a second operating system to obtain updated language packs from a first application on the first operating system.

[0033] The update module is used by the second application based on the second operating system to copy the updated language pack to a first folder. The first folder is a folder created in a storage area with open permissions on the second operating system for storing language packs. The first folder is used for external access to the language pack data.

[0034] According to a third aspect of this application, a vehicle infotainment system is provided, the vehicle infotainment system including a processor running a first operating system and a second operating system, the vehicle infotainment system further including a memory and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the aforementioned vehicle language pack update method.

[0035] According to a fourth aspect of this application, a storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the aforementioned vehicle language pack update method.

[0036] The above-described one or more technical solutions in the embodiments of this specification have at least the following technical effects:

[0037] This specification provides an in-vehicle language pack update method and apparatus. Upon detecting an updated language pack in the cloud, in response to a user-inputted update operation, a first application based on a first operating system downloads the updated language pack; a second application based on a second operating system retrieves the updated language pack from the first application on the first operating system; and the second application on the second operating system copies the updated language pack to a first folder. The first folder is a storage area with access permissions on the second operating system used for storing language packs and is used for external access to the language pack data. Thus, by separating the language pack from the software package, rapid and timely updates of multiple language packs for the second application can be achieved, and by establishing the first folder in a storage area with access permissions on the second operating system, language pack data transfer and storage between the first and second operating systems can be realized.

[0038] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0039] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference figures denote the same parts throughout the drawings. In the drawings:

[0040] Figure 1 shows a flowchart of an in-vehicle language pack update method according to this application.

[0041] Figure 2 shows a block diagram of an in-vehicle language pack update device according to this application. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in this application will be clearly and completely described below with reference to the accompanying drawings. The components of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0043] Therefore, the following detailed description of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the content of this application without inventive effort are within the scope of protection of this application.

[0044] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0045] In the description of this application, it should also be noted that, unless otherwise expressly specified and limited, the terms "set up," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0046] The automotive user base is expanding, and car brands need to meet the diverse needs of users in different countries, requiring them to consider multilingual cockpit display solutions. Language packs need continuous iteration and optimization of translations for different countries. Furthermore, because issues such as sensitive words, changes in internet slang, and translation errors need to be considered, the iteration cycle for language packs is relatively short.

[0047] However, automotive software packages typically have long iteration cycles, leading to a mismatch between language pack and software package update cycles. This prevents user vehicles from achieving rapid iteration of language translation and updates. Furthermore, the unique nature of in-vehicle operating systems restricts data transmission methods and necessitates permission-based modifications to resources within the system.

[0048] Based on the above, this application provides a method for updating in-vehicle language packs. The updated language packs or software packages are pushed to the vehicle online via the cloud. Applications in different operating systems use message subscription to transmit resources downloaded from the cloud to a second application. The second application achieves rapid updating and maintenance of language pack resources by modifying the external access path of the language pack.

[0049] In detail, referring to the flowchart shown in Figure 1, this application provides a method for updating in-vehicle language packs, applied to in-vehicle infotainment systems. This method includes steps 101 to 103:

[0050] Step 101: If an updated language pack is detected in the cloud, in response to the user's update operation, the first application based on the first operating system downloads the updated language pack;

[0051] In this application, "cloud" refers to a network service platform built on cloud computing technology. The cloud consists of a large number of servers, storage devices, and network infrastructure. These servers are distributed across data centers in different geographical locations, forming a massive computing and storage cluster connected by high-speed networks.

[0052] In this application, the cloud plays a crucial role in data storage and distribution. After completing the development, optimization, and testing of language packs, automakers or language service providers will encrypt the updated language packs and upload them to the cloud.

[0053] For example, updated language pack data can be divided into blocks according to the AES (Advanced Encryption Standard) algorithm, with each block treated as an independent encryption unit. A unique encryption key is generated for each language pack. The key length is typically 128 bits, 192 bits, or 256 bits; the longer the key, the stronger the encryption. The selected key is then used to encrypt the block-wise language pack data, converting the original plaintext data into ciphertext, making the data unreadable gibberish during transmission and storage.

[0054] In this application, the vehicle's infotainment system periodically sends query requests to the cloud to detect the availability of updated language packs. Once an updated language pack is detected, the vehicle's central control system will notify the user in various ways. For example, an update notification pop-up will appear on the central control screen, displaying the text "Updated language pack found," and can further detail the update content, such as "This update fixes 10 translation errors and adds translations for 3 commonly used words." The pop-up can also include "Update" and "Cancel" buttons.

[0055] When a user clicks the "Update" button, it indicates that the user wishes to update the language pack. The vehicle system responds to the user's update request, and the first application based on the first operating system begins the language pack download task.

[0056] It should be noted that the first operating system can be Android, HarmonyOS, or other common application operating systems. This embodiment does not limit this, but for the convenience of those skilled in the art to understand and implement, the following description of the first operating system will use Android as an example.

[0057] When the primary operating system is Android, the first application will utilize Android's built-in network download framework to construct a request object containing a download link for the updated language pack. This download link is a dedicated download address assigned to the vehicle's infotainment system by the cloud. If the user needs to pause the download during the process, the first application provides a corresponding button. Clicking this button will pause the download task. The download progress will remain unchanged until the network environment improves or the user decides to resume the download by clicking the "Continue" button.

[0058] Step 102: The second application based on the second operating system obtains the updated language pack from the first application of the first operating system;

[0059] It should be noted that the operating system of the vehicle-mounted system in this application refers to a second operating system, which is equipped with a virtual machine of the first operating system. The first application runs on the first operating system simulated by the virtual machine of the first operating system; the second application runs on the second operating system.

[0060] For example, the second operating system could be QNX, a real-time operating system commonly used in fields with high stability and real-time requirements, such as automotive and medical devices. It is characterized by high efficiency and stability and is generally used for mission-critical processing. An Android operating system can run on a QNX system using virtual machine technology. Virtual machines allow emulating the environment of another operating system within a single operating system, thus enabling Android applications to run on the QNX system.

[0061] In this application, the vehicle's infotainment system is equipped with a second operating system and runs a second application, while simultaneously running a first operating system and its first application via a virtual machine mechanism. Once the first application completes the download of the updated language pack, it is ready for the second application to obtain the language pack. Because the first and second applications run in different operating system environments, direct data interaction is hindered; therefore, a target-based approach is used for data transmission.

[0062] In detail, the first application will publish the updated package to a specific target topic, for example, to a target topic named "car_language_package_update". The language pack is transmitted directly as the binary data of the file. Since a single target topic can only transmit a maximum of 64KB of data, anything exceeding 64KB can be sent in packets. The header includes the filename, total file data length, total number of packets, transmission status, current packet number, single packet file data length, and data checksum.

[0063] The second application continuously monitors the target topic. It subscribes to receive data published under that topic. Once the first application publishes an updated language pack under the target topic, the second application will receive the updated language pack.

[0064] Step 103: Based on the second application of the second operating system, copy the updated language pack to the first folder. The first folder refers to a folder created in the storage area with open permissions of the second operating system for storing language packs. The first folder is used for external access to language pack data.

[0065] In this application, the second application creates a first folder to store updated language pack content. The first folder is located in a storage area with open permissions on the second operating system. Therefore, the first folder can be edited. It is easy to understand that if a folder is located in a storage area with closed permissions on the second operating system, that folder cannot be edited arbitrarily. In this application, the second folder is located in an area with closed permissions on the second operating system.

[0066] It's important to note that before copying, the second application will check if the first folder exists. This check can be performed before copying or even earlier. For example, it could be checked every time the vehicle's infotainment system starts up. The purpose of this check is to prevent the language pack from being inaccessible if the first folder doesn't exist, thus ensuring that functions such as translation remain unavailable.

[0067] There are two possible results from the detection: either the first folder exists or it does not. If the first folder does not exist, the second application will create it in the storage area with open permissions on the second operating system, according to the second operating system's permission management rules. It will also ensure that the path and name of the first folder meet system requirements to allow subsequent file operations to proceed smoothly.

[0068] It should be noted that after creating the first folder, this application will also change the external access path of the language pack from the folder storing the language pack in the area where access permissions of the second operating system are not open (i.e., the second folder) to access the first folder.

[0069] In detail, after creating the first folder, the vehicle system needs to adjust the access path for the language pack data to ensure that the updated content can be accurately obtained when calling the language pack data later.

[0070] For example, in actual implementation, the core control module in the vehicle's infotainment system will first receive the path modification instruction. This module is responsible for coordinating the work of various parts of the system. Based on preset path modification rules, it modifies the file access paths of the sub-modules responsible for reading and displaying language pack data. These sub-modules can include the infotainment system's display driver, voice interaction module, user interface applications, etc.

[0071] Taking the display driver as an example, as a key module controlling the content displayed on the vehicle's infotainment screen, the access path for the language pack data stored internally needs to be updated. Then, the access path is changed from pointing to the folder storing the language packs in a region with restricted permissions on the second operating system (i.e., the second folder) to pointing to the first folder.

[0072] In this application, after confirming the existence or successful creation of the first folder, the second application copies the contents of the second folder to the first folder. The second folder stores the language packs included with the current version of the vehicle infotainment system's software package, as well as the software package version number. At this time, the contents of the first folder include the language packs included with the current version of the software package, and also the software package version number. It should be noted that when updating the language packs individually later, only the updated language packs need to be copied to the first folder; the software package version number in the first folder will not be updated. That is, the software package version number in the first folder will only update with software package updates. However, for language pack updates occurring within the same software package lifecycle, the software package version number in the first folder remains unchanged.

[0073] In addition to updating the language pack separately, it can also be updated through software package updates. Since software packages include language packs, updating the software package also includes the updated language pack. However, in practice, software package updates have a longer cycle than language pack updates. To accommodate these different update cycles, this application separates the language pack from the software package, thus enabling both rapid, individual language pack updates and software package updates.

[0074] In detail, regarding the method for updating software packages, the steps of the aforementioned method in this application further include:

[0075] If an updated software package is detected in the cloud, respond to the update operation input by the user;

[0076] Copy the language pack from the updated software package to the second folder, and copy the software package version number corresponding to the current version of the software package in the second folder; wherein, the second folder is located in a storage area where the permissions of the second operating system are not open;

[0077] Each time the vehicle system starts up, the software package version number in the second folder is compared with the software package version number in the first folder to see if they are consistent; wherein, the software package version number in the first folder refers to the software package version number obtained when the contents of the first folder are copied from the second folder;

[0078] If the package version number in the second folder is different from the package version number in the first folder, then copy the contents of the second folder back to the first folder.

[0079] In this application, the vehicle's infotainment system continuously communicates with the cloud and detects the availability of updated software packages. If the system detects an updated package, it immediately notifies the user. The notification can take several forms, such as displaying an update notification pop-up on the central control screen. This pop-up displays detailed information about the updated software package, including the version number and a summary of the main updates, such as, "This software package update optimizes system performance, fixes some known issues, and upgrades the language pack, adding new vocabulary and phrases in six languages." The pop-up also includes "Update" and "Cancel" buttons.

[0080] When the user clicks the "Update" button, it indicates that the user wishes to update the software package. The vehicle system responds to the user's update request, and the first application based on the first operating system begins the download task.

[0081] It should be noted that the first operating system can be Android, HarmonyOS, or other common application operating systems. This embodiment does not limit this. In order to facilitate understanding and implementation by those skilled in the art, the following description of the first operating system will use Android as an example.

[0082] When the primary operating system is Android, the first application will call Android's built-in network download framework to construct a request object containing a download link for the updated software package. This download link is a dedicated download address assigned to the vehicle's infotainment system by the cloud.

[0083] If a user needs to pause the download during the download process, the application provides a corresponding pause button. Users can click the pause button to stop the download task. The download progress will remain unchanged at this time. The download can be resumed by clicking the "Continue" button when the network environment improves or the user decides to continue downloading.

[0084] It should be noted that the vehicle's infotainment system runs a second operating system and a second application, while simultaneously running a first operating system and its first application via a virtual machine. The first application runs on the first operating system virtual machine simulating the first operating system; the second application runs on the second operating system. Because the two applications run in different operating system environments, direct data interaction is hindered, so a target-based approach is used for data transmission.

[0085] The first application will publish the updated software package to a specific target topic, for example, to a target topic named "car_software_package_update". Language packs are transmitted directly as binary file data. Since a single target topic can only transmit a maximum of 64KB of data, data exceeding 64KB can be sent in packets. The header includes the filename, total file data length, total number of packets, transmission status, current packet number, single packet file data length, and data checksum.

[0086] The second application continuously monitors the target topic. It receives data published under the target topic through a subscription operation. Once the first application publishes an updated package under the target topic, the second application will receive the updated package.

[0087] In this application, the second application stores the language pack from the software package in a second folder, and copies the software package version number corresponding to the current version of the software package to the second folder. The second folder is located in an area where permissions are not granted on the second operating system. The second folder can be edited when the software package is updated, but it cannot be edited when the language pack is updated separately.

[0088] It's easy to understand that the contents of the second folder are only updated when software packages are updated. When the contents of the second folder are updated, the package version numbers within it also change accordingly. However, when language packs are updated, the package version numbers in the first folder do not change. The package version numbers in the first folder remain the same as when they were initially copied. If no software packages have been updated since the last copy and update of the contents of the first folder, then the package version numbers in the first folder and the second folder should be the same. Conversely, if a software package has been updated since the last copy and update of the contents of the first folder, then the package version numbers in the second folder will change, causing a discrepancy between the package version numbers in the first and second folders.

[0089] In this application, language pack updates and software package updates need to be taken into account. Therefore, after each vehicle system startup, the software package version number in the second folder is compared with the software package version number in the first folder. If the software package version number in the second folder is the same as the software package version number in the first folder, it means that the first folder and the second folder are in the same software package version.

[0090] If the package version numbers in the second folder are different from those in the first folder, it means that the packages in the second folder have been updated, but the first folder has not yet been updated. In this case, you need to copy the contents of the second folder to the first folder, including the language packs and package version numbers from the updated packages.

[0091] During the copying process, efficient and reliable file copying algorithms can be employed. For example, copying can be done in blocks, with each block being a certain size and data integrity being verified in real time. After each data block is copied, its checksum (such as a CRC checksum) is calculated and compared with the checksum of the source data block. If they match, the next data block is copied; otherwise, the data block is copied again, ensuring that the copied content is free from errors or loss during the copying process.

[0092] After copying is complete, a notification will be sent to the user informing them that the software package has been successfully updated and they can enjoy a better language service experience. If any errors occur during the copying process, the vehicle's operating system will record detailed error information and attempt the copying operation again the next time the vehicle starts, while also indicating the error reason to the user, such as "Software package update failed, please check your network connection or contact customer service," to help the user resolve the issue and ensure that the software package is updated in a timely and accurate manner.

[0093] In summary, the in-vehicle language pack update method provided in this specification involves, upon detecting an updated language pack in the cloud and responding to a user-inputted update operation, downloading the updated language pack using a first application based on a first operating system; obtaining the updated language pack from the first application using a second operating system using a second application based on the first application using the first operating system; and copying the updated language pack to a first folder, which is a folder created in a storage area with open permissions on the second operating system for storing language packs. This first folder is used for external access to the language pack data. Thus, by separating the language pack from the software package, rapid and timely updates of multiple language packs for the second application can be achieved, and by creating a first folder in a storage area with open permissions on the second operating system, data transfer and storage of language packs between the first and second operating systems can be realized.

[0094] Based on the same inventive concept, and in conjunction with Figure 2, this application also provides an in-vehicle language pack update device, applied to an in-vehicle infotainment system, the device comprising: a release response module, a receiving module, and an update module.

[0095] The release response module is used to download the updated language pack based on the first application of the first operating system in response to the user's update operation when an updated language pack is detected in the cloud.

[0096] A receiving module is used for a second application based on a second operating system to obtain updated language packs from a first application on the first operating system.

[0097] The update module is used by the second application based on the second operating system to copy the updated language pack to a first folder. The first folder is a folder created in a storage area with open permissions on the second operating system for storing language packs. The first folder is used for external access to the language pack data.

[0098] Optionally, the update module may also include a detection submodule, a creation submodule, and a first copy submodule;

[0099] The detection submodule is used to detect whether the first folder exists after the vehicle system is started;

[0100] A submodule is created to create the first folder in a storage area with open permissions in the second operating system if the first folder does not exist.

[0101] The first copy submodule is used to copy the contents of the second folder to the first folder that has been created; wherein, the second folder is located in a storage area where the permissions of the second operating system are not open, and the second folder stores the language pack and software package version number that are included in the current version of the software package of the vehicle system.

[0102] Optionally, the update module also includes a response submodule, a second copy submodule, and a comparison submodule:

[0103] The response submodule is used to respond to user input for an update when an updated software package is detected in the cloud.

[0104] The second copy submodule is used to copy the language pack in the updated software package to the second folder, and copy the software package version number corresponding to the current version of the software package in the second folder; wherein, the second folder is located in a storage area where the permissions of the second operating system are not open;

[0105] The comparison submodule is used to compare the software package version number in the second folder with the software package version number in the first folder after each vehicle system startup; wherein, the software package version number in the first folder refers to the software package version number obtained when the contents of the first folder are copied from the second folder; if the software package version number in the second folder is inconsistent with the software package version number in the first folder, then the contents of the second folder are copied to the first folder.

[0106] Optionally, the update module may also include modifying submodules:

[0107] The submodule is modified to change the external access path of the language pack from accessing the folder storing the language pack in an area where the second operating system's permissions are not open, to accessing the first folder.

[0108] Optionally, the receiving module may also include a download submodule and a subscription submodule;

[0109] A download submodule is used for the first application of the first operating system to download the updated language pack from the cloud and publish the updated language pack to the target topic;

[0110] The subscription submodule is used by a second application of the second operating system to subscribe to the target topic and receive the updated language packs.

[0111] Optional:

[0112] The vehicle's operating system includes a second operating system and carries a virtual machine of the first operating system;

[0113] The first application runs on a first operating system emulated by the first operating system virtual machine;

[0114] The second application runs on the second operating system.

[0115] Optionally, the publish response module is also used for:

[0116] The updated language pack is encrypted and then uploaded to the cloud.

[0117] In summary, the in-vehicle language pack update device provided in this specification, upon detecting an updated language pack in the cloud and responding to a user-inputted update operation, downloads the updated language pack using a first application based on a first operating system; a second application based on a second operating system retrieves the updated language pack from the first application of the first operating system; and the second application based on the second operating system copies the updated language pack to a first folder. The first folder is a storage area with open permissions in the second operating system used for storing language packs, and this first folder is used for external access to the language pack data. Thus, by separating the language pack from the software package, rapid and timely updates of multiple language packs for the second application can be achieved, and by establishing the first folder in a storage area with open permissions in the second operating system, language pack data transfer and storage between the first and second operating systems can be realized.

[0118] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the in-vehicle language pack update device described above can be referred to the corresponding process in the aforementioned method, and will not be elaborated further here.

[0119] Based on the same inventive concept, this application also provides a vehicle infotainment system, which includes a processor running a first operating system and a second operating system. The vehicle infotainment system further includes a memory and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the aforementioned vehicle language pack update method.

[0120] The second operating system can be the QNX system, and the first operating system can be the Android system or the HarmonyOS system, etc. This application uses the Android system as the first operating system and the QNX system as the second operating system as examples for illustration.

[0121] QNX is a real-time operating system commonly used in fields such as automotive and medical devices where stability and real-time performance are critical. It is characterized by high efficiency and stability and is generally used for mission-critical processing. An Android operating system can run on a QNX system using virtual machine technology. Virtual machines allow emulating the environment of another operating system within a single operating system, thus enabling Android applications to run on the QNX system.

[0122] In this application, the vehicle infotainment system is equipped with a second operating system and runs a second application, while simultaneously running a first operating system and a first application on it through a virtual machine mechanism.

[0123] The memory stores computer programs that can be executed by the processor, and the processor and the memory communicate with each other via a bus.

[0124] The memory, processor, and communication unit are electrically connected directly or indirectly to enable signal transmission or interaction. For example, these components can be electrically connected via one or more communication buses or signal lines. The memory includes at least one software functional module that can be stored in the memory in the form of software or firmware. The processor is used to execute the software functional module stored in the memory (e.g., a software functional module storing a computer program, which, when running, implements the aforementioned vehicle language pack update method).

[0125] The memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc.

[0126] In some embodiments, the processor is used to perform one or more functions described in this embodiment. In some embodiments, the processor may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)).

[0127] The communication unit is used to establish communication connections between the controller and other devices via the network, and to send and receive data via the network.

[0128] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the controller described above can be referred to the corresponding process in the aforementioned method, and will not be elaborated further here.

[0129] Based on the same inventive concept, this application also provides a storage medium storing a computer program, which, when executed by a processor, implements the aforementioned vehicle language pack update method.

[0130] In summary, the in-vehicle language pack update method and apparatus provided in this specification, upon detecting an updated language pack in the cloud and responding to a user-inputted update operation, downloads the updated language pack using a first application based on a first operating system; a second application based on a second operating system retrieves the updated language pack from the first application of the first operating system; and the second application based on the second operating system copies the updated language pack to a first folder. The first folder is a storage area with open permissions in the second operating system used for storing language packs, and this first folder is used for external access to the language pack data. Thus, by separating the language pack from the software package, rapid and timely updates of multiple language packs for the second application can be achieved, and by establishing the first folder in a storage area with open permissions in the second operating system, language pack data transfer and storage between the first and second operating systems can be realized.

[0131] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the storage medium described above can be referred to the corresponding process in the aforementioned method, and will not be elaborated further here.

[0132] The above are merely various embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for updating in-vehicle language packs, wherein, Applied to in-vehicle infotainment systems, the method includes: If an updated language pack is detected in the cloud, in response to an update operation input by the user, the first application based on the first operating system downloads the updated language pack; A second application based on a second operating system obtains updated language packs from a first application on the first operating system; The second application based on the second operating system copies the updated language pack to the first folder. The first folder is a folder created in the storage area with open permissions in the second operating system for storing language packs. The first folder is used for external access to language pack data.

2. The method according to claim 1, wherein, Before the step of copying the updated language pack to the first folder in the second application based on the second operating system, the method further includes: After the vehicle's infotainment system starts up, it checks whether the first folder exists. If the first folder does not exist, then create the first folder in the storage area with open permissions in the second operating system; Copy the contents of the second folder to the first folder that was created; wherein the second folder is located in a storage area where the permissions of the second operating system are not open, and the second folder stores the language pack and software package version number that are included in the current version of the vehicle infotainment system's software package.

3. The method according to claim 1, wherein, The method further includes: If an updated software package is detected in the cloud, respond to the update operation input by the user; Copy the language pack from the updated software package to the second folder, and copy the software package version number corresponding to the current version of the software package in the second folder; wherein, the second folder is located in a storage area where the permissions of the second operating system are not open; Each time the vehicle system starts up, the software package version number in the second folder is compared with the software package version number in the first folder to see if they are consistent; wherein, the software package version number in the first folder refers to the software package version number obtained when the contents of the first folder are copied from the second folder; If the package version number in the second folder is different from the package version number in the first folder, then copy the contents of the second folder to the first folder.

4. The method according to claim 1, wherein, The step of copying the contents of the second folder to the first folder includes: If an error occurs during the copying process from the second folder to the first folder, a prompt message will be displayed when the vehicle system is started again, and the process of copying the contents of the second folder to the first folder will continue.

5. The method according to claim 1, wherein, The method further includes: The external access path for the language pack is changed from accessing the folder storing the language pack in an area where access permissions for the second operating system are not enabled, to access the first folder.

6. The method according to claim 1, wherein, The second application based on the second operating system obtains updated language packs from the first application on the first operating system, including: The first application of the first operating system downloads the updated language pack from the cloud and publishes the updated language pack to the target topic. The second application of the second operating system subscribes to the target topic and receives the updated language pack.

7. The method according to claim 6, wherein, The first application of the first operating system downloads the updated language pack from the cloud, including: During the download of the updated language pack, the download progress is maintained in response to a pause command input by the user; In response to a user-inputted download command, the download of the updated language pack is resumed based on the download progress of the updated language pack.

8. The method according to claim 6, wherein, Publishing the updated language pack to the target topic includes: The data corresponding to the updated language pack is processed into packets to obtain data packets; The data packet is published to the target topic.

9. The method according to claim 1, wherein, The second folder is editable when the software package is updated, but not editable when the language pack is updated separately.

10. The method according to claim 8, wherein, The data packet includes a data header, which includes the file name, total file data length, total number of packets, transmission status, current packet number, single packet file data length, and data checksum.

11. The method according to claim 1, wherein, The vehicle's operating system is a second operating system and is equipped with a virtual machine of the first operating system; The first application runs on a first operating system emulated by the first operating system virtual machine; the second application runs on the second operating system.

12. The method according to any one of claims 1-11, wherein, The method further includes, prior to the update operation step in response to user input, when an updated language pack is detected in the cloud: The updated language pack is encrypted and then uploaded to the cloud.

13. An in-vehicle language pack update device, wherein, For use in vehicle infotainment systems, the device includes: a release response module, configured to, in response to a user-inputted update operation, download the updated language pack based on a first application of a first operating system when an updated language pack is detected in the cloud; A receiving module is used for a second application based on a second operating system to obtain updated language packs from a first application on the first operating system. The update module is used by the second application based on the second operating system to copy the updated language pack to a first folder. The first folder is a folder created in a storage area with open permissions on the second operating system for storing language packs. The first folder is used for external access to language pack data.

14. A vehicle infotainment system, wherein, The vehicle infotainment system includes a processor running a first operating system and a second operating system. The vehicle infotainment system also includes a memory and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the vehicle language pack update method according to any one of claims 1-12.

15. A storage medium, wherein, The storage medium stores a computer program, which, when executed by a processor, implements the vehicle language pack update method as described in any one of claims 1-12.