Method for checking messages and electronic device
By displaying the suspended angle marker on the user interface of the electronic device, users can quickly view the list of unread messages, solving the problem of cumbersome steps in the prior art to view unread messages, and achieving a more efficient message viewing experience.
Patent Information
- Application Number
- CN202111251965.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2041-10-26
AI Technical Summary
The method of viewing unread messages in the prior art is not convenient enough. Users need to operate multiple times to enter and exit multiple user interfaces to view the specific content of an unread message, resulting in cumbersome operation, low efficiency and low product availability.
The user interface of the electronic device displays the floating angle mark. The user can quickly view the list of unread messages of the first application by operating the suspended angle mark without cumbersome viewing operations. The floating angle mark can serve as a quick entry to view unread messages, reducing user operation steps and improving viewing efficiency.
Through the suspended angle mark, users can quickly access the list of unread messages, simplify the steps of viewing unread messages, improve user operation efficiency, and improve product availability.
Smart Images

Figure CN116033063B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to computer technology and fields, and in particular to a method for viewing messages and an electronic device. Background Art
[0002] With the development of mobile terminals such as smart phones, users' demand for viewing unread messages using mobile terminals has also increased. However, the current method of viewing unread messages is not convenient enough. For example, a mobile terminal can display the icon of application A on the desktop, and the number of unread messages received through application A is displayed on the icon. Users can slide up or down the icon to enter the unread message list interface of application A, and click on the unread messages in the unread message list interface to view the specific content of the unread messages. However, the list interface of these unread messages is often not displayed on the homepage of application A. Users often need to operate multiple times, enter and exit multiple user interfaces, to view the specific content of an unread message. Users usually do not remember the cumbersome operation steps, and there will be a process of opening, searching, and then closing and giving up. The way for users to view unread messages is cumbersome, inefficient, and the product usability is not high. Summary of the invention
[0003] The embodiments of the present application disclose a method for viewing messages and an electronic device, which can simplify the steps for a user to view unread messages, allowing the user to view unread messages more conveniently and improving the efficiency of the user in viewing unread messages.
[0004] In a first aspect, an embodiment of the present application provides a method for viewing messages, which is applied to an electronic device, and the method includes: displaying a first interface of a first application; displaying a floating badge on the first interface; receiving a first user operation acting on the floating badge; and in response to the first user operation, displaying a first list, the first list including one or more unread messages of the first application.
[0005] In some embodiments, the first interface is any user interface of the first application, such as a home page of the first application.
[0006] In some embodiments, the first user operation is a single-click operation.
[0007] In the above method, a floating badge can be displayed in the user interface of the first application, and the user can quickly view the unread messages of the first application by operating the floating badge without cumbersome viewing operations (for example, multiple user operations are required, entering and exiting multiple user interfaces, to view the content of an unread message). In other words, the floating badge can be used as a quick entry to view unread messages, reducing the user operations required to view unread messages and improving the efficiency of viewing unread messages.
[0008] In yet another optional solution of the first aspect, the one or more unread messages in the first list are arranged in order of receipt time from latest to earliest.
[0009] In the above method, the first list can be displayed in chronological order, for example, it can be arranged in order from late to early receiving time. This display method allows users to more conveniently obtain the messages they need and saves users time in selecting messages.
[0010] In yet another optional solution of the first aspect, the first list specifically includes at least one category, and the at least one category is obtained by classifying one or more of the unread messages in the first list.
[0011] In some embodiments, the first interface includes one or more areas, and any one of the at least one classification may correspond to at least one of the one or more areas.
[0012] In the above method, the unread messages in the first list may be classified, that is, they may be subdivided twice. Compared with the unclassified state, this allows users to more conveniently obtain the messages they need, saves users' time in selecting messages, and improves viewing efficiency.
[0013] In yet another optional solution of the first aspect, the displaying the first list includes: displaying the first list in a first display mode, wherein the unread messages in the first list in the first display mode are arranged in order from latest to earliest according to the reception time;
[0014] The method further comprises:
[0015] receiving a second user operation acting on the first list while displaying the first list;
[0016] In response to the second user operation, the first list is displayed in a second display mode, and the first list in the second display mode includes at least one category, and the at least one category is obtained by classifying one or more of the unread messages in the first list.
[0017] In some embodiments, the second user operation is a sliding operation, such as sliding to the left or sliding to the right.
[0018] In the above method, the user can switch the display mode of the first list by himself, which can meet the different needs of different users and the needs of the same user in different scenarios, allowing users to more conveniently obtain the messages they need and view them more efficiently.
[0019] In another optional manner of the first aspect, before displaying the floating badge on the first interface, the method further includes:
[0020] A first message of the first application is received, the first list including the first message.
[0021] In some embodiments, before receiving the first message of the first application, there are no unread messages of the first application, and the electronic device does not display the floating badge in the user interface of the first application. After receiving the first message of the first application, there are unread messages of the first application (i.e., the first message), and the electronic device displays the floating badge in the user interface of the first application.
[0022] In the above method, the floating badge can be understood as a quick entry to view unread messages. When there are no unread messages of the first application, the floating badge may not be displayed to avoid unnecessary elements being displayed on the user interface and affecting the user's perception.
[0023] In yet another optional solution of the first aspect, the method further includes: receiving a third user operation acting on a first category of the at least one category;
[0024] In response to the third user operation, one or more unread messages included in the first category are displayed.
[0025] In some embodiments, the third user operation is a single-click operation.
[0026] In the above method, users can select the messages they need to view based on the classified messages. Compared with selecting the messages they need from a large number of unclassified messages, the operation is convenient and time-saving.
[0027] In yet another optional manner of the first aspect, the method further includes: receiving a fourth user operation acting on a second message in the first list;
[0028] In response to the fourth user operation, a second interface of the first application is displayed, where the second interface is used to display content of the second message.
[0029] In some embodiments, the fourth user operation is a single-click operation.
[0030] In some embodiments, the second message is any message in the first list.
[0031] In the above method, the user can view the first list by operating the floating badge, and select the required second message from the first list for viewing, without the need for cumbersome viewing operations (for example, multiple user operations are required, entering and exiting multiple user interfaces, before the content of the second message can be viewed), which greatly improves the efficiency of viewing unread messages.
[0032] In another optional method of the first aspect, the method further comprises:
[0033] receiving a fifth user operation acting on the first list while displaying the first list;
[0034] In response to the fifth user operation, all the unread messages in the first list are deleted, and the number of the unread messages included in the floating badge is zero.
[0035] In some embodiments, the first list includes a delete all control, and the fifth user operation is a single-click operation on the delete all control.
[0036] In some embodiments, the state of the floating badge before the electronic device deletes all unread messages in the first list is different from the state of the floating badge before the electronic device deletes all unread messages in the first list, for example, the color is different.
[0037] In the above method, the user can delete all unread messages of the first application with one click, which is convenient and quick to operate.
[0038] In yet another optional solution of the first aspect, after deleting all unread messages in the first list, the method further includes:
[0039] receiving a sixth user operation acting on the floating badge;
[0040] In response to the sixth user operation, a history message list is displayed, the history message list including the unread message that has been deleted.
[0041] In some embodiments, the sixth user operation is a long press operation.
[0042] In some embodiments, the unread messages included in the historical message list may be arranged according to the time of deletion.
[0043] In the above method, after deleting all unread messages of the first application, the user can quickly retrieve the deleted unread messages through the floating badge, which is easy to operate.
[0044] In another optional solution of the first aspect, the method further comprises:
[0045] receiving a seventh user operation acting on the floating badge, wherein the seventh user operation is different from the first user operation;
[0046] In response to the seventh user operation, a third interface of the first application is displayed, where the third interface is used to display the content of the unread message with the latest receiving time in the first list.
[0047] In some embodiments, the seventh user operation is a double-click operation.
[0048] In the above method, the user can view the content of the unread message with the latest receiving time in the first list by directly operating the floating badge. This "one-step" operation can improve the efficiency of the user in viewing unread messages.
[0049] In another optional solution of the first aspect, the method further comprises:
[0050] receiving an eighth user operation acting on a first category of the at least one category;
[0051] In response to the eighth user operation, a fourth interface of the first application is displayed, where the fourth interface is used to display the content of the unread message with the latest receiving time in the first category.
[0052] In some embodiments, the eighth user operation is a double-click operation.
[0053] In the above method, even if the messages included in the category are not displayed, the user can view the content of the unread message with the latest receiving time in the first category by directly operating the category in the first list. This "one-step" operation can improve the efficiency of the user in viewing unread messages.
[0054] In another optional scheme of the first aspect, the first interface includes one or more areas, the first interface includes a first superscript, the first superscript corresponds to a first area among the one or more areas, and the number included in the first superscript is the number of unread messages corresponding to the first area.
[0055] In some embodiments, the first region is any one of the one or more regions.
[0056] In the above method, any area on the user interface of the first application can correspond to a badge, and the badge indicates the number of unread messages corresponding to the area, which is convenient for users to select the unread messages they want to view, which is more efficient.
[0057] In another optional solution of the first aspect, the method further comprises:
[0058] A third message of the first application is received, where the third message is the unread message corresponding to the first area, and the sum of the number of the third messages and the first number is equal to the second number, where the first number is the number included in the first superscript before the electronic device receives the third message, and the second number is the number included in the first superscript after the electronic device receives the third message;
[0059] The sum of the number of the third message and the third number is equal to the fourth number, the third number is the number included in the floating superscript before the electronic device receives the third message, and the fourth number is the number included in the floating superscript after the electronic device receives the third message.
[0060] In some embodiments, the first list includes at least one category, and the third message does not belong to the unread messages included in the at least one category. The method also includes: after the electronic device receives the third message, it displays a second category in the first list, the second category is a category other than the at least one category, and the third message is an unread message included in the second category.
[0061] In yet another optional solution of the first aspect, the method further comprises:
[0062] receiving a ninth user operation acting on a fourth message, wherein the fourth message is the unread message corresponding to the first area;
[0063] In response to the ninth user operation, displaying the content of the fourth message;
[0064] The difference between the fifth number and the number of the fourth message is equal to the sixth number, the fifth number is the number included in the first superscript before the electronic device displays the content of the fourth message, and the sixth number is the number included in the first superscript after the electronic device displays the content of the fourth message;
[0065] The difference between the seventh number and the number of the fourth message is equal to the eighth number, the seventh number is the number included in the floating superscript before the electronic device displays the content of the fourth message, and the eighth number is the number included in the floating superscript after the electronic device displays the content of the fourth message.
[0066] In some embodiments, the ninth user operation is a single-click operation.
[0067] In some embodiments, when the electronic device displays the content of the fourth message, the fourth message can be understood as being changed from an unread message to a read message.
[0068] In the above method, if the status of an unread message changes (for example, a new unread message is received, or an existing unread message becomes a read message), the number included in the superscript in the user interface of the first application may change accordingly, allowing the user to obtain the real-time status of the unread message in a timely manner through the superscript, which is more convenient.
[0069] In yet another optional solution of the first aspect, the method further comprises:
[0070] receiving a tenth user operation acting on an area of the first interface other than the first list;
[0071] In response to the tenth user operation, the first list is canceled from being displayed.
[0072] In some embodiments, the tenth user operation is a single-click operation.
[0073] In the above method, the user can collapse the first list with one click by operating the floating corner mark, which is convenient to operate.
[0074] In yet another optional solution of the first aspect, the method further comprises:
[0075] Receiving an eleventh user operation acting on the floating corner mark;
[0076] In response to the eleventh user operation, the badges other than the floating badge in the first interface are undisplayed.
[0077] In some embodiments, the eleventh user operation is a long press operation.
[0078] In the above method, the user can hide other corner marks in the first interface with one click by operating the floating corner mark, which is convenient to operate.
[0079] In yet another optional solution of the first aspect, displaying a floating badge on the first interface includes:
[0080] Displaying the floating badge at the first position of the first interface according to a third display mode;
[0081] The method further comprises:
[0082] Receiving a twelfth user operation acting on the floating corner mark;
[0083] In response to the twelfth user operation, the floating badge is displayed at a second position of the first interface in a fourth display manner, and the third display manner is different from the fourth display manner.
[0084] In some embodiments, the twelfth user operation is a drag operation.
[0085] In some embodiments, the second position may be an edge position of the first interface.
[0086] In some embodiments, the floating corner mark in the third display mode and the floating corner mark in the fourth display mode are different in at least one of color, shape, size, and transparency.
[0087] In the above method, the user can move the floating corner mark according to their own needs to hide the floating corner mark. For example, when the floating corner mark is moved to the edge position, the floating corner mark can become transparent to avoid the inconvenience caused to the user by displaying the floating corner mark when the floating corner mark is not needed.
[0088] In yet another optional solution of the first aspect, the first interface is the homepage of the first application.
[0089] In the above method, the electronic device can display the floating badge on the homepage of the first application, avoiding the user's need to perform multiple operations to reach a specific interface to view the floating badge, further reducing the steps for the user to view unread messages.
[0090] In yet another optional solution of the first aspect, the number included in the floating badge is the number of unread messages of the first application.
[0091] In the above method, the user can directly obtain the number of unread messages of the first application through the number included in the floating badge, which is more intuitive and the user can better understand the status of the unread messages.
[0092] In a second aspect, an embodiment of the present application provides an electronic device, including a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the method for viewing messages provided in the first aspect of the embodiment of the present application and any one of the implementation methods of the first aspect.
[0093] In a third aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method for viewing messages provided by the first aspect of the embodiment of the present application and any one of the implementation methods of the first aspect.
[0094] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes the method for viewing messages provided by the first aspect of the embodiment of the present application and any one of the implementation methods of the first aspect.
[0095] In a fifth aspect, an embodiment of the present application provides an electronic device, the electronic device comprising a method or device for executing any of the embodiments of the present application. The electronic device is, for example, a chip.
[0096] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] The following is an introduction to the drawings used in the embodiments of the present application.
[0098] Figure 1 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0099] Figure 2 is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;
[0100] Figure 3-Figure 19 It is a schematic diagram of some user interface embodiments provided by the embodiments of the present application;
[0101] Fig. 20 It is a flowchart of some methods for viewing messages provided in embodiments of the present application;
[0102] Fig.21 This is a schematic diagram of the software architecture of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0103] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. The terms used in the implementation methods of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0104] The following describes some possible concepts that may appear in the embodiments of the present application:
[0105] Floating badge: When an electronic device displays the user interface of an application (such as the home page), a floating badge can be displayed. For example, after the electronic device receives a message through the application, the floating badge is displayed. It can be understood that the floating badge is displayed when there are unread messages. The floating badge and the displayed user interface do not affect each other. Optionally, when the user interface changes to other interfaces of the application, the floating badge can remain unchanged. Optionally, when the user operates the floating badge, the displayed user interface can remain unchanged. The floating badge can be moved to any position on the display screen of the electronic device. The floating badge can be understood as an operable control suspended on the surface of the application. Optionally, the floating badge can include the number of unread messages received through the application. The operation control can be used to view the unread messages of the application. For example, the electronic device can receive a touch operation (such as a single-click operation) acting on the floating badge, and in response to the touch operation, a list of unread messages of the application is displayed. Not limited to this, the floating badge also supports functions such as one-click deletion of unread messages and recovery of deleted unread messages.
[0106] Component badge: The user interface of an application displayed by an electronic device may include at least one component badge, and each component badge may correspond to one of at least one area included in the user interface. The at least one area may correspond to different functions of the application, for example, and each component badge may indicate the number of unread messages in the corresponding area. In some embodiments, when the electronic device receives a message through the application, and the message corresponds to area A among the multiple areas, the corresponding component badge is displayed on area A, for example, the corresponding component badge is displayed in the upper right corner of area A, which can be understood as displaying the component badge on the corresponding area when there are unread messages in the area.
[0107] It can be understood that the floating corner mark and component corner mark are actually controls displayed on the electronic device. The control is in the form of a corner mark, but is not limited to this. The floating corner mark can also be a floating window, and the component corner mark can also be content displayed in the corresponding area. This application takes the corner mark as an example for explanation.
[0108] Figure 1 A schematic structural diagram of an electronic device 100 is shown.
[0109] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0110] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0111] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0112] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0113] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0114] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0115] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0116] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0117] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0118] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0119] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.
[0120] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0121] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0122] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0123] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0124] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0125] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0126] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0127] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0128] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0129] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0130] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0131] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0132] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0133] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0134] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0135] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0136] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0137] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0138] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0139] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0140] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.
[0141] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0142] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0143] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0144] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0145] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0146] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0147] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0148] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
[0149] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
[0150] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
[0151] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0152] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
[0153] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0154] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0155] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0156] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0157] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0158] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.
[0159] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0160] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0161] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0162] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0163] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. For example, the software system of the layered architecture may be an Android system or a Huawei Mobile Services (HMS) system. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
[0164] Figure 2 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.
[0165] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0166] The application layer can include a series of application packages.
[0167] like Figure 2 As shown, the application package may include weather, stock, settings, gallery, mail, shopping, news, clothes, supermarket, finance, video and other applications.
[0168] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0169] like Figure 2As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0170] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0171] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0172] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0173] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0174] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0175] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0176] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0177] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0178] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0179] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0180] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0181] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0182] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0183] A 2D graphics engine is a drawing engine for 2D drawings.
[0184] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0185] The following is an example of the workflow of the software and hardware of the electronic device 100, with reference to a scenario in which a user checks unread messages of a weather application.
[0186] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, timestamp of the touch operation and other information). The original input event is stored in the kernel layer. The application framework layer obtains the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch single-click operation, and the control corresponding to the single-click operation as an example, the music application calls the interface of the application framework layer, and then by calling the kernel layer, through the display screen 194, the user interface of the weather application that currently displays the floating badge displays a list of unread messages of the weather application.
[0187] Next, the application scenario involved in the embodiment of the present application and the user interface embodiment in this scenario are introduced.
[0188] See also Figure 3 , Figure 3 A schematic diagram exemplarily shows an embodiment of a user interface.
[0189] like Figure 3As shown in (a), the electronic device can display a user interface 3001. In some embodiments, the user interface 3001 can be a desktop. The user interface 3001 can include an icon of at least one application, such as a shopping application 301, and can also include icons of other types of applications. This application does not limit this. The electronic device can respond to a user operation on any icon (such as a single-click operation) to start the application corresponding to the icon and display the homepage of the application. Any application icon can display corresponding prompt information, such as a badge, and the prompt information can indicate the number of unread messages of the corresponding application, such as Figure 3 As shown in (a), the electronic device displays a corner mark 301A in the upper right corner of the shopping application 301, and the number indicated by the corner mark 301A is 17, which is used to indicate that the number of unread messages received by the electronic device through the shopping application is 17. Assuming that the user wants to view the unread messages of the shopping application, the electronic device can receive a user operation (such as sliding up or sliding down) on the shopping application 301, and in response to the user operation, display a preview interface of the unread messages of the shopping application, such as displaying Figure 3 The user interface 3002 is shown in (b).
[0190] like Figure 3 As shown in (b), the electronic device can display a user interface 3002, and the user interface 3002 can include a list 302 of unread messages of the shopping application. The unread messages in the list 302 are arranged from top to bottom in order from latest to earliest according to the reception time, and include message A, message B, message C, message D, message E, message F, etc. from top to bottom, and may also include other unread messages, which is not limited in the present application.
[0191] In some embodiments, the electronic device can receive a sliding operation (such as sliding up or sliding down) on the list 302, and in response to the sliding operation, display other unread messages in the list 302 that are not displayed on the current interface. For example, in response to a sliding operation from bottom to top, unread messages with an earlier receiving time (such as the difference between the receiving time and the current time is greater than 30 minutes) are displayed. For another example, in response to a sliding operation from top to bottom, unread messages with a later receiving time (such as the difference between the receiving time and the current time is less than 8 minutes) are displayed. Slide up or down on a preview window with multiple unread prompt messages, and in response to detecting the sliding action, multiple unread prompt messages will scroll up or down to the current interface for preview.
[0192] In some embodiments, the user can operate any unread message in the list 302 to view the specific content of the unread message. Figure 3In (b), a user operation (e.g., a click operation) is performed on message C. In response to the user operation, the specific content of message C is displayed, e.g. Figure 3 The user interface 3003 shown in (c).
[0193] In some embodiments, the user can Figure 3 3002 shown in (b) of the user interface 3002 to delete the unread message. For example, the electronic device may receive a user operation (such as sliding left or right) on the message F, and in response to the user operation, display a delete option, such as Figure 4 As shown in (d) of the delete option 303, the electronic device can delete the message F in response to a user operation (such as a single-click operation) acting on the delete option.
[0194] In some embodiments, the user Figure 3 After viewing message C in the user interface 3002 shown in (c), if you want to view other unread messages, you need to exit the shopping application and return to Figure 3 The user interface 3001 shown in (a) is shown in FIG. Figure 3 In the user interface 3001 shown in (a), each time the user views an unread message, the user needs to perform the process of viewing message C (including the operation of launching the shopping application). That is, after the user performs an operation to enter the application to view an unread message, if the user wants to view other unread messages, he needs to exit the application and return to the desktop to perform the operation again, which is cumbersome.
[0195] An embodiment of the present application provides a method for viewing messages, which is applied to an electronic device. The electronic device can display a floating badge when displaying the user interface of a first application. A user can quickly view unread messages by operating the floating badge, and optionally perform related operations on the unread messages. It can be understood that the unread messages of the first application are uniformly managed through the floating badge, so that the user can view the unread messages more conveniently and quickly, thereby improving the efficiency of the user in viewing messages.
[0196] The electronic devices involved in the embodiments of the present application can be user terminal devices such as mobile phones, tablet computers, handheld computers, personal digital assistants (PDAs), smart home devices such as smart TVs and smart cameras, wearable devices such as smart bracelets, smart watches, smart glasses, or other desktop, laptop, notebook computer, ultra-mobile personal computer (UMPC), netbook, smart screen and other devices.
[0197] See also Figure 4 , Figure 4This is a schematic diagram of another user interface embodiment provided in an embodiment of the present application.
[0198] like Figure 4 As shown in (a), the electronic device can display Figure 3 In some embodiments, the electronic device may receive a user operation (e.g., a click operation) on the shopping application 301 in the user interface 3001, and in response to the user operation, display the user interface of the shopping application, e.g., Figure 4 User interface 4001 shown in (b).
[0199] like Figure 4 As shown in (b), when the electronic device displays the user interface 4001, a floating badge 402 may be displayed. In some embodiments, the floating badge 402 includes the number 17, which is used to indicate that the number of unread messages received by the electronic device through the shopping application is 17. Optionally, and Figure 3 The user can quickly view unread messages by operating the floating badge 402, and perform various operations on the unread messages. The specific examples are as follows: Figure 4-Figure 19 As shown, no further details are given.
[0200] In some embodiments, user interface 4001 may include at least one area, such as imported goods area 401A, Sunshine Travel area 401B, Fresh Food area 401C, takeout area 401D, and classification area 401E. Any one of the at least one area may correspond to a component badge. For example, imported goods area 401A displays component badge 401A-1, which includes the number 9, indicating that there are 9 unread messages corresponding to imported goods area 401A. Takeout area 401D displays component badge 402D-1, which includes the number 8, indicating that there are 8 unread messages corresponding to takeout area 401D. The 17 unread messages indicated by floating badge 402 may include the sum of the number of unread messages indicated by component badge 401A-1 and component badge 401D-1.
[0201] In some embodiments, when there are no unread messages of the shopping application, the floating badge, and optionally the component badge, may not be displayed. That is, the floating badge, and optionally the component badge are displayed when there are unread messages. The specific examples are as follows: Figure 5 shown.
[0202] See also Figure 5 , Figure 5 A schematic diagram exemplarily shows yet another user interface embodiment.
[0203] like Figure 5As shown in (a), the electronic device can display Figure 4 In the user interface 4001 shown in (b), there are no unread messages of the shopping application at this time, for example, the electronic device has not received any unread messages of the shopping application, or although the electronic device has received a message of the shopping application, it has been viewed by the user. At this time, the electronic device may not display a floating badge on the user interface 4001. In some embodiments, the electronic device may receive a first message of the shopping application, and at this time, a floating badge may be displayed, for example Figure 5 User interface 4001 shown in (b).
[0204] like Figure 5 As shown in (b), when the electronic device receives the first message of the shopping application, the electronic device may display a floating badge 402 on the user interface 4001, and the number 1 indicated by the floating badge 402 may indicate that the number of unread messages of the shopping application is 1. In some embodiments, the electronic device may also display a number 1 in the component badge 401A-1 of the imported goods 401A area, which may indicate that the number of unread messages included in the imported goods area is 1.
[0205] In some embodiments, the floating badge can be understood as indicating the status of unread messages. When there are no unread messages for a certain application, the electronic device will not display the floating badge on the user interface of the application.
[0206] In some embodiments, the user can operate the floating badge to view the list of unread messages, as shown in the following example: Figure 6 shown.
[0207] See also Figure 6 , Figure 6 A schematic diagram exemplarily shows yet another user interface embodiment.
[0208] like Figure 6 As shown in (a), the electronic device can display Figure 4 (b) shows a user interface 4001, which includes a floating badge 402. The electronic device may receive a user operation (e.g., a single click operation) on the floating badge 402, and in response to the user operation, display a list of unread messages of the shopping application, e.g. Figure 6 The user interface 4001 shown in (b) is also shown in FIG. Figure 6 User interface 4001 shown in (c).
[0209] like Figure 6 As shown in (b), the user interface 4001 may include a list 601, and the unread messages in the list 601 may be arranged from top to bottom in the order of receiving time from latest to earliest, including message A, message B, message C, message D, message E, etc., and Figure 3Corresponding to the unread message preview interface shown in (b).
[0210] like Figure 6 As shown in (c), the user interface 4001 may include a list 602, and the list 602 may include at least one category, such as a takeout category 602A and an imported goods category 602B, etc., and any category may include one or more unread messages.
[0211] In some embodiments, any category may correspond to an area, for example, takeout category 602A corresponds to takeout area 401D, and imported goods category 602B corresponds to imported goods area 401A. The brackets of takeout category 602A include a number 8, indicating that the number of unread messages included in takeout category 602A is 8, which corresponds to the 8 indicated by subscript 401D-1, that is, the number of unread messages corresponding to takeout area 401D is consistent, and the brackets of imported goods category 602B include a number 9, indicating that the number of unread messages in the imported goods category is 9, and Figure 6 The number 9 indicated by the subscript 401A-1 of (c) corresponds to the number of unread messages corresponding to the imported goods area 401A. Optionally, the list 602 may further include a delete all button 602C, which is used to delete all unread messages in the first list.
[0212] In some embodiments, the user can operate the list of unread messages to switch the display mode of the list. The specific examples are as follows: Figure 7 shown.
[0213] See also Figure 7 , Figure 7 A schematic diagram exemplarily shows yet another user interface embodiment.
[0214] like Figure 7 As shown in (a), the electronic device can display Figure 6 The electronic device may receive a user operation (eg, sliding to the right) on the list 601, and in response to the user operation, display the list 601 as shown in (b). Figure 7 The list 602 shown in (b) (i.e. Figure 6 In other words, the display mode of the unread message list is switched from being arranged by receiving time to being divided by category. Without limitation, the display mode of the unread message list can also be switched from being arranged by category to being arranged by receiving time in response to a user operation (e.g., sliding left) on the list 602, for example, from being arranged by category to being arranged by receiving time. Figure 7 (b) becomes Figure 7 (a).
[0215] In some embodiments, the list of unread messages may include at least one category, and the user may operate any of the categories to view at least one unread message included in the category. The specific examples are as follows: Figure 8 shown.
[0216] See also Figure 8 , Figure 8 A schematic diagram exemplarily shows yet another user interface embodiment.
[0217] like Figure 8 As shown in (a), the electronic device displays Figure 6 The user interface 4001 shown in (c) includes a list 602. The electronic device can receive a user operation (such as a single-click operation) acting on any category in the list 602, and in response to the user operation, display a list of unread messages included in the category.
[0218] In some embodiments, the electronic device may display a list of unread messages included in the takeout category 602A in response to a user operation (eg, a single-click operation) on the takeout category 602A. For details, see Figure 8 In the list 801 shown in (b), the unread messages included in the takeaway category 602A in the list 801 include, for example, message A, message C, message D, message E, message F, etc.
[0219] In other embodiments, the electronic device may display a list of unread messages included in the imported goods category 602B in response to a user operation (eg, a single-click operation) on the imported goods category 602B. For details, see Figure 8 In the list 802 shown in (c), the unread messages included in the imported goods category 602B in the list 802 include, for example, message B, etc.
[0220] In some embodiments, the user can operate any unread message in the list of unread messages to view the specific content of the unread message. The specific examples are as follows: Fig. 9 shown.
[0221] See also Fig. 9 , Fig. 9 A schematic diagram exemplarily shows yet another user interface embodiment.
[0222] like Fig. 9 As shown in (a), the electronic device displays Figure 8 The user interface 4001 shown in (b) includes a list 801. The electronic device can receive a user operation (such as clicking on message A) acting on message A in the list 801, and in response to the user operation, display the following Fig. 9 The content interface 9001 of message A shown in (c).
[0223] like Fig. 9 As shown in (b), the electronic device displays Figure 6 The user interface 4001 shown in (b) includes a list 601. The electronic device receives a user operation (such as clicking on message A) acting on message A in the list 601, and in response to the user operation, displays a Fig. 9 The content interface 9001 of message A shown in (c).
[0224] like Fig. 9 As shown in (c), the electronic device can display a user interface 9001, and the user interface 9001 is used to display the content of message A. Fig. 9 (a) and Fig. 9 As shown in (b) of the floating badge 402, the number indicated by the floating badge 402 in the user interface 9001 is reduced by 1, which can indicate that the number of unread messages of the shopping application is reduced by 1.
[0225] In some embodiments, the list of unread messages may include a delete control, and the user may operate the delete control to delete all unread messages in the list of unread messages. In some embodiments, after all unread messages in the list are deleted, the user may operate the floating badge to restore the deleted messages. The specific examples are as follows: Fig.10 shown.
[0226] See also Fig.10 , Fig.10 A schematic diagram exemplarily shows yet another user interface.
[0227] See also Fig.10 (a), the electronic device can display Figure 6 The user interface 4001 shown in (b) of FIG. 4 includes a list 601. The electronic device receives a user operation (such as a single-click operation) acting on a delete all control 601A in the list 601. In response to the user operation, all unread messages in the list 601 are deleted, and a display is shown as follows: Fig.10 The user interface 4001 shown in (b) includes a floating badge 402.
[0228] In some embodiments, when the unread message list of the shopping application is deleted, the state of the floating badge 402 changes, for example, from Fig.10 The suspended corner mark 402 shown in (a) becomes Fig.10 The suspended corner mark 402 shown in (b) is compared with Fig.10 The suspended corner mark 402 shown in (a) is Fig.10The color of 402 shown in (b) is changed, but it is not limited to this. It can also be changed to other colors, or the shape can be changed (for example, from round to square), the transparency can be changed (for example, from transparent to semi-transparent), or other changes can be made, which are not limited in this application. Fig.10 The floating badge 402 shown in (b) includes a number 0, which is used to indicate that there are no unread messages of the shopping application.
[0229] In some embodiments, when the unread message list of the shopping application is deleted, the state of the component badge also changes. Fig.10 The number included in component badge 401A-1 and component badge 401D-1 in (b) is 0 (or it can be understood that the component badge is not displayed), which is used to indicate that there is no unread message corresponding to the area corresponding to the component badge.
[0230] In some embodiments, the electronic device receives a signal that acts on Fig.10 In response to a user operation (eg, a long press operation) of the floating badge 402 shown in (b), the following is displayed: Fig.10 The historical message list 1001 in (c) includes deleted unread messages. Optionally, the deleted unread messages can be classified according to the time of receipt, for example, including today's message 1001A, the past week's message 1001B, the past month's message 1001C, the past three months' message 1001D and more historical messages 1001E, among which the past month's message can be understood as the message whose difference between the receiving time and the current time is less than or equal to one month. The rest of the classification explanations are similar and will not be repeated here. Optionally, the deleted unread message list can also be classified according to the type of message, etc., which is not limited in this application. Even if the user deletes the unread message by mistake, the unread message can be retrieved through this function, which is convenient for the user.
[0231] In some embodiments, the user can operate the floating corner mark to view the specific content of the latest unread message received (the most recent unread message). The specific example is as follows: Fig.11 shown.
[0232] See also Fig.11 , Fig.11 A schematic diagram exemplarily shows yet another user interface embodiment.
[0233] See also Fig.11 (a), the electronic device can display Figure 6 The user interface 4001 shown in (b) of FIG. 4 includes a floating corner mark 402. The electronic device receives a user operation (such as double-clicking the floating corner mark) on the floating corner mark 402, and in response to the user operation, displays the following Fig.11The user interface 9001 shown in (b) is used to display the content of the latest received message (assuming it is message A) in the list 601. It can be understood as a floating badge as a window for message preview. Double-clicking the floating badge can directly jump to the content interface displayed by the latest unread message of the application, making it convenient for users to view messages. Fig.11 As shown in (a) of the floating badge 402, the number indicated by the floating badge 402 in the user interface 9001 is reduced by 1, which can indicate that the number of unread messages of the shopping application is reduced by 1.
[0234] In some embodiments, the user can operate any category in the list of unread messages to view the specific content of the latest unread message received in the category (the most recent unread message). The specific examples are as follows: Fig.12 shown.
[0235] See also Fig.12 , Fig.12 A schematic diagram exemplarily shows yet another user interface embodiment.
[0236] See also Fig.12 (a), the electronic device displays Figure 8 The user interface 4001 shown in (b) of FIG. 4 includes a list 801. Specifically, the list 801 includes a takeout category 602A. The electronic device receives a user operation (such as a double-click operation) acting on the takeout category 602A, and in response to the user operation, displays the following Fig.12 The user interface 9001 shown in (b) is used to display the content interface of the message (e.g., message A) received the latest in the takeaway category in list 801. Fig.12 As shown in (a) of the floating badge 402, the number indicated by the floating badge 402 in the user interface 9001 is reduced by 1, which can indicate that the number of unread messages of the shopping application is reduced by 1.
[0237] See also Fig.12 (c), the electronic device displays Figure 8 The user interface 4001 shown in (c) of FIG. 4 includes a list 802. Specifically, the list 802 includes an imported commodity category 602B. The electronic device receives a user operation (e.g., double-clicking the imported commodity category) on the imported commodity category 602B, and displays the following in response to the user operation: Fig.12 The user interface 12001 shown in (d) is used to display the content interface of the message (eg, message B) with the latest reception time in the imported goods category in the list 802. Fig.12As shown in (c) of the floating badge 402, the number indicated by the floating badge 402 in the user interface 12001 is reduced by 1, which can indicate that the number of unread messages of the shopping application is reduced by 1.
[0238] In some embodiments, when the electronic device receives a message from a shopping application, it can update the state of the floating badge, and optionally the state of the component badge. The specific examples are as follows: Figure 13-14 shown.
[0239] See also Figure 13-14 , Figure 13-14 A schematic diagram exemplarily shows yet another user interface embodiment.
[0240] like Fig.13 As shown in (a), the electronic device displays Figure 6 In the user interface 4001 shown in (b), when the electronic device receives a new message, the new message can be displayed in the first list, and the state of the floating badge and the state of the component badge can also change accordingly, for example, displaying Fig.13 User interface 4001 shown in (b).
[0241] like Fig.13 As shown in (b), when the electronic device receives a new message G from the shopping application, a user interface 4001 may be displayed. The user interface 4001 may include a list 1301. Fig.13 The list 601 shown in (a) of FIG. 1301 also includes a new message G received by the electronic device. Fig.13 The suspended superscript 402 shown in (a) indicates the number 17, Fig.13 The number indicated by the floating superscript 402 shown in (b) is 18, which is increased by 1, which can indicate that the electronic device has received a new unread message of the shopping application. At this time, the number of unread messages of the shopping application is 18.
[0242] In some embodiments, Fig.13 As shown in (b), when the electronic device receives a new message G from the shopping application, a user interface 4001 may be displayed. The user interface 4001 may include a list 1301. Fig.13 The list shown in (a)
[0243] 601, the list 1301 also includes a new message G received by the electronic device, and the message G corresponds to the takeaway area 401D.
[0244] Interface 4001 may include component corner mark 401A-1 for the imported goods area and component corner mark 401D-1 for the takeaway area.
[0245] At Fig.13The number 8 is indicated by the component subscript 401D-1 of the takeaway area shown in (a). Fig.13 (b) Component angle
[0246] The number indicated by the label 401D-1 is 9, which is increased by 1, which can indicate that the electronic device has received a new unread message of the shopping application.
[0247] The unread message is the unread message of the takeaway area 401D.
[0248] In some embodiments, Fig.14 As shown in (a), the electronic device displays Figure 8 In the user interface 4001 shown in (b), when the electronic device receives a new message and the new message corresponds to a category displayed in the list of unread messages, the following is displayed: Fig.14 User interface 4001 shown in (b).
[0249] like Fig.14 As shown in (b), when the electronic device receives a new message G from the shopping application, a user interface 4001 may be displayed. The user interface 4001 may include a list 1401. Fig.14 In the list 801 shown in (a), the takeaway category 602A in the list 1401 also includes a new message G. Fig.14 The suspended superscript 402 shown in (a) indicates the number 17, Fig.14 The number indicated by the floating superscript 402 shown in (b) is 18, which is increased by 1, which can indicate that the electronic device has received a new unread message of the shopping application. At this time, the number of unread messages of the shopping application is 18.
[0250] In some embodiments, Fig.14 As shown in (b), the takeaway category 602D corresponds to the takeaway area 401D. When the electronic device receives a new message G belonging to the takeaway category 602A, the user interface 4001 can be displayed. Fig.14 The takeaway category 602A shown in (a) includes unread messages, Fig.14 The takeaway category 602A shown in (b) also includes a new message G. Fig.14 The number 8 indicated in the brackets of the take-out category 602A shown in (a) is, Fig.14 The number indicated in the brackets of the takeaway category 602A shown in (b) is 9, which is increased by 1, which can indicate that the electronic device has received a new unread message from a shopping application, and the new unread message belongs to the takeaway category. Fig.14 The number 8 is indicated by the component subscript 401D-1 of the takeaway area 401D shown in (a). Fig.14The number indicated by the component subscript 401D-1 of the takeaway area 401D shown in (b) is 9, which is increased by 1, which can indicate that the electronic device has received a new unread message of the shopping application, and the new unread message corresponds to the takeaway area.
[0251] In other embodiments, Fig.14 As shown in (a), the electronic device displays Figure 8 In the user interface 4001 shown in (b), when the electronic device receives a new message and the new message corresponds to a category not displayed in the list of unread messages, the following is displayed: Fig.14 User interface 4001 shown in (c).
[0252] like Fig.14 As shown in (c), when the electronic device receives a new message G from the shopping application, a user interface 4001 may be displayed. The user interface 4001 may include a list 1402. Fig.14 In the list 801 shown in (a), the list 1402 has a new category 1401A, which includes message G. Fig.14 The suspended superscript 402 shown in (a) indicates the number 17, Fig.14 The number indicated by the floating corner mark 402 shown in (c) is 18, which is increased by 1, which can indicate that the electronic device has received a new unread message of the shopping application. At this time, the number of unread messages of the shopping application is 18. Fig.14 The list 801 shown in (a) does not include the fresh food category 1401A. Fig.14 The number indicated in the brackets of the Shengxianda category 1401A shown in (c) is 1, and the increase of 1 may indicate that the electronic device has received a new unread message of the shopping application, and the new unread message belongs to the Shengxianda category. Optionally, the Shengxianda category 1401A corresponds to the Shengxianda area 401C. Fig.14 The Freshness area 401C shown in (a) does not indicate the component badge 401C-1 (that is, there are no unread messages in the Freshness area). Fig.14 The number indicated by the component subscript 401C-1 of the Shengxianda area 401C shown in (c) is 1, which is increased by 1, which can indicate that the electronic device has received a new unread message of the shopping application, and the new unread message corresponds to the Shengxianda area 401C.
[0253] For example, assuming that one or more unread messages included in the list are arranged according to at least one category, when the application receives a message, the number of component corner marks in the area corresponding to the message increases, the number of floating corner marks increases, and the message is displayed accordingly in the list of floating corner marks. If the newly added message corresponds to an existing category (such as Fig.14(a) in the takeaway category 602A), the new message is displayed in the takeaway category in the list of floating corner marks. Optionally, if the newly added message corresponds to an area in the list of unread messages that is not displayed in the category (such as Fig.14 In the Fresh Food area 401C in (a), a new Fresh Food category 1401A is added to the list of floating badges, and the newly added message is displayed accordingly in the Fresh Food category. The floating badge serves as a management window for unread messages and can achieve self-update in the dynamic process of receiving messages.
[0254] In some embodiments, after the user views the unread messages, it can be understood that there are unread messages that become read messages. The electronic device can update the floating badge, and optionally the component badge. The specific examples are as follows: Figure 15-16 shown.
[0255] See also Figure 15-16 , Figure 15-16 A schematic diagram exemplarily shows yet another user interface embodiment.
[0256] like Fig.15 As shown in (a), the electronic device displays Figure 6 In the user interface 4001 shown in (b), the electronic device receives a user operation (such as a single click operation) acting on a message D in the user interface 4001, and in response to the user operation, displays the content of the message D, such as Fig.15 In the user interface 15001 shown in (b), the process can be understood as checking the content of the unread message, and at this time, the unread message (message D) can be understood as becoming a read message.
[0257] like Fig.15 As shown in (b), the electronic device may display a user interface 15001, and the user interface 15001 may include a list 1501. Fig.15 Compared to list 601 shown in (a), list 1501 does not include message D. Fig.15 The suspended superscript 402 shown in (a) indicates the number 17, Fig.15 The number indicated by the floating badge 402 shown in (b) is 16, which is reduced by 1, indicating that an unread message (message D) is changed to a read message, and the number of unread messages of the shopping application is 16.
[0258] In some embodiments, message D corresponds to takeaway area 401D. When message D changes from an unread message to a read message, component subscript 401D-1 corresponding to takeaway area 401D also changes. For example, the electronic device receives a user operation on a back button (e.g., clicking the back button) and returns to the user interface before viewing message D, e.g. Fig.15The user interface 4001 shown in (c) has a number 7 indicated by the component subscript 401D-1 in the user interface. Fig.15 The number indicated by the component subscript 401D-1 in the user interface 4001 shown in (a) is 8, which is reduced by 1. This may indicate that an unread message (message D) corresponding to the takeaway area 401D is changed to a read message, and the number of unread messages corresponding to the takeaway area 401D is 7.
[0259] like Fig.16 As shown in (a), the electronic device displays Figure 8 In the user interface 4001 shown in (b), the electronic device receives an operation (such as a single click operation) acting on the message D in the takeaway category 602A, and in response to the user operation, displays the following Fig.15 In the user interface 15001 shown in (b), the process can be understood as checking the content of unread messages, and at this time, the unread messages can be understood as becoming read messages.
[0260] like Fig.16 As shown in (b), message D belongs to the takeaway category 602A. When message D is changed from an unread message to a read message, the electronic device may display a user interface 15001. The user interface 15001 may include a list 1601. Fig.16 In the takeaway category 602A in the list 601 shown in (a), the takeaway category 602A in the list 1601 does not include the message D. Fig.16 The suspended superscript 402 shown in (a) indicates the number 17, Fig.16 The number indicated by the floating corner mark 402 shown in (b) is 16, which is reduced by 1, which can indicate that an unread message (message D) is changed to a read message, and the number of unread messages of the shopping application is 16. In some embodiments, compared Fig.16 The number 8 indicated in the brackets of the take-out category 602A shown in (a) is, Fig.16 The number indicated in the brackets of the takeout category 602A shown in (b) is 7, which is reduced by 1, which can indicate that the message D belonging to the takeout category 602A is changed from an unread message to a read message.
[0261] In some embodiments, the takeaway category 602A corresponds to the takeaway area 401D. When the message D changes from an unread message to a read message, the component subscript 401D-1 corresponding to the takeaway area 401D will also change. For example, the electronic device receives a user operation on the back button (e.g., clicking the back button) and returns to the user interface before viewing the message D, e.g. Fig.16 The user interface 4001 shown in (c) has a component subscript 401D-1 indicating a number 7, compared to Fig.16The number indicated by the superscript 401D-1 in the user interface 4001 shown in (a) is 8, which is reduced by 1. This may indicate that an unread message (message D) corresponding to the takeaway area 401D is changed to a read message, and the number of unread messages corresponding to the takeaway area 401D is 7.
[0262] In some embodiments, the user can collapse the list by clicking on an area other than the list in the user interface. The specific examples are as follows: Fig.17 shown.
[0263] See also Fig.17 , Fig.17 A schematic diagram of yet another user interface embodiment is exemplarily shown.
[0264] like Fig.17 As shown in (a), the electronic device can display Figure 6 The user interface 4001 shown in (b) includes a list 601. The electronic device receives a user operation (e.g., a single click operation) on an area other than the list 601 in the user interface 4001. In response to the user operation, the list 601 is canceled, for example, as shown in FIG. Fig.17 (b) shows the user interface 4001. Fig.17 The user interface 4001 shown in (a) is Fig.17 Although the user interface 4001 shown in (b) includes the floating badge 402, it does not include the list of unread messages 601. It can be understood that the user can collapse the list when the user does not need to view the list, which is convenient for user operation.
[0265] In some embodiments, the user can operate the floating badge to hide the component badge. The specific example is as follows: Fig.18 shown.
[0266] See also Fig.18 , Fig.18 A schematic diagram exemplarily shows yet another embodiment of a user interface.
[0267] like Fig.18 As shown in (a), the electronic device can display Figure 6 The user interface 4001 shown in (b) of FIG. 1 includes a floating corner mark 402. The electronic device receives a user operation (such as a long press operation) acting on the floating corner mark 402 and displays the following Fig.18 The user interface 4001 shown in (b) is compared to Fig.18 In (a), the component corner mark 401A-1 and the component corner mark 401D-1 in the user interface are hidden. It can be understood that the user can hide the component corner mark by operating the floating corner mark.
[0268] In some embodiments, the user can operate the floating corner mark to move the floating corner mark, and the specific examples are as follows: Fig.19 shown.
[0269] See also Fig.19 , Fig.19 A schematic diagram exemplarily shows yet another embodiment of a user interface.
[0270] In some embodiments, assuming that the floating corner mark is displayed in the center of the user interface by default, the display screen of the electronic device includes area A and area B (e.g., the edge area outside area A). The user can operate the floating corner mark (e.g., drag operation), and in response to the user operation, the floating corner mark can move from a first position to a second position in the user interface. If it moves within area A, the display mode of the floating corner mark will not change. If it moves to area B, the display mode of the floating corner mark will change. The specific change process is as follows: Fig.19 shown.
[0271] like Fig.19 As shown in (a), the electronic device can display Figure 6 In the user interface 4001 shown in (a), the floating corner mark 402 in the user interface is located at position 1 in area A. The electronic device receives a user operation (such as a drag operation) acting on the floating corner mark 402, and in response to the user operation, displays the following Fig.19 User interface 4001 shown in (b).
[0272] like Fig.19 As shown in (b), the electronic device can display a user interface 4001, and the floating corner mark 402 in the user interface 4001 is located at position 2 in area B. Fig.19 The suspended corner mark 402 shown in (a) is Fig.19 The color of the floating corner mark 402 shown in (b) changes, but is not limited to this. It can also be a shape change (for example, from a circle to a semicircle), a transparency change (for example, from transparent to translucent), or other changes, which are not limited in this application.
[0273] In some embodiments, compared to Fig.19 The suspended corner mark 402 shown in (a) is Fig.19 The floating corner mark 402 shown in (b) only displays part of the content. Fig.19 The shape of the suspended corner mark 402 shown in (a) is circular. Fig.19 The shape of the floating corner mark 402 shown in (b) is a semicircle, which can be understood as follows: when the user does not need to use the floating corner mark, Fig.19 The operations shown hide the floating badge for user convenience.
[0274] The user operations shown in the above embodiments are distinguished according to the pressing frequency, such as single-click, double-click, long press, etc., but are not limited to this. They can also be distinguished according to the pressing intensity, such as light press, heavy press, etc. This application does not limit the specific type of user operation.
[0275] Based on the above Figure 4-Figure 19 The embodiment shown is followed by an introduction to a method for viewing messages provided by the present application.
[0276] See also Fig. 20 , Fig. 20 This is a method for viewing messages provided by an embodiment of the present application. This method can be applied to Figure 1 The electronic device 100 shown. The method can be used for Figure 2 For the electronic device 100 shown in FIG. 1 , the method may include but is not limited to the following steps:
[0277] S2001: The electronic device displays a floating badge on the first interface.
[0278] Specifically, the first interface may be any interface of the first application, such as the home page. The floating badge may be displayed at any position on the display screen of the electronic device. For specific examples, see the above Figure 4-Figure 19 The floating corner mark shown.
[0279] In some embodiments, when a floating badge is displayed (for example, when executing S2001), the electronic device can receive a first user operation acting on the floating badge (for example, clicking the floating badge), and in response to the first user operation, display a list of unread messages, for example, executing S2002.
[0280] In some embodiments, before the floating badge is displayed on the first interface, the electronic device may receive a first message of the first application. For example, it can be understood that: before the floating badge is displayed, there are no unread messages of the first application, and the floating badge is displayed only when there are unread messages. Figure 5 shown.
[0281] S2002: The electronic device displays a first list.
[0282] In some embodiments, S2002 is an optional step.
[0283] Specifically, the first list is a list of unread messages of the first application, and may include one or more unread messages of the first application. It can be understood that the electronic device supports quick viewing of all unread messages of the first application, and the user operation is simple and convenient.
[0284] In some embodiments, one or more unread messages in the first list are arranged in order from the latest to the earliest time of receipt, which can be referred to as being displayed in a first display manner, for example. Figure 6 In some other embodiments, the one or more unread messages in the first list may also be arranged in order from earliest to latest according to the time of receipt. That is, the unread messages in the first list may be arranged according to the time of receipt, but the specific arrangement method is not limited.
[0285] In some other embodiments, the first list may include at least one category, and any category may include at least one unread message. The at least one category is obtained by classifying the unread messages included in the first list, which may be referred to as being displayed in the second display mode. For example, Figure 6 The first list 601 shown in (b).
[0286] In one possible implementation, the electronic device may switch the display mode of the first list in response to a second user operation (such as swiping left or right) on the first list. In some embodiments, the second user operation may act on any area of the first list, such as the upper right corner area of the first list. For example, when the electronic device displays the first list in the first display mode, the electronic device displays the first list in the second display mode in response to the second user operation (such as swiping left or swiping right), which can be understood as switching the first display mode to the second display mode. For another example, when the electronic device displays the first list in the second display mode, the electronic device displays the first list in the first display mode in response to the second user operation (such as swiping left or swiping right), which can be understood as switching the second display mode to the first display mode. Specific examples are as follows: Figure 7 shown.
[0287] In a possible implementation, when the electronic device displays the first list, it can receive a fifth user operation acting on the first list, and in response to the fifth user operation, delete all unread messages in the first list. In some embodiments, the fifth user operation is, for example, clicking a delete all control to delete the unread messages of the first application with one click, and the delete all control is, for example, Fig.10 In some embodiments, before the electronic device responds to the fifth user operation, the floating badge can be displayed in display mode A, and after the electronic device responds to the fifth user operation, the floating badge can be displayed in display mode B. Display mode A is different from display mode B, for example but not limited to at least one of the following: different color, different shape, and different transparency. Fig.10 In the example shown, Fig.10 The floating corner mark 402 in (a) is displayed according to display mode A. Fig.10 The floating corner mark 402 in (b) is displayed according to display mode B. The colors and transparency of the two are different. For details, please refer to the above Fig.10 (a) to Fig.10 It can be understood that the floating badge supports the quick deletion of all unread messages of the first application, and the "one-step" operation method can make it more convenient for users to use.
[0288] In some embodiments, after deleting all unread messages in the first list, the electronic device may receive a sixth user operation on the floating badge (e.g., long pressing the floating badge), and in response to the sixth user operation, display a list of deleted unread messages. It can be understood that the user can operate the floating badge to restore the deleted unread messages. For specific examples, see the above Fig.10 (b) to Fig.10 It can be understood that the floating corner mark supports quick viewing of deleted unread messages to prevent users from being unable to find the desired unread messages in case of accidental deletion.
[0289] In some embodiments, when the first list is displayed, the electronic device may receive a tenth user operation (e.g., a single-click operation) acting on an area other than the first list in the first interface, and cancel the display of the first list in response to the tenth user operation. The specific example is as above. Fig.17 shown.
[0290] In some embodiments, when displaying a floating badge, the electronic device receives a seventh user operation on the floating badge (eg, double-clicking the floating badge), and in response to the seventh user operation, displays the third interface of the first application, for example, executing S2003.
[0291] S2003: The electronic device displays the content of the unread message with the latest receiving time in the first list.
[0292] In some embodiments, S2003 is an optional step.
[0293] In some embodiments, the electronic device may display the third interface of the first application in response to the seventh user operation on the floating badge, the seventh user operation is different from the first user operation, and the third interface is used to display the content of the unread message with the latest receiving time in the first list. The seventh user operation is, for example, a double-click operation. The specific example is as above Fig.11 shown.
[0294] Not limited to the above example, the electronic device may also display the content of the earliest received unread message in the first list in response to the seventh user operation, for example, when the first list is arranged in order of receiving time from earliest to latest.
[0295] In some embodiments, when the electronic device displays the first list in the second display mode, it can receive a third user operation (such as a single-click operation) acting on a first category in at least one category, and in response to the third user operation, display one or more unread messages included in the first category, for example, executing step S2004.
[0296] S2004: The electronic device displays one or more unread messages included in the first category.
[0297] In some embodiments, S2004 is an optional step.
[0298] In some embodiments, the first list may include at least one category, and the first category may be any one of the at least one category. The electronic device may display the unread messages included in the first category in response to the third user operation acting on the first category, as shown in the specific example. Figure 8 shown.
[0299] In some embodiments, the first interface includes one or more areas, the first category corresponds to the first area in the first interface, the first area is at least one area in the first interface, and optionally, the unread messages included in the first category are the unread messages corresponding to the first area. Figure 6 In the user interface 4001 shown in (c), the list 602 includes at least one category, such as takeout category 602A, imported goods category 602B, etc., takeout category 602A corresponds to takeout area 401D, imported goods category 602B corresponds to imported goods area 401A, the number 8 indicated in the brackets of takeout category 602A is used to indicate the number of unread messages received by takeout area 401D, and the number 9 indicated in the brackets of imported goods category 602B is used to indicate the number of unread messages received by imported goods area 401A.
[0300] In some embodiments, when the electronic device displays the first list, it can receive a fourth user operation (eg, a single-click operation) on the second message in the first list, and in response to the fourth user operation, display the second interface of the first application, for example, executing S2005.
[0301] S2005: The electronic device displays the content interface of the second message.
[0302] In some embodiments, S2005 is an optional step.
[0303] Specifically, the second message is any unread message in the first list.
[0304] In some embodiments, when the first list is displayed in the first display mode, the electronic device can receive a fourth user operation (such as a single-click operation) acting on any unread message in the first list, and in response to the user operation, display the content of the unread message, such as the above example from Fig. 9 (b) to Fig. 9 (c) process.
[0305] In other embodiments, when the first list is displayed in the second display mode, the electronic device may receive a fourth user operation (e.g., a single-click operation) on any unread message in any category in the first list, and in response to the fourth user operation, display the content of the unread message, such as the above example from Fig. 9 (a) to Fig. 9 Optionally, when the electronic device displays the first list, it may first respond to a third user operation on any category (e.g., clicking on any category) to display the unread messages included in this category, and then respond to a fourth user operation on any unread message in this category to display the content of this unread message, for example, first executing S2004 and then executing S2005.
[0306] In some embodiments, when the first list is displayed in the second display mode, the electronic device can receive an eighth user operation acting on the first category in the first list (for example, double-clicking the first category), and in response to the eighth user operation, display the fourth interface of the first application, for example, executing S2006.
[0307] S2006: The electronic device displays the content of the unread message with the latest receiving time in the first category.
[0308] In some embodiments, S2006 is an optional step.
[0309] Specifically, the first category is any category in the first list.
[0310] Not limited to the above example, the electronic device may also display the content of the unread message with the earliest receiving time in the first category in response to the eighth user operation.
[0311] In one possible implementation, when the first list is displayed in the second display mode, the electronic device may, in response to an eighth user operation on the first category, display the content of the message with the latest reception time in the first category, where the eighth user operation is, for example, a double-click operation. In some embodiments, different categories include different unread messages, and the latest reception time of messages in different categories is also different. For specific examples, see the above Fig.12 .
[0312] In some embodiments, when a floating badge is displayed (for example, when executing S2001), the method further includes: the electronic device can receive an eleventh user operation acting on the floating badge (for example, long pressing the floating badge), and in response to the eleventh user operation, cancel the display of all badges except the floating badge in the first interface, for example, cancel the display of the component badge, and the specific example is as above Fig.18 shown.
[0313] In one possible implementation, when a floating corner mark is displayed at a first position of a first interface in a third display mode, the electronic device may receive a twelfth user operation acting on the floating corner mark, and in response to the twelfth user operation, the floating corner mark is displayed at a second position of the first interface in a fourth display mode, wherein the third display mode and the fourth display mode are different. In some embodiments, the twelfth user operation is, for example, an operation of dragging the floating corner mark, that is, the user can drag the floating corner mark from the first position to the second position. In some embodiments, the second position may be a position whose distance from the border of the display screen is less than or equal to a preset distance threshold, for example, Fig.19 In some other embodiments, the first position may be a position whose distance from the border of the display screen is less than or equal to a preset distance threshold, for example, Fig.19 In some embodiments, the third display mode and the fourth display mode may have different colors, shapes, or transparencies. For example, compared with the floating corner mark of the third display mode, the floating corner mark of the fifth display mode only displays part of it. Fig.19 shown.
[0314] In some embodiments, the first interface includes one or more areas, and the first interface also includes at least one component badge, for example, the first badge corresponds to the first area of the one or more areas, the first badge is any one of the at least one component badge, and optionally, the number included in the first badge is the number of unread messages corresponding to the first area. Figure 4 As shown in (b), the electronic device displays a user interface 4001, and the user interface 4001 includes multiple areas, such as an imported goods area 401A, a takeaway area 401D, etc., component superscript 401A-1 corresponds to the imported goods area 401A, and component superscript 401D-1 corresponds to the takeaway area 401D. The number 9 indicated by the component superscript 401A-1 of the imported goods area is used to indicate that there are 9 unread messages in the imported goods area, and the number 8 indicated by the component superscript 401D-1 of the takeaway area is used to indicate that there are 8 unread messages in the takeaway area.
[0315] In some embodiments, the number of floating corner marks is the sum of the numbers of all component corner marks in the first interface, for example Figure 4As shown in (b), the electronic device displays a user interface 4001, and the user interface 4001 includes a floating badge 402. The number 17 indicated by the floating badge 402 is used to indicate that the shopping application 301 has received 17 unread messages. The number indicated by the component badge 401A-1 is 9, which is used to indicate that the number of unread messages in the imported goods area 401A is 9. The number indicated by the component badge 401D-1 is 8, which is used to indicate that the number of unread messages in the imported goods area 401D is 8. The 17 unread messages indicated by the floating badge 402 may include the unread messages indicated by the component badge 401A-1 and the component badge 401D-1.
[0316] In some embodiments, when the electronic device receives the third message of the first application, the number included in the floating badge increases, that is, the number of unread messages of the indicated first application changes, assuming that it changes from the third number to the fourth number, and optionally the sum of the number of third messages and the third number is equal to the fourth number. In some embodiments, when the electronic device receives the third message of the first application (the third message is the unread message indicated by the component badge), the number included in the component badge also increases, assuming that it changes from the first number to the second number, and optionally the sum of the number of third messages and the first number is equal to the second number. Specific examples are as above Figure 13-14 shown.
[0317] In some embodiments, the electronic device receives a ninth user operation on a fourth message, and in response to the ninth user operation (e.g., clicking on the message), displays the content of the fourth message, which is any message in the first list. For example, it can be understood that the fourth message changes from an unread message to a read message. Optionally, when the fourth message changes from an unread message to a read message, the number included in the floating superscript decreases, that is, the number of unread messages of the indicated first application changes, assuming that it changes from the seventh number to the eighth number, and optionally the difference between the seventh number and the number of the fourth message is equal to the eighth number. In some embodiments, when displaying the content of the fourth message, the number included in the component superscript also decreases, assuming that it changes from the fifth number to the sixth number, and optionally the difference between the fifth number and the number of the fourth message is equal to the sixth number. Specific examples are as above Figure 15-16 shown.
[0318] In some embodiments, the electronic device may receive a user operation (e.g., swiping right or swiping left) on the fifth message in the first list, and in response to the user operation, display a delete control for deleting the fifth message. In some embodiments, the electronic device may delete the fifth message in response to the user operation (e.g., a single-click operation) on the delete control. Figure 3 (b) to Figure 3 The process of (d) is similar, except that list 302 is replaced by the first list (e.g. Figure 6List 601 shown in (b), or Figure 6 List 602 shown in (c)).
[0319] In some embodiments, the electronic device may receive a user operation on the sixth message in the first list, and in response to the user operation, mark the sixth message in the first list, and optionally, display the marked sixth message in a different manner from other messages in the first list, such as in a different color and font. This makes it easier for the user to quickly find the sixth message later, thereby improving the user experience.
[0320] In the above method, the user can quickly view any unread message through the floating badge, allowing the user to view unread messages more conveniently. In addition, the floating badge is displayed when the user interface of the first application is displayed. The user can operate the floating badge and the first list to view unread messages, which can be understood as being implemented within the application. Figure 3 In the solution shown, it is necessary to repeatedly open and exit the application in order to view different messages. This application can simplify user operations and save power consumption of electronic devices.
[0321] In some embodiments, the logical architecture of the application of the electronic device can be a tree structure, where the tree structure can be understood as a nested structure, and the root of the tree structure can be represented as a root node, which can include one or more subtrees (i.e., child nodes), such as a left subtree and a right subtree, etc., and can also include other subtrees, and any subtree can include one or more subtrees. For example, the software architecture of the electronic device is HMS. An example of the tree structure is as follows Fig.21 shown.
[0322] like Fig.21As shown, an application (Application) can be any application installed in an electronic device, and can include a root node (RootNode), and the RootNode can include multiple child nodes, such as a floating badge (FloatingBadge) and an interface (Stage). Optionally, a FloatingBadge can be used to manage unread messages of all user interfaces under the Application. Optionally, a Stage can be used to manage all user interfaces under the Application, such as including interface A (PageA) and interface B (PageB). In some embodiments, the user interface of any Application can include one or more areas, any area can correspond to a node (Node), and any area can correspond to a component badge (Badge). For example, PageA can include area A, and area A can correspond to Node2101A and Badge2101B. PageB can include area B and area C, and area B can correspond to Node2101C and Badge2101D, and area C can correspond to Node2101E and Badge2101F.
[0323] In some embodiments, the badges under the same application may have a parent-child relationship, and the parent badge may include information of all child badges, such as Fig.21 As shown, FloatingBadge is the parent badge, and the Badges in the child nodes included in Stage are all child badges.
[0324] For example, Fig.21 As shown, Application can be Figure 4 In (a) of the shopping application 301, RootNode is the root node of the shopping application 301, and FloatingBadge corresponds to Figure 4 The floating badge 402 in (b) may include the number of unread messages of the shopping application 301. The user may operate the floating badge 402 to manage (e.g., view, delete, etc.) the unread messages of the shopping application 301. For specific examples, see the above Figure 6-Figure 10 , Figure 12-Figure 17 Stage corresponds to the user interface of the shopping application 301, for example, Page B may correspond to Figure 4In the user interface 4001 shown in (b), Node2101C may correspond to the imported goods area 401A in the user interface 4001, Badge2101D may correspond to the component badge 401A-1 in the upper right corner of the imported goods area 401A, and the component badge 401A-1 may include the number of unread messages corresponding to the imported goods area 401A, Node2101E may correspond to the takeaway area 401D in the user interface 4001, Badge2101F may correspond to the component badge 401D-1 in the upper right corner of the takeaway area 401D, and the component badge 401D-1 may include the number of unread messages corresponding to the takeaway area 401D. The number of unread messages included in the floating badge 402 is the sum of the number of unread messages included in the component badge 401A-1 and the component badge 401D-1.
[0325] In some embodiments, when the status of the unread messages of the Application changes, the status of the FloatingBadge also changes. For specific examples, see the above Figure 4-Figure 17 Optionally, when the number of unread messages of the Application changes, the number of unread messages included in the FloatingBadge also changes. For a specific example, see the above Figure 13-14 .
[0326] In some embodiments, when the status of the unread messages of the Application changes, the status of the Bage corresponding to the Node also changes. For specific examples, see the above Figure 4-Figure 17 Optionally, when the number of unread messages of Application changes, the number of unread messages included in Bag also changes. For a specific example, see the above Figure 13-14 .
[0327] In some embodiments, when the electronic device receives a message from Application, it can determine the Node corresponding to the message, and then call the adding interface corresponding to the Node to add a new unread message. The specific example is as follows:
[0328]
[0329] Taking PageB as an example, the above Title() may correspond to Node2101C (e.g. Figure 4 The imported goods area 401A in the user interface 4001 shown in (b) of FIG. 1 ), the above “.badge(id:title)” may be referred to as a badge with an identity document (id) as title, and the badge may be a component badge corresponding to Title(), and the above Detail() may correspond to Node2101E (e.g. Figure 4 In the takeaway area 401D in the user interface 4001 shown in (b), the above-mentioned ".badge(id: detail)" can be called a badge with the id of detail, and the badge can be the component badge corresponding to Detail().
[0330] The above addMessage() can be a function for receiving new messages. Optionally, when a new message corresponding to Title() is received, addMessage(title, data.summary, data) can be executed, that is, calling the add interface corresponding to Title() to add a new unread message. At this time, the number of unread messages indicated by the badge corresponding to Title() will increase by one. Optionally, FloatingBadge is determined based on the badge with id title and the badge with id detail. When the number of unread messages indicated by the badge corresponding to Title() increases by one, the number of unread messages indicated by FloatingBadge will also increase by one.
[0331] Optionally, assuming that there are no unread messages for the current application before executing addMessage(title, data.summary, data), when executing addMessage(title, data.summary, data), the electronic device can automatically generate a component badge corresponding to Title(), that is, a badge with id title, and the electronic device can automatically generate a FloatingBadge for global message management.
[0332] A person skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by a computer program or hardware related to the computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned method embodiments. The aforementioned storage medium includes: a read-only memory (ROM) or a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store computer program codes.
Claims
1. A method for viewing a message, characterized in that: Applied to electronic equipment, the method comprises: Displaying a first interface of a first application, the first interface including one or more areas and one or more component badges, a first badge among the one or more component badges corresponding to a first area among the one or more areas, and a number included in the first badge being the number of unread messages corresponding to the first area; Displaying a floating badge on the first interface, the number included in the floating badge is the number of unread messages of the first application, and the number included in the floating badge is the sum of the numbers included in the badges of all the components in the first interface; Receiving a first user operation acting on the floating badge; In response to the first user operation, a first list is displayed, wherein the first list includes one or more unread messages of the first application.
2. The method according to claim 1, characterized in that The one or more unread messages in the first list are arranged in order of receiving time from latest to earliest.
3. The method according to claim 1, characterized in that The first list specifically includes at least one category, and the at least one category is obtained by classifying one or more of the unread messages in the first list.
4. The method according to claim 1, characterized in that The displaying of the first list comprises: displaying the first list in a first display mode, wherein the unread messages in the first list in the first display mode are arranged in order of receiving time from latest to earliest; The method further comprises: receiving a second user operation acting on the first list while displaying the first list; In response to the second user operation, the first list is displayed in a second display mode, and the first list in the second display mode includes at least one category, and the at least one category is obtained by classifying one or more of the unread messages in the first list.
5. The method according to claim 1, before displaying the floating badge on the first interface, the method further comprises: A first message of the first application is received, the first list including the first message.
6. The method according to claim 3, characterized in that The method further comprises: receiving a third user operation acting on a first category of the at least one category; In response to the third user operation, one or more unread messages included in the first category are displayed.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: receiving a fourth user operation acting on a second message in the first list; In response to the fourth user operation, a second interface of the first application is displayed, where the second interface is used to display content of the second message.
8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: receiving a fifth user operation acting on the first list while displaying the first list; In response to the fifth user operation, all the unread messages in the first list are deleted, and the number of the unread messages included in the floating badge is zero.
9. The method according to claim 8, characterized in that After deleting all the unread messages in the first list, the method further includes: receiving a sixth user operation acting on the floating badge; In response to the sixth user operation, a history message list is displayed, the history message list including the unread message that has been deleted.
10. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: receiving a seventh user operation acting on the floating badge, wherein the seventh user operation is different from the first user operation; In response to the seventh user operation, a third interface of the first application is displayed, where the third interface is used to display the content of the unread message with the latest receiving time in the first list.
11. The method according to claim 3 or 6, characterized in that: The method further comprises: receiving an eighth user operation acting on a first category of the at least one category; In response to the eighth user operation, a fourth interface of the first application is displayed, where the fourth interface is used to display the content of the unread message with the latest receiving time in the first category.
12. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: A third message of the first application is received, where the third message is the unread message corresponding to the first area, and the sum of the number of the third messages and the first number is equal to the second number, where the first number is the number included in the first superscript before the electronic device receives the third message, and the second number is the number included in the first superscript after the electronic device receives the third message; The sum of the number of the third message and the third number is equal to the fourth number, the third number is the number included in the floating superscript before the electronic device receives the third message, and the fourth number is the number included in the floating superscript after the electronic device receives the third message.
13. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: receiving a ninth user operation acting on a fourth message, wherein the fourth message is the unread message corresponding to the first area; In response to the ninth user operation, displaying the content of the fourth message; The difference between the fifth number and the number of the fourth message is equal to the sixth number, the fifth number is the number included in the first superscript before the electronic device displays the content of the fourth message, and the sixth number is the number included in the first superscript after the electronic device displays the content of the fourth message; The difference between the seventh number and the number of the fourth message is equal to the eighth number, the seventh number is the number included in the floating superscript before the electronic device displays the content of the fourth message, and the eighth number is the number included in the floating superscript after the electronic device displays the content of the fourth message.
14. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: receiving a tenth user operation acting on an area of the first interface other than the first list; In response to the tenth user operation, the first list is canceled from being displayed.
15. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Receiving an eleventh user operation acting on the floating corner mark; In response to the eleventh user operation, the badges other than the floating badge in the first interface are undisplayed.
16. The method according to any one of claims 1 to 6, characterized in that: The displaying of the floating badge on the first interface includes: Displaying the floating badge at the first position of the first interface according to a third display mode; The method further comprises: Receiving a twelfth user operation acting on the floating corner mark; In response to the twelfth user operation, the floating badge is displayed at a second position of the first interface in a fourth display manner, and the third display manner is different from the fourth display manner.
17. The method according to any one of claims 1 to 6, characterized in that: The first interface is the home page of the first application.
18. An electronic device, characterized in that: The method comprises a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the method according to any one of claims 1 to 17.
19. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 17 is implemented.
Citation Information
Patent Citations
Message display method and electronic equipment
CN110750188A