Search

CN-122019023-A - Display method and device

CN122019023ACN 122019023 ACN122019023 ACN 122019023ACN-122019023-A

Abstract

A display method and a device relate to the technical field of communication and are used for improving the convenience of user operation. The method comprises the steps that an electronic device displays a banner notification window and an interactive panel corresponding to the banner notification window, wherein the interactive panel is used for achieving all or part of functions of the banner notification window, the interactive panel is displayed on the left side of a display screen if the electronic device is in a left-hand operation state, and the interactive panel is displayed on the right side of the display screen if the electronic device is in a right-hand operation state. This can solve the problem of inconvenience in the banner notification operation.

Inventors

  • PAN XINGYU
  • LIANG CHAO
  • HE MINGXUAN
  • WANG ZHIYONG
  • HUANG JING
  • YAO LIYING
  • CHEN LIN
  • YANG JUN

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20250711

Claims (20)

  1. 1. A display method applied to an electronic device having a display screen, the method comprising: Displaying a banner notification window and an interactive panel corresponding to the banner notification window, wherein the interactive panel is used for realizing all or part of functions of the banner notification window; And if the electronic equipment is in a right-hand operation state, the interactive panel is displayed on the right side of the display screen.
  2. 2. The method of claim 1, wherein displaying the banner notification window and the interactive panel corresponding to the banner notification window comprises: and receiving a notification of the first application and displaying a banner notification window corresponding to the first application and the interactive panel.
  3. 3. The method of any of claims 1-2, wherein the interactive panel displays an instant message from a first user, the method further comprising: responding to the user operation acted on the interactive panel, and acquiring reply information input by the user; and sending the reply information to the first user.
  4. 4. The method of claim 3, wherein the obtaining reply information entered by the user in response to the user operation acting on the interactive panel comprises: Responding to the user operation which acts on the interactive panel and is used for triggering voice reply, and collecting the voice of the user; the sending the reply message to the first user includes: Ending voice collection and sending collected voice to the first user in response to user operation ending voice reply, or And responding to the user operation for ending the voice reply, ending voice collection, displaying a text corresponding to the voice, and responding to the user operation for confirming the transmission, and transmitting the voice and/or the text to the first user.
  5. 5. The method of any one of claims 1-4, wherein the banner notification window is for displaying notification information for a first application, the method further comprising: receiving a first user operation for the interactive panel, the first user operation for expanding the interactive panel into a window of the first application program; And responding to the first user operation, packing up the banner notification window, and displaying a first window, wherein the first window is a window of the first application program.
  6. 6. The method of claim 5, wherein the first user operation is an operation to slide the interactive panel, the method further comprising: And when the sliding distance reaches a first threshold value, playing vibration to prompt that the interactive panel is not unfolded into the window of the first application program if the sliding is ended.
  7. 7. The method of any one of claims 5-6, wherein the method further comprises: Receiving a second user operation acting on the first window, wherein the second user operation is used for collapsing the first window; Responding to the second user operation, packing up the first window and displaying the interactive panel; And if the electronic equipment is in a right-hand operation state, the interactive panel is displayed on the right side of the display screen.
  8. 8. The method of claim 7, wherein the second user operation is an operation to slide the first window, the method further comprising: And when the sliding distance reaches a third threshold value, playing vibration to prompt that the first window is not retracted if the sliding is ended.
  9. 9. The method of any one of claims 1-2, further comprising: receiving a third user operation on the interactive panel, the third user operation for collapsing the interactive panel; responding to the third user operation, packing up the interactive panel, and displaying a first control corresponding to the interactive panel, wherein the first control is used for displaying the interactive panel; The first control is displayed on the left side of the display screen if the interactive panel is displayed on the left side of the display screen, and the first control is displayed on the right side of the display screen if the interactive panel is displayed on the right side of the display screen.
  10. 10. The method as recited in claim 9, further comprising: In response to the third user operation, the banner notification window is reduced or collapsed.
  11. 11. The method of any one of claims 9-10, further comprising: When the electronic equipment is switched from a left-hand operation state to a right-hand operation state, the first control is switched from the left side of the display screen to the right side of the display screen, or When the electronic equipment is switched from a right-hand operation state to a left-hand operation state, the first control is switched from the right side of the display screen to the left side of the display screen.
  12. 12. The method of any one of claims 9-11, further comprising: receiving a fourth user operation acting on the first control, wherein the fourth user operation is used for expanding the interactive panel; Displaying the interactive panel in response to the fourth user operation; The interactive panel is displayed on the left side of the display screen if the first control is displayed on the left side of the display screen, and the interactive panel is displayed on the right side of the display screen if the first control is displayed on the right side of the display screen.
  13. 13. The method as recited in claim 12, further comprising: In response to the fourth user operation, displaying the collapsed banner notification window or expanding the contracted banner notification window.
  14. 14. The method of any of claims 8-11, wherein the banner notification window is for displaying notification information for a first application, the method further comprising: Receiving a fifth user operation on the hover bar, the fifth user operation for expanding the hover bar into a first window; and responding to the fifth user operation, packing up the banner notification window, and displaying a first window, wherein the first window is a full-screen window of the first application.
  15. 15. The method of claim 5 or 14, further comprising: Receiving a sixth user operation acting on the first window, the sixth user operation being used to collapse the first window; responding to the sixth user operation, packing up the first window, and displaying a suspension bar corresponding to the interaction panel; and if the electronic equipment is in a right-hand operation state, the suspension bar is displayed on the right side of the display screen.
  16. 16. The method of any one of claims 1-8, 12-13, further comprising: When the electronic equipment is switched from the left-hand operation state to the right-hand operation state, the interactive panel is switched from the left side of the display screen to the right side of the display screen, or When the electronic equipment is switched from a right-hand operation state to a left-hand operation state, the interactive panel is switched from the right side of the display screen to the left side of the display screen.
  17. 17. The method of any one of claims 1-8, 12-13, 16, further comprising: And when the electronic equipment is switched from the left-hand operation state or the right-hand operation state to the non-holding state, the interactive panel is retracted.
  18. 18. The method of any of claims 1-17, further comprising, after displaying the interactive panel: displaying a second window; If the second window and the display panel are positioned on the left side of the display screen, the display panel is moved to the lower side of the second window or to the right side of the second window; And if the second window and the display panel are positioned on the right side of the display screen, the display panel is moved to the lower side of the second window or to the left side of the second window.
  19. 19. The method of any one of claims 1-18, wherein a second window is displayed on the display screen prior to displaying the interactive panel; before displaying the interactive panel, further comprising: If the second window is displayed on the left side of the display and the using state of the electronic equipment is a left-hand operation state, closing the second window; and if the second window is displayed on the right side of the display and the using state of the electronic equipment is a right-hand operation state, closing the second window.
  20. 20. The method of any of claims 1-19, wherein the banner notification window is dimly displayed.

Description

Display method and device Technical Field The present application relates to the field of communications technologies, and in particular, to a display method and apparatus. Background Currently, multitasking parallelism may be supported on electronic devices. In some display schemes, after receiving the notification message, the electronic device may display a banner notification window through which the user may open an interface of the corresponding application program for a next operation. However, in some situations, the display method may be inconvenient for the user, for example, when the user holds the electronic device with a single hand, the user cannot conveniently use the right hand to operate the banner notification window. Disclosure of Invention The embodiment of the application provides a display method and a display device, which are used for improving the convenience of window operation, so that the user experience is improved. The embodiment of the application can be applied to electronic equipment, or modules or chips and other components in the electronic equipment. The electronic device has a display screen that can display a UI. The electronic device may be referred to as a User Equipment (UE), a terminal (terminal), or the like. For example, the electronic device may be a cell phone (e.g., a non-folding screen cell phone, or a folding screen cell phone), a tablet, a Personal Computer (PC), a super mobile personal computer (ultra-mobile personalcomputer, UMPC), a netbook, a personal digital assistant (personal digitalassistant, PDA), a handheld device with wireless communication capabilities, a computing device, a vehicle mounted device, or a wearable device, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in smart home (smart home), or the like. The display method is applied to electronic equipment with a display screen, and comprises the steps of displaying a banner notification window and an interactive panel corresponding to the banner notification window, wherein the interactive panel is used for achieving part or all of functions of the banner notification window, the interactive panel is displayed on the left side of the display screen if the electronic equipment is in a left-hand operation state, and the interactive panel is displayed on the right side of the display screen if the electronic equipment is in a right-hand operation state. In the above implementation manner, since the interactive panel may implement all or part of the functions of the banner notification window, and the position of the interactive panel is associated with the use state of the electronic device, that is, the interactive panel is located on the side that is convenient for the user to operate, the convenience of the user to operate can be improved, that is, the user can replace the operation with the banner notification window by operating the interactive panel. Optionally, the banner notification window is displayed on top of the display screen, or in a location not easily reached by other user's fingers. In one possible implementation, the displaying the banner notification window and the interactive panel corresponding to the banner notification window includes receiving a notification of a first application and displaying the banner notification window and the interactive panel corresponding to the first application. Specifically, when the notification of the first application is received, if the electronic device is in a holding state, a banner notification window corresponding to the first application and the interactive panel are displayed. In one possible implementation manner, when a notification of a first application is received, if the electronic device is in a non-holding state, a banner notification window corresponding to the first application is displayed, but the interactive panel is not displayed, and when the electronic device is switched from the non-holding state to the holding state, the interactive panel is displayed. In one possible implementation, the interactive panel is displayed on the right side of the display screen when the electronic device is switched from a non-holding state to a right-hand operating state, and/or the interactive panel is displayed on the left side of the display screen when the electronic device is switched from a non-holding state to a left-hand operating state. The above several implementations may exist together or one implementation may be selected. In one possible implementation, detecting or determining whether the electronic device is in a grip state may be implemented with a sensor on the electronic device. The purpose of distinguishing between holding and non-holding is to allow the user to click on the banner notification directly in a state of non-holding or to not provide effective operation support ev