CN112306317A - Unread message notification method and device and electronic equipment - Google Patents

Unread message notification method and device and electronic equipment Download PDF

Info

Publication number
CN112306317A
CN112306317A CN202010094998.1A CN202010094998A CN112306317A CN 112306317 A CN112306317 A CN 112306317A CN 202010094998 A CN202010094998 A CN 202010094998A CN 112306317 A CN112306317 A CN 112306317A
Authority
CN
China
Prior art keywords
icon
determining
message notification
unread message
target application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010094998.1A
Other languages
Chinese (zh)
Inventor
钱虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010094998.1A priority Critical patent/CN112306317A/en
Publication of CN112306317A publication Critical patent/CN112306317A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the disclosure discloses an unread message notification method, an unread message notification device and electronic equipment. One embodiment of the method comprises: in response to determining that the number of unread messages of the target application changes, determining whether to replace an icon corresponding to the target application; stopping displaying the icon in the first icon component and displaying the icon in the second icon component, wherein the first icon component is the icon component corresponding to the numerical value before the unread message number is changed, and the second icon component is the icon component corresponding to the numerical value after the unread message number is changed. Thus, a new unread message notification manner can be provided.

Description

Unread message notification method and device and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to an unread message notification method and apparatus, and an electronic device.
Background
With the development of the internet, users increasingly use terminal devices to browse various information. Various applications can be installed on the terminal equipment, the various applications can receive new messages, and the new messages which are not read by the user can be used as unread messages. For unread messages of an application, a user may not be able to view at any time; in this case, the application may add the new message received this time to the unread message based on the original unread message.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, an embodiment of the present disclosure provides an unread message notification method, which is applied to a terminal device, and the method includes: determining whether to replace the icon corresponding to the target application or not in response to determining that the number of unread messages of the target application changes; stopping displaying the icon in the first icon component and displaying the icon in the second icon component, wherein the first icon component is the icon component corresponding to the numerical value before the change of the number of the unread messages, and the second icon component is the icon component corresponding to the numerical value after the change of the number of the unread messages.
In some embodiments, the determining whether to replace the icon corresponding to the target application in response to determining that the number of unread messages of the target application changes includes: in response to the fact that the number of the unread messages of the target application is changed, determining whether to send the unread message notification according to a predetermined unread message notification type, wherein the unread message notification type is used for indicating whether to send the unread message notification; and responding to the determination of sending the unread message notification, and determining whether to replace the icon corresponding to the target application.
In some embodiments, the determining whether to replace the icon corresponding to the target application in response to determining to send the unread message notification includes: in response to determining to send an unread message notification to the user, determining an icon component corresponding to the changed numerical value from the icon component set according to correspondence information, wherein the pre-stored correspondence information is used for indicating a correspondence between the numerical value and the icon component; determining whether the determined icon component is consistent with the current icon component of the target application; and determining to replace the icon corresponding to the target application in response to the inconsistency.
In some embodiments, the correspondence information includes at least one piece of sub-relationship information; and the determining, in response to determining to send an unread message notification to the user, an icon component corresponding to the changed value from the set of icon components according to the correspondence information, includes: and responding to the determination of sending the unread message notification to the user, and determining the icon component corresponding to the changed numerical value from the icon component set according to the preset sub-relation information of the user.
In some embodiments, the correspondence information includes first sub-relationship information, wherein the first sub-relationship information includes at least one of: the value zero corresponds to a first type icon, and the first type icon is a basic icon; a value which is not greater than a preset threshold and is not equal to zero corresponds to a second type icon, the second type icon is formed by marking the value on a basic icon, and the preset threshold is greater than 1; and the numerical value larger than the preset threshold value corresponds to the third type icon, and the third type icon is formed by marking a preset first pattern on the basic icon.
In some embodiments, the correspondence information includes second sub-relationship information, wherein the second sub-relationship information includes at least one of: the numerical value zero corresponds to a fourth type icon, and the fourth type icon is a basic icon; the value larger than zero corresponds to the fifth type icon, and the fifth type icon is formed by marking a preset second pattern on the basic icon.
In a second aspect, an embodiment of the present disclosure provides an unread message notification apparatus, which is applied to a terminal device, and includes: the determining unit is used for responding to the change of the number of the unread messages of the target application and determining whether to replace the icon corresponding to the target application; and the display unit is used for stopping displaying the icons in the first icon assembly and displaying the icons in the second icon assembly, wherein the first icon assembly is the icon assembly corresponding to the numerical value before the change of the number of the unread messages, and the second icon assembly is the icon assembly corresponding to the numerical value after the change of the number of the unread messages.
In some embodiments, the determining unit is further configured to: in response to the fact that the number of the unread messages of the target application is changed, determining whether to send the unread message notification according to a predetermined unread message notification type, wherein the unread message notification type is used for indicating whether to send the unread message notification; and responding to the determination of sending the unread message notification, and determining whether to replace the icon corresponding to the target application.
In some embodiments, the determining unit is further configured to: in response to determining to send an unread message notification to the user, determining an icon component corresponding to the changed numerical value from the icon component set according to correspondence information, wherein the pre-stored correspondence information is used for indicating a correspondence between the numerical value and the icon component; determining whether the determined icon component is consistent with the current icon component of the target application; and determining to replace the icon corresponding to the target application in response to the inconsistency.
In some embodiments, the correspondence information includes at least one piece of sub-relationship information; and the determining unit is further configured to: and according to the sub-relation information predetermined by the user, determining the icon component corresponding to the changed numerical value from the icon component set.
In some embodiments, the correspondence information includes first sub-relationship information, wherein the first sub-relationship information includes at least one of: the value zero corresponds to a first type icon, and the first type icon is a basic icon; a value which is not greater than a preset threshold and is not equal to zero corresponds to a second type icon, the second type icon is formed by marking the value on a basic icon, and the preset threshold is greater than 1; the value larger than the preset threshold value corresponds to a third type icon, and the third type icon is formed by marking a preset first pattern on the basic icon.
In some embodiments, the correspondence information includes second sub-relationship information, wherein the second sub-relationship information includes at least one of: the numerical value zero corresponds to a fourth type icon, and the fourth type icon is a basic icon; the value larger than zero corresponds to the fifth type icon, and the fifth type icon is formed by marking a preset second pattern on the basic icon.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, configured to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the unread message notification method as described in the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the unread message notification method as described above in the first aspect.
According to the unread message notification method, the unread message notification device and the electronic equipment, whether the icon corresponding to the target application is replaced or not is determined by responding to the change of the number of the unread messages of the target application, and then the icon in the first icon component and the icon in the second icon component can be stopped and displayed by responding to the determination of replacing the icon corresponding to the target application; thus, a new message notification method can be provided.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow diagram for one embodiment of an unread message notification method, according to embodiments of the present disclosure;
fig. 2A and 2B are schematic diagrams of an application scenario of an unread message notification method according to an embodiment of the present disclosure;
FIG. 3 is an exemplary flowchart of one implementation of step 101 according to an embodiment of the present disclosure;
FIG. 4 is an exemplary flow chart for one implementation of step 302 according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating one embodiment of an unread message notification appliance, according to embodiments of the present disclosure;
FIG. 6 is an exemplary system architecture to which the unread message notification method of one embodiment of the present disclosure may be applied;
fig. 7 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Referring to fig. 1, a flow diagram of one embodiment of an unread message notification method according to the present disclosure is shown. The unread message notification method can be applied to terminal devices. As shown in fig. 1, the unread message notification method includes the following steps:
and step 101, in response to determining that the number of unread messages of the target application changes, determining whether to replace the icon corresponding to the target application.
In this embodiment, an execution subject (e.g., a terminal device) of the unread message notification method may determine whether to replace the icon of the target application in response to determining that the number of unread messages of the target application changes.
In this embodiment, the application may be any kind of application, and is not limited herein. For example, the application may be an instant messaging application, a video playing application, a mail application, and the like.
In this embodiment, the unread message of the application may also be referred to as a new message.
In this embodiment, the execution body or the application may maintain a parameter item of the number of unread messages. The parameter item of the number of unread messages may have a parameter value. The change of the number of unread messages may refer to a change of a parameter value of the parameter item of the number of unread messages.
Here, the reason why the number of unread messages changes may be various, and is not limited herein. As an example, receiving a new message, the number of unread messages may be changed; the user views a portion of the unread messages and may also change the number of unread messages. The parameter value of the unread message number can be changed from large to small or from small to large.
Here, whether to replace the icon corresponding to the target application may be determined in various ways, which is not limited herein. As an example, the icon corresponding to the replacement target application is determined each time, in other words, the icon corresponding to the changed numerical value of each unread message number is displayed.
In this embodiment, the icon corresponding to the target application may be displayed on the application list interface of the execution main body.
It should be noted that the icons and shortcuts of the target applications are different. The icon is determined by the component, and the execution main body calls the registered component and displays the icon in the component; the icon is a display form of the application program in the application list, and the application program can be deleted by deleting the icon. The shortcut of an application can be understood as a pointer to the application, deleting the shortcut without deleting the application.
And 102, stopping displaying the icons in the first icon assembly and displaying the icons in the second icon assembly.
In this embodiment, the execution body may stop displaying the icon in the first icon component and display the icon in the second icon component.
Here, the first icon component is an icon component corresponding to a pre-change value of the number of unread messages.
Here, the second icon component is an icon component corresponding to the changed value of the number of unread messages.
Optionally, the icons in the first icon assembly are stopped from being displayed, and the icons in the second assembly are displayed, and the execution sequence of the two small steps is optional and is not limited herein.
Here, the second icon component and the first icon component are used for description, the icon component after the unread message number is changed and the icon before the unread message number is changed can be more clearly expressed, and the limitation on the calling order of the icon components should not be understood.
Stopping display may be referred to herein as hiding; hiding the icon in the first icon component and displaying the icon in the second icon component may be understood as an alternative to the icon component of the target application.
It should be noted that, in the unread message notification method shown in this embodiment, whether to replace the icon corresponding to the target application is determined in response to determining that the number of unread messages of the target application changes, and then, in response to determining to replace the icon corresponding to the target application, the display of the icon in the first icon component may be stopped, and the display of the icon in the second icon component may be stopped; thus, a new message notification method can be provided.
It should be noted that the unread message notification method provided by this embodiment may provide an implementation method for notifying an unread message on an icon when an operating system does not support notification of an unread message on an icon. Therefore, the components displayed in the application list can be dynamically changed during the running process of the application, and after the components are changed (or replaced), the application icons displayed in the application list can be correspondingly changed (or replaced).
Please refer to fig. 2A and fig. 2B, which illustrate an application scenario of the embodiment corresponding to fig. 1.
In this application scenario:
first, sets of red-dotted numerical icons (which may be referred to as icons, for example) may be prepared. The client then registers multiple components in a manifest file (e.g., android manifest. xml), and then each component can add an icon, which we design as a desktop icon with different numbers, and by default, exposes components of the icon without numbers on the desktop and hides other components. For example, the component name without an icon is Panel group 0, the component name of an icon with the number 1 is Panel group 1, and the component name of an icon with the number 6 is Panel group 6. Default display set 0; a drawing group is understood here as an abbreviation of an icon component.
If the client wants to display the number 1, the currently displayed component diagram group 0 is hidden through the system API, and the component diagram group 1 is displayed while the client hides, so that the desktop completes one-time display from the icon without the number red dots to the icon with the number 1 red dots.
Similarly, by hiding the currently displayed component (panel group 0 or panel group 1) when the number 6 is displayed, and then displaying the component panel group 6 when hidden, the desktop completes one display from the icon without the number red dot (panel group 0) or the icon with the number 1 red dot (panel group 1) to the icon with the number 6 red dot. Referring to FIG. 2A, there is shown an icon 201 showing a red dot with the number 1; referring to fig. 2B, an icon 202 is shown with the number 6 red dot. It should be noted that the color of the red dot cannot be marked in the drawings, and the representation of the red dot herein is exemplary and should not be construed as limiting the icon style.
In some embodiments, the step 101 may be implemented by a process shown in fig. 3, where the process shown in fig. 3 may include:
step 301, in response to determining that the number of unread messages of the application changes, determining whether to send an unread message notification according to a predetermined unread message notification type.
Here, the unread message notification type is used to indicate whether to send an unread message notification.
As an example, the unread message notification types may include a first type and a second type, the first type may indicate that the unread message notification is allowed to be sent, and the second type may indicate that the unread message notification is not allowed to be sent. The unread message notification type may be user-determined, and it is understood that the default setting may also be understood as a user-determined manner.
Step 302, in response to determining to send the unread message notification, determining whether to replace the icon corresponding to the target application.
It should be noted that, the unread message notification type is set, and the user can determine the unread message notification type, and can set whether the unread message is notified according to the user requirement, so that whether the notification is performed can be realized according to the actual requirement of the user; and when the user does not need to be notified, sending an unread message notification to the user, so that the computing resources can be saved.
In some embodiments, the step 302 may be implemented by a process shown in fig. 4, where the process shown in fig. 4 may include:
step 401, in response to determining to send an unread message notification to the user, determining an icon component corresponding to the changed value from the icon component set according to the corresponding relationship information.
Here, the set of icon components may correspond to a target application. The execution body may store a set of icon components in advance. The icon components in the icon component set comprise icons. As an example, multiple icon components may be pre-registered (e.g., in a file) for a target application.
Here, the correspondence information stored in advance may be used to indicate the correspondence between the numerical value and the icon component. Here, since the parameter value of the unread message notification type is also one of the values, a value that is consistent with the changed value of the number of unread messages may be determined in the values of the correspondence information; then, the icon component corresponding to the changed value is determined as the icon component corresponding to the changed value of the number of unread messages, i.e., the second icon component.
At step 402, it is determined whether the determined icon component is consistent with the current icon component of the target application.
Here, the current icon component of the target application may be an icon component corresponding to the before-change value of the number of unread messages.
It can be understood that the current icon component corresponding to the target application can also be referred to as a first icon component; the determined icon component described above (i.e., the determined icon component in step 401) may also be referred to as a second icon component. Step 402 may also be expressed as determining whether the second icon component is consistent with the first icon component.
And step 403, in response to the inconsistency, determining an icon corresponding to the replacement target application.
And step 404, in response to the determination that the icons corresponding to the target applications are not replaced.
It should be noted that the flow shown in fig. 4 provides a way to determine whether an icon needs to be replaced in the case of determining to send an unread message notification. Therefore, when the number of unread messages is changed but icon components corresponding to the numerical value before the change and the numerical value after the change are consistent, the icon corresponding to the target application is not replaced, and therefore computing resources and display resources can be saved.
In some embodiments, the correspondence information may include at least one piece of sub-relationship information.
In some embodiments, the step 401 may include: and determining the icon assembly corresponding to the changed numerical value from the icon assembly set according to the sub-relation information predetermined by the user.
In some embodiments, the correspondence information may include first correspondence information. Here, the first correspondence information may include at least one of, but is not limited to: the value zero corresponds to a first type icon, and the first type icon is a basic icon; a value which is not greater than the preset threshold and not equal to zero corresponds to the second type icon, the second type icon is formed by marking the value on the basic icon, and the preset threshold is greater than 1; and the vertical direction larger than the preset threshold value corresponds to the third type icon, and the third type icon is formed by marking a preset first pattern on the basic icon.
As an example, the preset threshold may be 100. If the changed value is equal to 0, the corresponding icon is a basic icon; if the changed value is greater than or equal to 1 and less than or equal to 99, the corresponding icon may be a second type icon, and the second type icon may be an icon that identifies the changed value on the basis of the basic icon; if the changed value is greater than or equal to 100, the corresponding icon may be a third type icon, and the third type icon may be an icon on the basic icon, where the preset first pattern is identified, for example, the preset first pattern may be a "99 +" typeface.
In some embodiments, the correspondence information may include second sub-relationship information. Here, the second sub-relationship information may include at least one of, but is not limited to: the numerical value zero corresponds to a fourth type icon, and the fourth type icon is a basic icon; the vertical direction larger than zero corresponds to the fifth type icon, and the fifth type icon is formed by marking a preset second pattern on the basic icon.
As an example, if the changed value is zero, the corresponding icon may be a fourth type icon, and the fourth type icon may be a basic icon; if the changed value is greater than zero, the corresponding icon may be a fifth type icon, and the fifth type icon may be an icon that identifies a preset second pattern on the base icon, for example, the preset second pattern may be a small red dot.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an unread message notification apparatus, which corresponds to the method embodiment shown in fig. 1, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the unread message notification apparatus of the present embodiment includes: a determination unit 501 and a display unit 502; the determining unit 501 is configured to determine whether to replace an icon corresponding to a target application in response to determining that the number of unread messages of the target application changes; a display unit 502, configured to stop displaying icons in a first icon component and display icons in a second icon component, where the first icon component is an icon component corresponding to a value before the change of the number of the unread messages, and the second icon component is an icon component corresponding to a value after the change of the number of the unread messages.
In this embodiment, specific processing of the determining unit 501 and the displaying unit 502 of the unread message notification apparatus and technical effects thereof can refer to related descriptions of step 101 and step 102 in the corresponding embodiment of fig. 1, which are not described herein again.
In some embodiments, the determining unit is further configured to: in response to the fact that the number of the unread messages of the target application is changed, determining whether to send the unread message notification according to a predetermined unread message notification type, wherein the unread message notification type is used for indicating whether to send the unread message notification; and responding to the determination of sending the unread message notification, and determining whether to replace the icon corresponding to the target application.
In some embodiments, the determining unit is further configured to: in response to determining to send an unread message notification to the user, determining an icon component corresponding to the changed numerical value from the icon component set according to correspondence information, wherein the pre-stored correspondence information is used for indicating a correspondence between the numerical value and the icon component; determining whether the determined icon component is consistent with the current icon component of the target application; and determining to replace the icon corresponding to the target application in response to the inconsistency.
In some embodiments, the correspondence information includes at least one piece of sub-relationship information; and the determining unit is further configured to: and according to the sub-relation information predetermined by the user, determining the icon component corresponding to the changed numerical value from the icon component set.
In some embodiments, the correspondence information includes first sub-relationship information, wherein the first sub-relationship information includes at least one of: the value zero corresponds to a first type icon, and the first type icon is a basic icon; a value which is not greater than a preset threshold and is not equal to zero corresponds to a second type icon, the second type icon is formed by marking the value on a basic icon, and the preset threshold is greater than 1; and the numerical value larger than the preset threshold value corresponds to the third type icon, and the third type icon is formed by marking a preset first pattern on the basic icon.
In some embodiments, the correspondence information includes second sub-relationship information, wherein the second sub-relationship information includes at least one of: the numerical value zero corresponds to a fourth type icon, and the fourth type icon is a basic icon; the value larger than zero corresponds to the fifth type icon, and the fifth type icon is formed by marking a preset second pattern on the basic icon.
Referring to fig. 6, fig. 6 illustrates an exemplary system architecture to which the unread message notification method of one embodiment of the present disclosure may be applied.
As shown in fig. 6, the system architecture may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 601, 602, 603 may interact with the server 605 via the network 604 to receive or send messages or the like. The terminal devices 601, 602, 603 may have various client applications installed thereon, such as a web browser application, a search-type application, and a news-information-type application. The client application in the terminal device 601, 602, 603 may receive the instruction of the user, and complete the corresponding function according to the instruction of the user, for example, add the corresponding information in the information according to the instruction of the user.
The terminal devices 601, 602, 603 may be hardware or software. When the terminal devices 601, 602, 603 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal device 601, 602, 603 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 605 may be a server that provides various services, for example, to transmit new messages of target applications to the terminal devices 601, 602, 603.
It should be noted that the unread message notification method provided by the embodiment of the present disclosure may be executed by the terminal device, and accordingly, the unread message notification apparatus may be disposed in the terminal devices 601, 602, and 603.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 7, shown is a schematic diagram of an electronic device (e.g., a terminal device or a server of fig. 6) suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, the electronic device may include a processing device (e.g., central processing unit, graphics processor, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage device 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining whether to replace the icon corresponding to the target application or not in response to determining that the number of unread messages of the target application changes; stopping displaying the icon in the first icon component and displaying the icon in the second icon component, wherein the first icon component is the icon component corresponding to the numerical value before the change of the number of the unread messages, and the second icon component is the icon component corresponding to the numerical value after the change of the number of the unread messages.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a cell does not in some cases constitute a limitation on the cell itself, for example, a determination cell may also be described as a "cell that determines whether to replace an icon".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. An unread message notification method, comprising:
in response to determining that the number of unread messages of a target application changes, determining whether to replace an icon corresponding to the target application;
stopping displaying the icon in the first icon assembly and displaying the icon in the second icon assembly, wherein the first icon assembly is the icon assembly corresponding to the numerical value before the change of the number of the unread messages, and the second icon assembly is the icon assembly corresponding to the numerical value after the change of the number of the unread messages.
2. The method of claim 1, wherein determining whether to replace the icon corresponding to the target application in response to determining that the number of unread messages of the target application changes comprises:
in response to determining that the number of unread messages of the target application changes, determining whether to send an unread message notification according to a predetermined unread message notification type, wherein the unread message notification type is used for indicating whether to send the unread message notification;
and in response to determining to send an unread message notification, determining whether to replace the icon corresponding to the target application.
3. The method of claim 2, wherein determining whether to replace the icon corresponding to the target application in response to determining to send an unread message notification comprises:
in response to determining to send an unread message notification to a user, determining an icon component corresponding to the changed numerical value from the icon component set according to correspondence information, wherein the correspondence information is used for indicating a correspondence between the numerical value and the icon component;
determining whether the determined icon component is consistent with a current icon component of the target application;
and in response to determining that the icons correspond to the target application, determining to replace the icon corresponding to the target application.
4. The method according to claim 3, wherein the correspondence information includes at least one piece of sub-relationship information; and
the determining, in response to determining to send an unread message notification to the user, an icon component corresponding to the changed numerical value from the icon component set according to the correspondence information includes:
and responding to the determination of sending the unread message notification to the user, and determining the icon component corresponding to the changed numerical value from the icon component set according to the preset sub-relation information of the user.
5. The method according to claim 4, wherein the correspondence information comprises first sub-relationship information, wherein the first sub-relationship information comprises at least one of:
the value zero corresponds to a first type icon, and the first type icon is a basic icon;
a value which is not greater than a preset threshold and is not equal to zero corresponds to a second type icon, the second type icon is formed by marking the value on a basic icon, and the preset threshold is greater than 1;
and the numerical value larger than the preset threshold value corresponds to the third type icon, and the third type icon is formed by marking a preset first pattern on the basic icon.
6. The method according to claim 4, wherein the correspondence information comprises second sub-relationship information, wherein the second sub-relationship information comprises at least one of:
the numerical value zero corresponds to a fourth type icon, and the fourth type icon is a basic icon;
the value larger than zero corresponds to the fifth type icon, and the fifth type icon is formed by marking a preset second pattern on the basic icon.
7. An unread message notification apparatus, comprising:
the determining unit is used for responding to the fact that the number of the unread messages of the target application changes, and determining whether to replace the icon corresponding to the target application;
and the display unit is used for stopping displaying the icons in the first icon assembly and displaying the icons in the second icon assembly, wherein the first icon assembly is the icon assembly corresponding to the numerical value before the change of the number of the unread messages, and the second icon assembly is the icon assembly corresponding to the numerical value after the change of the number of the unread messages.
8. The apparatus of claim 7, wherein the determining unit is further configured to:
in response to determining that the number of unread messages of the target application changes, determining whether to send an unread message notification according to a predetermined unread message notification type, wherein the unread message notification type is used for indicating whether to send the unread message notification;
and in response to determining to send an unread message notification, determining whether to replace the icon corresponding to the target application.
9. The apparatus of claim 8, wherein the determining unit is further configured to:
in response to determining to send an unread message notification to a user, determining an icon component corresponding to the changed numerical value from the icon component set according to correspondence information, wherein the pre-stored correspondence information is used for indicating a correspondence between the numerical value and the icon component;
determining whether the determined icon component is consistent with a current icon component of the target application;
and in response to determining that the icons correspond to the target application, determining to replace the icon corresponding to the target application.
10. The apparatus according to claim 9, wherein the correspondence information includes at least one piece of sub-relationship information; and
the determining unit is further configured to: and determining the icon assembly corresponding to the changed numerical value from the icon assembly set according to the preset sub-relation information of the user.
11. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
12. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202010094998.1A 2020-02-14 2020-02-14 Unread message notification method and device and electronic equipment Pending CN112306317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010094998.1A CN112306317A (en) 2020-02-14 2020-02-14 Unread message notification method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010094998.1A CN112306317A (en) 2020-02-14 2020-02-14 Unread message notification method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112306317A true CN112306317A (en) 2021-02-02

Family

ID=74336790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010094998.1A Pending CN112306317A (en) 2020-02-14 2020-02-14 Unread message notification method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112306317A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022190136A1 (en) * 2021-03-12 2022-09-15 Sarath Kakumanu A digital dashboard notifying unread messages, date-wise display of messages and additional information in a digital messaging application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166717A (en) * 2014-08-18 2014-11-26 腾讯科技(深圳)有限公司 Unread message displaying method and device based on terminal operation system
CN106959794A (en) * 2017-02-13 2017-07-18 深圳市金立通信设备有限公司 A kind of message prompt method and device
CN107046595A (en) * 2016-12-22 2017-08-15 北京奇虎科技有限公司 Announcement information processing method, device and mobile terminal
CN108829306A (en) * 2018-05-31 2018-11-16 维沃移动通信有限公司 A kind of information processing method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166717A (en) * 2014-08-18 2014-11-26 腾讯科技(深圳)有限公司 Unread message displaying method and device based on terminal operation system
CN107046595A (en) * 2016-12-22 2017-08-15 北京奇虎科技有限公司 Announcement information processing method, device and mobile terminal
CN106959794A (en) * 2017-02-13 2017-07-18 深圳市金立通信设备有限公司 A kind of message prompt method and device
CN108829306A (en) * 2018-05-31 2018-11-16 维沃移动通信有限公司 A kind of information processing method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022190136A1 (en) * 2021-03-12 2022-09-15 Sarath Kakumanu A digital dashboard notifying unread messages, date-wise display of messages and additional information in a digital messaging application

Similar Documents

Publication Publication Date Title
CN110658961B (en) Information display method and device and electronic equipment
CN110633126B (en) Information display method and device and electronic equipment
CN111597467A (en) Display method and device and electronic equipment
CN110658960A (en) Message processing method and device and electronic equipment
CN113741756A (en) Information processing method, device, terminal and storage medium
CN114461313A (en) Information display method and device and electronic equipment
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN112256231A (en) Volume control method, device, terminal and storage medium
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN112306317A (en) Unread message notification method and device and electronic equipment
CN112307393A (en) Information issuing method and device and electronic equipment
CN113138707B (en) Interaction method, interaction device, electronic equipment and computer-readable storage medium
CN113518183B (en) Camera calling method and device and electronic equipment
CN115470432A (en) Page rendering method and device, electronic equipment and computer readable medium
CN114089891A (en) Display control method and device and electronic equipment
CN114417782A (en) Display method and device and electronic equipment
CN111314209B (en) Message sending method, device, terminal and storage medium
CN113778566A (en) Native application calling method and device, electronic equipment and computer readable medium
CN111241443A (en) Method and device for pushing information and electronic equipment
CN111290812A (en) Application control display method and device, terminal and storage medium
CN112256173A (en) Window display method and device of electronic equipment, terminal and storage medium
CN110708425A (en) Message display method and device and electronic equipment
CN112600978A (en) Information processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202