A message processing method and electronic device
By displaying app icons and identifying unread messages in the notification bar, the problem of limited notification bar information is solved, resulting in more effective reminders and less user interaction.
Patent Information
- Application Number
- CN202111095502.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-17
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2041-09-17
AI Technical Summary
Existing technologies for displaying notification bar messages present limited information and are not effective in reminding users.
Display the app's icon in the notification bar, and show an unread message indicator on the icon, including the number and type of unread messages, to enhance user attention.
It improves the effectiveness of unread message notifications, reduces user steps, and enhances the user experience.
Smart Images

Figure CN113835573B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of communication, and particularly relates to a message processing method and an electronic device BACKGROUND
[0002] With the development of communication technology and the popularity of communication terminal devices, people's social, entertainment, learning and consumption activities can be completed through applications (APPs) installed on terminal devices. Correspondingly, in order to improve product exposure and increase daily traffic, these applications installed in terminal devices will push messages to terminal devices. For example, an instant messaging application installed in a mobile phone will push chat messages to the mobile phone to guide users to open the instant messaging application in time and improve the daily active volume of the instant messaging application.
[0003] Currently, in the case that a user does not open an application, the message pushed by the application will be displayed in the notification bar of the terminal device. As shown in FIG. 1, the icon of the application is displayed in the notification bar 11 of the terminal device. If multiple messages pushed by multiple applications are received, the icons 12 of the multiple applications are displayed in the notification bar 11 of the terminal device to show that the messages pushed by the applications are received and to remind the user to check. Figure 1
[0004] In the implementation of the present application, the inventors find that the current notification bar message display mode has limited information and poor reminding effect on users. SUMMARY
[0005] The embodiments of the present application provide a message processing method and an electronic device, which can solve the problem of limited information and poor reminding effect on users in the prior art.
[0006] In a first aspect, the embodiments of the present application provide a message processing method, which comprises the following steps.
[0007] receiving at least one message pushed by an application;
[0008] displaying the icon of the at least one application in the notification bar and displaying the unread message identifier of the application on the icon of the at least one application.
[0009] In a second aspect, the embodiments of the present application provide an image display device, which comprises the following modules.
[0010] a message receiving module, configured to receive at least one message pushed by an application;
[0011] a message display module, configured to display the icon of the at least one application in the notification bar and display the unread message identifier of the application on the icon of the at least one application.
[0012] In a third aspect, an electronic device is provided, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
[0013] In a fourth aspect, a readable storage medium is provided, which stores a program or instructions, and the program or instructions, when executed by a processor, implement the steps of the method according to the first aspect.
[0014] In a fifth aspect, a chip is provided, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
[0015] In the embodiments of the present application, after receiving the message pushed by the application, not only the icon of the application is displayed in the notification bar, but also the unread message identifier of the application is displayed on the icon of the application, which can attract more attention of the user, so as to attract the user to open the application to view, and thus the reminding effect can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 is a message display schematic diagram in the related art.
[0017] Figure 2 is a flowchart of a message processing method provided by an embodiment of the present application.
[0018] Figure 3 is a message display schematic diagram in the message processing method provided by an embodiment of the present application.
[0019] Figure 4 is another message display schematic diagram in the message processing method provided by an embodiment of the present application.
[0020] Figure 5 is another message display schematic diagram in the related art.
[0021] Figure 6 is a flowchart of a message processing method provided by another embodiment of the present application.
[0022] Figure 7 is a structural schematic diagram of a message processing apparatus provided by an embodiment of the present application.
[0023] Figure 8 is a structural schematic diagram of a message processing apparatus provided by another embodiment of the present application.
[0024] Figure 9Fig. 1 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0026] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in a "or" relationship.
[0027] The message processing method, device and electronic device provided by the embodiments of the present application will be described in detail below with reference to the drawings and specific embodiments and application scenarios.
[0028] First, a message processing method provided by an embodiment of the present application will be described.
[0029] As shown in Figure 2 A message processing method provided by an embodiment of the present application can include:
[0030] Step 201, receiving a message pushed by at least one application.
[0031] The at least one application is one or more applications installed in the terminal device, which can include system applications, or other applications in addition to system applications. The received message can be a message pushed by the at least one application at any time.
[0032] Step 202, displaying icons of the at least one application respectively in a notification bar, and displaying unread message identifiers of the at least one application respectively on the icons of the at least one application.
[0033] The icon of the application is the icon of the application, which is usually represented by a picture containing the logo of the application.
[0034] The unread message identifier can include, but is not limited to, one or more of the following: unread message quantity, unread message type, and unread message icon. Alternatively, the unread message identifier is the unread message quantity, to inform the user of how many new messages.
[0035] Specifically, when displaying the unread message identifier of the application on the icon of the application, the unread message identifier of the application can be displayed at a preset position of the icon of the application. The preset position of the icon can be one of the upper right corner, the upper left corner, the lower left corner, the lower right corner, and the center of the icon.
[0036] Specifically, when the notification bar is not expanded, the icon of the application can be displayed in the status bar at the top of the screen of the terminal device, and the unread message identifier of the application can be displayed on the icon of the application. As shown in Figure 3 When the terminal device receives the messages pushed by the search engine 3, the short video platform 4, the audio platform 5, the group purchase platform 6, the electronic map 7, and the mailbox 8, the icons of these applications are displayed in the status bar at the top of the screen of the terminal device, and the number of unread messages is displayed in the upper right corner of the icon of each application. Figure 7 Figure 7 The number of unread messages of the search engine 3, the short video platform 4, the audio platform 5, the group purchase platform 6, the electronic map 7, and the mailbox 8 is 7, 2, 3, 5, 1, and 1 respectively.
[0037] Optionally, when the notification bar is expanded, the icon of the application is displayed at the top of the notification bar, the unread message identifier of the application is displayed on the icon of the application, and the specific unread messages are displayed in the pull-down bar of the notification bar in a certain order. As shown in Figure 4 When the notification bar is expanded, the icons of the search engine 3, the short video platform 4, the audio platform 5, the group purchase platform 6, the electronic map 7, and the mailbox 8 are displayed at the top of the notification bar, the number of unread messages of each application is displayed on the icon of the application, and the unread messages of these applications are displayed in the pull-down bar of the notification bar in a certain order. Figure 7
[0038] The display order of the unread messages in the pull-down bar of the notification bar can be obtained according to a preset sorting rule. The preset sorting rule can include but is not limited to one of the following rules: (1) for all unread messages, the messages are sorted in the order of receiving time or in reverse order; (2) for messages from different applications, the messages are sorted in the order of the number of unread messages of the application or in reverse order, and for messages from the same application, the messages are sorted in the order of receiving time or in reverse order, etc.
[0039] Optionally, when receiving a message pushed by an application, if the application is not opened or runs in the background, an icon of the application is displayed on the notification bar, and an unread message identifier of the application is displayed on the icon of the application; if the application is running in the foreground, the icon of the application is not displayed on the notification bar, for example, for a chat message pushed by an instant messaging application, if the instant messaging application is running in the foreground and the user is using the chat function, the message is directly displayed in the chat interface of the application, without the need to display the icon of the application on the notification bar to remind the user.
[0040] Optionally, when the unread message identifier of the application is displayed on the icon of the application, in order to further improve the effect of reminding the user to view, the unread message identifier of the application can be displayed on the icon of the application in a preset display manner. For example, the preset display manner can include but is not limited to highlighting, bright color (such as red), flashing, and other more eye-catching display manners.
[0041] The message processing method provided by the embodiments of the present application can not only display the icon of the application on the notification bar after receiving the message pushed by the application, but also display the unread message identifier of the application on the icon of the application, which can attract more attention of the user, thereby attracting the user to open the application to view, and thus the reminding effect can be improved.
[0042] It should be noted that in the related art, the unread message identifier is usually displayed on the application icon on the desktop, or the unread message identifier of the application is displayed after the notification bar is expanded, and the user needs to perform additional operations such as sliding to see the unread message identifier of the application. However, the embodiments of the present application directly display the icon of the application on the notification bar together with the unread message identifier, so that the user can know the number of unread messages pushed by the application and other information at the first time, and thus the effect of reminding the user to view can be improved.
[0043] In actual application, when a major social event or news occurs, most applications will first push related messages to the terminal device, and at this time, the notification bar of the terminal device will display multiple similar or even identical messages, such as Figure 5 As shown in FIG. 1, three applications of a certain voice platform, a certain video platform and a certain browser successively push a message with similar content, that is, live broadcast: celebrate XXX. In the related art, if these messages are to be deleted, the user needs to manually click to view or delete one by one, which is tedious and has poor user experience; or the user can click the all-clear button to delete, but clicking the all-clear button will cause the information that the user wants to keep to be deleted, which is also not good for the user experience.
[0044] In order to solve the above problems, optionally, as shown in Figure 5As shown, the message processing method provided by the embodiments of the present application can further include the following steps in addition to the steps 201 and 202:
[0045] Step 203: receiving a moving operation for the first icon to move the first icon.
[0046] The first icon is an icon of a first application, and the first application is any one of the at least one application in step 201.
[0047] The moving operation for the first icon can include a long-pressing and dragging operation, for example, a user can long-press an icon in the notification bar and drag the icon to move the icon along with the user's hand, and the moving direction is not limited, and is generally horizontal left or right.
[0048] Step 204: judging whether the first icon and a second icon overlap; if at least partially overlapping, executing step 205; otherwise, returning to execute step 203.
[0049] The second icon is an icon of a second application, and the second application is any one of the at least one application in step 201 except the first application.
[0050] Optionally, when the result of step 204 is no, it can be further judged whether the icons of all the applications displayed in the notification bar have been at least partially overlapped by other icons or whether the operation of moving the icons of the applications displayed in the notification bar by the user (whether the user releases the hand) is no longer received, and if the results of the judgments are all yes, the flow ends, otherwise, returning to execute step 203.
[0051] Step 205: judging whether a target message is included in the unread messages of the first application and the second application; if yes, executing step 206; otherwise, returning to execute step 203.
[0052] The target message includes the same message or similar messages.
[0053] Optionally, when the result of step 205 is no, it can be further judged whether the icons of all the applications displayed in the notification bar have been at least partially overlapped by other icons or whether the operation of moving the icons of the applications displayed in the notification bar by the user (whether the user releases the hand) is no longer received, and if the results of the judgments are all yes, the flow ends, otherwise, returning to execute step 203.
[0054] Step 206: deleting the target message in the unread messages of a target application.
[0055] The target application is the first application or the second application.
[0056] The embodiment of the present application aims to delete the same or similar unread messages of an application corresponding to the icon collision with another icon in the notification bar under the operation of a user. It can be understood that when the number of the same or similar messages corresponding to two applications is greater than one, a plurality of repeated messages can be deleted at one time.
[0057] The embodiment of the present application provides a method for deleting the same or similar unread messages in the notification bar, which does not need to expand the notification bar or manually delete the messages one by one, but automatically deletes one or more same or similar unread messages through the icon collision, reduces the operation steps of the user for deleting the same or similar unread messages, and is more convenient for the user.
[0058] Optionally, when the target message in the unread messages of the target application is deleted, a preset animation effect can be displayed on the icon of the target application, wherein the preset animation effect can include explosion, shaking and splitting animation effects, and optionally, a sound effect can be added to provide the user with a more intuitive operation experience and make the user intuitively feel the process of deleting the same or similar messages.
[0059] Optionally, as shown in Figure 6 the unread message identifier is the number of unread messages, after step 206, the message processing method provided by the embodiment of the present application can further include:
[0060] Step 208: updating the unread message identifier displayed on the icon of the target application according to the number of the deleted target messages.
[0061] Specifically, the number of unread messages displayed on the icon of the target application can also be reduced by the corresponding number according to the number of the deleted target messages, for example, if one target message is deleted, the number of unread messages displayed on the icon of the target application is reduced by one, so that the number of unread messages displayed on the icon of the application is consistent with the actual number of unread messages.
[0062] Optionally, as shown in Figure 6 the unread message identifier is the number of unread messages, after step 206, the message processing method provided by the embodiment of the present application can further include:
[0063] Step 207: judging whether the number of unread messages of the target application is greater than zero; if yes, executing step 208; if no, executing step 209.
[0064] Step 208: updating the unread message identifier displayed on the icon of the target application according to the number of the deleted target messages.
[0065] Specifically, the number of unread messages displayed on the icon of the target application can also be reduced by the corresponding number according to the number of the target messages deleted, for example, if one target message is deleted, the number of unread messages displayed on the icon of the target application is reduced by one, so that the number of unread messages displayed on the icon of the application is consistent with the actual number of unread messages.
[0066] Step 209, cancel the display of the icon of the target application in the notification bar.
[0067] That is, the icon of the target application displayed in the notification bar disappears.
[0068] It is not difficult to understand that the number of unread messages can be reduced by deleting the same or similar messages, and the time of the user to view the unread messages can be saved accordingly; the icon with the number of unread messages being zero is automatically deleted, which can further reduce the operation of the user to view the unread messages and save the time of the user.
[0069] The above is a description of the message processing method provided by the embodiments of the present application.
[0070] It should be noted that the message processing method provided by the embodiments of the present application can be executed by a message processing device, or a control module in the message processing device for executing the loaded message processing method. In the embodiments of the present application, the message processing device executes the loaded message processing method as an example to illustrate the message processing method provided by the embodiments of the present application.
[0071] The message processing device provided by the embodiments of the present application will be described below.
[0072] As shown in Figure 7 An embodiment of the present application provides an image display device, which can include a message receiving module 701 and a message display module 702.
[0073] The message receiving module 701 is configured to receive at least one message pushed by an application.
[0074] The message display module 702 is configured to display an icon of the at least one application in a notification bar, and display an unread message identifier of the application on the icon of the at least one application.
[0075] Specifically, the message display module 702 can be specifically configured to display the unread message identifier of the application on the upper right corner of the icon of the application.
[0076] Optionally, the message display module 702 can be specifically configured to display the unread message identifier of the application on the icon of the application in a preset display mode.
[0077] Specifically, the message display module 702 can be specifically configured to: display the icon of the application in the status bar at the top of the terminal device screen when the notification bar is not expanded, and display the unread message identifier of the application on the icon of the application.
[0078] Optionally, the message display module 702 can be specifically configured to: display the icon of the application at the top of the notification bar and display the unread message identifier of the application on the icon of the application when the notification bar is expanded, and display specific unread messages in the pull-down bar of the notification bar in a certain order.
[0079] The message processing device provided by the embodiment of the present application can not only display the icon of the application in the notification bar after receiving the message pushed by the application, but also display the unread message identifier of the application on the icon of the application, which can attract more attention of the user and thus attract the user to open the application for viewing, so that the reminding effect can be improved.
[0080] Optionally, as shown in the message processing device provided by the embodiment of the present application, in addition to the message receiving module 701 and the message display module 702, the message processing device can further include: an icon moving module 703, a first judging module 704, a second judging module 705 and a message deleting module 706. Figure 8
[0081] The icon moving module 703 is configured to move the first icon according to the moving operation on the first icon.
[0082] The first icon is the icon of the first application, and the first application is any one of the at least one application.
[0083] The moving operation on the first icon can include a long-pressing and dragging operation, for example, the user can long-press a certain icon in the notification bar and drag the icon to move the icon along with the hand of the user, and the moving direction is not limited, and is generally horizontal left or right movement.
[0084] The first judging module 704 is configured to judge whether the first icon and the second icon overlap; if at least partially overlapping, triggering the second judging module 705; otherwise, triggering the icon moving module 703.
[0085] The second icon is the icon of the second application, and the second application is any one of the at least one application in step 201 except the first application.
[0086] Optionally, when the result of the first judging module 704 is no, it is further judged whether the icons of all the applications displayed on the notification bar are at least partially overlapped by other icons or whether the operation of moving the icons of the applications displayed on the notification bar by the user (whether the user releases the hand) is no longer received, and if the results are all yes, the process is ended, otherwise the icon moving module 703 is triggered again.
[0087] The second judging module 705 is configured to judge whether there is a target message in the unread messages of the first application and the second application, and if yes, the message deleting module 706 is triggered, otherwise the icon moving module 703 is triggered.
[0088] The target message includes the same message or the similar message.
[0089] Optionally, when the result of the second judging module 705 is no, it is further judged whether the icons of all the applications displayed on the notification bar are at least partially overlapped by other icons or whether the operation of moving the icons of the applications displayed on the notification bar by the user (whether the user releases the hand) is no longer received, and if the results are all yes, the process is ended, otherwise the icon moving module 703 is triggered again.
[0090] The message deleting module 706 is configured to delete the target message in the unread messages of the target application.
[0091] The target application is the first application or the second application.
[0092] The purpose of the embodiments of the present application is to delete the same or similar unread messages corresponding to one of the two applications when the icon of one application in the notification bar collides with the icon of another application under the operation of the user. It can be understood that when the number of the same or similar messages corresponding to the two applications is greater than one, multiple messages with the same content can be deleted at one time through one collision.
[0093] The method for deleting the same or similar unread messages in the notification bar provided by the embodiments of the present application does not need to expand the notification bar or manually delete one by one by the user, but automatically deletes one or more same or similar unread messages through the collision between the icon of one application and the icon of another application, which reduces the operation steps of the user in deleting the same or similar unread messages, and is more convenient for the user.
[0094] Optionally, when the target message in the unread messages of the target application is deleted, a preset animation effect can be displayed on the icon of the target application, wherein the preset animation effect can include explosion, shaking and splitting animation effects, and optionally, a sound effect can be added to give the user a more intuitive operation experience and make the user intuitively feel the process of deleting the same or similar messages.
[0095] Optionally, as shown in Figure 8 After step 206, the message processing method provided by the embodiment of the present application can further include: a mark updating module 708, configured to update the mark of unread messages displayed on the icon of the target application according to the number of the deleted target messages after the target message in the unread messages of the target application is deleted.
[0096] Specifically, the number of unread messages displayed on the icon of the target application can also be reduced by the corresponding number according to the number of the deleted target messages, for example, if one target message is deleted, the number of unread messages displayed on the icon of the target application is reduced by one, so that the number of unread messages displayed on the icon of the application is consistent with the actual number of unread messages.
[0097] Optionally, as shown in Figure 8 The message processing method provided by the embodiment of the present application can further include: a third judgment module 707, a mark updating module 708 and a display canceling module 709.
[0098] The third judgment module 707 is configured to judge whether the number of unread messages of the target application is greater than zero; if yes, the mark updating module 708 is triggered; if no, the display canceling module 709 is triggered.
[0099] The mark updating module 708 is configured to update the mark of unread messages displayed on the icon of the target application according to the number of the deleted target messages.
[0100] Specifically, the number of unread messages displayed on the icon of the target application can also be reduced by the corresponding number according to the number of the deleted target messages, for example, if one target message is deleted, the number of unread messages displayed on the icon of the target application is reduced by one, so that the number of unread messages displayed on the icon of the application is consistent with the actual number of unread messages.
[0101] The display canceling module 709 is configured to cancel the display of the icon of the target application in the notification bar.
[0102] That is, the icon of the target application displayed in the notification bar disappears.
[0103] It is not difficult to understand that through the deletion of the same or similar messages, the number of unread messages can be reduced, and accordingly the time of the user for viewing the unread messages can be saved; the icon of the target application with the number of unread messages being zero is automatically deleted, which can further reduce the operation of the user for viewing the unread messages and save the time of the user.
[0104] The message processing apparatus in the embodiments of the present application can be an apparatus, or a component, an integrated circuit, or a chip in a terminal. The apparatus can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the embodiments of the present application are not limited in this regard.
[0105] The message processing apparatus in the embodiments of the present application can be an apparatus with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, and the embodiments of the present application are not limited in this regard.
[0106] The message processing apparatus provided in the embodiments of the present application can achieve Figure 7 or Figure 8 The various processes achieved by the message processing apparatus in the embodiments shown in the above are not repeated here to avoid repetition.
[0107] The message processing apparatus provided in the embodiments of the present application not only displays the icon of the application in the notification bar, but also displays the number of unread messages of the application on the icon of the application, which can attract more attention of the user, so as to attract the user to open the application for viewing, and thus the reminding effect can be improved.
[0108] Optionally, the embodiments of the present application further provide an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor. The program or instructions are executed by the processor to implement the various processes of the message processing method embodiments and achieve the same technical effects. The various processes are not repeated here to avoid repetition.
[0109] It should be noted that the electronic device in the embodiments of the present application includes the mobile electronic device and the non-mobile electronic device described above.
[0110] FIG. 9 A hardware structure schematic diagram of an electronic device according to an embodiment of the present application is shown in FIG.
[0111] The electronic device 900 includes, but is not limited to, a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910, etc.
[0112] Those skilled in the art can understand that the electronic device 900 can further include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 910 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. Figure 9 The electronic device structure shown in the figure is not a limitation on the electronic device, and the electronic device can include more or fewer components than shown, or combine certain components, or different component arrangements, which are not described here.
[0113] The processor 910 is configured to receive at least one application pushed message, display icons of the at least one application respectively in a notification bar, and display unread message identifiers of the at least one application respectively on the icons of the at least one application.
[0114] The electronic device provided by the embodiment of the present application not only displays the icons of the application in the notification bar, but also displays the number of unread messages of the application on the icons of the application, which can attract more attention of the user, so as to attract the user to open the application for viewing, and thus the reminding effect can be improved.
[0115] The embodiment of the present application further provides a readable storage medium, and the readable storage medium stores a program or instructions, the program or instructions are executed by a processor to realize each process of the message processing method embodiment, and the same technical effects can be achieved, to avoid repetition, which will not be described here.
[0116] The processor is the processor in the electronic device in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc.
[0117] The embodiment of the present application further provides a chip, and the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or instructions to realize each process of the message processing method embodiment, and the same technical effects can be achieved, to avoid repetition, which will not be described here.
[0118] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system level chip, a system chip, a chip system, or a system on chip, etc.
[0119] It should be noted that the terms "comprising," "including," and 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 can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a... " does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element. Additionally, it should be noted that the scope of the methods and apparatus of the present embodiments are not limited by the order of the steps or the sequence for performing the steps, as some steps can occur simultaneously, be performed in a different order than the order described, or be performed concurrently with each other. Furthermore, features described with respect to certain examples can be combined in other examples.
[0120] From the above description of the embodiments, it is apparent that the method of the above-described embodiments can be realized by means of software and the necessary universal hardware platform, of course, can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product in essence or in the form of a part of the prior art that makes a contribution. The computer software product is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in each embodiment of the present application.
[0121] The embodiments of the present application are described above in conjunction with the drawings, but the present application is not limited to the above-described specific embodiments, and the above-described specific embodiments are merely illustrative rather than limiting, and a person of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.
Claims
1. A message processing method characterized by, The method comprises: receiving at least one application pushed message; if the at least one application is not opened or runs in the background, displaying an icon of the at least one application in a notification bar and displaying an unread message identifier of the application on the icon of the at least one application in a preset display mode respectively; receiving a moving operation for a first icon to move the first icon, wherein the first icon is an icon of a first application, and the first application is any one of the at least one application; judging whether the first icon overlaps a second icon, wherein the second icon is an icon of a second application, and the second application is any one of the at least one application except the first application; when the first icon at least partially overlaps the second icon, judging whether a target message exists in unread messages of the first application and the second application, wherein the target message comprises a same message or a similar message; when the unread messages of the first application and the second application comprise the target message, deleting the target message in unread messages of a target application, wherein the target application is the first application or the second application.
2. The method of claim 1, wherein, When the unread message identifier is an unread message quantity, after the target message in the unread messages of the target application is deleted, the method further comprises: updating the unread message quantity displayed on the icon of the target application according to the quantity of the deleted target message.
3. The method of claim 1, wherein, When the unread message identifier is an unread message quantity, after the target message in the unread messages of the target application is deleted, the method further comprises: judging whether the unread message quantity of the target application is greater than zero; if greater than zero, updating the unread message identifier displayed on the icon of the target application according to the quantity of the deleted target message; if equal to zero, canceling display of the icon of the target application in the notification bar.
4. The method according to any one of claims 1 to 3, characterized in that, When the target message in the unread messages of the target application is deleted, the method further comprises: displaying a preset animation effect on the icon of the target application.
5. A message processing device, characterized by The device comprises: a message receiving module configured to receive at least one application pushed message; a message display module configured to, if the at least one application is not opened or runs in the background, display an icon of the at least one application in a notification bar and display an unread message identifier of the application on the icon of the at least one application in a preset display mode respectively; an icon moving module configured to receive a moving operation for a first icon to move the first icon, wherein the first icon is an icon of a first application, and the first application is any one of the at least one application; a first judging module configured to judge whether the first icon overlaps a second icon, wherein the second icon is an icon of a second application, and the second application is any one of the at least one application except the first application; a second judging module configured to, when the first icon at least partially overlaps the second icon, judge whether a target message exists in unread messages of the first application and the second application. The message deleting module is configured to delete the target message in the unread message of the target application when the first application and the unread message of the second application include the target message, wherein the target message includes the same message or the similar message, and the target application is the first application or the second application.
6. The apparatus of claim 5, wherein, The unread message identifier is an unread message number, and the device further comprises: The identifier updating module is configured to update the unread message identifier displayed on the icon of the target application according to the number of the deleted target message after the target message in the unread message of the target application is deleted.
7. The apparatus of claim 5, wherein, The unread message identifier is an unread message number, and the device further comprises: The third judging module is configured to judge whether the unread message number of the target application is greater than zero after the target message in the unread message of the target application is deleted. The identifier updating module is configured to update the unread message identifier displayed on the icon of the target application according to the number of the deleted target message when the unread message number of the target application is greater than zero. The display canceling module is configured to cancel the display of the icon of the target application in the notification bar when the unread message number of the target application is equal to zero.
8. The device of any one of claims 5-7, wherein, The device further comprises: The dynamic effect display module is configured to display a preset animation effect on the icon of the target application when the target message in the unread message of the target application is deleted.
Citation Information
Patent Citations
Aggregated display method of ions in status bar and mobile terminal
CN107071161A
Method and Apparatus for Processing Task Event
US20150121267A1