Method, device, electronic device and storage medium for displaying unread messages

The method and device allow users to filter and view contact identifiers for unread messages based on input directions, addressing the issue of unnecessary application opening by providing targeted access to message content.

JP7587674B2Active Publication Date: 2024-11-20VIVO MOBILE COMM CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023504468
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-07-22
Filing Date
2021-07-21
Publication Date
2024-11-20
Estimated Expiration
2041-07-21

AI Technical Summary

Technical Problem

Existing methods fail to purposefully notify users about the importance of unread messages, leading to unnecessary opening of applications and wasting time.

Method used

A method and device that displays an app badge when an unread message is received, allowing users to input directions to filter and view contact identifiers in an information window, enabling targeted access to message content without opening the application.

Benefits of technology

Users can efficiently retrieve contact information for unread messages, reducing the need to open the application for unimportant messages and enhancing user convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007587674000002
    Figure 0007587674000002
  • Figure 0007587674000003
    Figure 0007587674000003
  • Figure 0007587674000004
    Figure 0007587674000004
Patent Text Reader

Abstract

An embodiment of the present application provides a method, a device, an electronic device, and a storage medium for displaying an unread message, the method including: displaying an app badge when an unread message is received by a target application; receiving a first input from a user on the app badge; displaying an information window in response to the first input, the information window including an identifier of a target contact, the target contact being a contact corresponding to the unread message that satisfies a predetermined condition; receiving a second input from the user on the identifier of the target contact; and launching the target application in response to the second input.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to a Chinese patent, application number No. 202010709228.3, filed in China on July 22, 2020, the entire contents of which are incorporated herein by reference. [Technical field]

[0002] The present application relates to the technical field of communications, and in particular to a method, device, electronic device and storage medium for displaying an unread message. [Background technology]

[0003] Currently, when an application receives a message but has not yet read it, the number of unread messages is displayed on the application badge in the form of a red circle and a number. These numbers only show the number of unread messages to users, and users do not know the importance of these unread messages, so they often open the application with junk content, wasting time. Summary of the Invention [Problem to be solved by the invention]

[0004] In response to the technical problem in the related art that unread messages cannot be notified in a purposeful manner, the embodiments of the present application provide a method, device, electronic device and storage medium for displaying unread messages. [Means for solving the problem]

[0005] In a first aspect, the present embodiment comprises: displaying an app badge when an unread message is received by the target application; receiving a first input from a user into the app badge; displaying an information window in response to the first input, the information window including an identifier of a target contact, the target contact being a contact corresponding to the unread message that satisfies a predetermined condition, the predetermined condition being related to an input direction of the first input; accepting a second input from a user into an identifier of the target contact; In response to the second input, launching the target application and displaying a user interface of the target application, the user interface including message content corresponding to the identifier of the target contact.

[0006] In a second aspect, the present embodiment comprises a display module configured to display an app badge when an unread message is received by the target application; a receiving module configured to receive a first input from a user into the app badge; a processing module configured to display an information window in response to the first input, the information window including an identifier of a target contact, the target contact being a contact corresponding to the unread message that satisfies a predetermined condition, the predetermined condition being related to an input direction of the first input; The receiving module is further configured to receive a second input of an identifier of the target contact from the user; The processing module is further configured to, in response to the second input, launch the target application and display a user interface of the target application, wherein the user interface includes message content corresponding to the identifier of the target contact, providing an unread message display device.

[0007] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor, and a program or command stored in the memory and executable in the processor, characterized in that when the processor executes the program or command, it realizes the steps of the method for displaying unread messages described in the first aspect.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium having stored thereon a program or command, which, when executed by a processor, performs the steps of the method for displaying unread messages described in the first aspect.

[0009] In a fifth aspect, an embodiment of the present application provides a chip comprising a processor and a communication interface, the communication interface and the processor being coupled together, the processor executing a program or command to realise the method of displaying unread messages described in the first aspect. Effect of the Invention

[0010] According to the method, device, electronic device, and storage medium for displaying unread messages provided in the embodiments of the present application, by accepting a first input into a user's app badge and displaying contact identifiers in an information window including contacts and / or groups corresponding to the filtered unread messages, a user can obtain contact information for unread messages in a more purposeful manner without opening an application, thereby reducing the need to open an application with unimportant unread messages. [Brief description of the drawings]

[0011] In order to more clearly describe the technical solutions in the embodiments of the present application or related technologies, the following will briefly describe the drawings necessary for use in the description of the embodiments or related technologies. Of course, the drawings in the following description are part of the embodiments of the present application, and those skilled in the art can derive other drawings from these drawings without any creative efforts.

[0012] [Figure 1] 4 is a method flowchart of a method for displaying unread messages provided in an embodiment of the present application; [Diagram 2] FIG. 2 is a schematic diagram of a sub-window generation method in an embodiment of the present application; [Diagram 3] FIG. 2 is a schematic diagram of a sub-window display method in an embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of a method for independently setting sub-windows in an embodiment of the present application; [Diagram 5] FIG. 2 is a schematic diagram of a method for displaying an independently installed sub-window in an embodiment of the present application; [Figure 6] 4 is a schematic diagram of a method for adjusting the corresponding input direction of an information window in an embodiment of the present application; [Figure 7] FIG. 2 is a schematic diagram of a method for setting a contact's unread messages to be displayed separately in an embodiment of the present application; [Figure 8] FIG. 2 is a schematic diagram of a method for displaying unread messages of a contact in an embodiment of the present application; [Figure 9] FIG. 11 is a schematic diagram of a screen operation for setting an important identifier for an important contact in an embodiment of the present application. [Figure 10] FIG. 2 is a screen operation schematic diagram of a method for displaying unread messages provided in an embodiment of the present application. [Figure 11] 4 is a method flowchart of a method for displaying unread messages provided in another embodiment of the present application; [Figure 12] FIG. 2 is a schematic diagram of an unread message display device provided in an embodiment of the present application. [Figure 13] FIG. 1 is a schematic diagram illustrating the configuration of an electronic device provided in an embodiment of the present application. [Figure 14] FIG. 13 is a schematic diagram illustrating the configuration of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of 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. Of course, the described embodiments are only a part of the embodiments of the present application, and are not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without any creative effort shall fall within the scope of protection of the present application.

[0014] It should be understood that the term "one embodiment" or "one embodiment" used in the specification means that a particular feature, structure, or characteristic associated with an embodiment is included in at least one embodiment of the present application. Thus, the appearances of "in one embodiment" or "in one embodiment" throughout the specification are not necessarily all referring to the same embodiment. However, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0015] In various embodiments of the present application, the numerical order of each process described below does not indicate the order of execution, but rather the order of execution of each process depends on its function and inherent logic, and it should be understood that this does not limit the implementation process of the embodiments of the present application.

[0016] FIG. 1 is a method flowchart of the method for displaying unread messages provided in an embodiment of the present application. As shown in FIG. 1, the method includes the following steps S101, S102, S103, S104 and S105.

[0017] In S101, an app badge is displayed when an unread message is received by a target application.

[0018] Here, the target application may be, for example, an instant communication application, a notification bar application, or an application that can perform a messaging function such as chat. The app badge is used to indicate the number of all unread messages in an application or the number of specific unread messages, and the specific unread messages are unread messages that satisfy a predetermined condition. As can be understood, when the number of unread messages or the specific unread messages is 0, the app badge is not displayed. It should be noted that the predetermined condition may be preset in the terminal, or may be set or changed according to factors such as a user's usage habits, and the embodiment of the present application is not specifically limited thereto.

[0019] In addition, the app badge may only indicate the presence or absence of any unread messages or specific unread messages in the application, and if any unread messages or the specific unread messages exist, the app badge is displayed on the app icon, and if no unread messages or the specific unread messages exist, the app badge is not displayed.

[0020] At S102, a first input to the app badge from a user is received.

[0021] When a user notices that the application badge is displayed on an application icon while using the terminal, the user may know that there are unread messages or the specific unread messages in the application corresponding to the application icon at this time, and the user may perform a first input on the application badge to trigger displaying related information of the specific unread messages that meet the filtering criteria.

[0022] Here, the first input may be an input of swiping in a predetermined direction starting from the app badge, or an input of a predetermined trajectory starting from the app badge, or another input method, and the embodiments of the present application do not specifically limit this.

[0023] At S103, in response to the first input, an information window is displayed, the information window including an identifier of a target contact, the target contact being a contact among the contacts corresponding to the unread message that satisfies a predetermined condition, the predetermined condition being related to an input direction of the first input.

[0024] Specifically, after the terminal accepts the first input from the user, if a specific unread message was obtained based on the narrowing rule in the previous step, the specific unread message is acquired, and if the specific unread message was not obtained based on the specified condition in the previous step, all unread messages are narrowed down and the specific unread message is acquired.

[0025] After obtaining the specific unread message, the terminal obtains the contact identifier of the contact and / or group corresponding to the specific unread message and displays it in the information window as the identifier of the target contact, where the contact identifier is information that can be used to identify the identity of the contact, such as the contact's profile picture, nickname, name, ID, etc. In this way, the contact identifiers of the contact and / or group corresponding to the unread messages that the user views in the information window are all obtained after narrowing down, and the user can avoid opening an application with unread messages that are not important.

[0026] As can be understood, except for obtaining the contact identifiers of the contacts and / or groups corresponding to the unread messages in response to the first input as described above, obtaining the contact identifiers may be completed simultaneously with filtering the unread messages when each new unread message is received, and when a new unread message is determined to be a specific unread message that satisfies the predetermined condition, a corresponding contact identifier is obtained, and the contact identifier is added to a specific data set, so that when the terminal receives a first input from the user, the contact identifiers of the contacts and / or groups corresponding to the filtered unread messages are directly obtained from the data set, thereby accelerating the response speed to the first input.

[0027] Here, the information window may be displayed centered on the position of last touch in the first input, or may be displayed in close contact with the application icon, or may be displayed so as to cover the application icon or in an area overlapping with the application icon, or may be displayed in a fixed area on the display screen of the terminal, such as the top, bottom or side of the display screen, and the embodiments of the present application do not specifically limit the position of the display window.

[0028] At S104, a second input of an identifier of the target contact from the user is accepted.

[0029] Specifically, after a user views the information window, the user can perform a second input on the identifier of the target contact in the information window, which may be, for example, a tap, a swipe, or other operation, and the embodiment of the present application is not specifically limited thereto.

[0030] At S105, in response to the second input, launching the target application and displaying a user interface of the target application, the user interface including message content corresponding to the identifier of the target contact.

[0031] Specifically, in response to this, the terminal directly displays an interaction interface including the unread message corresponding to the identifier of the target contact after receiving the second input. Here, the interaction interface may be an interaction interface corresponding to the identifier of the contact after opening the application, for example, when the unread message is a message sent within a group, the interaction interface is correspondingly an interaction interface of the group, and when the unread message is a message sent by an individual contact, the interaction interface is correspondingly an interaction interface with the contact. Note that the interaction interface may be an interaction interface such as a floating window independent of the application, and the embodiment of the present application does not specifically limit this.

[0032] This allows the user to directly enter the interaction interface in the information window, enhancing the convenience for the user when viewing or replying to the unread messages.

[0033] In the method for displaying unread messages provided in the embodiment of the present application, by accepting a first input from a user to an app badge and displaying contact identifiers, including contacts and / or groups, corresponding to the filtered unread messages in an information window, the user can obtain contact information for unread messages in a more purposeful manner without opening an application, and the user is less likely to open an application with unimportant unread messages.

[0034] Because a user may require various different predetermined conditions during use, based on the above embodiment of the present application, optionally, when the first input corresponds to a different input direction, the predetermined condition is different, wherein the identifier of the target contact that satisfies the predetermined condition includes at least one of an identifier of a contact that has a pre-set important mark, a group identifier where the contact is a group, an identifier of a contact that includes a pre-set code and a user identifier of the user in the unread message, and an identifier of a contact that corresponds to all unread messages.

[0035] Specifically, when the input direction of the first input corresponds to a first predetermined direction, the information window includes an identifier of a contact that is pre-marked as important.

[0036] Specifically, the important mark may be set in advance by the user for the contact. When the user considers that a message sent by a certain contact has high importance and wants to view the message immediately, the user may mark the contact as an important contact in advance on the terminal. Note that the important mark may be automatically set according to factors such as the frequency of contact between the user and the contact, and the embodiment of the present application is not specifically limited thereto.

[0037] Here, the unread message may be a message sent by the important contacts individually to the user, or a message sent by the important contacts as a group.

[0038] When the input direction of the first input corresponds to a second predetermined direction, the information window includes a group identifier of the contact being a group, specifically, when there are unread messages in the group, input in the second predetermined direction causes the display window to display the group identifier of the group in which the unread messages exist.

[0039] When an input direction of the first input corresponds to a third predetermined direction, the information window includes a contact identifier including a predetermined code and a user identifier of the user in the unread message.

[0040] Specifically, the unread message including the predetermined code and the user's user identifier refers to a message that the second target contact in the group wants to attract the attention of the user corresponding to the user identifier, and is notified to the user by the predetermined code and the user identifier of the user. For example, when the predetermined code is the code "@" and the user's name is "Chen Sheng", the unread message including the predetermined code and the user identifier of the user refers to an unread message including "@Chen Sheng". As can be understood, the code can be other codes, and the user identifier can be other identity identifier information such as a user ID, or can be an identifier of a small group or everyone in the group of users, such as "@Everyone", and the embodiment of the present application is not specifically limited thereto.

[0041] When an input direction of the first input corresponds to a fourth predetermined direction, the information window includes contact identifiers of all contacts and / or groups with unread messages.

[0042] Specifically, what is displayed in the information window are all the identifiers of the target contacts corresponding to the unread messages after filtering, but the user may need to obtain other unread messages that do not satisfy the predetermined conditions corresponding to the first, second and third predetermined directions, so in order to ensure that the user can know the status of the contacts who sent such unread messages, the embodiment of the present application may set up an information window corresponding to the fourth predetermined direction to display the contact identifiers of the contacts and groups corresponding to all the unread messages.

[0043] As can be understood, the first, second, third and fourth predetermined directions are different directions, for example, the first predetermined direction is leftward, the second predetermined direction is downward, the third predetermined direction is upward, etc. Each of the predetermined directions and the predetermined conditions can be set in a pre-set manner or a manner selected by a user, and the embodiments of the present application do not specifically limit the same.

[0044] In the method for displaying unread messages provided in the embodiment of the present application, different information windows are provided for different predetermined directions to display different types of unread messages, so that the user has more choice space and flexibility when viewing the contact identifiers of the unread messages.

[0045] Furthermore, based on the above embodiment of the present application, the display position of the information window is related to the input direction of the first input.

[0046] For example, when the first input is a leftward input, the information window may be displayed to the left of the app icon of the target application, and the information window may be provided adjacent to the app icon or centered on the input end position of the first input. As can be understood, other installation methods may also be used, and the embodiments of the present application do not specifically limit the same.

[0047] Based on the above embodiment of the present application, the first input includes a first sub-input and a second sub-input, the predetermined condition includes a first condition and a second condition, and the step of displaying an information window includes a step of displaying a first window and a second window, the first window includes an identifier of a first contact, the first contact is a contact corresponding to the unread message that satisfies the first condition, and the first condition is related to an input direction of the first sub-input, the second window includes an identifier of a second contact, the second contact is a contact corresponding to the unread message that satisfies the second condition, and the second condition is related to an input direction of the second sub-input; The method comprises: receiving a third input of dragging the second window onto the first window; The method further includes, in response to the third input, displaying a sub-window in the first window, the sub-window including an identifier of a third contact, the third contact satisfying the first condition and the second condition.

[0048] Here, the first sub-input and the second sub-input correspond to input operations in different directions, respectively, and are for triggering the display of a first window and a second window, and the identifiers of the contacts displayed in the first window and the second window correspond to a first condition and a second condition, respectively.

[0049] Specifically, a user may need to further restrict the filtering conditions for unread messages during the process of use, for example, to display in the window only the contact identifiers of groups corresponding to contacts who have sent unread messages containing a predefined important mark and a predefined code and the user's user identifier. In this case, if the filtering conditions are predefined in the terminal and cannot be changed, the user cannot realize the above requirement. Even if the filtering conditions are changeable or self-defined, the user generally needs to set them through a corresponding setting screen, which makes the operation relatively complicated.

[0050] Based on the above problem, in an embodiment of the present application, a user can drag the second window to the first window to display a sub-window in the first window, and the contact identifier displayed in the sub-window is the intersection of the contact identifier displayed in the first window and the contact identifier displayed in the second window.

[0051] For example, as shown in FIG. 2, a first condition corresponding to the first window 2 corresponds to an identifier of a contact who has been previously marked as important, and a second condition corresponding to the second window 3 corresponds to an identifier of a contact whose unread message includes a predetermined code and a user identifier of the user. Assume that the current unread messages include a message sent by an important contact Zhang San, a message sent by an important contact Li Si in group 1, @current user (e.g., Chen Sheng), and a message sent by a non-important contact Wang Wu in group 2, @current user (e.g., Chen Sheng). Since the first condition corresponding to the first window 2 corresponds to an identifier of a contact who has been previously marked as important, the first window 2 includes a profile picture of Zhang San (Zhang San is a contact who has been previously marked as important) and a profile picture of group 1 (a contact who Li Si has been previously marked as important). A second condition corresponding to the second window 3 corresponds to a contact identifier including a predetermined code and the user identifier of the user in an unread message, so that the second window 3 includes a profile picture of group 1 (Li Si @ed Chen Sheng in group 1) and a profile picture of group 2 (Wang Wu @ed Chen Sheng in group 2).

[0052] In this case, if the user wants to view the group contact identifier corresponding to the contact who has been marked with an important mark and sent an unread message containing a predetermined code and the user's user identifier alone, the user can perform a third input (shown in FIG. 2) of dragging the second window 3 to the first window 2, so that a sub-window 4 containing only the profile picture of group 1 as shown in FIG. 3 is displayed in the first window 2. At this time, since Li Si is an important contact and also @ed the current user in the message he sent, the corresponding profile picture of group 1 is displayed in the sub-window 4. The profile picture of group 2 of Wang Wu, a non-important contact, who sent an @ message, and the profile picture of Zhang San, who sent a non-@ message alone, are not displayed in the sub-window 4 correspondingly.

[0053] In this way, an embodiment of the present application can drag one window onto another to generate a sub-window that displays the contact identifiers of unread messages that simultaneously meet two predefined conditions, allowing the user more flexibility in filtering and viewing the unread messages.

[0054] As can be appreciated, the above first and second conditions are merely examples, and if there is a common portion between the identifiers of both corresponding contacts, the sub-window can be generated in the above manner, thus allowing for more precise viewing of unread messages.

[0055] Based on the above embodiment of the present application, the method comprises: accepting a fourth input from a user into the subwindow; and displaying the subwindow at a first location in response to the fourth input. the step of displaying an information window in response to the first input when the input direction of the first input is directed to the first position, In response to the first input, displaying the subwindow.

[0056] Specifically, after dragging the second window onto the first window to generate the subwindow, the user can display the subwindow at the first position in the form of a fourth input, where the fourth input is, for example, a drag operation, and the first position is, for example, a position centered on the end position of the drag operation, and the embodiment of the present invention does not specifically limit this.

[0057] In addition, an input method can be defined in this manner that displays the sub-window using a fourth input while at the same time triggering the display of the sub-window at a later time, thereby allowing the user to trigger the display of the sub-window simply by directing the input direction of the first input toward the first position.

[0058] For example, as shown in Fig. 4, a sub-window 4 including a profile picture of group 1 in the figure is dragged from the first window 2 to a first position A in the figure to generate one independent sub-window 4. Based on this, when the user wants to display the sub-window 4 again, the user can perform a first input toward the first position A on the app badge, for example, as shown in Fig. 5, and in response, the terminal displays the sub-window 4 at the first position A when it accepts the user's first input to the app badge.

[0059] In the embodiment of the present application, based on dragging the sub-window to a first position in the display area, the user can directly display the contact identifiers corresponding to the sub-window defined by the first and second conditions through a first input directed to a first position A shown later, thereby further improving the convenience of viewing unread messages.

[0060] Based on the above embodiment of the present application, the method comprises: accepting a fifth input from a user into the information window; and displaying the information window at a second location in response to the fifth input. The step of displaying an information window in response to the first input comprises: The method includes displaying the information window in response to the first input when the input direction of the first input is directed to the second position.

[0061] Specifically, depending on personal usage habits, etc., a user can change the input direction corresponding to the information window by executing a fifth input for dragging the information window to the second position B. For example, as shown by the solid arrow in Fig. 6, when a user drags the information window (first window 2 is taken as an example in this embodiment) to the illustrated second position B, the input direction that triggers the display of first window 2 changes to the direction from the app badge to the second position B.

[0062] In response to this, as indicated by the dotted arrow in Figure 6, the user can execute a first input in an input direction directed toward the second position B, thereby calling up the first window 2 after updating its display position to the second position B.

[0063] According to an embodiment of the present application, a user can perform a fifth input to the information window based on factors such as personal usage habits, thereby changing the input direction of the first input that triggers the display of the information window and the display position of the information window, thereby improving the efficiency of the user viewing unread messages.

[0064] Based on the above embodiment of the present application, the method comprises: receiving a sixth input into an identifier of a fourth contact in the information window; and in response to the sixth input, displaying a third window at a third location, the third window including an identifier of the fourth contact; The step of displaying an information window in response to the first input comprises: The method includes the step of displaying the third window in response to the first input when the input direction of the first input is directed to the third position.

[0065] Specifically, when the user wants to view the unread messages of a contact or group alone, the user can drag the identifier of the fourth contact, such as the contact or group, from the information window (the first window 2 is taken as an example in this embodiment) to the third position by the sixth input. As shown in FIG. 7, the user can drag the profile picture of Zhang San in the displayed information window to the third position C shown in FIG. 7. In this way, when the user wants to view the unread messages of the contact or group alone later, the user can generate the third window in the manner of the sixth input, and thus, as shown in FIG. 8, the user can call up the third window that displays only the unread messages from Zhang San by the first input pointing to the third position C. Based on this, the embodiment of the present application further enhances the flexibility of the user to view the unread messages.

[0066] Based on the above embodiment of the present application, when the target application is in a target folder and an unread message is received by the target application, the step of displaying an app badge includes the steps of displaying an app badge and a folder badge when an unread message is received by the target application; Prior to the step of accepting a first input to the user's app badge, the method further comprises: receiving a seventh input from the user into a folder badge of the target folder; The method further includes, in response to the seventh input, displaying an app window, the app window including an app icon of the target application and displaying the app badge on the app icon.

[0067] Specifically, for a folder that contains one or more applications, if the specific unread message exists in one or more of the applications, a folder badge is displayed in the folder to display the total number of unread messages for all applications in the folder, or the number of applications that have unread messages.

[0068] When a user notices that a folder badge exists in a folder, if the user opens the folder directly, the user must check each app icon in the folder one by one to avoid missing an application that has unread messages. When there are many applications, the checking process is relatively cumbersome, and in the worst case, the user must perform operations such as swiping and turning pages to check whether all applications have unread messages.

[0069] Therefore, in an embodiment of the present application, a user can perform the seventh input on the folder badge of the target folder, and when the terminal receives the seventh input, the terminal displays an application window in response to the seventh input, and displays an application icon including the target application in the application window, and displays the application badge on the application icon, so that a user can directly check the application identifier of the application having unread messages in the displayed application window, and avoid the interference of other applications having no unread messages.

[0070] In addition, to further enhance convenience during the user's usage process, the embodiment of the present application displays the above-mentioned app badge on the app identifier of the application in the displayed app window, so that the user can directly perform operations on the app badge in the app window as well to display identifier information of target contacts in the application that meet certain conditions.

[0071] Based on the above embodiment of the present application, the method comprises: receiving an eighth input from a user into the app badge; The method further includes removing the app badge in response to the eighth input, the eighth input being different in direction from the first input.

[0072] Specifically, when the user knows from the first input that there are no messages that need to be read among the unread messages, or the user already knows the current status of unread messages and does not need to be continuously notified by the app badge, the user can delete the app badge on the app icon by executing the eighth input on the app badge without opening the unread messages one by one after entering the application and deleting the app badge, thereby improving user convenience. Here, the eighth input can adopt the same input method as the first input, such as swipe, but needs to adopt a different input direction to distinguish it from the first input.

[0073] Based on the above embodiment of the present application, the method comprises: receiving a ninth input by the user dragging the information window onto an app icon of the target application; and in response to the ninth input, removing the information window.

[0074] Specifically, when the user no longer needs to display the information window, the user can use the ninth input to drag the information window to the app icon corresponding to the app badge to delete the information window.

[0075] As can be understood, the size of the information window or sub-window may be different from the size of the application icon. Therefore, based on the above embodiment of the present application, The step of removing the information window in response to the ninth input further comprises: The method includes a step of, in response to the ninth input, deleting the information window when an overlapping area between the information window and the application icon reaches a predetermined threshold.

[0076] Here, the predetermined threshold value can be determined according to factors such as the operating conditions during actual use and the screen size of the terminal, and the embodiment of the present application does not specifically limit the same.

[0077] Hereinafter, a method for displaying unread messages in yet another embodiment of the present application will be described by taking an example, and the method includes the following steps 1, 2, 3 and 4.

[0078] In step 1, the user selectively sets up a "key personnel" list.

[0079] As shown in Figure 9, the setting of "important personnel" is performed on the setting screen of the terminal, and the setting screen is provided with a search box and a plus button box for searching and setting the illustrated "important personnel", and a list of important personnel is displayed below the search box. For example, Zhang San, whose profile picture has a cloud pattern, and Li Si, whose profile picture has a square pattern, are set as "important personnel", and Zhang San and Li Si are marked as important in the application.

[0080] In step 2, the data required to obtain unread messages is analyzed.

[0081] Since unread messages are the set of messages that all applications interact with, such data needs to be parsed and classified before generating the corresponding profile photo list.

[0082] In step 3, the application badge moving direction and the corresponding implementation function are defined.

[0083] In the embodiment of the present application, the application badge movement directions and corresponding implementation functions are defined as shown in the table below. The correspondence relationship is not limited to this and can be set according to actual requirements. In addition, such correspondence data is stored in the terminal database so that when a user operates the application badge, corresponding information can be displayed according to the direction of the operation.

[0084] [Table 1]

[0085] At the same time, a corresponding interface interaction link is generated in the profile picture list, and when the user taps the link, the user can move to the corresponding interaction interface. When there is no corresponding data for the corresponding direction realization function, the user can be directly notified that "this function data is not available".

[0086] Step 4: determining the direction of the application badge movement and implementing the corresponding information display or application badge cancellation function.

[0087] After generating the function database that the user can refer to for moving the badge in step 3, when the user uses the mobile phone, the terminal determines the direction in which the user moves the application badge, searches the database, retrieves the function realization data, and creates the corresponding transition screen. Figure 10 shows the user interface displayed with the corresponding function when the badge is moved in each direction.

[0088] With reference to FIG. 11, which is a method flowchart of the method for displaying unread messages provided in another embodiment of the present application, the method for displaying unread messages provided in the above embodiment of the present application will be described by way of example.

[0089] As shown in FIG. 11, the terminal detects whether an installed APP has unread messages, and if there are no unread messages at present, continues to detect. If it is detected that there are unread messages, it then determines whether the APP with the unread messages is installed alone on the terminal's user interface or installed in a folder together with other applications, and if installed in a folder, displays a folder badge according to the number of unread messages, and if not installed in a folder, displays an app badge according to the number of unread messages.

[0090] When a folder badge is displayed, the user drags the folder badge to move it in any direction, and then a list of applications that have received unread messages in the folder is displayed, and after an application in the list is selected, the application unread messages are analyzed, and a database is generated to display the badge movement direction and the corresponding function, and a corresponding interaction interface transition link is generated.

[0091] When displaying an application badge, an application unread message is analyzed, and a database is generated to display the badge movement direction and the corresponding function, and a corresponding interaction interface transition link is generated.

[0092] Next, the direction in which the user drags the app badge is detected, a function to be displayed in the direction of the app badge movement is associated with the app badge, a profile picture list is displayed, and it is determined whether the user tapped a profile picture in the profile picture list. If the answer is YES, the transition link is used to transition to an application interaction interface.

[0093] It should be noted that, according to the method for displaying an unread message provided in the embodiment of the present application, the execution body may be an unread message display device or a control module for loading and executing the method for displaying an unread message in the unread message display device in the embodiment of the present application. The unread message display device provided in the embodiment of the present application is taken as an example to load and execute the method for displaying an unread message in the unread message display device in the embodiment of the present application.

[0094] FIG. 12 is a schematic diagram of an unread message display device provided in an embodiment of the present application. As shown in FIG. 12, the unread message display device includes: A display module 1201 configured to display an app badge when an unread message is received by the target application; a receiving module 1202 configured to receive a first input from a user into the app badge; a processing module 1203 configured to display an information window in response to the first input, the information window including an identifier of a target contact, the target contact being a contact corresponding to the unread message that satisfies a predetermined condition, the predetermined condition being related to an input direction of the first input; The receiving module 1202 is further configured to receive a second input of an identifier of the target contact of the user; The processing module 1203 is further configured to, in response to the second input, launch the target application and display a user interface of the target application, the user interface including message content corresponding to the identifier of the target contact.

[0095] Based on the above embodiment of the present application, the identifier of the target contact that satisfies the predetermined condition includes at least one of the identifier of a contact that has been pre-marked as important, a group identifier where the contact is a group, an identifier of a contact whose unread message contains a pre-defined code and a user identifier of the user, and an identifier of a contact that corresponds to all unread messages.

[0096] Based on the above embodiment of the present application, the display position of the information window is related to the input direction of the first input.

[0097] Based on the above embodiment of the present application, the first input includes a first sub-input and a second sub-input, the predetermined condition includes a first condition and a second condition, and the step of displaying an information window includes a step of displaying a first window and a second window, the first window includes an identifier of a first contact, the first contact is a contact corresponding to the unread message that satisfies the first condition, and the first condition is related to an input direction of the first sub-input, the second window includes an identifier of a second contact, the second contact is a contact corresponding to the unread message that satisfies the second condition, and the second condition is related to an input direction of the second sub-input; The receiving module 1202 is further configured to receive a third input of dragging the second window onto the first window; The processing module 1202 is further configured to, in response to the third input, display a sub-window in the first window, the sub-window including an identifier of a third contact, the third contact satisfying the first condition and the second condition.

[0098] Based on the above embodiment of the present application, the receiving module 1202 is further configured to receive a fourth input from a user to the sub-window; The processing module 1202 is further configured to, in response to the fourth input, display the subwindow in a first position; the step of displaying an information window in response to the first input when the input direction of the first input is directed to the first position, In response to the first input, displaying the subwindow.

[0099] Based on the above embodiment of the present application, the receiving module 1202 is further configured to receive a fifth input from a user into the information window; The processing module 1202 is further configured to, in response to the fifth input, display the information window at a second location; The step of displaying an information window in response to the first input comprises: The method includes displaying the information window in response to the first input when the input direction of the first input is directed to the second position.

[0100] Based on the above embodiment of the present application, the receiving module 1202 is further configured to receive a sixth input to an identifier of a fourth contact in the information window; The processing module 1202 is further configured, in response to the sixth input, to display a third window at a third location, the third window including an identifier of the fourth contact; The step of displaying an information window in response to the first input comprises: The method includes the step of displaying the third window in response to the first input when the input direction of the first input is directed to the third position.

[0101] Based on the above embodiment of the present application, the target application is in a target folder, and the display module 1201 is specifically configured to display an application badge and a folder badge when an unread message is received by the target application; The receiving module 1202 is further configured to receive a seventh input from the user to a folder badge of the target folder before receiving the first input from the user to the app badge; The processing module 1203 is further configured, in response to the seventh input, to display an app window, the app window including an app icon of the target application, the app badge being displayed on the app icon.

[0102] Based on the above embodiment of the present application, the receiving module 1202 is further configured to receive an eighth input from the user to the app badge; The processing module 1202 is further configured to remove the app badge in response to the eighth input, the eighth input being different in orientation from the first input.

[0103] Based on the above embodiment of the present application, the receiving module 1202 is further configured to receive a ninth input, in which the user drags the information window to an application icon of the target application; The processing module 1202 is further configured to, in response to the ninth input, remove the information window.

[0104] Based on the above embodiment of the present application, the step of deleting the information window in response to the ninth input includes: The method includes a step of, in response to the ninth input, deleting the information window when an overlapping area between the information window and the application icon reaches a predetermined threshold.

[0105] The unread message display device in the embodiment of the present application may be a device, or may be an element, integrated circuit, or chip in a terminal. The device may be a portable terminal or a non-portable terminal. For example, the portable electronic device may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the non-portable electronic device may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an automated teller machine, or a kiosk terminal, and the embodiments of the present application are not specifically limited.

[0106] The unread message display device in the embodiment of the present application may be a device having an operating system, which may be an Android operating system, an iOS operating system, or other possible operating systems, and is not specifically limited in the embodiment of the present application.

[0107] The unread message display device provided in the embodiment of the present application can implement each step implemented by the unread message display device in the above method embodiment, and detailed description thereof will be omitted here to avoid repetition.

[0108] Optionally, as shown in FIG. 13, an embodiment of the present application further provides an electronic device 1300, which includes a processor 1301, a memory 1302, and a program or command stored in the memory 1302 and executable by the processor 1301, and when the program or command is executed by the processor 1301, realizes each step of the embodiment of the method for displaying an unread message, and can achieve the same technical effect, and detailed description thereof will be omitted here to avoid repetition.

[0109] It should be noted that the electronic devices in the embodiments of the present application include the portable electronic devices and non-portable electronic devices mentioned above.

[0110] FIG. 14 is a hardware schematic diagram of an electronic device provided in yet another embodiment of the present application. As shown in FIG. 14, the electronic device is a first electronic device or a second electronic device, and the electronic device 1400 includes elements such as, but not limited to, a high-frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, and a processor 1410.

[0111] It is understood by those skilled in the art that the electronic device 1400 may further include a power source (e.g., a battery) for powering each element, and the power source may be logically connected to the processor 1410 through a power management system, and the power management system may further realize functions such as charge / discharge management and power consumption management. The electronic device configuration shown in FIG. 14 is not intended to limit the electronic device, and the electronic device may include more or less elements than those shown in the drawing, or may combine some elements, or may have a different element arrangement, and detailed description thereof will be omitted here.

[0112] The radio frequency unit 1401 is configured to receive a first input from a user to the app badge; The processor 1410 is configured to, in response to the first input, display an information window in a display area, the information window including contact identifiers of contacts and / or groups corresponding to the filtered unread messages.

[0113] It should be noted that in this embodiment, the above-mentioned electronic device 1400 can realize each step of the method embodiment in the embodiment of the present application and achieve the same beneficial effects, and detailed description thereof will be omitted here to avoid repetition.

[0114] It should be understood that in the embodiment of the present application, the input unit 1404 may include a graphics processing unit (GPU) 14041 and a microphone 14042 for processing image data of a static image or a video captured by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 1406 may include a display panel 14061, which may be arranged in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1407 includes a touch panel 14071 and other input devices 14072. The touch panel 14071 is also called a touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch controller. The other input devices 14072 may include, but are not limited to, a physical keyboard, a function button (e.g., a volume control button, a switch button, etc.), a trackball, a mouse, and a control lever, and detailed description thereof will be omitted here. The memory 1409 can be used to store software programs and various data, including but not limited to applications and an operating system. The processor 1410 can be integrated with an application processor that mainly processes the operating system, user interface, applications, etc., and a modem processor that mainly processes wireless communications. It can be understood that the modem processor does not have to be integrated with the processor 1410.

[0115] The embodiments of the present application further provide a readable storage medium storing a program or command, which, when executed by a processor, realizes each step of the embodiment of the method for displaying unread messages, and achieves the same technical effect. In order to avoid repetition, detailed description will be omitted here.

[0116] 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 computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0117] The embodiment of the present application further provides a chip comprising a processor and a communication interface, the communication interface and the processor are coupled to each other, and the processor executes a program or command to realize each step of the embodiment of the method for displaying an unread message, and the same technical effect can be achieved. In order to avoid repetition, detailed description will be omitted here.

[0118] It should be understood that the chips described in the embodiments of the present application may be referred to as system chips, chip systems, system-on-chips, or the like.

[0119] It is understood that the embodiments described in this disclosure can be realized by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware realization, the modules, units, sub-modules, sub-units, etc. can be realized in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), common processor, controller, microcontroller, microprocessor, other electronic unit, or combination thereof for performing the functions described herein.

[0120] It should be noted that in this specification, the terms "comprise", "consist of" or any other variants are intended to include a non-exclusive inclusion, whereby a process, method, article or apparatus that includes a set of elements includes not only those elements, but also other elements not expressly stated or inherent to such process, method, article or apparatus. Unless otherwise specified, an element limited by the phrase "comprises a" does not exclude the presence of other identical elements in the process, method, article or apparatus that includes the element. It should be noted that the scope of the method and apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, and may include performing functions in an essentially simultaneous manner or in the opposite order depending on the functions involved, for example, the described method can be performed in a different order than described, and various steps can be added, omitted or combined. It should be noted that features described with reference to some examples can be combined with other examples.

[0121] From the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be realized in the form of a combination of software and a necessary common hardware platform, and of course, they can be realized by hardware, but in many cases the former is a more preferred embodiment. Based on this view, the technical solution of the present application can be substantially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions that cause a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0122] Although the examples of the present application have been described above with reference to the drawings, the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative and not limiting. Based on the suggestions of the present application, many forms that a person skilled in the art can make without departing from the spirit of the present application and the scope of protection of the claims are all within the scope of protection of the present application.

Claims

1. displaying an app badge when an unread message is received by the target application; accepting a first input from a user into the app badge; displaying an information window in response to the first input, the information window including an identifier of a target contact, the target contact being a contact corresponding to the unread message that satisfies a predetermined condition, the predetermined condition being related to an input direction of the first input; accepting a second input from a user into an identifier of the target contact; in response to the second input, launching the target application and displaying a user interface of the target application, the user interface including message content corresponding to an identifier of the target contact; the first input includes a first sub-input and a second sub-input, the predetermined condition includes a first condition and a second condition, and the step of displaying an information window includes the steps of displaying a first window and a second window, the first window including an identifier of a first contact, the first contact being a contact corresponding to the unread message that satisfies a first condition, the first condition being associated with an input direction of the first sub-input, the second window including an identifier of a second contact, the second contact being a contact corresponding to the unread message that satisfies a second condition, and the second condition being associated with an input direction of the second sub-input; Furthermore, receiving a third input of dragging the second window onto the first window; and in response to the third input, displaying a sub-window in the first window, the sub-window including an identifier for a third contact, the third contact satisfying the first and second conditions.

2. 2. The method for displaying unread messages according to claim 1, wherein the identifiers of the target contacts that satisfy the predetermined condition include at least one of an identifier of a contact that has been previously marked as important, a group identifier where the contact is a group, an identifier of a contact that includes a predetermined code and a user identifier of the user in the unread message, and an identifier of a contact that corresponds to all unread messages.

3. The method of claim 1 , wherein a display position of the information window is related to an input direction of the first input.

4. accepting a fourth input from a user into the subwindow; and displaying the subwindow in a first position in response to the fourth input; the step of displaying an information window in response to the first input when the input direction of the first input is directed to the first position, 2. The method of claim 1, further comprising the step of displaying the subwindow in response to the first input.

5. accepting a fifth input from a user into the information window; and displaying the information window at a second location in response to the fifth input. The step of displaying an information window in response to the first input comprises:

2. The method of claim 1, further comprising the step of displaying the information window in response to the first input when the input direction of the first input is directed to the second position.

6. receiving a sixth input into an identifier of a fourth contact in the information window; and in response to the sixth input, displaying a third window at a third location, the third window including an identifier of the fourth contact; The step of displaying an information window in response to the first input comprises:

2. The method of claim 1, further comprising the step of displaying the third window in response to the first input when the input direction of the first input is directed to the third position.

7. When the target application is in a target folder and an unread message is received by the target application, displaying an app badge includes displaying an app badge and a folder badge when an unread message is received by the target application; prior to the step of receiving a first input to the user's app badge, accepting a seventh input from the user to a folder badge of the target folder; 2. The method of claim 1, further comprising: in response to the seventh input, displaying an app window, the app window including an app icon of the target application, the app badge being displayed on the app icon.

8. receiving an eighth input from a user into the app badge; The method of claim 1 , further comprising the step of: removing the app badge in response to the eighth input, the eighth input being different in orientation from the first input.

9. receiving a ninth input by the user dragging the information window onto an app icon of the target application; 2. The method of claim 1, further comprising the step of: in response to said ninth input, removing said information window.

10. The step of deleting the information window in response to the ninth input comprises: The method of claim 9 , further comprising the step of: in response to the ninth input, deleting the information window when an overlapping area between the information window and the application icon reaches a predetermined threshold.

11. a display module configured to display an app badge when an unread message is received by the target application; a receiving module configured to receive a first input from a user into the app badge; a processing module configured to display an information window in response to the first input, the information window including an identifier of a target contact, the target contact being a contact corresponding to the unread message that satisfies a predetermined condition, the predetermined condition being related to an input direction of the first input; The receiving module is further configured to receive a second input of an identifier of the target contact of the user; the processing module is further configured to, in response to the second input, launch the target application and display a user interface of the target application, the user interface including message content corresponding to the identifier of the target contact; the first input includes a first sub-input and a second sub-input, the predetermined condition includes a first condition and a second condition, the processing module is configured to display a first window and a second window, the first window includes an identifier of a first contact, the first contact being a contact corresponding to the unread message that satisfies a first condition, the first condition being related to an input direction of the first sub-input, the second window includes an identifier of a second contact, the second contact being a contact corresponding to the unread message that satisfies a second condition, and the second condition being related to an input direction of the second sub-input; The receiving module is further configured to receive a third input of dragging the second window onto the first window; The processing module is further configured to, in response to the third input, display a sub-window in the first window, the sub-window including an identifier of a third contact, the third contact satisfying the first condition and the second condition.

12. The display device for unread messages of claim 11, wherein the identifiers of the target contacts that satisfy the predetermined condition include at least one of an identifier of a contact that has been previously marked as important, a group identifier where the contact is a group, an identifier of a contact that includes a predetermined code and a user identifier of the user in the unread message, and an identifier of a contact that corresponds to all unread messages.

13. the receiving module is further configured to receive a fourth input from a user to the subwindow; the processing module is further configured to display the subwindow in a first position in response to the fourth input; When an input direction of the first input is directed to the first position, the processing module The apparatus of claim 11 , configured to display the sub-window in response to the first input.

14. An electronic device comprising a memory, a processor, and a program or command stored in the memory and executable by the processor, the electronic device realizing the steps of the method for displaying unread messages according to any one of claims 1 to 10 when the processor executes the program or command.

15. A readable storage medium storing a program or command, which, when executed by a processor, implements the steps of the method for displaying unread messages according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Application icon corner marker processing method and terminal

    CN106681587A

  • Method for viewing corner mark notification content, terminal and computer-readable storage medium

    CN108255402A

  • Message display method and electronic equipment

    CN110750188A

  • Message prompting method and terminal equipment

    CN110769118A

  • Information processing method and electronic equipment

    CN110855830A