Indicator icon display method
By setting the trigger release status flag and the icon display flag, we ensure that the switching and extinguishing status of the energy recovery icon is accurate, and the problem of confusing icon display in the prior art is solved, and the reliability and product competitiveness of the icon are improved.
Patent Information
- Application Number
- CN202510111000.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-30
AI Technical Summary
In the prior art, the energy recovery icon cannot effectively distinguish the two states of switching and extinguishing, resulting in the icon display being confused and affecting driving safety.
By pre-storing the indicator icons of at least two levels of the target event and the cut-off effect sequence diagram when switching the indicator icons of different levels, setting the trigger release status flag and the icon display flag bit, and performing corresponding setting strategies according to the demand event type to ensure the accurate processing of the icon status.
It realizes the accuracy and reliability of the switching status of the indicator icon, avoids the overlapping of icons and disordered order, and improves product competitiveness.
Smart Images

Figure CN120066343A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of human-computer interaction, and in particular to a method for displaying an indication icon. Background Art
[0002] With the rapid development of electronic technology, more and more intelligent cockpits of cars are using LCD instruments. The display and various functions of LCD instruments usually need to run on the basis of the corresponding system, and then display different icons according to the different modes of the vehicle, which makes the design and display strategy of the human-machine interaction interface of LCD instruments more and more complicated. In particular, the current energy recovery icon cannot distinguish between the switching and extinguishing states well, which sometimes causes the corresponding icons to be displayed confusingly, affecting driving safety. Summary of the invention
[0003] The present invention provides an indicator icon display method, aiming to solve the defects in the prior art, realize accurate switching of icons, high reliability, and improve product competitiveness.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is:
[0005] The present invention provides an indication icon display method, comprising:
[0006] Step 1: pre-store at least two levels of indicator icons of the target event and a switching animation sequence diagram when the indicator icons of different levels are switched, and set the trigger release state flag and icon display flag of the indicator icon;
[0007] Step 2: Receive a demand event from an upper layer, and execute a corresponding setting strategy to configure the value of the trigger release status flag and the icon display flag according to the type of the demand event;
[0008] Step 3: Pair the current indicator icon according to the setting strategy and execute the corresponding display strategy.
[0009] Specifically, the step 2 includes:
[0010] If the demand event is to change the state of the current indicator icon to off, execute the first setting strategy;
[0011] If the demand event is to change the state of the current icon to a new state, the second setting strategy is executed.
[0012] Specifically, the first setting strategy is: setting the value of the trigger release status flag to an invalid value, and setting the value of the icon display flag of the current indication icon to an invalid value.
[0013] Specifically, the second setting strategy is as follows: set the value of the trigger release status flag to a valid value and maintain it, set the icon display flag value of the current indicator icon to an invalid value, and set the icon display flag value of the target indicator icon to a valid value.
[0014] Specifically, setting the value of the icon display flag includes: notifying the display processing module to set the value of the icon display flag through a preset message by the corresponding middleware processing message sending logic.
[0015] Specifically, step 3 includes:
[0016] If the setting strategy is the first setting strategy, hide the current indicator icon;
[0017] If the setting strategy is the second setting strategy, read the sequence diagram, play the cutscene animation effect, and when the sequence diagram is played, display the corresponding indicator icon according to the icon display flag value of the target indicator light icon.
[0018] Further, after step 3, it further includes:
[0019] Step 4, determine whether to enter a preset interface. If so, hide the current indicator icon;
[0020] Step 5, determine whether to exit the preset interface. If so, determine whether the indicator icon has changed in the preset interface. If so, display the updated indicator icon; otherwise, display the indicator icon when entering the preset interface.
[0021] Specifically, the preset interface is a charge and discharge interface.
[0022] The beneficial effects of the present invention are as follows: by setting the trigger release status flag, the present invention differentiates the processing of the indicator icon status into two states: switching and extinguishing, avoiding problems such as icon overlap and disordered order caused by chaotic switching logic, making the switching state of the icon accurate and reliable, and improving the product competitiveness. Description of the Drawings
[0023] Figure 1 It is a flowchart of the indicator icon display method of the present invention. Specific Embodiments
[0024] The following specifically illustrates the embodiments of the present invention in conjunction with the drawings. The drawings are only for reference and illustration, and do not constitute a limitation on the protection scope of the present invention patent.
[0025] In the process described in the specification, claims or drawings of the present invention, the serial numbers of each step (such as step 10, 20, etc.) are included. The serial numbers are only used to distinguish the steps, and the serial numbers themselves do not represent any execution order. It should be noted that the descriptions such as "first" and "second" in this article are only used to distinguish the description objects, etc., and do not represent the order of precedence, nor do they mean that "first", "second", etc. are different types.
[0026] like Figure 1 As shown, this embodiment provides an indication icon display method, including:
[0027] Step 1: pre-store at least two levels of indicator icons of the target event and a switching animation sequence diagram when the indicator icons of different levels are switched, and set the trigger release status flag AlarmStatusFlag and the icon display flag bshow of the indicator icon.
[0028] In this embodiment, the target event is an event defined according to user needs, such as an energy recovery indication.
[0029] Different levels of indicator icons are used to indicate different levels of target event switching. For example, in a specific implementation, three levels of indicator icons, high, medium, and low, can be set for the target event. It is easy to understand that any number of indicator icons can be set according to different needs.
[0030] In this embodiment, the image switching effect refers to the effect when different levels of indicator icons are switched, for example, switching from a high-level energy recovery indicator to a medium-level energy recovery indicator, or switching from a medium-level energy recovery indicator to a low-level energy recovery indicator.
[0031] Step 2: Receive a demand event from an upper layer, and execute a corresponding setting strategy to configure the value of the trigger release status flag AlarmStatusFlag and the icon display flag bshow according to the type of the demand event.
[0032] In this embodiment, step 2 includes:
[0033] If the demand event is to change the state of the current indicator icon to off, execute the first setting strategy;
[0034] If the demand event is to change the state of the current icon to a new state, the second setting strategy is executed.
[0035] The first setting strategy is: setting the value of the trigger release status flag bit AlarmStatusFlag to an invalid value 0, and setting the value of the icon display flag bit bshow of the current indication icon to an invalid value 0.
[0036] The second setting strategy is: setting the value of the trigger release status flag AlarmStatusFlag to a valid value 1 and maintaining it, setting the value of the icon display flag bshow of the current indication icon to an invalid value 0, and setting the value of the icon display flag bshow of the target indication icon to a valid value 1.
[0037] In this embodiment, setting the value of the icon display flag bshow includes: informing the display processing module through a preset message by the corresponding middleware processing message sending logic to set the value of the icon display flag bshow.
[0038] Step 3: Pair the current indicator icon according to the setting strategy and execute the corresponding display strategy.
[0039] In this embodiment, step 3 includes:
[0040] If the setting strategy is the first setting strategy, hiding the current indication icon;
[0041] If the setting strategy is the second setting strategy, the sequence diagram is read, and the image-switching animation is played. When the sequence diagram is played, the corresponding indicator icon is displayed according to the value of the icon display flag bit bshow of the target indicator icon.
[0042] For example, if the target indicator light icon is a low energy recovery indicator icon, then during the playback of the image cutting animation, the low energy recovery indicator icon will not be displayed but will be hidden, and will only be displayed after the playback of the image cutting animation is completed.
[0043] In another embodiment of the present invention, after step 3, the method further includes:
[0044] Step 4: Determine whether to enter the preset interface, and if so, hide the current indicator icon.
[0045] In this embodiment, the preset interface is a charge and discharge interface.
[0046] Step 5: Determine whether to exit the preset interface. If yes, determine whether the indicator icon in the preset interface has changed. If yes, display the updated indicator icon. Otherwise, display the indicator icon for entering the preset interface.
[0047] The above disclosure is only a preferred embodiment of the present invention, which cannot be used to limit the scope of protection of the present invention. Therefore, equivalent changes made according to the scope of the patent application of the present invention are still within the scope covered by the present invention.
Claims
1. A method for displaying an indicator icon, characterized in that: include: Step 1: pre-store at least two levels of indicator icons of the target event and a switching animation sequence diagram when the indicator icons of different levels are switched, and set the trigger release state flag and icon display flag of the indicator icon; Step 2: Receive a demand event from an upper layer, and execute a corresponding setting strategy to configure the value of the trigger release status flag and the icon display flag according to the type of the demand event; Step 3: Pair the current indicator icon according to the setting strategy and execute the corresponding display strategy.
2. The method for displaying an indication icon according to claim 1, characterized in that: If the demand event is to change the state of the current indicator icon to off, execute the first setting strategy; If the demand event is to change the state of the current icon to a new state, the second setting strategy is executed.
3. The method for displaying an indication icon according to claim 2, characterized in that: The first setting strategy is: setting the value of the trigger release status flag to an invalid value, and setting the value of the icon display flag of the current indication icon to an invalid value.
4. The method for displaying an indication icon according to claim 2, characterized in that: The second setting strategy is: setting the value of the trigger release status flag to a valid value and maintaining it, setting the value of the icon display flag of the current indication icon to an invalid value, and setting the value of the icon display flag of the target indication icon to a valid value.
5. The method for displaying an indication icon according to claim 3 or 4, characterized in that: Setting the value of the icon display flag bit includes: notifying the display processing module to set the value of the icon display flag bit through a preset message by the corresponding middleware processing message sending logic.
6. The method for displaying an indication icon according to claim 5, characterized in that: The step 3 comprises: If the setting strategy is the first setting strategy, hiding the current indication icon; If the setting strategy is the second setting strategy, the sequence diagram is read, and the image switching effect is played. When the sequence diagram is played, the corresponding indicator icon is displayed according to the value of the icon display flag of the target indicator icon.
7. The method for displaying an indication icon according to claim 6, characterized in that: After step 3, the method further includes: Step 4: Determine whether to enter the preset interface, if yes, hide the current indicator icon; Step 5: Determine whether to exit the preset interface. If yes, determine whether the indicator icon in the preset interface has changed. If yes, display the updated indicator icon. Otherwise, display the indicator icon for entering the preset interface.
8. The method for displaying an indication icon according to claim 7, characterized in that: The preset interface is a charge and discharge interface.