Prompt information display method and device, electronic equipment and storage medium
By displaying a prompt window on the top of the display interface of the electronic device, the problem of lack of effective prompts when operating system-level status changes in the prior art is solved, and a unified and timely prompt method is realized, improving the user experience.
Patent Information
- Application Number
- CN202311398439.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-26
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2043-10-26
AI Technical Summary
The prior art lacks effective prompting methods when the operating system level state of electronic devices changes, making it difficult for users to understand the status changes in a timely manner and affects the user experience.
A method of displaying prompt information is provided, by displaying a prompt window on the top of the display interface of an electronic device, and displaying prompt information, including text and images, in the window, to represent changes in the system state. The prompt window can cover the status bar and the position is adjusted based on the front camera to avoid occlusion.
A unified prompt method is realized to ensure that users can view system status changes in time, improve user experience, and avoid prompt information being ignored.
Smart Images

Figure CN119902823A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display technology, and in particular to a method, device, electronic device and storage medium for displaying prompt information. Background Art
[0002] As the functions of the operating system of an electronic device increase, more and more operating system-level states change. For example, the operating system-level states include volume, battery mode, device connection status, collaborative mode, etc., but the electronic device does not provide appropriate prompts when these states change. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, electronic device and storage medium for displaying prompt information.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for displaying prompt information is provided, the method comprising:
[0005] Displaying a prompt window, wherein the prompt window is located at the top of the display interface of the electronic device;
[0006] Prompt information is displayed in the prompt window, where the prompt information is used to indicate that a system state has changed, and the system state is a state that affects the working mode of the operating system.
[0007] In some embodiments, displaying the prompt window includes:
[0008] The prompt window is displayed on the upper layer of the status bar, and the prompt window covers the entire status bar.
[0009] In some embodiments, displaying the prompt window includes:
[0010] Based on the position of the front camera of the electronic device, the prompt window matching the position is displayed so that the area in the prompt window displaying the prompt information is not blocked by the front camera.
[0011] In some embodiments, displaying the prompt window includes:
[0012] In response to detecting that the system status has changed, the prompt window is displayed.
[0013] In some embodiments, the prompt window includes at least one text display area and at least one image display area, and displaying the prompt information in the prompt window includes:
[0014] Displaying a prompt text in the text display area and a prompt image in the image display area;
[0015] The prompt image includes at least one of a static image and a dynamic image.
[0016] In some embodiments, the method further comprises:
[0017] When the display time of the prompt information in the prompt window reaches a preset time, the prompt information is cancelled in the prompt window.
[0018] In some embodiments, displaying the prompt information in the prompt window includes:
[0019] Displaying the prompt information in the prompt window with a first animation effect;
[0020] The canceling the display of the prompt information in the prompt window includes:
[0021] The prompt information is canceled from being displayed in the prompt window with a second animation effect.
[0022] In some embodiments, the method further comprises:
[0023] Cancels display of the prompt window.
[0024] In some embodiments, displaying the prompt information in the prompt window includes:
[0025] Displaying first prompt information in the prompt window, where the first prompt information is used to indicate that a state of the first system has changed;
[0026] When the display time of the first prompt information does not reach the preset time and a change in the second system status is detected, the first prompt information is canceled and a second prompt information is displayed in the prompt window, where the second prompt information is used to indicate that the second system status has changed.
[0027] In some embodiments, displaying the prompt information in the prompt window includes:
[0028] In the prompt window, the prompt information is displayed in a display format that matches the system status.
[0029] According to a second aspect of an embodiment of the present disclosure, a device for displaying prompt information is provided, the device comprising:
[0030] A window display module, configured to display a prompt window, wherein the prompt window is located at the top of the display interface of the electronic device;
[0031] The prompt information display module is configured to display prompt information in the prompt window, wherein the prompt information is used to indicate that a system state has changed, and the system state is a state that affects the working mode of the operating system.
[0032] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0033] processor;
[0034] a memory for storing processor-executable instructions;
[0035] The processor is configured to execute the method as described in the first aspect of the embodiment of the present disclosure.
[0036] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method described in the first aspect of the embodiment of the present disclosure.
[0037] The above method of the present disclosure has the following beneficial effects:
[0038] The method provided by the embodiment of the present disclosure displays a prompt window, and the prompt window is located at the top of the display interface of the electronic device. Prompt information is displayed in the prompt window, and the prompt information is used to prompt that the system status has changed. A new method of prompting through a prompt window is provided, and prompt information representing changes in various system states is displayed in the prompt window, so that the prompt methods of various prompt information are kept unified. The prompt window is located at the top for easy viewing by users to avoid being ignored by users, thereby improving the user experience.
[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0041] Figure 1 is a schematic diagram of an interface in a related technology according to an exemplary embodiment;
[0042] Figure 2 is a schematic diagram of an interface in a related technology according to an exemplary embodiment;
[0043] Figure 3 is a flow chart of a method for displaying prompt information according to an exemplary embodiment;
[0044] Figure 4 is a flow chart of a method for displaying prompt information according to an exemplary embodiment;
[0045] Figure 5 is a schematic diagram of a prompt window according to an exemplary embodiment;
[0046] Figure 6 is a schematic diagram of a prompt window according to an exemplary embodiment;
[0047] Figure 7 is a schematic diagram of a prompt window according to an exemplary embodiment;
[0048] Figure 8 is a schematic diagram of a prompt window according to an exemplary embodiment;
[0049] Fig. 9 is a schematic diagram of a prompt window according to an exemplary embodiment;
[0050] Fig.10 is a schematic diagram of a prompt window according to an exemplary embodiment;
[0051] Fig.11 is a schematic diagram of a prompt window according to an exemplary embodiment;
[0052] Fig.12 is a flow chart of a method for displaying prompt information according to an exemplary embodiment;
[0053] Fig.13 is a block diagram of a display device for prompt information according to an exemplary embodiment;
[0054] Fig.14 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0055] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0056] In a related technology, the Smart Island method is used to display operating system-level status information, but the display space of the Smart Island is limited and the displayed content is small. For example, only icons can be displayed. If the user wants to view the complete content, other operations need to be performed. The viewing process is relatively complicated and not intuitive enough. In addition, the Smart Island method not only displays operating system-level status information, but also uses the same method to display various notifications of applications. This method is not dedicated, and for users, they also need to distinguish whether the displayed information is about the status or about the application, resulting in a poor user experience.
[0057] In another related technology, a suspension mode is used to display information of the operating system level status, for example, see Figure 1 The schematic diagram of the interface shown shows a floating window below the status bar, but this floating window will block the content below. When the user is using an application, the content of the application will be blocked, that is, the display interface of the current task will be blocked, resulting in a poor user experience.
[0058] In another related technology, Toast (a message prompt box type) is used to display operating system level status information, for example, see Figure 2 The schematic diagram of the interface shown is displayed at the lower part of the screen, which is not obvious enough and can be easily overlooked by users.
[0059] In response to the problems in the above-mentioned related technologies, the embodiments of the present disclosure provide a new method of providing prompts through a prompt window, and prompt information representing changes in various system states is displayed in the prompt window, so that the prompt methods of various prompt information are kept unified. The prompt window is located at the top for users to view easily and avoid being ignored by users, thereby improving the user experience.
[0060] The method provided in the embodiment of the present disclosure is applied to an electronic device, which may be an electronic device with a screen, such as a mobile phone, a tablet computer, a vehicle-mounted terminal, a wearable device, etc.
[0061] Figure 3 is a flowchart of a method for displaying prompt information according to an exemplary embodiment, which is executed by an electronic device, see Figure 3 , the method comprises the following steps:
[0062] Step S301: display a prompt window, where the prompt window is located at the top of the display interface of the electronic device.
[0063] The prompt window is used to display prompt information. When the prompt information needs to be displayed, the prompt window is displayed. When the prompt information does not need to be displayed, the prompt window is not displayed.
[0064] Step S302: displaying prompt information in a prompt window, where the prompt information is used to indicate that a system state has changed, and the system state is a state that affects the working mode of the operating system.
[0065] Among them, the prompt information includes text information and image information, and the prompt information is used to characterize the change of the system state. For example, the changed system state can be described by text, and the changed system state can be vividly displayed by image information. The system state is a state that affects the working mode of the operating system, that is, the system state is a state related to the operating system. The system state includes multiple types of states such as volume state, do not disturb state, device connection state, battery state, and collaborative state. Among them, the volume state includes a silent state, a vibration state, and a ringing state, the do not disturb state includes a do not disturb state and a non-do not disturb state, the battery mode state may include a non-power saving state, a power saving state, and a super power saving state, the device connection state includes a device connected state and a device unconnected state, and the device unconnected state may also include a connectable state and an unconnectable state, the collaborative state includes a coordinated state and a non-coordinated state, and the non-coordinated state may also include a collaborative state and a non-coordinated state.
[0066] Among the above-mentioned types of status, the volume status, do not disturb mode status, and battery mode status are the status of the electronic device itself, while the device connection status and collaborative status are the status between the electronic device and other devices. For example, the device connection status refers to whether the electronic device is connected to a stylus, a projection device, a smart home device and other devices. The collaborative status refers to whether the electronic device is collaboratively interconnected with other devices. For example, if the electronic device is a mobile phone, the collaborative status may refer to whether the mobile phone and the tablet are collaboratively interconnected.
[0067] The system state changes refer to switching from one state to another state in the same system state, for example, switching from a volume state to a vibrate state to a mute state.
[0068] The method provided by the embodiment of the present disclosure displays a prompt window, and the prompt window is located at the top of the display interface of the electronic device. Prompt information is displayed in the prompt window, and the prompt information is used to prompt that the system status has changed. A new method of prompting through a prompt window is provided, and prompt information representing changes in various system states is displayed in the prompt window, so that the prompt methods of various prompt information are kept unified. The prompt window is located at the top for easy viewing by users to avoid being ignored by users, thereby improving the user experience.
[0069] Figure 4 is a flowchart of a method for displaying prompt information according to an exemplary embodiment, which is executed by an electronic device, see Figure 4 , the method comprises the following steps:
[0070] Step S401: In response to detecting that a system status has changed, a prompt window is displayed.
[0071] In the disclosed embodiment, a prompt window is displayed to allow the user to view prompt information indicating the change in system status when the system status changes. At other times, the prompt window is not displayed to avoid affecting the display of other content.
[0072] In some embodiments, the operating system monitors various types of system states in real time, and when any type of system state is monitored to switch from one state to another, it is determined that the system state has changed. For example, when the operating system monitors switching from a power saving mode to a non-power saving mode, it is determined that the system state has changed.
[0073] In some embodiments, each type of system status has a corresponding system service, and the corresponding type of system status is monitored by the system service.
[0074] In some embodiments, the prompt window includes at least one text display area and at least one image display area. The text display area is used to display the prompt text, and the image display area is used to display the prompt image. The prompt text and the prompt image are two different ways to prompt that the system state has changed. For example, see Figure 5 The prompt window includes two text display areas (Text areas) and two image display areas (Img areas). For another example, the prompt window may also include two text display areas and one image display area, or, the prompt window may also include one text display area and one image display area.
[0075] In some embodiments, considering that the heights of different types of electronic devices may vary greatly, while the widths of electronic devices are relatively consistent, the sizes of the text display area, image display area, and other areas in the prompt window may be determined based on the width of the electronic device. Figure 6 , the width of the prompt window is the width of the display interface of the electronic device, and the height of the prompt window is 9.69% of the width of the display interface; the distance between the image display area and the border is the distance defined by Padding, and the Padding attribute defines the space between the element border and the element content; the distance between the image display area and the text display area is 1.02% of the width of the display interface; the distance between the text display area and the front camera is 0.51% of the width of the display interface; the width of the text display area is 5.87% of the width of the display interface; the width and height of the image display area are both 7.65% of the width of the display interface. Figure 6 This is only an example of a size. In another embodiment, other sizes may be set for each area in the prompt window.
[0076] In some embodiments, displaying the prompt window includes: displaying the prompt window on the upper layer of the status bar. The prompt window covers the entire status bar. Optionally, the size of the prompt window is exactly the same as the size of the status bar, so that the prompt window just covers the status bar without blocking other areas in the interface; or, the width of the prompt window is the same as the width of the status bar, and the height of the prompt window is slightly larger than the height of the status bar, thereby avoiding the prompt window from affecting other areas in the interface and ensuring a low degree of intrusion into the interactive interface.
[0077] For example, see Figure 7 The schematic diagram of the prompt window shown is Figure 7 The left figure (a) shows a status bar. In response to detecting a change in the system status, the right figure (b) is displayed. The black area shown in figure (b) is the prompt window. Figure 7 The prompt window just covers the status bar.
[0078] In some embodiments, the two corners on the upper side of the prompt window match the screen of the electronic device and are rounded; the two corners on the lower side of the prompt window can be rounded or right angles. Figure 7 Figure (b) shows that the top and bottom corners of the prompt window are rounded.
[0079] In some embodiments, displaying the prompt window includes: based on the position of the front camera of the electronic device, displaying the prompt window matching the position, so that the area in the prompt window where the prompt information is displayed is not blocked by the front camera. That is, based on the position of the front camera, the layout of the area in the prompt window where the prompt information is displayed is determined, so as to ensure that the subsequent prompt information can be fully displayed and is not blocked by the front camera.
[0080] For example, see Figure 8 The schematic diagram of the prompt window shown is Figure 8 For the sake of convenience, a schematic diagram of the prompt window is shown, and other areas in the interface are not reflected. Figure 8 Figure (a) is a schematic diagram of the prompt window when the front camera is displayed in the center. It can be seen from Figure (a) that the text display area and the image display area are located on both sides of the front camera, and do not overlap with the area where the front camera is located; Figure (b) is a schematic diagram of the prompt window when the front camera is displayed on the left. It can be seen from Figure (b) that the text display area and the image display area are located on the right side of the front camera, and do not overlap with the area where the front camera is located; Figure (c) is a schematic diagram of the prompt window when the front camera is displayed on the right. It can be seen from Figure (c) that the text display area and the image display area are located on the left side of the front camera, and do not overlap with the area where the front camera is located.
[0081] It should be noted that in some embodiments, the above-mentioned embodiments of displaying prompt windows can be combined. For example, in response to detecting a change in system status, a prompt window matching the position is displayed on the status bar based on the position of the front camera.
[0082] Step S402: display prompt information in the prompt window.
[0083] In some embodiments, when the prompt window includes at least one text display area and at least one image display area, the prompt text is displayed in the text display area, and the prompt image is displayed in the image display area, and the prompt information includes the prompt text and the prompt image.
[0084] Optionally, the prompt text can be any color, for example, the prompt text can be black, white, yellow, etc. For example, the color of the prompt text is set according to the color of the text display area, for example, see Figure 7 In Figure (b), the text display area is black. In order to make it easier for users to view the prompt text, the prompt text is displayed in white.
[0085] Optionally, the prompt image includes at least one of a static image and a dynamic image.
[0086] In some embodiments, the prompt information is displayed in the prompt window with a first animation effect. For example, the first animation effect is an effect such as cutting in, jumping in, fading in, etc. from the top of the prompt window.
[0087] In some embodiments, in the prompt window, the prompt information is displayed in a display format that matches the system state. That is, a corresponding display format can be set for different system states. The display format refers to the display mode of each area in the prompt window. Different display formats include at least one of the following: different numbers of text display areas, different numbers of image display areas, different positions of text display areas, different positions of image display areas, different areas of text display areas, and different areas of image display areas.
[0088] For example, see Figure 8 The schematic diagram of the prompt window shown is Figure 8 Figures (a), (b) and (c) in the figure may be the display format of the prompt window when the sound playing state changes after the electronic device is connected to headphones; see Fig. 9 , Fig. 9 Figures (a), (b) and (c) in the figure may be another display format of the prompt window when the sound playing state changes after the electronic device is connected to headphones; see Fig.10 , Fig.10 Figures (a), (b) and (c) in the figure may be the display format of the prompt window when the charging state of the electronic device changes when the electronic device is connected to the charging device for charging; see Fig.11 , Fig.11 Figures (a), (b) and (c) in the figure may be display formats of prompt windows when other system states except the sound playing state and the charging state change.
[0089] In some embodiments, the prompt information also includes an operation button, and the user can control the electronic device to perform the corresponding operation by triggering the operation button in the prompt information. For example, when the Bluetooth of the electronic device is switched from off to on, the electronic device is switched from an unconnectable state to a connectable state. When the electronic device detects a connectable smart home device, a prompt text can be displayed in the prompt window. The prompt text is used to prompt that a connectable smart device has been detected, and a confirmation connection button and a cancel connection button are displayed in the prompt window. When the user triggers the confirmation connection button, the electronic device is connected to the smart device. For another example, when the electronic device switches from an unconnected state to a connected state, a prompt text and a control button for the connected smart device can be displayed in the prompt window. When the electronic device detects that the user triggers the control button, it issues a control instruction corresponding to the control button.
[0090] Step S403: when the display time of the prompt information in the prompt window reaches a preset time, the prompt information is cancelled from being displayed in the prompt window.
[0091] If the prompt window is displayed all the time, it will affect the display of other content. Therefore, the display duration of the prompt information is set to a preset duration. For example, the preset duration is 3 seconds, 5 seconds or other durations. When the display duration of the prompt information in the prompt window reaches the preset duration, the prompt information is cancelled in the prompt window.
[0092] Optionally, for the prompt information used to indicate changes in different system states, the preset durations may be the same or different.
[0093] In some embodiments, the prompt information is canceled in the prompt window with a second animation effect, where the second animation effect is different from the first animation effect. For example, the second animation effect is a fade-out, a fly-out from the bottom of the prompt window, or the like.
[0094] Step S404, cancel the display of the prompt window.
[0095] When there is no need to display the prompt information, there is no need to display the prompt window either. Therefore, after cancelling the display of the prompt information, the prompt window is canceled.
[0096] It should be noted that the embodiment of the present disclosure only takes the example of first canceling the display of the prompt information and then canceling the display of the prompt window. In another embodiment, the display of the prompt information and the prompt window may be canceled at the same time.
[0097] Another point to be explained is that the display mode of the prompt window and the display mode of the prompt information provided by the embodiment of the present disclosure can configure the calling mode and data parameters corresponding to each prompt window, and the caller can directly call the calling mode and data parameters to realize the display process of the prompt information. The caller includes an operating system, an operating system-level service or business, etc., and the data parameters include the number, position, size, etc. of each area in the prompt window.
[0098] The disclosed embodiment provides a new type of prompting method through a prompt window, and the prompt information characterizing the changes in various system states is displayed in the prompt window, so that the prompting methods of various prompt information remain unified, and the prompt window is located at the top for easy viewing by users, avoiding being ignored by users, thereby improving the user experience. In addition, based on the layout in the display interface of the electronic device, the prompt window is displayed at the top of the display interface, which can reasonably and fully utilize the top space of the screen, and the prompt information is canceled after being displayed for a preset period of time, which has little effect on the display of information in the status bar, and will not affect the display of other areas in the display interface. In addition, different display formats can be set for different system states, so that layouts of multiple formats can be displayed in the prompt window, which has high flexibility and richness.
[0099] Fig.12 is a flowchart of a method for displaying prompt information according to an exemplary embodiment, which is executed by an electronic device, see Fig.12 , the method comprises the following steps:
[0100] Step S1201, display a prompt window.
[0101] The implementation of step S1201 refers to the above-mentioned step S401 and will not be described in detail here.
[0102] Step S1202: displaying first prompt information in a prompt window, where the first prompt information is used to indicate that a first system state has changed.
[0103] The display method of the first prompt information refers to the above step S402, which will not be repeated here.
[0104] Step S1203, when the display time of the first prompt information does not reach the preset time and a change in the second system state is detected, the first prompt information is canceled and a second prompt information is displayed in the prompt window, where the second prompt information is used to indicate that the second system state has changed.
[0105] In the embodiment of the present disclosure, when the first prompt message has not been canceled and the second prompt message needs to be displayed, that is, when the second system state changes within a preset time after the first system state changes, the first prompt message is canceled and the second prompt message is displayed in the prompt window.
[0106] For example, the first system state changes from a vibrating state to a silent state, and the corresponding first prompt message is displayed. Then, after 1 second, the charging state switches from being not connected to a charging device to being connected to a charging device. In this case, even if the display time of the first prompt message has not reached 3 seconds, the first prompt message will be cancelled and the second prompt message will be displayed.
[0107] The display method of the second prompt information refers to the above step S402, which will not be repeated here.
[0108] In the embodiment of the present disclosure, a suitable display method is provided for the situation where prompt information corresponding to two system states needs to be displayed in a short time, so that the user can understand different prompt information in a timely manner.
[0109] Fig.13 is a block diagram of a display device for prompt information according to an exemplary embodiment, which is configured in an electronic device, see Fig.13 , the device comprises:
[0110] The window display module 1301 is configured to display a prompt window, which is located at the top of the display interface of the electronic device;
[0111] The prompt information display module 1302 is configured to display prompt information in a prompt window. The prompt information is used to indicate that a system state has changed. The system state is a state that affects the working mode of the operating system.
[0112] In some embodiments, the window display module 1301 is configured to display a prompt window on the upper layer of the status bar, and the prompt window covers the entire status bar.
[0113] In some embodiments, the window display module 1301 is configured to display a prompt window matching the position based on the position of the front camera of the electronic device, so that the area in the prompt window displaying the prompt information will not be blocked by the front camera.
[0114] In some embodiments, the window display module 1301 is configured to display a prompt window in response to detecting a change in the system status.
[0115] In some embodiments, the prompt window includes at least one text display area and at least one image display area, and the prompt information display module 1302 is configured to display prompt text in the text display area and display a prompt image in the image display area; wherein the prompt image includes at least one of a static image and a dynamic image.
[0116] In some embodiments, the apparatus further comprises:
[0117] The first display cancellation module is configured to cancel the display of the prompt information in the prompt window when the display time of the prompt information in the prompt window reaches a preset time.
[0118] In some embodiments, the prompt information display module 1302 is configured to display the prompt information in the prompt window with a first animation effect;
[0119] The first display cancellation module is configured to cancel the display of the prompt information in the prompt window with a second animation effect.
[0120] In some embodiments, the apparatus further comprises:
[0121] The second display cancellation module is configured to cancel the display of the prompt window.
[0122] In some embodiments, the prompt information display module 1302 is configured to:
[0123] Displaying first prompt information in the prompt window, where the first prompt information is used to indicate that a state of the first system has changed;
[0124] When the display time of the first prompt information does not reach the preset time and a change in the second system state is detected, the first prompt information is canceled and the second prompt information is displayed in the prompt window, and the second prompt information is used to indicate that the second system state has changed.
[0125] In some embodiments, the prompt information display module 1302 is configured to display prompt information in a prompt window according to a display format that matches the system status.
[0126] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0127] An embodiment of the present disclosure further provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the method for displaying prompt information in the above embodiment.
[0128] Fig.14 is a block diagram of an electronic device 1400 according to an exemplary embodiment.
[0129] Reference Fig.14 , the electronic device 1400 may include one or more of the following components: a processing component 1402 , a memory 1404 , a power component 1406 , a multimedia component 1408 , an audio component 1410 , an input / output (I / O) interface 1412 , a sensor component 1414 , and a communication component 1416 .
[0130] The processing component 1402 generally controls the overall operation of the electronic device 1400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 1402 may include one or more modules to facilitate the interaction between the processing component 1402 and other components. For example, the processing component 1402 may include a multimedia module to facilitate the interaction between the multimedia component 1408 and the processing component 1402.
[0131] The memory 1404 is configured to store various types of data to support operations on the electronic device 1400. Examples of such data include instructions for any application or method operating on the electronic device 1400, contact data, phone book data, messages, pictures, videos, etc. The memory 1404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0132] The power supply component 1406 provides power to the various components of the electronic device 1400. The power supply component 1406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 1400.
[0133] The multimedia component 1408 includes a screen that provides an output interface between the electronic device 1400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1408 includes a front camera and / or a rear camera. When the electronic device 1400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0134] The audio component 1410 is configured to output and / or input audio signals. For example, the audio component 1410 includes a microphone (MIC), and when the electronic device 1400 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1404 or sent via the communication component 1416. In some embodiments, the audio component 1410 also includes a speaker for outputting audio signals.
[0135] I / O interface 1412 provides an interface between processing component 1402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0136] The sensor assembly 1414 includes one or more sensors for providing various aspects of status assessment for the electronic device 1400. For example, the sensor assembly 1414 can detect the open / closed state of the electronic device 1400, the relative positioning of components, such as the display and keypad of the electronic device 1400, and the sensor assembly 1414 can also detect the position change of the electronic device 1400 or a component of the electronic device 1400, the presence or absence of user contact with the electronic device 1400, the orientation or acceleration / deceleration of the electronic device 1400, and the temperature change of the electronic device 1400. The sensor assembly 1414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0137] The communication component 1416 is configured to facilitate wired or wireless communication between the electronic device 1400 and other devices. The electronic device 1400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0138] In an exemplary embodiment, the electronic device 1400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0139] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1404 including instructions, and the instructions can be executed by a processor 1420 of an electronic device 1400 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0140] The embodiments of the present disclosure also provide a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method for displaying prompt information in the above embodiments.
[0141] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0142] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A method for displaying prompt information, characterized in that: The method comprises: Displaying a prompt window, wherein the prompt window is located at the top of the display interface of the electronic device; Prompt information is displayed in the prompt window, where the prompt information is used to indicate that a system state has changed, and the system state is a state that affects the working mode of the operating system.
2. The method according to claim 1, characterized in that The displaying of the prompt window comprises: The prompt window is displayed on the upper layer of the status bar, and the prompt window covers the entire status bar.
3. The method according to claim 1, characterized in that The displaying of the prompt window comprises: Based on the position of the front camera of the electronic device, the prompt window matching the position is displayed so that the area in the prompt window displaying the prompt information is not blocked by the front camera.
4. The method according to claim 1, characterized in that: The display prompt window includes: In response to detecting that the system status has changed, the prompt window is displayed.
5. The method according to claim 1, characterized in that The prompt window includes at least one text display area and at least one image display area, and displaying prompt information in the prompt window includes: Displaying a prompt text in the text display area and a prompt image in the image display area; The prompt image includes at least one of a static image and a dynamic image.
6. The method according to claim 1, characterized in that The method further comprises: When the display time of the prompt information in the prompt window reaches a preset time, the prompt information is cancelled in the prompt window.
7. The method according to claim 6, characterized in that The displaying of prompt information in the prompt window includes: Displaying the prompt information in the prompt window with a first animation effect; The canceling the display of the prompt information in the prompt window includes: The prompt information is canceled from being displayed in the prompt window with a second animation effect.
8. The method according to claim 6, characterized in that The method further comprises: Cancels display of the prompt window.
9. The method according to claim 1, characterized in that: The displaying of prompt information in the prompt window includes: Displaying first prompt information in the prompt window, where the first prompt information is used to indicate that a state of the first system has changed; When the display time of the first prompt information does not reach the preset time and a change in the second system status is detected, the first prompt information is canceled and a second prompt information is displayed in the prompt window, where the second prompt information is used to indicate that the second system status has changed.
10. The method according to claim 1, characterized in that The displaying of prompt information in the prompt window includes: In the prompt window, the prompt information is displayed in a display format that matches the system status.
11. A display device for prompt information, characterized in that: The device comprises: A window display module, configured to display a prompt window, wherein the prompt window is located at the top of the display interface of the electronic device; The prompt information display module is configured to display prompt information in the prompt window, wherein the prompt information is used to indicate that a system state has changed, and the system state is a state that affects the working mode of the operating system.
12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 10.
13. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as claimed in any one of claims 1 to 10.
Citation Information
Patent Citations
Method and device for displaying status bar prompt message
CN104915091A
A message notification display method and a terminal
CN109101147A
Applet notification message processing method and device and computer storage medium
CN110113252A
Window level switching method and device, apparatus and storage medium
CN110286978A
Display device and information prompting method
CN112965677A