WO2022143152A1 - 一种显示方法和电子设备 - Google Patents

一种显示方法和电子设备 Download PDF

Info

Publication number
WO2022143152A1
WO2022143152A1 PCT/CN2021/137914 CN2021137914W WO2022143152A1 WO 2022143152 A1 WO2022143152 A1 WO 2022143152A1 CN 2021137914 W CN2021137914 W CN 2021137914W WO 2022143152 A1 WO2022143152 A1 WO 2022143152A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification message
electronic device
display
displayed
interface
Prior art date
Application number
PCT/CN2021/137914
Other languages
English (en)
French (fr)
Inventor
杨诗姝
孙科
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022143152A1 publication Critical patent/WO2022143152A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Definitions

  • the embodiments of the present application relate to the field of electronic devices, and in particular, to a display method and electronic device.
  • FIG. 1 shows a schematic diagram of an interface including the display of superscripts.
  • the corner mark can be displayed in the upper right corner of the corresponding application.
  • the corner mark can be displayed in the upper right corner of the corresponding application.
  • a corner mark 101 may be displayed in the upper right corner of its icon.
  • a corner mark 102 may be displayed in the upper right corner of the information application icon.
  • the superscript may further include numerical information for prompting the user to notify the number of messages.
  • a corner mark 103 may be displayed in the upper right corner of its icon.
  • a corner mark 104 may be displayed in the upper right corner of the information application icon.
  • the user can open the corresponding application in order to view the details of the notification message. For example, the user can click on the application's icon.
  • the electronic device may run the application program to display the interface corresponding to the application program to the user, so as to facilitate the user to view the notification message.
  • the corner mark plays a role of prompting the user that the application of the electronic device has received the notification message.
  • users still need to open the app to see the content of the notification message. Therefore, the above solution does not substantially simplify the operation steps for the user to view the notification message, which makes the operation for the user to view the content of the notification message more complicated and inconvenient.
  • Embodiments of the present application provide a display method and electronic device, so that a user can view or process notification messages quickly and conveniently.
  • a display method is provided, which is applied to an electronic device installed with a first application program, the electronic device displays a first interface including a first icon on a display screen, and the first icon corresponds to the first application program, the method Including: displaying a first corner mark on the first icon, where the corner mark is used to prompt a notification message to be viewed.
  • a first touch operation on the first superscript is received.
  • a notification message list is displayed on the first interface, where the notification message list includes notification messages of the first application.
  • a second touch operation on the first notification message included in the notification message list is received.
  • the message details of the first notification message are displayed.
  • the touch operation (such as the first touch operation, etc.) may include, but is not limited to, a click operation such as a click or a double-click, and the touch operation may also Including long-press operations, and drag and drop operations. It can be understood that, the user can view the content of the corresponding notification message through the notification message list corresponding to the corner marker without opening the corresponding application program by entering the operation of the diagonal marker (such as the first corner marker).
  • the user may further operate the notification message list, such as inputting a second touch operation, to view the details of the corresponding notification message.
  • the notification message details may include different implementation manners.
  • the message details may be the message details displayed in the interface of the application program by opening the corresponding application program.
  • the message details may also be message details displayed on a self-built interface (such as a floating window, etc.) of the electronic device without opening the application. It can be seen that this solution provides rich interactive implementations, so that users can quickly and conveniently view notification messages through simple operations, and then process them.
  • displaying the list of notification messages on the first interface includes: floating and displaying on the first interface.
  • two specific display mechanisms of the notification message list are provided.
  • the notification message list may be displayed in a floating window, and the notification message list may also be displayed in the form of split-screen display.
  • the electronic device may display a first sub-interface and a second sub-interface on its display screen, the first sub-interface may be used to display a list of notification messages, and the second sub-interface may be used to display a main interface and the like.
  • a first touch operation on the first superscript is received.
  • displaying the notification message list on the first interface includes: receiving a drag operation to place the first superscript.
  • a notification message list is displayed at the end position of the drag operation.
  • another mechanism for displaying the notification message list is provided.
  • the first touch operation is a drag operation as an example.
  • the electronic device may display a list of notification messages at the drag end position where the user drags the first corner icon. It can be understood that the drag operation may include pressing (the initial coordinate corresponding to the first corner mark), dragging (the first corner mark) to another coordinate position (ie, the end position) on the display screen, and at the end position. Actions that leave the display.
  • the electronic device may display a list of notification messages corresponding to the first corner mark at the end position.
  • displaying the message details of the first notification message includes: displaying in the first interface.
  • another display mechanism of message details is provided.
  • the electronic device may grow and display the details of the message on the first interface based on the coordinates of the first corner marked on the display screen.
  • the growth display may include a dynamic effect in which the corresponding information box changes from small to large.
  • the message details can also be displayed in a floating window.
  • the details of the notification message may also be displayed in the form of a full screen or a split screen.
  • the mechanism of the split-screen display may be similar to the split-screen display in the above example.
  • the notification message details may be displayed on the first sub-interface after the split-screen, and the main interface (such as the first interface) may be displayed on the second sub-interface. )Wait.
  • a first touch operation on the first superscript is received.
  • displaying a list of notification messages on the first interface includes: receiving a click operation on the first corner icon.
  • a bubble box including a notification message list is displayed near the first corner mark, and the display area of the bubble box increases from the first threshold to the second threshold, and the first threshold is smaller than the second threshold.
  • a specific display solution of the notification message list is provided.
  • the list of notification messages can be displayed on the display screen in the form of a growing display.
  • the relevant information of the notification message list can be displayed in a bubble box, and the bubble box can be displayed in the form of dynamic effects from small to large during the display process.
  • a display method is provided, which is applied to an electronic device installed with a first application program, the electronic device displays a first interface including a first icon on a display screen, and the first icon corresponds to the first application program, the method Including: displaying a first corner mark on the first icon, where the corner mark is used to prompt a notification message to be viewed.
  • a first touch operation on the first superscript is received.
  • a second interface is displayed, the second interface includes N sub-interfaces, and the notification message details corresponding to the first sub-interface are displayed in any of the N sub-interfaces, and N is an integer greater than or equal to 2 .
  • the electronic device can display different notification messages on each sub-interface through split-screen display, so as to facilitate the user's viewing. It can be seen that, with this solution, the user only needs to input a simple touch operation to see the content of the notification message corresponding to the first corner icon on multiple sub-interfaces.
  • the touch operation (such as the first touch operation) may include, but is not limited to, a click operation such as a click or a double-click, and the touch operation may also include a long Press operation, and drag operation, etc.
  • the first touch operation includes an operation of dragging the first corner icon to the split screen area.
  • a specific first touch operation definition is provided.
  • the first touch operation may be an operation of dragging the first superscript.
  • the electronic device can display the notification message according to the split screen mechanism in the above example.
  • the display screen of the electronic device may include multiple areas, wherein different areas may correspond to different functions.
  • the multiple areas may include a split-screen area, and when the user drags the corner icon to the split-screen area and releases the corner marker, the electronic device can be triggered to perform the corresponding display of the corner marker according to the split-screen mechanism in the above example.
  • Notification message content is provided.
  • a split screen area and prompt information are displayed, and the prompt information is used to prompt the user to drag the corner icon to the split screen area.
  • the electronic device may display prompt information on the interface for prompting the location of the split screen area during the process of the user dragging the first corner icon. So that when the user wants to view the notification message corresponding to the corner marker in the form of split-screen display, he can accurately drag the corner marker to the split-screen area to trigger the split-screen display mechanism.
  • the prompt information may be set in the split screen area, or may be set outside the split screen area.
  • the first touch operation includes an operation of dragging the first superscript along a preset path.
  • another trigger mechanism for split-screen display is provided.
  • the first touch operation is a drag operation as an example.
  • the drag operation may correspond to a preset gesture, and the electronic device may trigger the split-screen display mechanism after the user inputs the preset gesture of the diagonal icon. It can be understood that, one or more preset gestures may be pre-stored in the electronic device, and the preset gestures may be preset in the electronic device or user-defined.
  • the electronic device When the electronic device detects that the drag operation of the diagonal icon input by the user can correspond to a preset gesture, if the function corresponding to the preset gesture is a split-screen display, then the electronic device can respond to the input of the preset gesture and respond to the preset gesture. Notification messages are displayed on a split screen. In other implementations, if the path corresponding to the drag operation is not user-defined, but a path corresponding to the split-screen display pre-stored in the system, the electronic device can also trigger the split-screen display mechanism based on this.
  • the number of notification messages corresponding to the first subscript is M
  • M is a positive integer
  • the details of the notification messages corresponding to the first subinterface displayed in any sub-interface of the N interfaces include: if M If less than or equal to N, the notification message details of the M notification messages are displayed on the M sub-interfaces among the N sub-interfaces, respectively.
  • a specific split-screen display mechanism is provided. In this example, when the number of notification messages corresponding to the first corner mark is less than the number of split screens, the details of the notification messages corresponding to each notification message can be displayed on the split screen, so that the user can quickly and intuitively view the details of each notification message. content.
  • the method further includes: displaying the first interface on any sub-interface among the N-M sub-interfaces. Based on this solution, after displaying the notification message details of all notification messages, if there is still a sub-interface that does not display the notification message details, then the main interface (such as the first interface) can be displayed on the sub-interface, so that the user can Continue to input operations to other controls on the main interface in the case of switching screens.
  • the number of notification messages corresponding to the first superscript is M, and M is a positive integer. If M is greater than N, the N sub-interfaces display N-1 notification message detail interfaces and a third interface respectively.
  • the notification detail interface is used to display the notification message details of any N-1 notification messages among the M notification messages, and the third interface is used to display multiple notification message abbreviated information, and the notification messages corresponding to the multiple notification message abbreviated information are different For N-1 notification messages that have already displayed the notification message details interface.
  • a split-screen display mechanism is provided in the case of a large number of notification messages.
  • the details of the notification message may be displayed on some sub-interfaces, and the abbreviated information of the notification message that cannot be displayed may be displayed on other sub-interfaces.
  • the abbreviated information may be displayed in the form of a card, or may be displayed in the form of a notification message list in the above example.
  • the number of notification messages corresponding to the first subscript is M, and M is a positive integer
  • the details of the notification messages corresponding to the first subinterface displayed in any sub-interface of the N interfaces include: if M If it is greater than N, the notification message details of N notification messages among the M notification messages are displayed on the N sub-interfaces respectively.
  • the method further includes: displaying a suspension ball on the second interface, where the suspension ball is used to indicate that there are still notification messages that are not displayed.
  • another split-screen display mechanism is provided when the number of notification messages is large.
  • the electronic device may display a notification message detail on each self-interface.
  • the floating ball may further include prompt information, and the prompt information may be used to identify the number of notification messages that are not displayed.
  • the method further includes: receiving a second touch operation on the levitating ball.
  • a notification message list is displayed on the second interface, and the notification message list includes notification messages that are not displayed.
  • a further operation and display mechanism for the floating ball corresponding to the undisplayed notification message is provided.
  • the electronic device can display the notification message that has not been displayed by other sub-interfaces. A list of notification messages for messages.
  • the user can intuitively view the content of the notification message that has not been displayed.
  • the method further includes: receiving a third touch operation, where the third touch operation is an operation of the first notification message in the notification message list.
  • the notification message details of the first notification message are displayed instead.
  • the user can input a third touch operation (such as a drag operation) to the corresponding notification message in the notification message list. , drag the notification message onto a certain sub-interface, and accordingly, the electronic device can replace the notification message details already displayed on the sub-interface with the notification message details corresponding to the dragged notification message.
  • a third touch operation such as a drag operation
  • the electronic device is further installed with a second application program
  • the first interface further includes a second icon
  • the second icon corresponds to the second application program, when the second application program receives the notification message , on the first interface, a second corner mark is displayed on the second icon.
  • the method further includes: receiving a fourth touch operation, where the fourth touch operation is an operation on the second subscript, and in response to the fourth touch operation, displaying a third interface to replace the display of the first interface, wherein the third interface Include the notification message details corresponding to the second superscript, or, the third interface includes the notification message list corresponding to the second superscript.
  • the electronic device can perform corresponding display by receiving the user's operation on the controls on the main interface. For example, when the user inputs a touch operation (such as a click operation) to the second corner icon on the first interface, the electronic device may display a notification corresponding to the second corner icon on the sub-interface on which the first interface is displayed message list, or display the notification message corresponding to the second subscript in other forms.
  • a touch operation such as a click operation
  • a display method is provided, which is applied to a first electronic device on which a first application program is installed, and a second electronic device.
  • the first electronic device displays a first interface including a first icon on the display screen, and the first icon corresponds to the first application.
  • the method includes: displaying a first corner mark on the first icon, where the corner mark is used to prompt to be viewed notification message.
  • the first electronic device receives a first operation, and the first operation is an operation on the first subscript.
  • the first electronic device acquires a notification message corresponding to the first superscript.
  • the second electronic device receives the second operation, and in response to the second operation, the second electronic device displays the first superscript on the interface.
  • a solution for viewing notification information corresponding to a corner marker on multiple devices Take viewing the notification message corresponding to the superscript on the first electronic device through the second electronic device as an example.
  • the user may input a first operation for the first subscript on the display screen of the first electronic device.
  • the first operation may be that the user uses the stylus to touch the first corner mark, and the user inputs a corresponding operation (eg, a suction operation) to the stylus.
  • a corresponding operation eg, a suction operation
  • the first electronic device After receiving the first operation, the first electronic device can initiate a multi-device display mechanism, for example, obtain a notification message corresponding to the first corner mark. After acquiring the notification message, the first electronic device can send the notification message to a second electronic device that meets the requirements (eg, a device in the trust list of the first electronic device), so that it can be viewed on the second electronic device . Thereafter, the user may input a second operation on the second electronic device. Continuing to take the user inputting the second operation using the stylus as an example, the second operation may include the user's operation on the second electronic device (eg, a touch operation) and an operation on the stylus (eg, a release operation).
  • the second operation may include the user's operation on the second electronic device (eg, a touch operation) and an operation on the stylus (eg, a release operation).
  • the stylus can transmit information corresponding to the release operation to the second electronic device, so that the second electronic device knows that the user has input the second operation.
  • the second electronic device can correspondingly trigger the cross-device display mechanism, for example, display the first corner icon obtained from the first electronic device at the position where the user inputs the touch operation.
  • the user wants to view the content of the notification message corresponding to the first subscript, he or she can input a corresponding operation in combination with the operation mode of the first subscript in the above example, and the second electronic device can display it accordingly.
  • the notification message on the first electronic device can be viewed on the second electronic device, which significantly improves the user's convenience in viewing and processing notification messages in a cross-device application scenario.
  • the first corner mark displayed on the second electronic device may be a logo with the same appearance as the first corner mark displayed on the first electronic device.
  • the first corner mark displayed on the second electronic device The superscript may also be different in appearance from the first superscript displayed on the first electronic device. Even if displayed in different appearances, the notification message corresponding to the first superscript displayed on the second electronic device corresponds to the notification message of the first superscript displayed on the first electronic device.
  • the second electronic device is in the same local area network as the first electronic device.
  • the method further includes: the second electronic device obtains a notification message corresponding to the first superscript from the first electronic device through the local area network. Based on the solution, a mechanism is provided for the second electronic device to obtain the notification message corresponding to the first superscript.
  • the second electronic device may be an electronic device in the same local area network as the first electronic device. In some examples, the second electronic device may obtain the notification message corresponding to the first superscript through a direct connection with the first electronic device.
  • the notification message corresponding to the first subscript may be directly sent by the first electronic device to the second electronic device after receiving the first operation, or may be the first electronic device After receiving the first operation, the device forwards it to the second electronic device through other intermediate nodes.
  • the notification message of the first superscript may also be obtained by the second electronic device from the first electronic device after receiving the second operation.
  • the method further includes: the second electronic device receives a touch operation, where the touch operation is an operation on the first superscript on the interface displayed by the second electronic device.
  • the second electronic device displays the notification message details corresponding to the first superscript, or the second electronic device displays a notification message list corresponding to the first superscript.
  • a display mechanism for viewing a notification message corresponding to a first superscript on a second electronic device is provided.
  • the second electronic device may display the notification message in the form of a notification message list, or directly display the details of the corresponding notification message, according to the touch operation on the first corner icon input by the user.
  • the method further includes: the second electronic device receives a drag operation on the first superscript, and in response to the drag operation, the second electronic device displays at least two sub-interfaces, wherein the two sub-interfaces respectively display and The notification message details corresponding to the first label.
  • the solution for displaying the notification details of the first subscript on the second electronic device may also be displayed based on a split-screen mechanism.
  • the mechanism of the split-screen display may be implemented with reference to any possible implementation of the second aspect and its possible designs in the foregoing example.
  • the first electronic device receiving the first operation includes: the first electronic device receiving an operation of touching the first superscript, and the first electronic device also receiving a suction instruction from an external input device.
  • the user can input the first operation by inputting the operation on the first electronic device and the input device (eg, a touch pen). After the stylus pen receives the adsorption operation, a adsorption instruction may be sent to the first electronic device, so that the first electronic device can determine that the first operation of the user has been received.
  • the second electronic device receives the second operation, including: the second electronic device receives an operation of touching the display screen of the second electronic device, and the second electronic device also receives a release instruction from an external input device.
  • the second electronic device determines that the second operation of the user is received.
  • the second electronic device may directly receive a touch operation input by the user, and the user may also input a release operation to the stylus, and the input of the second operation has been completed.
  • the stylus can send a release instruction to the second electronic device, so that the second electronic device can know that the user has input the second operation. operation to perform subsequent operations.
  • an electronic device comprising: one or more processors and a memory.
  • the memory is coupled to one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, when the one or more processors execute the computer instructions, the electronic device performs as described in the first aspect and possible designs thereof.
  • a computer storage medium comprising computer instructions, when the computer instructions are executed on an electronic device, the electronic device is made to perform the display method described in any one of the first aspect and its possible designs, or, The display method as described in any one of the second aspect and its possible designs is performed, or the display method as described in any one of the third aspect and its possible designs is performed.
  • a sixth aspect provides a computer program product, the computer program product includes instructions, when the computer program product is run on a computer, the computer can execute according to the instructions as described in any one of the first aspect and its possible designs
  • the display method either executes the display method as described in any one of the second aspect and its possible designs, or executes the display method as described in any one of the third aspect and its possible designs.
  • a chip system in a seventh aspect, includes an interface circuit and a processor; the interface circuit and the processor are interconnected through a line; the interface circuit is used to receive a signal from a memory and send a signal to the processor, and the signal includes a signal stored in the memory.
  • Computer instructions when the processor executes the computer instructions, the chip system executes the display method described in any one of the first aspect and its possible designs, or executes the display method described in any one of the second aspect and its possible designs. The display method described above, or the display method described in any one of the third aspect and its possible designs is performed.
  • Fig. 1 is the interface schematic diagram of a kind of electronic equipment
  • Fig. 2 is a kind of operation schematic diagram of diagonal marker
  • FIG. 3 is a schematic diagram of the composition of an electronic device according to an embodiment of the present application.
  • FIG. 4 is a schematic interface diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a display method provided by an embodiment of the present application.
  • FIG. 6 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a growth display provided by an embodiment of the present application.
  • FIG. 8 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another notification message list provided by an embodiment of the present application.
  • FIG. 10 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 11 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 12 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 13 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 14 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 15 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • 16 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 17 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 18 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 19 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • 20 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 21 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • 22 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 23 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 24 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 25 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 26 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 27 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 28 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • 29 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 30 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 31 is a schematic flowchart of another display method provided by an embodiment of the present application.
  • 32 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • 33 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 34 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 35 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 36 is a schematic interface diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 37 is a schematic diagram of the composition of another electronic device provided by an embodiment of the present application.
  • FIG. 38 is a schematic diagram of the composition of a chip system according to an embodiment of the present application.
  • the electronic device may display a corner mark on the icon of the application program, so that the user can quickly know that the corresponding application program has received the notification message through the corner mark.
  • a corner mark on the icon of the application program
  • the electronic device can run the APP correspondingly, and display the corresponding interface, so that the user can view the details of the notification message through the interface, or perform further processing on the notification message.
  • the electronic device may provide the following solution to simplify the steps for the user to view the notification message.
  • the electronic device may set a hot zone near the corner mark, so that when the user inputs a long-press operation on the hot zone, the electronic device may display a notification message on the interface.
  • FIG. 2 a schematic diagram of the operation of a corner mark provided with a hot zone is shown.
  • a corner mark 202 may be displayed on the icon 201 of the APP.
  • the corner mark 202 can be filled with red or other colors, which is used to enhance that the user's current APP has received a notification message.
  • the electronic device may activate the hot zone. As shown in FIG. 2 , after the hot zone is activated, the superscript can be switched from the filling state shown by superscript 202 to the activated state shown by superscript 204 . The electronic device may display a notification message on its interface after the hot zone is activated.
  • the electronic device can display the notification message to the user without opening the APP.
  • the range of the hot zone is not directly displayed to the user on the interface, so that the user may not be able to implement the above solution because he does not know the range of the hot zone.
  • the above solutions only provide a solution that can display the notification message to the user, for example, the notification message list is displayed on the interface to realize the situation of displaying the notification message to the user.
  • the user wants to view the details of the notification message or process the notification message he still needs to open the APP to do so. Therefore, there is still some inconvenience for the user.
  • an embodiment of the present application provides a display method.
  • a variety of different interaction implementations between electronic devices and users are provided, so that users can view or process notification messages quickly and conveniently.
  • the electronic device may be a portable mobile device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), an augmented reality (AR) ⁇ virtual reality (VR) device, and a media player.
  • PDA personal digital assistant
  • AR augmented reality
  • VR virtual reality
  • the electronic device may also be a wearable electronic device such as a smart watch.
  • the specific form of the device is not particularly limited in this embodiment of the present application.
  • FIG. 3 shows a schematic composition diagram of an electronic device 300 provided by an embodiment of the present application.
  • the electronic device 300 may include a processor 301, an external memory interface 302, an internal memory 303, a universal serial bus (USB) interface 304, a charging management module 305, a power management module 306, a battery 307, antenna, communication module 308, audio module 309, sensor module 310, button 311, motor 312, indicator 313, camera 314, display screen 315, etc.
  • USB universal serial bus
  • the electronic device 300 may further include a subscriber identification module (subscriber identification module, SIM) card interface and the like.
  • the communication module 308 may include a mobile communication module and/or a wireless communication module.
  • the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 300 .
  • the electronic device 300 may include more or fewer components than shown, or some components may be combined, or some components may be split, or a different arrangement of components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors 310 .
  • the ISP may process the image, for example, the processing may include automatic exposure (Automatic Exposure), automatic focus (Automatic Focus), automatic white balance (Automatic White Balance), denoising, backlight compensation , color enhancement, etc. Among them, the automatic exposure, automatic focus, and automatic white balance processing can also be called 3A processing. After processing, the ISP can obtain the corresponding photos.
  • the controller may be the nerve center and command center of the electronic device 300 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 310 for storing instructions and data.
  • the memory in processor 310 is a cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 310 . If the processor 310 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided, and the waiting time of the processor 310 is reduced, thereby increasing the efficiency of the system.
  • processor 310 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the electronic device 300 can realize the shooting function through the ISP, the camera 314, the video codec, the GPU, the display screen 315 and the application processor.
  • the ISP is used to process the data fed back by the camera 314 .
  • the shutter is opened, the light is transmitted to the photosensitive element of the camera 314 through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera 314 transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 314 .
  • Camera 314 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 300 may include 1 or N cameras 314 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 300 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, and the like.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 300 may support one or more video codecs.
  • the electronic device 300 can play or record videos in various encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 300 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the charging management module 305 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 305 may receive charging input from the wired charger through the USB interface 304 .
  • the charging management module 305 may receive wireless charging input through a wireless charging coil of the electronic device 300 . While the charging management module 305 charges the battery 307 , the electronic device 300 can also be powered by the power management module 306 .
  • the power management module 306 is used for connecting the battery 307 , the charging management module 305 and the processor 310 .
  • the power management module 306 receives input from the battery 307 and/or the charge management module 305, and supplies power to the processor 310, the internal memory 303, the external memory, the display screen 315, the camera 314, and the wireless communication module.
  • the power management module 306 can also be used to monitor parameters such as the capacity of the battery 307 , the number of cycles of the battery 307 , and the health status (leakage, impedance) of the battery 307 .
  • the power management module 306 may also be provided in the processor 310 .
  • the power management module 306 and the charging management module 305 may also be provided in the same device.
  • the wireless communication function of the electronic device 300 may be implemented by an antenna, a mobile communication module, a wireless communication module, a modem processor 310, a baseband processor 310, and the like.
  • Antennas are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 300 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antennas can be multiplexed into the diversity antennas of the wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module can provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 300 .
  • the mobile communication module may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module can receive electromagnetic waves from the antenna, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through the antenna.
  • at least part of the functional modules of the mobile communication module may be provided in the processor 310 .
  • at least part of the functional modules of the mobile communication module may be provided in the same device as at least part of the modules of the processor 310 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to speakers, receivers, etc.), or displays images or videos through the display screen 315 .
  • the modem processor may be a stand-alone device.
  • the modulation and demodulation processor may be independent of the processor 310, and may be provided in the same device as the mobile communication module or other functional modules.
  • the wireless communication module can provide applications on the electronic device 300 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module may be one or more devices integrating at least one communication processing module.
  • the wireless communication module receives the electromagnetic wave via the antenna, frequency modulates and filters the electromagnetic wave signal, and sends the processed signal to the processor 310 .
  • the wireless communication module can also receive the signal to be sent from the processor 310, perform frequency modulation on it, amplify it, and radiate it into electromagnetic waves through the antenna
  • the antenna of the electronic device 300 is coupled with the mobile communication module, and the wireless communication module is coupled, so that the electronic device 300 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the antenna may include one or more different sub-antennas. Each sub-antenna can work in the same or different frequency bands to realize wireless communication between electronic devices and other devices.
  • the electronic device 300 implements a display function through a GPU, a display screen 315, an application processor 310, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 315 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 310 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 315 is used to display images, videos, and the like.
  • the display screen 315 includes a display panel.
  • the display panel can use a liquid crystal display 315 (liquid crystal display, LCD), an organic light-emitting diode (organic light-emitting diode, OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • light emitting diode, AMOLED organic light-emitting diode
  • flexible light emitting diode flex light-emitting diode, FLED
  • Miniled MicroLed, Micro-oLed, quantum dot light emitting diode (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 300 may include one or N display screens 315 , where N is a positive integer greater than one.
  • the external memory interface 302 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 300.
  • the external memory card communicates with the processor 310 through the external memory interface 302 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 303 may be used to store computer executable program code including instructions.
  • the processor 310 executes various functional applications and data processing of the electronic device 300 by executing the instructions stored in the internal memory 303 .
  • the internal memory 303 may include a storage program area and a storage data area.
  • the storage program area may store an operating system, an APP required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 300 and the like.
  • the internal memory 303 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the electronic device 300 may implement audio functions through the audio module 309, and the like. Such as music playback, recording, etc.
  • the keys 311 include a power-on key, a volume key, and the like.
  • the keys 311 may be mechanical keys 311 .
  • the touch key 311 may also be used.
  • the electronic device 300 may receive the key 311 input, and generate the key signal input related to the user setting and function control of the electronic device 300 .
  • Motor 312 can generate vibrating cues.
  • the motor 312 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects.
  • the motor 312 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 315 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 313 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface is used to connect the SIM card.
  • the SIM card can be contacted and separated from the electronic device 300 by being inserted into the SIM card interface or pulled out from the SIM card interface.
  • the electronic device 300 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface can support Nano SIM card, Micro SIM card, SIM card, etc.
  • the same SIM card interface can insert multiple cards at the same time.
  • the types of the plurality of cards may be the same or different.
  • the SIM card interface can also be compatible with different types of SIM cards.
  • the SIM card interface is also compatible with external memory cards.
  • the electronic device 300 interacts with the network through the SIM card to realize functions such as calls and data communication.
  • the electronic device 300 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 300 and cannot be separated from the electronic device 300 .
  • the sensor module 310 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an environmental sensor Light sensor, bone conduction sensor, etc.
  • Touch sensor also known as "touch panel”.
  • the touch sensor may be disposed on the display screen 315, and the touch sensor and the display screen 315 form a touch screen, also called a "touch screen”.
  • a touch sensor is used to detect touch operations on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • visual output related to touch operations may be provided via display screen 315 .
  • the touch sensor may also be disposed on the surface of the electronic device 300 , which is different from the position where the display screen 315 is located.
  • the pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • a pressure sensor may be provided on the display screen 315 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor, the capacitance between the electrodes changes.
  • the electronic device 300 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 300 detects the intensity of the touch operation according to the pressure sensor.
  • the electronic device 300 may also calculate the touched position according to the detection signal of the pressure sensor.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor can be used to determine the motion attitude of the electronic device 300 .
  • the angular velocity of the electronic device 300 about three axes may be determined by a gyro sensor.
  • a gyro sensor can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor detects the shaking angle of the electronic device 300, calculates the distance to be compensated by the lens module according to the angle, and allows the lens to counteract the shaking of the electronic device 300 through reverse motion to achieve anti-shake.
  • the gyroscope sensor can also be used for navigation, somatosensory game scenes.
  • Air pressure sensors are used to measure air pressure.
  • the electronic device 300 calculates the altitude through the air pressure value measured by the air pressure sensor to assist in positioning and navigation.
  • Magnetic sensors include Hall sensors.
  • the electronic device 300 can detect the opening and closing of the flip holster using a magnetic sensor.
  • the electronic device 300 can detect the opening and closing of the flip according to the magnetic sensor.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor can detect the magnitude of the acceleration of the electronic device 300 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 300 is stationary. It can also be used for recognizing the posture of the electronic device 300, and can be used in applications such as horizontal and vertical screen switching, and pedometers.
  • the electronic device 300 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 300 can use a distance sensor to measure the distance to achieve fast focusing.
  • Proximity light sensors may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 300 emits infrared light to the outside through the light emitting diode.
  • Electronic device 300 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 300 . When insufficient reflected light is detected, the electronic device 300 may determine that there is no object near the electronic device 300 .
  • the electronic device 300 can use the proximity light sensor to detect that the user holds the electronic device 300 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor is used to sense ambient light brightness.
  • the electronic device 300 can adaptively adjust the brightness of the display screen 315 according to the perceived ambient light brightness.
  • the ambient light sensor can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor can also cooperate with the proximity light sensor to detect whether the electronic device 300 is in the pocket to prevent accidental touch.
  • the fingerprint sensor is used to collect fingerprints.
  • the electronic device 300 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering incoming calls with fingerprints, and the like.
  • a temperature sensor is used to detect temperature.
  • the electronic device 300 uses the temperature detected by the temperature sensor to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor exceeds a threshold, the electronic device 300 reduces the performance of the processor 310 located near the temperature sensor, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 300 heats the battery 307 to avoid abnormal shutdown of the electronic device 300 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 300 boosts the output voltage of the battery 307 to avoid abnormal shutdown caused by low temperature.
  • Bone conduction sensors can acquire vibration signals.
  • the bone conduction sensor can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor can also contact the human pulse and receive the blood pressure beating signal.
  • the bone conduction sensor can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 309 can parse out the voice signal based on the vibration signal of the voice part vibrating bone mass obtained by the bone conduction sensor, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor, so as to realize the function of heart rate detection.
  • the electronic device 300 shown in FIG. 3 can receive operations input by a user with a finger through a touch screen, such as pressing, clicking, dragging, and preset gestures.
  • the electronic device 300 may also receive operations input by the user through other external input devices.
  • the electronic device 300 may receive operations such as pressing, clicking, dragging, and preset gestures input by the user using a stylus.
  • the electronic device 300 may receive an operation or instruction input by the user using an external input device such as a mouse or a keyboard connected to the electronic device 300 through a wired or wireless connection.
  • This embodiment of the present application does not limit the form in which the electronic device receives the user's input operation.
  • the electronic device 300 may run an operating system, and the operating system may be an Android operating system, a Windows operating system, an IOS operating system or other operating systems.
  • the operating system may be an Android operating system, a Windows operating system, an IOS operating system or other operating systems.
  • one or more applications can be installed.
  • the application may include a third-party application, for example, the third-party application may include an instant messaging application, such as WeChat TM (or WeChat TM ), Welink TM and the like.
  • the application may also include system applications such as phone calls, messages, etc.
  • the electronic device having the composition as shown in FIG. 3 can prompt the user that the corresponding APP has received the notification message through the corner mark on the interface thereof.
  • the APP can be a third-party application or a system application.
  • FIG. 4 shows a schematic diagram of an interface for prompting an application to receive a notification message through a corner mark.
  • a corner mark 401 may be displayed in the upper right corner of its icon.
  • the superscript 401 may include numerical information. The numerical information may correspond to the number of notification messages received by WeChat TM .
  • the electronic device can intuitively display to the user the number of notification messages received by WeChat TM .
  • a corner mark 402 may be displayed in the upper right corner of its icon.
  • the subscript 401 which will not be repeated here.
  • the APP in the folder folder 1 on the interface shown in FIG. 4
  • the corresponding corner can also be displayed in the upper right corner of the icon of the folder mark, so that the user can know that the APP in the folder 1 has also received the notification message through the mark, and the processing method of the mark corresponding to the folder will be described later.
  • the user can input with a finger, or a mouse, keyboard, or stylus connected to the electronic device. Take the user input via the mouse as an example.
  • the electronics can recognize that the mouse is connected/proximity, and in turn notify the hotspot to activate.
  • the activated hot zone can receive the operation input by the user, and display the notification message to the user in the form of a list or a floating window or a split screen according to the operation input by the user.
  • the electronic device may not activate the hot zone to avoid misoperation.
  • the electronic device can receive and recognize the user's operation within the hot zone. For example, a hot zone range corresponding to the corner marker may be set near the corner marker. The electronic device determines that the user has input the operation of the diagonal marker when determining the touch operation of the user using the finger to the area of the hot area of the diagonal marker. It should be noted that, in this embodiment of the present application, the touch operation may include a press operation or a click operation.
  • the electronic device can select a corresponding display mode (such as a list, a floating window, or a split screen) according to the user's operation on the hot zone (or operation of a diagonal marker), and display the notification message to the user.
  • a corresponding display mode such as a list, a floating window, or a split screen
  • FIG. 5 is a schematic flowchart of a display method according to an embodiment of the present application. As shown in Figure 5, the method may include:
  • the electronic device may display the detailed content of the notification message in the form of a list on the interface according to the first operation input by the user.
  • the first operation may be that the user uses a finger to long press the upper right area of the icon.
  • the electronic device may determine that the user has input the first operation.
  • the electronic device can distinguish the difference between the false trigger (or click) and the first operation input by the user through a preset time period. For example, when the user presses the corresponding area with the finger for a duration shorter than the preset duration, the electronic device may consider that the current trigger is a false trigger and do not respond to the operation.
  • the electronic device may consider that the current user has input the first operation, and in response to the operation, the electronic device may perform S502, that is, display a notification on the interface. message list.
  • the first operation may also be an operation in which the user touches the hot area of the corner mark with a stylus.
  • the first operation may also be an operation in which the user moves the mouse to the position of the corner mark and long presses the left button.
  • the electronic device can display the notification message list on the interface, so that the user can view the detailed content of the notification message without opening the application.
  • FIG. 6 shows a schematic diagram of an interface including a notification message list.
  • the electronic device is a tablet computer
  • the first operation is an operation in which the user uses a touch pen to touch the corner mark as an example for description.
  • an interface 601 may be displayed on the display screen of the tablet computer. It can be seen that on the interface 601, icons of multiple application programs are displayed. It can include the icon of WeChat TM . In the upper right corner of the WeChat TM icon, there is a corner mark including the digital information "4". Through the corner icon displayed on the tablet, the user can know that WeChat TM has currently received 4 notification messages. When the user wants to view the details of the notification message, they can use the stylus to touch the corner icon. In response to this operation, the tablet computer may switch the displayed content to interface 602 . In this interface, a notification message list 603 may be included. The notification message list 603 may include detailed contents of the above four notification messages. In this example, the notification message list 603 may be displayed to the user by growing out of a corner marker.
  • the growth (or growth display) referred to in this application is exemplified below.
  • the process of growing and displaying may correspond to the process of changing and displaying the area of the notification message list from small to large.
  • FIG. 7 a schematic diagram of growing and displaying a list of notification messages is shown.
  • the notification message list can gradually grow from small to large with the position of the corner marker on the screen as the base point, and stop when its size reaches a preset size grow.
  • the content can be displayed as the message list box gradually becomes larger. In this way, after touching the corner marker, the user can clearly know that the content in the notification message list corresponds to the touched corner marker through the above-mentioned growth process, so as to obtain the content of the notification message more accurately.
  • the description is given by taking the notification message list growing and displaying from the corner mark as an example.
  • the notification message may also be displayed in a floating window.
  • the first operation when using a stylus for input, may also be other operations different from using touch or click. operate.
  • a user can use a stylus to drag and drop a corner marker.
  • FIG. 8 another schematic diagram of an interface including a notification message list provided by an embodiment of the present application.
  • the user can use the stylus to drag and drop the corner marker.
  • the user can control the stylus to touch at the corner marker position, and then control the stylus to drag in any other direction (for example, drag the stylus to the right along the dotted arrow shown in Figure 8) while keeping the touch.
  • the electronic device can control the corner marker to move on the display screen with the dragging of the stylus until it is detected that the stylus stops touching (that is, the user controls the stylus to leave the display screen of the electronic device) .
  • the electronic device may display a floating window at the position where the stylus stops touching (that is, the end position of the corner marker moving on the display screen with the stylus), and display a list of notification messages to the user in the floating window.
  • the position of the floating window corresponds to the position where the stylus stops touching. In other implementations, the position of the floating window may also be irrelevant to the position where the stylus stops touching.
  • the electronic device receives the first operation of the user dragging the corner marker, and the operation of dragging the corner marker may be in any direction.
  • a floating window may be displayed at a preset position, and a list of notification messages is displayed to the user in the floating window.
  • the tablet computer can display a list of notification messages on the interface, and by displaying the content of each notification message to the user in the list, the user can intuitively understand the details of the notification message.
  • FIG. 9 shows an example of a notification message. Among them, take the display of 4 notification messages in the list as an example.
  • each notification message can correspond to a row of message columns.
  • the sender information of the corresponding notification message can be displayed.
  • the sender information may include its avatar, and/or nickname, and/or notification message details. For example, as shown in FIG.
  • the nickname of the message sender is Momo, and its avatar is displayed at the same time, so that the user can intuitively and accurately determine the identity of the other party.
  • the specific content of the message such as "Okay” can also be displayed. It can be understood that the user can intuitively and accurately understand the relevant content of the notification message in combination with the nickname, avatar and information content of the message sender.
  • other notification messages may also be displayed. For example, Mick sent: “Day shift or night shift next week?", Lucy sent: “The weather is cold recently, wear more clothes when going out”, and Andy sent “Can you help me ask for a leave next Monday?” and other messages.
  • the user can further operate the notification message list shown in the growing display on the interface as shown in FIG. 6 , or operate the notification message displayed in the floating window as shown in FIG. 8 on the interface. Action to get the details of the notification message.
  • the user's input operation through a stylus pen is used as an example for description.
  • the electronic device can also receive other operations input by the user, for example, the operation can be using a finger, an external input device (a mouse, a mouse, a computer, etc.) and other input methods.
  • the response method of the electronic device can refer to the operation input by the stylus pen.
  • the specific implementation is the same in the same general idea, but may be slightly different in the specific realization form, which should also be included in the embodiments of this application. within the scope of protection required. Therefore, the response to other input methods will not be repeated.
  • the electronic device may display corresponding content to the user using one of at least two different display schemes.
  • the notification message corresponding to the message column 1 is the chat content with Momo in the instant chat application. Therefore, in response to the operation input by the user, the electronic device can notify the user on its interface. Displays the chat details with Momo corresponding to the message column 1.
  • the electronic device may display the specific content of the notification message corresponding to the message column 1 in the floating window in response to the user's operation of clicking on the message column 1. For example, referring to FIG. 10 , the electronic device may display the detailed chat details corresponding to the message column 1 in the floating window in response to the operation on the message column 1 input by the user. Through the detailed chat details, the user can see the conversation between the two parties before receiving the notification message sent by Momo, as well as the time and other information, which is more helpful for the user to understand all the content related to the notification message.
  • the position of the floating window may be preset, or may be correspondingly determined according to the position of the message column 1 on the interface. For example, the center position of the floating window may coincide with the center of the message column 1 .
  • the size of the floating window may be preset, or may be flexibly set by the electronic device according to the content to be displayed, or the size and/or size of the floating window may also be set by the user. This embodiment of the present application does not limit this.
  • the floating window used for displaying the message column 1 in FIG. 10 may be the same as the floating window shown in FIG. 8 .
  • the position and/or size of the floating window in FIG. 10 may also be different from the floating window shown in FIG. 8 .
  • the electronic device may display the chat details corresponding to the message column 1 in full screen in response to the user's operation of clicking on the message column 1. For example, with reference to FIG. 10 , the electronic device may display the corresponding chat details in full screen on the display screen.
  • the electronic device can flexibly select one of the above two display schemes, and the selection process can be preset, user-configured, or determined according to other environmental conditions.
  • the electronic device can obtain the chat details corresponding to the message column 1 through different channels.
  • the electronic device can obtain the corresponding chat details by continuously monitoring the notification message of the application program (eg, WeChat TM ) corresponding to the message column 1 .
  • the electronic device can obtain the chat details according to the information obtained by monitoring, and display them in a floating window or in a full screen.
  • the electronic device can obtain the chat details and display them to the user without opening the WeChat TM application.
  • the electronic device may open a corresponding application (eg, WeChat TM ) when it needs to display the chat details, so as to obtain and display the chat details through the cache corresponding to the WeChat TM application or the corresponding application server.
  • an electronic device adopts a display scheme as an example. While displaying the chat details corresponding to the message column 1 in the full screen, a floating ball (not shown in the figure) can also be displayed on the interface, and the floating ball can include prompt information to remind the user that outside the current chat displayed in the full screen , there are other notification messages that have not been viewed. For example, there are a total of N notification messages including the chat currently displayed in the full screen as an example.
  • a floating ball can be displayed at any position (or a preset position) on the interface.
  • N-1 notification messages can be viewed.
  • the user wants to view N-1 notification messages, he can operate the floating ball.
  • the user can input an operation such as the diagonal mark in 6 for the floating ball, so that the electronic device can respond to the operation as shown in the figure.
  • a similar mechanism shown in 6 shows the corresponding content.
  • the user may input an operation such as the diagonal mark in 8 with respect to the floating ball, so that the electronic device responds to the operation and displays the corresponding content according to a mechanism similar to that shown in FIG. 8 .
  • the user may input an operation such as the diagonal mark in 10 for the floating ball, so that the electronic device displays corresponding content according to a mechanism similar to that shown in FIG. 10 in response to the operation.
  • the embodiments of the present application provide a complete processing mechanism, so that the electronic device can quickly and accurately display corresponding information to the user according to the operation input by the user.
  • the notification message corresponding to the corner icon is displayed to the user.
  • the details of the notification message are displayed to the user. In this way, the user can quickly and accurately query or process the notification message.
  • the embodiments of the present application also provide a solution, based on split-screen display, so that the user can more quickly view notification messages from the same application or from different applications. It should be noted that this split-screen-based display solution can also be applied to scenarios with fewer notification messages. The solution will be illustrated below with reference to the accompanying drawings.
  • the user can drag the corner icon to a preset area, or input a preset gesture through the corner icon, so that the electronic device displays the notification message on the split screen according to the operation input by the user.
  • the user can touch the corner icon of the WeChat TM application with a stylus, and while continuing to touch, drag the corner icon to any position on the display screen (such as the position 1).
  • a prompt box may be displayed on the display screen to prompt the user to drag the corner icon to this position to split the screen.
  • the following text can be displayed in the prompt box: "Drag here to split the screen”.
  • the user can touch the corner icon of the WeChat TM application with the stylus, and while continuing to touch, drag the corner icon on the display screen, and follow the preset gesture corresponding to the split screen.
  • preset gesture 1 is slid on the path to realize the effect of inputting preset gesture 1.
  • the electronic device can display the four notification messages of the WeChat TM application dragged by the user on a split screen.
  • the electronic device may be configured with different mechanisms, so that the electronic device can perform corresponding split-screen display according to the preset gesture input by the user in the corresponding scenario.
  • the following description will be made with reference to the examples in FIG. 13 and FIG. 14 .
  • the electronic device may divide its display screen into at least two parts for display. For example, as shown in FIG. 13 , the electronic device may display the WeChat TM notification in the first split screen.
  • the first split screen may specifically display the notification message situation corresponding to the WeChat TM application.
  • the WeChat TM notification displayed in the first split screen may be similar to the notification message list in the foregoing description.
  • the electronic device may display the interface displayed before the split screen is performed. For example, before receiving the split screen display operation input by the user, the electronic device displays the main interface.
  • the electronic device may continue to display the main interface on the second split-screen.
  • the user may also continue to input operations on the notification message list displayed in the first split screen, so as to view more content.
  • the electronic device may display corresponding content in the first split screen in response to an operation input by the user.
  • the response mechanism of the electronic device may be performed according to the solution shown in FIG. 10 , which will not be repeated here.
  • the electronic device may perform multi-screen display on the notification message corresponding to the WeChat TM application.
  • the display screen of the electronic device may be divided into M parts for display.
  • M is 4, that is, the electronic device performs 4-split screen display as an example for description.
  • the electronic device may display the chat details of a corresponding notification message. In this way, through the split-screen display, the user can view the M chat details corresponding to the M split-screens at one time.
  • the electronic device may also be configured with the solution shown in FIG. 13 and the solution shown in FIG. 14 at the same time, so that the user can provide more diverse display options.
  • the solution as shown in FIG. 13 and the solution as shown in FIG. 14 configured in the electronic device may correspond to different split-screen display operations input by the user. Take the user inputting a preset gesture to trigger the split-screen display as an example.
  • the split-screen display can be performed according to the solution shown in FIG. 13 .
  • the electronic device receives a split-screen display operation of another preset gesture (preset gesture 2 shown in FIG. 15 )
  • the M split screen shown in FIG. 14 can be displayed. That is, the electronic device can establish a correspondence between different preset gestures and the split-screen display scheme, so that when the user inputs different preset gestures, the electronic device can display notification messages to the user using the corresponding different split-screen display schemes.
  • the number of notification messages of the WeChat TM application is 4, and M is 4 when the M split screen is used as an example.
  • the notification message is displayed to the user through the 4-split screen, and there will be no split screen space or other notification messages that have not been displayed.
  • the embodiment of the present application also provides a corresponding processing method.
  • the electronic device adjusts the number of split-screens when it is determined that the number of notification messages to be displayed is less than the number of split-screens. For example, as shown in FIG. 16 , the electronic device may sequentially display two split screens in the left column to display two notification messages respectively. Since no other notification message can be displayed, the electronic device can display a complete main interface in the area that originally needed to display two split screens on the right, thereby avoiding the problem of no content displayed in the split screen area.
  • the electronic device taking the number of notification messages of the WeChat TM application as P, the number of split screens set in the electronic device being 4, and P being an integer greater than 4 as an example. Then, in response to the split-screen display operation input by the user, when the electronic device determines that the number of notification messages to be displayed is greater than the number of split-screens, it selects three of the four split-screens to display specific chat details. For example, as shown in FIG. 17 , the electronic device may display the chat details corresponding to the three notification message senders Momo, Mick, and Lucy on the two split screens on the upper side and the split screen in the lower left corner, respectively.
  • the electronic device may display the user in the form of a card or a list in the split screen in the lower right corner. For example, as shown in FIG. 17 , a notification message that does not display chat details is displayed to the user in the form of a card as an example. It can be seen that in the split screen in the lower right corner, the electronic device can display cards corresponding to different notification message senders (such as Tom, Jason, and Candy). The card corresponding to each notification message sender may include information such as the notification message sender's nickname and/or notification message content.
  • the electronic device may further display the notification message that is not displayed in the split screen to the user in the form of a floating ball.
  • the electronic device can display the chat details corresponding to Momo, Mick, Lucy, and Andy respectively through four split screens. Since there are other notification messages of the sender of the notification message that have not been displayed on the interface, in this example, a floating ball with prompt information can be displayed at any position (or a preset position) on the display screen.
  • digital information may be displayed in the floating ball. In Fig. 18, the displayed digital information is 3, which means that in addition to the 4 notification messages currently displayed on the 4-split screen, there are 3 notification messages that can be viewed. In this way, the user can specify the distribution of notification messages.
  • the user can further operate the floating ball to view the content of the notification message that has not yet been displayed.
  • the user may use the stylus to click on the floating ball, and in response to this operation, the electronic device may display a notification message on the interface that has not yet been displayed in the split screen.
  • the electronic device may display on the interface the situation of the notification message corresponding to the floating ball that is not displayed on the 4-split screen.
  • three notification messages that have not yet been displayed can be displayed in the form of a notification message list.
  • the specific content of the list of notification messages reference may be made to the description shown in FIG. 6 . In this way, the user can view the notification messages that have not been displayed on the 4-split screen through the notification message list.
  • the electronic device may further adjust the content displayed in the 4-split screen according to the user's operation. For example, when the notification message list shown in FIG. 19 is displayed under the user's operation, the electronic device can receive the user's operation on the message column in the notification message list, and in response to the operation, correspondingly adjust the 4-split screen Content displayed in one or more split screens.
  • the user can use a stylus to input a drag operation to the message column of the notification message sender is Tom.
  • the user can drag the message column corresponding to Tom to the split screen in the upper right corner where the message corresponding to Momo was originally displayed.
  • the electronic device can control the message column corresponding to Tom to move along the track of the stylus.
  • the electronic device can display the chat details corresponding to Tom in the split screen in the upper left corner.
  • the user can also perform similar operations on other message columns, so that the electronic device can adjust the content displayed in each of the 4-split screens according to the operation input by the user.
  • the electronic device can adjust the digital prompt information in the floating ball, for example, adjust the digital prompt information from 3 to 2. So that users can know that there are still 2 notification messages in an unread state.
  • the electronic device displays multiple notification messages of a single application to the user according to the user's operation as an example for description.
  • a split-screen display solution for notification messages corresponding to multiple application programs is also provided.
  • the electronic device displays a 2-split screen on the interface as an example.
  • the electronic device can display the notification message of the WeChat TM application on the split screen on the left.
  • the display mechanism of the interface refer to the description shown in FIG. 13 or FIG. 16 .
  • an icon is also displayed in the upper right corner of the icon of the information application, which can be used to remind the user that the information application also has two notification messages that can be read.
  • the electronic device may display the notification message corresponding to the information application to the user on the right split screen.
  • the display of the notification message of the information application may be a list display, or may be displayed in other ways.
  • the description is given by taking the electronic device displaying two split screens on the interface as an example.
  • the split-screen presentation of multiple different applications may also be triggered in other split-screen situations.
  • the electronic device displays 4 split screens on the interface
  • the user can change the corner mark included in one split screen (for example, the split screen displays the main interface, and the main interface includes the application icon displayed with the corner mark). operation to achieve the effect of displaying the notification message of the corresponding application in the split screen.
  • FIG. 22 shows a method for displaying a notification message for a folder corner label provided by an embodiment of the present application.
  • the electronic device may receive a click input by the user through a stylus or an operation of touching the corner mark of the icon corresponding to the folder 1 .
  • the electronic device may control the display screen to display a corresponding interface.
  • the corresponding notification message in the folder can be displayed from the corner label corresponding to the folder 1.
  • the notification sender as the granularity shown in FIG.
  • the notification message list corresponding to the corner label of the folder as shown in FIG. 22 can be displayed with the application as the granularity. For example, take the example that four applications in folder 1 (eg, application 1, application 2, application 3, and application 4) receive notification messages. As shown in FIG. 22 , in the list of notification messages displayed in growth, each message column may correspond to a notification message of an application. For example, in the message column of the first row, the icon of application 1, and/or the name of application 1, and/or the message details corresponding to application 1 and other notification messages corresponding to application 1 may be displayed.
  • the icon of application 2, and/or the name of application 2, and/or the message details corresponding to application 2 and other notification messages corresponding to application 2 may be displayed.
  • the icon of the application 3, and/or the name of the application 3, and/or the message details corresponding to the application 3 and other notification messages corresponding to the application 3 can be displayed.
  • the icon of the application 4, and/or the name of the application 4, and/or the message details corresponding to the application 4 and other notification messages corresponding to the application 4 can be displayed.
  • the notification message list of all applications in the folder may not be displayed in the notification message list. Or, in a message column, it may not be possible to display all notification messages of the corresponding application.
  • the present application also provides a corresponding solution.
  • a corner mark may be displayed, and the corner mark may be used to prompt the user that there are more notification messages of the application 2 that are not displayed.
  • the number 3 may be included in the superscript, which is used to identify that the application 2 has three notification messages in total.
  • two notification messages of an application can be displayed in a message column.
  • message 1 and message 2 may be displayed in the corresponding message column of application 2. Since the application 2 has a total of 3 notification messages, that is to say, there is still 1 notification message (such as message 3) that has not been displayed.
  • the electronic device may scroll down in the corresponding message column to display other notification messages. For example, in the position where message 1 was originally displayed, the content of message 2 is displayed instead. In the garden where message 2 is displayed, the content of message 3 is displayed instead. In this way, the purpose of displaying all notification messages of the application 2 to the user under the control of the user is achieved.
  • a solution for conveniently viewing the details of notification messages of applications in a folder under the control of the user is also provided.
  • the user wants to view the details of the notification message corresponding to application 1 in folder 1, he can control the stylus to input a touch operation to the message column corresponding to application 1.
  • the electronic device may display details of each notification message corresponding to application 1 on the interface. For example, the details of message 1 and the details of message 2 are displayed separately.
  • the embodiment of the present application also provides an implementation manner of displaying the windows corresponding to each application program respectively. Exemplarily, with reference to FIG.
  • the electronic device may, under the control of the user, display the details of the notification messages of each application program in the folder 1 on the interface respectively.
  • the notification message details of different applications can be displayed in different windows.
  • each application window can correspond to an application and its notification message.
  • the interface may include application 1 and its notification message details application window, the interface may also include application 2 and its notification message details application window, and the interface may also include application 3 and its notification message details application window , the interface may further include the application 4 and the application window of the notification message details.
  • the user wants to view the detailed notification of a certain application, he or she can select the corresponding application window and adjust the application window to the topmost layer for viewing.
  • the electronic device can also display each application window when the user inputs a preset gesture to the corner icon of the folder.
  • the user can control the stylus, touch the corner icon of a folder, and drag the corner icon in a preset direction (such as the upper right), then when the user controls the stylus to release the corner marker, The electronic device can then display each application window at the corresponding position.
  • this example provides a solution in which the electronic device can display multiple application windows to the user without displaying the notification message list, which is more beneficial for the user to view the notification message details of each application.
  • the electronic device when viewing the notification details corresponding to the folder corner labels using the solution provided by the embodiment of the present application, the electronic device can also perform split-screen display according to the operation input by the user.
  • the electronic device receives the user's operation of the preset gesture 3 of the corner label of the folder 1, the notification of each application in the folder 1 can be displayed on the interface in the form of a split screen. information.
  • the notification message interfaces of application 1, application 2, application 3, and application 4 are displayed on one split screen respectively. It can be understood that, when the number of split screens is different from the number of application programs to be displayed, the above-mentioned split screen display scheme for application programs can also be referred to for display.
  • the electronic device can display cards corresponding to more applications that cannot be displayed in one split screen for split screen display.
  • the electronic device may also adopt a solution of displaying a floating ball on a split-screen interface to prompt the user that there are more notification messages of application programs that can be viewed for split-screen display.
  • the electronic device can further adjust the split-screen display mechanism according to the user's operation on the corresponding card of the application, or the operation on the floating ball.
  • the specific execution process is similar to the descriptions in the above-mentioned FIG. 5 to FIG. 21 , and details are not repeated here.
  • the embodiments of the present application provide a display solution capable of supporting cross-device viewing of notification messages, thereby making it more convenient for users to view notification messages.
  • the application program in the first electronic device can receive the notification message, and display a corner mark on the corresponding icon to prompt the user to view and process the notification message.
  • the WeChat TM application in the mobile phone may display a corner mark on its icon when receiving a notification message, and the corner mark may include prompt information, such as the number 4, to remind the user that the WeChat TM is currently receiving Up to 4 notification messages can be viewed.
  • the user can use the stylus to input an operation on the superscript of the first electronic device (or referred to as the first device).
  • the stylus can receive the operation of pressing the preset button input by the user while touching the corner mark.
  • the stylus can instruct the first device to perform the first processing on the notification message corresponding to the currently touched corner icon, so as to perform the first processing through other electronic devices, such as the second electronic device (or referred to as the second device). View processing.
  • the stylus can perform a corresponding operation input on the second device, so as to realize the purpose of viewing the notification message on the second device. For example, referring to FIG.
  • the user can control the stylus to move on the display screen of the second device to input the touch operation.
  • the second device may display an interface corresponding to the notification message, and the notification message may correspond to the notification message received by the touched application on the first device.
  • the embodiments of the present application provide the following solution, so that the first device and the second device can display notification messages across devices according to the solution.
  • FIG. 31 is a schematic diagram of an interaction flow of a cross-device display provided by an embodiment of the present application. As shown in FIG. 31 , the method may perform corresponding steps by the first device and the second device respectively.
  • the following S3111 and S3112 may be performed.
  • the first device When receiving the first operation of the user, the first device identifies and stores the content of the notification message of the corresponding location.
  • the first operation may be, as shown in FIG. 29 , an operation (eg, a touch operation) that the user uses a stylus to input the corner mark of an application (eg, WeChat TM ) on the display screen of the first device.
  • an operation eg, a touch operation
  • the stylus can also receive an operation input by the user to touch the preset button, and in response to the operation, the stylus can interact with the first device, such as sending an instruction message to indicate
  • the first device identifies and stores the content of the notification message of the corresponding location.
  • the first device sends a notification message to the second device.
  • the first device may search for one or more devices in the same local area network that can be used to view the notification message, and send the notification message to the one or more devices.
  • the second device may be any device that can receive the notification message sent by the first device.
  • the notification message may include the content of the notification message obtained in S3111. It should be noted that, in order to ensure the security of message transmission, the first device may encrypt the notification message in the manner of pre-communication with the second device before sending the notification message. In other implementations, the first device may only send the notification message to the devices that have been saved in the trust list of the first device after searching for devices in the same local area network, thereby improving the security of the notification message. .
  • the first device and the second device are in the same local area network as an example for description.
  • the first device can use a wireless local area network (Wireless Local Area Network, WLAN).
  • WLAN Wireless Local Area Network
  • the second device may also be a device that is not in the same local area network as the first device, but exists in the mutual trust list of the first device.
  • the first device may send the notification message to the second device through a wireless communication network corresponding to 3G/4G/5G/6G.
  • the second device may execute S3121-S3123 as shown in FIG. 31 .
  • the second device receives the second operation of the user.
  • the second operation may be, as shown in FIG. 30 , a touch operation input by the user controlling the stylus on the display screen of the second device.
  • the second device may also interact with the stylus. The interaction may be performed when the user presses a preset button of the stylus while touching the display screen of the second device with the stylus. Through the interaction with the stylus, the second device can know that the current user has also input the operation of pressing the preset button on the stylus, and in response to the operation, the second device can continue to perform the display of the notification message across the devices .
  • the second device acquires the notification message.
  • the second device displays an interface corresponding to receiving the notification message at a position corresponding to the second operation.
  • the first device may execute S3112 immediately after acquiring the content of the notification message under the trigger of the first operation, or execute S3112 after the second device receives the second operation and sends a request to the first device .
  • the first device may directly send the content of the notification message to the second device after acquiring the content of the notification message as shown in FIG. 31 .
  • the first device may also upload the content of the notification message to the cloud or a transit server, so that the second device can obtain the notification message through the cloud or the transit server.
  • the second device can obtain the notification message from the corresponding location (eg, the cloud or the transit server).
  • the acquisition of the notification message by the second device may be performed after receiving the second operation performed by the user on the second device.
  • the trigger mechanism for the second device to perform S3122 may also be independent of receiving the second operation, for example, obtain the notification message from the first device, the cloud, or a transit server according to a preset period.
  • the corresponding interface displayed on the second device may be the list of notification messages displayed based on the growth of the superscript in the foregoing description, or it may be receiving the second operation on the second device.
  • the notification message displayed in the floating window at the corresponding position may also be an interface similar to any possible split-screen display in the foregoing description.
  • the user may move the stylus to the display screen of the second device and input the second operation.
  • the second device may display a corner mark corresponding to the position where the first device receives the first operation at the position touched by the stylus. Then, when the second device determines to move the stylus away from the display screen of the second device, on the display screen of the second device, a window including a list of notification messages can be grown and displayed on the display screen of the second device where the corner mark was originally displayed.
  • the second device may receive an operation of the user touching and dragging the corner icon, where the dragging path may be a path corresponding to a preset gesture.
  • the second device may display the notification message on its interface in the form of a split screen (for example, a 4-split screen as shown in Figure 33 may be used).
  • the preset gesture corresponds to other mechanisms different from the split-screen display
  • the second device may also respond accordingly, and display the notification message using the solution corresponding to the preset gesture.
  • the corresponding corner label on the first device may also change correspondingly.
  • the corner label may be displayed as a dark background (such as a red background) with white (or other colors) numbers.
  • the corner icon on the first device can be switched to display other states. For example, in combination with (a) in Figure 34, the first device can adjust the corner icon.
  • the status (or gray background) of black (or other colors) numbers is displayed on a light-colored background (such as a gray background or a white background), thereby prompting the user that the second device is viewing the notification information of the WeChat TM application.
  • the corner icon of the first device can also be switched and displayed as shown in (b) of FIG. 34 .
  • the prompt information (such as numbers) in the corner label of the first device can be switched to be displayed as a reduced icon (icon) of the second device.
  • the corner label of the first device A thumbnail of the tablet can be displayed to remind the user that a tablet is currently viewing the notification message of the WeChat TM application.
  • the implementation of the user input operation using a stylus pen with corresponding functions is used as an example for description.
  • the user touches the screen with a stylus pen on the first device and inputs an operation of pressing a button with the stylus pen, which may also be referred to as adsorption of the notification message.
  • the user touches the screen with the stylus on the second device and inputs the operation of pressing the button with the stylus, which may also be referred to as the release of the child's message.
  • the above-mentioned effects of adsorbing and releasing notification messages may also be achieved in other manners.
  • the user can touch the touch control on the stylus to realize the adsorption or release of the notification message.
  • the user may use voice control to instruct the first device and/or the second device to adsorb or release the notification message when using a stylus or other input device to input a touch operation on the display screen.
  • the user may also implement the adsorption effect by inputting a preset gesture to the corner icon on the first device.
  • other solutions different from the above adsorption/release may also be adopted to realize the viewing and processing of notification messages across devices.
  • FIG. 35 shows yet another example diagram of viewing a cross-device notification message.
  • the user can drag the corner marker to a preset area on the first device to select the second device corresponding to the cross-device notification message.
  • the first device may receive an operation of touching a corner icon of the WeChat TM application input by the user, and dragging the corner icon to a preset area.
  • the preset area may be the projection selection area on the first device interface as shown in FIG. 35 . It can be seen that when the user drags the corner marker to approach the projection selection area, the first device can display the projection device that meets the requirements on the top of its interface.
  • the projecting device that meets the requirements may be a device that is in the same local area network as the first device and has a mutual trust relationship with the first device (eg, is stored in a mutual trust list of the first device).
  • the corner icon can be dragged onto the control of the device you want to project to release the touch, thereby realizing the selection of the second device.
  • the user can use the stylus to drag the corner icon to the corresponding control on the tablet and release it.
  • the first device may gray out the controls corresponding to other devices, or the first device may highlight the controls corresponding to the tablet to prompt the user for the currently selected projection
  • the object is a tablet.
  • the tablet After the user selects the tablet as the projection object on the first device, the tablet, as the second device, can display a corner mark at the corresponding position when receiving the user's touch operation. Furthermore, the corresponding interface is displayed in combination with the aforementioned various operation examples for the corner mark, so as to realize the user's viewing and processing of the notification message on the second device.
  • the cross-device notification message display solution provided by the embodiment of the present application enables the user to use the second device to view the notification message quickly and conveniently.
  • a mechanism for viewing multiple notification messages for a single application is provided, a mechanism for viewing one or more notification messages for multiple applications is also provided, and notification messages between devices are also provided Mechanism for viewing messages.
  • notification messages such as system notification messages, and folder notification messages
  • a similar scheme can also be used to display the corresponding interface to achieve the effect of quickly viewing and processing notification messages.
  • the specific implementation is similar, and details are not repeated here.
  • the above solution can also be applied to the processing of subscripts appearing in application content.
  • FIG. 36 continue to take the WeChat TM application as an example.
  • a corner mark can be displayed near the icon of "Circle of Moments" to remind that there is updated content in the circle of friends.
  • the user needs to click on the icon of the "Circle of Moments", and the electronic device, in response to the click operation, jumps to display the content corresponding to the circle of friends.
  • the user can drag the corner marker to any position on the display screen, and the electronic device can display the dynamics of the circle of friends in the form of a floating window at the end position of the dragging.
  • the electronic device can display the corresponding interface in response to the user's operation, so that the user can You can quickly view notification messages.
  • FIG. 37 shows a schematic diagram of the composition of an electronic device 3700 .
  • the electronic device 3700 may include: a processor 3701 and a memory 3702 .
  • the memory 3702 is used to store computer-implemented instructions.
  • the processor 3701 executes the instructions stored in the memory 3702
  • the electronic device 3700 can be caused to execute the display method shown in any one of the foregoing embodiments.
  • FIG. 38 shows a schematic diagram of the composition of a chip system 3800 .
  • the chip system 3800 may include: a processor 3801 and a communication interface 3802, which are used to support related devices to implement the functions involved in the electronic devices in the foregoing embodiments.
  • the system-on-a-chip also includes memory for storing necessary program instructions and data.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the communication interface 3802 may also be referred to as an interface circuit.
  • the functions or actions or operations or steps in the above embodiments may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • a software program When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc., that can be integrated with the medium.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种显示方法和电子设备,涉及电子设备领域,以使得用户可以快速便捷地对通知消息进行查看或者处理。具体方案为:在第一图标上显示第一角标,角标用于提示待查看的通知消息。接收对第一角标的第一触碰操作。响应于第一触碰操作,在第一界面上显示通知消息列表,通知消息列表包括第一应用程序的通知消息。接收对通知消息列表包括的第一通知消息的第二触碰操作。响应于第二触碰操作,显示第一通知消息的消息详情。

Description

一种显示方法和电子设备
本申请要求于2020年12月30日提交国家知识产权局、申请号为202011628475.7、申请名称为“一种显示方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及电子设备领域,尤其涉及一种显示方法和电子设备。
背景技术
在电子设备中,在接收到通知消息时,可以在对应的应用程序图标附近显示角标,以直观地向用户展示该应用程序接收到了通知消息。示例性的,图1示出了一种包括角标显示的界面示意图。如图1中的(a)所示,角标可以显示在对应的应用程序的右上角。例如,以应用程序为微信 TM应用为例。在微信 TM应用接收到通知消息时,可以在其图标的右上角显示角标101。又如,以应用程序为信息应用为例。在接收到通知消息时,可以在信息应用图标的右上角显示角标102。在另一种实现中,该角标中还可以包括数字信息,用于提示用户通知消息的数量。比如,结合图1中的(b),在微信 TM应用接收到1个通知消息时,可以在其图标的右上角显示角标103。在接收到2个通知消息时,可以在信息应用图标的右上角显示角标104。
可以理解的是,用户可以在看到显示的角标后,打开对应的应用程序,以便查看通知消息的详情。比如,用户可以点击应用程序的图标。对应的,电子设备可以运行该应用程序,以向用户展示应用程序对应的界面,方便用户查看通知消息。
可以看到,角标起到了提示用户,电子设备的应用程序已经收到通知消息的作用。但是,用户依然需要通过打开应用程序,才能看到通知消息的内容。因此,上述方案实质上并没有精简用户查看通知消息的操作步骤,由此导致用户查看通知消息内容的操作较为复杂,并不便捷。
发明内容
本申请实施例提供一种显示方法和电子设备,以使得用户可以快速便捷地对通知消息进行查看或者处理。
为了达到上述目的,本申请实施例采用如下技术方案:
第一方面,提供一种显示方法,应用于安装有第一应用程序的电子设备,电子设备在显示屏上显示包括第一图标的第一界面,第一图标与第一应用程序对应,该方法包括:在第一图标上显示第一角标,角标用于提示待查看的通知消息。接收对第一角标的第一触碰操作。响应于第一触碰操作,在第一界面上显示通知消息列表,通知消息列表包括第一应用程序的通知消息。接收对通知消息列表包括的第一通知消息的第二触碰操作。响应于第二触碰操作,显示第一通知消息的消息详情。
基于该方案,提供了一种基于界面上显示的角标的简单操作即可获取对应消息详情的示例。需要说明的是,在该示例中,所述触碰操作(如第一触碰操作等)在不同的实现场景中,可以包括但不限于诸如点击或双击的点击操作,该触碰操作也可包括长按操作,以及拖拽操作等。可以理解的是,用户通过输入对角标(如第一角标)的 操作即可在不打开对应应用程序的前提下,通过角标对应的通知消息列表,查看到对应通知消息的内容。在一些实现中,用户还可以进一步对通知消息列表进行操作,比如输入第二触碰操作,以查看对应的通知消息的详情。由此,使得用户不需要输入过于复杂的操作,即可查看到多个通知消息的内容,另外由于该方案提供了对通知消息列表的进一步操作机制,因此使得用户还可以通过简单的触碰操作,即可看到对应通知消息的消息详情。在不同实现中,该通知消息详情可以包括不同的实现方式,比如,该消息详情可以是通过打开对应应用程序,在该应用程序的界面中显示的消息详情。又如,该消息详情还可以是不打开应用程序,而是在电子设备自建的界面(如悬浮窗等)上显示的消息详情。可以看到,本方案提供了丰富的交互实现,以便于用户能够通过简单的操作,即可快速便捷地查看通知消息,进而对其进行处理。
在一种可能的设计中,在第一界面上显示通知消息列表,包括:在第一界面悬浮显示。或者,分屏显示通知消息列表。基于该方案,提供了两种具体的通知消息列表的显示机制。示例性的,该通知消息列表可以是在悬浮窗中悬浮显示的,该通知消息列表也可以是以分屏显示的形式显示的。比如,电子设备可以在其显示屏上显示第一子界面和第二子界面,第一子界面可以用于显示通知消息列表,第二子界面可以用于显示主界面等。
在一种可能的设计中,接收对第一角标的第一触碰操作。响应于第一触碰操作,在第一界面上显示通知消息列表包括:接收将第一角标的拖拽操作。响应于拖拽操作,在拖拽操作的终点位置显示通知消息列表。基于该方案,提供了又一种显示通知消息列表的机制。在该示例中,以第一触碰操作为拖拽操作为例。电子设备可以在用户拖拽第一角标的拖拽终点位置,显示通知消息列表。可以理解的是,拖拽操作可以包括按下(第一角标对应的初始坐标),拖动(第一角标)到显示屏上另一个坐标位置(即终点位置),以及在该终点位置离开显示屏的操作。电子设备可以在该终点位置,显示与第一角标对应的通知消息列表。
在一种可能的设计中,显示第一通知消息的消息详情,包括:在第一界面中显示。或者,全屏显示通知消息列表。基于该方案,提供了又一种消息详情的显示机制。在该示例的一些实现中,电子设备可以在第一界面上,基于第一角标在显示屏上的坐标,生长显示该消息详情。其中,该生长显示可以包括对应信息框由小变大的动态效果。在另一些实现中,也可以在悬浮窗中显示该消息详情。在另一些实现中,也可以通过全屏或者分屏的形式显示该通知消息详情。其中,分屏显示的机制可以与上述示例中的分屏显示类似,比如,可以在分屏后的第一子界面上显示通知消息详情,在第二子界面上显示主界面(如第一界面)等。
在一种可能的设计中,接收对第一角标的第一触碰操作。响应于第一触碰操作,在第一界面上显示通知消息列表,包括:接收对第一角标的点击操作。响应于点击操作,在第一角标附近显示包括通知消息列表的气泡框,气泡框的显示面积由第一阈值变大到第二阈值,第一阈值小于第二阈值。基于该方案,提供了一种具体的通知消息列表的显示方案。在该示例中,通知消息列表可以通过生长显示的形式展示在显示屏上。其中,该通知消息列表的相关信息可以显示在气泡框中,该气泡框在展示的过程中,可以由小到大的动态效果的形式进行展示。
第二方面,提供一种显示方法,应用于安装有第一应用程序的电子设备,电子设备在显示屏上显示包括第一图标的第一界面,第一图标与第一应用程序对应,该方法包括:在第一图标上显示第一角标,角标用于提示待查看的通知消息。接收对第一角标的第一触碰操作。响应于第一触碰操作,显示第二界面,第二界面包括N个子界面,在N个界面中任意一个子界面中显示与第一角标对应的通知消息详情,N为大于等于2的整数。
基于该方案,提供了一种显示第一角标对应的通知消息的机制。在该方案中,电子设备可以通过分屏显示,在各个子界面上显示不同的通知消息,以便于用户的查看。可以看到,通过该方案,用户只需输入简单的触碰操作,即可在多个子界面上看到第一角标对应的通知消息内容。类似于上述第一方面提供的方案中的说明,在该示例中,触碰操作(如第一触碰操作)可以包括但不限于诸如点击或双击的点击操作,该触碰操作也可包括长按操作,以及拖拽操作等。
在一种可能的设计中,第一触碰操作包括将第一角标拖拽到分屏区域的操作。基于该方案,提供了一种具体的第一触碰操作的限定。在该示例中,第一触碰操作可以为拖拽第一角标的操作。在用户将第一角标拖拽到分屏区域时,电子设备就可以按照上述示例中的分屏机制进行通知消息的显示。可以理解的是,在该示例中,电子设备的显示屏上可以包括多个区域,其中,不同的区域可以对应不同的功能。比如,该多个区域中可以包括分屏区域,在用户将角标拖拽到该分屏区域并松开角标时,则可以触发电子设备按照上述示例中的分屏机制进行角标对应的通知消息内容。
在一种可能的设计中,在第一触碰操作的过程中,显示分屏区域和提示信息,提示信息用于提示用户将角标拖拽到分屏区域。基于该方案,提供了又一种分屏显示的机制。在该示例中,电子设备可以在用户拖拽第一角标的过程中,在界面上显示提示信息,用于提示分屏区域的位置。以便于在用户想用通过分屏显示的形式查看角标对应的通知消息时,将角标准确地拖拽到分屏区域,以触发分屏显示的机制。需要说明的是,该提示信息可以设置在分屏区域中,也可以设置在分屏区域外。
在一种可能的设计中,第一触碰操作包括沿预设路径拖拽第一角标的操作。基于该方案,提供了又一种分屏显示的触发机制。在该示例中,以第一触碰操作为拖拽操作为例。该拖拽操作可以对应到预设的手势,电子设备可以在用户输入了对角标的预设手势之后,触发分屏显示机制。可以理解的是,在电子设备中可以预先存储有一个或多个预设手势,该预设手势可以是预置在电子设备中的,也可以是用户自定义的。电子设备在监测到用户输入的对角标的拖拽操作可以对应到预设的手势时,如果该预设手势对应的功能为分屏显示,那么电子设备可以响应于该预设手势的输入,对通知消息进行分屏显示。在另一些实现中,如果该拖拽操作对应的路径并非用户自定义的,而是系统中预先存储的与分屏显示对应的路径,那么电子设备也可以以此触发分屏显示的机制。
在一种可能的设计中,第一角标对应的通知消息数量为M,M为正整数,在N个界面中任意一个子界面中显示与第一角标对应的通知消息详情包括:若M小于或等于N,在N个子界面中的M个子界面上分别显示M个通知消息的通知消息详情。基于该方案,提供了一种具体的分屏显示的机制。在该示例中,在第一角标对应的通知消息的数量 小于分屏的数量时,可以在分屏中分别显示各个通知消息对应的通知消息详情,以便用户能够快速直观地查看各个通知消息的内容。
在一种可能的设计中,该方法还包括:在N-M个子界面中任意子界面显示第一界面。基于该方案,在显示所有通知消息的通知消息详情之后,如果还有子界面未显示通知消息详情,那么,可以在该子界面上显示主界面(如第一界面),以便于用户可以在不切换屏幕的情况下继续对主界面上的其他控件输入操作。
在一种可能的设计中,第一角标对应的通知消息数量为M,M为正整数,若M大于N,则N个子界面分别显示N-1个通知消息详情界面和第三界面。通知详细界面用于显示M个通知消息中的任意N-1个通知消息的通知消息详情,第三界面用于显示多个通知消息缩略信息,多个通知消息缩略信息对应的通知消息不同于已经显示通知消息详情界面的N-1个通知消息。基于该方案,提供了一种在通知消息数量较多情况下分屏显示机制。在该示例中,可以在部分子界面上显示通知消息详情,在其他子界面上显示未能显示的通知消息的缩略信息。其中,该缩略系信息可以是以卡片的形式展示的,也可以是以上述示例中通知消息列表的形式展示的。
在一种可能的设计中,第一角标对应的通知消息数量为M,M为正整数,在N个界面中任意一个子界面中显示与第一角标对应的通知消息详情包括:若M大于N,在N个子界面分别显示M个通知消息中N个通知消息的通知消息详情。该方法还包括:在第二界面上显示悬浮球,悬浮球用于指示还有通知消息未被显示。基于该方案,提供了又一种在通知消息数量较多情况下分屏显示机制。在该示例中,电子设备可以在各个自界面上分别显示一个通知消息详情。在该场景下,由于通知消息的数量较多,可能无法全部一次性地显示在子界面上,因此,可以通过悬浮球的形式,提示用户仍然有通知消息未被显示。需要说明的是,在一些实现中,该悬浮球中还可以包括提示信息,该提示信息可以用于标识未被显示的通知消息的数量。
在一种可能的设计中,该方法还包括:接收对悬浮球的第二触碰操作。响应于第二触碰操作,在第二界面上显示通知消息列表,通知消息列表包括未被显示的通知消息。基于该方案,提供了针对未被显示的通知消息对应的悬浮球的进一步操作和显示机制。在该方案中,在用户想要查看未被显示的通知消息时,可以对悬浮球输入第二触碰操作(如点击操作),对应的,电子设备可以显示与未被其他子界面显示的通知消息的通知消息列表。由此,用户便可直观地查看到未被显示的通知消息的内容。
在一种可能的设计中,该方法还包括:接收第三触碰操作,第三触碰操作是通知消息列表中第一通知消息的操作。响应于第三触碰操作,在第三触碰操作的终点位置对应的子界面,替换显示第一通知消息的通知消息详情。基于该方案,在用户想要查看未被查看的通知消息列表中某个通知消息的通知消息详情时,可以对该通知消息列表中对应的通知消息输入第三触碰操作(如拖拽操作),将该通知消息拖拽到某一个子界面上,相应的,电子设备就可以用该被拖拽的通知消息对应的通知消息详情,替换该子界面上已经显示的通知消息详情。由此就实现了被拖拽的通知消息的通知消息详情在子界面上的显示。
在一种可能的设计中,电子设备还安装有第二应用程序,第一界面上还包括第二 图标,第二图标与第二应用程序对应,在第二应用程序接收到通知消息的情况下,在第一界面上,第二图标上显示第二角标。该方法还包括:接收第四触碰操作,第四触碰操作是对第二角标的操作,响应于第四触碰操作,显示第三界面,以替换显示第一界面,其中,第三界面包括第二角标对应的通知消息详情,或者,第三界面包括第二角标对应的通知消息列表。基于该方案,在N个子界面中包括显示有第一界面(如主界面)的界面时,那么电子设备可以通过接收用户对主界面上控件的操作,执行对应的显示。比如,在用户对第一界面上的第二角标输入触碰操作(如点击操作)时,那么电子设备可以在该显示有第一界面的子界面上显示与该第二角标对应的通知消息列表,或者以其他形式展示该第二角标对应的通知消息。
第三方面,提供一种显示方法,应用于安装有第一应用程序的第一电子设备,以及第二电子设备。第一电子设备在显示屏上显示包括第一图标的第一界面,第一图标与第一应用程序对应,该方法包括:在第一图标上显示第一角标,角标用于提示待查看的通知消息。第一电子设备接收第一操作,第一操作是对第一角标的操作。响应于第一操作,第一电子设备获取第一角标对应的通知消息。第二电子设备接收第二操作,响应于第二操作,第二电子设备在界面上显示第一角标。
基于该方案,提供了一种多设备查看角标对应的通知信息的方案。以通过第二电子设备查看第一电子设备上角标对应的通知消息为例。用户可以在第一电子设备的显示屏上输入对于第一角标的第一操作。比如,以用户使用触控笔输入第一操作为例,该第一操作可以为用户使用触控笔触碰第一角标,以及用户对触控笔输入对应的操作(如吸附操作)。可以理解的是,触控笔可以在接收到吸附操作之后与第一电子设备进行交互,以便第一电子设备知晓用户输入了上述第一操作。第一电子设备在接收到第一操作之后,就可以出发多设备显示机制,比如,获取第一角标对应的通知消息。在获取该通知消息之后,第一电子设备就可以将该通知消息发送给符合要求(如在第一电子设备的信任列表中的设备)的第二电子设备,以便在第二电子设备上进行查看。此后,用户可以在第二电子设备上输入第二操作。继续以用户使用触控笔输入第二操作为例,该第二操作可以包括用户对第二电子设备的操作(如触碰操作),以及对触控笔的操作(如释放操作)。触控笔可以将该释放操作对应的信息传递给第二电子设备,以便于第二电子设备知晓用户输入了第二操作。响应于该第二操作,第二电子设备就可以对应地触发跨设备显示机制,比如,在用户输入触碰操作的位置显示从第一电子设备获取的第一角标。在用户想要查看该第一角标对应的通知消息内容时,就可以结合上述示例中对于第一角标的操作方式输入对应的操作,第二电子设备就可以进行对应的显示。这样,就实现了在第二电子设备上查看第一电子设备上的通知消息,显著提升了用户在跨设备应用场景下的通知消息查看和处理便捷度。需要说明的是,在本示例中,第二电子设备上显示的第一角标,可以是与第一电子设备上显示的第一角标具有相同外观的标识,当然,第二电子设备上显示的角标也可以在外观上与第一电子设备上显示的第一角标不同。即使以不同的外观进行显示,在第二电子设备上显示的第一角标对应的通知消息与第一电子设备上显示的第一角标的通知消息也是相对应的。
在一种可能的设计中,第二电子设备与第一电子设备处于相同的局域网中。在第 二电子设备在界面上显示第一角标之前,该方法还包括:第二电子设备通过局域网,从第一电子设备获取第一角标对应的通知消息。基于该方案,提供了一种第二电子设备获取第一角标对应的通知消息的机制。在该示例中,第二电子设备可以是与第一电子设备处于相同局域网中的电子设备。在一些示例中,第二电子设备可以通过与第一电子设备的直连,获取该第一角标对应的通知消息。需要说明的是,在本本申请的不同实现中,该第一角标对应的通知消息可以是第一电子设备在接收到第一操作之后直接发送给第二电子设备的,也可以是第一电子设备在接收到第一操作之后,通过其他中间节点转发给第二电子设备的。在另一些实现中,该第一角标的通知消息也可以是第二电子设备在接收到第二操作之后,向第一电子设备获取的。
在一种可能的设计中,该方法还包括:第二电子设备接收触碰操作,触碰操作是对第二电子设备显示的界面上的第一角标的操作。响应于触碰操作,第二电子设备显示与第一角标对应的通知消息详情,或者,第二电子设备显示与第一角标对应的通知消息列表。基于该方案,提供了一种在第二电子设备上查看第一角标对应的通知消息的显示机制。在该示例中,第二电子设备可以根据用户输入的对第一角标的触碰操作,对通知消息以通知消息列表的形式进行显示,或者,直接显示对应的通知消息详情。
在一种可能的设计中,该方法还包括:第二电子设备接收对第一角标的拖拽操作,响应于拖拽操作,第二电子设备显示至少2个子界面,2个子界面中分别显示与第一角标对应的通知消息详情。基于该方案,在第二电子设备上显示第一角标的通知详情的方案,也可以是基于分屏机制进行显示的。比如,该分屏显示的机制可以参考上述示例中第二方面及其可能的设计中任一种可能的实现执行。
在一种可能的设计中,第一电子设备接收第一操作,包括:第一电子设备接收触碰第一角标的操作,第一电子设备还接收来自外部输入设备的吸附指示。基于该方案,用户可以通过对第一电子设备以及输入设备(如触控笔)输入操作实现对第一操作的输入。在触控笔接收到吸附操作之后,可以向第一电子设备发送吸附指示,以便于第一电子设备确定已经收到了用户的第一操作。
在一种可能的设计中,第二电子设备接收第二操作,包括:第二电子设备接收触碰第二电子设备的显示屏的操作,第二电子设备还接收来自外部输入设备的释放指示。基于该方案,提供了一种第二电子设备确定接收到用户的第二操作的具体示例。比如,类似与前述示例,第二电子设备可以直接接收用户输入的触碰操作,用户还可向触控笔输入释放操作,已完成第二操作的输入。为了使得第二电子设备知晓用户输入了第二操作,那么,在该示例中,触控笔可以向第二电子设备发送释放指示,由此,第二电子设备即可知晓用户已经输入了第二操作,进而执行后续的操作。
第四方面,提供一种电子设备,包括:一个或多个处理器,存储器。存储器与一个或多个处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,电子设备执行如第一方面及其可能的设计中任一项所述的显示方法,或者,当一个或多个处理器执行计算机指令时,电子设备执行如第二方面及其可能的设计中任一项所述的显示方法,或者,当一个或多个处理器执行计算机指令时,电子设备执行如第三方面及其可能的设计中任一项所述的显示方法。
第五方面,提供一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如第一方面及其可能的设计中任一项所述的显示方法,或者,执行如第二方面及其可能的设计中任一项所述的显示方法,或者,执行如第三方面及其可能的设计中任一项所述的显示方法。
第六方面,提供一种计算机程序产品,计算机程序产品中包括指令,当计算机程序产品在计算机上运行时,使得计算机可以根据指令执行如第一方面及其可能的设计中任一项所述的显示方法,或者,执行如第二方面及其可能的设计中任一项所述的显示方法,或者,执行如第三方面及其可能的设计中任一项所述的显示方法。
第七方面,提供一种芯片系统,芯片系统包括接口电路和处理器;接口电路和处理器通过线路互联;接口电路用于从存储器接收信号,并向处理器发送信号,信号包括存储器中存储的计算机指令;当处理器执行计算机指令时,芯片系统执行如第一方面及其可能的设计中任一项所述的显示方法,或者,执行如第二方面及其可能的设计中任一项所述的显示方法,或者,执行如第三方面及其可能的设计中任一项所述的显示方法。
应当理解的是,上述第四方面,第五方面,第六方面,第七方面提供的技术方案,其技术特征均可对应到第一方面及其可能的设计中,或者,第二方面及其可能的设计中,或者,第三方面及其可能的设计中提供的显示方法,因此能够达到的有益效果类似,此处不再赘述。
附图说明
图1为一种电子设备的界面示意图;
图2为一种对角标的操作示意图;
图3为本申请实施例提供的一种电子设备的组成示意图;
图4为本申请实施例提供的一种电子设备的界面示意图;
图5为本申请实施例提供的一种显示方法的流程示意图;
图6为本申请实施例提供的又一种电子设备的界面示意图;
图7为本申请实施例提供的一种生长显示的示意图;
图8为本申请实施例提供的又一种电子设备的界面示意图;
图9为本申请实施例提供的又一种通知消息列表的示意图;
图10为本申请实施例提供的又一种电子设备的界面示意图;
图11为本申请实施例提供的又一种电子设备的界面示意图;
图12为本申请实施例提供的又一种电子设备的界面示意图;
图13为本申请实施例提供的又一种电子设备的界面示意图;
图14为本申请实施例提供的又一种电子设备的界面示意图;
图15为本申请实施例提供的又一种电子设备的界面示意图;
图16为本申请实施例提供的又一种电子设备的界面示意图;
图17为本申请实施例提供的又一种电子设备的界面示意图;
图18为本申请实施例提供的又一种电子设备的界面示意图;
图19为本申请实施例提供的又一种电子设备的界面示意图;
图20为本申请实施例提供的又一种电子设备的界面示意图;
图21为本申请实施例提供的又一种电子设备的界面示意图;
图22为本申请实施例提供的又一种电子设备的界面示意图;
图23为本申请实施例提供的又一种电子设备的界面示意图;
图24为本申请实施例提供的又一种电子设备的界面示意图;
图25为本申请实施例提供的又一种电子设备的界面示意图;
图26为本申请实施例提供的又一种电子设备的界面示意图;
图27为本申请实施例提供的又一种电子设备的界面示意图;
图28为本申请实施例提供的又一种电子设备的界面示意图;
图29为本申请实施例提供的又一种电子设备的界面示意图;
图30为本申请实施例提供的又一种电子设备的界面示意图;
图31为本申请实施例提供的又一种显示方法的流程示意图;
图32为本申请实施例提供的又一种电子设备的界面示意图;
图33为本申请实施例提供的又一种电子设备的界面示意图;
图34为本申请实施例提供的又一种电子设备的界面示意图;
图35为本申请实施例提供的又一种电子设备的界面示意图;
图36为本申请实施例提供的又一种电子设备的界面示意图;
图37为本申请实施例提供的又一种电子设备的组成示意图;
图38为本申请实施例提供的一种芯片系统的组成示意图。
具体实施方式
电子设备可以通过在应用程序的图标上显示角标,以便使得用户可以通过该角标,快速地知晓对应的应用程序接收到了通知消息。然而,在用户想要查看或者处理通知消息时,就需要通过较为复杂的操作才能实现。
示例性的,用户需要在看到电子设备上的应用程序(application,APP)的图标上显示有如图1中的(a)或者如图1中的(b)所示的角标时,点击该APP的图标,输入打开该APP的指令。电子设备在接收到该指令后,可以对应的运行该APP,并显示对应的界面,以便用户通过该界面查看通知消息的详情,或者对通知消息进行进一步的处理。
这样,由于用户需要打开APP才能看到通知消息的详情,因此并不便捷。
针对上述情况,电子设备可以提供如下方案简化用户查看通知消息的步骤。示例性的,电子设备可以在角标附近设置热区,以便在用户对热区输入长按的操作时,电子设备可以在界面上显示通知消息的情况。作为一种示例,结合图2,示出了一种设置有热区的角标操作示意图。如图2所示,在APP的图标201上可以显示有角标202。该角标202可以填充为红色或者其他颜色,用于提升用户当前APP接收到了通知消息。用户在想要查看通知消息的详情时,可以在热区203之中输入点击或者长按的操作。响应于该操作,电子设备可以激活热区。在如图2中,激活热区后,角标可以由角标202所示的填充状态切换显示为角标204所示的激活状态。电子设备可以在热区被激活后,在其界面上显示通知消息。
上述方案中,基于用户对于热区的操作,电子设备可以在不打开APP的情况下向用户展示通知消息的情况。然而,一般而言,热区的范围并不会在界面上直接展示给 用户,由此导致用户可能由于不知晓热区的范围而无法实施上述方案。另外,上述方案中仅给出了能够向用户展示通知消息情况的方案,比如,在界面上显示通知消息列表以实现向用户展示通知消息的情况。而在用户想要查看通知消息的详情,或者对通知消息进行处理时,还是需要打开APP才能进行。因此,对于用户还存在一定的不便利。
为了解决上述问题,本申请实施例提供一种显示方法。通过该方案,提供了多种不同的电子设备与用户之间的交互实现,以使得用户可以快速便捷地对通知消息进行查看或者处理。
以下结合附图对本申请实施例提供的方案进行详细说明。
需要说明的是,本申请实施例提供的方案,可以应用在用户的电子设备中。该电子设备可以是手机、平板电脑、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、媒体播放器等便携式移动设备。该电子设备也可以是智能手表等可穿戴电子设备。本申请实施例对该设备的具体形态不作特殊限制。
作为一种示例,图3示出了本申请实施例提供的一种电子设备300的组成示意图。如图3所示,该电子设备300可以包括处理器301,外部存储器接口302,内部存储器303,通用串行总线(universal serial bus,USB)接口304,充电管理模块305,电源管理模块306,电池307,天线,通信模块308,音频模块309,传感器模块310,按键311,马达312,指示器313,摄像头314,显示屏315等。
在一些实现方式中,该电子设备300还可以包括用户标识模块(subscriber identification module,SIM)卡接口等。通信模块308可以包括移动通信模块和/或无线通信模块。
可以理解的是,本实施例示意的结构并不构成对电子设备300的具体限定。在另一些实施例中,电子设备300可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器310可以包括一个或多个处理单元,例如:处理器310可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器310中。作为一种示例,在本申请中,ISP可以对图像进行处理,如该处理可以包括自动曝光(Automatic Exposure)、自动对焦(Automatic Focus)、自动白平衡(Automatic White Balance)、去噪、背光补偿、色彩增强等处理。其中,自动曝光,自动对焦,以及自动白平衡的处理也可以称为3A处理。经过处理后,ISP就可以进行获取对应的照片。
控制器可以是电子设备300的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器310中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理 器310中的存储器为高速缓冲存储器。该存储器可以保存处理器310刚用过或循环使用的指令或数据。如果处理器310需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器310的等待时间,因而提高了系统的效率。
在一些实施例中,处理器310可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
电子设备300可以通过ISP,摄像头314,视频编解码器,GPU,显示屏315以及应用处理器等实现拍摄功能。
ISP用于处理摄像头314反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头314感光元件上,光信号转换为电信号,摄像头314感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头314中。
摄像头314用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备300可以包括1个或N个摄像头314,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备300在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备300可以支持一种或多种视频编解码器。这样,电子设备300可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备300的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
充电管理模块305用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块305可以通过USB接口304接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块305可以通过电子设备300的无线充电线圈接收无线充电输入。充电管理模块305为电池307充电的同时,还可以通过电源管理模块306为电子设备300供电。
电源管理模块306用于连接电池307,充电管理模块305与处理器310。电源管理模块306接收电池307和/或充电管理模块305的输入,为处理器310,内部存储器303,外部存储器,显示屏315,摄像头314,和无线通信模块等供电。电源管理模块306还可以用于监测电池307容量,电池307循环次数,电池307健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块306也可以设置于处理器310中。在另一些实施例中,电源管理模块306和充电管理模块305也可以设置于同一个器件中。
电子设备300的无线通信功能可以通过天线,移动通信模块,无线通信模块,调制解调处理器310以及基带处理器310等实现。
天线用于发射和接收电磁波信号。电子设备300中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块可以提供应用在电子设备300上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块可以由天线接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块还可以对经调制解调处理器调制后的信号放大,经天线转为电磁波辐射出去。在一些实施例中,移动通信模块的至少部分功能模块可以被设置于处理器310中。在一些实施例中,移动通信模块的至少部分功能模块可以与处理器310的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器,受话器等)输出声音信号,或通过显示屏315显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器310,与移动通信模块或其他功能模块设置在同一个器件中。
无线通信模块可以提供应用在电子设备300上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块经由天线接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器310。无线通信模块还可以从处理器310接收待发送的信号,对其进行调频,放大,经天线转为电磁波辐射出去。
在一些实施例中,电子设备300的天线和移动通信模块耦合,以及无线通信模块耦合,使得电子设备300可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入 (code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。需要说明的是,在不同的实现方式中,天线可以包括一个或多个不同的子天线。各个子天线可以工作在相同或不同的频段,以实现电子设备与其他设备之间的无线通信。
电子设备300通过GPU,显示屏315,以及应用处理器310等实现显示功能。GPU为图像处理的微处理器,连接显示屏315和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器310可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏315用于显示图像,视频等。显示屏315包括显示面板。显示面板可以采用液晶显示屏315(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备300可以包括1个或N个显示屏315,N为大于1的正整数。
外部存储器接口302可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备300的存储能力。外部存储卡通过外部存储器接口302与处理器310通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器303可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器310通过运行存储在内部存储器303的指令,从而执行电子设备300的各种功能应用以及数据处理。内部存储器303可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的APP(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备300使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器303可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备300可以通过音频模块309,等实现音频功能。例如音乐播放,录音等。按键311包括开机键,音量键等。按键311可以是机械按键311。也可以是触摸式按键311。电子设备300可以接收按键311输入,产生与电子设备300的用户设置以及功能控制有关的键信号输入。马达312可以产生振动提示。马达312可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏315不同区域的触摸操作,马达312也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信 息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。指示器313可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口用于连接SIM卡。SIM卡可以通过插入SIM卡接口,或从SIM卡接口拔出,实现和电子设备300的接触和分离。电子设备300可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口也可以兼容不同类型的SIM卡。SIM卡接口也可以兼容外部存储卡。电子设备300通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备300采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备300中,不能和电子设备300分离。
需要说明的是,作为一种可能的实现,传感器模块310可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。
触摸传感器,也称“触控面板”。触摸传感器可以设置于显示屏315,由触摸传感器与显示屏315组成触摸屏,也称“触控屏”。触摸传感器用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。在一些实施例中,可以通过显示屏315提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器也可以设置于电子设备300的表面,与显示屏315所处的位置不同。
压力传感器用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器可以设置于显示屏315。压力传感器的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器,电极之间的电容改变。电子设备300根据电容的变化确定压力的强度。当有触摸操作作用于显示屏315,电子设备300根据压力传感器检测所述触摸操作强度。电子设备300也可以根据压力传感器的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器可以用于确定电子设备300的运动姿态。在一些实施例中,可以通过陀螺仪传感器确定电子设备300围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器检测电子设备300抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备300的抖动,实现防抖。陀螺仪传感器还可以用于导航,体感游戏场景。
气压传感器用于测量气压。在一些实施例中,电子设备300通过气压传感器测得的气压值计算海拔高度,辅助定位和导航。
磁传感器包括霍尔传感器。电子设备300可以利用磁传感器检测翻盖皮套的开合。在一些实施例中,当电子设备300是翻盖机时,电子设备300可以根据磁传感器检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解 锁等特性。
加速度传感器可检测电子设备300在各个方向上(一般为三轴)加速度的大小。当电子设备300静止时可检测出重力的大小及方向。还可以用于识别电子设备300姿态,应用于横竖屏切换,计步器等应用。
距离传感器,用于测量距离。电子设备300可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备300可以利用距离传感器测距以实现快速对焦。
接近光传感器可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备300通过发光二极管向外发射红外光。电子设备300使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备300附近有物体。当检测到不充分的反射光时,电子设备300可以确定电子设备300附近没有物体。电子设备300可以利用接近光传感器检测用户手持电子设备300贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器用于感知环境光亮度。电子设备300可以根据感知的环境光亮度自适应调节显示屏315亮度。环境光传感器也可用于拍照时自动调节白平衡。环境光传感器还可以与接近光传感器配合,检测电子设备300是否在口袋里,以防误触。
指纹传感器用于采集指纹。电子设备300可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器用于检测温度。在一些实施例中,电子设备300利用温度传感器检测的温度,执行温度处理策略。例如,当温度传感器上报的温度超过阈值,电子设备300执行降低位于温度传感器附近的处理器310的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备300对电池307加热,以避免低温导致电子设备300异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备300对电池307的输出电压执行升压,以避免低温导致的异常关机。
骨传导传感器可以获取振动信号。在一些实施例中,骨传导传感器可以获取人体声部振动骨块的振动信号。骨传导传感器也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器也可以设置于耳机中,结合成骨传导耳机。音频模块309可以基于所述骨传导传感器获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器获取的血压跳动信号解析心率信息,实现心率检测功能。
需要说明的是,在本申请的一些实现方式中,上述如图3所示的电子设备300,可以通过触摸屏接收用户用手指输入的操作,比如按压、点击、拖拽、预设手势等。在本申请的另一些实现方式中,电子设备300还可以通过其他外接输入设备接收用户输入的操作。比如,电子设备300可以接收用户使用触控笔输入的按压、点击、拖拽、预设手势等操作。又如,电子设备300可以接收用户使用与电子设备300通过有线或者无线连接的鼠标或者键盘等外部输入设备输入的操作或者指令。本申请实施例对于电子设备接收用户输入操作的形式不作限定。
本申请实施例提供的方案能够应用于与如图3所示的电子设备300中。
基于上述如图3所示的硬件组成,电子设备300中可以运行有操作系统,该操作 系统可以是安卓操作系统,或者Windows操作系统,或者IOS操作系统或者其他操作系统。在操作系统中,可以安装有一个或多个应用程序。该应用程序可以包括第三方应用程序,比如,该第三方应用程序可以包括即时通讯类应用,如微信 TM(或者WeChat  TM)、Welink TM等。该应用程序还可以包括系统应用程序,如电话、信息等。
在本申请中,具有如图3所示组成的电子设备,能够在其界面上通过角标提示用户对应APP接收到了通知消息。该APP可以是第三方应用程序,也可以是系统应用程序。比如,以电子设备为平板电脑为例。图4示出了一种通过角标提示应用程序接收到通知消息的界面示意图。如图4所示,在微信 TM接收到通知消息时,可以在其图标的右上角显示角标401。在如图4所示的示例中,该角标401中可以包括数字信息。该数字信息可以与微信 TM接收到的通知消息的数量对应。通过该数字信息,电子设备可以向用户直观地展示微信 TM接收到的通知消息的数量。类似的,在信息接收到通知消息时,可以在其图标的右上角显示角标402。关于角标402的说明,可以参见角标401,在此不再赘述。需要说明的是,在一些实现方式中,在文件夹(如图4所示界面上的文件夹1)中的APP接收到通知消息时,在文件夹的图标的右上角也可以显示对应的角标,以使得用户能够通过该角标知晓文件夹1中的APP也接收到了通知消息,对于文件夹对应角标的处理方式将在后续说明。
用户可以通过手指,或者与电子设备连接的鼠标,键盘,或者触控笔进行输入。以用户通过鼠标进行输入为例。电子设备可以识别鼠标已经连接/接近,进而通知热区激活。激活后的热区就可以接收用户输入的操作,并根据用户输入的操作以列表或者悬浮窗或者分屏的形式向用户展示通知消息。在一些实现方式中,如果鼠标没有与电子设备连接,那么电子设备可以不激活热区,以免误操作的出现。
需要说明的是,电子设备可以接收并识别用户在热区范围内的操作。比如,在角标附近可以设置有与角标对应的热区范围。电子设备在确定用户使用手指对角标的热区范围的触碰操作时,确定用户输入了对角标的操作。需要说明的是,在本申请实施例中,触碰操作可以包括按压操作,或者点击操作。
在本申请中,电子设备可以根据用户对热区的操作(或者称为对角标的操作),选取对应的显示方式(如列表或者悬浮窗或者分屏),向用户展示通知消息。
以下结合图4所示的界面,对本申请实施例提供的方案进行说明。
请参考图5,为本申请实施例提供的一种显示方法的流程示意图。如图5所示,该方法可以包括:
S501、接收用户输入的对角标的第一操作;
S502、响应于第一操作,在界面上显示包括角标对应的通知消息列表的界面。
在该示例中,电子设备可以根据用户输入的第一操作,在界面上以列表的形式,显示通知消息的详细内容。
作为一种示例,第一操作可以是用户使用手指长按图标右上角区域。在用户触碰图标右上角区域的时长大于预设的时长时,则电子设备可以确定用户输入了第一操作。在该示例中,电子设备可以通过预设的时长,区分误触发(或者点击)和用户输入的第一操作之间的区别。比如,在用户使用手指按下对应区域的时长小于预设的时长时,那么电子设备可以认为当前为误触发,不对该操作进行相应。又如,在用户使用手指 按下对应区域的时长大于预设的时长时,那么电子设备可以认为当前用户输入了第一操作,响应于该操作,电子设备可以执行S502,即在界面上显示通知消息列表。
在另一些示例中,第一操作还可以是用户通过触控笔触碰角标热区的操作。或者,该第一操作还可以是用户将鼠标移动到角标位置,并长按左键的操作。
可以看到,在该示例中,电子设备可以通过在界面上显示通知消息列表,以便用户可以在不打开应用程序的前提下,查看到通知消息的详细内容。
示例性的,请参考图6,示出了一种包括通知消息列表的界面示意图。其中,是以电子设备为平板电脑,第一操作是用户使用触控笔触碰角标的操作为例进行说明的。
如图6所示,在接收到用户的操作之前,平板电脑的显示屏上可以显示有界面601。可以看到,在界面601上,显示有多个应用程序的图标。其中可以包括微信 TM的图标。在微信 TM图标的右上角,显示有包括数字信息“4”的角标。通过平板电脑展示的角标,用户就可以知晓,微信 TM当前接收到了4个通知消息。在用户想要查看通知消息的详情时,可以使用触控笔,触碰角标。响应于该操作,平板电脑可以将显示的内容切换为界面602。在该界面中,可以包括通知消息列表603。该通知消息列表603中可以包括上述4个通知消息的详细内容。在该示例中,该通知消息列表603可以是从角标生长出来展示给用户的。以下对本申请中提及的生长(或生长显示)进行举例说明。
需要说明的是,在本示例中,生长显示的过程,可以对应于通知消息列表的面积由小到大的变化显示过程。
比如,结合图7,示出了一种通知消息列表生长显示的示意图。如图7所示,在用户使用触控笔触碰角标时,以该角标在屏幕上的位置为基点,通知消息列表可以从小到大逐渐生长,并在其大小达到预设的大小时停止生长。其中的内容可以随着消息列表框体的逐渐变大,进行显示。这样,可以使得用户能够在触碰角标后,通过上述生长过程,清楚地知晓该通知消息列表中的内容对应与触碰的角标,从而更加准确获取通知消息的内容。
在上述示例中,是以通知消息列表从角标生长显示为例进行说明的。在本申请的另一些实现方式中,该通知消息还可以是在悬浮窗中进行展示的。
示例性的,在本申请的另一些实现方式中,在执行如图5所示的方法中,在使用触控笔进行输入时,该第一操作还可以是不同于使用触碰或者点击的其他操作。比如,用户可以使用触控笔,对角标进行拖拽操作。结合图8,为本申请实施例提供的又一种包括通知消息列表的界面示意图。如图8所示,用户可以通过触控笔,对角标进行拖拽操作。比如,用户可以控制触控笔,在角标位置进行触碰,随后在保持触碰的情况下,控制触控笔向其他任意方向拖拽(比如沿图8中所示的虚线箭头向右拖拽),随后停止触碰,控制触控笔离开显示屏。响应于用户输入的操作,电子设备可以控制角标随着触控笔的拖拽在显示屏上移动,直到检测到触控笔停止触碰(即用户控制触控笔离开电子设备的显示屏)。电子设备可以在触控笔停止触碰的位置(也就是角标随着触控笔在显示屏上移动的终点位置)显示悬浮窗,并在悬浮窗中向用户展示通知消息列表。区别于上述实现方式,悬浮窗的位置与触控笔停止触碰的位置相对应,在另一些实现方式中,该悬浮窗的位置也可以是与触控笔停止触碰的位置不相关的。比如,电子设备接收到用户拖拽角标的第一操作,该拖拽角标的操作可以是向任意方向 的。接着,可以在预设位置显示悬浮窗,并且在悬浮窗中向用户展示通知消息列表。
可以看到,在上述说明中,平板电脑可以在界面上显示通知消息列表,通过在列表中向用户展示各个通知消息的内容,使得用户可以直观地了解通知消息的详情。作为一种示例,图9示出了一种通知消息的示例。其中,以在列表中显示4个通知消息为例。可以看到,每个通知消息可以对应到一行消息栏目。在每行消息栏目中,可以展示对应通知消息的发送方信息。示例性的,该发送方信息可以包括其头像,和/或昵称,和/或通知消息详情。例如,如图9所示,在第一行消息栏目中,可以显示有消息发送方的昵称为Momo,同时展示其头像,以便用户可以直观准确地确定对方的身份。另外,在第一行消息栏目中,还可显示有消息的具体内容,比如“好呀”。可以理解的是,结合消息发送方的昵称、头像以及信息内容,用户就可以直观准确地了解该通知消息的相关内容。类似的,在如图9所示的通知消息列表中,还可以展示有其他通知消息。比如,Mick发送的:“下周上白班还是夜班?”,Lucy发送的:“最近天气凉,出门多穿点衣服”,以及Andy发送的“下周一可以帮忙请个假吗?”等信息。
结合上述针对图4-图9的说明,本领域技术人员应当理解的是,通过本申请实施例提供的方案,用户可以在界面上通过简单的操作,即可直观地看到通知消息的详情,而并不需要打开应用程序。这样在为用户带来便捷的同时,也能够有效地减少电子设备的运行负担。
在本申请的一些实施例中,用户还可以进一步对界面上如图6所示的生长显示的通知消息列表进行操作,或者对界面上如图8所示的在悬浮窗中展示的通知消息进行操作,以获取通知消息的详细信息。
请参考图10,为本申请实施例提供的两种不同的显示方案。需要说明的是,为了能够清楚地对本申请实施例提供的方案进行详细说明,在以下的说明中,均以用户通过触控笔输入操作为例进行说明。应当理解的是,结合上述对第一操作的说明,以下通过触控笔输入操作仅为示例,电子设备还可以接收用户输入的其他操作,例如该操作可以是使用手指、外接输入设备(鼠标、电脑等)以及其他输入方式输入的操作。对于这些操作,电子设备的响应方式可以参考以触控笔输入的操作,其具体实现在同一个总的思路上相同,但是在具体变现形式上可能稍有不同,也应包括在本申请实施例所需要保护的范围之内。因此对于其他输入方式的响应不再赘述。
示例性的,如图10所示,在用户想要查看消息栏目1中所示的通知消息详情时,可以使用触控笔点击消息栏目1中的任意区域。响应于该操作,电子设备可以采用至少两种不同的显示方案中的一种向用户展示对应的内容。需要说明的是,在该示例中,该消息栏目1对应的通知消息是来源于即时聊天应用的中与Momo的聊天内容,因此,响应于用户输入的操作,电子设备可以在其界面上向用户展示与该消息栏目1对应的与Momo的聊天详情。
在显示方案一中,电子设备可以响应于用户点击消息栏目1的操作,在悬浮窗中显示该消息栏目1对应的通知消息的具体内容。比如,参考图10,电子设备可以响应于用户输入的对消息栏目1的操作,在悬浮窗中显示该消息栏目1对应的详细聊天详情。通过该详细聊天详情,用户就可以看到在接收到Momo发送的通知消息之前,双方的对话,以及时间等信息,更有利于用户了解通知消息相关的所有内容。需要说明的 是,在该示例中,悬浮窗的位置可以是预设的,也可以是根据消息栏目1在界面上的位置对应确定的。比如,该悬浮窗的中心位置可以与消息栏目1的中心重合。
另外,在该示例中,悬浮窗的大小可以是预设的,也可以是电子设备根据要显示的内容多少灵活设置的,或者,悬浮窗的大小和/或尺寸也可以是用户自行设置的。本申请实施例对此不作限制。
需要说明的是,在该消息栏目1在如图8所示的悬浮窗中展示的情况下,那么在图10中用于展示消息栏目1的悬浮窗可以与图8中所示的悬浮窗相同。当然,图10中的悬浮窗的位置和/或大小也可与图8所示的悬浮窗不同。
在显示方案二中,电子设备可以响应于用户点击消息栏目1的操作,对该消息栏目1对应的聊天详情进行全屏显示。比如,结合图10,电子设备可以在显示屏上全屏展示对应的聊天详情。
在实际实现中,电子设备可以灵活选取上述两种显示方案中的一种,该选取过程可以使预先设置的,也可以是用户配置的,也可以是根据其他环境情况所确定的。
需要说明的是,在采用上述示例中的显示方案一或者显示方案二时,电子设备可以通过不同的途径获取消息栏目1对应的聊天详情。比如,电子设备可以通过持续监控该消息栏目1对应的应用程序(如微信 TM)的通知消息,以获取对应的聊天详情。这样,电子设备可以根据监控获取的信息来获取聊天详情,并在悬浮窗中或者全屏展示。通过该方案,电子设备可以在不打开微信 TM应用的情况下,获取聊天详情,并向用户展示。又如,电子设备可以在需要展示聊天详情时,打开对应的应用程序(如微信 TM),以便通过微信 TM应用对应的缓存或者对应的应用服务器获取聊天详情并进行显示。
另外,在如图10中展示的两种显示方案的基础上,在本申请的另一些实现方式中,以电子设备采用显示方案而为例。在全屏展示消息栏目1对应的聊天详情的同时,还可以在界面上显示悬浮球(图中未示出),该悬浮球可以包括提示信息,用于提示用户,在当前全屏显示的聊天之外,还有其他通知消息未查看。比如,以包括当前全屏显示的聊天在内,一共有N个通知消息为例。在电子设备在响应于用于输入的对消息栏目1的点击操作对其对应的聊天详情进行全屏展示时,可以在该界面上的任意位置(或者预设位置)显示悬浮球,该悬浮球中可以包括数字信息,如N-1。以便提示用户,处理当前全屏展示的消息栏目1的通知消息之外,还有N-1个通知消息可以被查看。在用户想要查看着N-1个通知消息时,可以对该悬浮球进行操作,比如,用户可以针对该悬浮球输入如6中对角标的操作,以便电子设备响应于该操作,按照如图6所示类似的机制展示对应的内容。或者,用户可以针对该悬浮球输入如8中对角标的操作,以便电子设备响应于该操作,按照如图8所示类似的机制展示对应的内容。或者,用户可以针对该悬浮球输入如10中对角标的操作,以便电子设备响应于该操作,按照如图10所示类似的机制展示对应的内容。
可以看到,结合上述图4-图10的说明,本申请实施例提供了完整的处理机制,使得电子设备可以根据用户输入的操作,快速准确地向用户展示对应的信息。比如,向用户展示角标对应的通知消息。又如,向用户展示通知消息的详情。这样就使得用户可以快速准确地对通知消息进行查询或处理。
需要说明的是,本申请实施例的另一些实现方式中,还提供了通过分屏的方式向 用户展示通知消息的方案。
可以理解的是,在一个应用程序的通知消息较多时,如果悬浮窗展示或者全屏展示其中一个通知消息,会使得用户想要知晓所有通知消息的内容时的时间成本和操作复杂度显著上升。类似的,在存在多个应用程序都有通知消息需要被查看时,也存在上述问题。为了解决该场景下的问题,本申请实施例还提供一种方案,基于分屏的显示,使得用户能够更加快速地查看来自同一个应用程序或者来自不同应用程序的通知消息。需要说明的是,该基于分屏的显示方案也能够应用在通知消息较少的场景下。以下结合附图对该方案进行举例说明。
在该示例中,用户可以通过将角标拖拽到预设区域,或者通过对角标输入预设手势,以使得电子设备根据用户输入的操作进行分屏的通知消息显示。
示例性的,在一些实现方式中,结合图11,用户可以用触控笔触碰微信 TM应用的角标,在持续触碰的同时,将该角标拖拽到显示屏上任意位置(如位置1)。在拖拽的过程中,显示屏上可以显示有提示框,用于提示用户将角标拖拽到该位置即可分屏。比如,该提示框中可以显示有如下文字:“拖到此处分屏”。在用户想要通过分屏的形式查看微信 TM应用的通知消息时,可以继续持续触碰角标,并将角标从位置1拖拽到该提示框对应的位置(如位置2)。此后用户可以停止触碰角标,并控制触控笔离开显示屏。响应于用户的上述操作,电子设备可以对用户拖拽的微信 TM应用的4个通知消息进行分屏显示。
在另一些实现方式中,结合图12,用户可以用户触控笔触碰微信 TM应用的角标,在持续触碰的同时,拖拽该角标在显示屏上,按照分屏对应的预设手势(如预设手势1)的路径滑动,以实现输入预设手势1的效果。响应于用户的上述操作,电子设备可以对用户拖拽的微信 TM应用的4个通知消息进行分屏显示。
需要说明的是,在本申请的不同的实现场景中,电子设备可以配置有不同的机制,使得电子设备可以在对应场景下,根据用户输入的预设手势,进行对应的分屏显示。以下结合图13以及图14中的示例进行说明。
在一些实现中,结合图13,在用户输入上述分屏显示的操作之后,电子设备可以将其显示屏分为至少两部分进行显示。比如,如图13所示,电子设备可以在第一分屏中显示微信 TM通知。在一些实现方式中,该第一分屏中具体可以显示有微信 TM应用对应的通知消息情况。在该示例中,在第一分屏中显示的微信 TM通知可以类似于前述说明中的通知消息列表。对应,在第二分屏中,电子设备可以显示进行分屏之前所显示的界面,比如,在接收到用户输入的分屏显示的操作之前,电子设备显示的是主界面。那么在接收到用户输入的分屏显示的操作之后,电子设备可以在第二分屏上继续显示主界面。应当理解的是,在一些场景中,用户还可以继续对第一分屏中展示的通知消息列表输入操作,以便查看更多内容。对应的,电子设备可以响应于用户输入的操作,在该第一分屏中显示对应的内容。比如电子设备的响应机制可以按照如图10所示的方案进行,此处不再赘述。
在另一些实现中,结合图14,在用户输入上述分屏显示的操作之后,电子设备可以对微信 TM应用对应的通知消息进行多分屏显示。比如,如图14所示,电子设备可以将其显示屏分为M部分进行显示。图14中是以M为4,即电子设备进行4分屏显示为 例进行说明的。在4分屏中的每个分屏中,电子设备都可以显示对应的一个通知消息的聊天详情。这样,通过分屏显示,用户就可以一次性地查看M分屏分别对应的M个聊天详情。
需要说明的是,在本申请的另一些实现方式中,电子设备中还可同时配置有如图13所示的方案以及如图14所示的方案,以便我用户提供更加多样的显示选择。
在该示例中,电子设备中配置的如图13所示的方案与如图14所示的方案可以对应于用户输入的不同的分屏显示的操作。以用户输入预设手势触发分屏显示为例。结合图13以及图15,在电子设备接收到如图13所示的预设手势1的分屏显示的操作时,可以按照如图13所示的方案进行分屏显示。在电子设备接收到其他预设手势(如图15所示的预设手势2)的分屏显示的操作时,可以显示如图14所示的M分屏。也就是说,电子设备可以建立不同预设手势与分屏显示方案的对应关系,以便于在用户输入不同的预设手势时,电子设备可以采用对应的不同分屏显示方案向用户展示通知消息。
可以看到,在上述图14-图15所示的方案介绍中,均以微信 TM应用的通知消息为4个,并且M分屏时M取4为例的。在该场景下,通过4分屏向用户展示通知消息,不会存在有分屏空余或者还有其他通知消息没有被展示的情况出现。容易想到的是,在实际场景中,经常会出现通知消息的个数与分屏数量不一致的情况。对此,本申请实施例也提供了对应的处理方法。
示例性的,在一些实现方式中,请参考图16,以用户输入预设手势2触发分屏显示为例。在该示例中,微信 TM应用的通知消息为2个,电子设备中设置的分屏数量可以大于2,比如为4。那么响应于用户输入的分屏显示操作,电子设备在确定需要显示的通知消息数量小于分屏数量时,调整分屏的数量。比如,如图16所示,电子设备可以在左边栏依次显示两个分屏分别显示两个通知消息。由于没有其他通知消息可以被显示,因此电子设备可以在原先需要在右边显示两个分屏的区域,显示一个完整的主界面,由此使得不会出现分屏区域内没有显示内容的问题。
在另一些实现方式中,请参考图17,以微信 TM应用的通知消息为P个,电子设备中设置的分屏数量为4,P为大于4的整数为例。那么响应于用户输入的分屏显示操作,电子设备在确定需要显示的通知消息数量大于分屏数量时,选取4分屏中的3个显示具体的聊天详情。比如,如图17所示,电子设备可以在上侧两个分屏,以及左下角的分屏中分别显示Momo、Mick以及Lucy三个通知消息发送者对应的聊天详情。而对于没有显示的其他通知消息,电子设备可以在右下角的分屏中以卡片或者列表的形式分别展示用户。比如,如图17所示,其中以卡片的形式向用户展示未展示聊天详情的通知消息为例。可以看到,在右下角的分屏中,电子设备可以展示不同通知消息发送者(如Tom,Jason,以及Candy)对应的卡片。每个通知消息发送者对应的卡片中可以包括该通知消息发送者的昵称和/或通知消息内容等信息。
需要说明的是,由于在分屏中能够展示出的卡片数量是有限的,当通知消息的较多时,那么在显示卡片的两侧还可以显示有提示符,比如图17中所示的“……”,用户可以通过该提示符,确定还有其他的卡片未被展示。以便在用户想要查看其他卡片时,可以在该分屏中输入向左或向右滑动的操作。响应于该操作,电子设备可以在右下角的分屏中向用户展示其他的卡片。
在本申请的另一些实现方式中,电子设备还可通过悬浮球的形式,向用户展示没有被展示在分屏中的通知消息的情况。比如,结合图18,电子设备可以通过4分屏分别显示Momo、Mick、Lucy以及Andy对应的聊天详情。由于还有其他的通知消息发送者的通知消息还没有在界面上显示,在本示例中,可以在显示屏上的任意位置(或者预设位置)显示带有提示信息的悬浮球。比如,如图18所示,悬浮球中可以显示有数字信息。在图18中,显示的数字信息为3,则表明除了目前4分屏上显示的4个通知消息之外,还有3个通知消息可以被查看。通过该方式,用户就可以明确通知消息的分布情况。
在本示例中,用户还可以进一步对悬浮球进行操作,以便查看尚未显示的通知消息内容。比如,结合图19,用户可以使用触控笔点击悬浮球,响应于该操作,电子设备可以在界面上尚未在分屏中显示的通知消息的情况。在一种示例中,在接收到用户点击悬浮球的操作之后,电子设备可以在界面上显示悬浮球对应的未展示在4分屏上的通知消息的情况。比如,可以以通知消息列表的形式展示尚未展示出的3个通知消息。该通知消息的列表的具体内容可以参考如图6所示的说明。这样,用户就可以通过该通知消息列表,查看尚未展示在4分屏上的通知消息。
在本申请的一些实现中,电子设备还可以根据用户的操作进一步调整4分屏中显示的内容。比如,用户的操作下,显示如图19所示的通知消息列表的情况下,电子设备可以接收用户对该通知消息列表中的消息栏目的操作,并响应于该操作,对应调整4分屏中一个或多个分屏中显示的内容。作为一种示例,请参考图20,用户可以使用触控笔,对通知消息发出者为Tom的消息栏目输入拖拽操作。比如,用户可以将Tom对应的消息栏目拖拽到右上角原先显示有Momo对应的消息的分屏中。在一些实现中,随着用户的拖拽动作,电子设备可以控制Tom对应的消息栏目跟随触控笔的轨迹进行移动。在用户使用触控笔输入拖拽动作,并在左上角的分屏上释放时,电子设备可以在该左上角的分屏中展示Tom对应的聊天详情。类似的,用户还可以对其他消息栏目执行类似的操作,以使得电子设备能够根据用户输入的操作,调整4分屏中各个分屏中显示的内容。可以理解的是,基于上述对图20的说明,在用户控制Tom对应的消息栏目替换Momo对应的消息时,则表明用户已经完成对Momo对应消息的查阅或操作,那么在Tom对应的消息栏目中的聊天详情展示在左上角的分屏中时,电子设备可以调整悬浮球中的数字提示信息,比如,将数字提示信息从3调整为2。以便用户可以知晓,当前依然有2个通知消息处于未读的状态。
可以理解的是,在上述针对分屏显示的说明中,均以电子设备根据用户的操作,向用户展示单一应用程序的多个通知消息为例进行说明的。在本申请的另一些实现方式中,还提供了多个应用程序分别对应的通知消息的分屏显示方案。
示例性的,以在用户的操作下,电子设备在界面上显示2分屏为例。结合图21,电子设备可以在左边的分屏上显示微信 TM应用的通知消息。该界面的展示机制可以参考图13或者图16所示的说明。在右边的分屏上展示主界面的情况下,如图21所示,信息应用的图标右上角也显示有角标,该角标可以用于提示用户信息应用也有2个通知消息可以读取。那么,用户可以在左边分屏上显示微信 TM应用的通知消息的情况下,使用触控笔,点击右边分屏中信息应用图标对应的角标。响应于该操作,电子设备可以 在右边分屏上向用户展示信息应用对应的通知消息。比如,信息应用的通知消息的展示可以为列表展示,也可以通过其他方式进行展示。
需要说明的是,在图21中,是以电子设备在界面显示2分屏为例进行说明的。在本申请的另一些实现中,多个不同应用程序的分屏展示也可以是在其他分屏情况下被触发的。比如,电子设备在界面上显示4分屏时,用户可以通过对一个分屏中包括的角标(比如该分屏中显示有主界面,主界面中包括有显示有角标的应用程序图标)的操作,实现在该分屏中显示对应应用程序的通知消息的效果。
可以理解的是,上述对图3-图10中,对于单一应用程序的多个通知消息的展示说明,以及图11-图21中,对于一个或多个应用程序的多个通知消息的展示说明,都可以应用在对文件夹的角标对应的通知消息的展示中。
示例性的,请参考图22,示出了本申请实施例提供的一种对文件夹角标的通知消息的显示方法。该方案的执行可以参考图6-图8对应的执行方式。比如,电子设备可以接收用户通过触控笔输入的点击或者触碰文件夹1对应图标的角标的操作。响应于该操作,电子设备可以控制显示屏显示对应的界面。作为一种示例,在该界面上,可以从文件夹1对应的角标处生长显示该文件夹中对应的通知消息。区别于图9所示的以通知发出者为粒度的展示,在如图22所示的文件夹的角标对应的通知消息列表中,可以是以应用程序为粒度的展示。比如,以文件夹1中有4个应用(如应用1,应用2,应用3以及应用4)接收到通知消息为例。如图22所示,在生长显示的通知消息列表中,每个消息栏目中,可以对应一个应用程序的通知消息。比如,在第一行的消息栏目中,可以展示有应用1的图标,和/或应用1的名称,和/或应用1对应的消息详情等与应用1对应的通知消息。类似的,在第二行的消息栏目中,可以展示有应用2的图标,和/或应用2的名称,和/或应用2对应的消息详情等与应用2对应的通知消息。在第三行的消息栏目中,可以展示有应用3的图标,和/或应用3的名称,和/或应用3对应的消息详情等与应用3对应的通知消息。在第四行的消息栏目中,可以展示有应用4的图标,和/或应用4的名称,和/或应用4对应的消息详情等与应用4对应的通知消息。
可以理解的是,由于能够用于显示的空间有限,因此,在通知消息列表中可能无法展示文件夹中所有应用程序的通知消息情况。或者,在一个消息栏目中,可能无法展示出对应应用的所有通知消息。对于该场景,本申请还提供对应的解决方案。
示例性的,以控制一个消息栏目中展示未显示的通知消息为例。结合图23,在应用2对应的消息栏目的图标右上角,可以展示有角标,该角标可以用于提示用户还有更多的未展示的该应用2的通知消息。比如,该角标中可以包括数字3,用于标识该应用2共有3个通知消息。在该示例中,一个消息栏目中可以展示一个应用的2个通知消息。例如,应用2的对应消息栏目中可以展示有消息1和消息2。由于该应用2共有3个通知消息,也就是说,还有1个通知消息(如消息3)尚未展示。那么,在用户想要在消息栏目中看到更多消息(如消息3)时,可以控制触控笔对右边显示的进度条进行拖拽操作,比如,将如图23所示的进度条向下操作。响应于该操作,电子设备可以在对应消息栏目中向下滚动展示其他通知消息。比如,在原展示有消息1的位置,替换为展示消息2的内容。在园展示有消息2的位置,替换为展示消息3的内 容。这样就实现了在用户的控制下,向用户展示应用2的全部通知消息的目的。
本申请实施例中,还提供了在用户的控制下便捷查看文件夹中应用程序的通知消息详情的方案。比如,结合图24,在用户想要查看文件夹1中应用1对应的通知消息详情时,可以控制触控笔对应用1对应的消息栏目输入触碰的操作。响应于该操作,电子设备可以在界面上显示应用1对应的各个通知消息的详情。比如,分别显示消息1的详情以及消息2的详情。另外,本申请实施例还提供分别显示各个应用程序对应窗口的实现方式。示例性的,结合图25,电子设备可以在用户的控制下,在界面上分别显示该文件夹1中,各个应用程序的通知消息详情。其中,不同应用程序的通知消息详情可以在不同的窗口中展示。比如,电子设备在接收到用户通过触控笔在如图25所示的消息通知列表中的空白区域的点击或触碰操作时,可以跳转显示有多个不同应用窗口的界面。在该界面中,每个应用窗口可以对应到一个应用及其通知消息。比如该界面中可以包括应用1及其通知消息详情的应用窗口,该界面中还可以包括应用2及其通知消息详情的应用窗口,该界面中还可以包括应用3及其通知消息详情的应用窗口,该界面中可以还包括应用4及其通知消息详情的应用窗口。这样,在用户想要查看某一个应用的详细通知时,可以通过选中对应的应用窗口,将该应用窗口调整到最顶层进行查看。
可以理解的是,电子设备也可以在用户对文件夹的角标输入预设手势的情况下,展示各个应用窗口。比如,结合图26,用户可以控制触控笔,触碰文件夹的角标,并向预设的方向(如右上方)拖动该角标,那么在用户控制触控笔释放角标时,电子设备就可以在对应位置分别显示各个应用窗口。可以看到,通过该示例,提供了电子设备不需显示通知消息列表即可向用户展示多个应用窗口的方案,这样更有利于用户查看各个应用的通知消息详情。
结合上述对图11-图19的说明,在使用本申请实施例提供的方案查看文件夹角标对应的通知详情时,电子设备还可以根据用户输入的操作,进行分屏显示。示例性的,请参考图27,电子设备可以在接收到用户对文件夹1的角标的预设手势3的操作时,在界面上通过分屏的形式展示该文件夹1中各个应用程序的通知消息。比如,通过4分屏的形式,分别在1个分屏上展示应用1、应用2、应用3以及应用4的通知消息界面。可以理解的是,在分屏数量与需要展示的应用程序的数量不同时,也可参考前述对于应用程序的分屏显示方案进行显示。比如,在需要展示的应用程序的数量大于分屏数量时,请参考图28,电子设备可以采取在一个分屏中展示无法显示的更多应用程序对应卡片的方案进行分屏显示。电子设备还可以采取在分屏的界面上展示悬浮球以提示用户还有更多应用程序的通知消息还可被查看的方案进行分屏显示。当然,电子设备还可以根据用户对应用对应卡片的操作,或者对悬浮球的操作,进一步调整分屏显示的机制。其具体执行过程与上述图5-图21的说明类似,此处不再赘述。
这样,通过对图22-图28的说明,可以理解的是,本申请实施例提供的方案也可使得对文件夹角标对应的通知消息的查看更加快速便捷。
可以理解的是,随着电子设备的普及,一个用户可能同时使用多个电子设备,因此,就产生了跨设备查看通知消息的需求。本申请实施例结合前述方案,提供一种显示方案,能够支持跨设备查看通知消息,由此使得用户查看通知消息可以更加便捷。
示例性的,以用户使用两个电子设备(如第一电子设备为手机,第二电子设备为平板)为例。结合图29,第一电子设备中的应用程序可以接收通知消息,并在对应图标上显示角标,用于提示用户查看处理通知消息。作为一种示例,手机中的微信 TM应用可以在接收到通知消息时,在其图标上显示角标,该角标中可以包括提示信息,比如可以为数字4,用于提示用户目前微信 TM接收到了4个通知消息可以被查看。
如图29所示,用户可以使用触控笔对第一电子设备(或称为第一设备)的角标输入操作。比如,触控笔可以在触碰角标的同时,接收用户输入的按下预设按钮的操作。由此,触控笔就可以指示第一设备,对当前被触碰的角标对应的通知消息进行第一处理,以便通过其他电子设备,如第二电子设备(或称为第二设备)进行查看处理。接着,触控笔可以在第二设备上进行对应的操作输入,以实现在第二设备上查看通知消息的目的。比如,结合图30,在第一设备上完成上述触碰以及按下按钮的操作之后,用户可以控制触控笔移动到第二设备的显示屏上输入触碰操作。响应于该触碰操作,第二设备可以显示通知消息对应的界面,该通知消息可以对应到第一设备上被触碰的应用接收到的通知消息。
为了实现上述图29-图30所示的效果,本申请实施例提供一下方案,使得第一设备和第二设备可以依据该方案实现跨设备之间的通知消息的显示。
示例性的,请参考图31,为本申请实施例提供的一种跨设备显示的交互流程示意图。如图31所示,该方法可以分别由第一设备和第二设备执行对应的步骤。
对第一设备而言,可以执行如下S3111以及S3112。
S3111、第一设备在接收到用户的第一操作时,识别并存储对应位置的通知消息内容。
其中,该第一操作可以是如图29所示的,用户使用触控笔在第一设备的显示屏上,对应用(如微信 TM)的角标输入的操作(如触碰操作)。需要说明的是,在一些场景下,触控笔还可以接收用户输入的触碰预设按钮的操作,响应于该操作,触控笔可以与第一设备进行交互,比如发送指示消息,以便指示第一设备识别并存储对应位置的通知消息内容。
S3112、第一设备向第二设备发送通知消息。
比如,第一设备可以搜索与处于相同局域网中的能够用于查看通知消息的一个或多个设备,并向该一个或多个设备发送通知消息。第二设备可以为能够接收到第一设备发送的通知消息的任一个设备。
其中,该通知消息可以包括S3111中获取的通知消息内容。需要说明的是,为了保证消息传输的安全性,第一设备可以在发送通知消息之前对其按照与第二设备预先沟通的方式进行加密。在另一些实现中,第一设备可以在搜索获取处于相同局域网中的设备后,仅向已经保存在第一设备的信任列表中的设备发送该通知消息,由此也可提升通知消息的安全性。
需要说明的是,在上述示例中,是以第一设备与第二设备处于相同局域网中为例进行说明的,在该示例中,第一设备可以通过无线局域网(Wireless Local Area Network,WLAN)将该通知消息发送给第二设备。
在本申请的另一些实现方式中,第二设备还可以是与第一设备不在同一个局域网 中,但是存在于第一设备的互信列表中的设备。
在该场景下,第一设备可以通过3G/4G/5G/6G对应的无线通信网络将该通知消息发送给第二设备。
对应的,第二设备可以执行如图31所示的S3121-S3123。
S3121、第二设备接收用户的第二操作。
其中,该第二操作可以是如图30所示的,用户控制触控笔在第二设备的显示屏上输入的触碰操作。可以理解的是,在本示例中,在第二设备接收到该触碰操作的过程中,还可与触控笔进行交互。该交互可以是在用户使用触控笔触碰第二设备的显示屏的同时,按下触控笔的预设按钮时进行的。第二设备通过与触控笔的交互,就能够知晓当前用户也对触控笔输入了按下预设按钮的操作,响应于该操作,第二设备就可以继续执行跨设备的通知消息的展示。
S3122、第二设备获取通知消息。
S3123、第二设备在第二操作的对应位置显示与接收通知消息相应的界面。
需要说明的是,在如图31所示方案的示例中,仅为本申请实施例提供的一种实现跨设备通知消息显示的实现,在其他一些实现方式中,具体的第一设备和第二设备的交互过程也可能不完全相同。
比如,第一设备可以是在第一操作的触发下,获取通知消息内容之后,立即执行S3112的,也可以是在第二设备接收到第二操作之后,向第一设备发出请求后执行S3112的。在本申请的一些示例中,第一设备可以按照如图31所示的,在获取通知消息内容之后,直接将其发送给第二设备。在另一些场景下,第一设备还可以将该通知消息内容上传到云端或者中转服务器中,以便第二设备可以通过云端或者中转服务器获取通知消息。
与之对应的,如果第一设备将通知消息上传到了云端或者中转服务器中,那么第二设备就可以从对应的位置(如云端或者中转服务器)获取该通知消息。第二设备对于通知消息的获取(即执行上述S3122),可以是在接收到用户对第二设备的第二操作之后执行的。在另一些实现中,第二设备执行S3122的触发机制也可以是与接收第二操作无关的,比如,按照预设周期,从第一设备或者云端或者中转服务器获取该通知消息。
可以理解的是,在如图31所示的S3123中,第二设备上显示相应的界面可以是前述说明中,基于角标的生长显示的通知消息列表,也可以是在第二设备接收第二操作对应位置的悬浮窗中显示通知消息的,还可以是类似于前述说明中任一种可能的分屏显示的界面。
示例性的,参考图32,用户控制触控笔在第一设备中输入第一操作之后,可以移动触控笔到第二设备的显示屏上,并输入第二操作。响应于用户的第二操作,第二设备可以在触控笔触碰的位置显示与第一设备接收第一操作位置响应的角标。接着,第二设备可以在确定用将触控笔移开第二设备的显示屏时,在第二设备的显示屏上,原先显示角标的位置,生长出包括通知消息列表的窗口进行显示。
在另一些实现中,结合图33,第二设备可以在其界面上显示角标后,接收用户触碰并拖拽该角标的操作,其中,该拖拽路径可以是预设手势对应的路径。响应于该操 作,第二设备可以在其界面上采用分屏的形式(比如可以采用如图33所示的4分屏)对通知消息进行显示。当然,结合前述说明,在预设手势对应与其他不同于分屏显示的机制时,第二设备也可作出对应响应,采用与预设手势对应的方案进行通知消息的显示。
需要说明的是,在第二设备上查看通知消息时,那么第一设备上对应的角标也可发生对应的变化。示例性的,在第二设备上并未查看微信 TM应用的通知消息时,则其角标可以显示为深色背景(如红色背景)白色(或者其他颜色)数字的状态。而在第二设备上已经查看了微信 TM应用的通知消息时,则第一设备上的角标可以切换显示为其他状态,比如,结合图34中的(a),第一设备可以调整角标显示为浅色背景(比如灰色背景或白色背景)黑色(或者其他颜色)数字的状态(或者灰色背景),由此提示用户第二设备正在查看微信 TM应用的通知信息。在另一些实现中,在第二设备查看微信 TM应用的通知信息时,第一设备的角标还可切换显示为如图34中的(b)所示的状态。在该示例中,第一设备的角标中的提示信息(如数字)可以切换显示为第二设备的缩小图标(icon),比如,当第二设备为平板时,那么第一设备的角标可以显示平板的缩略图,以便提示用户,当前有平板正在查看微信 TM应用的通知消息。
在上述关于跨设备的通知消息的实现中,是以用户使用具有相应功能的触控笔输入操作实现的为例进行说明的。其中,用户在第一设备上使用触控笔触碰屏幕并对触控笔输入按下按钮的操作,也可称为对通知消息的吸附。用户在第二设备上使用触控笔触碰屏幕并对触控笔输入按下按钮的操作,也可称为对童子消息的释放。
在本申请的另一些实现方式中,还可以通过其他方式实现上述对通知消息的吸附和释放的效果。比如,用户可以触碰触控笔上触摸控件,实现通知消息的吸附或释放。又如,用户可以在使用触控笔或者其他输入设备对显示屏输入触碰操作时,使用语音控制指示第一设备和/或第二设备进行通知消息的吸附或释放。又如,用户还可以通过对第一设备上的角标输入预先设置的手势实现吸附的效果。当然,也可采取其他不同于上述吸附/释放的方案,实现跨设备之间的通知消息的查看和处理。
作为一种示例,图35示出了又一种跨设备通知消息的查看示例图。如图35所示,用户可以在第一设备上,拖动角标到预设的区域,实现对跨设备通知消息对应的第二设备的选取。比如,第一设备可以接收用户输入的触碰微信 TM应用的角标,并拖动该角标到预设区域的操作。其中,该预设区域可以为如图35中的第一设备界面上的投射选择区域。可以看到,在用户拖动角标接近投射选择区域时,第一设备可以在其界面上置顶显示符合要求的投射设备。比如,该符合要求的投射设备可以是与第一设备处于相同局域网中,并且与第一设备为互信关系(如存储在第一设备的互信列表中)的设备。角标可以被拖动到想要投射设备的控件上释放触碰,由此实现对第二设备的选定。结合图35,用户可以使用触控笔将角标拖动到平板对应的控件上释放。在一些实现中,拖动到平板对应的控件上时,第一设备可以将其他设备对应的控件置灰,或者第一设备可以将该平板对应的控件高亮显示,以便提示用户当前选取的投射对象为平板。
在用户在第一设备上选取了平板为投射对象后,平板作为第二设备,在接收到用户的触碰操作时,就可以在对应的位置显示角标。进而结合前述各种对于角标的操作实例,显示对应的界面,以实现用户在第二设备上的通知消息的查看和处理。
这样,通过上述图29-图35的说明,通过本申请实施例提供的跨设备通知消息显示方案,能够使得用户可以快速便捷地使用第二设备进行通知消息的查看。
需要说明的是,在前述实施例的说明中,提供了单一应用多个通知消息的查看机制,还提供了多个应用一个或多个通知消息的查看机制,还提供了跨设备之间的通知消息的查看机制。在具体实现过程中,对于非应用的存在角标显示通知消息,比如系统通知消息,又如文件夹的通知消息,也可采用类似的方案执行显示对应的界面,实现快速查看处理通知消息的效果。其具体实现类似,此处不再赘述。
另外,上述方案还可应用于对应用内容中出现的角标的处理中。比如,结合图36,继续以微信 TM应用为例。在微信 TM应用的内部界面,可以在“朋友圈”的图标附近显示角标,用于提示朋友圈有更新内容。一般而言,用户需要点击“朋友圈”的图标,电子设备响应于该点击操作,跳转显示朋友圈对应的内容。采用本申请实施例提供的角标对应通知消息的显示方法,用户可以拖动角标到显示屏的任意位置,则电子设备可以在拖动的终点位置采用悬浮窗的形式显示朋友圈的动态。上述说明仅为举例,在另一些实现中,用户还可对应用内部的角标执行前述说明中任一种可能的操作,对应的,电子设备可以响应于用户的操作,显示对应界面,以便用户可以快捷地查看通知消息。
图37示出了的一种电子设备3700的组成示意图。如图37所示,该电子设备3700可以包括:处理器3701和存储器3702。该存储器3702用于存储计算机执行指令。示例性的,在一些实施例中,当该处理器3701执行该存储器3702存储的指令时,可以使得该电子设备3700执行上述实施例中任一种所示的显示方法。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
图38示出了的一种芯片系统3800的组成示意图。该芯片系统3800可以包括:处理器3801和通信接口3802,用于支持相关设备实现上述实施例中电子设备所涉及的功能。在一种可能的设计中,芯片系统还包括存储器,用于保存必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。需要说明的是,在本申请的一些实现方式中,该通信接口3802也可称为接口电路。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在上述实施例中的功能或动作或操作或步骤等,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可以用介质集成的服务器、数据中心等 数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。

Claims (21)

  1. 一种显示方法,其特征在于,应用于安装有第一应用程序的电子设备,所述电子设备在显示屏上显示包括第一图标的第一界面,所述第一图标与所述第一应用程序对应,所述方法包括:
    在所述第一图标上显示第一角标,所述角标用于提示待查看的通知消息;
    接收对所述第一角标的第一触碰操作;
    响应于所述第一触碰操作,在所述第一界面上显示通知消息列表,所述通知消息列表包括所述第一应用程序的通知消息;
    接收对所述通知消息列表包括的第一通知消息的第二触碰操作;
    响应于所述第二触碰操作,显示所述第一通知消息的消息详情。
  2. 根据权利要求1所述的方法,其特征在于,所述在所述第一界面上显示通知消息列表,包括:
    在所述第一界面悬浮显示;或者,
    分屏显示所述通知消息列表。
  3. 根据权利要求2所述的方法,其特征在于,接收对所述第一角标的第一触碰操作;
    响应于所述第一触碰操作,在所述第一界面上显示通知消息列表包括:
    接收将所述第一角标的拖拽操作;
    响应于所述拖拽操作,在所述拖拽操作的终点位置显示所述通知消息列表。
  4. 根据权利要求1所述的方法,其特征在于,显示所述第一通知消息的消息详情,包括:
    在所述第一界面中显示;或者,
    全屏显示所述通知消息列表。
  5. 根据权利要求1所述的方法,其特征在于,接收对所述第一角标的第一触碰操作;响应于所述第一触碰操作,在所述第一界面上显示通知消息列表,包括:
    接收对所述第一角标的点击操作;
    响应于所述点击操作,在所述第一角标附近显示包括所述通知消息列表的气泡框,所述气泡框的显示面积由第一阈值变大到第二阈值,所述第一阈值小于第二阈值。
  6. 一种显示方法,其特征在于,应用于安装有第一应用程序的电子设备,所述电子设备在显示屏上显示包括第一图标的第一界面,所述第一图标与所述第一应用程序对应,所述方法包括:
    在所述第一图标上显示第一角标,所述角标用于提示待查看的通知消息;
    接收对所述第一角标的第一触碰操作;
    响应于所述第一触碰操作,显示第二界面,所述第二界面包括N个子界面,在所述N个界面中任意一个子界面中显示与所述第一角标对应的通知消息详情,所述N为大于等于2的整数。
  7. 根据权利要求6所述的方法,其特征在于,所述第一触碰操作包括将所述第一角标拖拽到分屏区域的操作。
  8. 根据权利要求7所述的方法,其特征在于,在所述第一触碰操作的过程中,显示所述分屏区域和提示信息,所述提示信息用于提示用户将角标拖拽到所述分屏区域。
  9. 根据权利要求6-8任一项所述方法,其特征在于,所述第一触碰操作包括沿预设路径拖拽所述第一角标的操作。
  10. 根据权利要求6-9任一项所述的方法,其特征在于,所述第一角标对应的通知消息数量为M,M为正整数,所述在所述N个界面中任意一个子界面中显示与所述第一角标对应的通知消息详情包括:
    若M小于或等于N,在所述N个子界面中的M个子界面上分别显示所述M个通知消息的通知消息详情。
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:
    在所述N-M个子界面中任意子界面显示所述第一界面。
  12. 根据权利要求6-11任一项所述的方法,其特征在于,所述第一角标对应的通知消息数量为M,M为正整数,
    若M大于N,则所述N个子界面分别显示N-1个通知消息详情界面和第三界面;所述通知详细界面用于显示所述M个通知消息中的任意N-1个通知消息的通知消息详情,所述第三界面用于显示多个通知消息缩略信息,所述多个通知消息缩略信息对应的通知消息不同于已经显示通知消息详情界面的所述N-1个通知消息。
  13. 根据权利要求6-9任一项所述的方法,其特征在于,所述第一角标对应的通知消息数量为M,M为正整数,所述在所述N个界面中任意一个子界面中显示与所述第一角标对应的通知消息详情包括:
    若M大于N,在所述N个子界面分别显示M个所述通知消息中N个通知消息的通知消息详情;
    所述方法还包括:
    在所述第二界面上显示悬浮球,所述悬浮球用于指示还有通知消息未被显示。
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    接收对所述悬浮球的第二触碰操作;
    响应于所述第二触碰操作,在所述第二界面上显示通知消息列表,所述通知消息列表包括未被显示的通知消息。
  15. 根据权利要求14所述的方法,其特征在于,所述方法还包括:
    接收第三触碰操作,所述第三触碰操作是所述通知消息列表中第一通知消息的操作;
    响应于所述第三触碰操作,在所述第三触碰操作的终点位置对应的子界面,替换显示所述第一通知消息的通知消息详情。
  16. 一种显示方法,其特征在于,应用于电子设备,所述方法包括:
    接收第一操作,所述第一操作用于显示其他设备的通知消息,所述通知消息为其他设备上接收到触碰操作的第一角标对应的通知消息;
    接收所述通知消息;
    响应于所述第一操作,显示第二角标,所述第二角标用于提示所述通知消息。
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:
    接收对所述第二角标的第二操作;
    响应于所述第二操作,显示包括所述通知消息的通知消息列表;
    接收对所述通知消息列表包括的第一通知消息的第三操作;
    响应于所述第三操作,显示所述第一通知消息的消息详情。
  18. 根据权利要求16或17所述的方法,其特征在于,
    接收对所述第二角标的第四操作;
    响应于所述第四操作,显示分屏界面,所述分屏界面包括N个子界面,所述N个子界面用于显示所述通知消息的通知消息详情,N为大于等于2的整数。
  19. 根据权利要求16-18任一项所述的方法,其特征在于,所述第一角标包括应用程序的角标,文件夹的角标,和/或应用界面中控件的角标。
  20. 一种电子设备,其特征在于,包括:一个或多个处理器,存储器;
    所述存储器与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,所述电子设备执行如权利要求1-5中任一项所述的显示方法,或者,
    当所述一个或多个处理器执行所述计算机指令时,所述电子设备执行如权利要求6-15中任一项所述的显示方法,或者,
    当所述一个或多个处理器执行所述计算机指令时,所述电子设备执行如权利要求16-19中任一项所述的显示方法。
  21. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-5中任一项所述的显示方法,或者,执行如权利要求6-15中任一项所述的显示方法,或者,执行如权利要求16-19中任一项所述的显示方法。
PCT/CN2021/137914 2020-12-30 2021-12-14 一种显示方法和电子设备 WO2022143152A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011628475.7A CN114690985B (zh) 2020-12-30 2020-12-30 一种显示方法和电子设备
CN202011628475.7 2020-12-30

Publications (1)

Publication Number Publication Date
WO2022143152A1 true WO2022143152A1 (zh) 2022-07-07

Family

ID=82133397

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/137914 WO2022143152A1 (zh) 2020-12-30 2021-12-14 一种显示方法和电子设备

Country Status (2)

Country Link
CN (1) CN114690985B (zh)
WO (1) WO2022143152A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048326B (zh) * 2022-07-04 2023-10-20 荣耀终端有限公司 一种消息显示方法及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020613A (zh) * 2016-05-25 2016-10-12 维沃移动通信有限公司 一种未读消息的操作方法及移动终端
CN106484220A (zh) * 2016-09-19 2017-03-08 珠海格力电器股份有限公司 一种分屏显示方法、装置及终端
CN107493369A (zh) * 2016-06-12 2017-12-19 刘�文 移动终端在横屏时通知的显示和操作方式
CN109766066A (zh) * 2018-12-29 2019-05-17 华为技术有限公司 一种消息处理的方法、相关装置及系统
CN110286815A (zh) * 2019-06-10 2019-09-27 珠海格力电器股份有限公司 一种通知消息显示方法、装置、终端及存储介质
US20200192564A1 (en) * 2017-06-13 2020-06-18 Huawei Technologies Co., Ltd. Display Method and Apparatus

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105739822A (zh) * 2016-01-26 2016-07-06 上海斐讯数据通信技术有限公司 一种应用程序的消息管理方法及系统
CN106648364A (zh) * 2016-12-20 2017-05-10 四川长虹电器股份有限公司 基于移动应用视图结构实现的即时查看收藏内容的方法
CN106970769A (zh) * 2017-03-24 2017-07-21 北京小米移动软件有限公司 分屏显示方法及装置
CN107315518A (zh) * 2017-06-27 2017-11-03 努比亚技术有限公司 一种终端分屏方法、装置及计算机可读存储介质
CN109725947A (zh) * 2017-10-30 2019-05-07 华为技术有限公司 一种未读消息的处理方法及终端
CN111543042B (zh) * 2018-08-23 2021-08-27 华为技术有限公司 通知消息的处理方法及电子设备
CN109725773B (zh) * 2018-12-29 2021-09-24 维沃移动通信有限公司 一种柔性屏的控制方法及终端
CN110196667B (zh) * 2019-05-30 2021-02-09 维沃移动通信有限公司 一种通知消息的处理方法及终端
CN110855839A (zh) * 2019-11-27 2020-02-28 维沃移动通信有限公司 一种消息显示方法及电子设备
CN111142730B (zh) * 2019-12-26 2021-06-15 维沃移动通信有限公司 一种分屏显示方法及电子设备
CN111651110A (zh) * 2020-05-29 2020-09-11 维沃移动通信有限公司 群聊消息显示方法、装置、电子设备及存储介质
CN114764298B (zh) * 2020-07-29 2023-03-03 华为技术有限公司 一种跨设备的对象拖拽方法及设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020613A (zh) * 2016-05-25 2016-10-12 维沃移动通信有限公司 一种未读消息的操作方法及移动终端
CN107493369A (zh) * 2016-06-12 2017-12-19 刘�文 移动终端在横屏时通知的显示和操作方式
CN106484220A (zh) * 2016-09-19 2017-03-08 珠海格力电器股份有限公司 一种分屏显示方法、装置及终端
US20200192564A1 (en) * 2017-06-13 2020-06-18 Huawei Technologies Co., Ltd. Display Method and Apparatus
CN109766066A (zh) * 2018-12-29 2019-05-17 华为技术有限公司 一种消息处理的方法、相关装置及系统
CN110286815A (zh) * 2019-06-10 2019-09-27 珠海格力电器股份有限公司 一种通知消息显示方法、装置、终端及存储介质

Also Published As

Publication number Publication date
CN114690985B (zh) 2024-05-10
CN114690985A (zh) 2022-07-01

Similar Documents

Publication Publication Date Title
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
EP4131911A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
KR102534354B1 (ko) 시스템 탐색 바 표시 제어 방법, 그래픽 사용자 인터페이스 및 전자 디바이스
WO2020224449A1 (zh) 一种分屏显示的操作方法及电子设备
WO2020052529A1 (zh) 全屏显示视频中快速调出小窗口的方法、图形用户接口及终端
EP4024168A1 (en) Hand gesture interaction method and apparatus, and terminal device
US11474664B2 (en) Application icon moving method and electronic device
WO2021000881A1 (zh) 一种分屏方法及电子设备
US20210286491A1 (en) Scrolling Screenshot Method and Electronic Device
WO2021057343A1 (zh) 一种对电子设备的操作方法及电子设备
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2021000804A1 (zh) 锁定状态下的显示方法及装置
WO2019072178A1 (zh) 一种通知处理方法及电子设备
WO2022017393A1 (zh) 显示交互系统、显示方法及设备
WO2022028537A1 (zh) 一种设备识别方法及相关装置
WO2021063221A1 (zh) 电子设备的显示方法、电子设备与计算机可读存储介质
WO2021078032A1 (zh) 用户界面的显示方法及电子设备
US20220214891A1 (en) Interface display method and electronic device
WO2022001619A1 (zh) 一种截屏方法及电子设备
WO2021238370A1 (zh) 显示控制方法、电子设备和计算机可读存储介质
WO2022037726A1 (zh) 分屏显示方法和电子设备
WO2022042769A2 (zh) 多屏交互的系统、方法、装置和介质
WO2021052407A1 (zh) 一种电子设备操控方法及电子设备
WO2022028290A1 (zh) 基于指向操作的设备之间的交互方法及电子设备
WO2022089122A1 (zh) 一种应用窗口的投屏方法与电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21913893

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21913893

Country of ref document: EP

Kind code of ref document: A1