CN116301491A - Application icon display method and device, vehicle and storage medium - Google Patents
Application icon display method and device, vehicle and storage medium Download PDFInfo
- Publication number
- CN116301491A CN116301491A CN202310270176.8A CN202310270176A CN116301491A CN 116301491 A CN116301491 A CN 116301491A CN 202310270176 A CN202310270176 A CN 202310270176A CN 116301491 A CN116301491 A CN 116301491A
- Authority
- CN
- China
- Prior art keywords
- target application
- icon
- application
- vehicle
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请提供了一种应用图标的显示方法、装置、车辆和存储介质,该方法包括:获取车辆的当前状态值;根据所述当前状态值以及所述车辆中的目标应用对应的开启条件,确定所述目标应用是否满足所述开启条件;其中,所述目标应用的图标包括第一图标和第二图标;当所述目标应用满足开启条件时,显示所述目标应用的所述第一图标;当所述目标应用不满足开启条件时,显示所述目标应用的所述第二图标。该方法能够使得用户快速的通过应用的图标了解应用在当前状态下是否可以使用,对用户来说更加便利。
The present application provides a method and device for displaying application icons, a vehicle, and a storage medium. The method includes: obtaining the current state value of the vehicle; and determining the Whether the target application meets the opening condition; wherein, the icon of the target application includes a first icon and a second icon; when the target application meets the opening condition, display the first icon of the target application; Displaying the second icon of the target application when the target application does not meet the opening condition. This method enables the user to quickly know whether the application is available in the current state through the icon of the application, which is more convenient for the user.
Description
技术领域technical field
本申请涉及计算机领域,并且更具体地,涉及计算机领域中一种应用图标的显示方法、装置、车辆和存储介质。The present application relates to the computer field, and more specifically, to a method, device, vehicle and storage medium for displaying application icons in the computer field.
背景技术Background technique
从行车安全角度考虑,目前车机中大部分与车关联的应用、视频/游戏类应用均存在开启条件:视频/游戏类应用需要在P档状态且车速为0时才可以使用等等。大部分主流车机中,都是点击应用图标,当应用正式启动后才可以通过页面或者弹框显示当前不可使用,这对用户来说不够方便。From the perspective of driving safety, most of the car-related applications and video/game applications in the car currently have opening conditions: video/game applications need to be in the P state and the vehicle speed is 0 before they can be used, etc. In most mainstream cars, the application icon is clicked. After the application is officially launched, it can be displayed on the page or pop-up box that it is currently unavailable, which is not convenient for users.
发明内容Contents of the invention
本申请提供了一种应用图标的显示方法、装置、车辆和存储介质,该方法能够使得用户快速的通过应用的图标了解应用在当前状态下是否可以使用,对用户来说更加便利。The present application provides a display method, device, vehicle and storage medium of an application icon. The method enables the user to quickly know whether the application is available in the current state through the application icon, which is more convenient for the user.
第一方面,提供了一种应用图标的显示方法,该方法包括:获取车辆的当前状态值;根据所述当前状态值以及所述车辆中的目标应用对应的开启条件,确定所述目标应用是否满足所述开启条件;其中,所述目标应用的图标包括第一图标和第二图标;当所述目标应用满足所述开启条件时,显示所述目标应用的所述第一图标;当所述目标应用不满足所述开启条件时,显示所述目标应用的所述第二图标。In a first aspect, a method for displaying an application icon is provided, the method comprising: acquiring a current state value of a vehicle; and determining whether the target application is The opening condition is met; wherein, the icon of the target application includes a first icon and a second icon; when the target application meets the opening condition, displaying the first icon of the target application; when the displaying the second icon of the target application when the target application does not satisfy the opening condition.
在上述技术方案中,通过获取车辆的当前状态值,根据当前状态值以及车辆中的目标应用对应的开启条件,确定目标应用是否满足所述开启条件,从而在目标应用满足开启条件时,显示目标应用的第一图标,而在目标应用不满足开启条件时,显示目标应用的第二图标。由于,目标应用在满足开启条件和不满足开启条件的情况下,显示的是不同的图标,从而使得用户可以快速的通过目标应用的图标了解当前是否满足目标应用的开启条件,即目标应用当前是否可以使用,对用户来说更加便利。In the above technical solution, by obtaining the current status value of the vehicle, according to the current status value and the corresponding activation condition of the target application in the vehicle, it is determined whether the target application satisfies the activation condition, so that when the target application meets the activation condition, the target application is displayed. The first icon of the application is displayed, and when the target application does not meet the opening condition, the second icon of the target application is displayed. Since the target application displays different icons when it satisfies the opening conditions and does not meet the opening conditions, so that the user can quickly know whether the opening conditions of the target application are currently satisfied through the icon of the target application, that is, whether the target application is currently It can be used, which is more convenient for users.
结合第一方面,在某些可能的实现方式中,在所述获取车辆的当前状态值之前,所述方法还包括:解析所述车辆中的应用安装包的清单文件;其中,所述清单文件中包括所述目标应用对应的开启条件、所述目标应用的第一图标和第二图标;根据所述清单文件,获取所述车辆中的所述目标应用对应的开启条件以及所述目标应用的第一图标和第二图标。With reference to the first aspect, in some possible implementation manners, before the acquiring the current state value of the vehicle, the method further includes: parsing the manifest file of the application installation package in the vehicle; wherein the manifest file include the opening condition corresponding to the target application, the first icon and the second icon of the target application; according to the manifest file, obtain the opening condition corresponding to the target application in the vehicle and the target application First icon and second icon.
结合第一方面和上述实现方式,在某些可能的实现方式中,所述获取车辆的当前状态值,包括:根据所述目标应用对应的开启条件,确定与所述目标应用对应的开启条件所匹配的目标状态;获取所述车辆的所述目标状态的当前状态值。With reference to the first aspect and the above implementation manners, in some possible implementation manners, the obtaining the current state value of the vehicle includes: determining the activation condition corresponding to the target application according to the activation condition corresponding to the target application. A matched target state; obtaining a current state value of the target state of the vehicle.
在上述技术方案中,先根据目标应用对应的开启条件,确定与目标应用对应的开启条件所匹配的目标状态。从而,可以针对性的获取车辆的目标状态的当前状态值,以更好的基于当前状态值进行目标应用是否满足其对应的开启条件的判断。In the above technical solution, firstly, according to the activation condition corresponding to the target application, the target state matching the activation condition corresponding to the target application is determined. Therefore, the current state value of the target state of the vehicle can be acquired in a targeted manner, so as to better judge whether the target application satisfies its corresponding activation condition based on the current state value.
结合第一方面和上述实现方式,在某些可能的实现方式中,在所述显示所述目标应用的所述第二图标之后,所述方法还包括:若检测到用户点击所述第二图标,拒绝启动所述目标应用,并发出提示信息;其中,所述提示信息包括拒绝启动所述目标应用的原因。With reference to the first aspect and the above implementation manners, in some possible implementation manners, after displaying the second icon of the target application, the method further includes: if it is detected that the user clicks on the second icon , refusing to start the target application, and sending a prompt message; wherein, the prompt message includes a reason for refusing to start the target application.
在上述技术方案中,当不满足目标应用的开启条件时,拒绝用户启动目标应用,在一定程度上有利于保证行车安全,同时还提醒用户当前是由于什么原因导致应用无法开启,有利于提升用户体验。In the above technical solution, when the opening conditions of the target application are not satisfied, the user is refused to start the target application, which is beneficial to ensure driving safety to a certain extent, and at the same time reminds the user of the current reason why the application cannot be opened, which is conducive to improving user experience.
结合第一方面和上述实现方式,在某些可能的实现方式中,所述目标应用的图标中还添加有用于表征所述开启条件的标识。With reference to the first aspect and the foregoing implementation manners, in some possible implementation manners, an identifier for representing the opening condition is further added to the icon of the target application.
在上述技术方案中,由于目标应用的图标中还添加有用于表征开启条件的标识,从而使得用户可以通过该标识更加方便的得知目标应用对应的开启条件。In the above technical solution, since the icon of the target application is also added with a mark for representing the opening condition, the user can more conveniently know the opening condition corresponding to the target application through the mark.
结合第一方面和上述实现方式,在某些可能的实现方式中,所述开启条件的设定方式包括以下之一或其任意组合:基于所述目标应用的开启是否会影响行车安全而设定;基于所述目标应用的开启是否为行车必要而设定;基于所述目标应用的开启用户是否为目标用户而设定;基于所述目标应用的开启时间点是否处于目标时间段而设定。In combination with the first aspect and the above-mentioned implementation manners, in some possible implementation manners, the setting method of the opening condition includes one of the following or any combination thereof: setting based on whether the opening of the target application will affect driving safety ; set based on whether the opening of the target application is necessary for driving; set based on whether the opening user of the target application is a target user; set based on whether the opening time of the target application is within the target time period.
在上述技术方案中,基于目标应用的开启是否会影响行车安全而设定的开启条件,有利于在用户使用目标应用的同时,确保行车安全。基于目标应用的开启是否为行车必要而设定的开启条件,有利于避免启动不必要的应用。基于目标应用的开启用户是否为目标用户而设定的开启条件,有利于避免除目标用户之外的其他用户启动目标应用,提高目标应用的私密性。基于目标应用的开启时间点是否处于目标时间段而设定的开启条件,有利于避免除目标时间段之外的其他时间点启动目标应用。上述技术方案中提供了多种开启条件的设定方式,有利于满足用户的多种个性化需求,提高用户的使用体验。In the above technical solution, the activation condition set based on whether the activation of the target application will affect driving safety is beneficial to ensure driving safety while the user is using the target application. The opening condition set based on whether the opening of the target application is necessary for driving is beneficial to avoid launching unnecessary applications. The opening condition set based on whether the opening user of the target application is the target user is beneficial to prevent other users except the target user from starting the target application and improve the privacy of the target application. The opening condition set based on whether the opening time point of the target application is within the target time period is beneficial to avoid starting the target application at other time points except the target time period. The above technical solution provides multiple ways of setting opening conditions, which is conducive to meeting various individual needs of users and improving user experience.
结合第一方面和上述实现方式,在某些可能的实现方式中,在所述获取车辆的当前状态值之前,所述方法还包括:检测到预设控制策略被开启。With reference to the first aspect and the above implementation manners, in some possible implementation manners, before the acquiring the current state value of the vehicle, the method further includes: detecting that a preset control strategy is activated.
在上述技术方案中,为用户提供选择,使得用户可以根据实际需求选择是否要基于车辆的当前状态值,动态的显示目标应用的图标,有利于满足用户的个性化需求,提高用户的使用体验。In the above technical solution, the user is provided with a choice, so that the user can choose whether to dynamically display the icon of the target application based on the current state value of the vehicle according to actual needs, which is conducive to meeting the personalized needs of the user and improving the user experience.
第二方面,提供了一种应用图标的显示装置,该装置包括:第一获取模块,用于获取车辆的当前状态值;确定模块,用于根据所述当前状态值以及所述车辆中的目标应用对应的开启条件,确定所述目标应用是否满足所述开启条件;其中,所述目标应用的图标包括第一图标和第二图标;第一显示模块,用于当所述目标应用满足开启条件时,显示所述目标应用的所述第一图标;第二显示模块,用于当所述目标应用不满足开启条件时,显示所述目标应用的所述第二图标。In a second aspect, there is provided a device for displaying application icons, which includes: a first acquiring module, configured to acquire a current state value of a vehicle; a determining module, configured to apply the corresponding opening condition, and determine whether the target application satisfies the opening condition; wherein, the icon of the target application includes a first icon and a second icon; the first display module is used for when the target application meets the opening condition , displaying the first icon of the target application; a second display module configured to display the second icon of the target application when the target application does not meet the opening condition.
结合第二方面,在某些可能的实现方式中,该装置还包括:解析模块和第二获取模块,解析模块用于解析所述车辆中的应用安装包的清单文件;其中,所述清单文件中包括所述目标应用对应的开启条件、所述目标应用的第一图标和第二图标;第二获取模块用于根据所述清单文件,获取所述车辆中的所述目标应用对应的开启条件以及所述目标应用的第一图标和第二图标。With reference to the second aspect, in some possible implementation manners, the device further includes: a parsing module and a second acquisition module, the parsing module is configured to parse the manifest file of the application installation package in the vehicle; wherein, the manifest file including the opening condition corresponding to the target application, the first icon and the second icon of the target application; the second acquiring module is configured to acquire the opening condition corresponding to the target application in the vehicle according to the manifest file And the first icon and the second icon of the target application.
结合第二方面,在某些可能的实现方式中,第一获取模块具体用于:根据所述目标应用对应的开启条件,确定与所述目标应用对应的开启条件所匹配的目标状态;获取所述车辆的所述目标状态的当前状态值。With reference to the second aspect, in some possible implementation manners, the first acquiring module is specifically configured to: determine the target state that matches the activation condition corresponding to the target application according to the activation condition corresponding to the target application; acquire the A current state value of the target state of the vehicle.
结合第二方面,在某些可能的实现方式中,该装置还包括:提示模块,提示模块用于若检测到用户点击所述第二图标,拒绝启动所述目标应用,并发出提示信息;其中,所述提示信息包括拒绝启动所述目标应用的原因。With reference to the second aspect, in some possible implementation manners, the device further includes: a prompt module, configured to refuse to start the target application and send a prompt message if it is detected that the user clicks the second icon; , the prompt information includes a reason for refusing to start the target application.
结合第二方面,在某些可能的实现方式中,所述目标应用的图标中还添加有用于表征所述开启条件的标识。With reference to the second aspect, in some possible implementation manners, an identifier for representing the opening condition is further added to the icon of the target application.
结合第二方面,在某些可能的实现方式中,所述开启条件的设定方式包括以下之一或其任意组合:基于所述目标应用的开启是否会影响行车安全而设定;基于所述目标应用的开启是否为行车必要而设定;基于所述目标应用的开启用户是否为目标用户而设定;基于所述目标应用的开启时间点是否处于目标时间段而设定。With reference to the second aspect, in some possible implementations, the setting method of the opening condition includes one of the following or any combination thereof: setting based on whether the opening of the target application will affect driving safety; It is set whether the opening of the target application is necessary for driving; it is set based on whether the opening user of the target application is a target user; and it is set based on whether the opening time of the target application is within the target time period.
结合第二方面,在某些可能的实现方式中,该装置还包括:检测模块,检测模块用于在所述获取车辆的当前状态值之前,检测到预设控制策略被开启。With reference to the second aspect, in some possible implementation manners, the device further includes: a detection module, configured to detect that a preset control strategy is activated before the acquisition of the current state value of the vehicle.
第三方面,提供一种车辆,包括存储器和处理器。该存储器用于存储可执行程序代码,该处理器用于从存储器中调用并运行该可执行程序代码,使得该车辆执行上述第一方面或第一方面任意一种可能的实现方式中的方法。In a third aspect, a vehicle is provided, including a memory and a processor. The memory is used to store executable program codes, and the processor is used to call and run the executable program codes from the memory, so that the vehicle executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
第四方面,提供了一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码在计算机上运行时,使得该计算机执行上述第一方面或第一方面任意一种可能的实现方式中的方法。In a fourth aspect, a computer program product is provided, and the computer program product includes: computer program code, when the computer program code is run on a computer, the computer is made to execute any one of the above-mentioned first aspect or any one of the possible steps of the first aspect. method in the implementation.
第五方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序代码,当该计算机程序代码在计算机上运行时,使得该计算机执行上述第一方面或第一方面任意一种可能的实现方式中的方法。In a fifth aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores computer program codes, and when the computer program codes run on a computer, the computer executes the above-mentioned first aspect or any of the first aspects. A method in one possible implementation.
附图说明Description of drawings
图1是本申请实施例提供的一种应用图标的显示方法的示意性流程图;FIG. 1 is a schematic flowchart of a method for displaying an application icon provided in an embodiment of the present application;
图2是本申请实施例提供的另一种应用图标的显示方法的示意性流程图;FIG. 2 is a schematic flow chart of another method for displaying application icons provided by an embodiment of the present application;
图3是本申请实施例提供的一种Apk清单文件的示意图;Fig. 3 is a schematic diagram of an Apk manifest file provided by the embodiment of the present application;
图4是本申请实施例提供的一种应用图标的显示装置的结构示意图;FIG. 4 is a schematic structural diagram of a display device for application icons provided by an embodiment of the present application;
图5是本申请实施例提供的一种车辆的结构示意图。Fig. 5 is a schematic structural diagram of a vehicle provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行清楚、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B:文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solution in this application will be described clearly and in detail below in conjunction with the accompanying drawings. Among them, in the description of the embodiments of this application, unless otherwise specified, "/" means or means, for example, A/B can mean A or B: "and/or" in the text is only a description of associated objects The association relationship indicates that there may be three kinds of relationships, such as A and/or B, which may indicate that A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiment of the present application, "A plurality" means two or more than two.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者多个该特征。Hereinafter, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as implying or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of these features.
从行车安全角度考虑,目前车机中大部分与车关联的应用、视频/游戏类应用均存在开启条件:比如车控车设模块需要电源模式ON时才可以使用;视频/游戏类应用需要在P档状态且车速为0时才可以使用等等。From the perspective of driving safety, most of the car-related applications and video/game applications in the car currently have opening conditions: for example, the car control device module can only be used when the power mode is ON; It can only be used when the P gear is in state and the vehicle speed is 0, etc.
然而,本申请的发明人发现:大部分主流车机中,都是点击应用图标,当应用正式启动后才可以通过页面或者弹框显示当前不可使用,这对用户来说不够方便。However, the inventors of the present application found that in most mainstream vehicles, the application icon is clicked, and the page or pop-up box displays that the application is currently unavailable only after the application is officially launched, which is not convenient for the user.
为了解决上述技术问题,本申请实施例提供了一种应用图标的显示方法、装置、车辆和存储介质,本实施例中,通过对车辆中安装的应用的图标进行显示控制,使得用户快速的通过应用的图标了解应用在当前状态下是否可以使用,对用户来说更加便利。In order to solve the above technical problems, embodiments of the present application provide a display method, device, vehicle, and storage medium for application icons. In this embodiment, by controlling the display of application icons installed in the vehicle, users can quickly pass through It is more convenient for users to know whether the application is available in the current state through the icon of the application.
下面首先对应用图标的显示方法的实施例进行介绍:The following firstly introduces an embodiment of a method for displaying an application icon:
本实施例中的应用图标的显示方法的执行主体可以为车辆,具体可以为车辆中的控制器、处理器等。本实施例中,通过对车辆中安装的应用的图标进行显示控制,使得用户快速的通过应用的图标了解应用在当前状态下是否可以使用,对用户来说更加便利。The execution subject of the method for displaying application icons in this embodiment may be a vehicle, specifically, a controller, a processor, etc. in the vehicle. In this embodiment, by controlling the display of the icons of the applications installed in the vehicle, the user can quickly know whether the applications are available in the current state through the icons of the applications, which is more convenient for the users.
图1是本申请实施例提供的一种应用图标的显示方法的示意性流程图。FIG. 1 is a schematic flowchart of a method for displaying application icons provided by an embodiment of the present application.
示例性的,如图1所示,该方法包括:Exemplarily, as shown in Figure 1, the method includes:
步骤101:获取车辆的当前状态值。Step 101: Obtain the current state value of the vehicle.
步骤102:根据当前状态值以及车辆中的目标应用对应的开启条件,确定目标应用是否满足开启条件。如果是,则执行步骤103,否则执行步骤104。Step 102: According to the current state value and the activation condition corresponding to the target application in the vehicle, determine whether the target application satisfies the activation condition. If yes, go to step 103, otherwise go to step 104.
步骤103:显示目标应用的第一图标。Step 103: Displaying the first icon of the target application.
步骤104:显示目标应用的第二图标。Step 104: Displaying a second icon of the target application.
在图1所示的实施例中,通过获取车辆的当前状态值,根据当前状态值以及车辆中的目标应用对应的开启条件,确定目标应用是否满足所述开启条件,从而在目标应用满足开启条件时,显示目标应用的第一图标,而在目标应用不满足开启条件时,显示目标应用的第二图标。由于,目标应用在满足开启条件和不满足开启条件的情况下,显示的是不同的图标,从而使得用户可以快速的通过目标应用的图标了解当前是否满足目标应用的开启条件,即目标应用当前是否可以使用,对用户来说更加便利。In the embodiment shown in FIG. 1 , by acquiring the current state value of the vehicle, according to the current state value and the corresponding activation condition of the target application in the vehicle, it is determined whether the target application satisfies the activation condition, so that the target application satisfies the activation condition , the first icon of the target application is displayed, and when the target application does not satisfy the opening condition, the second icon of the target application is displayed. Since the target application displays different icons when it satisfies the opening conditions and does not meet the opening conditions, so that the user can quickly know whether the opening conditions of the target application are currently satisfied through the icon of the target application, that is, whether the target application is currently It can be used, which is more convenient for users.
以下对图1所示实施例中各个步骤的具体实施方式进行详细说明:The specific implementation of each step in the embodiment shown in Figure 1 is described in detail below:
在步骤101中,车辆中的控制器可以在车机系统启动后,实时监控车辆的当前状态值。其中,车辆的当前状态值用于表征车辆当前的行驶状态和/或环境状态。上述行驶状态可以包括但不限于:车辆的行驶速度值、车辆的电源设置值、车辆的电量剩余值、车辆的持续行驶时间、车辆的连续行驶距离、车辆的档位状态等。上述环境状态可以包括但不限于:车辆所处的网络状态、车辆所处的天气状态等。In
在步骤102中,车辆中的控制器可以根据车辆的当前状态值以及车辆中的目标应用对应的开启条件,确定目标应用是否满足所述开启条件。其中,目标应用可以为车机系统中安装的所有应用中设置有开启条件的应用。可以理解的是,车机系统中安装的应用中可能存在设置有开启条件的应用,也可能存在未设置开启条件的应用,本实施例中,可以将设置有开启条件的应用作为目标应用。本实施例中,可以预存有目标应用的包名、开启条件、第一图标以及第二图标的对应关系表。从而,根据该对应关系表可以确定该目标应用对应的开启条件,进而确定目标应用是否满足其对应的开启条件。In
在示例性的实施例中,开启条件的设定方式包括以下之一或其任意组合:基于所述目标应用的开启是否会影响行车安全而设定;基于所述目标应用的开启是否为行车必要而设定;基于所述目标应用的开启用户是否为目标用户而设定;基于所述目标应用的开启时间点是否处于目标时间段而设定。下面分别进行介绍:In an exemplary embodiment, the setting method of the opening condition includes one of the following or any combination thereof: setting based on whether the opening of the target application will affect driving safety; setting based on whether the opening of the target application is necessary for driving It is set; it is set based on whether the user who starts the target application is the target user; it is set based on whether the start time of the target application is within the target time period. The following are the introductions:
示例性的,开启条件包括:基于目标应用的开启是否会影响行车安全设定的开启条件。比如,目标应用包括视频类应用和游戏类应用,当车辆的行驶速度值较大时,视频类应用和游戏类应用的开启会影响行车安全。基于此,视频类应用和游戏类应用对应的开启条件可以包括:车辆的行驶速度值低于预设速度值,或,车辆的行驶速度值为0或,车辆的行驶速度值为0且档位状态为P档。其中,预设速度值可以根据实际需要进行设置,比如,如果对安全要求较高,则预设速度值可以设置的较小。如果对安全要求较低,则预设速度值可以设置的较大。Exemplarily, the activation condition includes: an activation condition set based on whether the activation of the target application will affect driving safety. For example, the target applications include video applications and game applications, and when the driving speed of the vehicle is relatively large, enabling the video application and the game application will affect driving safety. Based on this, the opening conditions corresponding to video-type applications and game-type applications may include: the driving speed value of the vehicle is lower than the preset speed value, or the driving speed value of the vehicle is 0 or the driving speed value of the vehicle is 0 and the gear is The status is P file. Wherein, the preset speed value can be set according to actual needs, for example, if the safety requirement is high, the preset speed value can be set to be smaller. If the safety requirement is low, the preset speed value can be set larger.
比如,假设视频类应用和游戏类应用对应的开启条件可以包括:车辆的行驶速度值低于预设速度值,则如果监控到车辆当前的行驶速度值低于预设速度值,则可以确定视频类应用和游戏类应用满足对应的开启条件。如果监控到车辆当前的行驶速度值高于预设速度值,则可以确定视频类应用和游戏类应用不满足对应的开启条件。For example, assuming that the opening conditions corresponding to video applications and game applications may include: the driving speed value of the vehicle is lower than the preset speed value, then if it is monitored that the current driving speed value of the vehicle is lower than the preset speed value, it can be determined that the video The class application and the game class application meet the corresponding opening conditions. If it is monitored that the current driving speed value of the vehicle is higher than the preset speed value, it may be determined that the video application and the game application do not meet the corresponding opening conditions.
示例性的,开启条件包括:基于目标应用的开启是否为行车必要而设定的开启条件。比如,目标应用包括车控车设应用,当车辆的电源设置值为OFF时,车控车设应用的开启是不必要的。基于此,车控车设应用对应的开启条件可以包括:车辆的电源设置值为ON。如果监控到车辆当前的电源设置值为ON,则可以确定车控车设应用满足对应的开启条件。如果监控到车辆当前的电源设置值为OFF,则可以确定车控车设应用不满足对应的开启条件。其中,车控车设应用可以理解为:和车辆的参数设置以及车辆的控制相关的应用,比如可以为控制车载空调的应用、调节座椅靠背的应用等。Exemplarily, the opening condition includes: an opening condition set based on whether the opening of the target application is necessary for driving. For example, the target application includes a vehicle-controlled vehicle-device application, and when the power setting value of the vehicle is OFF, the activation of the vehicle-controlled vehicle-device application is unnecessary. Based on this, the activation condition corresponding to the vehicle-controlled vehicle-device application may include: the power supply setting value of the vehicle is ON. If it is monitored that the current power setting value of the vehicle is ON, it can be determined that the vehicle control vehicle device application satisfies the corresponding activation condition. If it is monitored that the current power setting value of the vehicle is OFF, it can be determined that the vehicle control and vehicle device application does not meet the corresponding activation condition. Among them, the vehicle control vehicle device application can be understood as: the application related to the parameter setting of the vehicle and the control of the vehicle, such as the application of controlling the vehicle air conditioner and the application of adjusting the seat back.
示例性的,开启条件包括:基于目标应用的开启用户是否为目标用户而设定的开启条件。比如,对于目标应用可以设定允许启动的目标用户,使得只有目标用户可以启动目标应用,除目标用户之外的其他用户无法开启目标应用。基于此,开启条件可以包括:目标应用的开启用户为目标用户。Exemplarily, the opening condition includes: an opening condition set based on whether the opening user of the target application is the target user. For example, target users allowed to start can be set for the target application, so that only the target user can start the target application, and other users except the target user cannot start the target application. Based on this, the opening condition may include: the opening user of the target application is the target user.
示例性的,开启条件包括:基于目标应用的开启时间点是否处于目标时间段而设定的开启条件。比如,对于目标应用可以设定允许启动的目标时间段,使得只有在目标时间段可以启动目标应用,除目标时间段之外的其他时间段无法开启目标应用。基于此,开启条件可以包括:目标应用的开启时间段为目标时间段。Exemplarily, the opening condition includes: an opening condition set based on whether the opening time point of the target application is within the target time period. For example, a target application can be set to be allowed to start a target time period, so that the target application can be started only in the target time period, and the target application cannot be started in other time periods except the target time period. Based on this, the opening condition may include: the opening time period of the target application is the target time period.
示例性的,开启条件包括:基于车辆当前的网络状态是否符合目标应用所需的网络条件而设定的开启条件。比如,不同的目标应用所需的网络条件可能存在差异,为了保证用户的使用体验,开启条件可以包括:当前的网络状态符合目标应用所需的网络条件。Exemplarily, the opening condition includes: an opening condition set based on whether the current network state of the vehicle meets the network condition required by the target application. For example, the network conditions required by different target applications may be different. In order to ensure user experience, the enabling conditions may include: the current network status meets the network conditions required by the target application.
示例性的,开启条件包括:基于车辆当前的模式状态是否允许目标应用开启而设定的开启条件。比如,车辆的模式可以包括:隐私模式、儿童模式、高速模式等,不同模式下均对应有允许启动的应用。基于此,开启条件可以包括:目标应用为车辆在当前的模式下允许启动的应用。Exemplarily, the opening condition includes: an opening condition set based on whether the current mode state of the vehicle allows the target application to be opened. For example, the modes of the vehicle may include: a privacy mode, a child mode, a high-speed mode, etc., and each mode corresponds to an application that is allowed to be started. Based on this, the starting condition may include: the target application is an application that the vehicle is allowed to start in the current mode.
示例性的,开启条件可以包括上述示例中任意一个或多个。当开启条件包括多个时,需要确定目标应用是否同时满足多个开启条件。当车辆的当前状态值同时满足目标应用的多个开启条件时,显示目标应用的第一图标。当车辆的当前状态值无法同时满足目标应用的多个开启条件时,显示目标应用的第二图标。Exemplarily, the enabling condition may include any one or more of the above examples. When there are multiple opening conditions, it needs to be determined whether the target application satisfies multiple opening conditions at the same time. When the current state value of the vehicle simultaneously satisfies multiple activation conditions of the target application, the first icon of the target application is displayed. When the current state value of the vehicle cannot satisfy multiple activation conditions of the target application at the same time, the second icon of the target application is displayed.
本实施例中,基于目标应用的开启是否会影响行车安全而设定的开启条件,有利于在用户使用目标应用的同时,确保行车安全。基于目标应用的开启是否为行车必要而设定的开启条件,有利于避免启动不必要的应用。基于目标应用的开启用户是否为目标用户而设定的开启条件,有利于避免除目标用户之外的其他用户启动目标应用,提高目标应用的私密性。基于目标应用的开启时间点是否处于目标时间段而设定的开启条件,有利于避免除目标时间段之外的其他时间点启动目标应用。上述技术方案中提供了多种开启条件的设定方式,有利于满足用户的多种个性化需求,提高用户的使用体验。In this embodiment, the activation condition is set based on whether the activation of the target application will affect driving safety, which is beneficial to ensure driving safety while the user is using the target application. The opening condition set based on whether the opening of the target application is necessary for driving is beneficial to avoid launching unnecessary applications. The opening condition set based on whether the opening user of the target application is the target user is beneficial to prevent other users except the target user from starting the target application and improve the privacy of the target application. The opening condition set based on whether the opening time point of the target application is within the target time period is beneficial to avoid starting the target application at other time points except the target time period. The above technical solution provides multiple ways of setting opening conditions, which is conducive to meeting various individual needs of users and improving user experience.
示例性的,目标应用的图标包括第一图标和第二图标。第一图标为满足目标应用对应的开启条件时需要显示的目标应用的图标。第二图标为不满足目标应用对应的开启条件时需要显示的目标应用的图标。也就是说,第一图标和第二图标均为目标应用的图标,其两者分别是在不同条件下针对目标应用需要显示的应用图标,第一图标表征目标应用当前处于可用状态,第二图标表征目标应用当前处于不可用状态。比如,第一图标为表征当前可用的全亮图标,第二图标为表征当前不可用的灰色蒙层图标。Exemplarily, the icon of the target application includes a first icon and a second icon. The first icon is the icon of the target application that needs to be displayed when the opening condition corresponding to the target application is met. The second icon is the icon of the target application that needs to be displayed when the opening condition corresponding to the target application is not met. That is to say, both the first icon and the second icon are icons of the target application, and they are respectively application icons that need to be displayed for the target application under different conditions. The first icon indicates that the target application is currently available, and the second icon Indicates that the target application is currently unavailable. For example, the first icon is a full-brightness icon representing currently available, and the second icon is a gray mask icon representing currently unavailable.
在示例性的实施例中,目标应用的图标中还添加有用于表征开启条件的标识。比如,当显示目标应用的第一图标或是第二图标时,可以在第一图标或是第二图标的特定位置增加上述标识,以提示该目标应用的开启条件。其中,上述特定位置可以根据实际需要进行设置,比如可以设置在第一图标或是第二图标的右下角。In an exemplary embodiment, the icon of the target application is also added with a mark used to represent the opening condition. For example, when the first icon or the second icon of the target application is displayed, the above-mentioned mark may be added at a specific position of the first icon or the second icon to prompt the opening condition of the target application. Wherein, the above-mentioned specific position can be set according to actual needs, for example, it can be set at the lower right corner of the first icon or the second icon.
示例性的,目标应用为上述的车控车设应用,添加的用于表征开启条件的标识可以为电源ON。Exemplarily, the target application is the above-mentioned vehicle-controlled vehicle-device application, and the added flag used to represent the opening condition may be power ON.
示例性的,目标应用为上述的视频类应用和游戏类应用,添加的用于表征开启条件的标识可以为车速=0。Exemplarily, the target application is the above-mentioned video application and game application, and the added flag used to represent the opening condition may be vehicle speed=0.
示例性的,当目标应用的开启条件包括多个时,多个开启条件可以对应有各自的优先级,从而可以在目标应用的图标中添加有用于表征优先级最高的开启条件的标识。多个开启条件分别对应的优先级可以根据实际需要进行设置,本实施例对此不做具体限定。Exemplarily, when there are multiple opening conditions of the target application, the multiple opening conditions may correspond to respective priorities, so that an identifier representing the opening condition with the highest priority may be added to the icon of the target application. Priorities corresponding to multiple enable conditions can be set according to actual needs, which is not specifically limited in this embodiment.
示例性的,当目标应用的开启条件包括多个时,如果多个开启条件中存在目标应用不满足的开启条件,可以在目标应用的图标中添加用于表征目标开启条件的标识。该目标开启条件即为目标应用对应的多个开启条件中目标应用不满足的开启条件。通过在目标应用的图标中添加用于表征目标开启条件的标识,使得用户通过标识可以很容易看出当前不满足的是哪一个开启条件。Exemplarily, when the opening conditions of the target application include multiple opening conditions, if there is an opening condition that the target application does not meet among the multiple opening conditions, an identifier representing the target opening condition may be added to the icon of the target application. The target opening condition is an opening condition not satisfied by the target application among the multiple opening conditions corresponding to the target application. By adding a mark used to represent the target opening condition in the icon of the target application, the user can easily see which opening condition is currently not satisfied through the mark.
示例性的,当目标应用的开启条件包括多个时,也可以在目标应用的图标中添加用于表征上述多个开启条件的标识,以使得用户可以通过标识清楚得知目标应用需要满足哪些开启条件。Exemplarily, when the opening conditions of the target application include multiple ones, it is also possible to add signs representing the multiple opening conditions to the icon of the target application, so that the user can clearly know which opening conditions the target application needs to meet through the signs. condition.
本实施例中,由于目标应用的图标中还添加有用于表征开启条件的标识,从而使得用户可以通过该标识更加方便的得知目标应用对应的开启条件。In this embodiment, since the icon of the target application is also added with an identifier for representing the activation condition, the user can more conveniently know the activation condition corresponding to the target application through the identifier.
在步骤103中,可以控制车机系统的屏幕上显示目标应用的第一图标。用户在看到该第一图标后,可以确定目标应用满足其对应的开启条件,即目标应用当前处于可用状态。In
在步骤104中,可以控制车机系统的屏幕上显示目标应用的第二图标。用户在看到该第二图标后,可以确定目标应用不满足其对应的开启条件,即目标应用当前处于不可用状态。In
在示例性的实施例中,参阅图2,在上述步骤101之前,应用图标的显示方法,还包括:In an exemplary embodiment, referring to FIG. 2, before the
步骤201:解析车辆中的应用安装包的清单文件;其中,清单文件中包括目标应用对应的开启条件、目标应用的第一图标和第二图标。Step 201: Analyze the manifest file of the application installation package in the vehicle; wherein, the manifest file includes the opening condition corresponding to the target application, the first icon and the second icon of the target application.
步骤202:根据清单文件,获取车辆中的目标应用对应的开启条件以及目标应用的第一图标和第二图标。Step 202: According to the manifest file, obtain the activation condition corresponding to the target application in the vehicle and the first icon and the second icon of the target application.
在步骤201中,对于应用列表中展示的存在开启条件的应用,即对于应用列表中的目标应用,可以在AndroidManifest.xml即安卓应用安装包(Android Package,Apk)清单文件中设置开启条件、满足开启条件时需展示的第一图标及不满足开启条件时需展示的第二图标。当车机系统启动后,可以解析车辆中目标应用的应用安装包的清单文件。In
示例性的,应用列表中各应用的安装包的清单文件即Apk清单文件可以如图3所示。应用A的Apk清单文件中包括:应用A对应的开启条件、满足应用A的开启条件时显示的图标(即应用A的第一图标)、不满足应用A的开启条件时显示的图标(即应用A的第二图标)。应用B的Apk清单文件中包括:应用B无开启条件。应用C的Apk清单文件中包括:应用C对应的开启条件、满足应用C的开启条件时显示的图标(即应用C的第一图标)、不满足应用C的开启条件时显示的图标(即应用C的第二图标)。应用D的Apk清单文件中包括:应用D无开启条件。Exemplarily, the manifest file of the installation package of each application in the application list, that is, the Apk manifest file, may be as shown in FIG. 3 . The Apk manifest file of application A includes: the opening condition corresponding to application A, the icon displayed when the opening condition of application A is met (that is, the first icon of application A), and the icon displayed when the opening condition of application A is not met (that is, the icon of application A). A's second icon). The Apk manifest file of application B includes: Application B has no opening conditions. The Apk manifest file of application C includes: the opening condition corresponding to application C, the icon displayed when the opening condition of application C is met (that is, the first icon of application C), and the icon displayed when the opening condition of application C is not met (that is, the icon of application C). C's second icon). The Apk manifest file of application D includes: application D has no opening condition.
在步骤202中,可以从清单文件中获取车辆中的目标应用对应的开启条件以及目标应用的第一图标和第二图标。可选的,还可以根据获取的目标应用对应的开启条件以及目标应用的第一图标和第二图标生成对应关系表。该对应关系表中可以包括:每个目标应用的应用包名、开启条件、第一图标和第二图标之间的对应关系。在进行目标应用的图标显示时,可以根据该对应关系表确定当前应该显示目标应用的第一图标还是第二图标。In
在示例性的实施例中,上述步骤101的实现方式可以包括:先根据目标应用对应的开启条件,确定与目标应用对应的开启条件所匹配的目标状态。然后,获取车辆的目标状态的当前状态值。其中,与目标应用对应的开启条件所匹配的目标状态可以理解为:为了确定目标应用是否满足其对应的开启条件需要需要获取什么类型的状态数据。In an exemplary embodiment, the implementation of the
示例性的,为了确定车控车设应用是否满足其对应的开启条件,需要获取的状态数据为车辆的电源设置。也就是说,目标状态包括车辆的电源设置,对应的目标状态的当前状态值包括车辆的当前电源设置值。Exemplarily, in order to determine whether the vehicle-controlled vehicle-device application satisfies its corresponding activation condition, the state data that needs to be acquired is the power supply setting of the vehicle. That is to say, the target state includes the power setting of the vehicle, and the current state value of the corresponding target state includes the current power setting value of the vehicle.
示例性的,为了确定视频类应用和游戏类应用是否满足其对应的开启条件,需要获取的状态数据为车辆的行驶速度。也就是说,目标状态包括车辆的行驶速度,对应的目标状态的当前状态值包括车辆的当前行驶速度值。Exemplarily, in order to determine whether the video application and the game application meet their corresponding activation conditions, the state data that needs to be acquired is the driving speed of the vehicle. That is to say, the target state includes the driving speed of the vehicle, and the current state value of the corresponding target state includes the current driving speed value of the vehicle.
本实施例中,先根据目标应用对应的开启条件,确定与目标应用对应的开启条件所匹配的目标状态。从而,可以针对性的获取车辆的目标状态的当前状态值,以更好的基于当前状态值进行目标应用是否满足其对应的开启条件的判断。In this embodiment, firstly, according to the activation condition corresponding to the target application, the target state matching the activation condition corresponding to the target application is determined. Therefore, the current state value of the target state of the vehicle can be acquired in a targeted manner, so as to better judge whether the target application satisfies its corresponding activation condition based on the current state value.
在示例性的实施例中,在上述步骤104显示目标应用的第二图标之后之后,还包括:若检测到用户点击第二图标,拒绝启动目标应用,并发出提示信息;其中,提示信息包括拒绝启动目标应用的原因。也就是说,当不满足目标应用的开启条件时,若用户点击该目标应用的应用图标企图开启应用,则不启动应用并提示用户当前是由于什么原因导致应用无法开启。其中,提示信息可以是语音信息或是在屏幕上显示的文字信息。本实施例中,当不满足目标应用的开启条件时,拒绝用户启动目标应用,在一定程度上有利于保证行车安全,同时还提醒用户当前是由于什么原因导致应用无法开启,有利于提升用户体验。本实施例中发出提示信息时,无需在开启并进入目标应用后才显示提示信息,而是在还没进入目标应用时就发出提示信息,即目标应用无需启动就可以达到提醒用户的目的。In an exemplary embodiment, after the second icon of the target application is displayed in the
在示例性的实施例中,在上述步骤101之前还包括:检测到预设控制策略被开启。本实施例中,可以设置预设控制策略的开启与关闭这两种选项供用户选择,从而在检测到预设控制策略被开启后,开始执行步骤101以及其后续步骤。其中,预设控制策略即为步骤101至步骤104中的控制策略。当未检测到预设控制策略被开启,则对于应用列表中的各应用可以均显示正常的应用图标。本实施例中,为用户提供选择,使得用户可以根据实际需求选择是否要基于车辆的当前状态值,动态的显示目标应用的图标,有利于满足用户的个性化需求,提高用户的使用体验。In an exemplary embodiment, before the
示例性的,车机系统启动后,应用列表可以解析每个显示应用的清单文件,根据应用包名、应用对应的开启条件、应用对应的第一图标和第二图标生成对应关系表。根据应用对应的开启条件进行车辆当前状态值的获取,确定每个应用是否满足其对应的开启条件,根据确定结果进行对应的图标展示。即满足开启条件的应用,展示该应用的第一图标,不满足开启条件的应用,展示该应用的第二图标。同步对车辆的当前状态值进行监听,当车辆的当前状态值发生改变后,将动态调整应用列表中各应用的图标的显示。Exemplarily, after the car-machine system is started, the application list can parse the manifest file of each displayed application, and generate a correspondence table according to the application package name, the opening condition corresponding to the application, and the first icon and the second icon corresponding to the application. Acquire the current state value of the vehicle according to the opening condition corresponding to the application, determine whether each application meets its corresponding opening condition, and display the corresponding icon according to the determination result. That is, the application that meets the opening condition displays the first icon of the application, and the application that does not meet the opening condition displays the second icon of the application. The current state value of the vehicle is monitored synchronously, and when the current state value of the vehicle changes, the display of the icons of each application in the application list will be dynamically adjusted.
下面以目标应用为车控车设应用为例,对本实施例的应用图标的显示方法进行说明:Taking the target application as an example of a vehicle-controlled vehicle device application, the display method of the application icon in this embodiment will be described below:
车控车设应用对应的开启条件为:电源设置值为ON。当满足车控车设应用对应的开启条件,显示的车控车设应用的图标为:右下角显示电源ON的全亮图标。当不满足车控车设应用对应的开启条件,显示的车控车设应用的图标为:代表应用不可用的灰色蒙层图标。The opening condition corresponding to the car control and car setting application is: the power setting value is ON. When the opening conditions corresponding to the car-controlled car-device application are met, the displayed icon of the car-controlled car-device application is: the full-brightness icon of power ON is displayed in the lower right corner. When the opening conditions corresponding to the car-controlled car-device application are not met, the displayed icon of the car-controlled car-device application is: a gray mask icon representing that the application is unavailable.
车机系统启动后,当检测到当前车机电源模式为ON,即电源设置值为ON,则对于车控车设应用,显示上述全亮图标。同步监听电源模式状态,当发生变化时,比如即电源模式为OFF即电源设置值为OFF,则涉及到电源模式的应用都需要动态调整图标展示,即车控车设应用需要展示上述灰色蒙层图标。After the in-vehicle system is started, when it is detected that the current in-vehicle power mode is ON, that is, the power setting value is ON, the above-mentioned all-brightness icon will be displayed for the application of in-vehicle control and in-vehicle equipment. Synchronously monitor the status of the power mode. When there is a change, for example, the power mode is OFF or the power setting value is OFF, the applications related to the power mode need to dynamically adjust the icon display, that is, the car control car device application needs to display the above gray mask icon.
当不满足车控车设应用对应的开启条件时,若用户点击该车控车设应用图标企图开启应用,则不启动应用并提示用户当前是因为电源模式为OFF而导致无法启动车控车设应用。When the opening conditions corresponding to the car control car device application are not met, if the user clicks the car control car device application icon to try to open the application, the application will not be started and the user will be prompted that the car control car device cannot be started because the power mode is OFF. application.
本实施例中,可以将影响行车安全的应用的图标置灰,满足开启条件时点亮应用图标。当用户点击置灰的图标,提示用户当前是由于什么原因导致应用无法开启。通过图标显示的区别,方便区分哪些应用是当前可以使用的,哪些应用是当前不可使用的,从而提高行车安全并方便用户更便捷的使用车机。In this embodiment, icons of applications affecting driving safety can be grayed out, and application icons can be lighted up when the enabling conditions are met. When the user clicks the grayed-out icon, the user is prompted for some reason why the application cannot be opened. Through the difference displayed by the icons, it is convenient to distinguish which applications are currently available and which applications are currently unavailable, thereby improving driving safety and facilitating users to use the vehicle more conveniently.
图4是本申请实施例提供的一种应用图标的显示装置的结构示意图。Fig. 4 is a schematic structural diagram of a device for displaying application icons provided by an embodiment of the present application.
示例性的,如图4所示,该装置400包括:Exemplarily, as shown in FIG. 4, the
第一获取模块401,用于获取车辆的当前状态值;The
确定模块402,用于根据所述当前状态值以及所述车辆中的目标应用对应的开启条件,确定所述目标应用是否满足所述开启条件;其中,所述目标应用的图标包括第一图标和第二图标;A
第一显示模块403,用于当所述目标应用满足开启条件时,显示所述目标应用的所述第一图标;A
第二显示模块404,用于当所述目标应用不满足开启条件时,显示所述目标应用的所述第二图标。The
一种可能的实现方式中,应用图标的显示装置还包括:解析模块和第二获取模块,解析模块用于解析所述车辆中的应用安装包的清单文件;其中,所述清单文件中包括所述目标应用对应的开启条件、所述目标应用的第一图标和第二图标;第二获取模块用于根据所述清单文件,获取所述车辆中的所述目标应用对应的开启条件以及所述目标应用的第一图标和第二图标。In a possible implementation manner, the device for displaying application icons further includes: an analysis module and a second acquisition module, the analysis module is configured to analyze the manifest file of the application installation package in the vehicle; wherein, the manifest file includes the The opening condition corresponding to the target application, the first icon and the second icon of the target application; the second acquiring module is configured to acquire the opening condition corresponding to the target application in the vehicle and the A first icon and a second icon of the target application.
一种可能的实现方式中,第一获取模块具体用于:根据所述目标应用对应的开启条件,确定与所述目标应用对应的开启条件所匹配的目标状态;获取所述车辆的所述目标状态的当前状态值。In a possible implementation manner, the first acquisition module is specifically configured to: determine the target state matching the activation condition corresponding to the target application according to the activation condition corresponding to the target application; acquire the target status of the vehicle. The current state value of the state.
一种可能的实现方式中,应用图标的显示装置还包括:提示模块,提示模块用于若检测到用户点击所述第二图标,拒绝启动所述目标应用,并发出提示信息;其中,所述提示信息包括拒绝启动所述目标应用的原因。In a possible implementation manner, the device for displaying application icons further includes: a prompt module, configured to refuse to start the target application and send a prompt message if it is detected that the user clicks on the second icon; wherein, the The prompt information includes the reason for refusing to start the target application.
一种可能的实现方式中,所述目标应用的图标中还添加有用于表征所述开启条件的标识。In a possible implementation manner, the icon of the target application is further added with an identifier for representing the activation condition.
一种可能的实现方式中,所述开启条件的设定方式包括以下之一或其任意组合:基于所述目标应用的开启是否会影响行车安全而设定;基于所述目标应用的开启是否为行车必要而设定;基于所述目标应用的开启用户是否为目标用户而设定;基于所述目标应用的开启时间点是否处于目标时间段而设定。In a possible implementation manner, the setting method of the opening condition includes one of the following or any combination thereof: setting based on whether the opening of the target application will affect driving safety; setting based on whether the opening of the target application is It is set when driving is necessary; it is set based on whether the user who opened the target application is the target user; it is set based on whether the opening time of the target application is within the target time period.
一种可能的实现方式中,应用图标的显示装置还包括:检测模块,检测模块用于在所述获取车辆的当前状态值之前,检测到预设控制策略被开启。In a possible implementation manner, the device for displaying application icons further includes: a detection module, configured to detect that a preset control strategy is enabled before the acquisition of the current state value of the vehicle.
图5是本申请实施例提供的一种车辆的结构示意图。Fig. 5 is a schematic structural diagram of a vehicle provided by an embodiment of the present application.
示例性的,如图5所示,该车辆包括:存储器501和处理器502,其中,存储器501中存储有可执行程序代码5011,处理器502用于调用并执行该可执行程序代码执行一种应用图标的显示方法。Exemplarily, as shown in FIG. 5, the vehicle includes: a
本实施例可以根据上述方法示例对车辆进行功能模块的划分,例如,可以对应各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中,上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment, the functional modules of the vehicle can be divided according to the above-mentioned method examples. For example, each functional module can be corresponded to, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can use hardware The form is realized. It should be noted that the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,该车辆可以包括:第一获取模块、确定模块、第一显示模块、第二显示模块等。需要说明的是,上述方法实施例涉及的各个步骤的所有相关内容的可以援引到对应功能模块的功能描述,在此不再赘述。In the case of dividing each functional module corresponding to each function, the vehicle may include: a first acquisition module, a determination module, a first display module, a second display module, and the like. It should be noted that all the relevant content of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
本实施例提供的车辆,用于执行上述一种应用图标的显示方法,因此可以达到与上述实现方法相同的效果。The vehicle provided in this embodiment is used to implement the above-mentioned method for displaying application icons, so the same effect as the above-mentioned implementation method can be achieved.
在采用集成的单元的情况下,车辆可以包括处理模块、存储模块。其中,处理模块可以用于对车辆的动作进行控制管理。存储模块可以用于支持车辆执行相互程序代码和数据等。In the case of integrated units, the vehicle may include processing modules, storage modules. Wherein, the processing module can be used to control and manage the actions of the vehicle. The storage module can be used to support the vehicle to execute mutual program codes and data, etc.
其中,处理模块可以是处理器或控制器,其可以实现或执行结合本申请公开内容所藐视的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包括一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等,存储模块可以是存储器。Wherein, the processing module can be a processor or a controller, which can implement or execute various exemplary logic blocks, modules and circuits that are despised in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, for example, a combination of one or more microprocessors, a combination of digital signal processing (digital signal processing, DSP) and a microprocessor, etc., and the storage module may be a memory.
本实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序代码,当该计算机程序代码在计算机上运行时,使得计算机执行上述相关方法步骤实现上述实施例中的一种应用图标的显示方法。This embodiment also provides a computer-readable storage medium, where computer program code is stored in the computer-readable storage medium, and when the computer program code is run on the computer, the computer executes the above-mentioned related method steps to realize the steps in the above-mentioned embodiment. A method for displaying an application icon.
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的一种应用图标的显示方法。This embodiment also provides a computer program product, which, when running on a computer, causes the computer to execute the above related steps, so as to implement the method for displaying an application icon in the above embodiment.
另外,本申请的实施例提供的车辆具体可以是芯片,组件或模块,该车辆可包括相连的处理器和存储器;其中,存储器用于存储指令,当车辆运行时,处理器可调用并执行指令,以使芯片执行上述实施例中的一种应用图标的显示方法。In addition, the vehicle provided by the embodiments of the present application may specifically be a chip, component or module, and the vehicle may include a connected processor and a memory; wherein, the memory is used to store instructions, and when the vehicle is running, the processor can call and execute the instructions , so that the chip executes a method for displaying an application icon in the foregoing embodiment.
其中,本实施例提供的车辆、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the vehicles, computer-readable storage media, computer program products or chips provided in this embodiment are all used to execute the corresponding methods provided above, therefore, the beneficial effects that can be achieved can refer to the corresponding methods provided above. The beneficial effects of the method will not be repeated here.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned by different Completion of functional modules means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or It may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application, and should covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310270176.8A CN116301491A (en) | 2023-03-20 | 2023-03-20 | Application icon display method and device, vehicle and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310270176.8A CN116301491A (en) | 2023-03-20 | 2023-03-20 | Application icon display method and device, vehicle and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116301491A true CN116301491A (en) | 2023-06-23 |
Family
ID=86781186
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310270176.8A Pending CN116301491A (en) | 2023-03-20 | 2023-03-20 | Application icon display method and device, vehicle and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116301491A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104991770A (en) * | 2015-06-29 | 2015-10-21 | 努比亚技术有限公司 | Application icon display method and apparatus |
| JP2016095882A (en) * | 2016-02-12 | 2016-05-26 | クラリオン株式会社 | On-vehicle device and display control method thereof |
| CN110716776A (en) * | 2019-08-29 | 2020-01-21 | 华为终端有限公司 | Method for displaying user interface and vehicle-mounted terminal |
| CN112389198A (en) * | 2020-11-17 | 2021-02-23 | 广州小鹏汽车科技有限公司 | Display control method, display control device, vehicle, and storage medium |
| CN114461330A (en) * | 2022-02-11 | 2022-05-10 | 腾讯科技(深圳)有限公司 | Display control method and related device of a vehicle terminal |
-
2023
- 2023-03-20 CN CN202310270176.8A patent/CN116301491A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104991770A (en) * | 2015-06-29 | 2015-10-21 | 努比亚技术有限公司 | Application icon display method and apparatus |
| JP2016095882A (en) * | 2016-02-12 | 2016-05-26 | クラリオン株式会社 | On-vehicle device and display control method thereof |
| CN110716776A (en) * | 2019-08-29 | 2020-01-21 | 华为终端有限公司 | Method for displaying user interface and vehicle-mounted terminal |
| CN112389198A (en) * | 2020-11-17 | 2021-02-23 | 广州小鹏汽车科技有限公司 | Display control method, display control device, vehicle, and storage medium |
| CN114461330A (en) * | 2022-02-11 | 2022-05-10 | 腾讯科技(深圳)有限公司 | Display control method and related device of a vehicle terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20210234767A1 (en) | Vehicle middleware | |
| US9134986B2 (en) | On board vehicle installation supervisor | |
| US9008906B2 (en) | Occupant sharing of displayed content in vehicles | |
| US9055022B2 (en) | On board vehicle networking module | |
| US8902054B2 (en) | Methods, systems, and computer program products for managing operation of a portable electronic device | |
| US20160196745A1 (en) | On board vehicle presence reporting module | |
| US20130204466A1 (en) | On board vehicle networking module | |
| US20130205026A1 (en) | Media filter in a vehicle infotainment system | |
| EP2973123A1 (en) | On board vehicle networking module | |
| US8773251B2 (en) | Methods, systems, and computer program products for managing operation of an automotive vehicle | |
| CN108180081A (en) | A kind of accelerator control method and device | |
| US20120200407A1 (en) | Methods, systems, and computer program products for managing attention of an operator an automotive vehicle | |
| CN118182487A (en) | Control system for a vehicle, server for configuring a control system, method for controlling a control system of a vehicle, and vehicle | |
| WO2021142822A1 (en) | Vehicle diagnosis method, vehicle diagnosis device and storage medium | |
| CN112085967A (en) | Vehicle early warning method and device for expressway, storage medium and terminal | |
| CN110949404A (en) | Warning method and device, central control equipment, storage medium and system | |
| CN116301491A (en) | Application icon display method and device, vehicle and storage medium | |
| CN116901866A (en) | Vehicle control method, device, electronic equipment, vehicle and storage medium | |
| CN117289677A (en) | Vehicle diagnosis method, system, electronic equipment, storage medium and vehicle | |
| CN115562736A (en) | Display processing method, display processing device, electronic device, and medium | |
| CN110246352A (en) | Driving based reminding method, device, storage medium and system based on animation effect | |
| US9128641B2 (en) | Parameter setting apparatus and method for automotive open system architecture-based software | |
| US20240054222A1 (en) | System and method for customizing a vehicle function | |
| CN115032963A (en) | A vehicle diagnosis method, vehicle diagnosis device and terminal equipment | |
| CN119225342A (en) | Debugging method of vehicle computer system, vehicle computer system, device and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |