Vehicle machine control method and vehicle machine
A vehicle computer control method separates applications into shared and non-shared types, reducing storage occupancy by installing shared apps in a main user space for multiple accounts, enhancing storage efficiency and installation speed.
Patent Information
- Application Number
- CN202411396011.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2024-12-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The high occupancy rate of vehicle computer storage resources due to multiple system accounts having different applications installed, leading to inefficient use of storage space.
Implementing a vehicle computer control method that separates applications into shared and non-shared types, installing shared applications only in a main user space, allowing multiple system accounts to access them without redundant installations.
Reduces storage space occupancy by enabling application sharing across system accounts, improving storage efficiency and installation speed.
Smart Images

Figure CN119225860A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of vehicle technology, and more particularly to a vehicle computer control method and a vehicle computer. Background Art
[0002] With the rapid development of vehicle intelligent technology, the car computers in vehicles have undergone significant technological progress and have gradually evolved into a comprehensive intelligent infotainment system that integrates navigation, calls, music playback, video playback and other functions.
[0003] The realization of the car computer functions depends on the various applications installed on the car computer, such as music applications, navigation applications or video applications, etc. In addition, the car computer can log in to multiple system accounts, and the applications of each system account can be different, resulting in a high occupancy rate of the car computer storage resources. Summary of the invention
[0004] In view of the above problems, an embodiment of the present invention provides a vehicle computer control method and a vehicle computer, which are used to solve the problem of high occupancy rate of vehicle computer storage resources.
[0005] According to one aspect of an embodiment of the present invention, a vehicle control method is provided, the method comprising:
[0006] In response to a start instruction for a target application when the system account for logging into the vehicle computer is a sub-account, obtaining an application type of the target application indicated by the start instruction;
[0007] If it is determined that the application type of the target application is the first type, the target application is controlled to run in the first user space of the vehicle computer; wherein the first type is the type of application that can be shared by the system account; the first user space is the user space corresponding to the main account of the vehicle computer.
[0008] According to another aspect of an embodiment of the present invention, a vehicle control device is provided, comprising:
[0009] an acquisition module, configured to respond to a start instruction for a target application when the system account for logging into the vehicle computer is a sub-account, and acquire an application type of the target application indicated by the start instruction;
[0010] A control module is used to control the target application to run in the first user space of the vehicle computer when it is determined that the application type of the target application is the first type; wherein the first type is the type of application that can be shared by the system account; and the first user space is the user space corresponding to the main account of the vehicle computer.
[0011] According to another aspect of an embodiment of the present invention, a vehicle computer is provided, including:
[0012] A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0013] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the above-mentioned vehicle control method.
[0014] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores at least one executable instruction. When the executable instruction is executed on a vehicle computer / vehicle computer control device, the vehicle computer / vehicle computer control device executes the operation of the above-mentioned vehicle computer control method.
[0015] The embodiment of the present invention realizes application sharing of the first type of applications in each system account through the vehicle computer control method and the vehicle computer, without installing the first type of applications in the user space of each system account, thereby reducing the occupancy rate of the vehicle computer storage space.
[0016] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0018] Figure 1 A schematic diagram showing an application scenario provided by the present invention;
[0019] Figure 2 A flow chart showing a first embodiment of a vehicle control method provided by the present invention;
[0020] Figure 3 A schematic diagram of a user space provided by the present invention is shown;
[0021] Figure 4 A flow chart of a third embodiment of the vehicle-based application control method provided by the present invention is shown;
[0022] Figure 5 A flowchart of a fourth embodiment of the vehicle-based application control method provided by the present invention is shown;
[0023] Figure 6 A schematic structural diagram of an embodiment of a vehicle control device provided by the present invention is shown;
[0024] Figure 7 A structural schematic diagram of an embodiment of a vehicle computer provided by the present invention is shown. DETAILED DESCRIPTION
[0025] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0026] Figure 1 A schematic diagram of an application scenario provided by the present invention is shown. When the system account for logging into the vehicle computer is account 1, the display interface of the vehicle computer displays application icons installed by account 1, for example, application 1, application 2, and application 3. When the system account for logging into the vehicle computer is account 2, the display interface of the vehicle computer displays application icons installed by account 2, for example, application 1, application 2, and application 4.
[0027] The installation of an application can be divided into two steps: the first is to download the installation package, which is downloaded to the preset storage location of the vehicle computer, such as the preset installation directory (storage directory); the second is to create a running data directory (data directory) for the application and store the files required for the application to run in the running data directory. Therefore, when logging in to different system accounts on the vehicle computer, the installation of the application will result in a high storage resource usage rate of the vehicle computer.
[0028] In view of this, the present application proposes a vehicle computer control method, in which applications that can be shared by various system accounts are installed in the owner account of the vehicle computer. When other system accounts use the application, there is no need to install it again. The application installed in the user space of the owner account can be run directly, thereby realizing application sharing of multiple system accounts and reducing the occupancy rate of storage resources.
[0029] Figure 2 The flowchart of the first embodiment of the vehicle control method provided by the present invention is shown. This embodiment first describes how to display the application icon corresponding to the system account after the vehicle is powered on. The method is executed by the vehicle. Figure 2 As shown, the method comprises the following steps:
[0030] S101. In response to a login instruction, determine whether the system account indicated by the login instruction is a primary account.
[0031] Exemplarily, the login instruction is used to represent an instruction for logging into an account that is triggered on the account login interface of the vehicle computer. After the login instruction is triggered, the vehicle computer is currently logged in with the system account indicated in the login instruction.
[0032] It should be noted that the embodiment of the present invention does not limit the triggering method of the login instruction. For example, it can be triggered by the user touching the vehicle computer, or it can be triggered by voice, or it can be automatically triggered by the vehicle computer. For example, the vehicle computer automatically logs in to the system account after startup, thereby triggering the login instruction.
[0033] Exemplarily, the system account is the account for logging into the vehicle system, and the system account may include a main account and a sub-account. The main account may be the owner's account, or any account set by the user as the main account. It should be understood that the main account has the highest resource management authority and can authorize the creation of sub-accounts or delete sub-accounts. Taking the Android system as an example, the main account may be an account of the USER_TYPE_FULL_SYSTEM type.
[0034] A sub-account represents another account authorized by the main account. This type of sub-account is controlled by the main account and shares the desktop with the main account, but the running data of the application can be stored in an independent user space. Taking the Android system as an example, this sub-account can be an account of the USER_TYPE_PROFILE_MANAGED type. Optionally, when the system account logged in to the vehicle computer is the main account, the vehicle computer can receive the instruction to add a sub-account and add a new sub-account.
[0035] If the vehicle computer determines that the system account is a main account, step S102 is executed; if it is determined that the system account is not a main account, that is, a sub-account, step S103 is executed.
[0036] S102: Load icons of applications of all application types included in the first user space, and display the loaded icons of applications of all application types on the vehicle computer.
[0037] The vehicle computer can set up independent user spaces for different system accounts. The user space is the storage space of the vehicle computer, which is used to store the application running data of the account. The first user space is used to represent the user space corresponding to the main account of the vehicle computer, and the second user space is used to represent the user space corresponding to the sub-account. For example, the first user space of the vehicle computer may include the mapping relationship between the system account and the user space, and the mapping relationship may be stored in the form of an XML file.
[0038] The application type represents the type of application, and the application type may include a first type and a second type, wherein the first type is used to represent the type of application that can be shared by system accounts, and the second type is used to represent the type of application that is not shared by system accounts. In other words, for the first type of application, all system accounts can run the same application, while for the second type of application, each system account needs to install and run it separately and cannot share the same application.
[0039] It should be noted that the applications pre-installed on the vehicle computer before leaving the factory can be regarded as the first type of applications, and the applications not installed on the vehicle computer before leaving the factory can be regarded as the second type of applications; or the vehicle computer can set the application type of the application to the first type or the second type based on the user's settings; or the vehicle computer can assign application types to applications based on the permissions, functions, etc. of the application. The embodiment of the present invention does not limit the setting of the application type.
[0040] Exemplarily, the first type of application is installed in the first user space, and a running data directory of the first type of application is created in the first user space, and files required for the first type of application to run are stored in the running data directory of the application in the first user space. The first type of application can be run in the first user space when different system accounts log in, that is, each system account can share the first type of application installed in the first user space.
[0041] Specifically, taking the Android system as an example, the Android system has a Package Manager Service (PMS) component, which is responsible for managing application package information and related functions such as application installation, uninstallation, and permission control. Based on the PMS component, the vehicle computer can control the installation of the first type of application in the first user space when different system accounts log in.
[0042] In some possible implementations, Figure 3 A schematic diagram of a user space provided by the present invention is shown, referring to Figure 3 As shown, the first type of application is installed in the first user space, so each system account can share the first type of application installed in the first user space. The first user space may include the running data directory of each first type of application, and the icon of each first type of application. Exemplarily, Table 1 is a schematic diagram of a first user space provided by the present invention. Referring to Table 1, the first user space may include an application list directory 1 for storing icon files of each first type of application included in the first user space. It should be noted that Table 1 is only a schematic diagram of the directory in the first user space, and the embodiments of the present invention are not limited here.
[0043] Table 1 The first user space
[0044] Table of contents content Data Directory 1 Operation data of application 1 of the first type Data Directory 2 Operation data of application 2 of the first type Application List Directory 1 Icon files of each first type of application
[0045] In some possible implementations, reference Figure 3As shown, the first user space may also have a second type of application installed. As mentioned above, the first user space is the user space corresponding to the master account. When the master account installs a second type of application, the second type of application is installed in the first user space. In other words, a running data directory of the second type of application may be created in the first user space.
[0046] In this implementation, the first user space may also include the running data directory of the second type of application installed by the main account, as well as the icon of the second type of application. Exemplarily, Table 2 is a schematic diagram of another first user space provided by the present invention. Referring to Table 2, the first user space may include an application list directory 2 for storing icon files of the second type of application included in the first user space, or the icon files of the second type of application included in the first user space may also be stored in the application list directory 1, which is not limited in the embodiment of the present invention. It should be noted that Table 2 is only a schematic diagram of the directory in the first user space, which is not limited in the embodiment of the present invention.
[0047] Table 2 First user space
[0048] Table of contents content Data Directory 1 Operation data of application 1 of the first type Data Directory 2 Operation data of application 2 of the first type Data Directory 3 Operation data of second type application 3 Application List Directory 1 Icon files of each first type of application Application List Directory 2 Icon file for the second type of application
[0049] The application list directories 1 and 2 shown in Table 2 are respectively used to store icon files of the first type of applications and icon files of the second type of applications installed by the primary account, so that application classification can be achieved, which is convenient for loading subsequent application icons. Compared with storing all applications in the same application list directory and requiring judgment of the application type each time the application icon is loaded, this method can improve the loading efficiency of application icons.
[0050] Therefore, when the vehicle computer determines that the system account indicated by the control instruction is the main account, the vehicle computer needs to display the icons of all application types included in the user space corresponding to the main account on the desktop. For example, the application list directory may include icons of all first-type applications, as well as icons of second-type applications installed by the main account. Therefore, the vehicle computer can load and display all icons in the application list directory of the first user space based on the desktop application (Launcher). Specifically, the vehicle computer can read the icon file from the user space, store the icon file in the cache of the vehicle computer memory, and then render and display the icons in the cache based on the desktop application.
[0051] It should be noted that the embodiment of the present invention does not limit the number of the second type of applications in the application list of the first user space.
[0052] S103: Load icons of the first type of applications included in the first user space, and load icons of the second type of applications included in the second user space corresponding to the sub-account, and display the loaded icons of the first type of applications and the loaded icons of the second type of applications on the vehicle computer.
[0053] Exemplarily, the second type is a type of application that is not shared by the system account. The second user space is a user space allocated by the vehicle computer to the sub-account. For example, after the vehicle computer allocates a user space to each system account, a mapping relationship between the system account and the user space identifier is established so that the vehicle computer can subsequently determine the user space corresponding to the system account. The user space identifier can be, for example, an ID allocated by the vehicle computer to each user space.
[0054] In some possible implementations, reference Figure 3 As shown, the first user space has a first type of application installed, and the second user space corresponding to the sub-account has a second type of application installed by the sub-account, that is, a running data directory of the second type of application is created in the second user space corresponding to the sub-account.
[0055] In this implementation, the second user space corresponding to the sub-account may include the running data directory of the second type of application installed by the sub-account, as well as the icon of the second type of application. Exemplarily, Table 3 is a schematic diagram of a second user space provided by the present invention. Referring to Table 3, the second user space may include an application list directory for storing icon files of the second type of application included in the second user space. It should be noted that Table 3 is only a schematic diagram of the directory in the second user space, and the embodiment of the present invention is not limited here.
[0056] Table 3 Second user space
[0057] Table of contents content Data Directory 4 Operation data of second type application 4 Data Catalog 5 Operation data of second type application 5 Application List Directory Icon file for the second type of application
[0058] Therefore, when the vehicle computer determines that the system account indicated by the control instruction is a sub-account, the vehicle computer needs to display the icons of the first type of application and the icons of the second type of application installed by the sub-account on the desktop. Since the first type of application installed in the first user space can realize application sharing, the vehicle computer can load and display the icons of the first type of application in the application list directory of the first user space based on the desktop application (Launcher), and load and display the icons of the second type of application in the application list directory of the second user space corresponding to the sub-account based on the desktop application.
[0059] It should be noted that the embodiment of the present invention does not limit the number of second-type applications in the application list of the second user space corresponding to the above-mentioned sub-account.
[0060] In this embodiment, after the vehicle computer is powered on, when the system account currently logged into the vehicle computer is the main account, the vehicle computer loads and displays the icons of the first type of applications and the icons of the second type of applications installed by the main account from the first user space; when the system account currently logged into the vehicle computer is a sub-account, the icons of the first type of applications are loaded and displayed from the first user space, and the icons of the second type of applications installed by the sub-account are loaded and displayed from the second user space corresponding to the sub-account. In this way, the first type of applications can realize application sharing of different system accounts, that is, they only need to be installed once in the first user space, and do not need to be installed in each user space, thereby reducing the occupancy rate of the vehicle computer storage space.
[0061] In some embodiments, the vehicle computer logged in with a sub-account can install the first type of application. In other words, after the vehicle computer logs in to the sub-account, the first type of application can be additionally installed. For example, when the vehicle computer logs in with a sub-account, the vehicle computer can respond to the application installation instruction, and if it is determined that the application type of the application to be installed is the first type, the application to be installed can be installed to the first user space based on the PMS component, the icon of the application to be installed is stored in the first user space, and the icon of the newly installed first type of application is displayed on the desktop of the vehicle computer.
[0062] Optionally, if it is determined that the application type of the application to be installed is the second type, and the sub-account installs the application to be installed for the first time, a second user space of the sub-account is created. For example, the vehicle computer may allocate a user space ID for the second user space of the sub-account and establish a mapping relationship between the sub-account and the user space ID.
[0063] In this embodiment, after logging into the vehicle computer using the system account of the sub-account in this way, when installing the first type of application, the vehicle computer only needs to install it in the first user space, and there is no need to repeatedly install the first type of application in each user space, thereby reducing the occupancy rate of the vehicle computer storage space. At the same time, since it only needs to be installed once, the installation efficiency of the first type of application is improved.
[0064] Figure 4 The flowchart of the third embodiment of the vehicle-based application control method provided by the present invention is shown. This embodiment describes how to display the application icon corresponding to the system account when the system account is switched after the vehicle is started. The method is executed by the vehicle. Figure 4 As shown, the method comprises the following steps:
[0065] S201. In response to a first account switching instruction, determine whether the system account indicated by the first account switching instruction is a primary account.
[0066] Exemplarily, the first account switching instruction is used to represent an account switching instruction triggered on the account login interface of the vehicle computer, for example, the first account switching instruction may be triggered when the vehicle computer has a system account logged in and needs to switch to another system account to log in. The first account switching instruction may indicate the currently logged in system account.
[0067] For example, the initial system account of the vehicle computer is account 1, which is a sub-account. In response to the first account switching instruction, the vehicle computer switches the system account of the vehicle computer to account 2 indicated by the first account switching instruction.
[0068] It should be noted that the embodiment of the present invention does not limit the triggering method of the first account switching instruction. For example, it can be triggered by the user touching the vehicle computer or by voice.
[0069] If the vehicle computer determines that the system account is a main account, step S202 is executed; if it is determined that the system account is not a main account, that is, a sub-account, step S203 is executed.
[0070] S202: Loading an icon of an application of the second application type corresponding to the system account from the first user space.
[0071] Exemplarily, before the account is switched, the car computer displays the icons of the first type of application and the icons of the second type of application installed by account 1 on the desktop in the manner shown in the aforementioned embodiment. After the system account is switched, if the system account is determined to be the main account, only the icons of the second type of application corresponding to the main account can be loaded from the first user space. This is because the first type of application installed in the first user space can realize application sharing. Therefore, after the system account is switched, since the first type of application is displayed on the desktop of the initial system account (account 1), the icon of the first type of application has been loaded once. In other words, the icon of the first type of application has been stored in the cache of the car computer and does not need to be loaded again. Only the icon of the second type of application installed by the main account needs to be loaded.
[0072] S203: Load an icon of a second type of application corresponding to the system account from the second user space corresponding to the sub-account.
[0073] Exemplarily, before the account is switched, the car computer displays the icons of the first type of application and the icons of the second type of application installed by account 1 on the desktop in the manner shown in the aforementioned embodiment. After the system account is switched, if the system account is determined to be a sub-account, only the icons of the second type of application corresponding to the sub-account can be loaded from the second user space corresponding to the sub-account. This is because the first type of application installed in the first user space can realize application sharing. Therefore, after the system account is switched, since the first type of application is displayed on the desktop of the original system account (account 1), the icon of the first type of application has been loaded once. In other words, the icon of the first type of application has been stored in the cache of the car computer and does not need to be loaded again. Only the icon of the second type of application installed by the sub-account needs to be loaded.
[0074] S204: Obtain the loaded icon of the first type of application from the cache of the vehicle computer.
[0075] For example, the icon of the loaded first type of application is read from the cache of the vehicle computer.
[0076] S205: Render and display on the vehicle computer the icons of the loaded first type of applications and the icons of the loaded second type of applications corresponding to the system account.
[0077] For example, the vehicle computer can render the icons of the loaded first type of applications and the icons of the loaded second type of applications corresponding to the system account based on the desktop application, and generate a new desktop for display.
[0078] In some embodiments, the first type of application on the vehicle computer can set an application account, and the vehicle computer can establish a mapping relationship between the application account and the system account based on the account application, so that when the system account changes, the vehicle computer can automatically switch the application account of the first type of application to the application account corresponding to the current system account, or, when the vehicle computer monitors the exit of the system account, it automatically exits the application account of the first type of application.
[0079] For example, the vehicle computer can monitor in real time whether the system account of the vehicle computer has changed based on the desktop application. If it is determined that the system account has changed, the vehicle computer sends a notification to the account application based on the desktop application to notify the account application that the system account has changed. The vehicle computer can control the application account of the first type of application in the first user space based on the account application to switch to the application account of the first type of application corresponding to the system account. For example, the vehicle computer can send a second account switching instruction to the first type of application in the first user space based on the account application to control the application account of the first type of application to switch to the application account of the first type of application corresponding to the system account indicated by the second account switching instruction.
[0080] Table 4 is a schematic diagram of a mapping relationship between an application account and a system account provided by the present invention. It should be noted that if an application account for a first type of application is not set under a system account, the vehicle computer can set a visitor account for the application, which is used in common by all system accounts that do not have an application account set. Alternatively, the vehicle computer can automatically set an application account corresponding to the system account for the application. The embodiment of the present invention does not limit this. Optionally, the account application can provide a binding entry for the application account and the system account. For example, when registering an application account for a first type of application, after the application account registration is completed, a prompt message can be output to the user indicating whether to bind with the system account. After receiving an instruction to confirm the binding, a mapping relationship as shown in Table 4 is established.
[0081] Table 4 Mapping relationship between application account and system account
[0082]
[0083] In this way, when the car computer detects changes in the system account, it can automatically switch the application account of the first type of application to the application account corresponding to the system account, so as to save the user's personalized settings when using the first type of application and improve the user experience.
[0084] In this embodiment, when the vehicle computer switches the system account, if it is determined that the switched system account is the main account, it only needs to load the icon of the second type of application installed by the main account from the first user space for display; if it is determined that the switched system account is a sub-account, it only needs to load the icon of the second type of application installed by the sub-account from the second user space corresponding to the sub-account for display. In this way, when the vehicle computer switches the system account, the icon of the first type of application can realize the sharing of the system account, and there is no need to load it again. It only needs to load the second type of application installed by each system user, and there is no need to freeze the desktop, which shortens the switching time of the desktop icons of each system account and improves the desktop switching efficiency of the system account.
[0085] Figure 5 The flowchart of the fourth embodiment of the vehicle-based application control method provided by the present invention is shown. This embodiment describes how to run the first type of application after the vehicle logs in to the sub-account. The method is executed by the vehicle. Figure 6 As shown, the method comprises the following steps:
[0086] S301 , in response to a start instruction for a target application when the system account for logging into the vehicle computer is a sub-account, obtaining an application type of the target application indicated by the start instruction.
[0087] Exemplarily, the target application is used to represent the application to be started. It should be noted that the present application does not limit the functions implemented by the target application, for example, it can be a music application, a navigation application, or a video playback application.
[0088] In some possible implementations, the vehicle computer may respond to the login instruction and display the desktop of the system account indicated by the login instruction, and the desktop includes the icon of the application corresponding to the system account. When the system account currently logged in by the vehicle computer is a sub-account, the vehicle computer responds to the start instruction of the target application and obtains the application type of the target application.
[0089] Exemplarily, the vehicle computer can determine whether the system account is a sub-account based on the account identifier of the login. Among them, the account identifier is used to uniquely characterize the account, for example, it can be an account ID, it can also be an account name, or a mobile phone number, etc., which is not limited in the embodiment of the present invention. It should be understood that when the sub-account is added, the vehicle computer can establish a correspondence between the account identifier and the account type. During subsequent logins, the vehicle computer can determine the account type of the system account based on the correspondence and the account identifier of the logged-in system account. When it is determined that the currently logged-in system account is a sub-account, the application type of the target application is determined according to the target application indicated by the startup instruction. For example, the startup instruction can indicate the identifier of the target application, and the identifier of the target application can be, for example, an application ID or an application name. The embodiment of the present invention is not limited here. The vehicle computer can determine the identifier of the target application based on the startup instruction, and then determine the application type of the target application according to the identifier of the target application.
[0090] It should be understood that each application has an application type. For example, when the application is installed, the vehicle computer can automatically assign an application type to the application, or the vehicle computer can receive the application type of the application set by the user. Therefore, the vehicle computer can determine the application type of the target application according to the identifier of the target application.
[0091] It should be noted that the present invention does not limit the triggering method of the start instruction, which can be triggered by the user by touching the vehicle computer, or by voice, or automatically triggered by the vehicle computer, for example, the vehicle computer triggers the start instruction of the target application at a scheduled time.
[0092] S302: If it is determined that the application type of the target application is the first type, control the target application to run in a first user space of the vehicle computer.
[0093] The Android system also has an Activity Manager Service (AMS) component, which is responsible for managing the application life cycle, task stack, task switching and scheduling, etc. Based on the AMS component, the vehicle computer can control the first type of application to run in the first user space when different system accounts log in.
[0094] As mentioned above, the first type of application is installed in the first user space. Therefore, the car computer logged in with the sub-account can run the target application installed in the first user space. For example, the car computer can control the target application to run in the first user space based on the AMS component. There is no need to install the target application in the second user space corresponding to the sub-account to run the target application, thereby reducing the occupancy rate of the storage space of the car computer.
[0095] In some embodiments, during the operation of the target application, the vehicle computer can respond to the user's operation instruction to download the target data in the target application to run the target data. The vehicle computer can respond to the download instruction for the target data in the target application, and if it is determined that the target data exists in the first user space, it will run the target data; if it is determined that the target data does not exist in the first user space, it will download the target data to the first user space and run the target data. It should be noted that the present invention does not limit the content of the target data, which is specifically related to the function of the target application, such as songs, maps, or videos.
[0096] For example, when the target application is a music application, the target data may be a song. The vehicle computer may generate a download instruction for the target data in response to a music playback instruction triggered by the user. If it is determined that the song exists in the first user space, the song may be played directly. If it is determined that the song does not exist in the first user space, the song may be downloaded to the first user space and played.
[0097] In this way, when the vehicle computer logged in with different system accounts runs the first type of application, repeated downloading and storage of the same data can be avoided, thereby reducing the occupancy rate of storage space.
[0098] Optionally, for the same first type of application in the first user space, the running data of each application account can be stored separately based on different application accounts. For example, for a music application, application account 1 sets playlist 1, and application account 2 sets playlist 2. Referring to Table 5, Table 5 is a schematic diagram of the running data of the first type of application in the first user space provided by the present invention. In the first user space, the respective running data can be stored separately based on the application account.
[0099] Table 5: Running data of the first type of application in the first user space
[0100]
[0101] Optionally, if it is determined that the application type of the target application is the second type, the vehicle computer can control the target application to run in the second user space corresponding to the sub-account based on the AMS component.
[0102] In some embodiments, if the vehicle computer determines that the target application is being run for the first time under the currently logged-in system account, the permission request information of the target application is displayed on the vehicle computer. For example, the permission request information can be displayed in the form of a pop-up window for the user to confirm the permissions of the target application, and in response to the user's confirmation instruction, the permission information of the target application is obtained, and the permission information of the target application is stored in the permission directory corresponding to the system account in the first user space.
[0103] For example, the vehicle computer can set a permission directory of the running permissions of the first type of application for each system account in the first user space, as shown in Table 6, which is a schematic diagram of a permission directory in the first user space provided by the present invention.
[0104] Table 6 Permission directory in the first user space
[0105]
[0106] In this way, the car computer can set different operating permissions for the application based on the confirmation instructions of users under different system accounts.
[0107] Under this implementation method, when the target application is run in the first user space of the vehicle computer, the permission directory corresponding to the system account can be determined in the first user space according to the system account; the permission information of the target application corresponding to the system account can be determined from the permission directory corresponding to the system account; and the target application can be controlled to run in the first user space of the vehicle computer according to the permission information of the target application corresponding to the system account.
[0108] In this embodiment, when the vehicle computer logs in with a sub-account, it can control the first type of application to run in the first user space instead of running in the second user space corresponding to the sub-account. In this way, it is not necessary to install the first type of application in the user space corresponding to each system account, so that application sharing can be achieved and the occupancy rate of the vehicle computer storage space can be reduced.
[0109] Figure 6 FIG. 1 is a schematic diagram showing the structure of an embodiment of a vehicle control device provided by the present invention. Figure 6 As shown, the device 400 includes:
[0110] An acquisition module 401 is used for, in response to a start instruction for a target application when the system account for logging into the vehicle computer is a sub-account, acquiring an application type of the target application indicated by the start instruction;
[0111] The control module 402 is used to control the target application to run in the first user space of the vehicle computer when it is determined that the application type of the target application is the first type; wherein the first type is the type of application that can be shared by the system account; and the first user space is the user space corresponding to the main account of the vehicle computer.
[0112] In an optional manner, the control module 402 is specifically configured to:
[0113] In response to a download instruction for the target data in the target application, if it is determined that the target data exists in the first user space, the target data is executed; if it is determined that the target data does not exist in the first user space, the target data is downloaded to the first user space and the target data is executed.
[0114] In an optional manner, the control module 402 is specifically configured to:
[0115] If it is determined that the vehicle computer logged in by the system account runs the target application for the first time, displaying the permission request information of the target application on the vehicle computer;
[0116] In response to a confirmation instruction from the user, permission information of the target application is obtained, and the permission information of the target application is stored in a permission directory corresponding to the system account in the first user space.
[0117] In an optional manner, the control module 402 is specifically configured to:
[0118] According to the system account, determining, in the first user space, a permission directory corresponding to the system account;
[0119] Determining permission information of a target application corresponding to the system account from the permission directory corresponding to the system account;
[0120] According to the permission information of the target application corresponding to the system account, the target application is controlled to run in the first user space of the vehicle computer.
[0121] In an optional manner, the control module 402 is specifically configured to:
[0122] If it is determined that the application type of the target application is the second type, the target application is controlled to run in a second user space corresponding to the sub-account; wherein the second type is the type of application not shared by the system account; and the second user space is the user space corresponding to the sub-account of the vehicle computer.
[0123] In an optional manner, the device further includes a switching module, which is used to:
[0124] In response to a first account switching instruction, determining whether the system account indicated by the first account switching instruction is a primary account;
[0125] If yes, then load the icon of the second type of application corresponding to the system account from the first user space; if no, load the icon of the second type of application corresponding to the system account from the second user space corresponding to the sub-account; wherein the second type is the type of application that is not shared by the system account;
[0126] Acquire an icon of a loaded application of the first type from a cache of the vehicle computer;
[0127] The icons of the loaded first type of applications and the icons of the loaded second type of applications corresponding to the system account are rendered and displayed on the vehicle computer.
[0128] In an optional manner, the switching module is specifically used to:
[0129] If it is determined that the system account has changed, the application account of the first type of application displayed on the vehicle computer is controlled to switch to the application account of the first type of application corresponding to the system account.
[0130] In an optional manner, the switching module is specifically used to:
[0131] A second account switching instruction is sent to the first type of application in the first user space; wherein the second account switching instruction is used to control the application account of the first type of application, switching to the application account of the first type of application corresponding to the system account indicated by the second account switching instruction.
[0132] In an optional manner, the device further includes an installation module, specifically used for:
[0133] In response to an application installation instruction when the system account for logging into the vehicle computer is a sub-account, if it is determined that the application type of the application to be installed is the first type, the application to be installed is installed in the first user space, and the icon of the application to be installed is stored in the first user space.
[0134] In an optional manner, a module is installed, specifically for:
[0135] In response to an application installation instruction when the system account for logging into the vehicle computer is a sub-account, if it is determined that the application type of the application to be installed is the second type, and the sub-account installs the application to be installed for the first time, a second user space for the sub-account is created; wherein the second type is a type of application that is not shared by the system account; and the second user space is the user space corresponding to the sub-account of the vehicle computer.
[0136] In an optional manner, the device further includes a display module, which is specifically used to:
[0137] In response to a login instruction, if it is determined that the system account indicated by the login instruction is a sub-account, icons of the first type of applications included are loaded from the first user space, and icons of the second type of applications included are loaded from the second user space corresponding to the sub-account, and the loaded icons of the first type of applications and the icons of the second type of applications are displayed on the vehicle computer.
[0138] From the above, it can be seen that the vehicle computer control device provided by the embodiment of the present invention can realize application sharing of the first type of applications in each system account, without installing the first type of applications in the user space of each system account, thereby reducing the occupancy rate of the vehicle computer storage space.
[0139] Figure 7 The schematic diagram of the structure of the embodiment of the vehicle computer provided by the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the vehicle computer.
[0140] like Figure 7 As shown, the vehicle computer may include: a processor (processor) 502, a communication interface (Communications Interface) 504, a memory (memory) 506, and a communication bus 508.
[0141] The processor 502, the communication interface 504, and the memory 506 communicate with each other via the communication bus 508. The communication interface 504 is used to communicate with other devices such as a client or other server network elements. The processor 502 is used to execute the program 510, which can specifically execute the relevant steps in the above-mentioned embodiment of the vehicle control method.
[0142] Specifically, the program 510 may include program code including computer-executable instructions.
[0143] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the vehicle computer may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0144] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0145] The program 510 can be specifically called by the processor 502 to enable the vehicle computer to perform the following operations:
[0146] In response to a start instruction for a target application when the system account for logging into the vehicle computer is a sub-account, obtaining an application type of the target application indicated by the start instruction;
[0147] If it is determined that the application type of the target application is the first type, the target application is controlled to run in the first user space of the vehicle computer; wherein the first type is the type of application that can be shared by the system account; the first user space is the user space corresponding to the main account of the vehicle computer.
[0148] In an optional manner, controlling the target application to run in the first user space of the vehicle computer includes:
[0149] In response to a download instruction for the target data in the target application, if it is determined that the target data exists in the first user space, the target data is executed; if it is determined that the target data does not exist in the first user space, the target data is downloaded to the first user space and the target data is executed.
[0150] In an optional manner, the method further includes:
[0151] When the vehicle computer logged in based on the system account runs the target application for the first time, the permission request information of the target application is displayed on the vehicle computer;
[0152] In response to a confirmation instruction from the user, permission information of the target application is obtained, and the permission information of the target application is stored in a permission directory corresponding to the system account in the first user space.
[0153] In an optional manner, controlling the target application to run in the first user space of the vehicle computer includes:
[0154] According to the system account, determining, in the first user space, a permission directory corresponding to the system account;
[0155] Determining permission information of a target application corresponding to the system account from the permission directory corresponding to the system account;
[0156] According to the permission information of the target application corresponding to the system account, the target application is controlled to run in the first user space of the vehicle computer.
[0157] In an optional manner, the method further includes:
[0158] If it is determined that the application type of the target application is the second type, the target application is controlled to run in a second user space corresponding to the sub-account; wherein the second type is the type of application not shared by the system account; and the second user space is the user space corresponding to the sub-account of the vehicle computer.
[0159] In an optional manner, the method further includes:
[0160] In response to a first account switching instruction, determining whether the system account indicated by the first account switching instruction is a primary account;
[0161] If yes, then load the icon of the second type of application corresponding to the system account from the first user space; if no, load the icon of the second type of application corresponding to the system account from the second user space corresponding to the sub-account; wherein the second type is the type of application that is not shared by the system account;
[0162] Acquire an icon of a loaded application of the first type from a cache of the vehicle computer;
[0163] The icons of the loaded first type of applications and the icons of the loaded second type of applications corresponding to the system account are rendered and displayed on the vehicle computer.
[0164] In an optional manner, the method further includes:
[0165] If it is determined that the system account has changed, the application account of the first type of application displayed on the vehicle computer is controlled to switch to the application account of the first type of application corresponding to the system account.
[0166] In an optional manner, the controlling the application account of the first type of application in the first user space, switching to the application account of the first type of application corresponding to the system account, includes:
[0167] A second account switching instruction is sent to the first type of application in the first user space; wherein the second account switching instruction is used to control the application account of the first type of application, switching to the application account of the first type of application corresponding to the system account indicated by the second account switching instruction.
[0168] In an optional manner, the method further includes:
[0169] In response to an application installation instruction when the system account for logging into the vehicle computer is a sub-account, if it is determined that the application type of the application to be installed is the first type, the application to be installed is installed in the first user space, and the icon of the application to be installed is stored in the first user space.
[0170] In an optional manner, the method further includes:
[0171] In response to an application installation instruction when the system account for logging into the vehicle computer is a sub-account, if it is determined that the application type of the application to be installed is the second type, and the sub-account installs the application to be installed for the first time, a second user space for the sub-account is created; wherein the second type is a type of application that is not shared by the system account; and the second user space is the user space corresponding to the sub-account of the vehicle computer.
[0172] In an optional manner, the method further includes:
[0173] In response to a login instruction, if it is determined that the system account indicated by the login instruction is a sub-account, icons of the first type of applications included are loaded from the first user space, and icons of the second type of applications included are loaded from the second user space corresponding to the sub-account, and the loaded icons of the first type of applications and the icons of the second type of applications are displayed on the vehicle computer.
[0174] From the above, it can be seen that the vehicle computer provided by the embodiment of the present invention can realize application sharing of the first type of applications in each system account, without installing the first type of applications in the user space of each system account, thereby reducing the occupancy rate of the vehicle computer storage space.
[0175] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a vehicle computer / vehicle computer control device, the vehicle computer / vehicle computer control device executes the vehicle computer control method in any of the above method embodiments.
[0176] The executable instructions can be used to enable the vehicle computer / vehicle computer control device to perform the following operations:
[0177] In response to a start instruction for a target application when the system account for logging into the vehicle computer is a sub-account, obtaining an application type of the target application indicated by the start instruction;
[0178] If it is determined that the application type of the target application is the first type, the target application is controlled to run in the first user space of the vehicle computer; wherein the first type is the type of application that can be shared by the system account; the first user space is the user space corresponding to the main account of the vehicle computer.
[0179] In an optional manner, controlling the target application to run in the first user space of the vehicle computer includes:
[0180] In response to a download instruction for the target data in the target application, if it is determined that the target data exists in the first user space, the target data is executed; if it is determined that the target data does not exist in the first user space, the target data is downloaded to the first user space and the target data is executed.
[0181] In an optional manner, the method further includes:
[0182] When the vehicle computer logged in based on the system account runs the target application for the first time, the permission request information of the target application is displayed on the vehicle computer;
[0183] In response to a confirmation instruction from the user, permission information of the target application is obtained, and the permission information of the target application is stored in a permission directory corresponding to the system account in the first user space.
[0184] In an optional manner, controlling the target application to run in the first user space of the vehicle computer includes:
[0185] According to the system account, determining, in the first user space, a permission directory corresponding to the system account;
[0186] Determining permission information of a target application corresponding to the system account from the permission directory corresponding to the system account;
[0187] According to the permission information of the target application corresponding to the system account, the target application is controlled to run in the first user space of the vehicle computer.
[0188] In an optional manner, the method further includes:
[0189] If it is determined that the application type of the target application is the second type, the target application is controlled to run in a second user space corresponding to the sub-account; wherein the second type is the type of application not shared by the system account; and the second user space is the user space corresponding to the sub-account of the vehicle computer.
[0190] In an optional manner, the method further includes:
[0191] In response to a first account switching instruction, determining whether the system account indicated by the first account switching instruction is a primary account;
[0192] If yes, then load the icon of the second type of application corresponding to the system account from the first user space; if no, load the icon of the second type of application corresponding to the system account from the second user space corresponding to the sub-account; wherein the second type is the type of application that is not shared by the system account;
[0193] Acquire an icon of a loaded application of the first type from a cache of the vehicle computer;
[0194] The icons of the loaded first type of applications and the icons of the loaded second type of applications corresponding to the system account are rendered and displayed on the vehicle computer.
[0195] In an optional manner, the method further includes:
[0196] If it is determined that the system account has changed, the application account of the first type of application displayed on the vehicle computer is controlled to switch to the application account of the first type of application corresponding to the system account.
[0197] In an optional manner, the controlling the application account of the first type of application in the first user space, switching to the application account of the first type of application corresponding to the system account, includes:
[0198] A second account switching instruction is sent to the first type of application in the first user space; wherein the second account switching instruction is used to control the application account of the first type of application, switching to the application account of the first type of application corresponding to the system account indicated by the second account switching instruction.
[0199] In an optional manner, the method further includes:
[0200] In response to an application installation instruction when the system account for logging into the vehicle computer is a sub-account, if it is determined that the application type of the application to be installed is the first type, the application to be installed is installed in the first user space, and the icon of the application to be installed is stored in the first user space.
[0201] In an optional manner, the method further includes:
[0202] In response to an application installation instruction when the system account for logging into the vehicle computer is a sub-account, if it is determined that the application type of the application to be installed is the second type, and the sub-account installs the application to be installed for the first time, a second user space for the sub-account is created; wherein the second type is a type of application that is not shared by the system account; and the second user space is the user space corresponding to the sub-account of the vehicle computer.
[0203] In an optional manner, the method further includes:
[0204] In response to a login instruction, if it is determined that the system account indicated by the login instruction is a sub-account, icons of the first type of applications included are loaded from the first user space, and icons of the second type of applications included are loaded from the second user space corresponding to the sub-account, and the loaded icons of the first type of applications and the icons of the second type of applications are displayed on the vehicle computer.
[0205] From the above, it can be seen that the computer-readable storage medium provided by an embodiment of the present invention stores at least one executable instruction. When the executable instruction is run on the vehicle computer / vehicle computer control device, it can realize application sharing of the first type of applications in each system account, without the need to install the first type of applications in the user space of each system account, thereby reducing the occupancy rate of the vehicle computer storage space.
[0206] An embodiment of the present invention provides a vehicle, on which a vehicle computer is provided, and the vehicle computer can execute the vehicle computer control method described in the above embodiment.
[0207] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0208] The methods disclosed in the various method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments.
[0209] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.
[0210] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.
[0211] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A vehicle control method, characterized in that: The method comprises: In response to a start instruction for a target application when the system account for logging into the vehicle computer is a sub-account, obtaining an application type of the target application indicated by the start instruction; If it is determined that the application type of the target application is the first type, the target application is controlled to run in the first user space of the vehicle computer; wherein the first type is the type of application that can be shared by the system account; the first user space is the user space corresponding to the main account of the vehicle computer.
2. The method according to claim 1, characterized in that The controlling the target application to run in the first user space of the vehicle computer includes: In response to a download instruction for the target data in the target application, if it is determined that the target data exists in the first user space, the target data is executed; if it is determined that the target data does not exist in the first user space, the target data is downloaded to the first user space and the target data is executed.
3. The method according to claim 1, characterized in that The method further comprises: If it is determined that the vehicle computer logged in by the system account runs the target application for the first time, displaying the permission request information of the target application on the vehicle computer; In response to a confirmation instruction from the user, permission information of the target application is obtained, and the permission information of the target application is stored in a permission directory corresponding to the system account in the first user space.
4. The method according to claim 3, characterized in that The controlling the target application to run in the first user space of the vehicle computer includes: According to the system account, determining, in the first user space, a permission directory corresponding to the system account; Determining permission information of a target application corresponding to the system account from the permission directory corresponding to the system account; According to the permission information of the target application corresponding to the system account, the target application is controlled to run in the first user space of the vehicle computer.
5. The method according to claim 1, characterized in that The method further comprises: If it is determined that the application type of the target application is the second type, the target application is controlled to run in a second user space corresponding to the sub-account; wherein the second type is the type of application not shared by the system account; and the second user space is the user space corresponding to the sub-account of the vehicle computer.
6. The method according to claim 1, characterized in that The method further comprises: In response to a first account switching instruction, determining whether the system account indicated by the first account switching instruction is a primary account; If yes, then load the icon of the second type of application corresponding to the system account from the first user space; if no, load the icon of the second type of application corresponding to the system account from the second user space corresponding to the sub-account; wherein the second type is the type of application that is not shared by the system account; Acquire an icon of a loaded application of the first type from a cache of the vehicle computer; The icons of the loaded first type of applications and the icons of the loaded second type of applications corresponding to the system account are rendered and displayed on the vehicle computer.
7. The method according to claim 6, characterized in that The method further comprises: If it is determined that the system account has changed, the application account of the first type of application displayed on the vehicle computer is controlled to switch to the application account of the first type of application corresponding to the system account.
8. The method according to claim 7, characterized in that The controlling the application account of the first type of application in the first user space to switch to the application account of the first type of application corresponding to the system account includes: A second account switching instruction is sent to the first type of application in the first user space; wherein the second account switching instruction is used to control the application account of the first type of application, switching to the application account of the first type of application corresponding to the system account indicated by the second account switching instruction.
9. The method according to claim 1, characterized in that: The method further comprises: In response to an application installation instruction when the system account for logging into the vehicle computer is a sub-account, if it is determined that the application type of the application to be installed is the first type, the application to be installed is installed in the first user space, and the icon of the application to be installed is stored in the first user space.
10. The method according to claim 9, characterized in that The method further comprises: In response to an application installation instruction when the system account for logging into the vehicle computer is a sub-account, if it is determined that the application type of the application to be installed is the second type, and the sub-account installs the application to be installed for the first time, a second user space for the sub-account is created; wherein the second type is a type of application that is not shared by the system account; and the second user space is the user space corresponding to the sub-account of the vehicle computer.
11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: In response to a login instruction, if it is determined that the system account indicated by the login instruction is a sub-account, icons of the first type of applications included are loaded from the first user space, and icons of the second type of applications included are loaded from the second user space corresponding to the sub-account, and the loaded icons of the first type of applications and the icons of the second type of applications are displayed on the vehicle computer.
12. A vehicle computer, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the vehicle control method as described in any one of claims 1-11.
Citation Information
Patent Citations
Vehicle machine user data sharing method, device and system, vehicle machine and vehicle
CN110062021A
In-vehicle infotainment device application configuration method, in-vehicle infotainment device one-key connection application method and in-vehicle infotainment device system
CN115700473A
Application account management method and related device
CN117951664A
