Application notification display method and device and electronic equipment
1. An application notification display method, comprising:
the first area displays a first icon; the second area displays a second icon; the first region is adjacent to the second region;
in the case where a first notification corresponding to a first application is received, updating a display position of the second icon or canceling the display of the second icon, and displaying the first notification in a third area including the first area and the second area;
wherein the first icon corresponds to the first application.
2. The method of claim 1, further comprising:
in the event that a first notification corresponding to a first application is received, a size of the third area is determined based on a type or content spread of the first notification.
3. The method of claim 1, wherein said updating the display position of the second icon comprises:
and newly creating a folder at a target position, and moving the second icon into the folder, wherein the target position is adjacent to the third area.
4. The method of claim 1, wherein said de-displaying the second icon comprises:
canceling the display of the second icon, and displaying a thumbnail of the second icon at a preset position in the third area;
after the displaying the first notification in the third area, the method further comprises: receiving an input for the third region;
in response to the input, canceling the display of the first notification and updating a thumbnail of the second icon to the second icon.
5. The method of claim 1, wherein after said displaying the first notification in the third area, the method further comprises:
and under the condition that the first notification mark is in a read state, canceling to display the first notification, displaying the first icon in the first area, and displaying the second icon in the second area.
6. An application notification display apparatus, comprising:
the first display module is used for displaying a first icon in a first area; the second area displays a second icon; the first region is adjacent to the second region;
a second display module, configured to update a display position of the second icon or cancel displaying the second icon and display the first notification in a third area when a first notification corresponding to a first application is received, where the third area includes the first area and the second area;
wherein the first icon corresponds to the first application.
7. The application notification display device according to claim 6, further comprising:
a determination module to determine a size of the third area based on a type or content space of the first notification when the first notification corresponding to the first application is received.
8. The application notification display device according to claim 6, wherein the second display module is configured to create a new folder at a target location and move the second icon into the folder, wherein the target location is adjacent to the third area.
9. The application notification display device according to claim 6, wherein the second display module is configured to cancel displaying the second icon and display a thumbnail of the second icon at a preset position in the third area;
the application notification display device further includes:
a receiving module for receiving an input for the third region;
and the third display module is used for responding to the input, canceling the display of the first notification and updating the thumbnail of the second icon to the second icon.
10. The application notification display device according to claim 6, further comprising:
and the fourth display module is used for canceling the display of the first notification, displaying the first icon in the first area and displaying the second icon in the second area under the condition that the first notification is marked as a read state.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the application notification display method of any of claims 1-5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the application notification display method according to any one of claims 1-5.
Background
In the related art, when an application program on an electronic device receives a notification message, a corner mark notification is usually displayed on an icon of the application program on a desktop, but the corner mark can only remind a user of the number of the notification messages applied, but cannot display the content of the notification, and the user can know the specific notification content only after clicking an application icon to enter the application, so that the user is very troublesome to operate when a large number of applications are accumulated to receive the notification messages. Therefore, the desktop notification display effect of the existing application is poor.
Disclosure of Invention
The embodiment of the application notification display method and device and the electronic equipment can solve the problem that desktop notification display effects of existing applications are poor.
In a first aspect, an embodiment of the present application provides an application notification display method, where the method includes:
the first area displays a first icon; the second area displays a second icon; the first region is adjacent to the second region;
in the case where a first notification corresponding to a first application is received, updating a display position of the second icon or canceling the display of the second icon, and displaying the first notification in a third area including the first area and the second area;
wherein the first icon corresponds to the first application.
In a second aspect, an embodiment of the present application provides an application notification display apparatus, including:
the first display module is used for displaying a first icon in a first area; the second area displays a second icon; the first region is adjacent to the second region;
a second display module, configured to update a display position of the second icon or cancel displaying the second icon and display the first notification in a third area when a first notification corresponding to a first application is received, where the third area includes the first area and the second area;
wherein the first icon corresponds to the first application.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, and when executed by the processor, the program or the instruction implements the steps of the application notification display method according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the application notification display method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the application notification display method according to the first aspect.
In the embodiment of the application, the first area displays a first icon; the second area displays a second icon; the first region is adjacent to the second region; in the case where a first notification corresponding to a first application is received, updating a display position of the second icon or canceling the display of the second icon, and displaying the first notification in a third area including the first area and the second area; wherein the first icon corresponds to the first application. In this way, by displaying the notification of the application at the display position of the application icon, the user can intuitively read the application notification content, and the desktop notification display effect of the application can be improved.
Drawings
Fig. 1 is a flowchart of an application notification display method provided in an embodiment of the present application;
FIG. 2a is a schematic diagram of a desktop provided by an embodiment of the present application;
FIG. 2b is one of schematic diagrams illustrating displaying an application notification on a desktop according to an embodiment of the present disclosure;
FIG. 2c is a second schematic diagram of displaying an application notification on a desktop according to an embodiment of the present application;
FIG. 2d is a third schematic diagram illustrating displaying an application notification on a desktop according to an embodiment of the present application;
FIG. 2e is a fourth schematic diagram illustrating application notifications displayed on a desktop according to an embodiment of the present application;
fig. 3 is an exemplary flowchart of an application notification display method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an application notification display device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The application notification display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of an application notification display method according to an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step 101, displaying a first icon in a first area; the second area displays a second icon; the first region is adjacent to the second region.
In the embodiment of the application, in order to enable a user to view notifications of each application program on a desktop in time, a notification display area can be directly expanded at a display position of an icon of the application program for the application program currently receiving the application notification on the desktop, and the application notification of the application program is displayed in the notification display area.
The first icon may be any application icon or application folder icon on the desktop, the first area may be a display area of the first icon on the desktop, the second icon may be one or more icons adjacent to or near the first icon on the desktop, and the second area may be a display area of the second icon on the desktop. That is, under normal conditions, a first area on the desktop displays a first icon, and a second area adjacent to the first area displays a second icon.
Step 102, in the case of receiving a first notification corresponding to a first application, updating a display position of a second icon or canceling the display of the second icon, and displaying the first notification in a third area, wherein the third area includes the first area and the second area;
wherein the first icon corresponds to the first application.
The first icon corresponding to the first application may refer to that the first icon is an application icon of the first application, or the first icon is an application folder icon including the application icon of the first application, that is, the first application is an application of an application icon in an application folder icon.
In this embodiment of the application, when the first application corresponding to the first icon receives the first notification, a larger area for displaying the first notification may be generated at the display position of the first application icon, specifically, a larger notification display area may be synthesized by borrowing the second area, that is, the first area and the second area may be merged to obtain a third area, and the first notification of the first application is displayed in the third area. In this way, a user can directly view the specific content of the application notification on the desktop, wherein an application icon of the first application, that is, the first icon, can be further displayed in the third area, so as to prompt the user that the first notification is the notification of the first application.
For example, as shown in fig. 2a, when the electronic device 20 displays the desktop 21 and the application corresponding to the application icon a receives the application notification, the application notification may be displayed in the display area of the nearby icon at the application icon a as shown in fig. 2b to 2d, that is, the application notification corresponding to the application icon a may be displayed in the third area 22.
The third area comprises a display area of the first icon and display areas of N icons around the first icon, wherein N is an integer greater than or equal to 1.
That is, the third area may be composed of display areas of the first icon and the N second icons around the first icon on the desktop, that is, the display areas of the N icons around the first icon may be occupied to display the first notification, so that when the first notification is displayed, the first icon at the position and the N second icons around the first icon may be temporarily not displayed, for example, may be temporarily hidden or moved to other positions on the desktop to be displayed, so as to preferentially ensure the display of the first notification.
Specifically, in one embodiment, the second icon may be cancelled from being displayed, that is, the second icon is temporarily not displayed during the display of the first notification, and the second icon may be resumed to be displayed after the first notification is turned off. In another embodiment, the display position of the second icon may be updated, that is, the second icon may be moved to another position for display, for example, the second icon may be displayed near the third area, or moved to another page on the desktop for display.
Where N may be determined by the size of the third area, for example, when the size of the third area is 1 × 4 icons, N may have a value of 3, when the size of the third area is 2 × 4 icons, N may have a value of 7, and so on.
In this way, by displaying the application notification by using the display areas of the plurality of icons, it is possible to ensure that the notification display area has a sufficient space to display the specific content of the application notification, and that the notification display area is located near the application icon to which the application notification belongs.
It should be noted that, when there are multiple applications on the desktop that receive notifications, it may be determined whether to sequentially display the notifications of the applications or simultaneously display the notifications of the applications according to the display positions of the application icons of the multiple applications, for example, when the display positions of the application icons of the multiple applications are close to each other so that the notifications of the multiple applications cannot be simultaneously displayed, the notifications of the applications may be sequentially displayed according to the sequence of the reception times of the notifications, that is, the notification of the application with the earlier reception time may be displayed first, and after the display of the application notification is finished, the notification of the next application may be displayed; when the display positions of the application icons of the plurality of applications are far apart and there is sufficient space to simultaneously display the notifications of the plurality of applications, the notification area may be displayed at the application icon position of each application and the respective notification may be displayed in the respective notification areas.
It should be noted that, in the embodiment of the present application, the function of displaying the application notification on the desktop may be started only when the desktop is displayed, and the function may not be started when other pages are displayed.
In the embodiment of the application, the user can be supported to set whether to start the application notification display function of the desktop application icon, that is, the user can select whether to start the application notification display function of the desktop application icon on the setting page as required, and the flow of the embodiment of the application is triggered only when the application notification display function is started.
Optionally, the method further comprises:
in the event that a first notification corresponding to a first application is received, a size of the third area is determined based on a type or content spread of the first notification.
That is, in one embodiment, when the first notification is received, the size of the third area for displaying the first notification may be adaptively determined according to the type of the first notification or according to the content of the first notification, where an application program may select a push text notification, a still picture notification, a moving picture notification, a video notification, and the like according to different types of push notifications, and the display areas required for different types of notifications are different in size, for example, the display area required for a text notification is small, and the display area required for a picture video notification is large.
Or, the electronic device may determine the size of the currently required display area according to the content space of the current notification, so as to determine the size of the notification area capable of completely displaying the current notification.
After the size of the notification display area is determined, the number and the positions of the second icons to be occupied can be determined according to the size of the notification display area, and then the second icons are canceled to be displayed or the display positions are updated, and the third area is generated, wherein the display position of the third area can be expanded from the display position of the first icon to the periphery, such as expanded from the right to the bottom, or expanded from the left to the top, and the like.
Therefore, the size of the notification display area can be conveniently and quickly determined through the implementation mode, and the notification can be completely displayed in the notification display area.
Optionally, the updating the display position of the second icon includes:
and newly creating a folder at a target position, and moving the second icon into the folder, wherein the target position is adjacent to the third area.
In one embodiment, when it is determined that the first notification needs to be displayed while occupying the display position of the second icon around the first icon, the second icon may be temporarily stored in a new folder near the third area, that is, a folder may be newly created at a position near the third area, and the second icon may be moved to the folder. If the folder icon exists in the second icon, the blocked folder icon can be moved to the newly created folder, that is, the newly created folder can support the folder icon to be stored. The user may open a blocked application from the newly created folder during application folding.
For example, as shown in fig. 2d, after the third area 22 is generated, a new folder 24 may be created at a position below the third area 22, 7 application icons on the lower right side of the application icon a occupying the display area and the original application icon in the new folder may be moved into the new folder 24, and the application icon a and the corresponding static map, moving map or video notification content thereof may be displayed in the third area 22; as shown in fig. 2e, after the third area 22 is displayed, a folder 24 may be newly created at the upper right position of the third area 22, the 5 application icons at the lower right side of the application icon a occupying the display area and the original application icon at the newly created folder may be moved into the newly created folder 24, and the application icon a and the corresponding static map, moving map or video notification content thereof are displayed in the third area 22.
Like this, under the condition that occupies the display area of other application icons to show application notice, through hiding or accomodating the icon that is occupied, can guarantee the orderly demonstration of desktop icon, avoid disturbing the display position of other icons on the desktop.
Optionally, the canceling of the display of the second icon includes:
canceling the display of the second icon, and displaying a thumbnail of the second icon at a preset position in the third area;
after the displaying the first notification in the third area, the method further comprises: receiving an input for the third region;
in response to the input, canceling the display of the first notification and updating a thumbnail of the second icon to the second icon.
In another embodiment, when it is determined that the first notification needs to be displayed by occupying a display position of a second icon around the first icon, the second icon may be temporarily hidden, that is, the second icon is cancelled to be displayed in the second area, and a thumbnail of the hidden second icon may be displayed at a position in the area where the first notification is displayed, such as a lower right corner, so as to prompt a user of the currently hidden icon. The thumbnail in the third area can also support the user to click and then enlarge and display, so that the user can conveniently click the hidden application icon to enter the function of the corresponding application program interface.
For example, as shown in fig. 2b, after the third area 22 is generated, 3 application icons on the right side of the application icon a in the occupied display area may be hidden, a thumbnail 23 of the hidden application icon is displayed in the lower right corner of the third area 22, and the application icon a and the corresponding text notification content are displayed at other positions in the third area 22; or as shown in fig. 2b, after the third area 22 is displayed, the 3 application icons below the application icon a in the occupied display area are hidden, the thumbnail 23 of the hidden application icon is displayed in the lower right corner of the third area 22, and the application icon a and the corresponding static map or moving map notification content are displayed at other positions in the third area 22.
The two processing modes may support user preset, that is, after setting an application notification display function of the page opening desktop icon, the user may select a processing mode of the blocked icon (i.e., an icon occupied by the notification display area), for example, select a mode of hiding or folding (i.e., storing in a folder), so that after the notification area of the first application program is displayed on the desktop, the second icon may be correspondingly processed according to user preset.
In addition, after the user finishes viewing the first notification, or when the user does not need to view the first notification, the user may manually close the first notification, that is, a specific input, such as a sliding input, an input touching a close key on the third region, or the like, may be performed on the third region, for example, as shown in fig. 2b to 2c, the user may trigger to close the first notification in the third region 22 by sliding leftward from the position of the arrow 25 according to the arrow 25 indicated leftward in the third region 22. After the first notification is closed, the second icon may also be resumed to be displayed, such as updating a thumbnail of the second icon to the second icon.
It should be noted that, in a case where the user does not manually turn off the first notification, the first notification may also be automatically turned off according to the display duration of the first notification, and specifically, the first notification may be automatically turned off when the display duration of the first notification reaches a certain duration, such as 10s or 15 s. Of course, the event that the first notification is automatically closed may also be triggered when the user switches to another page, for example, switches to a next desktop page, or enters an application interface.
Therefore, under the condition that the display areas of other application icons are occupied to display the application notification, the occupied icons are hidden, the orderly display of desktop icons can be guaranteed, and the display positions of other icons on the desktop are prevented from being disturbed. And the user can meet the requirement of flexibly closing the application notification by manually closing the notification or automatically closing the notification according to the display duration of the notification, the tidiness of the desktop can be ensured, and the application notification is prevented from occupying desktop icons for a long time.
Optionally, after the displaying the first notification in the third area, the method further comprises:
and under the condition that the first notification mark is in a read state, canceling to display the first notification, displaying the first icon in the first area, and displaying the second icon in the second area.
The first notification flag may be a read state that is manually marked by the user after the user finishes reading the first notification, or a read state that is automatically marked by the user after the first notification is displayed for a certain period of time.
In this embodiment, when the first notification flag is in a read state, the first notification may be canceled, that is, the first notification is closed, and the desktop may be restored to its original state, that is, the first icon may be displayed in the first area, and the second icon may be displayed in the second area, where, in the case where the second icon is hidden, the second icon may be canceled and redisplayed in its original position after the first notification is closed, and in the case where the second icon is stored in a new folder, the new folder may be disassembled and the second icon may be displayed in its original position after the first notification is closed.
Therefore, the application notification is closed according to the read state of the application notification, and the application icons on the desktop are restored, so that the requirement of a user for normally operating each icon can be met.
Embodiments of the present application are illustrated below with reference to fig. 2a to 2e and fig. 3:
as shown in fig. 3, a method for dynamically displaying a notification by a desktop application icon may specifically include the following steps:
step 301, the user starts a desktop application icon dynamic display notification function.
Step 302, the user selects the occluded application auto-collapse or hide function.
As shown in fig. 2a to 2e, fig. 2a is an effect when the desktop is not notified of normal display; FIGS. 2b and 2c show the effect of the user selecting the occluded application to automatically hide, and the enlarged dynamically notification-occluded application icon only displays the lower right thumbnail 23 during the notification display phase; fig. 2d and 2e show the effect of automatic folding of an occluded application selected by the user, and the enlarged dynamically notification-occluded application icon automatically folds into the next folder during the notification display phase.
Step 303, the desktop application pushes the dynamic notification.
The desktop application can select push text notification, static picture notification, dynamic picture notification, video notification and the like according to different types of push messages. And the desktop automatically adjusts the size of the application icon and the like according to the type of the application push notification.
And step 304, triggering the dynamic notification display of the application icon when a certain page of desktop is displayed on the screen.
The desktop application icon dynamic notification is triggered only at the stage that the desktop page is displayed, for example, the desktop page is unlocked to enter the desktop page, and the desktop is really triggered to display when the desktop is slid to the desktop of the page, and the desktop can only display one application icon dynamic notification at the same time. If the user selects the occluded application auto-collapse function, go to step 306, otherwise go to step 305.
And 305, dynamically informing the occlusion bottom layer application icon, and automatically hiding the occluded application icon.
As shown in fig. 2b and fig. 2c, when the user selects the effect of automatically hiding the hidden application, the enlarged application icon hidden by the dynamic notification will display the thumbnail 23 of the icon in the lower right corner of the enlarged third area 22 in the notification display stage, the user can slide the dynamic notification leftwards with a finger to close the dynamic notification and then open the hidden application icon, and after the notification display is finished, the hidden application icon is automatically restored. The next step moves to step 308.
Step 306, dynamically notifying the occluded bottom layer application icon to automatically fold to a folder.
As shown in fig. 2d and fig. 2e, when the user selects the effect of automatically folding the hidden application, the enlarged application icon of the dynamic notification hidden will be automatically folded into the folder 24 in the notification phase, the folder 24 is located near the enlarged third area 22, the user can open a certain hidden application after opening the folder 24 during the folding of the application icon, if there is a folder icon in the hidden area, the folder icon is also added into the hidden folder 24, and after the notification display is finished, the hidden application icon is automatically restored.
Step 307, the user searches for the occluded application after opening the folding folder.
Step 308, the dynamic icon notifies the display of the end, and the occluded application icon automatically restores.
According to the different types of the dynamic notifications of the application icons, the display time of the notifications can be different, for example, the display time of the text notifications is 10 seconds, after the display time is finished, the notifications are automatically finished, and the shielded application icons are automatically restored. The user can manually slide the notification to be closed in the notification display stage, or perform operations such as switching to the next desktop, opening the application and the like, and the notification display is automatically finished.
According to the embodiment of the application, after the desktop icon dynamic notification function is started, a user can view more abundant application push notifications, such as an image notification and a video notification, the terminal desktop of the user is not the desktop of a single display icon any more, but becomes the desktop with continuous dynamic information, and the user is informed of new notifications in a weak reminding manner, the defect that the user is disturbed by the fact that detailed contents cannot be displayed or frequent notifications by the existing application notification means is solved, and the experience of viewing the notifications and using the terminal desktop by the user is improved.
In the application notification display method in the embodiment of the application, a first icon is displayed in a first area; the second area displays a second icon; the first region is adjacent to the second region; in the case where a first notification corresponding to a first application is received, updating a display position of the second icon or canceling the display of the second icon, and displaying the first notification in a third area including the first area and the second area; wherein the first icon corresponds to the first application. In this way, by displaying the notification of the application at the display position of the application icon, the user can intuitively read the application notification content, and the desktop notification display effect of the application can be improved.
It should be noted that, in the application notification display method provided in the embodiment of the present application, the execution main body may be an application notification display apparatus, or a control module in the application notification display apparatus for executing the application notification display method. In the embodiment of the present application, an application notification display device executes an application notification display method as an example, and the application notification display device provided in the embodiment of the present application is described.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an application notification display device according to an embodiment of the present application, and as shown in fig. 4, an application notification display device 400 includes:
a first display module 401, configured to display a first icon in a first area; the second area displays a second icon; the first region is adjacent to the second region;
a second display module 402, configured to, in a case where a first notification corresponding to a first application is received, update a display position of the second icon or cancel displaying the second icon, and display the first notification in a third area, where the third area includes the first area and the second area;
wherein the first icon corresponds to the first application.
Optionally, the application notification display apparatus 400 further includes:
a determination module to determine a size of the third area based on a type or content space of the first notification when the first notification corresponding to the first application is received.
Optionally, the second display module 402 is configured to create a new folder at a target location, and move the second icon into the folder, where the target location is adjacent to the third area.
Optionally, the second display module 402 is configured to cancel displaying the second icon, and display a thumbnail of the second icon at a preset position in the third area;
the application notification display apparatus 400 further includes:
a receiving module for receiving an input for the third region;
and the third display module is used for responding to the input, canceling the display of the first notification and updating the thumbnail of the second icon to the second icon.
Optionally, the application notification display apparatus 400 further includes:
and the fourth display module is used for canceling the display of the first notification, displaying the first icon in the first area and displaying the second icon in the second area under the condition that the first notification is marked as a read state.
In the application notification display device in the embodiment of the application, a first area displays a first icon; the second area displays a second icon; the first region is adjacent to the second region; in the case where a first notification corresponding to a first application is received, updating a display position of the second icon or canceling the display of the second icon, and displaying the first notification in a third area including the first area and the second area; wherein the first icon corresponds to the first application. In this way, by displaying the notification of the application at the display position of the application icon, the user can intuitively read the application notification content, and the desktop notification display effect of the application can be improved.
The application notification display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The application notification display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The application notification display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the foregoing application notification display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 606 is configured to display a first icon in a first area; the second area displays a second icon; the first region is adjacent to the second region;
in the case where a first notification corresponding to a first application is received, updating a display position of the second icon or canceling the display of the second icon, and displaying the first notification in a third area including the first area and the second area;
wherein the first icon corresponds to the first application.
Optionally, the processor 610 is configured to determine a size of the third area according to a type or content space of the first notification in case of receiving the first notification corresponding to the first application.
Optionally, the processor 610 is further configured to create a new folder at a target location, and move the second icon into the folder, where the target location is adjacent to the third area.
Optionally, the display unit 606 is further configured to cancel displaying the second icon, and display a thumbnail of the second icon at a preset position in the third area;
a user input unit 607 for receiving an input for the third region;
a display unit 606, further configured to cancel displaying the first notification and update a thumbnail of the second icon to the second icon in response to the input.
Optionally, the display unit 606 is further configured to cancel displaying the first notification, display the first icon in the first area, and display the second icon in the second area, when the first notification is marked as a read state.
In the electronic device in the embodiment of the application, a first area displays a first icon; the second area displays a second icon; the first region is adjacent to the second region; in the case where a first notification corresponding to a first application is received, updating a display position of the second icon or canceling the display of the second icon, and displaying the first notification in a third area including the first area and the second area; wherein the first icon corresponds to the first application. In this way, by displaying the notification of the application at the display position of the application icon, the user can intuitively read the application notification content, and the desktop notification display effect of the application can be improved.
It should be understood that in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 1041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above embodiment of the application notification display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above embodiment of the application notification display method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.