Icon display method and device, equipment, storage medium and vehicle
By monitoring the icon display conditions of the target application in the terminal and combining icon elements, the visual experience problem caused by the one-to-one correspondence between the icons and the application version in the prior art is solved, and different icons are displayed while the application version remains unchanged, thereby improving the user experience.
Patent Information
- Application Number
- CN202311229234.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, the icons in the terminal usually correspond to the version of the application one by one, resulting in a poor visual experience for the user when the version of the application remains unchanged.
By monitoring the icon display conditions of the target application in the terminal, and obtaining the target icon elements corresponding to the target display conditions from multiple icon elements, combining these elements in a specific combination to generate the target icon, so that different icons are displayed without changing the application version.
It is realized that when the version of the target application remains unchanged, different icons are displayed according to different icon display conditions, thereby improving the user's visual experience.
Smart Images

Figure CN119690548A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of icon display, and in particular, relates to an icon display method, device, equipment, storage medium and vehicle. Background Art
[0002] Generally, icons corresponding to multiple applications can be displayed in the terminal so that users can distinguish different applications through icons. At present, icons in the terminal usually correspond to application versions one by one. That is, when the application version does not change, the icon usually does not change, resulting in a poor visual experience for users. Summary of the invention
[0003] The embodiments of the present application provide an icon display method, apparatus, device, storage medium and vehicle, which can display different icons according to different icon display conditions without changing the version of the target application, thereby improving the user's visual experience.
[0004] In a first aspect, an embodiment of the present application provides an icon display method, the method comprising:
[0005] When the target application in the terminal is in a first version, monitoring an icon display condition corresponding to the first version; wherein the icon display condition corresponds one-to-one to an icon displayed by the target application;
[0006] In a case where the icon display condition satisfies a target display condition, acquiring a plurality of target icon elements corresponding to the target display condition from a plurality of first icon elements, wherein the first icon elements are icon elements corresponding to the first version;
[0007] Combining the plurality of target icon elements according to the combination mode of the icon elements corresponding to the target display condition to obtain a target icon; wherein the combination modes of the icon elements corresponding to different icon display conditions are different;
[0008] The target application is displayed as the target icon.
[0009] In a possible implementation, the icon display condition corresponds to a plurality of category tags, each of the category tags corresponds to a plurality of first icon elements, and the step of acquiring a plurality of target icon elements corresponding to the target display condition from the plurality of first icon elements includes:
[0010] For each of the category tags, a target icon element corresponding to the target display condition is selected from the multiple first icon elements corresponding to the category tag to obtain the multiple target icon elements.
[0011] In a possible implementation manner, the acquiring a plurality of target icon elements corresponding to the target display condition from the plurality of first icon elements includes:
[0012] A plurality of target icon elements corresponding to the target display condition are obtained from a plurality of first icon elements stored in a first storage space, wherein the first storage space is used to store icon elements corresponding to a target version, wherein the target version is a version of a target application in the terminal, and the target version includes the first version.
[0013] In a possible implementation, when the target application in the terminal is in the first version, before monitoring the icon display condition corresponding to the first version, the method further includes:
[0014] When the target application in the terminal is switched from the second version to the first version, acquiring a plurality of first icon elements corresponding to the first version from a second storage space corresponding to the target application, the version level of the second version being lower than the version level of the first version, and the second storage space being used to store the icon elements downloaded by the terminal from the cloud;
[0015] The plurality of first icon elements are stored in the first storage space.
[0016] In a possible implementation, when the target application in the terminal is switched from the second version to the first version, before acquiring a plurality of first icon elements corresponding to the first version from a second storage space corresponding to the target application, the method further includes:
[0017] When the target application in the terminal is in the second version and the cloud publishes an icon resource corresponding to the first version of the target application, downloading the icon resource, wherein the icon resource includes a plurality of the first icon elements and application type information of the target application;
[0018] Verifying the icon resource to obtain a verification result;
[0019] If the verification result is that the verification is passed, parsing the icon resource to obtain the multiple first icon elements and the application type information;
[0020] The plurality of first icon elements are stored in a second storage space corresponding to the application type information.
[0021] In a possible implementation, the second storage space includes a system default storage space, and the system default storage space is used to store icon elements corresponding to system applications downloaded by the terminal from the cloud;
[0022] After displaying the target application as the target icon, the method further includes:
[0023] When the target application is a system application and the target application is switched from the first version to a third version, a plurality of second icon elements corresponding to the third version are obtained from the system default storage space, the third version being an application version corresponding to the icon elements stored in the system default storage space, and the third version being lower than the first version;
[0024] The plurality of second icon elements are stored in the first storage space.
[0025] In a second aspect, an embodiment of the present application provides an icon display device, the device comprising:
[0026] A monitoring module, configured to monitor, when the target application in the terminal is in a first version, an icon display condition corresponding to the first version; wherein the icon display condition corresponds one-to-one to an icon displayed by the target application;
[0027] A first acquisition module, configured to acquire, when the icon display condition satisfies a target display condition, a plurality of target icon elements corresponding to the target display condition from a plurality of first icon elements, wherein the first icon elements are icon elements corresponding to the first version;
[0028] A combination module, used to combine the multiple target icon elements according to the combination mode of the icon elements corresponding to the target display condition to obtain a target icon; wherein the combination mode of the icon elements corresponding to different icon display conditions is different;
[0029] The display module is used to display the target application as the target icon.
[0030] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
[0031] When the processor executes the computer program instructions, the processor implements any possible implementation method of the first aspect described above.
[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implements a method in any possible implementation method of the first aspect described above.
[0033] In a fifth aspect, an embodiment of the present application provides a vehicle, the vehicle comprising at least one of the following:
[0034] An icon display device as in any one of the embodiments of the second aspect;
[0035] An electronic device as in any one of the embodiments of the third aspect;
[0036] A computer-readable storage medium as in any embodiment of the fourth aspect.
[0037] In the icon display method, device, equipment, storage medium and vehicle of the embodiment of the present application, since the icon display condition corresponds to the icon displayed by the target application one-to-one, by monitoring the icon display condition corresponding to the first version when the target application in the terminal is in the first version, it is possible to accurately determine when the target application displays which icon. By obtaining multiple target icon elements corresponding to the target display condition from multiple first icon elements corresponding to the first version when the icon display condition of the target application meets the target display condition, combining the multiple target icon elements in accordance with the combination method of the icon elements corresponding to the target display condition to obtain the target icon, and displaying the target application as the target icon, different icons can be displayed according to different icon display conditions when the version of the target application remains unchanged, thereby improving the user's visual experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0039] Figure 1 It is a flowchart of an icon display method provided in an embodiment of the present application;
[0040] Figure 2 is a schematic diagram of an icon display method provided in an embodiment of the present application;
[0041] Figure 3 is a structural schematic diagram of an icon display device provided in an embodiment of the present application;
[0042] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0044] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.
[0045] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0046] In order to solve the problems of the prior art, embodiments of the present application provide an icon display method, device, equipment, storage medium and vehicle.
[0047] The following first introduces the icon display method provided in the embodiment of the present application.
[0048] Figure 1 FIG. 1 is a flow chart of an icon display method provided by an embodiment of the present application. Figure 1 As shown, the icon display method provided in the embodiment of the present application includes the following steps:
[0049] S110, when the target application in the terminal is in the first version, monitoring the icon display condition corresponding to the first version; wherein the icon display condition corresponds one-to-one to the icon displayed by the target application;
[0050] S120: when the icon display condition satisfies the target display condition, obtaining a plurality of target icon elements corresponding to the target display condition from a plurality of first icon elements, where the first icon element is an icon element corresponding to the first version;
[0051] S130, combining multiple target icon elements according to the combination mode of icon elements corresponding to the target display condition to obtain a target icon; wherein the combination mode of icon elements corresponding to different icon display conditions is different;
[0052] S140: Display the target application as a target icon.
[0053] In the icon display method of the embodiment of the present application, since the icon display condition corresponds to the icon displayed by the target application one-to-one, by monitoring the icon display condition corresponding to the first version when the target application in the terminal is in the first version, it is possible to accurately determine when the target application displays which icon. By obtaining multiple target icon elements corresponding to the target display condition from multiple first icon elements corresponding to the first version when the icon display condition of the target application meets the target display condition, combining the multiple target icon elements in accordance with the combination method of the icon elements corresponding to the target display condition to obtain the target icon, and displaying the target application as the target icon, different icons can be displayed according to different icon display conditions when the version of the target application remains unchanged, thereby improving the user's visual experience.
[0054] The specific implementation methods of the above steps are introduced below.
[0055] In some embodiments, in S110, the terminal may be any one of a vehicle-mounted terminal, a mobile phone, a laptop computer, and a tablet computer, which is not limited here. In addition, the target application may be any one of a system application and a user application. Among them, the system application may be a software application that comes with the operating system of the terminal. For example, the system application may include text messages, address books, weather, music, maps, chat software, video software, etc. The user application may be an application that the user downloads to the terminal himself. The user application and the system application may be the same or different. For example, the user application may also include music, maps, chat software, video software, etc.
[0056] In order to enable users to better distinguish between multiple applications on the terminal, different applications may display different icons. For target applications, different versions of applications may display different icons. Based on this, in order to further enhance the user's visual experience, for the same version of the target application, when different icon display conditions are met, the displayed icons may be different. Among them, the icon display conditions and the icons displayed by the target application may correspond one to one. The icon display conditions may include one condition or multiple sub-conditions. For example, in the case of holiday A, icon A may be displayed. In the case of holiday B, icon B may be displayed. For another example, when the terminal is a vehicle-mounted terminal corresponding to the main driver and it is holiday A, icon C may be displayed. When the terminal is a vehicle-mounted terminal corresponding to the rear row and it is holiday A, icon D may be displayed. When the terminal is a vehicle-mounted terminal corresponding to the rear row and it is holiday B and at night, icon E may be displayed.
[0057] In addition, for different versions of the target application, when the same icon display condition is met, the icons displayed by the target application may be different. For example, when the target application is in version A, if the A icon display condition is met, the A icon may be displayed. When the target application is in version B, if the A icon display condition is met, the B icon may be displayed. In addition, the icon display conditions corresponding to different versions of the target application may be the same or different. For example, when the target application is in version A, if the A icon display condition is met, the A icon may be displayed. When the target application is in version B, the A icon display condition may not be monitored.
[0058] As an example, the first version may be the current version of the target application in the terminal. The first version may be, for example, the latest version of the target application. When the target application in the terminal is in the first version, the icon display condition corresponding to the first version may be monitored. Specifically, the terminal may include a date monitoring module, a time monitoring module, a terminal location monitoring module, etc. The icon display condition may be monitored by the above-mentioned monitoring modules in the terminal.
[0059] In some embodiments, in S120, the icon element may be an element that constitutes the icon. The icon element may include, for example, elements of the icon shape, icon color, icon label (icon logo), language of the characters in the icon, icon special effects, and the like. Among them, the icon shape may include, for example, a circle, a square, a rectangle, and the like. The icon color may include, for example, white, green, red, blue, and the like. The language of the characters in the icon may include, for example, language A, language B, language C, and the like. The same icon logo may include, for example, a variety of different design forms. The icon special effect may be, for example, a special effect corresponding to the user's gesture. For example, when the user's hand approaches the icon, by performing gesture recognition on the user's hand, when the user's gesture meets the special effect display condition, a special effect element may be added to the icon. Adding a special effect element to the icon may include, for example, adding a light spot to the icon, enlarging the icon, reducing the icon, and the like. Specifically, the first icon element may be an icon element corresponding to the first version of the target application. For the introduction of the first icon element, please refer to the relevant description of the icon element above, which will not be repeated in detail here.
[0060] In addition, the target display condition may be any one of a plurality of icon display conditions, and the icon corresponding to the target display condition may be a target icon. The target icon may include a plurality of target icon elements. When the target display condition includes a plurality of sub-conditions, there may be a plurality of target icon elements corresponding to the target display condition. Among them, each sub-condition may correspond to a target icon element. For example, if the sub-condition is that the terminal is a vehicle-mounted terminal corresponding to the main driver, the target icon element may be a rectangle. If the sub-condition is that the terminal is in country A, the target icon element may be language A. If the sub-condition is that the day is holiday A, the target icon element may be red. That is, if the target display condition includes that the terminal is a vehicle-mounted terminal corresponding to the main driver, and the terminal is in country A, and the day is holiday A, multiple target icon elements such as rectangle, language A, and red may be obtained.
[0061] As an example, when the target display condition is met and the target display condition includes multiple sub-conditions, the target icon elements corresponding to each sub-condition can be obtained from the multiple first icon elements to obtain multiple target icon elements corresponding to the target display condition.
[0062] In addition, each icon element may correspond to a category label, and each category label may correspond to multiple icon elements. In addition, each icon display condition may correspond to multiple category labels. When the icon display condition includes multiple sub-conditions, each sub-condition may correspond to a category label. For example, if the sub-condition is that the terminal is in country A, the category label corresponding to the sub-condition may be determined to be the language of the Chinese characters in the icon. In addition, each category label may correspond to multiple first icon elements.
[0063] Based on this, in order to ensure the accuracy of multiple target icon elements, in some embodiments, the above S130 may specifically include:
[0064] For each category label, a target icon element corresponding to the target display condition is selected from a plurality of first icon elements corresponding to the category label to obtain a plurality of target icon elements.
[0065] Here, the category label may include, for example, icon shape, icon color, icon label (icon logo), language of the characters in the icon, icon special effects, etc.
[0066] As an example, when the target display condition is met and the target display condition includes multiple sub-conditions, the category label corresponding to each sub-condition can be determined based on the correspondence between the sub-condition and the category label. For each category label, after determining the category label, the target icon element corresponding to the sub-condition can be selected from the multiple first icon elements corresponding to the category label. For example, if the sub-condition is that the terminal is in country A, then the category label corresponding to the sub-condition can be determined to be the language of the Chinese characters in the icon. The language of the Chinese characters in the icon can correspond to multiple first icon elements such as language A, language B, and language C. Since the sub-condition is that the terminal is in country A, it can be determined that the target icon element corresponding to the sub-condition is language A. Repeating the above process can obtain multiple target icon elements corresponding to the target display condition.
[0067] In this way, by selecting a target icon element once for each category label, the accuracy of multiple target icon elements can be guaranteed.
[0068] In addition, a plurality of first icon elements may be stored in a preset storage space.
[0069] Based on this, in some embodiments, the above S120 may specifically include:
[0070] A plurality of target icon elements corresponding to the target display condition are obtained from a plurality of first icon elements stored in a first storage space, wherein the first storage space is used to store icon elements corresponding to a target version, the target version being the version of a target application in the terminal, and the target version including a first version.
[0071] Here, the terminal may include a first storage space, and the first storage space may store icon elements corresponding to the current version of the target application. For example, if the target application in the terminal is in the first version, the first storage space may store icon elements corresponding to the first version. If the target application in the terminal is in the second version, the first storage space may store icon elements corresponding to the second version.
[0072] Based on this, in order to make the target application display the target icon when the target display condition is met, in some embodiments, before the above S110, the following may also be included:
[0073] When the target application in the terminal is switched from the second version to the first version, a plurality of first icon elements corresponding to the first version are obtained from a second storage space corresponding to the target application, the version level of the second version is lower than the version level of the first version, and the second storage space is used to store the icon elements downloaded by the terminal from the cloud;
[0074] A plurality of first icon elements are stored in a first storage space.
[0075] Here, when the target application is a system application, the second storage space corresponding to the target application may be a system default storage space. The system default storage space may be used to store icon elements corresponding to the system application downloaded from the cloud by the terminal. When the target application is a user application, the second storage space corresponding to the target application may be a preloaded storage space. The preloaded storage space may be used to store icon elements corresponding to the user application downloaded from the cloud by the terminal. The second storage space corresponding to the target application may store a plurality of first icon elements corresponding to the first version. In addition, the second version may be a previous version of the first version. The second version may be lower than the first version. If the target application in the terminal is in the second version, and a plurality of first icon elements are stored in the second storage space corresponding to the target application, then when the target application is switched from the second version to the first version, the plurality of first icon elements may be stored in the first storage space.
[0076] In this way, when the target application in the terminal switches from the second version to the first version, the plurality of first icon elements are stored in the first storage space, so that when the target display condition is met, the plurality of target icon elements can be obtained from the first storage space. Furthermore, by generating a target icon based on the plurality of target icon elements, the target application can display the target icon when the target display condition is met.
[0077] Based on this, in order to synchronize the icon with the version of the application, avoid icon display lag, and improve user experience, in some embodiments, when the target application in the terminal is switched from the second version to the first version, before obtaining the multiple first icon elements corresponding to the first version from the second storage space corresponding to the target application, the following may also be included:
[0078] When the target application in the terminal is in the second version and the cloud publishes an icon resource corresponding to the first version of the target application, download the icon resource, where the icon resource includes a plurality of first icon elements and application type information of the target application;
[0079] Verify the icon resources and obtain the verification results;
[0080] If the verification result is that the verification is passed, the icon resource is parsed to obtain a plurality of first icon elements and application type information;
[0081] The plurality of first icon elements are stored in a second storage space corresponding to the application type information.
[0082] Here, the application type information may indicate the application type of the target application. The application type corresponding to the application type information may include a system application and a user application. Since the system application may be a software application that comes with the operating system of the terminal, the system application may be updated together with the operating system. Generally, the operating system may include multiple system applications. Therefore, when the application type of the target application is a system application, the target application may be any one of the multiple system applications.
[0083] As an example, before releasing the first version of the target application, the user can first design multiple icon elements corresponding to the first version. After the design of multiple icon elements is completed, the multiple icon elements can be uploaded to the cloud. The cloud can package the multiple icon elements and the application type information of the target application to obtain icon resources. Among them, the icon resources can exist in the form of a compressed package. After obtaining the icon resources, the cloud can send a notification message to the terminal to notify the terminal that the icon resources corresponding to the first version of the target application have been released. Among them, the notification information may include the first version information of the target application. After receiving the notification message, the terminal can obtain the second version information corresponding to the target application in the terminal, and compare the version levels in the two version information. When the version level of the second version in the terminal is lower than the version level of the first version in the cloud, the icon resources are downloaded. When the version level of the second version in the terminal is not lower than the version level of the first version in the cloud, the icon resources may not be downloaded.
[0084] After the icon resource is downloaded, the terminal can perform integrity check, legality check and security check on the icon resource to obtain the check result. The specific process of the check can refer to the existing method and will not be described in detail here.
[0085] When the verification result is a verification failure, verification failure information may be sent to the cloud so that the cloud updates the icon resource.
[0086] When the verification result is that the verification is passed, the icon resource can be parsed to obtain multiple first icon elements and application type information. When the application type information indicates that the target application is a system application, the multiple first icon elements can be stored in the system default storage space. When the application type information indicates that the target application is a user application, the multiple first icon elements can be stored in the preloaded storage space. In addition, in the case of parsing failure, it can be re-parsed, and the information of parsing failure can be reported to the cloud.
[0087] In this way, by storing multiple first icon elements in the second storage space before releasing the first version, multiple first icon elements can be immediately obtained when the target application is switched from the second version to the first version, so that the icon and application version can be switched synchronously, avoiding icon display delays and improving user experience.
[0088] In some embodiments, in S130, the combination of icon elements may include, for example, that the color mask of the icon is located at the bottom layer of the icon, the icon logo is located at the upper layer of the color mask, the icon logo is located above the icon, etc. In addition, the combination of icon elements corresponding to different icon display conditions may be different. For example, if the icon display condition includes holiday A, and the icon element includes logo A, then the combination of icon elements may include that logo A is located at the upper right corner of the entire icon. If the icon display condition includes holiday B, and the icon element includes logo B, then the combination of icon elements may include that logo B is located at the lower left corner of the entire icon. After combining multiple target icon elements according to the combination of icon elements corresponding to the target display condition, the target icon can be obtained.
[0089] In some embodiments, in S140 , after obtaining the target icon, the target application may be displayed as the target icon.
[0090] In addition, in order to save storage space, after the storage paths of the multiple first icon elements are transferred from the preloaded storage space to the first storage space, the multiple first icon elements can be deleted in the preloaded storage space, and the multiple icon elements corresponding to the second version can be deleted in the first storage space. Since the system application is a built-in application of the system, if the storage paths of the multiple first icon elements are transferred from the system default storage space to the first storage space, the multiple first icon elements in the system default storage space may not be deleted, so that when the user uninstalls the higher version of the system application, the icon corresponding to the lower version can still be displayed in the terminal.
[0091] Based on this, in order to ensure that the icon corresponding to the system application is still displayed normally when the user uninstalls the system application, in some embodiments, after the above S140, the following may also be included:
[0092] When the target application is a system application and the target application is switched from the first version to the third version, a plurality of second icon elements corresponding to the third version are obtained from the system default storage space, where the third version is a version corresponding to the icon elements stored in the system default storage space, and the third version is lower than the first version;
[0093] A plurality of second icon elements are stored in the first storage space.
[0094] Here, the second icon element can be used as an icon element corresponding to the default icon. That is, if the user uninstalls the first version of the system application from the terminal, the system application can automatically switch from the first version to the third version, and the first icon element stored in the first storage space can be switched to the second icon element.
[0095] In this way, by storing the plurality of second icon elements in the first storage space, it can be ensured that when the user uninstalls the system application, the icon corresponding to the system application is still displayed normally.
[0096] In order to better describe the entire solution, some specific examples are given based on the above embodiments.
[0097] For example, a schematic diagram of an icon display method provided in an embodiment of the present application can be as follows: Figure 2 In the embodiment of the present application, the terminal may be a vehicle-mounted terminal.
[0098] Specifically, the cloud can send data (icon resources) to the vehicle side, and the configuration management service in the vehicle side can parse the icon resources to obtain multiple icon elements and application type information corresponding to the icon elements, and write the multiple icon elements into the second storage space corresponding to the application type information (including the system default storage space and the preloaded storage space). Other system support services in the vehicle side can monitor the version of the application, and when it is detected that the version is switched to the version corresponding to the icon elements stored in the second storage space, the icon elements stored in the second storage space are updated to the first storage space. Other system support services in the vehicle side can monitor the icon display conditions, and notify the theme center when the target display conditions are met. After receiving the notification, the theme center can read multiple target icon elements from the first storage space. Furthermore, after the target icon elements are combined to obtain the target icon, the application can be displayed as the target icon.
[0099] For another example, an icon display method provided in an embodiment of the present application may specifically include the following steps:
[0100] S21. For the first version of the target application, after the user uploads the designed multiple first icon elements to the cloud, the cloud packages the multiple first icon elements and application type information of the target application to obtain icon resources;
[0101] S22. The cloud sends icon publishing information to the vehicle, where the icon publishing information includes first version information of the target application corresponding to the icon element;
[0102] S23, after receiving the icon release information, the vehicle end obtains the second version information of the target application in the vehicle;
[0103] S24, comparing the version levels of a first version corresponding to the first version information and a second version corresponding to the second version information;
[0104] S25, determining whether the version level of the first version is higher than the version level of the second version, if not, then the icon resource is not downloaded, if so, executing S26;
[0105] S26. Download icon resources;
[0106] S27, verify the icon resource. If the verification fails, send verification failure information to the cloud so that the cloud updates the icon resource. If the verification passes, execute S28;
[0107] S28, parsing the icon resource, and in case of parsing failure, sending parsing failure information to the cloud, and in case of parsing success, obtaining a plurality of first icon elements and application type information of the target application;
[0108] S29, storing the plurality of first icon elements in a second storage space corresponding to the application type information;
[0109] S210, when the target application is switched from the second version to the first version, updating the first icon element from the second storage space to the first storage space, and when the second storage space is a preload storage space, deleting the first icon element in the preload storage space;
[0110] S211, when the target display condition is met, acquiring a plurality of target icon elements corresponding to the target display condition from the first storage space;
[0111] S212, combining multiple target icon elements according to a combination method of icon elements corresponding to the target display condition to obtain a target icon;
[0112] S213: Display the target application as a target icon.
[0113] Therefore, through the embodiments of the present application, different icons can be displayed according to different icon display conditions without changing the version of the target application, thereby improving the user's visual experience.
[0114] Based on the icon display method provided in the above embodiment, the present application also provides a specific implementation of the icon display device. Please refer to the following embodiment.
[0115] like Figure 3 As shown, the icon display device 300 provided in the embodiment of the present application includes the following modules:
[0116] A monitoring module 310, configured to monitor, when the target application in the terminal is in the first version, an icon display condition corresponding to the first version; wherein the icon display condition corresponds one-to-one to an icon displayed by the target application;
[0117] A first acquisition module 320, configured to acquire, when the icon display condition satisfies the target display condition, a plurality of target icon elements corresponding to the target display condition from a plurality of first icon elements, wherein the first icon element is an icon element corresponding to the first version;
[0118] A combination module 330, used to combine multiple target icon elements according to the combination mode of icon elements corresponding to the target display condition to obtain a target icon; wherein the combination mode of icon elements corresponding to different icon display conditions is different;
[0119] The display module 340 is configured to display the target application as a target icon.
[0120] The icon display device 300 is described in detail below, as shown below:
[0121] In some embodiments, the icon display condition corresponds to multiple category tags, and each category tag corresponds to multiple first icon elements. Based on this, the first acquisition module 320 may specifically include:
[0122] The selection submodule is used to select, for each category label, a target icon element corresponding to the target display condition from a plurality of first icon elements corresponding to the category label to obtain a plurality of target icon elements.
[0123] In some embodiments, the first acquisition module 320 may specifically include:
[0124] The acquisition submodule is used to obtain multiple target icon elements corresponding to the target display conditions from multiple first icon elements stored in the first storage space. The first storage space is used to store icon elements corresponding to the target version. The target version is the version of the target application in the terminal, and the target version includes the first version.
[0125] In some embodiments, the icon display device 300 may further include:
[0126] a second acquisition module, for, when the target application in the terminal is in the first version, before monitoring the icon display condition corresponding to the first version, when the target application in the terminal is switched from the second version to the first version, acquiring a plurality of first icon elements corresponding to the first version from a second storage space corresponding to the target application, the version level of the second version being lower than the version level of the first version, and the second storage space being used to store icon elements downloaded by the terminal from the cloud;
[0127] The first storage module is used to store a plurality of first icon elements in a first storage space.
[0128] In some embodiments, the icon display device 300 may further include:
[0129] a download module, configured to download icon resources including the plurality of first icon elements and application type information of the target application before acquiring the plurality of first icon elements corresponding to the first version from the second storage space corresponding to the target application when the target application in the terminal is switched from the second version to the first version and the icon resources corresponding to the first version of the target application are released in the cloud, when the target application in the terminal is in the second version;
[0130] The verification module is used to verify the icon resources and obtain the verification results;
[0131] A parsing module, configured to parse the icon resource to obtain a plurality of first icon elements and application type information when the verification result is that the verification is passed;
[0132] The second storage module is used to store the plurality of first icon elements into a second storage space corresponding to the application type information.
[0133] In some embodiments, the second storage space includes a system default storage space, and the system default storage space is used to store icon elements corresponding to system applications downloaded by the terminal from the cloud.
[0134] Based on this, the icon display device 300 may further include:
[0135] a third acquisition module, configured to, after displaying the target application as the target icon, acquire, from the system default storage space, a plurality of second icon elements corresponding to the third version, if the target application is a system application and the target application is switched from the first version to the third version, wherein the third version is an application version corresponding to the icon elements stored in the system default storage space, and the third version is lower than the first version;
[0136] The third storage module is used to store the plurality of second icon elements into the first storage space.
[0137] In the icon display device of the embodiment of the present application, since the icon display condition corresponds to the icon displayed by the target application one-to-one, by monitoring the icon display condition corresponding to the first version when the target application in the terminal is in the first version, it is possible to accurately determine when the target application displays which icon. By obtaining multiple target icon elements corresponding to the target display condition from multiple first icon elements corresponding to the first version when the icon display condition of the target application meets the target display condition, combining the multiple target icon elements in accordance with the combination method of the icon elements corresponding to the target display condition to obtain the target icon, and displaying the target application as the target icon, different icons can be displayed according to different icon display conditions when the version of the target application remains unchanged, thereby improving the user's visual experience.
[0138] Based on the icon display method provided in the above embodiment, the embodiment of the present application also provides a specific implementation of the electronic device. Figure 4 A schematic diagram of an electronic device 400 provided in an embodiment of the present application is shown.
[0139] The electronic device 400 may include a processor 410 and a memory 420 storing computer program instructions.
[0140] Specifically, the processor 410 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0141] The memory 420 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 420 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 420 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 420 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 420 is a non-volatile solid-state memory.
[0142] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of the present application.
[0143] The processor 410 implements any one of the icon display methods in the above embodiments by reading and executing computer program instructions stored in the memory 420 .
[0144] In one example, the electronic device 400 may further include a communication interface 430 and a bus 440. Figure 4 As shown, the processor 410, the memory 420, and the communication interface 430 are connected via a bus 440 and communicate with each other.
[0145] The communication interface 430 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0146] Bus 440 includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 440 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0147] Exemplarily, the electronic device 400 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).
[0148] The electronic device can execute the icon display method in the embodiment of the present application, thereby realizing the combination Figures 1 to 3 The invention describes an icon display method and device.
[0149] In addition, in combination with the icon display method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the icon display methods in the above embodiment is implemented.
[0150] In addition, the embodiment of the present application further provides a vehicle, which may include at least one of the following:
[0151] An icon display device as in any one of the embodiments of the second aspect;
[0152] An electronic device as in any one of the embodiments of the third aspect;
[0153] The computer-readable storage medium in any one of the embodiments of the fourth aspect will not be described in detail here.
[0154] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0155] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0156] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0157] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0158] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. An icon display method, characterized in that: include: When the target application in the terminal is in a first version, monitoring an icon display condition corresponding to the first version; wherein the icon display condition corresponds one-to-one to an icon displayed by the target application; In a case where the icon display condition satisfies a target display condition, acquiring a plurality of target icon elements corresponding to the target display condition from a plurality of first icon elements, wherein the first icon elements are icon elements corresponding to the first version; Combining the plurality of target icon elements according to the combination mode of the icon elements corresponding to the target display condition to obtain a target icon; wherein the combination modes of the icon elements corresponding to different icon display conditions are different; The target application is displayed as the target icon.
2. The method according to claim 1, characterized in that The icon display condition corresponds to a plurality of category tags, each of the category tags corresponds to a plurality of first icon elements, and the acquiring a plurality of target icon elements corresponding to the target display condition from the plurality of first icon elements comprises: For each of the category tags, a target icon element corresponding to the target display condition is selected from the multiple first icon elements corresponding to the category tag to obtain the multiple target icon elements.
3. The method according to claim 1, characterized in that The acquiring a plurality of target icon elements corresponding to the target display condition from the plurality of first icon elements comprises: A plurality of target icon elements corresponding to the target display condition are obtained from a plurality of first icon elements stored in a first storage space, wherein the first storage space is used to store icon elements corresponding to a target version, wherein the target version is a version of a target application in the terminal, and the target version includes the first version.
4. The method according to claim 3, characterized in that In the case where the target application in the terminal is in the first version, before monitoring the icon display condition corresponding to the first version, the method further includes: When the target application in the terminal is switched from the second version to the first version, acquiring a plurality of first icon elements corresponding to the first version from a second storage space corresponding to the target application, the version level of the second version being lower than the version level of the first version, and the second storage space being used to store the icon elements downloaded by the terminal from the cloud; The plurality of first icon elements are stored in the first storage space.
5. The method according to claim 4, characterized in that In the case where the target application in the terminal is switched from the second version to the first version, before acquiring a plurality of first icon elements corresponding to the first version from a second storage space corresponding to the target application, the method further includes: When the target application in the terminal is in the second version and the cloud publishes an icon resource corresponding to the first version of the target application, downloading the icon resource, wherein the icon resource includes a plurality of the first icon elements and application type information of the target application; Verifying the icon resource to obtain a verification result; If the verification result is that the verification is passed, parsing the icon resource to obtain the multiple first icon elements and the application type information; The plurality of first icon elements are stored in a second storage space corresponding to the application type information.
6. The method according to claim 4, characterized in that The second storage space includes a system default storage space, and the system default storage space is used to store icon elements corresponding to system applications downloaded by the terminal from the cloud; After displaying the target application as the target icon, the method further includes: When the target application is a system application and the target application is switched from the first version to a third version, a plurality of second icon elements corresponding to the third version are obtained from the system default storage space, the third version being an application version corresponding to the icon elements stored in the system default storage space, and the third version being lower than the first version; The plurality of second icon elements are stored in the first storage space.
7. An icon display device, characterized in that: The device comprises: A monitoring module, configured to monitor, when the target application in the terminal is in a first version, an icon display condition corresponding to the first version; wherein the icon display condition corresponds one-to-one to an icon displayed by the target application; A first acquisition module, configured to acquire, when the icon display condition satisfies a target display condition, a plurality of target icon elements corresponding to the target display condition from a plurality of first icon elements, wherein the first icon elements are icon elements corresponding to the first version; A combination module, used to combine the multiple target icon elements according to the combination mode of the icon elements corresponding to the target display condition to obtain a target icon; wherein the combination mode of the icon elements corresponding to different icon display conditions is different; The display module is used to display the target application as the target icon.
8. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the icon display method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the icon display method according to any one of claims 1 to 6 is implemented.
10. A vehicle, characterized in that: Include at least one of the following: The icon display device as claimed in claim 7; The electronic device as claimed in claim 8; The computer readable storage medium of claim 9.