Notification message display method and device, wearable device, and storage medium
Patent Information
- Application Number
- CN202110395275.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-13
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2041-04-13
AI Technical Summary
其中,接收并显示通知消息是可穿戴设备常见的使用场景,但是,目前可穿戴设备显示通知消息的方式固定,用户的使用体验不佳
Smart Images

Figure CN115202775B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic device technology, and more specifically, to a method, apparatus, wearable device, and storage medium for displaying notification messages. Background Technology
[0002] With the development of science and technology, wearable devices are becoming increasingly widespread and feature-rich, becoming an essential part of people's daily lives. Receiving and displaying notification messages is a common use case for wearable devices; however, the current method of displaying notification messages is fixed, resulting in a poor user experience. Summary of the Invention
[0003] In view of the above problems, this application proposes a method, apparatus, wearable device and storage medium for displaying notification messages to solve the above problems.
[0004] In a first aspect, embodiments of this application provide a method for displaying notification messages, applied to a wearable device. The method includes: if a notification message is received while the wearable device is displaying an application interface, displaying the notification message in a first display mode; if a notification message is received while the wearable device is displaying a watch face interface, displaying the notification message in a second display mode, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode.
[0005] Secondly, embodiments of this application provide a notification message display device applied to a wearable device. The device includes: a first display module, configured to display the notification message in a first display mode if a notification message is received while the wearable device is displaying an application interface; and a second display module, configured to display the notification message in a second display mode if a notification message is received while the wearable device is displaying a watch face interface, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode.
[0006] Thirdly, embodiments of this application provide an electronic device, including a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor performs the above-described method.
[0007] Fourthly, embodiments of this application provide a computer-readable storage medium storing program code, which can be invoked by a processor to execute the above-described method.
[0008] The notification message display method, apparatus, wearable device, and storage medium provided in this application embodiment display the notification message in a first display mode if the notification message is received when the wearable device is displaying an application interface, and in a second display mode if the notification message is received when the wearable device is displaying a watch face interface. The display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode. This improves the diversity of notification message display and reduces user interference by displaying the notification message in different ways depending on the displayed interface when the wearable device receives the notification message. Furthermore, the display area of the notification message is smaller when the displayed interface is an application interface than when the displayed interface is a watch face interface. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 A flowchart illustrating a method for displaying notification messages according to an embodiment of this application is shown.
[0011] Figure 2 A schematic diagram illustrating the usage state of the wearable device provided in the embodiments of this application is shown;
[0012] Figure 3 This illustration shows a first interface diagram of a wearable device provided in an embodiment of this application;
[0013] Figure 4 A schematic diagram of a second interface of a wearable device provided in an embodiment of this application is shown;
[0014] Figure 5 A flowchart illustrating a method for displaying notification messages according to yet another embodiment of this application is shown;
[0015] Figure 6 This paper illustrates a third interface diagram of a wearable device provided in an embodiment of this application.
[0016] Figure 7 This illustration shows a schematic diagram of a first type of interface change for a wearable device provided in an embodiment of this application;
[0017] Figure 8 This paper illustrates a fourth interface diagram of a wearable device provided in an embodiment of this application.
[0018] Figure 9 This illustration shows a second interface variation diagram of a wearable device provided in an embodiment of this application;
[0019] Figure 10 A flowchart illustrating a method for displaying notification messages according to another embodiment of this application is shown;
[0020] Figure 11 This illustration shows a first interactive schematic diagram of a wearable device provided in an embodiment of this application;
[0021] Figure 12 This illustration shows a second interactive schematic diagram of a wearable device provided in an embodiment of this application;
[0022] Figure 13 A flowchart illustrating a method for displaying notification messages according to another embodiment of this application is shown;
[0023] Figure 14 This illustration shows a third interactive schematic diagram of the wearable device provided in an embodiment of this application;
[0024] Figure 15 This paper illustrates a fifth interface diagram of a wearable device provided in an embodiment of this application.
[0025] Figure 16 This illustration shows a fourth interaction diagram of the wearable device provided in an embodiment of this application;
[0026] Figure 17 This illustration shows a fifth type of interaction diagram of the wearable device provided in an embodiment of this application;
[0027] Figure 18 A flowchart illustrating a method for displaying notification messages according to yet another embodiment of this application is shown;
[0028] Figure 19 A schematic diagram of a sixth interface of a wearable device provided in an embodiment of this application is shown;
[0029] Figure 20 This illustration shows a sixth type of interaction diagram of the wearable device provided in an embodiment of this application;
[0030] Figure 21 This application shows Figure 18 The flowchart of step S510 of the method for displaying the notification message is shown.
[0031] Figure 22 A flowchart illustrating a method for displaying notification messages according to another embodiment of this application is shown;
[0032] Figure 23 A schematic diagram of the wearable device provided in an embodiment of this application in a first posture is shown;
[0033] Figure 24 A schematic diagram of the wearable device provided in an embodiment of this application in a second posture is shown;
[0034] Figure 25 A block diagram of a notification message display device provided in an embodiment of this application is shown;
[0035] Figure 26 A block diagram of an electronic device for performing a method for displaying notification messages according to an embodiment of this application is shown;
[0036] Figure 27 A storage unit for storing or carrying program code that implements a method for displaying notification messages according to an embodiment of this application is shown. Detailed Implementation
[0037] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0038] Currently, wearable devices display notification messages in a fixed way. Specifically, when a wearable device receives a notification message, it directly pops up a pop-up displaying the message's details. This method of displaying notification messages completely covers the interface currently displayed on the wearable device, which has at least the following problems: First, it interrupts the user's original operation and is highly disruptive; second, when the wearable device receives multiple notification messages simultaneously, only one notification message can be displayed, and the others cannot be shown; third, when users subconsciously delete or hide notification messages, they are likely to miss them. Therefore, this method of displaying notification messages results in a poor user experience.
[0039] To address the aforementioned technical problems, the inventors, through long-term research, discovered and proposed the notification message display method, apparatus, wearable device, and storage medium provided in the embodiments of this application. By displaying the notification message in different ways depending on the displayed interface when the wearable device receives it, and by making the display area of the notification message smaller when the displayed interface is an application interface than when the displayed interface is a watch face interface, the diversity of notification message display is improved, and the interference of notification messages to the user is reduced, thereby enhancing the user experience. The specific notification message display method will be described in detail in subsequent embodiments.
[0040] Please see Figure 1 , Figure 1A flowchart illustrating a notification message display method according to an embodiment of this application is shown. This method displays notification messages in different ways depending on the interface on which the wearable device receives the message. Specifically, when the displayed interface is an application interface, the display area of the notification message is smaller than when the displayed interface is a watch face interface. This enhances the diversity of notification message display and reduces user interference, thereby improving the user experience. In specific embodiments, the notification message display method is applied to applications such as... Figure 25 The notification message display device 200 shown and the wearable device 100 equipped with the notification message display device 200 ( Figure 26 It is understood that the wearable devices used in this embodiment may include watches, bracelets, etc., and are not limited thereto. The following will focus on... Figure 1 The process shown will be described in detail, and the method for displaying the notification message may specifically include the following steps:
[0041] Step S110: If a notification message is received while the wearable device is displaying the application interface, the notification message is displayed in a first display mode.
[0042] In this embodiment, the wearable device can receive notification messages. These notification messages can include at least instant messaging messages and application push messages. Instant messaging messages can include SMS messages, WeChat messages, QQ messages, email messages, etc., while application push messages can include video application push messages, news application push messages, food delivery application push messages, etc., and are not limited thereto.
[0043] In some implementations, the wearable device can be in a screen-off state or a screen-on state. When the wearable device is in a screen-on state, it can display an application interface or a watch face interface. The application interface refers to the interface corresponding to the application after entering the wearable device, and the watch face interface refers to the main interface of the wearable device used to display the time.
[0044] One approach is for wearable devices to detect their screen state upon receiving a notification message. This screen state includes both always-on and always-on states. If the screen is always-on, it indicates that the notification message was received while the device is in this state. If the screen is always-on, the device can further detect the type of interface being displayed, which includes app interfaces and watch faces. If an app interface is displayed, it indicates that the notification message was received while the device is displaying an app interface. Similarly, if a watch face is displayed, it indicates that the notification message was received while the device is displaying a watch face.
[0045] Please see Figure 2 , Figure 2 A schematic diagram illustrating the usage state of the wearable device provided in the embodiments of this application is shown. For example... Figure 2 As shown, the wearable device 100 can be worn on a user's arm for viewing and use.
[0046] Please see Figure 3 , Figure 3 A schematic diagram of a first interface of a wearable device provided in an embodiment of this application is shown. Figure 3 As shown, the wearable device 100 can display a watch face interface, which displays the time.
[0047] Please see Figure 4 , Figure 4 A second interface diagram of a wearable device provided in an embodiment of this application is shown. For example... Figure 4 As shown, the wearable device 100 can display an application interface, which can be a settings application interface.
[0048] In some implementations, detecting the screen status of a wearable device may include: detecting and acquiring the screen brightness of the wearable device (Settings.System.SCREEN_BRIGHTNESS), comparing the acquired screen brightness with a preset brightness to determine whether the screen brightness is greater than the preset brightness. Specifically, the wearable device may pre-store a preset brightness as a brightness value to be compared. When the detected screen brightness is greater than the preset brightness, the wearable device's screen status is determined to be on; when the detected screen brightness is not greater than the preset brightness, the wearable device's screen status is determined to be off. This preset brightness can be configured during the wearable device's factory settings, can be set according to the user's preferences and needs during use, or can be automatically adjusted by the wearable device based on attributes or environment. For example, the preset brightness can be set according to the wearable device's remaining battery power; the preset brightness when the remaining battery power is high can be set to be greater than the first preset brightness when the remaining battery power is low. Optionally, the screen brightness corresponding to the screen-off state of the wearable device can be 0 (int value = 0), where the parameter value is an integer value between 0 and 255. The larger the value, the brighter (whiter) the screen. As an implementable approach, the preset brightness is 0.
[0049] One approach to detecting the interface type displayed by a wearable device may include: detecting and acquiring the content displayed by the wearable device, and determining the interface type based on the displayed content. For example, determining whether the interface type displayed by the wearable device is an application interface or a watch face interface based on the displayed content. Another approach may include: detecting the application running in the foreground of the wearable device, and determining the interface type displayed by the wearable device based on the application running in the foreground. For example, determining whether the interface type displayed by the wearable device is an application interface or a watch face interface based on the application running in the foreground.
[0050] In this embodiment, the wearable device can pre-set and store a display method for receiving notification messages when displaying an application interface as a first display method. Therefore, if a notification message is received when the wearable device is displaying an application interface, the notification message can be displayed in the first display method. Since the wearable device is displaying an application interface, indicating that the user is reading or operating the application interface, the notification message displayed in the first display method may not completely cover or may not completely cover the application interface. Alternatively, the notification message displayed in the first display method may cover the application interface but the covered area is smaller than the application interface itself; that is, the notification message only occupies a portion of the application interface, reducing the disturbance of the notification message to the user and ensuring the smooth operation of the original task.
[0051] Step S120: If a notification message is received while the wearable device is displaying the watch face interface, the notification message is displayed in a second display mode, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode.
[0052] In this embodiment, the wearable device can pre-set and store a display method for receiving a notification message when displaying its watch face as a second display method. Therefore, if a notification message is received when the wearable device displays its watch face, the notification message can be displayed in the second display method. The second display method is different from the first display method, and the display area of the notification message displayed in the second display method is larger than the display area of the notification message displayed in the first display method.
[0053] In one approach, when the watch face of a wearable device displays an application interface, indicating that the user has not read or operated the application interface, the notification message displayed in this second display mode can completely cover the watch face. That is, the notification message displayed in this second display mode can cover the watch face and the coverage area is equal to the watch face. In other words, the notification message occupies the entire watch face. At this time, the user can quickly view the notification message, which can improve the display effect of the notification message.
[0054] One embodiment of this application provides a method for displaying notification messages. If a notification message is received while the wearable device is displaying an application interface, the notification message is displayed in a first display mode. If a notification message is received while the wearable device is displaying a watch face interface, the notification message is displayed in a second display mode. The display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode. By displaying the notification message in different ways according to the different interfaces displayed on the wearable device when it receives the notification message, and by making the display area of the notification message smaller when the displayed interface is an application interface than when the displayed interface is a watch face interface, the diversity of notification message display is improved and the interference of notification messages to users is reduced, thereby improving the user experience.
[0055] Please see Figure 5 , Figure 5 A flowchart illustrating a method for displaying notification messages according to another embodiment of this application is shown. This method is applied to the aforementioned wearable device, and will be discussed below. Figure 5 The process shown will be described in detail, and the method for displaying the notification message may specifically include the following steps:
[0056] Step S210: If a notification message is received while the wearable device is displaying an application interface, an identification information corresponding to the notification message is displayed in a floating area of the application interface, wherein the identification information is used to identify the sender of the notification message.
[0057] As one approach, when the notification message is an instant messaging message, the sender of the notification message can be a user, such as a QQ user or a WeChat user; when the notification message is an application push message, the sender of the notification message can be an application, such as a news application or a video application, etc., without any restrictions.
[0058] In some implementations, the wearable device can pre-set and store identification information corresponding to the sender of each notification message. This identification information is used to identify the sender of the notification message. For example, the wearable device can pre-set a mapping relationship, which may include multiple senders of notification messages, multiple identification information, and a correspondence between the senders of multiple notification messages and the multiple identification information. The multiple notification messages and the multiple identification information can correspond one-to-one. Therefore, when a notification message is received, the sender of the notification message can be obtained, and the identification information corresponding to the sender of the notification message can be obtained based on the mapping relationship. The identification information corresponding to each notification message may include "characters," "avatars," "graphics," "colors," "numbers," etc., without limitation. Alternatively, the identification information corresponding to the sender of each notification message can be used to uniquely identify the sender of the notification message. For example, the identification information corresponding to each notification message may include "unique characters," "unique avatars," "unique graphics," "unique colors," "unique numbers," etc., without limitation.
[0059] In this embodiment, if a notification message is received while the wearable device is displaying an application interface, the corresponding identifier information can be displayed floating in a designated area of the application interface. This reduces the disturbance of notification messages to the user, ensures the smooth execution of existing tasks, and allows the user to know the sender of the notification message, improving the notification effect. As one approach, the designated area may include the bottom, top, left, right, lower left, lower right, upper left, and upper right corners of the application interface, etc., areas aimed at reducing the disturbance of notification messages to the user; no limitation is made here.
[0060] Please see Figure 6 , Figure 6 A schematic diagram of a third interface of a wearable device provided in an embodiment of this application is shown. For example... Figure 6 As shown, if a notification message is received while the wearable device 100 is displaying an application interface, the identification information A corresponding to the notification message can be displayed floating in a designated area of the application interface, where the designated area is the bottom area of the application interface.
[0061] As one way, please refer to Figure 7 , Figure 7 This illustration shows a schematic diagram of a first type of interface change for a wearable device provided in an embodiment of this application. For example... Figure 7As shown in the left and right diagrams, if a notification message is received when the wearable device 100 is displaying the application interface, the identification information A corresponding to the notification message can pop up from the bottom of the application interface until it is displayed in a designated area of the application interface.
[0062] Step S220: If a notification message is received while the wearable device is displaying the watch face interface, the watch face interface of the wearable device is switched to the notification message display interface, and the details of the notification message are displayed on the notification message display interface.
[0063] In some implementations, the wearable device can have a pre-set notification message display interface, which is different from the application interface and the watch face interface. This notification message display interface is used to display detailed information of all received notification messages. In addition, when displayed, the notification message display interface occupies the entire screen of the wearable device.
[0064] Please see Figure 8 , Figure 8 A schematic diagram of a fourth interface of a wearable device provided in an embodiment of this application is shown. For example... Figure 8 As shown, the wearable device 100 can display a notification message display interface, which can be used to display detailed information of all received notification messages.
[0065] In this embodiment, if a notification message is received while the wearable device is displaying a watch face, the watch face can be switched to a notification message display interface, where the notification message details are shown. This allows the user to quickly view the notification message, improving its display quality. Alternatively, if a notification message is received while the wearable device is displaying a watch face, a notification message display interface can be directly popped up, displaying the notification message details.
[0066] As one way, please refer to Figure 9 , Figure 9 This illustration shows a second type of interface variation for a wearable device provided in an embodiment of this application. For example... Figure 9 As shown in the left and right diagrams, if a notification message is received while the wearable device 100 is displaying a watch face, the watch face of the wearable device 100 will be switched to the notification message display interface, and the details of the notification message will be displayed on the notification message display interface.
[0067] Another embodiment of this application provides a method for displaying notification messages, which, compared to... Figure 1The method for displaying notification messages shown in this embodiment also includes floating the identification information corresponding to the notification message in a designated area of the application interface when the displayed interface is an application interface, so as to identify the sender of the notification message without interrupting the operation of the application interface. In addition, when the displayed interface is a watch face interface, the notification message display interface is displayed and the details of the notification message are shown to meet the user's need to quickly view the notification message.
[0068] Please see Figure 10 , Figure 10 A flowchart illustrating a method for displaying notification messages according to another embodiment of this application is shown. This method is applied to the aforementioned wearable device, and will be discussed below. Figure 10 The process shown will be described in detail, and the method for displaying the notification message may specifically include the following steps:
[0069] Step S310: If a notification message is received while the wearable device is displaying an application interface, an identification information corresponding to the notification message is displayed in a floating area of the application interface, wherein the identification information is used to identify the sender of the notification message.
[0070] For a detailed description of step S310, please refer to step S210, which will not be repeated here.
[0071] Step S320: In response to a preset touch operation applied to the identification information, the application interface of the wearable device is switched to a notification message display interface, and the details of the notification message are displayed on the notification message display interface.
[0072] In some implementations, the wearable device may pre-set and store preset touch operations. These preset touch operations serve as the basis for determining the touch operation applied to the identifier information. These preset touch operations may include: single-finger tap, multi-finger tap, single-finger press, multi-finger press, single-finger long press, multi-finger long press, etc., and are not limited here. Therefore, in this embodiment, during the process of displaying the identifier information corresponding to the notification message in a designated area of the wearable device's application interface, the touch operation applied to the identifier information can be detected. When a preset touch operation is detected, it can be considered that the user has triggered the viewing of the notification message's details. In response to the preset touch operation, the wearable device's application interface can be switched to the notification message display interface, and the notification message's details can be displayed on the notification message display interface.
[0073] Please see Figure 11 , Figure 11 This illustration shows a first interactive diagram of a wearable device provided in an embodiment of this application. For example... Figure 11As shown in the left and right diagrams, during the process of displaying the identification information A corresponding to the notification message in a designated area of the application interface of the wearable device 100, when a preset touch operation is detected acting on the identification information A, the application interface of the wearable device 100 can be switched to the notification message display interface in response to the preset touch operation, and the details of the notification message can be displayed in the notification message display interface.
[0074] In some implementations, when a preset touch operation is detected on the identification information, it can be assumed that the user has triggered the viewing of the notification message details. In response to the preset touch operation, the application interface of the wearable device can be switched to a notification message display list. The notification message display list includes at least a brief information about the notification message, such as at least the sender information of the notification message and part or all of the most recent notification message sent by the sender. During the display of the notification message display list, when a touch operation is detected on the notification message display list, the notification message display interface can be switched to display the notification message display details.
[0075] Please see Figure 12 , Figure 12 This illustration shows a second interactive diagram of the wearable device provided in an embodiment of this application. For example... Figure 12 As shown in the left-right diagram, during the process of displaying the identification information A corresponding to the notification message in a designated area of the application interface of the wearable device 100, when a preset touch operation is detected acting on the identification information A, the application interface of the wearable device 100 can be switched to a notification message display list in response to the preset touch operation. During the display of the notification message display list, when a touch operation is detected acting on the notification message display list, the notification message display interface is jumped to display, and the details of the notification message are displayed on the notification message display interface.
[0076] As one approach, when switching the application interface of the wearable device to a notification message display interface and displaying the details of the notification message in the notification message display interface, the identification information corresponding to the notification message is hidden.
[0077] Step S330: If a notification message is received while the wearable device is displaying the watch face interface, the notification message is displayed in a second display mode, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode.
[0078] For a detailed description of step S330, please refer to step S120, which will not be repeated here.
[0079] The notification message display method provided in another embodiment of this application is compared to... Figure 1 In the notification message display method shown in this embodiment, when the displayed interface is an application interface, the identification information corresponding to the notification message is floated in a designated area of the application interface to identify the sender of the notification message without interrupting the operation of the application interface. In response to the preset touch operation applied to the identification information, the notification message display interface is jumped to display the details of the notification message to meet the user's need to quickly view the notification message.
[0080] Please see Figure 13 , Figure 13 A flowchart illustrating a method for displaying notification messages according to another embodiment of this application is shown. This method is applied to the aforementioned wearable device, and will be discussed below. Figure 13 The process shown will be described in detail, and the method for displaying the notification message may specifically include the following steps:
[0081] Step S410: If a notification message is received while the wearable device is displaying an application interface, an identification information corresponding to the notification message is displayed in a floating area of the application interface, wherein the identification information is used to identify the sender of the notification message.
[0082] For a detailed description of step S410, please refer to step S210, which will not be repeated here.
[0083] Step S420: When the identification information is detected to meet the first preset condition, the identification information is hidden.
[0084] In some implementations, the wearable device may pre-set and store a first preset condition, which serves as the basis for determining the identification information. This first preset condition can be used to indicate that the notification message should not be viewed. Therefore, in this embodiment, during the process of displaying the identification information corresponding to the notification message in a designated area of the wearable device's application interface, the identification information can be detected. When the identification information is detected to meet the first preset condition, it can be assumed that the user has indicated that the notification message should not be viewed, and the identification information can be hidden. As one method, hiding the identification information includes: sliding the identification information out of the application interface, deleting the identification information from the application interface, blurring the identification information from the application interface, shrinking the identification information from the application interface, etc., without limitation. As another method, when hiding the identification information by sliding it out of the application interface, the sliding direction is the same as the direction in which the identification information slides out of the application interface.
[0085] In some implementations, the first preset condition may include: no touch operation on the identifier information is detected within a first preset duration during which the identifier information is displayed floating on the application interface. The wearable device can then pre-set and store the first preset duration, which serves as the basis for determining the identifier information. Therefore, in this embodiment, within the first duration during which the identifier information corresponding to the notification message is displayed in a designated area of the wearable device's application interface, touch operations on the identifier information can be detected. When no touch operation on the identifier information is detected within the first preset duration during which the identifier information is displayed floating on the application interface, it can be assumed that the user has indicated not to view the notification message, and the identifier information can be hidden. Optionally, the first preset duration can be 3 seconds.
[0086] In some implementations, the first preset condition may include detecting a drag operation applied to the identifier information, wherein the operation parameters of the drag operation satisfy a second preset condition. The wearable device can then pre-set and store the second preset condition, which serves as the basis for determining the operation parameters of the drag operation applied to the identifier information. Therefore, in this embodiment, during the display of identifier information corresponding to a notification message in a designated area of the wearable device's application interface, if a drag operation applied to the identifier information is detected, the identifier information can be controlled to move with the drag operation, and the operation parameters of the drag operation can be detected. After detecting the operation parameters of the drag operation, the operation parameters of the drag operation can be compared with the second preset condition to determine whether the operation parameters of the drag operation satisfy the second preset condition. When the operation parameters of the drag operation satisfy the second preset condition, it can be considered that the user has indicated not to view the notification message, and the identifier information can be hidden.
[0087] In one approach, the operation parameters include the movement direction, and the second preset condition includes: the movement direction satisfies a preset movement direction. During the display of the identifier information corresponding to the notification message in a designated area of the wearable device's application interface, if a drag operation is detected on the identifier information, the identifier information can be controlled to move with the drag operation, and the movement direction of the drag operation can be detected. After detecting the movement direction of the drag operation, it can be compared with a preset movement direction to determine whether the movement direction is consistent with the preset movement direction. When the movement direction is consistent with the preset movement direction, it indicates that the movement direction satisfies the preset movement direction, and it can be considered that the user has indicated not to view the notification message, and the identifier information can be hidden in the application interface.
[0088] As another approach, the operation parameter includes the movement distance, and the second preset condition includes: the movement distance meets a preset movement distance. During the process of displaying the identifier information corresponding to the notification message in a designated area of the wearable device's application interface, if a drag operation is detected on the identifier information, the identifier information can be controlled to move with the drag operation, and the movement distance of the drag operation can be detected. After detecting the movement distance of the drag operation, the movement distance can be compared with a preset movement distance to determine whether the movement distance has reached the preset movement distance. When the movement distance reaches the preset movement distance, it indicates that the movement distance meets the preset movement distance, and it can be considered that the user has indicated not to view the notification message, and the identifier information can be hidden. In some embodiments, during the process of displaying the identifier information corresponding to the notification message in a designated area of the wearable device's application interface, if a drag operation is detected on the identifier information, the identifier information can be controlled to move with the drag operation, and the movement distance of the identifier information can be detected when a drag-release operation is detected on the identifier information.
[0089] As another approach, the operation parameters include the movement direction and movement distance, and the second preset condition includes: the movement direction satisfies a preset movement direction and the movement distance satisfies a preset movement distance. During the process of displaying the identifier information corresponding to the notification message in a designated area of the wearable device's application interface, if a drag operation is detected on the identifier information, the identifier information can be controlled to move with the drag operation, and the movement direction and movement distance of the drag operation can be detected. After detecting the movement direction and movement distance of the drag operation, the movement direction of the drag operation can be compared with a preset movement direction, and the movement distance can be compared with a preset movement distance to determine whether the movement direction is consistent with the preset movement direction and whether the movement distance reaches the preset movement distance. When the movement direction is consistent with the preset movement direction and the movement distance reaches the preset movement distance, it indicates that the movement direction satisfies the preset movement direction and the movement distance satisfies the preset movement distance, and it can be considered that the user has indicated not to view the notification message, and the identifier information can be hidden.
[0090] Please see Figure 14 , Figure 14 This illustration shows a third interaction diagram of the wearable device provided in an embodiment of this application. For example... Figure 14 As shown in the left and right diagrams, during the process of displaying the identification information A corresponding to the notification message in a designated area of the application interface of the wearable device 100, when a drag operation is detected on the identification information A, if the operation parameters of the identification information A based on the drag operation meet the second preset condition, the identification information A is hidden in the application interface.
[0091] Step S430: When the application interface of the wearable device is switched to the watch face interface, a prompt message is displayed on the watch face interface, wherein the prompt message is used to indicate that there are unviewed notification messages.
[0092] In some implementations, after hiding the identifier information in the application interface, when the wearable device's application interface switches to the watch face interface, a notification message indicating unread notification messages can be displayed on the watch face interface, thereby preventing the user from missing important notification messages. As one approach, the notification message displayed on the watch face interface can include: text notification messages, graphic notification messages, character notification messages, color block notification messages, etc. Optionally, a small red dot can be displayed on the watch face interface to indicate unread notification messages.
[0093] Please see Figure 15 , Figure 15 A schematic diagram of a fifth interface of a wearable device provided in an embodiment of this application is shown. For example... Figure 15 As shown, when the application interface of the wearable device 100 is switched to the watch face interface, the prompt message B is displayed on the watch face interface.
[0094] When the wearable device's application interface is switched to the watch face interface after the identifier information is hidden, if there are multiple unviewed notification messages, a single notification message can be displayed to indicate the existence of unviewed notification messages. Alternatively, multiple notification messages can be displayed to indicate the existence of unviewed notification messages and the number of unviewed notification messages.
[0095] Step S440: In response to the target swipe operation applied to the watch face, the watch face of the wearable device is switched to a notification message display interface, and the details of the notification message are displayed on the notification message display interface.
[0096] In some implementations, the wearable device can pre-set and store target swipe operations, which serve as the basis for determining swipe operations applied to the watch face. Therefore, in this embodiment, during the display of prompt information on the watch face, touch operations applied to the watch face can be detected. When a target swipe operation is detected, indicating an intention to view unviewed notification messages, the wearable device's watch face can be switched to a notification message display interface in response to the target swipe operation, and the notification message details can be displayed on the notification message display interface.
[0097] One approach is to detect touch operations on the watch face while it displays notifications. When a swipe operation is detected with a specified starting point on the watch face and a specified direction, this is identified as the target swipe operation, indicating an intention to view unviewed notifications. In response, the wearable device's watch face can be switched to the notification display interface, showing the notification details. The specified position and direction can be set by the wearable device by default or manually by the user; no specific limitation is made here. For example, the specified position could be the bottom of the watch face, and the specified direction could be from the bottom of the watch face towards the top.
[0098] Please see Figure 16 , Figure 16 This illustration shows a fourth interaction diagram of the wearable device provided in an embodiment of this application. For example... Figure 16 As shown in the left and right images, during the process of displaying prompt information B on the watch face of the wearable device 100, when a target swipe operation is detected on the watch face, the watch face of the wearable device is switched to a notification message display interface, and the details of the notification message are displayed on the notification message display interface.
[0099] In some implementations, during the display of prompts on the watch face, touch operations on the watch face can be detected. When a target swipe operation is detected on the watch face, indicating an intention to view unviewed notification messages, the watch face of the wearable device can be switched to a notification message list in response to the target swipe operation. During the display of the notification message list, if a touch operation is detected on the notification message list, the device can jump to the notification message display interface and display the details of the notification messages.
[0100] Please see Figure 17 , Figure 17 This illustration shows a fifth interaction diagram of the wearable device provided in an embodiment of this application. For example... Figure 17 As shown in the left-right diagram, during the process of displaying prompt information B on the watch face of the wearable device 100, when a target swipe operation is detected on the watch face, the watch face of the wearable device is switched to a notification message display list. During the display of the notification message display list, when a touch operation is detected on the notification message display list, the device jumps to display the notification message display interface and displays the details of the notification message.
[0101] Step S450: If a notification message is received while the wearable device is displaying the watch face interface, the notification message is displayed in a second display mode, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode.
[0102] For a detailed description of step S450, please refer to step S120, which will not be repeated here.
[0103] Another embodiment of this application provides a method for displaying notification messages, which, compared to... Figure 1 The notification message display method shown in this embodiment further includes floating the corresponding identifier information of the notification message in a designated area of the application interface when the displayed interface is an application interface, so as to identify the sender of the notification message without interrupting the operation of the application interface. Additionally, when the application interface of the wearable device switches to a watch face interface, a prompt message is displayed on the watch face interface to indicate the existence of unread notification messages, thus preventing users from missing notification messages. Furthermore, in response to a target swipe operation on the watch face interface, the notification message display interface is switched from the watch face interface to display the notification message details, thus meeting the user's need for quick access to notification messages.
[0104] Please see Figure 18 , Figure 18 A flowchart illustrating a method for displaying notification messages according to yet another embodiment of this application is shown. This method is applied to the aforementioned wearable device, and will be discussed below. Figure 18 The process is described in detail below. In this embodiment, when there are multiple notification messages and the senders of the multiple notification messages are different, the method for displaying the notification messages may specifically include the following steps:
[0105] Step S510: If multiple notification messages are received while the wearable device is displaying the application interface, the identification information corresponding to each of the multiple notification messages is displayed in a floating area of the application interface.
[0106] In some implementations, the wearable device may pre-set and store identification information corresponding to the sender of each notification message, wherein the pre-set identification information corresponding to the sender of each notification message is used to identify the sender of the notification message.
[0107] In this embodiment, if multiple notification messages from different senders are received while the wearable device is displaying an application interface, the corresponding identifiers for each notification message can be displayed in a designated area of the application interface. This reduces the disruption caused by notification messages to the user, ensures the smooth execution of existing tasks, and allows the user to identify the senders of multiple notification messages, improving the notification effect. For example, if there are five notification messages, the identifiers for each of the five notification messages can be displayed in a designated area of the application interface, resulting in five identifiers being displayed in a floating area of the application interface.
[0108] In some implementations, the number of designated areas can be one, in which case the identification information corresponding to each of the multiple notification messages can be displayed in that single designated area. Alternatively, the number of designated areas can be multiple, in which case the identification information corresponding to each of the multiple notification messages can be displayed in the same designated area or in multiple different designated areas.
[0109] In this embodiment, if multiple notification messages from the same sender are received when the wearable device displays the application interface, an identifier corresponding to the multiple notification messages can be displayed floating in a designated area of the application interface.
[0110] Please see Figure 19 , Figure 19 A sixth interface diagram of a wearable device provided in an embodiment of this application is shown. For example... Figure 19 As shown, if multiple notification messages are received while the wearable device 100 is displaying the application interface, the corresponding identifiers A1, A2, and A3 can be displayed in a designated area of the application interface. The designated area is the bottom area of the application interface.
[0111] Please see Figure 20 , Figure 20 A sixth interactive schematic diagram of the wearable device provided in an embodiment of this application is shown. For example... Figure 20As shown in the left-right diagram, during the process of displaying the identification information A1, A2, and A3 corresponding to each of the multiple notification messages in a designated area of the application interface of the wearable device 100, when a preset touch operation is detected acting on any one or more of the identification information A1, A2, and A3, the application interface of the wearable device 100 can be switched to a notification message display list in response to the preset touch operation. During the display of the notification message display list, when a touch operation is detected acting on the list corresponding to a certain notification message in the notification message display list (the list corresponding to identification information A1), the notification message display interface corresponding to identification information A1 is displayed, and the details of the notification message corresponding to identification information A1 are displayed on the notification message display interface.
[0112] Please see Figure 21 , Figure 21 This application shows Figure 18 The flowchart shown illustrates step S510 of the notification message display method. The following will focus on... Figure 21 The process shown will be described in detail, and the method may specifically include the following steps:
[0113] Step S511: Obtain the number of the plurality of notification messages.
[0114] Since multiple notification messages are sent by different parties, each notification message corresponds to different identification information. The number of notification messages obtained is the same as the number of identification information items obtained. Therefore, in this embodiment, either the number of notification messages or the number of identification information items can be obtained, and no limitation is made here.
[0115] Step S512: When the number of the plurality of notification messages is greater than a specified number, select a specified number of identifiers from the identifiers corresponding to each of the plurality of notification message messages as target identifiers.
[0116] In some implementations, the wearable device may pre-set and store a specified number of notification messages, which serves as the basis for determining the number of notification messages. Optionally, this specified number is 3. Therefore, in this embodiment, after obtaining the number of multiple notification messages, the number of multiple notification messages can be compared with the specified number. If the comparison result indicates that the number of multiple notification messages is greater than the specified number, it indicates that the number of identification information corresponding to the multiple notification messages exceeds the display limit. In this case, a specified number of identification information can be selected from the identification information corresponding to each of the multiple notification messages as target identification information. If the comparison result indicates that the number of multiple notification messages is not greater than the specified number, it indicates that the number of identification information corresponding to the multiple notification messages does not exceed the display limit. In this case, the identification information corresponding to each of the multiple notification messages can be used as target identification information.
[0117] Step S513: Display the target identification information in a designated area of the application interface.
[0118] In some implementations, after the target identification information is determined, the target identification information can be displayed floating in a designated area of the application interface to control the number of identification information displayed on the application interface, avoid the impact of too many displayed identification information on the application interface, reduce the disturbance of notification messages to users, and ensure the smooth operation of the original tasks.
[0119] Step S520: If a notification message is received while the wearable device is displaying the watch face interface, the notification message is displayed in a second display mode, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode.
[0120] For a detailed description of step S520, please refer to step S120, which will not be repeated here.
[0121] This application provides yet another embodiment of a method for displaying notification messages, which, compared to... Figure 1 The method for displaying notification messages shown in this embodiment also includes floating multiple identification information corresponding to multiple notification messages in a designated area of the application interface when the displayed interface is an application interface, so as to identify the sender of multiple notification messages without interrupting the operation of the application interface.
[0122] Please see Figure 22 , Figure 22 A flowchart illustrating a method for displaying notification messages according to another embodiment of this application is shown. This method is applied to the aforementioned wearable device, and will be discussed below. Figure 22 The process is described in detail below. In this embodiment, the wearable device is worn on the user's arm, and the method for displaying the notification message may specifically include the following steps:
[0123] Step S610: If a notification message is received while the wearable device is displaying the application interface, the notification message is displayed in a first display mode.
[0124] Step S620: If a notification message is received while the wearable device is displaying the watch face interface, the notification message is displayed in a second display mode, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode.
[0125] For a detailed description of steps S610-S620, please refer to steps S110-S120, which will not be repeated here.
[0126] Step S630: When the wearable device receives the notification message in the screen-off state, the posture information of the wearable device is detected.
[0127] The wearable device is worn on the user's arm. In this embodiment, the wearable device can be pre-set and stored as a third display mode when receiving a notification message while in a screen-off state. Therefore, if a notification message is received while the wearable device is in a screen-off state, the notification message can be displayed in the third display mode. The screen-off state indicates that the user is not currently looking at the screen of the wearable device; therefore, the wearable device can be kept in a screen-off state while its posture information is detected.
[0128] In one approach, wearable devices can incorporate an attitude detection device, which can then detect the device's attitude information. This attitude detection device may include accelerometers, gyroscopes, etc., and is not limited to these specific devices.
[0129] Please see Figure 23 and Figure 24 , Figure 23 This diagram illustrates a wearable device according to an embodiment of the present application in a first posture. Figure 24 This diagram illustrates a wearable device in a second posture according to an embodiment of this application. Figure 23 and Figure 24 As shown, Figure 23 At this time, the user's arm is in a natural hanging position. Figure 24 When the user's arm is raised, when the user's arm is lowered... Figure 23 The change shown is as follows Figure 24 As shown, it can be determined that the user's arm changes from a non-raised state to a raised state.
[0130] Step S640: When it is determined based on the detected posture information that the user's arm changes from a non-raised state to a raised state within a second preset time period after receiving the notification message, a notification message display interface is displayed, and the details of the notification message are displayed on the notification message display interface.
[0131] In some implementations, after detecting the posture information of the wearable device, it can be determined whether the user's arm wearing the wearable device has changed from a non-raised state to a raised state based on the detected posture information.
[0132] In one approach, the wearable device pre-sets and stores preset conditions. The detected posture information includes first posture information and second posture information. After acquiring the first posture information and second posture information, it is determined whether the relationship between the first posture information and the second posture information meets the preset conditions. When the relationship between the first posture information and the second posture information meets the preset conditions, it is determined that the user's arm wearing the wearable device has changed from a non-raised state to a raised state. When the relationship between the first posture information and the second posture information does not meet the preset conditions, it is determined that the user's arm wearing the wearable device has not changed from a non-raised state to a raised state.
[0133] The first posture information may include at least a first offset angle, which can be the angle between the axis of the wearable device and a horizontal line, or the angle between the axis of the wearable device and a vertical line, etc. The second posture information may include at least a second offset angle, which can be the angle between the axis of the wearable device and a horizontal line, or the angle between the axis of the wearable device and a vertical line, etc. It is understood that both the first and second offset angles are offset angles of the mobile terminal relative to the same fixed reference object. The wearable device may preset and store preset angles. The difference between the first and second offset angles is obtained, and this difference is compared with the preset angle to determine whether the difference is greater than the preset angle. Optionally, in this embodiment, the preset angle is 30°. When the difference between the first and second offset angles exceeds the preset angle of 30°, it is determined that the relationship between the first posture information and the second posture information meets the preset condition; when the difference between the first and second offset angles does not exceed the preset angle of 30°, it is determined that the relationship between the first posture information and the second posture information does not meet the preset condition.
[0134] In some implementations, the wearable device can remain in a screen-off state when it is determined, based on the detected posture information, that the user's arm has not changed from a non-raised state to a raised state.
[0135] In some implementations, when the user's arm changes from a non-raised state to a raised state based on the detected posture information, the wearable device can be switched from a screen-off state to a screen-on state and a notification message can be displayed.
[0136] In one approach, the wearable device can pre-set and store a second preset duration, which serves as the basis for determining the duration it takes for the wearable device to change from a non-raised state to a raised state after receiving a notification message. Therefore, in this embodiment, when it is determined, based on the detected posture information, that the user's arm changes from a non-raised state to a raised state within the second preset duration after receiving the notification message, the notification message display interface can be directly displayed, showing the details of the notification message.
[0137] Step S650: When it is determined based on the detected posture information that the user's arm changes from a non-raised state to a raised state outside the second preset time period after receiving the notification message, the dial interface is displayed and a prompt message is displayed on the dial interface, wherein the prompt message is used to indicate that there is an unviewed notification message.
[0138] In this embodiment, when the user's arm changes from a non-raised state to a raised state outside a second preset time period after receiving the notification message, based on the detected posture information, the watch face can be displayed, and a notification message indicating that there is an unviewed notification message can be shown on the watch face to prevent the user from missing important notification messages. Furthermore, during the display of the notification message on the watch face, touch operations on the watch face can be detected. When a target swipe operation is detected on the watch face, indicating an intention to view an unviewed notification message, the wearable device can switch from displaying the watch face to displaying the notification message display interface in response to the target swipe operation on the watch face, and display the details of the notification message on the notification message display interface.
[0139] Another embodiment of this application provides a method for displaying notification messages, which, compared to... Figure 1The method for displaying notification messages shown in this embodiment further includes detecting the posture information of the wearable device when it receives a notification message while the screen is off. When the detected posture information determines that the user's arm changes from a non-raised state to a raised state within a second preset time period after receiving the notification message, a notification message display interface is displayed, showing the details of the notification message to meet the user's need to quickly view the notification message. When the detected posture information determines that the user's arm changes from a non-raised state to a raised state outside the second preset time period after receiving the notification message, a watch face interface is displayed, showing a prompt message to indicate that there is an unviewed notification message, thus preventing users from missing notification messages.
[0140] Please see Figure 25 , Figure 25 A block diagram of a notification message display device 200 provided in an embodiment of this application is shown. This notification message display device 200 is applied to the aforementioned wearable device, and will be discussed below. Figure 25 The block diagram shown illustrates that the notification message display device 200 includes: a first display module 210 and a second display module 220, wherein:
[0141] The first display module 210 is configured to display the notification message in a first display mode if a notification message is received while the wearable device is displaying an application interface.
[0142] Further, the first display module 210 includes: a first display submodule, wherein:
[0143] The first display submodule is used to display floating identification information corresponding to the notification message in a designated area of the application interface, wherein the identification information is used to identify the sender of the notification message.
[0144] Furthermore, when there are multiple notification messages, and the senders of the multiple notification messages are different, the first display submodule includes: an identification information display unit, wherein:
[0145] The identification information display unit is used to display the identification information corresponding to each of the multiple notification messages in a floating area of the application interface.
[0146] Furthermore, the identification information display unit includes: a quantity acquisition subunit, a target identification information selection subunit, and a target identification information display subunit, wherein:
[0147] The quantity acquisition subunit is used to acquire the quantity of the multiple notification messages.
[0148] The target identifier information selection subunit is used to select a specified number of identifier information as target identifier information from the identifier information corresponding to each of the multiple notification messages when the number of the multiple notification messages is greater than a specified number.
[0149] The target identification information display subunit is used to display the target identification information in a floating position in a designated area of the application interface.
[0150] Furthermore, the first display module 210 further includes: a first details information display submodule, wherein:
[0151] The first details information display submodule is used to respond to a preset touch operation applied to the identification information, switch the application interface of the wearable device to a notification message display interface, and display the details information of the notification message on the notification message display interface.
[0152] Furthermore, the first display module 210 further includes: an identification information hiding submodule, wherein:
[0153] The identification information hiding submodule is used to hide the identification information when the identification information is detected to meet a first preset condition.
[0154] Furthermore, the identification information hiding submodule includes: a prompt information display unit, wherein:
[0155] The prompt information display unit is used to display prompt information on the watch face when the application interface of the wearable device is switched to the watch face interface, wherein the prompt information is used to indicate that there are unviewed notification messages.
[0156] Furthermore, the identification information hiding submodule includes: a details information display unit, wherein:
[0157] The details display unit is used to switch the watch face of the wearable device to a notification message display interface in response to a target swipe operation on the watch face interface, and to display the details of the notification message on the notification message display interface.
[0158] Furthermore, the details information display unit includes: a details information display subunit, wherein:
[0159] The details display subunit is used to switch the watch face of the wearable device to a notification message display interface in response to a target sliding operation that takes a specified position on the watch face as the sliding start point and a specified direction as the sliding direction, and to display the details of the notification message on the notification message display interface.
[0160] The second display module 220 is configured to display the notification message in a second display mode if a notification message is received while the wearable device is displaying a watch face interface, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode.
[0161] Furthermore, the second display module 220 includes: a second details information display submodule, wherein:
[0162] The second detailed information display submodule is used to switch the wearable device from displaying the watch face interface to displaying the notification message display interface, and to display the detailed information of the notification message on the notification message display interface.
[0163] Furthermore, the wearable device is worn on the user's arm, and the notification message display device 200 includes: a posture information detection module, a details information display module, and a prompt information display module, wherein:
[0164] The posture information detection module is used to detect the posture information of the wearable device when the wearable device receives the notification message in the screen-off state.
[0165] The details display module is used to display a notification message display interface and display the details of the notification message when it is determined, based on the detected posture information, that the user's arm changes from a non-raised state to a raised state within a second preset time period after receiving the notification message.
[0166] The prompt information display module is used to display the dial interface and display prompt information on the dial interface when it is determined based on the detected posture information that the user's arm changes from a non-raised state to a raised state outside a second preset time period after receiving the notification message. The prompt information is used to indicate that there is an unviewed notification message.
[0167] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0168] In the several embodiments provided in this application, the coupling between modules can be electrical, mechanical, or other forms of coupling.
[0169] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0170] Please see Figure 26 This diagram illustrates a structural block diagram of a wearable device 100 provided in an embodiment of this application. The wearable device 100 can be an electronic device such as a watch or bracelet capable of running applications. The wearable device 100 in this application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications can be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more applications are configured to perform the methods described in the foregoing method embodiments.
[0171] The processor 110 may include one or more processing cores. The processor 110 connects to various parts within the wearable device 100 via various interfaces and lines, executing instructions, programs, code sets, or instruction sets stored in the memory 120, and calling data stored in the memory 120 to perform various functions and process data within the wearable device 100. Optionally, the processor 110 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 110 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 110 and may be implemented separately using a communication chip.
[0172] The memory 120 may include random access memory (RAM) or read-only memory (ROM). The memory 120 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described below. The data storage area may also store data created by the wearable device 100 during use (such as phonebook data, audio and video data, chat log data, etc.).
[0173] Please see Figure 24 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable medium 500 stores program code that can be called by a processor to execute the methods described in the above method embodiments.
[0174] The computer-readable storage medium 500 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 500 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 500 has storage space for program code 510 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 510 may be compressed, for example, in a suitable form.
[0175] In summary, the notification message display method, apparatus, wearable device, and storage medium provided in this application embodiment, if a notification message is received while the wearable device is displaying an application interface, displays the notification message in a first display mode, wherein the notification message displayed in the first display mode covers an area smaller than the specified area. If a notification message is received while the wearable device is displaying a watch face interface, displays the notification message in a second display mode, which is different from the first display mode. Thus, by displaying the notification message in different ways according to the different interfaces displayed on the wearable device when it receives the notification message, and displaying the notification message in a way that covers an area smaller than the specified area when the displayed interface is an application interface, the diversity of notification message display is improved and the interference of notification messages to users is reduced, thereby improving the user experience.
[0176] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for displaying a notification message, characterized in that, Applied to wearable devices, the method includes: If a notification message is received while the wearable device is displaying an application interface, the notification message is displayed in a first display mode, wherein the notification message displayed in the first display mode does not completely cover the application interface, and the notification message includes instant messaging messages and application push messages; If the application interface of the wearable device is switched to a watch face interface, a prompt message is displayed on the watch face interface, wherein the prompt message is used to indicate that there are unviewed notification messages; If a notification message is received while the wearable device is displaying the watch face interface, the notification message is displayed in a second display mode, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode, and the notification message displayed in the second display mode completely covers the watch face interface; If the wearable device receives the notification message while the screen is off, the posture information of the wearable device is detected; If, based on the detected posture information, it is determined that the user's arm changes from a non-raised state to a raised state within a second preset time period after receiving the notification message, a notification message display interface is displayed, and the details of the notification message are shown on the notification message display interface; If, based on the detected posture information, it is determined that the user's arm changes from a non-raised state to a raised state outside a second preset time period after receiving the notification message, the watch face is displayed and a prompt message is shown on the watch face, wherein the prompt message is used to indicate that there is an unviewed notification message.
2. The method according to claim 1, characterized in that, The display of the notification message in the first display mode includes: The identification information corresponding to the notification message is displayed in a floating area of the application interface, wherein the identification information is used to identify the sender of the notification message.
3. The method according to claim 2, characterized in that, After displaying the identifier information corresponding to the notification message in a designated area of the application interface, the method further includes: In response to a preset touch operation applied to the identification information, the application interface of the wearable device is switched to a notification message display interface, and the details of the notification message are displayed on the notification message display interface.
4. The method according to claim 2, characterized in that, After displaying the identifier information corresponding to the notification message in a designated area of the application interface, the method further includes: When the identification information is detected to meet the first preset condition, the identification information is hidden.
5. The method according to claim 4, characterized in that, The first preset condition includes: Within a first preset duration during which the identification information is displayed floating on the application interface, no touch operation is detected on the identification information.
6. The method according to claim 4, characterized in that, The first preset condition includes: A drag operation applied to the identification information is detected, wherein the operation parameters of the drag operation satisfy a second preset condition.
7. The method according to claim 6, characterized in that, The operating parameters include the direction of movement and the distance of movement, and the second preset condition includes: The direction of movement satisfies a preset direction of movement, and the distance of movement satisfies a preset distance of movement.
8. The method according to claim 4, characterized in that, When the application interface of the wearable device switches to the watch face interface, after the prompt information is displayed on the watch face interface, the following is also included: In response to a target swipe operation applied to the watch face, the watch face of the wearable device is switched to a notification message display interface, and the details of the notification message are displayed on the notification message display interface.
9. The method according to claim 8, characterized in that, The response to the target swipe operation on the watch face interface switches the watch face interface of the wearable device to a notification message display interface, and displays the details of the notification message on the notification message display interface, including: When a target swipe operation is detected, with a specified position on the watch face as the starting point and a specified direction as the swipe direction, the watch face of the wearable device is switched to the notification message display interface in response to the target swipe operation, and the details of the notification message are displayed on the notification message display interface.
10. The method according to any one of claims 2-9, characterized in that, When there are multiple notification messages, and the senders of the multiple notification messages are different, the identification information corresponding to the notification messages is displayed in a floating area of the application interface, including: The identification information corresponding to each of the multiple notification messages is displayed in a floating area of the application interface.
11. The method according to claim 10, characterized in that, The floating display of identification information corresponding to each of the multiple notification messages in a designated area of the application interface includes: Obtain the number of the multiple notification messages; When the number of the multiple notification messages is greater than a specified number, a specified number of identifiers are selected from the identifiers corresponding to each of the multiple notification messages as target identifiers. The target identification information is displayed in a floating area of the application interface.
12. The method according to any one of claims 1-9, characterized in that, The second display method for the notification message includes: Switch the watch face of the wearable device to a notification message display interface, and display the details of the notification message on the notification message display interface.
13. A display device for notification messages, characterized in that, For use in wearable devices, the device includes: A first display module is configured to display a notification message in a first display mode if a notification message is received while the wearable device is displaying an application interface, wherein the notification message displayed in the first display mode does not completely cover the application interface, and the notification message includes instant messaging messages and application push messages. The prompt information display unit is used to display prompt information on the watch face interface when the application interface of the wearable device is switched to the watch face interface, wherein the prompt information is used to indicate that there are unviewed notification messages; The second display module is used to display the notification message in a second display mode if a notification message is received when the wearable device is displaying a watch face interface, wherein the display area of the notification message displayed in the second display mode is larger than the display area of the notification message displayed in the first display mode, and the notification message displayed in the second display mode completely covers the watch face interface. The posture information detection module is used to detect the posture information of the wearable device if the wearable device receives the notification message in the screen-off state. The details display module is used to display a notification message display interface and display the details of the notification message on the notification message display interface if it is determined based on the detected posture information that the user's arm changes from a non-raised state to a raised state within a second preset time period after receiving the notification message; The prompt information display module is used to display the dial interface and display prompt information on the dial interface if it is determined based on the detected posture information that the user's arm changes from a non-raised state to a raised state outside a second preset time period after receiving the notification message. The prompt information is used to indicate that there is an unviewed notification message.
14. A wearable device, characterized in that, The method includes a memory and a processor, the memory being coupled to the processor, the memory storing instructions, and when the instructions are executed by the processor, the processor performing the method as described in any one of claims 1-12.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code that can be invoked by a processor to execute the method as described in any one of claims 1-12.
Citation Information
Patent Citations
Notification message displaying method and terminal device
CN105912219A
Information processing method and device in wearable equipment and wearable equipment
CN108897590A
Notification information processing method, apparatus, storage medium and device in full screen state
CN109634479A