Interface display method and device, electronic equipment and storage medium
By switching the real-time activity reminder control as an application icon in the status bar of the electronic device, the problem of the real-time activity reminder control affecting the display of other application icons is solved, achieving greater display space and user operation convenience.
Patent Information
- Application Number
- CN202411698332.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-04
AI Technical Summary
When displaying real-time active reminder controls in the status bar of electronic devices, it is easy to affect the display of icons of other applications, resulting in the notification icon being unable to be displayed, affecting the timeliness of notification messages.
By displaying the first interface in the status bar, including the status bar and the real-time activity reminder control corresponding to the first application located in the status bar, if the real-time activity reminder control meets the closing condition, it will be switched to the first icon corresponding to the first application, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
It realizes that when displaying real-time active reminder controls in the status bar, it increases the available display space to avoid affecting the icon display of other applications, and at the same time ensures that users can trigger relevant operations on the application through the icon.
Smart Images

Figure CN119557034A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to an interface display method, device, electronic device and storage medium. Background Art
[0002] With the rapid advancement of technology and living standards, electronic devices (such as smart phones, tablet computers, etc.) have become one of the commonly used electronic products in people's lives. At present, some electronic devices support displaying real-time activity reminder controls of applications in the status bar, so that users can view relevant information of real-time activities of applications in real time. However, when the real-time activity reminder control is displayed in the status bar, it is easy to affect the display of icons of other applications in the status bar. Summary of the invention
[0003] The present application proposes an interface display method, device, electronic device and storage medium, which can enable an electronic device to display a real-time activity reminder control in a status bar without affecting the display of icons of other applications in the status bar.
[0004] In a first aspect, an embodiment of the present application provides an interface display method, the method comprising: displaying a first interface, the first interface comprising a status bar and a real-time activity reminder control corresponding to a first application located in the status bar; if the real-time activity reminder control meets a folding condition, switching the real-time activity reminder control in the status bar to a first icon corresponding to the first application, the display size of the first icon being smaller than the display size of the real-time activity reminder control.
[0005] In a second aspect, an embodiment of the present application provides an interface display device, comprising: a control display module and a control folding module, wherein the control display module is used to display a first interface, the first interface comprising a status bar and a real-time activity reminder control corresponding to a first application located in the status bar; the space folding module is used to switch the real-time activity reminder control in the status bar to a first icon corresponding to the first application if the real-time activity reminder control meets a folding condition, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the interface display method provided in the first aspect above.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the interface display method provided in the first aspect above.
[0008] The solution provided by the present application is to display a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to a first application located in the status bar. If the real-time activity reminder control meets the retracting condition, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application, and the display size of the first icon is smaller than the display size of the real-time activity reminder control. Thus, when the electronic device displays the real-time activity reminder control in the status bar, it can switch the real-time activity reminder control to the icon of the application for display when the real-time activity reminder control meets the retracting condition, thereby increasing the available display space in the status bar, thereby avoiding affecting the display of icons of other applications in the status bar. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0011] Figure 2 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0012] Figure 3 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0013] Figure 4 A schematic flow chart of an interface display method according to an embodiment of the present application is shown.
[0014] Figure 5 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0015] Figure 6 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0016] Figure 7 A flow chart of an interface display method according to another embodiment of the present application is shown.
[0017] Figure 8 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0018] Fig. 9 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0019] Fig.10 A flow chart of an interface display method according to yet another embodiment of the present application is shown.
[0020] Fig.11 A flow chart of an interface display method according to another embodiment of the present application is shown.
[0021] Fig.12 A schematic flow chart of an interface display method according to yet another embodiment of the present application is shown.
[0022] Fig.13 A schematic diagram of an interface provided in an embodiment of the present application is shown.
[0023] Fig.14 A flow chart of an interface display method according to yet another embodiment of the present application is shown.
[0024] Fig.15 A block diagram of an interface display device according to an embodiment of the present application is shown.
[0025] Fig.16 It is a block diagram of an electronic device according to an embodiment of the present application for executing the interface display method according to an embodiment of the present application.
[0026] Fig.17 It is a storage unit of an embodiment of the present application for storing or carrying program codes for implementing the interface display method according to an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0028] With the advancement of science and technology and the continuous improvement of the configuration of electronic devices, more and more applications are installed in electronic devices. When users use applications and there are real-time activities in the applications, users usually hope to be able to view the relevant information of the real-time activities in real time. Therefore, some current electronic devices support the display of real-time activity reminder controls in the status bar, and can display relevant information of real-time activities in the real-time activity reminder controls. For example, the real-time activities of taxi applications and food delivery applications can be displayed. When the electronic device detects a touch operation on the real-time activity reminder control in the status bar, it can display a modal pop-up window of the application or switch the current display interface to the application interface of the application.
[0029] In the related art, although the electronic device displays a real-time activity reminder control in the status bar, which not only facilitates the user to observe the relevant information of the real-time activity of the application, but also enables the user to quickly use the application corresponding to the real-time activity reminder control, since the display space of the status bar at the top of the display interface is limited, and there are other applications in the electronic device, it is necessary to display the icons of other applications in the status bar, for example, displaying the icon corresponding to the application with the notification message (i.e., the notification icon) in the status bar to achieve the purpose of prompting the notification message of the application. Therefore, in the case where the real-time activity reminder control of the application is displayed in the status bar, since the display size of the real-time activity reminder control is usually larger than the display size of the icon, then displaying the real-time activity reminder control in the status bar will compress the display space of the notification icon, resulting in the notification icon being unable to be displayed in the status bar, thereby affecting the display of icons of other applications, especially affecting the display of the notification icon, and then affecting the timeliness of the notification message, causing the user to miss some application notifications.
[0030] For example, see Figure 1 , the electronic device displays a timer application control A1 in the status bar of the display interface, and the control A1 is a real-time activity reminder control, and the timing information can be displayed in the control A1; please refer to Figure 2 After the control A1 is operated for the first time, a modal pop-up window A2 of the timer application may be displayed, in which the timing information and the controls for timing control may be displayed. At this time, since the control A1 is no longer displayed in the status bar, the notification icon A3 of the application with the notification message is displayed in the status bar; please refer to Figure 3 After the timing control A1 is subjected to the second operation, the timing interface A4 of the timer application can be displayed. At this time, since the timing control A1 is no longer displayed in the status bar, the notification icon A3 of the application with the notification message is displayed in the status bar. It can be seen that when the electronic device displays a real-time activity reminder control in the status bar, due to the limited display space in the status bar and the larger display size of the real-time activity reminder control than the icon, the icons of other applications cannot be displayed. Only when the real-time activity reminder control is operated and enters other states or the application interface of the application, so that the real-time activity reminder control is no longer displayed in the status bar, can the icons of other current applications be displayed. It can be seen that the real-time activity reminder control in the status bar will affect the display of icons of other applications.
[0031] In response to the above problems, the inventors have proposed an interface display method, device, electronic device, and storage medium provided in the embodiments of the present application, which can realize that when an electronic device displays a real-time activity reminder control in a status bar, the real-time activity reminder control can be switched to an application icon for display when the real-time activity reminder control meets the retracting condition, thereby increasing the available display space in the status bar and avoiding affecting the display of icons of other applications in the status bar. The specific interface display method is described in detail in the subsequent embodiments.
[0032] The interface display method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0033] See also Figure 4 , Figure 4 FIG. 1 is a flow chart of an interface display method provided by an embodiment of the present application. In a specific embodiment, the interface display method is applied to Fig.15 The interface display device 700 and the electronic device 100 ( Fig.16 ). The following will take an electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device used in this embodiment can be a smart phone, a tablet computer, an e-book, etc., which is not limited here. Figure 4 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0034] Step S110: displaying a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to a first application located in the status bar.
[0035] Among them, the status bar is the area on the screen of the electronic device that displays the device status information. It is usually located at the top of the interface and provides users with key information about the current status of the electronic device. The status bar can display the current time, signal strength, battery power, operator information, Bluetooth connection status, alarm settings, silent mode and other information. Of course, notification icons can also be displayed in the status bar. For example, when the corresponding application has a new notification message (such as text messages, calls, emails, etc.), the corresponding icon will flash or display in the status bar to prompt the user to check.
[0036] The real-time activity reminder control is a control displayed in the status bar of the electronic device when there is a real-time activity in the application to display relevant information of the real-time activity. The real-time activity may have three stages: starting, continuing, and ending. The content displayed in the real-time activity reminder control may be different in different stages. The real-time activity reminder control is usually displayed in the status bar when the real-time activity starts, continues to be displayed in the status bar while the real-time activity continues, and stops displaying when the real-time activity ends.
[0037] Taking the real-time activity existing in the flight application as an example, the real-time activity reminder control displayed in the status bar of the electronic device can be used to remind the flight time, airport location and other information two hours before the flight takes off; when the user arrives at the airport, the real-time activity reminder control can be used to remind the security checkpoint information; when the user completes the security check, the real-time activity reminder control can be used to remind the boarding gate information. After a period of time after boarding, the electronic device stops displaying the real-time activity reminder control.
[0038] Taking the real-time activities in the food delivery application as an example, before the rider picks up the food, the real-time activity reminder control displayed in the status bar of the electronic device can be used to show the distance between the rider and the merchant; when the rider arrives at the merchant, the real-time activity reminder control can be used to remind the rider that he is picking up the food; when the rider finishes picking up the food, the real-time activity reminder control can be used to remind the rider of the distance from the delivery address. After the food is delivered for dinner, the electronic device stops displaying the real-time activity reminder control.
[0039] In some scenarios, the real-time activity reminder control can have multiple display forms. For example, it can be a capsule display form for displaying brief information of real-time activities, and the real-time activity reminder control in the capsule display form can be displayed in the status bar. The real-time activity reminder control in the capsule display form can display key information extracted from the real-time activity in the status bar, so as to facilitate users to quickly obtain key information in various situations.
[0040] In an embodiment of the present application, an electronic device may display a first interface including a status bar and a real-time activity reminder control located in the status bar. The above first interface may be any interface displayed by the electronic device, for example, the first interface may be a system main interface, or an application interface of an application running in the foreground of the electronic device, or a split-screen application interface; the first application corresponding to the real-time activity reminder control in the status bar may not be limited, for example, the first application corresponding to the real-time activity reminder control may be a timer application, a taxi application, a step counting application, a food delivery application, etc. Corresponding to the first application, the real-time activity reminder control may include relevant information of the real-time activity of the first application. For example, if the first application can be a timer application, the above real-time activity reminder control may include timing information; for another example, if the first application can be a taxi application, the above real-time activity reminder control may include information such as the distance from the destination, the current location, and the recorded mileage; for another example, if the above real-time activity reminder control is a food delivery application, the above real-time activity reminder control may include the estimated time of food delivery, the distance of the food deliveryman from the destination, etc. Of course, the information displayed in the above real-time activity reminder control is only an example, and the information displayed in the real-time activity reminder control can be determined according to specific scenarios and needs.
[0041] In some embodiments, the display area of the real-time activity reminder control corresponding to the first application in the status bar may be located in the display area for displaying application icons in the status bar of the electronic device. In other words, the real-time activity reminder control corresponding to the first application displayed in the first interface occupies the display area for displaying application icons in the status bar, or occupies part of the display area for displaying application icons in the status bar.
[0042] In some embodiments, when displaying the above-mentioned first interface, the electronic device can detect operations in the first interface. When a touch operation of the real-time activity reminder control corresponding to the above-mentioned first application is detected, the electronic device can cancel the display of the real-time activity reminder control in the status bar, and display a modal pop-up window corresponding to the first application in the interface, or directly switch the first interface to the interface of the first application. Thus, when the real-time activity reminder control of the application is displayed in the status bar, it is convenient for the user to operate the real-time activity reminder control in the status bar, so that the electronic device can display an interface for the user to operate the first application, and then the user can operate the application more quickly through the real-time activity reminder control in the status bar.
[0043] In some embodiments, in the first interface, in addition to displaying the real-time activity reminder control of the first application in the status bar, the electronic device may also display the real-time activity reminder control of the application in other areas other than the status bar in the first interface. That is, the real-time activity reminder control displayed by the electronic device in the first interface may be one (i.e., the real-time activity reminder control of the first application in the status bar above) or multiple.
[0044] In a possible implementation, when the electronic device displays multiple real-time activity reminder controls, and the multiple real-time activity reminder controls include at least the real-time activity reminder control corresponding to the above first application located in the status bar, the electronic device may also, in response to an operation on the real-time activity reminder control, display the real-time activity reminder control in a target display area other than the status bar in the first interface, and display any real-time activity reminder control among the multiple real-time activity reminder controls other than the real-time activity reminder control corresponding to the first application in the status bar. The display size of the real-time activity reminder control located in the status bar may be smaller than the display size of the real-time activity reminder control located in the above target display area.
[0045] Optionally, the electronic device may also cancel the display of the real-time activity reminder control corresponding to the first application in the status bar in response to an operation on any of the other real-time activity reminder controls, display the operated real-time activity reminder control in the status bar, and display the real-time activity reminder control corresponding to the first application in the above target display area, and other real-time activity reminder controls refer to multiple real-time activity reminder controls other than the real-time activity reminder control corresponding to the first application. Exemplarily, the first interface displayed by the electronic device includes a real-time activity reminder control 1 located in the status bar and a real-time activity reminder control 2 located in other areas outside the status bar. When the electronic device detects a drag operation on the real-time activity reminder control 2, and the end position of the drag operation is the position where the real-time activity reminder control corresponding to the first application is displayed in the status bar, the electronic device may respond to the drag operation, display the real-time activity reminder control 1 in other areas outside the status bar, and display the real-time activity reminder control 2 in the status bar (for example, the position where the real-time activity reminder control 1 is displayed in the status bar).
[0046] In some implementations, the first application may be an application that can display a corresponding real-time activity reminder control in a status bar, that is, the first application has permission to display a real-time activity reminder control in a status bar.
[0047] In a possible implementation, the electronic device may determine the permission of the installed application to display the real-time activity reminder control in the status bar according to the user operation. Figure 5 , the electronic device can display a setting interface A5 for the permissions of the real-time activity reminder control, wherein the setting interface A5 includes an application list, wherein the application list includes application identifiers A6 of each application and a corresponding switch control A7 is displayed near each application identifier A6; the electronic device can respond to an operation A7 of a switch control corresponding to any application identifier A6, control the above permissions of the application corresponding to the application identifier A6 to be in an enabled state, thereby enabling the application to have the permission to display the real-time activity reminder control in the status bar, or control the above permissions of the application corresponding to the application identifier to be in a disabled state, thereby canceling the permission of the application to display the real-time activity reminder control in the status bar.
[0048] Step S120: If the real-time activity reminder control meets the folding condition, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
[0049] In an embodiment of the present application, after the electronic device displays the real-time activity reminder control corresponding to the first application in the status bar, it can determine whether the real-time activity reminder control meets the retracting condition during the display of the real-time activity reminder control. The retracting condition is the condition that the electronic device currently needs to display the icon in the status bar first; if the real-time activity reminder control meets the retracting condition, it means that the electronic device currently needs to display the icon in the status bar first, rather than continuing to display the real-time activity reminder control so that the real-time activity reminder control occupies the display area where the icon is located. Therefore, when the real-time activity reminder control meets the retracting condition, the electronic device can switch the real-time activity reminder control in the status bar to the first icon corresponding to the first application, and the display size of the displayed first icon is smaller than the display size of the real-time activity reminder control, so that there is more space for displaying information in the status bar, and then the electronic device can display the icons of other applications in the status bar to avoid affecting the display of the icons of other applications in the status bar. In addition, since in the case where the above real-time activity reminder control meets the retracting condition, although the real-time activity reminder control corresponding to the first application is no longer displayed in the status bar, the first icon corresponding to the first application is still displayed in the status bar, so that the user can still trigger the first application to perform related operations through the displayed first icon later.
[0050] In addition, after determining whether the real-time activity reminder control meets the folding conditions, if the real-time activity reminder control does not meet the folding conditions, it means that the electronic device currently does not need to display the icon in the status bar first. In this case, the electronic device can continue to display the above real-time activity reminder control in the status bar.
[0051] In some embodiments, the above folding conditions may be determined for the situation where the electronic device needs a priority icon in the status bar. The folding conditions may include: receiving a notification message corresponding to any application, or not detecting that the duration of the operation on the real-time activity reminder control reaches the first duration (that is, the duration is greater than or equal to the first duration). Among them, the specific duration of the first duration may not be limited, for example, it may be 10 seconds, 15 seconds, 30 seconds, etc., and the specific duration of the first duration may also be determined based on the detected user operation. In other words, if a notification message corresponding to the second application is received, the electronic device may switch the real-time activity reminder control in the status bar to the first icon corresponding to the first application, or if the duration of the operation on the real-time activity reminder control is not detected to reach the first duration, the electronic device may switch the real-time activity reminder control in the status bar to the first icon corresponding to the first application. The above second application may be any application installed by the electronic device, for example, it may be a chat application, a payment application, a shopping application, etc.
[0052] It can be understood that when a notification message from any application is received, it means that the electronic device currently has a notification message that needs to be prompted through the notification icon, and at this time the real-time activity reminder control displayed in the status bar occupies the display space in the status bar, so the notification icon cannot be displayed in the status bar. Therefore, the real-time activity reminder control in the status bar can be switched to the first icon corresponding to the first application to increase the available display space in the status bar, so that the notification icon can be displayed in the status bar; similarly, when it is not detected that the duration of the operation on the real-time activity reminder control reaches the first duration, it means that the user has not operated the real-time activity reminder control for a long time, and the user may not need to view and use the real-time activity reminder control displayed in the status bar at this time. In order to avoid affecting the display of icons of other applications in the status bar, the real-time activity reminder control in the status bar can also be switched to the first icon corresponding to the first application to increase the available display space in the status bar, so that icons of other applications can be displayed in the status bar.
[0053] In a possible implementation, each of the above folding conditions can be used as a display mode of the real-time activity reminder control, and the electronic device can control the display mode corresponding to each condition to be in an enabled state or a disabled state according to the user operation; when the display mode corresponding to any condition is in an enabled state, when the electronic device displays a real-time activity reminder control in the status bar, the real-time activity reminder control can be switched to the icon of the application for display when the condition is met. For example, if the display mode corresponding to "no detection of the duration of the operation on the real-time activity reminder control reaching the first duration" is in an enabled state, then when the electronic device displays a real-time activity reminder control in the status bar of the interface, the real-time activity reminder control can be switched to the icon of the application for display when the duration of the operation on the real-time activity reminder control reaching the first duration is not detected. It should be noted that the display mode of each of the above conditions can be partially enabled or all enabled. When the display mode of each of the above conditions is enabled, the real-time activity reminder control can be switched to the icon of the application for display when any condition is met.
[0054] Optionally, the electronic device can display a mode setting interface for setting the above display modes, and the mode setting interface includes a switch control corresponding to each display mode; the electronic device can respond to the operation of the switch control corresponding to any display mode to control the display mode to be in an enabled state, or control the display mode to be in an off state.
[0055] For example, see Figure 6 The mode setting interface A8 of the display mode may include a switch control A9 corresponding to the display mode of "notification trigger" and a switch control A9 corresponding to the display mode of "long-term no operation trigger". The condition corresponding to the display mode of "notification trigger" is the receipt of a notification message corresponding to any application, and the condition corresponding to the display mode of "long-term no operation trigger" is that the duration of the operation on the real-time activity reminder control is not detected to reach a first duration; if a touch operation of the switch control A9 corresponding to the display mode of "notification trigger" is detected, and the display mode is currently in the off state, then the display mode of "notification trigger" can be controlled to be in the enabled state, so that the electronic device can switch the real-time activity reminder control to the application icon for display when a notification message corresponding to any application is received.
[0056] Of course, in the embodiment of the present application, the specific folding conditions are not limited to the conditions described in the above implementation mode, and the above folding conditions may also include other conditions. For example, the folding conditions may also include: the display time of the real-time activity reminder control in the status bar reaches the third time length.
[0057] The interface display method provided in the embodiment of the present application can achieve that when the electronic device displays the real-time activity reminder control in the status bar, the real-time activity reminder control can be switched to the application icon for display when the real-time activity reminder control meets the retraction condition, so that there is more space in the status bar for displaying information, and then the electronic device can display icons of other applications in the status bar to avoid affecting the display of icons of other applications in the status bar; and, because when the above real-time activity reminder control meets the retraction condition, the first icon corresponding to the first application is still displayed in the status bar, the user can subsequently trigger related operations on the first application through the displayed first icon, thereby also meeting the user's usage needs.
[0058] See also Figure 7 , Figure 7 A flow chart of an interface display method provided by another embodiment of the present application is shown. The interface display method is applied to the above electronic device. Figure 7 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0059] Step S210: displaying a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to a first application located in the status bar.
[0060] In the embodiment of the present application, step S210 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0061] Step S220: If a notification message corresponding to the second application is received, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application, and a second icon corresponding to the second application is displayed in a second area in the status bar.
[0062] Among them, the display size of the first icon is smaller than the display size of the real-time activity reminder control, the second area and the first area where the first icon is located do not overlap with each other, and the first area and the second area are located in the third area where the real-time activity reminder control is displayed.
[0063] In an embodiment of the present application, the folding condition of the real-time activity reminder control includes receiving a notification message corresponding to any application. When the electronic device receives a notification message corresponding to the second application, the real-time activity reminder control in the status bar can be switched to the first icon corresponding to the first application, and the second application is any application in the electronic device, and the second icon corresponding to the second application is displayed in the second area of the status bar. The areas where the first icon and the second icon are located do not overlap each other, and the areas where the first icon and the second icon are located are located in the area where the real-time activity reminder control is located when the real-time activity reminder control is displayed in the status bar. Thus, when the electronic device displays the real-time activity reminder control in the status bar, when the notification message is received, the corresponding notification icon can be fully displayed in the status bar without affecting the display of the notification icon, and the icon of the application corresponding to the real-time activity reminder control is still displayed in the status bar, so that the user can still trigger the application corresponding to the real-time activity reminder control through the icon to perform related operations, thereby meeting the user's usage needs.
[0064] In some implementations, the number of the second applications may be one or more, that is, when the electronic device receives notification messages corresponding to multiple applications, it may switch the real-time activity reminder control to the icon of the first application, and display the icons corresponding to the multiple applications in the status bar. Figure 8 and Fig. 9 , electronic equipment displays Figure 8 When the first interface B1 is shown, the first interface B1 includes a real-time activity reminder control B2 corresponding to the first application located in the status bar; when a notification message corresponding to two applications is received, the electronic device can switch the real-time activity reminder control B2 to an icon B3 corresponding to the first application in the status bar, and display the notification icons B4 of the above two applications in the status bar at the same time.
[0065] In a possible implementation, if notification messages corresponding to multiple applications are received simultaneously, and the number of multiple applications is greater than the threshold number of notification icons that can be displayed in the status bar, the electronic device can display the icons of the target applications in the status bar, and the number of target applications is the same as the threshold number; and after the display duration of the notification icons of the threshold number reaches a fourth duration, the icon of the target application that needs to be displayed next time is determined from the applications whose icons are not displayed in the above multiple applications, and then the step of displaying the icon of the target application in the status bar is returned until the icon of each application in the above multiple applications is displayed. Among them, the specific value of the above threshold number may not be limited, and the threshold number may be determined according to the size of the above third area. For example, the threshold number may be 2, that is, notification icons of at most 2 applications are displayed in the status bar; the specific duration of the fourth duration may not be limited, for example, it may be 3 seconds, 5 seconds, 8 seconds, etc.
[0066] Optionally, for the notification messages corresponding to the above multiple applications, the electronic device can sort the multiple applications according to the order of the time when the notification messages are received from the earliest to the latest, and obtain a sorting result; according to the sorting result, the icons of the applications above the quantity threshold in the sorting result can be displayed in the status bar in turn until the icon of each application in the above multiple applications is displayed.
[0067] In addition, when sorting multiple applications, if there are at least two applications that notify messages at the same time, the at least two applications may be sorted according to the order of their application priorities from high to low.
[0068] In some embodiments, the electronic device may, when receiving a notification message corresponding to the second application, switch the above real-time activity reminder control in the status bar to the icon corresponding to the first application and display the icon corresponding to the second application in the status bar, and may also determine the application priority of the first application and the application priority of the second application. The application priority may be determined in advance based on the historical usage data of the application (e.g., the number of historical usages, the frequency of historical usage, etc.), for example, the higher the historical usage frequency, the higher the application priority, and vice versa, the lower the historical usage frequency, the lower the application priority; the application priority may be determined in advance based on user operations, for example, the electronic device may determine the application priority of each application based on the detected setting operation of the application priority for each application. After determining the application priority of the first application and the application priority of the second application, the application priority of the first application can be compared with the application priority of the second application; according to the comparison result, if the application priority of the second application is higher than the application priority of the first application, it means that the second application is more important than the first application. Therefore, compared with displaying the real-time activity reminder control of the first application in the status bar, it is more important to display the notification icon of the second application. Therefore, the above real-time activity reminder control in the status bar can be switched to the icon corresponding to the first application, and the icon corresponding to the second application can be displayed in the status bar; according to the comparison result, if the application priority of the second application is lower than or equal to the application priority of the first application, the real-time activity reminder control corresponding to the first application can be kept displayed in the status bar.
[0069] In some embodiments, when the electronic device receives a notification message corresponding to the second application, before switching the above real-time activity reminder control in the status bar to the icon corresponding to the first application and displaying the icon corresponding to the second application in the status bar, it can also determine whether the second application is any application in the first list; if the second application is an application in the first list, it means that the second application is an application whose notification icon in the status bar takes precedence over the real-time activity reminder control as required by the user, that is, when the real-time activity reminder control is displayed in the status bar, the notification icon of the application is displayed in the status bar first, so the above real-time activity reminder control in the status bar can be switched to the icon corresponding to the first application, and the icon corresponding to the second application can be displayed in the status bar; if the second application is not an application in the first list, the real-time activity reminder control corresponding to the first application can be kept displayed in the status bar.
[0070] In a possible implementation, the first list may be determined in advance by the electronic device according to an operation input by the user. For example, the electronic device may display a setting interface for the first list, which may include options corresponding to all applications installed in the electronic device; the electronic device adds the application corresponding to the selected target option to the first list according to the detected selection operation of the target option.
[0071] In one possible implementation, the electronic device may obtain historical usage data for each installed application, the historical usage data including the number of operations detected when the application is running in the foreground and the duration of operation in the foreground; based on the ratio of the above number of operations to the duration of operation, the operation frequency of each application when running in the foreground may be determined; after obtaining the operation frequency corresponding to each application, the operation frequency corresponding to each application may be compared with a target frequency threshold; based on the comparison result, the application whose operation frequency is greater than the target frequency threshold may be determined as an application in the first list above.
[0072] The interface display method provided in the embodiment of the present application is that when an electronic device displays a real-time activity reminder control in a status bar, upon receiving a notification message from any application, the real-time activity reminder control in the status bar is switched to a corresponding icon for display, and an icon corresponding to the application of the notification message is displayed in the status bar. Thus, when a notification message is received, the corresponding notification icon can be fully displayed in the status bar without affecting the display of the notification icon, and the icon of the application corresponding to the real-time activity reminder control is still displayed in the status bar, so that the user can subsequently still trigger related operations on the application corresponding to the real-time activity reminder control through the icon, thereby meeting the user's usage needs.
[0073] See also Fig.10 , Fig.10 A flow chart of an interface display method provided by another embodiment of the present application is shown. The interface display method is applied to the above electronic device. Fig.10 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0074] Step S310: displaying a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to a first application located in the status bar.
[0075] In the embodiment of the present application, step S310 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0076] Step S320: If it is not detected that the duration of the operation on the real-time activity reminder control reaches the first duration, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
[0077] In an embodiment of the present application, the folding condition includes that the duration of the operation on the real-time activity reminder control is not detected to reach the first duration. The electronic device can switch the above real-time activity reminder control in the status bar to the first icon corresponding to the first application when the duration of the operation on the real-time activity reminder control is not detected to reach the first duration. Thus, when the real-time activity reminder control in the status bar has not been operated for a long time, the electronic device can actively switch the real-time activity reminder control in the status bar to the icon of the application to free up display space in the status bar, so that when there is a received notification message or a notification message is received later, the icon of the application can be displayed in the status bar to avoid affecting the display of the notification icon corresponding to the notification message.
[0078] In some embodiments, the above folding condition of not detecting that the duration of the operation on the real-time activity reminder control reaches a first duration can be used as a display mode of the real-time activity reminder control. When the display mode is enabled, the electronic device can switch the above real-time activity reminder control in the status bar to the first icon corresponding to the first application when it is not detected that the duration of the operation on the real-time activity reminder control reaches the first duration.
[0079] In a possible implementation, the electronic device can determine whether to turn on the display mode based on historical operation data. The historical operation data includes the time when the electronic device receives notification messages every day when the electronic device is historically running; based on the time when the electronic device receives notification messages every day when the electronic device is historically running, the historical frequency of receiving notification messages in each of the multiple time periods divided can be determined; if the historical frequency of receiving notification messages in the time period corresponding to the current time is greater than the frequency threshold, the above display mode can be controlled to be in an enabled state, so that the electronic device can switch the above real-time activity reminder control in the status bar to the first icon corresponding to the first application according to the duration of the operation of the real-time activity reminder control not being detected, that is, actively cancel the display of the real-time activity reminder control in the status bar; if the historical frequency of receiving notification messages in the time period corresponding to the current time is not greater than the frequency threshold, the above display mode can be controlled to be in a closed state. Among them, the multiple time periods divided above can be multiple time periods evenly divided from 0 o'clock to 24 o'clock, for example, each hour can be divided into 1 time period.
[0080] In one possible implementation, the electronic device may also input the current time into a pre-trained notification prediction model to obtain a notification prediction probability output by the notification prediction model, wherein the notification prediction probability is used to characterize the probability of receiving a notification message in the current time period; if the notification prediction probability is greater than the probability threshold, the above display mode may be controlled to be in an enabled state, so that the electronic device may switch the above real-time activity reminder control in the status bar to the first icon corresponding to the first application based on the duration of time during which no operation on the real-time activity reminder control is detected, thereby actively canceling the display of the real-time activity reminder control in the status bar; if the notification prediction probability is not greater than the probability threshold, the above display mode may be controlled to be in an off state.
[0081] Among them, the above notification prediction model can be trained according to the time when the electronic device receives notification messages every day during its historical operation; the above notification prediction model can be a support vector machine (SVM), a neural network, a naive Bayes classifier, etc., and the specific model type of the notification prediction model may not be limited.
[0082] In some implementations, the first duration may be determined based on the first application to meet more personalized needs. For example, the first duration for a food delivery application and a taxi application may be 5 minutes, and the first duration for an alarm clock application and a recording application may be 2 minutes.
[0083] In a possible implementation, the first duration can be determined based on the historical data when the real-time activity reminder control of the first application is historically displayed. The historical data may include the interval between two operations of the real-time activity reminder control of the first application, the frequency of operation, the display duration of the real-time activity reminder control in the status bar, etc. For example, the shorter the interval, the longer the first duration corresponding to the first application, and vice versa, the longer the interval, the shorter the first duration corresponding to the first application; the higher the frequency of operation, the longer the first duration corresponding to the first application, and vice versa, the lower the frequency of operation, the shorter the first duration corresponding to the first application; the longer the display duration, the longer the first duration corresponding to the first application, and vice versa, the shorter the display duration, the shorter the first duration corresponding to the first application.
[0084] In some embodiments, the electronic device may determine whether the first application is any application in the second list before switching the above real-time activity reminder control in the status bar to the icon corresponding to the first application, if it has not detected that the duration of the operation of the real-time activity reminder control corresponding to the first application has reached the first duration; if the first application is an application in the second list, it means that the first application is an application that requires the real-time activity reminder control to take precedence over the notification icon in the status bar as required by the user, that is, when the real-time activity reminder control of the application is displayed in the status bar and notification messages of other applications need to be prompted through the notification icon, it is necessary to keep the display of the real-time activity reminder control first, so the display of the real-time activity reminder control corresponding to the first application can be kept in the status bar; if the first application is not an application in the second list, it means that the first application is not an application that requires the real-time activity reminder control to take precedence over the notification icon in the status bar as required by the user, so the above real-time activity reminder control in the status bar can be switched to the icon corresponding to the first application.
[0085] In a possible implementation, the second list may be determined in advance by the electronic device according to an operation input by the user. For example, the electronic device may display a setting interface for the second list, which may include options corresponding to all applications installed in the electronic device; the electronic device adds the application corresponding to the selected target option to the second list according to the detected selection operation of the target option.
[0086] In some embodiments, when it is not detected that the duration of the operation on the real-time activity reminder control reaches the first duration, the electronic device can also determine whether there is a notification message corresponding to any application to be prompted; if there is a notification message corresponding to the fourth application to be prompted, the electronic device can display the fourth icon corresponding to the fourth application in the second area of the status bar while switching the real-time activity reminder control in the status bar to the first icon corresponding to the first application. Among them, the second area does not overlap with the first area where the first icon is located, and the first area and the second area are located in the third area where the real-time activity reminder control is displayed. Thus, when the electronic device displays a real-time activity reminder control in the status bar, when there is a notification message to be notified, the corresponding notification icon can be fully displayed in the status bar without affecting the display of the notification icon, and the icon of the application corresponding to the real-time activity reminder control is still displayed in the status bar, so that the user can still trigger the relevant operation of the application corresponding to the real-time activity reminder control through the icon later, thereby meeting the user's usage needs.
[0087] In some embodiments, the number of the fourth applications above can be one or more. That is, when there are notification messages corresponding to multiple applications to be notified, the real-time activity reminder control above can be switched to the icon of the first application, and the icons corresponding to the multiple applications can be displayed in the status bar.
[0088] In a possible implementation, when there are notification messages corresponding to multiple applications to be notified at the same time, if the number of multiple applications to be notified is greater than the threshold number of notification icons that can be displayed in the status bar, the electronic device can display the icon of the target application in the status bar, and the number of the target application is the same as the threshold number; and after the display time of the notification icon of the threshold number reaches the fourth time, the icon of the target application that needs to be displayed next time is determined from the applications whose icons are not displayed in the above multiple applications, and then the step of displaying the icon of the target application in the status bar is returned until the icon of each application in the above multiple applications is displayed. Among them, the specific value of the above threshold number can be unlimited, and the threshold number can be determined according to the size of the above third area. For example, the threshold number can be 2, that is, the notification icons of at most 2 applications are displayed in the status bar; the specific duration of the fourth duration can be unlimited, for example, it can be 3 seconds, 5 seconds, 8 seconds, etc. In addition, the electronic device can sort the multiple applications to be notified in the order of the time when the notification message is received from the first to the last, and display the icons of the above multiple applications according to the sorting result.
[0089] Step S330: If a notification message corresponding to a third application is received, a third icon corresponding to the third application is displayed in the second area in the status bar, the second area does not overlap with the first area where the first icon is located, and the first area and the second area are located in the third area where the real-time activity reminder control is displayed.
[0090] In an embodiment of the present application, after the electronic device switches the above real-time activity reminder control in the status bar to the first icon corresponding to the first application, if a notification message corresponding to the third application is received, the third icon corresponding to the third application can be displayed in the second area of the status bar. Among them, the above third application can be any application in the electronic device. In other words, since the real-time activity reminder control previously displayed in the status bar has been switched to an icon, so that there is available remaining space in the status bar to display the notification icon, the third icon corresponding to the third application can be displayed in the second area of the status bar when a notification message corresponding to the second application is received.
[0091] In some implementations, the number of the fourth applications may be one or more. That is, when the electronic device receives notification messages corresponding to multiple applications, it may display icons corresponding to the multiple applications in the status bar.
[0092] In a possible implementation, if notification messages corresponding to multiple applications are received at the same time, and the number of multiple applications is greater than the threshold number of notification icons that can be displayed in the status bar, the electronic device can display the icons of the target applications in the status bar, and the number of target applications is the same as the threshold number; and after the display time of the notification icon of the threshold number reaches the fourth time, the icon of the target application that needs to be displayed next time is determined from the applications whose icons are not displayed in the above multiple applications, and then the step of displaying the icon of the target application in the status bar is returned until the icon of each application in the above multiple applications is displayed. Among them, the specific value of the above threshold number can be unlimited, and the threshold number can be determined according to the size of the above third area. For example, the threshold number can be 2, that is, the notification icons of at most 2 applications are displayed in the status bar; the specific duration of the fourth duration can be unlimited, for example, it can be 3 seconds, 5 seconds, 8 seconds, etc. In addition, the electronic device can sort the multiple applications in the order of the time when the notification message is received from the first to the last, and display the icons of the above multiple applications according to the sorting result.
[0093] The interface display method provided in the embodiment of the present application, when the electronic device displays the real-time activity reminder control in the status bar, by switching the real-time activity reminder control in the status bar to a corresponding icon for display when the real-time activity reminder control has not been operated for a first time period, thereby enabling the electronic device to actively switch the real-time activity reminder control in the status bar to an application icon when the real-time activity reminder control in the status bar has not been operated for a long time to free up display space in the status bar, so that the electronic device can display icons of other applications in the status bar to avoid affecting the display of icons of other applications.
[0094] See also Fig.11 , Fig.11 A flow chart of an interface display method provided by another embodiment of the present application is shown. The interface display method is applied to the above electronic device. Fig.11 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0095] Step S410: displaying a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to a first application located in the status bar.
[0096] Step S420: If the real-time activity reminder control meets the folding condition, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
[0097] In the embodiment of the present application, step S410 and step S420 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0098] Step S430: If the real-time activity reminder control meets the expansion condition, the first icon in the status bar is switched to the real-time activity reminder control.
[0099] In an embodiment of the present application, after the electronic device switches the real-time activity reminder control in the status bar to the first icon corresponding to the first application, it can also determine whether the real-time activity reminder control of the first application meets the expansion condition, and the expansion condition can be regarded as the condition for the real-time activity reminder control to be displayed in the status bar again; if the real-time activity reminder control of the first application meets the expansion condition, it means that the real-time activity reminder control needs to be displayed in the status bar again, so the first icon in the status bar can be switched to the real-time activity reminder control; if the real-time activity reminder control of the first application does not meet the expansion condition, the display of the first icon is maintained.
[0100] In some embodiments, the above expansion condition may include: the display duration of the first icon reaches the second duration. That is, the electronic device may switch the above first icon in the status bar to the real-time activity reminder control corresponding to the above first application when the display duration of the first icon reaches the second duration, so that the real-time activity reminder control corresponding to the first application can be displayed in the status bar again, thereby satisfying the user's use requirements for the above real-time activity reminder control. Among them, the specific duration of the above second duration may not be limited, for example, the second duration may be 3 seconds, 5 seconds, 10 seconds, 30 seconds, etc.
[0101] In a possible implementation, the above-mentioned folding condition may include receiving a notification message corresponding to any application, that is, when the real-time activity reminder control receives a notification message corresponding to any application, the above-mentioned real-time activity reminder control may be switched to the first icon, and the notification icon corresponding to the application of the notification message may be displayed in the status bar; when the display time of the first icon reaches the second time time, the display of the notification message has been realized, and the purpose of prompting the notification message has been achieved, so the above-mentioned real-time activity reminder control may be displayed in the status bar again.
[0102] For example, please also refer to Figure 8 and Fig. 9 , electronic equipment displays Figure 8 The first interface B1 shown in FIG. 1 includes a real-time activity reminder control B2 corresponding to the first application located in the status bar; when a notification message corresponding to the application is received, refer to Fig. 9, the electronic device can switch the real-time activity reminder control B2 to the icon B3 corresponding to the first application in the status bar, and simultaneously display the notification icon B4 of the application of the notification message in the status bar; after the display time of the icon B3 reaches the second time length, the electronic device can display the notification icon B4 again. Figure 8 The interface shown enables the real-time activity reminder control B2 to be displayed again in the status bar, thereby satisfying the user's demand for using the real-time activity reminder control B2.
[0103] In a possible implementation, the above-mentioned folding condition may include that the duration of the operation on the real-time activity reminder control is not detected to reach the first duration, that is, when the duration of the operation on the real-time activity reminder control is not detected to reach the first duration, the above-mentioned real-time activity reminder control can be switched to the first icon; when the display duration of the first icon reaches the second duration, the first icon can be switched to the real-time activity reminder control, thereby realizing the switching back and forth of the first icon corresponding to the first application and the real-time activity reminder control in the status bar, and in the process of displaying the first icon in the status bar, the electronic device can display the icon corresponding to the application with the notification message in the status bar, thereby avoiding affecting the display of the notification message and satisfying the user's need to use the real-time activity reminder control in the status bar.
[0104] In a possible implementation, the above-mentioned folding condition may include that the display time of the real-time activity reminder control reaches a fifth time length, for example, it may be 5 seconds, 10 seconds, 15 seconds, 30 seconds, 60 seconds, etc., and the specific time length of the fifth time length may not be limited. That is, when the display time of the above-mentioned real-time activity reminder control reaches the fifth time length, the above-mentioned real-time activity reminder control may be switched to the first icon; when the display time of the first icon reaches the second time length, the first icon may be switched to the real-time activity reminder control, thereby realizing the switching back and forth between the first icon corresponding to the first application and the real-time activity reminder control in the status bar, and in the process of displaying the first icon in the status bar, the electronic device may display the icon corresponding to the application with the notification message in the status bar, thereby avoiding affecting the display of the notification message and satisfying the user's need to use the real-time activity reminder control in the status bar.
[0105] In some embodiments, the above expansion conditions may include: detecting a touch operation on the above first icon. That is to say, when the electronic device detects a touch operation on the above first icon, it can respond to the touch operation and switch the above first icon in the status bar to the real-time activity reminder control corresponding to the above first application. It can be understood that when the above first icon is touched by the user, it means that the user currently has a need to use the above real-time activity reminder control again, so the real-time activity reminder control corresponding to the first application can be displayed in the status bar again, thereby satisfying the user's use demand for the above real-time activity reminder control. Among them, the above touch operation can be a click operation, a press operation, etc., and the specific operation type may not be limited.
[0106] It should be noted that, in this embodiment, the above expansion conditions can be combined with different collapse conditions. That is to say, after the above real-time activity reminder control in the status bar is switched to the first icon corresponding to the first application under different collapse conditions, the above first icon in the status bar can be switched to the real-time activity reminder control corresponding to the above first application when a touch operation on the above first icon is detected.
[0107] The interface display method provided in the embodiment of the present application can realize that when the electronic device displays the real-time activity reminder control in the status bar, when the real-time activity reminder control meets the folding condition, the real-time activity reminder control can be switched to the application icon for display, so that there is more space in the status bar for displaying information, and then the electronic device can display the icons of other applications in the status bar to avoid affecting the display of the icons of other applications in the status bar; in addition, when the real-time activity reminder control meets the expansion condition, the icon in the status bar is switched to the real-time activity reminder control, so that the real-time activity reminder control is displayed again in the status bar, meeting the user's use needs of the real-time activity reminder control.
[0108] See also Fig.12 , Fig.12 A flow chart of an interface display method provided by another embodiment of the present application is shown. The interface display method is applied to the above electronic device. Fig.12 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0109] Step S510: displaying a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to a first application located in the status bar.
[0110] In the embodiment of the present application, step S510 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0111] Step S520: If the real-time activity reminder control meets the folding condition, the real-time activity reminder control in the status bar is switched to the first icon corresponding to the first application, and mark information is displayed at the location of the first icon, the mark information is used to prompt that the real-time activity reminder control is in a folded state, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
[0112] In an embodiment of the present application, after the electronic device displays the real-time activity reminder control corresponding to the first application in the status bar, when the real-time activity reminder control meets the retracting condition, when the real-time activity reminder control in the status bar is switched to the icon corresponding to the first application, marking information can be displayed at the location of the first icon at the same time to prompt that the real-time activity reminder control is in a retracted state, so as to facilitate the user to know the state of the above real-time activity reminder control, and then enable the user to call out the real-time activity reminder control again in the status bar by operating the icon when there is a need to use the above real-time activity reminder control. Of course, it can be understood that when the above real-time activity reminder control is switched to the icon of the first application, it can also be understood that the above real-time activity reminder control is in a dormant state, that is, the above marking information displayed can also prompt the user that the real-time activity reminder control is in a dormant state.
[0113] In some embodiments, the electronic device displays marking information at the location of the first icon. The marking information may be displayed at the edge of the first icon or at the center of the first icon. The specific display location may not be limited, and the user only needs to know that the marking information is associated with the first icon.
[0114] In some embodiments, after the electronic device switches the above real-time activity reminder control in the status bar to the icon corresponding to the first application and displays the above mark information, it can switch the above first icon in the status bar to the real-time activity reminder control corresponding to the above first application when a touch operation on the above first icon is detected. It can be understood that the above mark information prompts the user that the above real-time activity reminder control is in a retracted state. When the user has a need to use the above real-time activity reminder control again, the user can enable the user to perform a touch operation on the first icon according to the mark information, so that the above real-time activity reminder control is displayed again in the status bar, thereby satisfying the user's need to use the above real-time activity reminder control.
[0115] For example, please also refer to Figure 8 and 13 , electronic equipment displays Figure 8When the first interface B1 is shown, the first interface B1 includes a real-time activity reminder control B2 corresponding to the first application located in the status bar; when the real-time activity reminder control meets the real-time activity reminder control collapse condition, refer to Fig.13 , the electronic device can switch the real-time activity reminder control B2 to the icon B3 corresponding to the first application in the status bar, and display the notification icon B4 of the application of the notification message in the status bar at the same time, and display mark information B5 in the upper right corner of the icon B3 to indicate that the real-time activity reminder control B2 is in a retracted state; when a touch operation on the icon B3 is detected, the electronic device can display the real-time activity reminder control B2 again. Figure 8 The interface shown enables the real-time activity reminder control B2 to be displayed again in the status bar, thereby satisfying the user's demand for using the real-time activity reminder control B2.
[0116] The interface display method provided in the embodiment of the present application can achieve that when the electronic device displays the real-time activity reminder control in the status bar, the real-time activity reminder control can be switched to the application icon for display if the real-time activity reminder control meets the retracting condition, thereby allowing the status bar to have more space for displaying information, and thus allowing the electronic device to display icons of other applications in the status bar to avoid affecting the display of icons of other applications in the status bar; in addition, when the real-time activity reminder control is switched to the application icon for display, mark information is displayed at the location of the icon, thereby prompting the user that the real-time activity reminder control is in a retracted state, and thus allowing the user to call out the real-time activity reminder control again in the status bar by operating the icon.
[0117] See also Fig.14 , Fig.14 A flow chart of an interface display method provided by yet another embodiment of the present application is shown. The interface display method is applied to the above electronic device. Fig.14 The process shown is described in detail, and the interface display method may specifically include the following steps:
[0118] Step S610: displaying a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to a first application located in the status bar.
[0119] Step S620: If the real-time activity reminder control meets the folding condition, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
[0120] In the embodiment of the present application, step S610 and step S620 can refer to the contents of the aforementioned embodiment and will not be described again here.
[0121] Step S630: If the number of target icons currently displayed in the third area of the status bar is 1 and a touch operation on the target icon is detected, a second interface is displayed, the third area is the third area where the real-time activity reminder control is displayed, the target icon is an icon other than the first icon in the status bar, the second interface is the interface of the application corresponding to the target icon, and the second interface includes the status bar and the real-time activity reminder control located in the status bar.
[0122] In an embodiment of the present application, after the electronic device switches the above real-time activity reminder control in the status bar to the first icon corresponding to the first application, the electronic device may display a notification icon in the status bar, that is, other icons in the status bar other than the above first icon (as target icons). If the number of currently displayed target icons is 1, and a touch operation on the target icon is detected, the interface of the application corresponding to the target icon may be displayed (as a second interface), and in the second interface, the real-time activity reminder control corresponding to the above first application may be displayed again in the status bar.
[0123] It can be understood that when the number of target icons currently displayed is 1, that is, the number of notification icons other than the first icon corresponding to the first application is 1, it means that except for the application corresponding to the target icon, no other application needs to be prompted for notification information, and when a touch operation is detected on the target icon, it indicates that the user is already aware of the notification message, and therefore there is no notification icon that needs to be displayed at present. Therefore, the electronic device can display the real-time activity reminder control corresponding to the above first application in the status bar again when displaying the interface of the application corresponding to the target icon to meet the user's demand for the real-time activity reminder control.
[0124] The interface display method provided in the embodiment of the present application can achieve that when the electronic device displays the real-time activity reminder control in the status bar, the real-time activity reminder control can be switched to the application icon for display when the real-time activity reminder control meets the actual folding condition, so that there is more space in the status bar for displaying information, and then the electronic device can display icons of other applications in the status bar to avoid affecting the display of icons of other applications in the status bar; in addition, after the real-time activity reminder control is switched to the application icon, when the number of icons currently displayed is 1, if a touch operation on the target icon is detected, the real-time activity reminder control corresponding to the first application above is displayed again in the status bar when the interface of the application corresponding to the target icon is displayed, thereby meeting the user's demand for the real-time activity reminder control.
[0125] See also Fig.15, which shows a structural block diagram of an interface display device 700 provided in an embodiment of the present application. The interface display device 700 applies the above-mentioned electronic device, and the interface display device 700 includes: a control display module 710 and a control folding module 720. Among them, the control display module 710 is used to display a first interface, and the first interface includes a status bar and a real-time activity reminder control corresponding to a first application located in the status bar; the control folding module 720 is used to switch the real-time activity reminder control in the status bar to a first icon corresponding to the first application if the real-time activity reminder control meets the folding condition, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
[0126] In some implementations, the control retracting module 720 may be specifically configured to: if a notification message corresponding to a second application is received, switch the real-time activity reminder control in the status bar to a first icon corresponding to the first application; or
[0127] If it is not detected that the duration of the operation on the real-time activity reminder control reaches the first duration, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application.
[0128] In a possible implementation, the interface display device 700 may further include an icon display module. If there is currently a notification message corresponding to the second application, the icon display module is used to display a second icon corresponding to the second application in a second area in the status bar, the second area does not overlap with the first area where the first icon is located, and the first area and the second area are located in a third area where the real-time activity reminder control is displayed.
[0129] In a possible implementation, the interface display device 700 may further include an icon display module. The icon display module is used to, after the real-time activity reminder control in the status bar is switched to the first icon corresponding to the first application if the operation duration for the real-time activity reminder control is not detected to reach the first duration, if a notification message corresponding to a third application is received, display a third icon corresponding to the third application in the second area of the status bar, the second area does not overlap with the first area where the first icon is located, and the first area and the second area are located in the third area where the real-time activity reminder control is displayed.
[0130] In a possible implementation, the interface display device 700 may further include an icon display module, and the control folding module 720 may be specifically used for: if it is not detected that the duration of the operation on the real-time activity reminder control has not reached the first duration, and there is currently a notification message corresponding to a fourth application to be prompted, then the real-time activity reminder control in the status bar is switched to the first icon corresponding to the first application, and the fourth icon corresponding to the fourth application is displayed in the second area of the status bar, the second area does not overlap with the first area where the first icon is located, and the first area and the second area are located in the third area where the real-time activity reminder control is displayed.
[0131] In some embodiments, the interface display device 700 may further include a control expansion module. The control expansion module may be used to switch the first icon in the status bar to the real-time activity reminder control if the real-time activity reminder control meets the expansion condition, after the real-time activity reminder control in the status bar is switched to the first icon corresponding to the first application if the real-time activity reminder control meets the folding condition.
[0132] In a possible implementation, the control expansion module may be specifically configured to: if the display duration of the first icon reaches a second duration, switch the first icon in the status bar to the real-time activity reminder control.
[0133] In a possible implementation, the control expansion module may be specifically configured to: if a touch operation on the first icon is detected, switch the first icon in the status bar to the real-time activity reminder control.
[0134] In some embodiments, the control folding module 720 can be specifically used to: if the real-time activity reminder control meets the folding condition, switch the real-time activity reminder control in the status bar to the first icon corresponding to the first application, and display mark information at the location of the first icon, and the mark information is used to prompt that the real-time activity reminder control is in a folded state.
[0135] In some embodiments, the control display module 710 can also be used to, after the real-time activity reminder control in the status bar is switched to the first icon corresponding to the first application if the real-time activity reminder control meets the folding condition, if the number of target icons currently displayed in the third area of the status bar is 1 and a touch operation on the target icon is detected, display a second interface, the third area being the third area where the real-time activity reminder control is displayed, the target icon being an icon other than the first icon in the status bar, the second interface being the interface of the application corresponding to the target icon, and the second interface including the status bar and the real-time activity reminder control located in the status bar.
[0136] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0137] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0138] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0139] In summary, the solution provided by the present application is to display a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to a first application located in the status bar. If the real-time activity reminder control meets the retracting condition, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application, and the display size of the first icon is smaller than the display size of the real-time activity reminder control. Thus, when an electronic device displays a real-time activity reminder control in the status bar, it can switch the real-time activity reminder control to an application icon for display when the real-time activity reminder control meets the retracting condition, thereby increasing the available display space in the status bar, thereby avoiding affecting the display of icons for other applications in the status bar.
[0140] Please refer to Fig.16, which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, a smart watch, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a display screen 130, and one or more applications, wherein one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more applications are configured to execute the method described in the aforementioned method embodiment.
[0141] The processor 110 uses various interfaces and lines to connect various parts within the entire electronic device 100, and performs various functions of the electronic device 100 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120.
[0142] The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.
[0143] The display screen 130 is a display component for displaying images and is usually disposed on the front panel of the electronic device 100 .
[0144] Please refer to Fig.17 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0145] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.
[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An interface display method, characterized in that: The method comprises: Displaying a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to the first application located in the status bar; If the real-time activity reminder control meets the retracting condition, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
2. The method according to claim 1, characterized in that: If the real-time activity reminder control meets the retracting condition, switching the real-time activity reminder control in the status bar to a first icon corresponding to the first application includes: If a notification message corresponding to the second application is received, switching the real-time activity reminder control in the status bar to a first icon corresponding to the first application; or If it is not detected that the duration of the operation on the real-time activity reminder control reaches the first duration, the real-time activity reminder control in the status bar is switched to a first icon corresponding to the first application.
3. The method according to claim 2, characterized in that If there is currently a notification message corresponding to the second application, the method further includes: A second icon corresponding to the second application is displayed in a second area in the status bar, the second area does not overlap with a first area where the first icon is located, and the first area and the second area are located in a third area where the real-time activity reminder control is displayed.
4. The method according to claim 2, characterized in that: After switching the real-time activity reminder control in the status bar to a first icon corresponding to the first application if it is not detected that the duration of the operation on the real-time activity reminder control reaches a first duration, the method further includes: If a notification message corresponding to a third application is received, a third icon corresponding to the third application is displayed in the second area in the status bar, the second area does not overlap with the first area where the first icon is located, and the first area and the second area are located in the third area where the real-time activity reminder control is displayed.
5. The method according to any one of claims 1 to 4, characterized in that: After switching the real-time activity reminder control in the status bar to a first icon corresponding to the first application if the real-time activity reminder control meets the retracting condition, the method further includes: If the real-time activity reminder control meets the expansion condition, the first icon in the status bar is switched to the real-time activity reminder control.
6. The method according to claim 5, characterized in that If the real-time activity reminder control meets the expansion condition, switching the first icon in the status bar to the real-time activity reminder control includes: If the display time of the first icon reaches a second time, the first icon in the status bar is switched to the real-time activity reminder control.
7. The method according to claim 5, characterized in that If the real-time activity reminder control meets the expansion condition, switching the first icon in the status bar to the real-time activity reminder control includes: If a touch operation on the first icon is detected, the first icon in the status bar is switched to the real-time activity reminder control.
8. The method according to any one of claims 1 to 4, characterized in that: If the real-time activity reminder control meets the retracting condition, switching the real-time activity reminder control in the status bar to a first icon corresponding to the first application includes: If the real-time activity reminder control meets the retracting condition, the real-time activity reminder control in the status bar is switched to the first icon corresponding to the first application, and mark information is displayed at the location of the first icon, wherein the mark information is used to prompt that the real-time activity reminder control is in a retracted state.
9. The method according to any one of claims 1 to 4, characterized in that: After switching the real-time activity reminder control in the status bar to a first icon corresponding to the first application if the real-time activity reminder control meets the retracting condition, the method further includes: If the number of target icons currently displayed in the third area of the status bar is 1 and a touch operation on the target icon is detected, a second interface is displayed, the third area is the third area where the real-time activity reminder control is displayed, the target icon is an icon other than the first icon in the status bar, the second interface is an interface of an application corresponding to the target icon, and the second interface includes the status bar and the real-time activity reminder control located in the status bar.
10. An interface display device, characterized in that: The device comprises: a control display module and a control folding module, wherein: The control display module is used to display a first interface, wherein the first interface includes a status bar and a real-time activity reminder control corresponding to the first application located in the status bar; The control folding module is used to switch the real-time activity reminder control in the status bar to a first icon corresponding to the first application if the real-time activity reminder control meets the folding condition, and the display size of the first icon is smaller than the display size of the real-time activity reminder control.
11. An electronic device, characterized in that: include: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 9.