Nothing Special   »   [go: up one dir, main page]

WO2021042881A1 - Message notification method and electronic device - Google Patents

Message notification method and electronic device Download PDF

Info

Publication number
WO2021042881A1
WO2021042881A1 PCT/CN2020/102467 CN2020102467W WO2021042881A1 WO 2021042881 A1 WO2021042881 A1 WO 2021042881A1 CN 2020102467 W CN2020102467 W CN 2020102467W WO 2021042881 A1 WO2021042881 A1 WO 2021042881A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification
electronic device
display screen
message
bubble
Prior art date
Application number
PCT/CN2020/102467
Other languages
French (fr)
Chinese (zh)
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 WO2021042881A1 publication Critical patent/WO2021042881A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/16Details of telephonic subscriber devices including more than one display unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Definitions

  • This application relates to the technical field of electronic equipment, and in particular to a message notification method and electronic equipment.
  • a notification panel is set in electronic devices such as mobile phones to display messages received by the operating system or applications.
  • the mobile phone can display a status bar (status bar) 1001 at the same time when displaying applications such as a desktop.
  • the status bar 1001 can display time, power, signal strength, Bluetooth status, and operator name, etc.
  • the mobile phone can display a pull-down menu 1002.
  • the mobile phone can display these messages in the notification bar 1003 of the drop-down menu 1002 for the user to browse.
  • the embodiments of the present application provide a message notification method and an electronic device, which can solve the problem of inconvenient operation of pulling down the notification bar when the user holds the electronic device with one hand.
  • the present application provides a message notification method, which is applied to an electronic device, and the electronic device includes a first display screen and a second display screen.
  • the message notification method includes: the electronic device displays a notification bubble on the first display screen, and then, if the electronic device determines that the preset condition is met, the electronic device displays the notification bubble on the second display screen. Among them, the notification bubble is used to remind the user that there is a message to be viewed.
  • the preset conditions include: the electronic device receives the hiding instruction operation, which is used to instruct the first display screen to hide the notification bubble; or the electronic device does not receive the operation for processing the notification bubble, and the notification bubble is displayed on the first display screen. The length of time exceeds the preset length of time.
  • a notification bubble is displayed on the first display screen to remind the user that there is a new message. Even if the user holds the electronic device in one hand, the thumb can be used to process the notification bubble in the first display screen, such as clicking the notification bubble in the first display screen, or sliding the notification bubble in the first display screen.
  • the electronic device determines that the preset condition is met, for example, the electronic device receives a hiding instruction operation to instruct the first display screen to hide the notification bubble.
  • the electronic device does not receive an operation for processing the notification bubble, and the notification bubble is displayed on the first display screen.
  • the electronic device displays a notification bubble on the second display screen.
  • the notification bubble of the first display screen can be automatically hidden, or, in response to the hiding instruction information received by the electronic device, the first display screen hides the notification bubble, reducing the time for the notification bubble to block the original display interface of the electronic device, thereby enhancing An immersive experience for users. Since the notification bubble can be displayed on the second display screen, the user can see the notification bubble on the second display screen by turning the mobile phone, thereby achieving a visual reminder effect and preventing the user from forgetting the message to be viewed.
  • the message to be viewed includes a first message and a second message, the first message belongs to the first application, and the second message belongs to the second application.
  • the electronic device displays the notification bubble on the first display screen, including: the electronic device floats the notification bubble of the first application and the notification bubble of the second application on the top layer of the first display screen. Wherein, the notification bubble of the first application and the notification bubble of the second application do not block each other, or the notification bubble of the first application occludes a part of the notification bubble of the second application.
  • the first message may be a message of a short messaging service (short messaging service, SMS) application
  • the second message may be a message of a WeChat application.
  • SMS short messaging service
  • WeChat application
  • the first display screen displays notification bubbles of different applications to prompt the user that the application identified by the notification bubble has new messages.
  • the message to be viewed includes a first message and a second message, the first message belongs to the first application, and the second message belongs to the second application.
  • the electronic device displays the notification bubble on the second display screen, including: the electronic device floats the notification bubble of the first application and the notification bubble of the second application on the top layer of the second display screen.
  • the notification bubble of the first application and the notification bubble of the second application do not block each other, or the notification bubble of the first application occludes a part of the notification bubble of the second application.
  • the second display screen displays notification bubbles of different applications to prompt the user that the application identified by the notification bubble has new messages.
  • the time when the electronic device receives the first message is later than the time when the electronic device receives the second message; or, the priority of the first application is higher than the priority of the second application.
  • the electronic device suspends the notification bubble of the application to which the latest received message belongs on the top layer, or suspends the notification bubble of the application with high priority on the top layer, without being obscured by other notification bubbles, to prompt the user in real time that there is a new waiting. View messages, or prevent users from forgetting to view messages of higher priority applications.
  • the preset time length corresponds to the priority of the application to which the message to be viewed belongs. For example, the higher the priority of the application, the larger the value of the preset time length corresponding to the notification bubble, so that the notification bubble corresponding to the application stays on the first display screen for a longer time, thereby achieving a better prompt effect .
  • the message notification method of the embodiment of the present application further includes: the electronic device notifies The bubbles gradually recede from the edge of the first display screen. In this way, the electronic device shrinks the area where the notification bubble blocks the original display interface in a gradual retreat manner to prompt the user that the notification bubble is to be displayed on the second display screen, so as to improve the user experience.
  • the message notification method of the embodiment of the present application further includes: the electronic device displays a first indication frame on the first display screen.
  • the first indicator frame carries the notification bubble, the width of the first indicator frame becomes narrower as the notification bubble gradually withdraws, and the first indicator frame is used to indicate that the notification bubble is to be displayed on the second display screen.
  • the message notification method of the embodiment of the present application further includes: the electronic device determines to display the notification bubble on the basis of the current operating status of the application and/or the user's operating habits The second display screen.
  • the operating status of the application may refer to whether the electronic device is running a specified type of application, and the specified type of application may be an application set by the user according to his own needs, such as but not limited to a game application.
  • the user's operating habits may refer to the user's operating habits received by the electronic device when the electronic device runs different applications. Taking a reading application as an example, the user's operating habit may be: the type or time interval of the user's input to the electronic device.
  • the message notification method of the embodiment of the present application further includes: the electronic device receives a call-up instruction operation, and in response to the call-up instruction operation, the electronic device restarts The notification bubble is displayed on the first display screen. In this way, it is convenient for the user to click the notification bubble displayed on the top layer of the first display screen to browse new messages.
  • the electronic device receiving the call-up instruction operation includes: the electronic device receives the call-up instruction operation through the first display screen or the second display screen.
  • the call-out instruction operation is a sliding operation.
  • the operation area for calling out the instruction operation received through the first display screen includes a partial area of the first indicating frame; the partial area of the first indicating frame is used to notify the bubble from the first display screen. After the edge gradually recedes, a partial area of the first indicator frame displayed on the first display screen.
  • the electronic device in response to the call-up instruction operation, displays the notification bubble on the first display screen again, including: in response to the call-up instruction operation, the electronic device displays the second display on the first display screen. In the indicator box, a notification bubble is displayed.
  • the second indication frame is used to indicate that the notification bubble is displayed on the second display screen before the electronic device responds to the call-up instruction operation.
  • the number of notification bubbles is multiple.
  • the electronic device displays notification bubbles in the second indicator frame displayed on the first display screen, including: the electronic device displays multiple notification bubbles or displays multiple notification bubbles in the second indicator frame displayed on the first display screen Part of the number of notification bubbles in the middle, and the other notification bubbles in the multiple notification bubbles are hidden. In this way, it is convenient for the user to determine which applications have pending messages based on the notification bubble.
  • the receiving time of the message to be viewed corresponding to the hidden notification bubble is later than the receiving time of the message to be viewed corresponding to the displayed notification bubble.
  • the electronic device displays a part of the notification bubbles in the plurality of notification bubbles in the second indicator frame displayed on the first display screen, and after the other notification bubbles in the plurality of notification bubbles are hidden
  • the message notification method of the embodiment of the present application further includes: the electronic device receives a display instruction operation, and in response to the display instruction operation, the electronic device displays a plurality of notification bubbles in a scrolling manner in the second instruction frame. In this way, it is convenient for the user to browse which applications have messages to be viewed.
  • the message notification method of the embodiment of the present application further includes: when the electronic device determines that the preset condition is satisfied, The electronic device hides the notification bubble on the first display screen, and displays the notification bubble on the second display screen again, so as to reduce the time for the notification bubble to block the display interface and help improve the user's immersive experience.
  • the message notification method of the embodiment of the present application further includes: the electronic device receives the click operation through the second display screen, and in response to the click operation, the electronic device Display the target message.
  • the click operation acts on the notification bubble of the second display screen.
  • the target message is a to-be-viewed message that the notification bubble prompts the user to exist. In this way, the user can directly perform the corresponding click operation on the second display screen, and then browse to the corresponding new message, which is convenient for the user to use.
  • an embodiment of the present application provides an electronic device, including: a first display screen, a second display screen, one or more processors, one or more memories, and one or more computer programs; wherein, the processing The device is coupled with the first display screen, the second display screen, and the memory. Both the first display screen and the second display screen are used to display notification bubbles.
  • the above-mentioned one or more computer programs are stored in the memory.
  • the processor executes one or more computer programs stored in the memory, so that the electronic device executes the message notification method according to any one of the first aspect.
  • embodiments of the present application provide a chip system, which includes at least one processor and at least one interface circuit; the interface circuit is used to read instructions stored in a memory and send the instructions to the processor; When executed by the processor, the electronic device is caused to execute the message notification method according to any one of the first aspect.
  • an embodiment of the present application provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the message notification method as described in any one of the first aspect.
  • embodiments of the present application provide a computer program product, which when the computer program product runs on an electronic device, causes the electronic device to execute the message notification method as described in any one of the first aspect.
  • the electronic equipment described in the second aspect, the chip system described in the third aspect, the computer storage medium described in the fourth aspect, and the computer program product described in the fifth aspect provided above are all used for execution.
  • the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding method provided above, which will not be repeated here.
  • FIG. 1 is a schematic diagram of a scene in which an electronic device displays a notification message in the prior art
  • FIG. 2 is a first structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 3 is a schematic diagram of the position of a display screen in an electronic device according to an embodiment of the application
  • FIG. 4 is a schematic structural diagram of an operating system in an electronic device provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of a scene for displaying a message notification bubble provided by an embodiment of the application
  • FIG. 6 is a schematic flowchart of a message notification method provided by an embodiment of this application.
  • FIG. 7 is a schematic diagram 1 of a scenario of a message notification method provided by an embodiment of this application.
  • FIG. 8 is a schematic diagram of a second scenario of a message notification method provided by an embodiment of the application.
  • FIG. 9 is a schematic diagram of a third scenario of a message notification method provided by an embodiment of the application.
  • FIG. 10(a) is a schematic flowchart of another message notification method provided by an embodiment of this application.
  • FIG. 10(b) is a schematic flowchart of yet another message notification method provided by an embodiment of this application.
  • FIG. 11 is a schematic diagram 4 of a scenario of a message notification method provided by an embodiment of this application.
  • FIG. 12 is a schematic diagram five of a scenario of a message notification method provided by an embodiment of this application.
  • FIG. 13 is a sixth scenario diagram of a message notification method provided by an embodiment of this application.
  • FIG. 14 is a schematic structural diagram of a chip system provided by an embodiment of the application.
  • FIG. 15 is a second structural diagram of an electronic device provided by an embodiment of this application.
  • the embodiment of the present application provides a message notification method, which can be applied to an electronic device including at least two display screens.
  • the electronic device may specifically be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR)/virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer).
  • AR augmented reality
  • VR virtual reality
  • UMPC handheld computer
  • netbook personal digital assistant
  • PDA personal digital assistant
  • FIG. 2 shows a schematic structural diagram of the electronic device 100.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, camera 193, display screen 194 and so on.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 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, and a 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 (USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • UART universal asynchronous transmitter receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 can receive input from the battery 142 and/or the charging management module 140, and supply power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include one or more filters, switches, power amplifiers, low noise amplifiers (LNA), and so on.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • 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. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating one or more communication processing modules.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), 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
  • SBAS satellite-based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • emitting diode AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the display screen 194 includes a first display screen 194A and a second display screen 194B.
  • the first display screen 194A and the second display screen 194B are located on different surfaces of the electronic device 100.
  • the first display screen 194A is located on the first surface of the mobile phone, such as the front side of the mobile phone.
  • the first display screen 194A is also referred to as the main screen.
  • the first display screen 194A is mainly used to display the desktop or the interface of various applications.
  • the second display screen 194B is located on the second surface of the mobile phone, and the second surface may be a surface opposite to the first surface, such as the back of the mobile phone.
  • the second display screen 194B is also called a secondary screen.
  • the second display screen 194B may be located on the back of the mobile phone and close to the side edges, as shown in (b) of FIG. 3.
  • the index finger can touch the second display screen 194B, so that the user can input instructions to the mobile phone through the second display screen 194B, such as sliding operations, tapping operations, and so on.
  • FIG. 3 only show the setting modes of the first display screen 194A and the second display screen 194B by way of example, and the setting modes of the first display screen 194A and the second display screen 194B can be It is not limited to the settings shown in Figure 3 (a) and (b).
  • the inner display screen of the flip-type mobile phone is the first display screen 194A
  • the outer display screen of the flip-type mobile phone is the second display screen 194B.
  • the size of the second display screen 194B is pre-designed before the production of the mobile phone, and different parameters can be designed according to the actual needs of the user.
  • the size of the second display screen 194B may be the same as or different from the size of the first display screen 194A.
  • the second display screen 194B can cover a small area on the back of the mobile phone, as shown in FIG. 3(b), and can also cover most of the area on the back of the mobile phone, or even cover the area on the back of the mobile phone.
  • Whether the second display screen 194B is in the on-screen state can be set by the user according to actual application requirements. For example, the user can set the second display screen 194B to always be in the on-screen state. Whether the second display screen 194B is in the on-screen state can also be controlled by the power button of the mobile phone. For example, after the user presses the power key, the second display screen 194B is switched from the off-screen state to the on-screen state; after the user presses the power key again, the second display 194B is switched from the on-screen state to the off-screen state. Whether the second display screen 194B is in the on-screen state can also be controlled by the sensor module 180. For example, the sensor module 180 can perform gravity sensing.
  • the sensor module 180 determines that the mobile phone is in a horizontal state, it is determined that the mobile phone is placed horizontally and has a higher probability of being in an idle state.
  • the second display screen 194B is switched to the off-screen state; When it is determined by 180 that the mobile phone is in a vertical state or an inclined state, it is more likely that the mobile phone is determined to be in a working state, and the second display screen 194B is switched to a bright screen state to enhance the user's intelligent experience.
  • whether the second display screen 194B is in the on-screen state can be synchronized with whether the first display screen 194A is in the on-screen state, that is, both are in the on-screen state or the off-screen state at the same time.
  • whether the second display screen 194B is in the on-screen state and whether the first display screen 194A is in the on-screen state are independent of each other.
  • the second display screen 194B is mainly used to display a digital clock, the weather, the number of exercise steps, etc., so as to facilitate the user to view.
  • the electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the mobile phone 100 may include 1 or N cameras, and N is a positive integer greater than 1.
  • the camera 193 may be a front camera or a rear camera.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions.
  • the processor 110 can run the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 100 to execute the method for intelligently recommending contacts provided in some embodiments of the present application, as well as various functional applications and data processing.
  • the internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system; the storage program area can also store one or more applications (such as photo galleries, contacts, etc.) and so on.
  • the data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 101.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, universal flash storage (UFS), and the like.
  • the processor 110 executes the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor to cause the electronic device 100 to execute the smart device provided in the embodiments of the present application. Recommended number method, as well as various functional applications and data processing.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with one or more microphones 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the sensor module 180 may include a pressure sensor, a gyroscope 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 ambient light sensor, a bone conduction sensor, etc., according to the embodiments of the present application There are no restrictions on this.
  • the electronic device 100 provided in the embodiment of the present application may also include one or more devices such as a button, a motor, an indicator, and a SIM card interface, and the embodiment of the present application does not impose any limitation on this.
  • the above-mentioned software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present application takes an android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 by way of example.
  • FIG. 4 shows a schematic diagram of the software structure of the electronic device 100.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the android runtime and system library, and the kernel layer.
  • the application layer can include a series of applications.
  • application programs may include applications (application, APP) such as camera, calendar, map, Bluetooth, music, short message service, gallery, phone, browser, video, memo, etc. These applications may be pre-installed when the electronic device 100 is shipped from the factory, or downloaded and installed from the application market when the user uses the electronic device 100.
  • applications application, APP
  • These applications may be pre-installed when the electronic device 100 is shipped from the factory, or downloaded and installed from the application market when the user uses the electronic device 100.
  • the embodiment of the present application does not impose any limitation on this.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications at the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, a content provider, a phone manager, a resource manager, a view system, a power management service, a notification manager, and so on.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data, and make these data accessible to applications.
  • the data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager allows the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager may also be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
  • the notification manager can also be a notification that appears at the top of the display interface in the form of a notification bubble.
  • the notification bubble is mainly used in social applications (applications, APPs) such as WeChat and Tencent QQ to notify users of new messages. , Such as chat messages.
  • the notification bubble can display a message reminder icon, an application icon, or the avatar of the caller.
  • the notification bubble 102 Since the notification bubble 102 is located on the top layer, and the notification bubble 102 can display the icon of the WeChat APP application, the notification bubble 102 can play the role of "reminding the user to view the WeChat message". If the user clicks on the notification bubble 102, the notification bubble 102 expands and displays a new WeChat message in the form of a floating window 103 for the user to browse, or perform operations such as message reply, as shown in FIG. 5(c).
  • the hiding instruction operation is used to instruct the first display screen to hide the notification bubble; or the electronic device does not receive an operation for processing the notification bubble .
  • the electronic device 100 calls the notification manager to display the notification bubble 102 on the second display screen 194B, as shown in (d) of FIG. 5. Since the notification bubble 102 can be displayed on the second display screen 194B, the user can see the notification bubble after turning the electronic device 100 over, reminding the user that there are still messages to be viewed, thereby achieving a visual reminder effect and preventing the user from forgetting the messages to be viewed .
  • the user can perform a corresponding operation on the first display screen 194A or the second display screen 194B, such as a sliding operation.
  • the electronic device 100 calls the notification manager and displays the notification bubble 102 on the first display screen 194A, as shown in (b) in FIG. 5, for the user Take a look.
  • the user can perform a corresponding operation on the second display screen 194B, such as a click operation.
  • the electronic device 100 receives the corresponding operation through the second display screen 194B, it displays the message to be viewed indicated by the notification bubble 102 on the first display screen 194A, as shown in FIG. 5(c), for the user Take a look.
  • the Android runtime includes core libraries and virtual machines.
  • the Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • surface manager surface manager
  • media library media libraries
  • 3D graphics processing library for example: OpenGL ES
  • 2D graphics engine for example: SGL
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, etc., which are not limited in the embodiment of the present application.
  • a message notification method provided by an embodiment of the present application will be specifically introduced below in conjunction with the accompanying drawings.
  • a mobile phone is used as an example of the electronic device 100 for illustration.
  • FIG. 6 is a schematic flowchart of a message notification method provided by an embodiment of the application. As shown in Figure 6, the message notification method may include:
  • the electronic device receives a new message.
  • the number of new messages may be one or multiple.
  • New messages can belong to the same application or different applications.
  • a new message can be one or more new messages of a certain application, and a new message can also be one or more new messages of each application in multiple applications.
  • the electronic device after receiving a new message, the electronic device recognizes the application to which the new message belongs, and displays notifications in the form of notification bubbles for social applications by default, and displays notifications in the notification bar for other applications.
  • the user can set the notification method of the application.
  • the notification bubble can display a message prompt icon to remind the user that there is a message to be viewed in the application.
  • the notification bubble can also display an application icon (icon), and the shape of the icon can be set according to the actual needs of the user, such as setting the shape of the icon to a bubble shape.
  • the notification bubble displaying the icon of the application is used to prompt the user that the application identified by the icon has a new message.
  • the electronic device displays a notification bubble on the first display screen.
  • the notification bubble is suspended above the display interface.
  • the notification bubble may be located close to the edge of the first display screen, or may be located in the center or middle area of the first display screen. In this way, even if the user holds the handshake with one hand, he can operate the notification bubble in the first display screen with his thumb, such as tapping the notification bubble in the first display screen, or sliding the notification bubble in the first display screen.
  • the notification bubble may display a message prompt icon, which is still displayed on the first display screen in a bubble shape, as shown in (a) of FIG. 7.
  • the notification bubble may also display the icon of the application to which the new message belongs, and is displayed in the shape of a bubble on the first display screen, as shown in (b) of FIG. 7.
  • the picture displayed in the notification bubble can be the avatar of the message sender.
  • the time length of the notification bubble staying on the first display screen does not exceed the preset time length, and the starting time of the preset time length is the time when the electronic device receives a new message.
  • the new message is the message to be viewed that the notification bubble prompts the user.
  • the user may uniformly set the length of time that the notification bubble stays on the first display screen (ie, the preset length of time), such as 5 seconds.
  • the length of time the notification bubbles stay on the first display screen (ie, the preset length of time) can be set according to the priority of the application. For example, the higher the priority of the application, the larger the value of the preset time length corresponding to the notification bubble, so that the notification bubble corresponding to the application stays on the first display screen for a longer time, thereby achieving a better prompt effect .
  • the notification bubble can prompt the user that multiple applications are waiting to view messages, or the user can be prompted that a certain application is waiting to view messages.
  • the notification bubbles are specifically explained in different scenarios below:
  • the electronic device receives a new message from one application or receives new messages from multiple applications within a certain period of time.
  • the electronic device displays a notification bubble on the first display screen.
  • the icon displayed in the notification bubble is a message prompt icon to remind the user that there is a message to be viewed in the application.
  • the start time of the notification bubble displayed on the first display screen is the time of the latest message received by the electronic device
  • the length of time the notification bubble stays on the first display screen ie, the preset length of time
  • the length can also be the length of time set according to the priority of the application to which the latest received message belongs.
  • the first display screen can display a notification bubble, which can not only remind the user that there is a new message in the application, but also reduce the notification bubble.
  • the occlusion area of the screen prevents the notification bubble from blocking the display interface too much, which helps to enhance the user’s immersive experience.
  • the notification bubble can indicate which applications have pending messages, as follows:
  • the electronic device receives one or more new messages of the same application within a certain period of time. As shown in FIG. 7(b), the electronic device displays the icon of the application to which the new message belongs in the form of a notification bubble on the first display screen.
  • the message can be recorded as message A.
  • the starting moment when the electronic device displays the notification bubble on the first display screen ie, the starting moment of the preset time length
  • the length can be set according to the priority of the application to which message A belongs.
  • the first display screen displays the starting time of the notification bubble (that is, the starting time of the preset time length) for the electronic device to receive the new message. (Ie message B1, message B2, and message B3) time.
  • the first display screen displays the start time of the notification bubble (that is, the start time of the preset time length) for the electronic device to receive the new message (that is, message The earliest moment in B1, message B2, and message B3).
  • the start time of the notification bubble that is, the start time of the preset time length
  • the electronic device receives one of the above-mentioned new messages (that is, message B1, message B2, and message B3), it will The receiving time of the message is regarded as the new starting time of the preset time length.
  • the electronic device receives new messages from multiple applications within a certain period of time.
  • the two new messages are respectively marked as message C1 (or as the first message) and message D1 (or as the second message).
  • the message C1 may be a message of a short messaging service (short messaging service, SMS) APP
  • the message D1 may be a message of a WeChat APP.
  • the electronic device displays the notification bubble of the application to which the message C1 belongs and the notification bubble of the application to which the message C2 belongs in the form of notification bubbles on the first display screen.
  • the start time when the electronic device displays the icon of the application to which message C1 belongs in the form of a notification bubble is the moment when the electronic device receives message C1
  • the time length value for the electronic device to display the icon of the application to which the message C1 belongs in the form of a notification bubble is a value set according to the priority of the application to which the message C1 belongs.
  • the start time when the electronic device displays the icon of the application to which message D1 belongs in the form of a notification bubble is the moment when the electronic device receives message D1
  • the time length value for the electronic device to display the icon of the application to which the message D1 belongs in the form of a notification bubble is a value set according to the priority of the application to which the message D1 belongs.
  • Method 1 Display the notification bubble in an expanded state
  • the electronic device floats notification bubbles of different applications on the top layer of the first display screen.
  • the notification bubbles of different applications do not block each other.
  • the notification bubble of the application to which the message C1 belongs and the notification bubble of the application to which the message D1 belongs do not block each other.
  • the first display screen displays notification bubbles of different applications in an expanded state to prompt the user that the application identified by the notification bubble has a new message, thereby achieving a better prompt effect.
  • Method 2 Display the notification bubble in a collapsed state
  • the electronic device floats notification bubbles of two applications on the top layer of the first display screen. Also, the notification bubbles of the two apps collapsed. For example, the notification bubble of the application to which the message C1 belongs occludes a part of the notification bubble of the application to which the message D1 belongs.
  • the electronic device may determine the notification bubbles to be displayed and the blocked notification bubbles from the notification bubbles of multiple applications according to different judgment basis.
  • the electronic device uses the time when the new message is received as the judgment basis, that is, the time when the electronic device receives the message C1 is later than the time when the electronic device receives the message D1. In this way, the electronic device suspends the notification bubble of the application to which the newly received message (such as message C1) belongs to the top layer without being obscured by other notification bubbles, so as to prompt the user in real time that there is a new message to be viewed.
  • the electronic device uses the priority of the application to which the new message belongs as a judgment basis, that is, the priority of the application to which the message C1 belongs is higher than the priority of the application to which the message D1 belongs. In this way, the electronic device suspends the notification bubbles of the high-priority applications on the top layer without being obscured by other notification bubbles, so as to prevent the user from forgetting to view the messages of the high-priority applications, and meet the actual application requirements of the users.
  • the first display screen displays the notification bubbles of different applications in a folded state, which not only can prompt the user that the application identified by the notification bubble has new messages, but also can reduce the shielding area of the notification bubble, and prevent the notification bubble from covering too many original electronic devices.
  • the displayed display interface helps to enhance the user's immersive experience.
  • the number of new messages can be marked on the icon of the application to intuitively remind the user of the number of messages to be viewed.
  • the number “1" can be marked on the icon of the application, as shown in (a) in Figure 8, when the electronic device When a message of the short message service APP is received, the number identified on the icon of the application is updated to "2", as shown in Figure 8 (b), when the electronic device receives another message from the short message service APP At this time, the number "3" can be identified on the icon of the application, as shown in (c) in Figure 8.
  • the number identified on the icon of the application is updated to "3", as shown in (c) in FIG. 8.
  • the electronic device determines whether the preset condition is met, if so, execute S603, and if not, continue to execute S601.
  • the preset conditions include at least one of the following options:
  • the electronic device receives the hiding instruction operation.
  • the hiding instruction operation is used to instruct the first display screen to hide the notification bubble.
  • the hiding instruction operation may be a click operation in which the first display screen is on the preset interface and the operation area is the preset area.
  • the preset interface may be a display interface of the desktop
  • the preset area may be an area where there are no icons in the display interface of the desktop.
  • the hiding instruction operation may be a sliding operation received through the second display screen when there is no notification bubble on the second display screen, and the direction of the sliding operation may be a direction along the width of the electronic device.
  • the electronic device receives the hiding instruction operation.
  • the electronic device hides the notification bubble on the first display screen and displays the notification bubble on the second display screen. In this way, even if the length of time that the notification bubble is displayed on the first display screen does not exceed the preset length of time, the user can directly hide the notification bubble on the first display screen without waiting for the notification bubble to automatically retire, so as to meet the actual needs of the user.
  • Application requirements help enhance the user’s immersive experience.
  • the electronic device does not receive the operation for processing the notification bubble, and the length of time that the notification bubble is displayed on the first display screen exceeds the preset length of time.
  • the operations used to process notification bubbles may include but are not limited to the following operations:
  • Operation one click operation, when the user needs to browse a new message prompted by a certain notification bubble, click the notification bubble.
  • the electronic device receives the click operation acting on the notification bubble, and displays the new message in the form of a floating window.
  • Operation two long press operation
  • the electronic device receives the long-press operation acting on the notification bubble, and in response to the long-press operation, the electronic device displays the management button on the first display screen.
  • the management button is clicked, the management menu is displayed.
  • the management menu can include a delete option.
  • the delete option is clicked, the notification bubble is deleted from the second indication box.
  • Operation three display the instruction operation, hide the notification bubble on the first display screen, and in response to calling out the instruction operation, after the first display screen displays the notification bubble again, the first display screen only displays multiple notifications in the second instruction frame Part of the number of notification bubbles in the bubble, other notification bubbles are hidden.
  • the user needs to browse new messages of the application identified by the hidden notification bubble, and the user inputs a display instruction operation to the electronic device, such as a sliding operation in the second instruction frame of the first display screen.
  • the electronic device receives the display instruction operation through the first display screen, and in response to the display instruction operation, the first display screen may display the aforementioned multiple notification bubbles in a scrolling and alternate display manner.
  • S607 and S6 For details, please refer to the relevant descriptions of S607 and S608.
  • the call out instruction operation please refer to the description of S605 and S606 for details, which will not be repeated here.
  • Hidden instruction operation please refer to the above description of hidden instruction operation, which will not be repeated here.
  • the time for displaying the notification bubble on the first display screen exceeds the preset length of time, and the user does not input an operation for processing the notification bubble to the electronic device within the preset length of time.
  • the electronic device can determine that the user is immersed in a certain application scenario, such as the user focusing on the content in the display interface of the browser APP , Or the user concentrates on the game scene of the game APP.
  • the electronic device executes the following S603:
  • the electronic device displays the notification bubble on the second display screen.
  • the notification bubble is suspended on the top layer, that is, on the current display interface of the second display screen.
  • the number of notification bubbles may be one, and the notification bubbles may display a message prompt icon, as shown in (a) of FIG. 9.
  • the notification bubble can prompt the user that there are messages to be viewed in the application. Even if the size of the second display screen is small, the notification bubble can be displayed.
  • the number of messages to be viewed can be marked on the message prompt icon to facilitate the user to view.
  • the number of notification bubbles may be one, and the notification bubbles may also display application icons, as shown in (b) of FIG. 9.
  • the notification bubble can prompt the user which application has a message to be viewed, so as to prevent the user from forgetting or missing the message of an important application.
  • the number of messages to be viewed can be marked on the icon of the application to facilitate the user to view.
  • the number of notification bubbles may also be multiple, and different notification bubbles may display icons of different applications.
  • the number of notification bubbles is consistent with the number of applications to which the new message received by the electronic device belongs.
  • the two applications are short messaging service (SMS) and WeChat respectively, and the second display screen displays the notification bubble of the application to which the message C1 belongs and the notification bubble of the application to which the message C2 belongs.
  • SMS short messaging service
  • WeChat WeChat
  • Method 1 Display the notification bubble in an expanded state
  • the electronic device floats notification bubbles of different applications on the top layer of the second display screen.
  • the notification bubbles of different applications do not block each other.
  • the notification bubble of the application to which the message C1 belongs and the notification bubble of the application to which the message D1 belongs do not block each other.
  • the second display screen displays notification bubbles of different applications in an expanded state to prompt the user that the application identified by the notification bubble has a new message, so as to achieve a better prompt effect.
  • Method 2 Display the notification bubble in a collapsed state
  • the electronic device floats notification bubbles of two applications on the top layer of the second display screen. Also, the notification bubbles of the two apps collapsed. For example, the notification bubble of the application to which the message C1 belongs occludes a part of the notification bubble that displays the notification bubble of the application to which the message D1 belongs.
  • the electronic device may determine the notification bubbles to be displayed and the blocked notification bubbles from the notification bubbles of multiple applications according to different judgment basis.
  • the electronic device uses the time of receiving the new message as the judgment basis, or the priority of the application to which the new message belongs as the judgment basis.
  • the judgment basis for the electronic device to determine the notification bubble to be displayed in the second display screen may be the same as the judgment basis for the electronic device to determine the notification bubble to be displayed in the first display screen, or it may be the same as that for the electronic device to determine the notification bubble to be displayed in the first display screen.
  • the basis for judgment is different.
  • the second display screen displays notification bubbles of different applications in a folded state to prompt the user that the application identified by the notification bubble has a new message. Even if the size of the second display screen is small, since the notification bubbles are displayed in a folded state, a good prompt effect can be achieved.
  • the message notification method provided by the present application can display a notification bubble on the first display screen to remind the user that there is a new message. Even if the user holds the electronic device in one hand, the thumb can be used to process the notification bubble in the first display screen, such as clicking the notification bubble in the first display screen, or sliding the notification bubble in the first display screen.
  • the electronic device determines that the preset condition is met, for example, the electronic device receives a hiding instruction operation to instruct the first display screen to hide the notification bubble.
  • the electronic device does not receive an operation for processing the notification bubble, and the notification bubble is displayed on the first display screen.
  • the time length of a display screen exceeds the preset time length, the electronic device displays a notification bubble on the second display screen.
  • the notification bubble of the first display screen can be automatically hidden, or, in response to the hiding instruction information received by the electronic device, the first display screen hides the notification bubble, reducing the time for the notification bubble to block the original display interface of the electronic device, thereby enhancing An immersive experience for users. Since the notification bubble can be displayed on the second display screen, the user can see the notification bubble on the second display screen by turning the mobile phone, thereby achieving a visual reminder effect and preventing the user from forgetting new messages.
  • the electronic device determines the display mode of the notification bubble according to the current running status of the application and/or the user's operating habits.
  • the running status of the application may refer to whether the electronic device is running a specified type of application, and the specified type of application may be an application set by the user according to his own needs, such as but not limited to a game application. If the electronic device runs the designated application, the electronic device determines to directly display the notification bubble on the second display screen, that is, after the electronic device executes S600, it directly executes S603; otherwise, the electronic device executes S600 and then executes S601.
  • the user's operating habits may refer to the user's operating habits received by the electronic device when the electronic device runs different applications. Taking a reading application as an example, the user's operating habit may be: the type or time interval of the user's input to the electronic device. In this way, the electronic device determines whether the user is in an immersive mode based on the type or time interval of the received operation, that is, whether the user is reading carefully. For example, if the electronic device runs a reading application, the electronic device determines whether the current user's operating conditions are consistent with the user's pre-learned operating habits. If so, the electronic device directly displays a notification bubble on the second display screen, that is, the electronic device executes After S600, S603 is directly executed. If not, after S600 is executed, the electronic device executes S601.
  • the second display screen may use a flashing mode to remind the user that there is a new message.
  • the electronic device may directly execute S603, or it may execute S604 first before executing S603:
  • the electronic device gradually withdraws the notification bubble from the edge of the first display screen.
  • the notification bubble can gradually withdraw from any edge of the first display screen.
  • the withdrawal is performed from the top, bottom, left, or right of the first display screen.
  • the embodiment of the present application does not specifically limit the withdrawal position of the notification bubble.
  • the notification bubble gradually disappears from the edge of the first display screen, as shown in (a) of FIG. 11.
  • the first display screen displays the original display interface
  • the second display screen displays the above notification bubble.
  • the electronic device shrinks the area where the notification bubble blocks the original display interface in a gradual retreat manner to prompt the user that the notification bubble is to be displayed on the second display screen, so as to improve the user experience.
  • the electronic device displays the first indication frame 104 on the first display screen, as shown in (b) of FIG. 11.
  • the first indication frame 104 carries notification bubbles.
  • the width of the first indicator frame 104 becomes narrower as the notification bubble gradually recedes, and the first indicator frame 104 is used to indicate that the notification bubble is to be displayed on the second display screen.
  • the electronic device displays the first indication frame, which further enhances the visual prompt effect, showing the user the area where the notification bubble is to be displayed, that is, prompting the user "the notification bubble is to be displayed on the second display screen".
  • the first display screen can normally display the original display interface.
  • the first display screen displays the original display interface, and at the same time, the first display screen also displays a partial area of the first indicator frame.
  • the first display screen only retains a certain edge of the first indicator frame 104 and the area near it , As shown in Figure 11 (c).
  • the electronic device displays the notification bubble on the second display screen, that is, the electronic device executes S603.
  • the first display screen hides the notification bubble, and after the second display screen displays the notification bubble, if the user needs to browse new messages, the user can perform a sliding operation on the first display screen or the second display screen.
  • the electronic device receives the sliding operation through the first display screen or the second display screen, so that the notification bubble is displayed on the first display screen again, that is, the electronic device executes S605 and S606:
  • S605 The electronic device receives the call-up instruction operation.
  • the calling out instruction operation may be a sliding operation.
  • the direction of the sliding operation may be along the width direction of the electronic device.
  • the first display screen of the electronic device may still display the display interface of a certain application.
  • the first display screen still displays the display interface of the browser without exiting the application.
  • the first display screen is on the display interface of the desktop.
  • the electronic device can receive the call-up instruction operation through the second display screen, that is, the electronic device receives the sliding operation through the second display screen.
  • the first display screen displays a partial area of the first indicator frame.
  • the electronic device may receive the call-up instruction operation through the first display screen, that is, the electronic device may receive the sliding operation through the first display screen.
  • the operation area for calling out the instruction operation received through the first display screen includes a partial area of the first instruction frame.
  • the first display screen may display a partial area of the first indicator frame on the edge of the preset interface, and the preset interface may be, for example, but not limited to a desktop display interface.
  • the user can use the index finger to slide from the edge of the first display screen, so that the notification bubble displayed on the second display screen is displayed on the first display screen, that is, "calls up the notification bubble", and the operation is convenient.
  • the electronic device displays the notification bubble on the first display screen again.
  • the notification bubble is suspended on the top layer, that is, on the desktop or the display interface of each application (such as a browser APP).
  • the first display screen displays the display interface of the browser APP, and the notification bubble floats on the display interface of the browser APP, as shown in (c) of FIG. 12.
  • the first display screen is on the display interface of the desktop, and the notification bubble floats on the display interface of the desktop, as shown in (d) of FIG. 12.
  • S606 may be specifically implemented as: in response to a call-up instruction operation, the electronic device displays a notification bubble in the second instruction frame 105 of the first display screen.
  • the second indication frame 105 is used to notify that the bubble is displayed on the second display screen before the electronic device responds to the call-up instruction operation.
  • the notification bubble 102 is suspended on the display interface of the desktop and is located in the second indication frame 105.
  • the visual effect can be enhanced through the second indicator frame, so as to indicate that the notification bubble in the second indicator frame is displayed on the second display screen before responding to the call-up operation.
  • the electronic device has messages to be viewed in two or more applications. Take the new message in two applications as an example.
  • the two applications are short messaging service (SMS) and WeChat respectively, where the message of the short message service APP is recorded as message C1, and the message of WeChat APP is recorded as message D1.
  • SMS short messaging service
  • WeChat WeChat
  • the electronic device displays two notification bubbles on the first display screen, and the two notification bubbles respectively display the icon of the application to which the message C1 belongs and the icon of the application to which the message C2 belongs.
  • the electronic device can display notification bubbles on the first display screen in multiple ways. For example, the notification bubble is displayed in the expanded state, specifically as the related description of mode 1 of S601, which will not be repeated here.
  • the electronic device may also display two or more notification bubbles in an expanded state in the second indicator frame 105 of the first display screen. If the number of notification bubbles is too large and the second indicator box 105 cannot display each of the multiple notification bubbles at the same time, the electronic device can display the above multiple notification bubbles in the second indicator box 105 of the first display screen. Part of the number of notification bubbles in, and other notification bubbles in the above multiple notification bubbles are hidden. Wherein, the electronic device can determine the displayed notification bubble or the hidden notification bubble among the multiple notification bubbles according to different judgment basis.
  • the receiving time of the new message is used as the judgment basis, that is, among the multiple notification bubbles, the receiving time of the message identified by the displayed notification bubble is later than the receiving time of the message identified by the hidden notification bubble.
  • the priority of the application to which the new message belongs is used as the judgment basis, that is, among multiple notification bubbles, the priority of the application with the notification bubble displayed is higher than the priority of the application with the hidden notification bubble.
  • the multiple applications are telephone, short messaging service (SMS), and WeChat.
  • the electronic device displays two notification bubbles in the second indicator frame of the first display screen. These two notifications The bubbles respectively display the icon of the phone APP and the icon of the short message service APP, and the notification bubble showing the icon of the WeChat APP is hidden, as shown in (a) in FIG. 13.
  • the electronic device executes S607:
  • S607 The electronic device receives the display instruction operation.
  • the display instruction operation may be a sliding operation, and the direction of the sliding operation may be a direction along the length of the electronic device.
  • the display instruction operation may be a sliding operation received by the electronic device through the first display screen, and the operation area of the sliding operation includes the area indicated by the second indication frame, as shown in (b) of FIG. 13.
  • the display instruction operation may be a sliding operation received by the electronic device through the second display screen.
  • the electronic device displays multiple notification bubbles in a scrolling manner in the second instruction frame.
  • the scroll direction is consistent with the sliding direction of the display instruction operation.
  • the hidden notification bubble is displayed on the upper part of the second instruction frame 105.
  • the hidden notification bubble is displayed in the lower part of the second instruction frame 105.
  • the notification bubble of the hidden WeChat APP is displayed in the lower part of the second indicator box 105, and the notification bubble of the phone APP is hidden, as shown in (c) in Figure 13 .
  • the electronic device can also hide the notification bubble displayed on the first display screen again, and display the notification bubble on the second display screen again, that is, the electronic device can perform S602 repeatedly after performing S606, or after performing S608 S602 can also be repeated, and if it is determined that the preset condition is satisfied, S603 is executed, or S604 and S603 are executed.
  • the electronic device receives the click operation acting on the notification bubble, and in response to the click operation, the electronic device displays the target message.
  • the target message is a new message identified by the notification bubble.
  • the target message can be displayed in the form of a floating window, as shown in Figure 5 (c).
  • the notification bubble may be displayed on the first display screen for the first time, or it may be displayed on the first display screen in response to a call-up instruction operation, as shown in FIG. 10(b).
  • the click operation acts on the notification bubble of the first display screen.
  • the electronic device executes S609 and S610:
  • the electronic device receives the click operation through the second display screen.
  • the click operation acts on the notification bubble of the second display screen to instruct to display the new message identified by the notification bubble.
  • the electronic device displays the target message.
  • the target message is a new message that the notification bubble prompts the user to exist.
  • the electronic device may display the above-mentioned target message on the first display screen, as shown in (c) in FIG. 5.
  • the electronic device may also display the above-mentioned target message on the second display screen.
  • the user can directly perform the corresponding click operation on the second display screen, and then browse to the corresponding new message, which is convenient for the user to use.
  • the chip system includes at least one processor 1401 and at least one interface circuit 1402.
  • the processor 1401 and the interface circuit 1402 may be interconnected by wires.
  • the interface circuit 1402 can be used to receive signals from other devices (e.g., memory).
  • the interface circuit 1402 may be used to send signals to other devices (such as the processor 1401).
  • the interface circuit 1402 may read instructions stored in the memory, and send the instructions to the processor 1401.
  • the electronic device can execute the steps in the foregoing embodiments.
  • the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
  • the embodiment of the application discloses an electronic device including a processor, and a memory, an input device, and an output device connected to the processor.
  • the input device and the output device can be integrated into one device.
  • the first display screen 194A and the second display screen 194B can be used as input devices; the electronic device displays a notification bubble or When a message is to be viewed, the first display screen 194A and the second display screen 194B can be used as output devices.
  • the above electronic device may include: a display screen 1501; one or more processors 1502; a memory 1503; one or more application programs (not shown); and one or more computer programs 1504
  • the above-mentioned devices may be connected through one or more communication buses 1505.
  • the one or more computer programs 1504 are stored in the aforementioned memory 1503 and are configured to be executed by the one or more processors 1502, and the one or more computer programs 1504 include instructions, and the aforementioned instructions can be used to execute the aforementioned implementations.
  • the steps in the example Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding physical device, and will not be repeated here.
  • the above-mentioned processor 1502 may specifically be the processor 110 shown in FIG. 2
  • the above-mentioned memory 1503 may specifically be the internal memory 121 and/or the external memory of the external memory interface 120 shown in FIG. 2
  • the above-mentioned display screen 1501 may be specifically It may be the first display screen 194A and the second display screen 194B shown in FIG. 3, which are not limited in the embodiment of the present application.
  • the functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage
  • the medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided are a message notification method and an electronic device, wherein same relate to the technical field of electronic devices, and can solve the problem of inconvenience in the operation of pulling down a notification bar when a user holds an electronic device with a single hand. The message notification method is applied to an electronic device, and the electronic device comprises a first display screen and a second display screen. The method comprises: an electronic device displaying a notification bubble on a first display screen; and then, if the electronic device determines that a preset condition is satisfied, the electronic device displaying the notification bubble on a second display screen, wherein the notification bubble is used for prompting a user that there is a message to be viewed. The preset condition comprises: the electronic device receives a hide indication operation, wherein the hide indication operation is used for indicating that the first display screen hides the notification bubble; or the electronic device does not receive an operation for processing the notification bubble, and a time length during which the notification bubble is displayed on the first display screen exceeds a preset time length. The method is applied to a message notification process.

Description

消息通知方法及电子设备Message notification method and electronic equipment
本申请要求于2019年9月4日提交国家知识产权局、申请号为201910834104.5、申请名称为“消息通知方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on September 4, 2019, the application number is 201910834104.5, and the application name is "message notification method and electronic equipment", the entire content of which is incorporated into this application by reference .
技术领域Technical field
本申请涉及电子设备技术领域,尤其涉及一种消息通知方法及电子设备。This application relates to the technical field of electronic equipment, and in particular to a message notification method and electronic equipment.
背景技术Background technique
目前,手机等电子设备中均会设置通知栏(notification panel),用于展示操作系统或应用接收到的消息。以手机为例,如图1中的(a)所示,手机在显示桌面等应用时可同时显示状态栏(status bar)1001。状态栏1001中可显示时间、电量、信号强度、蓝牙状态以及运营商名称等。Currently, a notification panel is set in electronic devices such as mobile phones to display messages received by the operating system or applications. Taking a mobile phone as an example, as shown in (a) in Figure 1, the mobile phone can display a status bar (status bar) 1001 at the same time when displaying applications such as a desktop. The status bar 1001 can display time, power, signal strength, Bluetooth status, and operator name, etc.
如果检测到用户对状态栏1001执行下拉操作,如图1中的(b)所示,手机可显示下拉菜单1002。当手机中存在系统或应用的消息时,手机可将这些消息显示在下拉菜单1002的通知栏1003中,以供用户浏览。If it is detected that the user performs a pull-down operation on the status bar 1001, as shown in (b) in FIG. 1, the mobile phone can display a pull-down menu 1002. When there are system or application messages in the mobile phone, the mobile phone can display these messages in the notification bar 1003 of the drop-down menu 1002 for the user to browse.
由于手机等电子设备的显示屏变得更长、更大,若用户单手持握手机,存在下拉操作困难的现象,导致用户体验不高。As the display screens of electronic devices such as mobile phones become longer and larger, if the user holds the handshake with one hand, the pull-down operation is difficult, resulting in a poor user experience.
发明内容Summary of the invention
本申请实施例提供一种消息通知方法及电子设备,能够解决用户单手持握电子设备时下拉通知栏操作不方便的问题。The embodiments of the present application provide a message notification method and an electronic device, which can solve the problem of inconvenient operation of pulling down the notification bar when the user holds the electronic device with one hand.
为达到上述目的,本申请实施例采用如下技术方案:To achieve the foregoing objectives, the following technical solutions are adopted in the embodiments of the present application:
第一方面,本申请提供一种消息通知方法,该消息通知方法应用于电子设备,电子设备包括第一显示屏和第二显示屏。该消息通知方法包括:电子设备将通知气泡显示于第一显示屏,之后,若电子设备确定满足预设条件时,电子设备将通知气泡显示于第二显示屏。其中,通知气泡用于提示用户存在待查看消息。预设条件包括:电子设备接收隐藏指示操作,隐藏指示操作用于指示第一显示屏隐藏通知气泡;或电子设备未接收到用于处理通知气泡的操作,且通知气泡显示于第一显示屏的时间长度超过预设时间长度。In the first aspect, the present application provides a message notification method, which is applied to an electronic device, and the electronic device includes a first display screen and a second display screen. The message notification method includes: the electronic device displays a notification bubble on the first display screen, and then, if the electronic device determines that the preset condition is met, the electronic device displays the notification bubble on the second display screen. Among them, the notification bubble is used to remind the user that there is a message to be viewed. The preset conditions include: the electronic device receives the hiding instruction operation, which is used to instruct the first display screen to hide the notification bubble; or the electronic device does not receive the operation for processing the notification bubble, and the notification bubble is displayed on the first display screen. The length of time exceeds the preset length of time.
如此,在第一显示屏显示通知气泡,以提示用户存在新的消息。即使用户单手持握电子设备,也能够采用拇指对第一显示屏中的通知气泡进行处理,如点击第一显示屏中的通知气泡,或者,滑动第一显示屏中的通知气泡。在电子设备确定满足预设条件时,如电子设备接收隐藏指示操作,以指示第一显示屏隐藏通知气泡,又例如,电子设备未接收到用于处理通知气泡的操作,且通知气泡显示于第一显示屏的时间长度超过预设时间长度,则电子设备将通知气泡显示于第二显示屏。由于第一显示屏的通知气泡能够自动隐藏,或者,响应于电子设备接收到的隐藏指示信息,而使第一显示屏隐藏通知气泡,减少通知气泡遮挡电子设备原显示界面的时间,从而增强了用户的沉浸式体验。由于通知气泡能够显示于第二显示屏,用户翻转手机即可看到第二显示屏上的通知气泡,从而能够实现视觉层面的提醒效果,避免用户遗忘待查看消息。In this way, a notification bubble is displayed on the first display screen to remind the user that there is a new message. Even if the user holds the electronic device in one hand, the thumb can be used to process the notification bubble in the first display screen, such as clicking the notification bubble in the first display screen, or sliding the notification bubble in the first display screen. When the electronic device determines that the preset condition is met, for example, the electronic device receives a hiding instruction operation to instruct the first display screen to hide the notification bubble. For another example, the electronic device does not receive an operation for processing the notification bubble, and the notification bubble is displayed on the first display screen. When the time length of a display screen exceeds the preset time length, the electronic device displays a notification bubble on the second display screen. Since the notification bubble of the first display screen can be automatically hidden, or, in response to the hiding instruction information received by the electronic device, the first display screen hides the notification bubble, reducing the time for the notification bubble to block the original display interface of the electronic device, thereby enhancing An immersive experience for users. Since the notification bubble can be displayed on the second display screen, the user can see the notification bubble on the second display screen by turning the mobile phone, thereby achieving a visual reminder effect and preventing the user from forgetting the message to be viewed.
在一种可能的实现方式中,待查看消息包括第一消息和第二消息,第一消息属于第一应用,第二消息属于第二应用。电子设备将通知气泡显示于第一显示屏,包括:电子设备在第一显示屏的顶层悬浮第一应用的通知气泡和第二应用的通知气泡。其中,第一应用的通知气泡与第二应用的通知气泡互不遮挡,或者,第一应用的通知气泡遮挡第二应用的通知气泡的部分。In a possible implementation manner, the message to be viewed includes a first message and a second message, the first message belongs to the first application, and the second message belongs to the second application. The electronic device displays the notification bubble on the first display screen, including: the electronic device floats the notification bubble of the first application and the notification bubble of the second application on the top layer of the first display screen. Wherein, the notification bubble of the first application and the notification bubble of the second application do not block each other, or the notification bubble of the first application occludes a part of the notification bubble of the second application.
示例性的,第一消息可以为短消息业务(short messaging service,SMS)应用的消息,第二消息可以为微信应用的消息。短消息业务(short messaging service,SMS)应用为第一应用,微信应用为第二应用。如此,第一显示屏显示不同应用的通知气泡,以提示用户通知气泡所标识的应用有新的消息。Exemplarily, the first message may be a message of a short messaging service (short messaging service, SMS) application, and the second message may be a message of a WeChat application. The short messaging service (SMS) application is the first application, and the WeChat application is the second application. In this way, the first display screen displays notification bubbles of different applications to prompt the user that the application identified by the notification bubble has new messages.
在一种可能的实现方式中,待查看消息包括第一消息和第二消息,第一消息属于第一应用,第二消息属于第二应用。电子设备将通知气泡显示于第二显示屏,包括:电子设备在第二显示屏的顶层悬浮第一应用的通知气泡和第二应用的通知气泡。其中,第一应用的通知气泡与第二应用的通知气泡互不遮挡,或者,第一应用的通知气泡遮挡第二应用的通知气泡的部分。如此,第二显示屏显示不同应用的通知气泡,以提示用户通知气泡所标识的应用有新的消息。In a possible implementation manner, the message to be viewed includes a first message and a second message, the first message belongs to the first application, and the second message belongs to the second application. The electronic device displays the notification bubble on the second display screen, including: the electronic device floats the notification bubble of the first application and the notification bubble of the second application on the top layer of the second display screen. Wherein, the notification bubble of the first application and the notification bubble of the second application do not block each other, or the notification bubble of the first application occludes a part of the notification bubble of the second application. In this way, the second display screen displays notification bubbles of different applications to prompt the user that the application identified by the notification bubble has new messages.
在一种可能的实现方式中,电子设备接收第一消息的时刻晚于电子设备接收第二消息的时刻;或者,第一应用的优先级高于第二应用的优先级。如此,电子设备将最新收到消息所属的应用的通知气泡悬浮于顶层,或者,将优先级高的应用的通知气泡悬浮于顶层,而不被其他通知气泡遮挡,以实时提示用户存在新的待查看消息,或者,避免用户遗忘查看优先级较高应用的消息。In a possible implementation manner, the time when the electronic device receives the first message is later than the time when the electronic device receives the second message; or, the priority of the first application is higher than the priority of the second application. In this way, the electronic device suspends the notification bubble of the application to which the latest received message belongs on the top layer, or suspends the notification bubble of the application with high priority on the top layer, without being obscured by other notification bubbles, to prompt the user in real time that there is a new waiting. View messages, or prevent users from forgetting to view messages of higher priority applications.
在一种可能的实现方式中,预设时间长度与待查看消息所属应用的优先级对应。例如,应用的优先级越高,通知气泡所对应的预设时间长度的数值越大,以使该应用所对应的通知气泡在第一显示屏停留的时间越长,从而实现更好的提示效果。In a possible implementation manner, the preset time length corresponds to the priority of the application to which the message to be viewed belongs. For example, the higher the priority of the application, the larger the value of the preset time length corresponding to the notification bubble, so that the notification bubble corresponding to the application stays on the first display screen for a longer time, thereby achieving a better prompt effect .
在一种可能的实现方式中,在电子设备将通知气泡显示于第一显示屏之后,电子设备将通知气泡显示于第二显示屏之前,本申请实施例消息通知方法还包括:电子设备将通知气泡从第一显示屏的边缘逐渐退隐。如此,电子设备以逐渐退隐的方式缩小通知气泡遮挡原显示界面的面积,来提示用户通知气泡待显示于第二显示屏,以提高用户体验。In a possible implementation, after the electronic device displays the notification bubble on the first display screen, and before the electronic device displays the notification bubble on the second display screen, the message notification method of the embodiment of the present application further includes: the electronic device notifies The bubbles gradually recede from the edge of the first display screen. In this way, the electronic device shrinks the area where the notification bubble blocks the original display interface in a gradual retreat manner to prompt the user that the notification bubble is to be displayed on the second display screen, so as to improve the user experience.
在一种可能的实现方式中,本申请实施例消息通知方法还包括:电子设备在第一显示屏显示第一指示框。其中,第一指示框承载通知气泡,第一指示框的宽度随通知气泡的逐渐退隐而变窄,第一指示框用于指示通知气泡待显示于第二显示屏。In a possible implementation manner, the message notification method of the embodiment of the present application further includes: the electronic device displays a first indication frame on the first display screen. Wherein, the first indicator frame carries the notification bubble, the width of the first indicator frame becomes narrower as the notification bubble gradually withdraws, and the first indicator frame is used to indicate that the notification bubble is to be displayed on the second display screen.
在一种可能的实现方式中,电子设备接收新的消息之后,本申请实施例消息通知方法还包括:电子设备根据当前的应用的运行状况和/或用户的操作习惯,确定将通知气泡显示于第二显示屏。In a possible implementation, after the electronic device receives the new message, the message notification method of the embodiment of the present application further includes: the electronic device determines to display the notification bubble on the basis of the current operating status of the application and/or the user's operating habits The second display screen.
示例性的,应用的运行状况可以是指电子设备是否在运行指定类应用,指定类应用可以是用户根据自身需要所设置的应用,例如但不限于游戏类应用。Exemplarily, the operating status of the application may refer to whether the electronic device is running a specified type of application, and the specified type of application may be an application set by the user according to his own needs, such as but not limited to a game application.
示例性的,用户的操作习惯可以是指:电子设备运行不同应用时,电子设备所接收到的用户的操作习惯。以阅读类应用为例,用户的操作习惯可以是:用户向电子设备输入操作的类型或时间间隔。Exemplarily, the user's operating habits may refer to the user's operating habits received by the electronic device when the electronic device runs different applications. Taking a reading application as an example, the user's operating habit may be: the type or time interval of the user's input to the electronic device.
在一种可能的实现方式中,电子设备将通知气泡显示于第二显示屏之后,本申请实施例消息通知方法还包括:电子设备接收唤出指示操作,响应于唤出指示操作,电子设备重新将通知气泡显示于第一显示屏。如此,便于用户点击第一显示屏顶层所显示的通知气泡,浏览新的消息。In a possible implementation manner, after the electronic device displays the notification bubble on the second display screen, the message notification method of the embodiment of the present application further includes: the electronic device receives a call-up instruction operation, and in response to the call-up instruction operation, the electronic device restarts The notification bubble is displayed on the first display screen. In this way, it is convenient for the user to click the notification bubble displayed on the top layer of the first display screen to browse new messages.
在一种可能的实现方式中,电子设备接收唤出指示操作,包括:电子设备通过第一显示屏或第二显示屏接收唤出指示操作。其中,唤出指示操作为滑动操作。In a possible implementation manner, the electronic device receiving the call-up instruction operation includes: the electronic device receives the call-up instruction operation through the first display screen or the second display screen. Among them, the call-out instruction operation is a sliding operation.
在一种可能的实现方式中,通过第一显示屏所接收的唤出指示操作的操作区域包括第一指示框的部分区域;第一指示框的部分区域是在通知气泡从第一显示屏的边缘逐渐退隐之后,第一显示屏所显示的第一指示框的部分区域。In a possible implementation manner, the operation area for calling out the instruction operation received through the first display screen includes a partial area of the first indicating frame; the partial area of the first indicating frame is used to notify the bubble from the first display screen. After the edge gradually recedes, a partial area of the first indicator frame displayed on the first display screen.
在一种可能的实现方式中,响应于唤出指示操作,电子设备重新将通知气泡显示于第一显示屏,包括:响应于唤出指示操作,电子设备在第一显示屏所显示的第二指示框内,显示通知气泡。其中,第二指示框用于指示通知气泡在电子设备响应于唤出指示操作之前,显示于第二显示屏。In a possible implementation manner, in response to the call-up instruction operation, the electronic device displays the notification bubble on the first display screen again, including: in response to the call-up instruction operation, the electronic device displays the second display on the first display screen. In the indicator box, a notification bubble is displayed. The second indication frame is used to indicate that the notification bubble is displayed on the second display screen before the electronic device responds to the call-up instruction operation.
在一种可能的实现方式中,通知气泡的数量为多个。电子设备在第一显示屏所显示的第二指示框内,显示通知气泡,包括:电子设备在第一显示屏所显示的第二指示框内,显示多个通知气泡,或显示多个通知气泡中部分数量的通知气泡,且多个通知气泡中的其他通知气泡被隐藏。如此,便于用户基于通知气泡,确定哪些应用有待查看消息。In a possible implementation manner, the number of notification bubbles is multiple. The electronic device displays notification bubbles in the second indicator frame displayed on the first display screen, including: the electronic device displays multiple notification bubbles or displays multiple notification bubbles in the second indicator frame displayed on the first display screen Part of the number of notification bubbles in the middle, and the other notification bubbles in the multiple notification bubbles are hidden. In this way, it is convenient for the user to determine which applications have pending messages based on the notification bubble.
在一种可能的实现方式中,被隐藏通知气泡所对应待查看消息的接收时刻晚于被显示通知气泡所对应待查看消息的接收时刻。In a possible implementation, the receiving time of the message to be viewed corresponding to the hidden notification bubble is later than the receiving time of the message to be viewed corresponding to the displayed notification bubble.
在一种可能的实现方式中,电子设备在第一显示屏所显示的第二指示框内,显示多个通知气泡中部分数量的通知气泡,且多个通知气泡中的其他通知气泡被隐藏之后,本申请实施例消息通知方法还包括:电子设备接收显示指示操作,响应于显示指示操作,电子设备在第二指示框内以滚动方式轮流显示多个通知气泡。如此,便于用户浏览哪些应用存在待查看的消息。In a possible implementation manner, the electronic device displays a part of the notification bubbles in the plurality of notification bubbles in the second indicator frame displayed on the first display screen, and after the other notification bubbles in the plurality of notification bubbles are hidden The message notification method of the embodiment of the present application further includes: the electronic device receives a display instruction operation, and in response to the display instruction operation, the electronic device displays a plurality of notification bubbles in a scrolling manner in the second instruction frame. In this way, it is convenient for the user to browse which applications have messages to be viewed.
在一种可能的实现方式中,响应于唤出指示操作,电子设备重新将通知气泡显示于第一显示屏之后,本申请实施例消息通知方法还包括:当电子设备确定满足预设条件时,电子设备使第一显示屏隐藏通知气泡,重新将通知气泡显示于第二显示屏,以减少通知气泡遮挡显示界面的时间,有助于提高用户的沉浸式体验。In a possible implementation manner, after the electronic device displays the notification bubble on the first display screen again in response to the call-up instruction operation, the message notification method of the embodiment of the present application further includes: when the electronic device determines that the preset condition is satisfied, The electronic device hides the notification bubble on the first display screen, and displays the notification bubble on the second display screen again, so as to reduce the time for the notification bubble to block the display interface and help improve the user's immersive experience.
在一种可能的实现方式中,电子设备将通知气泡显示于第二显示屏之后,本申请实施例消息通知方法还包括:电子设备通过第二显示屏接收点击操作,响应于点击操作,电子设备显示目标消息。其中,点击操作作用于第二显示屏的通知气泡。目标消息为通知气泡提示用户存在的待查看消息。如此,用户可以直接在第二显示屏中执行相应的点击操作,即可浏览到相应的新的消息,方便用户使用。In a possible implementation manner, after the electronic device displays the notification bubble on the second display screen, the message notification method of the embodiment of the present application further includes: the electronic device receives the click operation through the second display screen, and in response to the click operation, the electronic device Display the target message. Among them, the click operation acts on the notification bubble of the second display screen. The target message is a to-be-viewed message that the notification bubble prompts the user to exist. In this way, the user can directly perform the corresponding click operation on the second display screen, and then browse to the corresponding new message, which is convenient for the user to use.
第二方面,本申请实施例提供一种电子设备,包括:第一显示屏、第二显示屏、一个或多个处理器、一个或多个存储器、以及一个或多个计算机程序;其中,处理器与第一显示屏、第二显示屏以及存储器均耦合,第一显示屏和第二显示屏均用于显示通知气泡,上述一个或多个计算机程序被存储在存储器中,当电子设备运行时,该处理器执行该存储器存储的一个或多个计算机程序,以使电子设备执行如第一方面中任 一项所述的消息通知方法。In a second aspect, an embodiment of the present application provides an electronic device, including: a first display screen, a second display screen, one or more processors, one or more memories, and one or more computer programs; wherein, the processing The device is coupled with the first display screen, the second display screen, and the memory. Both the first display screen and the second display screen are used to display notification bubbles. The above-mentioned one or more computer programs are stored in the memory. When the electronic device is running , The processor executes one or more computer programs stored in the memory, so that the electronic device executes the message notification method according to any one of the first aspect.
第三方面,本申请实施例提供一种芯片系统,该芯片系统包括至少一个处理器和至少一个接口电路;接口电路用于读取存储器中存储的指令,并将指令发送给处理器;当指令被处理器执行时,使得电子设备执行如第一方面中任一项所述的消息通知方法。In a third aspect, embodiments of the present application provide a chip system, which includes at least one processor and at least one interface circuit; the interface circuit is used to read instructions stored in a memory and send the instructions to the processor; When executed by the processor, the electronic device is caused to execute the message notification method according to any one of the first aspect.
第四方面,本申请实施例提供一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如第一方面中任一项所述的消息通知方法。In a fourth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the message notification method as described in any one of the first aspect.
第五方面,本申请实施例提供一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行如第一方面中任一项所述的消息通知方法。In a fifth aspect, embodiments of the present application provide a computer program product, which when the computer program product runs on an electronic device, causes the electronic device to execute the message notification method as described in any one of the first aspect.
可以理解地,上述提供的第二方面所述的电子设备、第三方面所述的芯片系统、第四方面所述的计算机存储介质,以及第五方面所述的计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Understandably, the electronic equipment described in the second aspect, the chip system described in the third aspect, the computer storage medium described in the fourth aspect, and the computer program product described in the fifth aspect provided above are all used for execution. For the corresponding method provided in the text, therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding method provided above, which will not be repeated here.
附图说明Description of the drawings
图1为现有技术中电子设备显示通知消息的场景示意图;FIG. 1 is a schematic diagram of a scene in which an electronic device displays a notification message in the prior art;
图2为本申请实施例提供的一种电子设备的结构示意图一;FIG. 2 is a first structural diagram of an electronic device provided by an embodiment of this application;
图3为本申请实施例提供的一种电子设备中显示屏的位置示意图;FIG. 3 is a schematic diagram of the position of a display screen in an electronic device according to an embodiment of the application;
图4为本申请实施例提供的一种电子设备中操作系统的架构示意图;4 is a schematic structural diagram of an operating system in an electronic device provided by an embodiment of the application;
图5为本申请实施例提供的一种显示消息通知气泡的场景示意图;FIG. 5 is a schematic diagram of a scene for displaying a message notification bubble provided by an embodiment of the application;
图6为本申请实施例提供的一种消息通知方法的流程示意图;FIG. 6 is a schematic flowchart of a message notification method provided by an embodiment of this application;
图7为本申请实施例提供的一种消息通知方法的场景示意图一;FIG. 7 is a schematic diagram 1 of a scenario of a message notification method provided by an embodiment of this application;
图8为本申请实施例提供的一种消息通知方法的场景示意图二;FIG. 8 is a schematic diagram of a second scenario of a message notification method provided by an embodiment of the application;
图9为本申请实施例提供的一种消息通知方法的场景示意图三;FIG. 9 is a schematic diagram of a third scenario of a message notification method provided by an embodiment of the application;
图10(a)为本申请实施例提供的又一种消息通知方法的流程示意图;FIG. 10(a) is a schematic flowchart of another message notification method provided by an embodiment of this application;
图10(b)为本申请实施例提供的再一种消息通知方法的流程示意图;FIG. 10(b) is a schematic flowchart of yet another message notification method provided by an embodiment of this application;
图11为本申请实施例提供的一种消息通知方法的场景示意图四;FIG. 11 is a schematic diagram 4 of a scenario of a message notification method provided by an embodiment of this application;
图12为本申请实施例提供的一种消息通知方法的场景示意图五;FIG. 12 is a schematic diagram five of a scenario of a message notification method provided by an embodiment of this application;
图13为本申请实施例提供的一种消息通知方法的场景示意图六;FIG. 13 is a sixth scenario diagram of a message notification method provided by an embodiment of this application;
图14为本申请实施例提供的一种芯片系统的结构示意图;FIG. 14 is a schematic structural diagram of a chip system provided by an embodiment of the application;
图15为本申请实施例提供的一种电子设备的结构示意图二。FIG. 15 is a second structural diagram of an electronic device provided by an embodiment of this application.
具体实施方式detailed description
本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,或者用于区别对同一对象的不同处理,而不是用于描述对象的特定顺序。此外,本申请的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释 为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。The terms “first” and “second” in the description of the application and the drawings are used to distinguish different objects or to distinguish different treatments of the same object, rather than describing a specific order of the objects. In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes other steps or units that are not listed, or optionally also Including other steps or units inherent to these processes, methods, products or equipment. It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本申请实施例提供了一种消息通知方法,可以应用于至少包括两个显示屏的电子设备。例如,该电子设备具体可以是手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(personal digital assistant,PDA)等,本申请实施例对电子设备的具体类型不作任何限制。The embodiment of the present application provides a message notification method, which can be applied to an electronic device including at least two display screens. For example, the electronic device may specifically be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR)/virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer). Personal computer (UMPC), handheld computer, netbook, personal digital assistant (personal digital assistant, PDA), etc. The embodiments of the application do not impose any restrictions on the specific types of electronic devices.
示例性的,图2示出了电子设备100的结构示意图。Exemplarily, FIG. 2 shows a schematic structural diagram of the electronic device 100.
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,摄像头193以及显示屏194等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2. , Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, camera 193, display screen 194 and so on.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, the different processing units may be independent devices or integrated in one or more processors.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(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)接口等。In some embodiments, the processor 110 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, and a 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 (USB) interface, etc.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池 142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141可接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 can receive input from the battery 142 and/or the charging management module 140, and supply power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括一个或多个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100. The mobile communication module 150 may include one or more filters, switches, power amplifiers, low noise amplifiers (LNA), and so on. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium 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. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(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)等无线通信的解决方案。无线通信模块160可以是集成一个或多个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), and global navigation satellites. 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. The wireless communication module 160 may be one or more devices integrating one or more communication processing modules. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(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)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。以电子设备100包括两个显示屏为例,即显示屏194包括第一显示屏194A和第二显示屏194B。其中,第一显示屏194A和第二显示屏194B位于电子设备100的不同表面。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). emitting diode, AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one. Taking the electronic device 100 including two display screens as an example, that is, the display screen 194 includes a first display screen 194A and a second display screen 194B. Among them, the first display screen 194A and the second display screen 194B are located on different surfaces of the electronic device 100.
以手机为例,参见图3中的(a),第一显示屏194A位于手机的第一表面,如手机的正面。第一显示屏194A也称为主屏。第一显示屏194A主要用于显示桌面或各种应用的界面等。Taking a mobile phone as an example, referring to (a) in FIG. 3, the first display screen 194A is located on the first surface of the mobile phone, such as the front side of the mobile phone. The first display screen 194A is also referred to as the main screen. The first display screen 194A is mainly used to display the desktop or the interface of various applications.
参见图3中的(b),第二显示屏194B位于手机的第二表面,第二表面可以是与第一表面相对的表面,如手机的背面。第二显示屏194B也称为副屏。Referring to Fig. 3(b), the second display screen 194B is located on the second surface of the mobile phone, and the second surface may be a surface opposite to the first surface, such as the back of the mobile phone. The second display screen 194B is also called a secondary screen.
第二显示屏194B可以位于手机的背面且靠近侧边边缘的位置,如图3中的(b)所示。在用户单手持握手机时,食指能够触碰到第二显示屏194B,以便于用户通过第二显示屏194B向手机输入指示操作,如滑动操作、点击操作等。当然,图3中的(a)和(b)仅仅以举例方式示出了第一显示屏194A和第二显示屏194B的设置方式,第一显示屏194A和第二显示屏194B的设置方式可以不仅限于图3中的(a)和(b)所示的设置方式。例如,对于翻盖式手机而言,翻盖式手机的内显示屏即为第一显示屏194A,翻盖式手机的外显示屏即为第二显示屏194B。The second display screen 194B may be located on the back of the mobile phone and close to the side edges, as shown in (b) of FIG. 3. When the user holds the handshake with one hand, the index finger can touch the second display screen 194B, so that the user can input instructions to the mobile phone through the second display screen 194B, such as sliding operations, tapping operations, and so on. Of course, (a) and (b) in FIG. 3 only show the setting modes of the first display screen 194A and the second display screen 194B by way of example, and the setting modes of the first display screen 194A and the second display screen 194B can be It is not limited to the settings shown in Figure 3 (a) and (b). For example, for a flip-type mobile phone, the inner display screen of the flip-type mobile phone is the first display screen 194A, and the outer display screen of the flip-type mobile phone is the second display screen 194B.
第二显示屏194B的尺寸是手机生产前预先设计的,具体可以根据用户的实际需求设计不同的参数。第二显示屏194B的尺寸可以与第一显示屏194A的尺寸相同,也可以不同。第二显示屏194B可以覆盖手机背面的小部分区域,如图3中的(b)所示,也可以覆盖手机背面的大部分区域,甚至全面覆盖手机背面的区域。The size of the second display screen 194B is pre-designed before the production of the mobile phone, and different parameters can be designed according to the actual needs of the user. The size of the second display screen 194B may be the same as or different from the size of the first display screen 194A. The second display screen 194B can cover a small area on the back of the mobile phone, as shown in FIG. 3(b), and can also cover most of the area on the back of the mobile phone, or even cover the area on the back of the mobile phone.
第二显示屏194B是否处于亮屏状态可以由用户根据实际应用需求进行设置。例如, 用户可以设置第二显示屏194B始终处于亮屏状态。第二显示屏194B是否处于亮屏状态还可以由手机的电源键控制。例如,在用户按压电源键之后,第二显示屏194B由熄屏状态切换为亮屏状态;在用户再次按压电源键之后,第二显示屏194B由亮屏状态切换为熄屏状态。第二显示屏194B是否处于亮屏状态也可以由传感器模块180控制。例如,传感器模块180能够进行重力感应,在传感器模块180确定手机处于水平状态时,确定手机处于水平放置,且处于闲置状态的概率较大,第二显示屏194B切换至熄屏状态;在传感器模块180确定手机处于垂直状态或倾斜状态时,确定手机处于工作状态的概率较大,第二显示屏194B切换至亮屏状态,以增强用户的智能化体验。另外,第二显示屏194B是否处于亮屏状态可以与第一显示屏194A是否处于亮屏状态同步,即两者同时处于亮屏状态或熄屏状态。或者,第二显示屏194B是否处于亮屏状态与第一显示屏194A是否处于亮屏状态相互独立。在第二显示屏194B处于亮屏状态时,主要用于显示数字时钟、天气、运动步数等,以方便用户查看。Whether the second display screen 194B is in the on-screen state can be set by the user according to actual application requirements. For example, the user can set the second display screen 194B to always be in the on-screen state. Whether the second display screen 194B is in the on-screen state can also be controlled by the power button of the mobile phone. For example, after the user presses the power key, the second display screen 194B is switched from the off-screen state to the on-screen state; after the user presses the power key again, the second display 194B is switched from the on-screen state to the off-screen state. Whether the second display screen 194B is in the on-screen state can also be controlled by the sensor module 180. For example, the sensor module 180 can perform gravity sensing. When the sensor module 180 determines that the mobile phone is in a horizontal state, it is determined that the mobile phone is placed horizontally and has a higher probability of being in an idle state. The second display screen 194B is switched to the off-screen state; When it is determined by 180 that the mobile phone is in a vertical state or an inclined state, it is more likely that the mobile phone is determined to be in a working state, and the second display screen 194B is switched to a bright screen state to enhance the user's intelligent experience. In addition, whether the second display screen 194B is in the on-screen state can be synchronized with whether the first display screen 194A is in the on-screen state, that is, both are in the on-screen state or the off-screen state at the same time. Alternatively, whether the second display screen 194B is in the on-screen state and whether the first display screen 194A is in the on-screen state are independent of each other. When the second display screen 194B is in the on-screen state, it is mainly used to display a digital clock, the weather, the number of exercise steps, etc., so as to facilitate the user to view.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。在一些实施例中,手机100可以包括1个或N个摄像头,N为大于1的正整数。摄像头193可以是前置摄像头也可以是后置摄像头。The camera 193 is used to capture still images or videos. In some embodiments, the mobile phone 100 may include 1 or N cameras, and N is a positive integer greater than 1. The camera 193 may be a front camera or a rear camera.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备100执行本申请一些实施例中所提供的联系人智能推荐的方法,以及各种功能应用和数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用(比如图库、联系人等)等。存储数据区可存储电子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件,闪存器件,通用闪存存储器(universal flash  storage,UFS)等。在另一些实施例中,处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,来使得电子设备100执行本申请实施例中所提供的智能推荐号码的方法,以及各种功能应用和数据处理。The internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions. The processor 110 can run the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 100 to execute the method for intelligently recommending contacts provided in some embodiments of the present application, as well as various functional applications and data processing. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system; the storage program area can also store one or more applications (such as photo galleries, contacts, etc.) and so on. The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 101. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, universal flash storage (UFS), and the like. In other embodiments, the processor 110 executes the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor to cause the electronic device 100 to execute the smart device provided in the embodiments of the present application. Recommended number method, as well as various functional applications and data processing.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。The speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置一个或多个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C. The electronic device 100 may be provided with one or more microphones 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等,本申请实施例对此不做任何限制。The sensor module 180 may include a pressure sensor, a gyroscope 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 ambient light sensor, a bone conduction sensor, etc., according to the embodiments of the present application There are no restrictions on this.
当然,本申请实施例提供的电子设备100还可以包括按键、马达、指示器以及SIM卡接口等一项或多项器件,本申请实施例对此不做任何限制。Of course, the electronic device 100 provided in the embodiment of the present application may also include one or more devices such as a button, a motor, an indicator, and a SIM card interface, and the embodiment of the present application does not impose any limitation on this.
上述电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的安卓(android)系统为例,示例性说明电子设备100的软件结构。The above-mentioned software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present application takes an android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 by way of example.
示例性的,图4示出了电子设备100的软件结构示意图。Exemplarily, FIG. 4 shows a schematic diagram of the software structure of the electronic device 100.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将安卓系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the android runtime and system library, and the kernel layer.
1、应用程序层1. Application layer
应用程序层可以包括一系列应用。The application layer can include a series of applications.
如图4所示,应用程序可以包括相机,日历,地图,蓝牙,音乐,短消息业务,图库,电话,浏览器,视频,备忘录等应用(application,APP)。这些应用可以是 电子设备100出厂时预先安装的,也可以是用户使用电子设备100时从应用市场下载并安装的,本申请实施例对此不做任何限制。As shown in Figure 4, application programs may include applications (application, APP) such as camera, calendar, map, Bluetooth, music, short message service, gallery, phone, browser, video, memo, etc. These applications may be pre-installed when the electronic device 100 is shipped from the factory, or downloaded and installed from the application market when the user uses the electronic device 100. The embodiment of the present application does not impose any limitation on this.
2、应用程序框架层2. Application framework layer
应用程序框架层为应用程序层的应用提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications at the application layer. The application framework layer includes some predefined functions.
如图4所示,应用程序框架层可以包括窗口管理器,内容提供器,电话管理器,资源管理器,视图系统,电源管理服务,通知管理器等。As shown in Figure 4, the application framework layer can include a window manager, a content provider, a phone manager, a resource manager, a view system, a power management service, a notification manager, and so on.
其中,窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用。显示界面可以由一个或多个视图组成的。资源管理器为应用提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。Among them, the window manager is used to manage window programs. The window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc. The content provider is used to store and retrieve data, and make these data accessible to applications. The data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc. The view system includes visual controls, such as controls that display text, controls that display pictures, and so on. The view system can be used to build applications. The display interface can be composed of one or more views. The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。The notification manager allows the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, and so on.
在一些实施例中,通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。In some embodiments, the notification manager may also be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
在一些实施例中,通知管理器还可以是以通知气泡形式出现在显示界面顶层的通知,通知气泡主要应用于微信、腾讯QQ等社交类应用(application,APP),以通知用户有新的消息,如聊天消息。通知气泡中可以显示消息提示图标、应用的图标或者来信者的头像。In some embodiments, the notification manager can also be a notification that appears at the top of the display interface in the form of a notification bubble. The notification bubble is mainly used in social applications (applications, APPs) such as WeChat and Tencent QQ to notify users of new messages. , Such as chat messages. The notification bubble can display a message reminder icon, an application icon, or the avatar of the caller.
参见图5中的(a),以电子设备100运行浏览器APP为例,电子设备100在运行浏览器APP时,可在第一显示屏中显示浏览器APP的显示界面101,显示界面101中包括用户正在浏览的网页内容。若电子设备100接收到微信APP的新的消息,则电子设备100调用通知管理器,通知管理器在显示界面101的顶层显示通知气泡,以通知用户存在待查看消息,如图5中的(b)所示。由于通知气泡102位于顶层,且通知气泡102能够显示微信APP这一应用的图标,如此,通知气泡102能够起到“提示用户查看微信消息”的作用。若用户点击通知气泡102,则通知气泡102展开,以悬浮窗103的形式显示新的微信消息,以供用户浏览,或执行消息回复等操作,如图5中的(c)所示。若用户一直未点击通知气泡102,且电子设备100确定接收到隐藏指示操作,其中,隐藏指示操作用于指示第一显示屏隐藏通知气泡;或者,电子设备未接收到用于处理通知气泡的操作,但通知气泡显示于第一显示屏的时间长度超过预设时间长度,则电子设备100调用通知管理器,在第二显示屏194B显示通知气泡102,如图5中的(d)所示。由于通知气泡102能够在第二显示屏194B上显示,在用户翻转电子设备100后即可看到通知气泡,提醒用户仍存在待查看消息,从而达到视觉层面的提醒效果,避免用户遗忘待查看消息。若用户需要浏览新的消息,则用户可以在第一 显示屏194A或第二显示屏194B上执行相应的操作,如滑动操作。相应的,电子设备100通过第一显示屏194A接收到相应的操作之后,调用通知管理器,将通知气泡102显示于第一显示屏194A,如图5中的(b)所示,以供用户进行查看。或者,用户可以在第二显示屏194B上执行相应的操作,如点击操作。相应的,电子设备100通过第二显示屏194B接收到相应的操作之后,在第一显示屏194A显示通知气泡102所指示的待查看消息,如图5中的(c)所示,以供用户进行查看。Referring to Figure 5 (a), taking the electronic device 100 running the browser APP as an example, when the electronic device 100 is running the browser APP, it can display the display interface 101 of the browser APP on the first display screen, and the display interface 101 Including the content of the web page the user is browsing. If the electronic device 100 receives a new message from the WeChat APP, the electronic device 100 calls the notification manager, and the notification manager displays a notification bubble on the top layer of the display interface 101 to notify the user that there is a message to be viewed, as shown in (b) in Figure 5 ) Shown. Since the notification bubble 102 is located on the top layer, and the notification bubble 102 can display the icon of the WeChat APP application, the notification bubble 102 can play the role of "reminding the user to view the WeChat message". If the user clicks on the notification bubble 102, the notification bubble 102 expands and displays a new WeChat message in the form of a floating window 103 for the user to browse, or perform operations such as message reply, as shown in FIG. 5(c). If the user has not clicked the notification bubble 102, and the electronic device 100 determines to receive a hiding instruction operation, the hiding instruction operation is used to instruct the first display screen to hide the notification bubble; or the electronic device does not receive an operation for processing the notification bubble , But the time length of the notification bubble displayed on the first display screen exceeds the preset time length, the electronic device 100 calls the notification manager to display the notification bubble 102 on the second display screen 194B, as shown in (d) of FIG. 5. Since the notification bubble 102 can be displayed on the second display screen 194B, the user can see the notification bubble after turning the electronic device 100 over, reminding the user that there are still messages to be viewed, thereby achieving a visual reminder effect and preventing the user from forgetting the messages to be viewed . If the user needs to browse new messages, the user can perform a corresponding operation on the first display screen 194A or the second display screen 194B, such as a sliding operation. Correspondingly, after the electronic device 100 receives the corresponding operation through the first display screen 194A, it calls the notification manager and displays the notification bubble 102 on the first display screen 194A, as shown in (b) in FIG. 5, for the user Take a look. Alternatively, the user can perform a corresponding operation on the second display screen 194B, such as a click operation. Correspondingly, after the electronic device 100 receives the corresponding operation through the second display screen 194B, it displays the message to be viewed indicated by the notification bubble 102 on the first display screen 194A, as shown in FIG. 5(c), for the user Take a look.
3、安卓运行时(Android runtime)和系统库3. Android runtime and system libraries
安卓运行时包括核心库和虚拟机。安卓运行时负责安卓系统的调度和管理。The Android runtime includes core libraries and virtual machines. The Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。2D图形引擎是2D绘图的绘图引擎。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.
4、内核层4. The kernel layer
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动等,本申请实施例对此不做任何限制。The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, etc., which are not limited in the embodiment of the present application.
为了便于理解,以下结合附图对本申请实施例提供的一种消息通知方法进行具体介绍。以下实施例中均以手机作为电子设备100举例说明。For ease of understanding, a message notification method provided by an embodiment of the present application will be specifically introduced below in conjunction with the accompanying drawings. In the following embodiments, a mobile phone is used as an example of the electronic device 100 for illustration.
图6为本申请实施例提供的一种消息通知方法的流程示意图。如图6所示,该消息通知方法可以包括:FIG. 6 is a schematic flowchart of a message notification method provided by an embodiment of the application. As shown in Figure 6, the message notification method may include:
S600、电子设备接收新的消息。S600. The electronic device receives a new message.
其中,新的消息的条数可以是一条,也可以是多条。新的消息可以属于同一应用,也可以属于不同应用。例如,新的消息可以是某一应用的一条或多条新的消息,新的消息也可以是多个应用中每一应用的一条或多条新的消息。Among them, the number of new messages may be one or multiple. New messages can belong to the same application or different applications. For example, a new message can be one or more new messages of a certain application, and a new message can also be one or more new messages of each application in multiple applications.
在一些实施例中,电子设备收到新的消息后,识别新的消息所属的应用,默认对社交类应用以通知气泡的形式显示通知,对于其他应用在通知栏中显示通知。In some embodiments, after receiving a new message, the electronic device recognizes the application to which the new message belongs, and displays notifications in the form of notification bubbles for social applications by default, and displays notifications in the notification bar for other applications.
在一些实施例中,用户可设置应用的通知方式。例如,用户将电话、短消息业务和微信APP的通知方式设置为顶层悬浮通知气泡。其中,通知气泡可以显示消息提示图标,以提示用户应用中有待查看消息。通知气泡也可以显示应用的图标(icon),图标的形状可以根据用户的实际需求进行设置,如将图标的形状设置为气泡形状。显示应用的图标的通知气泡用于提示用户该图标所标识应用有新的消息。In some embodiments, the user can set the notification method of the application. For example, the user sets the notification mode of phone, short message service, and WeChat APP as the top floating notification bubble. Among them, the notification bubble can display a message prompt icon to remind the user that there is a message to be viewed in the application. The notification bubble can also display an application icon (icon), and the shape of the icon can be set according to the actual needs of the user, such as setting the shape of the icon to a bubble shape. The notification bubble displaying the icon of the application is used to prompt the user that the application identified by the icon has a new message.
S601、电子设备将通知气泡显示于第一显示屏。S601. The electronic device displays a notification bubble on the first display screen.
其中,通知气泡悬浮于显示界面之上。通知气泡可以位于靠近第一显示屏的边缘,也可以位于第一显示屏的中心或中部区域。如此,即使用户单手持握手机,也能够用拇指对第一显示屏中的通知气泡进行操作,如点击第一显示屏中的通知气泡,或者,滑动第一显示屏中的通知气泡。Among them, the notification bubble is suspended above the display interface. The notification bubble may be located close to the edge of the first display screen, or may be located in the center or middle area of the first display screen. In this way, even if the user holds the handshake with one hand, he can operate the notification bubble in the first display screen with his thumb, such as tapping the notification bubble in the first display screen, or sliding the notification bubble in the first display screen.
示例性的,通知气泡可以显示消息提示图标,仍以气泡形状显示于第一显示屏,如图7中的(a)所示。通知气泡也可以显示新的消息所属应用的图标(icon),以气泡形状显示于第一显示屏,如图7中的(b)所示。另外,对于社交类应用(如微信)来说,通知气泡所显示的图片可以为消息发送者的头像。Exemplarily, the notification bubble may display a message prompt icon, which is still displayed on the first display screen in a bubble shape, as shown in (a) of FIG. 7. The notification bubble may also display the icon of the application to which the new message belongs, and is displayed in the shape of a bubble on the first display screen, as shown in (b) of FIG. 7. In addition, for social applications (such as WeChat), the picture displayed in the notification bubble can be the avatar of the message sender.
同时,通知气泡在第一显示屏上停留的时间长度不超过预设时间长度,该预设时间长度的起始时刻即为电子设备接收新的消息的时刻。这里,新的消息即为通知气泡提示用户的待查看消息。At the same time, the time length of the notification bubble staying on the first display screen does not exceed the preset time length, and the starting time of the preset time length is the time when the electronic device receives a new message. Here, the new message is the message to be viewed that the notification bubble prompts the user.
在一些实施例中,用户可以对通知气泡在第一显示屏停留的时间长度(即预设时间长度)进行统一设置,如设置为5秒。In some embodiments, the user may uniformly set the length of time that the notification bubble stays on the first display screen (ie, the preset length of time), such as 5 seconds.
在一些实施例中,若不同的应用对应不同的通知气泡,通知气泡在第一显示屏停留的时间长度(即预设时间长度)可以根据应用的优先级进行设置。例如,应用的优先级越高,通知气泡所对应的预设时间长度的数值越大,以使该应用所对应的通知气泡在第一显示屏停留的时间越长,从而实现更好的提示效果。In some embodiments, if different applications correspond to different notification bubbles, the length of time the notification bubbles stay on the first display screen (ie, the preset length of time) can be set according to the priority of the application. For example, the higher the priority of the application, the larger the value of the preset time length corresponding to the notification bubble, so that the notification bubble corresponding to the application stays on the first display screen for a longer time, thereby achieving a better prompt effect .
其中,通知气泡可以提示用户多个应用有待查看消息,也可以提示用户某一个应用有待查看消息,下面以不同的场景对通知气泡进行具体说明:Among them, the notification bubble can prompt the user that multiple applications are waiting to view messages, or the user can be prompted that a certain application is waiting to view messages. The notification bubbles are specifically explained in different scenarios below:
在第一种可能的设计中,电子设备在某一段时间内,接收到一个应用的新的消息,或者,接收到多个应用的新的消息。如图7中的(a)所示,电子设备在第一显示屏显示通知气泡。通知气泡所显示的图标为消息提示图标,以提示用户应用中有待查看消息。In the first possible design, the electronic device receives a new message from one application or receives new messages from multiple applications within a certain period of time. As shown in (a) of Figure 7, the electronic device displays a notification bubble on the first display screen. The icon displayed in the notification bubble is a message prompt icon to remind the user that there is a message to be viewed in the application.
这里,通知气泡在第一显示屏显示的起始时刻为电子设备最新接收到的消息的时刻,通知气泡在第一显示屏停留的时间长度(即预设时间长度)可以为用户统一设置的时间长度,也可以是根据最新接收到的消息所属应用的优先级所设置的时间长度。Here, the start time of the notification bubble displayed on the first display screen is the time of the latest message received by the electronic device, and the length of time the notification bubble stays on the first display screen (ie, the preset length of time) can be the time uniformly set by the user The length can also be the length of time set according to the priority of the application to which the latest received message belongs.
如此,无论电子设备接收到一个应用的新的消息,还是多个应用的新的消息,第一显示屏均能够显示一个通知气泡,既能够提示用户应用有新的消息,又能够减小通知气泡的遮挡面积,避免通知气泡遮挡过多的显示界面,有助于增强用户的沉浸式体验。In this way, no matter the electronic device receives a new message from one application or new messages from multiple applications, the first display screen can display a notification bubble, which can not only remind the user that there is a new message in the application, but also reduce the notification bubble. The occlusion area of the screen prevents the notification bubble from blocking the display interface too much, which helps to enhance the user’s immersive experience.
在第二种可能的设计中,通知气泡能够指示哪些应用有待查看消息,具体说明如下:In the second possible design, the notification bubble can indicate which applications have pending messages, as follows:
在一些实施例中,电子设备在某一段时间内,接收到同一应用的一条或多条新的消息。如图7中的(b)所示,电子设备将新的消息所属应用的图标以通知气泡的形式显示于第一显示屏。In some embodiments, the electronic device receives one or more new messages of the same application within a certain period of time. As shown in FIG. 7(b), the electronic device displays the icon of the application to which the new message belongs in the form of a notification bubble on the first display screen.
对于电子设备仅接收到一条新的消息,该消息可以记为消息A。电子设备将通知气泡显示于第一显示屏的起始时刻(即预设时间长度的起始时刻)即为电子设备接收到消息A的时刻,通知气泡在第一显示屏的停留的预设时间长度可以根据消息A所属 应用的优先级进行设置。If the electronic device only receives a new message, the message can be recorded as message A. The starting moment when the electronic device displays the notification bubble on the first display screen (ie, the starting moment of the preset time length) is the moment when the electronic device receives message A, and the notification bubble stays on the first display screen for the preset time The length can be set according to the priority of the application to which message A belongs.
对于电子设备接收到同一应用的多条新的消息,以三条新的消息为例,三条新的消息分别记为消息B1、消息B2和消息B3。此时,若电子设备接收消息B1、消息B2和消息B3的时刻相同,则第一显示屏显示通知气泡的起始时刻(即预设时间长度的起始时刻)为电子设备接收上述新的消息(即消息B1、消息B2和消息B3)的时刻。For the electronic device receiving multiple new messages of the same application, three new messages are taken as an example, and the three new messages are respectively recorded as message B1, message B2, and message B3. At this time, if the electronic device receives message B1, message B2, and message B3 at the same time, the first display screen displays the starting time of the notification bubble (that is, the starting time of the preset time length) for the electronic device to receive the new message. (Ie message B1, message B2, and message B3) time.
若电子设备接收消息B1、消息B2和消息B3的时刻不同,则第一显示屏显示通知气泡的起始时刻(即预设时间长度的起始时刻)为电子设备接收上述新的消息(即消息B1、消息B2和消息B3)中最早的时刻。在第一显示屏显示通知气泡的过程中(即预设时间长度之内),若电子设备接收到上述新的消息(即消息B1、消息B2和消息B3)中的某一条消息,则以该消息的接收时刻作为预设时间长度的新的起始时刻。If the electronic device receives message B1, message B2, and message B3 at different times, the first display screen displays the start time of the notification bubble (that is, the start time of the preset time length) for the electronic device to receive the new message (that is, message The earliest moment in B1, message B2, and message B3). During the process of displaying the notification bubble on the first display screen (that is, within the preset length of time), if the electronic device receives one of the above-mentioned new messages (that is, message B1, message B2, and message B3), it will The receiving time of the message is regarded as the new starting time of the preset time length.
在一些实施例中,电子设备在某一段时间内,接收到多个应用的新的消息。以两条新的消息为例,两条新的消息分别记为消息C1(或记为第一消息)和消息D1(或记为第二消息)。示例性的,消息C1可以为短消息业务(short messaging service,SMS)APP的消息,消息D1可以为微信APP的消息。In some embodiments, the electronic device receives new messages from multiple applications within a certain period of time. Taking two new messages as an example, the two new messages are respectively marked as message C1 (or as the first message) and message D1 (or as the second message). Exemplarily, the message C1 may be a message of a short messaging service (short messaging service, SMS) APP, and the message D1 may be a message of a WeChat APP.
如图7中的(c)和(d)所示,电子设备在第一显示屏以通知气泡的形式显示消息C1所属应用的通知气泡和消息C2所属应用的通知气泡。As shown in (c) and (d) in FIG. 7, the electronic device displays the notification bubble of the application to which the message C1 belongs and the notification bubble of the application to which the message C2 belongs in the form of notification bubbles on the first display screen.
对于消息C1而言,电子设备以通知气泡的形式显示消息C1所属应用的图标的起始时刻(即消息C1所对应通知气泡的预设时间长度的起始时刻)为电子设备接收消息C1的时刻,电子设备以通知气泡的形式显示消息C1所属应用的图标的时间长度值(即消息C1所对应通知气泡的预设时间长度)是根据上述消息C1所属应用的优先级所设置的数值。For message C1, the start time when the electronic device displays the icon of the application to which message C1 belongs in the form of a notification bubble (that is, the start time of the preset time length of the notification bubble corresponding to message C1) is the moment when the electronic device receives message C1 , The time length value for the electronic device to display the icon of the application to which the message C1 belongs in the form of a notification bubble (that is, the preset time length of the notification bubble corresponding to the message C1) is a value set according to the priority of the application to which the message C1 belongs.
对于消息D1而言,电子设备以通知气泡的形式显示消息D1所属应用的图标的起始时刻(即消息D1所对应通知气泡的预设时间长度的起始时刻)为电子设备接收消息D1的时刻,电子设备以通知气泡的形式显示消息D1所属应用的图标的时间长度值(即消息D1所对应通知气泡的预设时间长度)是根据上述消息D1所属应用的优先级所设置的数值。For message D1, the start time when the electronic device displays the icon of the application to which message D1 belongs in the form of a notification bubble (that is, the start time of the preset time length of the notification bubble corresponding to message D1) is the moment when the electronic device receives message D1 , The time length value for the electronic device to display the icon of the application to which the message D1 belongs in the form of a notification bubble (that is, the preset time length of the notification bubble corresponding to the message D1) is a value set according to the priority of the application to which the message D1 belongs.
其中,电子设备在第一显示屏显示通知气泡的方式可以有多种,包括但不限于如下方式:There are many ways for the electronic device to display notification bubbles on the first display screen, including but not limited to the following ways:
方式一、以展开状态显示通知气泡Method 1: Display the notification bubble in an expanded state
参见图7中的(c),电子设备在第一显示屏的顶层悬浮不同应用的通知气泡。并且,不同应用的通知气泡互不遮挡。例如,消息C1所属应用的通知气泡和消息D1所属应用的通知气泡互不遮挡。如此,第一显示屏以展开状态显示不同应用的通知气泡,以提示用户通知气泡所标识的应用有新的消息,实现更好的提示效果。Referring to (c) in FIG. 7, the electronic device floats notification bubbles of different applications on the top layer of the first display screen. In addition, the notification bubbles of different applications do not block each other. For example, the notification bubble of the application to which the message C1 belongs and the notification bubble of the application to which the message D1 belongs do not block each other. In this way, the first display screen displays notification bubbles of different applications in an expanded state to prompt the user that the application identified by the notification bubble has a new message, thereby achieving a better prompt effect.
方式二、以折叠状态显示通知气泡Method 2: Display the notification bubble in a collapsed state
参见图7中的(d),电子设备在第一显示屏的顶层悬浮两个应用的通知气泡。并且,两个应用的通知气泡折叠。例如,消息C1所属应用的通知气泡遮挡消息D1所属应用的通知气泡的部分。Referring to (d) in FIG. 7, the electronic device floats notification bubbles of two applications on the top layer of the first display screen. Also, the notification bubbles of the two apps collapsed. For example, the notification bubble of the application to which the message C1 belongs occludes a part of the notification bubble of the application to which the message D1 belongs.
在第一显示屏以折叠状态显示通知气泡时,电子设备可以根据不同的判断依据,从多个应用的通知气泡中确定待显示的通知气泡和被遮挡的通知气泡。When the first display screen displays the notification bubbles in the folded state, the electronic device may determine the notification bubbles to be displayed and the blocked notification bubbles from the notification bubbles of multiple applications according to different judgment basis.
示例性的,电子设备以接收新的消息的时刻作为判断依据,即电子设备接收消息C1的时刻晚于电子设备接收消息D1的时刻。如此,电子设备将最新收到消息(如消息C1)所属的应用的通知气泡悬浮于顶层,而不被其他通知气泡遮挡,以实时提示用户存在新的待查看消息。Exemplarily, the electronic device uses the time when the new message is received as the judgment basis, that is, the time when the electronic device receives the message C1 is later than the time when the electronic device receives the message D1. In this way, the electronic device suspends the notification bubble of the application to which the newly received message (such as message C1) belongs to the top layer without being obscured by other notification bubbles, so as to prompt the user in real time that there is a new message to be viewed.
示例性的,电子设备以新的消息所属应用的优先级作为判断依据,即消息C1所属应用的优先级高于消息D1所属应用的优先级。如此,电子设备将优先级高的应用的通知气泡悬浮于顶层,而不被其他通知气泡遮挡,以避免用户遗忘查看优先级较高应用的消息,满足用户的实际应用需求。Exemplarily, the electronic device uses the priority of the application to which the new message belongs as a judgment basis, that is, the priority of the application to which the message C1 belongs is higher than the priority of the application to which the message D1 belongs. In this way, the electronic device suspends the notification bubbles of the high-priority applications on the top layer without being obscured by other notification bubbles, so as to prevent the user from forgetting to view the messages of the high-priority applications, and meet the actual application requirements of the users.
如此,第一显示屏以折叠状态显示不同应用的通知气泡,既能够提示用户通知气泡所标识的应用有新的消息,又能够减小通知气泡的遮挡面积,避免通知气泡遮挡过多电子设备原来所显示的显示界面,有助于增强用户的沉浸式体验。In this way, the first display screen displays the notification bubbles of different applications in a folded state, which not only can prompt the user that the application identified by the notification bubble has new messages, but also can reduce the shielding area of the notification bubble, and prevent the notification bubble from covering too many original electronic devices. The displayed display interface helps to enhance the user's immersive experience.
可选的,在通知气泡显示应用的图标时,应用的图标上可以标识新的消息的数量,以直观地提示用户待查看消息的数量。例如,在某一段时间内,当电子设备仅接收到短消息业务APP的一条消息时,该应用的图标上可以标识数字“1”,如图8中的(a)所示,当电子设备又接收到短消息业务APP的一条消息时,该应用的图标上所标识的数字更新为“2”,如图8中的(b)所示,当电子设备再接收到短消息业务APP的一条消息时,该应用的图标上可以标识数字“3”如图8中的(c)所示。又例如,在某一时刻,当电子设备接收到短消息业务APP的三条消息时,该应用的图标上所标识的数字更新为“3”,如图8中的(c)所示。Optionally, when the icon of the application is displayed in the notification bubble, the number of new messages can be marked on the icon of the application to intuitively remind the user of the number of messages to be viewed. For example, in a certain period of time, when the electronic device receives only one message of the short message service APP, the number "1" can be marked on the icon of the application, as shown in (a) in Figure 8, when the electronic device When a message of the short message service APP is received, the number identified on the icon of the application is updated to "2", as shown in Figure 8 (b), when the electronic device receives another message from the short message service APP At this time, the number "3" can be identified on the icon of the application, as shown in (c) in Figure 8. For another example, at a certain moment, when the electronic device receives three messages of the short message service APP, the number identified on the icon of the application is updated to "3", as shown in (c) in FIG. 8.
S602、电子设备确定是否满足预设条件,若是,则执行S603,若否,则继续执行S601。S602. The electronic device determines whether the preset condition is met, if so, execute S603, and if not, continue to execute S601.
其中,预设条件包括以下选项中的至少一项:Among them, the preset conditions include at least one of the following options:
第一、电子设备接收隐藏指示操作。First, the electronic device receives the hiding instruction operation.
其中,隐藏指示操作用于指示第一显示屏隐藏通知气泡。Wherein, the hiding instruction operation is used to instruct the first display screen to hide the notification bubble.
示例性的,隐藏指示操作可以是在第一显示屏处于预设界面,且操作区域为预设区域的点击操作。其中,预设界面可以是桌面的显示界面,预设区域可以是桌面的显示界面中不存在图标的区域。Exemplarily, the hiding instruction operation may be a click operation in which the first display screen is on the preset interface and the operation area is the preset area. Wherein, the preset interface may be a display interface of the desktop, and the preset area may be an area where there are no icons in the display interface of the desktop.
示例性的,隐藏指示操作可以是在第二显示屏不存在通知气泡时,通过第二显示屏所接收的滑动操作,而滑动操作的方向可以是沿电子设备的宽度所在的方向。Exemplarily, the hiding instruction operation may be a sliding operation received through the second display screen when there is no notification bubble on the second display screen, and the direction of the sliding operation may be a direction along the width of the electronic device.
示例性的,若用户在显示界面中所关注的重点区域即为通知气泡所遮挡的区域,用户需要通知气泡尽快隐藏,不遮挡第一显示屏原来的显示界面,则用户可以向电子设备输入隐藏指示操作。相应的,电子设备接收隐藏指示操作。响应于隐藏指示操作,电子设备在第一显示屏隐藏该通知气泡,在第二显示屏显示该通知气泡。如此,即使通知气泡在第一显示屏所显示的时间长度未超过预设时间长度,用户也可以直接对第一显示屏的通知气泡进行隐藏处理,无需等待通知气泡自动退隐,以满足用户的实际应用需求,有助于增强用户的沉浸式体验。Exemplarily, if the key area that the user pays attention to in the display interface is the area covered by the notification bubble, the user needs to hide the notification bubble as soon as possible without blocking the original display interface of the first display screen, then the user can input to the electronic device to hide Instructions for operation. Correspondingly, the electronic device receives the hiding instruction operation. In response to the hiding instruction operation, the electronic device hides the notification bubble on the first display screen and displays the notification bubble on the second display screen. In this way, even if the length of time that the notification bubble is displayed on the first display screen does not exceed the preset length of time, the user can directly hide the notification bubble on the first display screen without waiting for the notification bubble to automatically retire, so as to meet the actual needs of the user. Application requirements help enhance the user’s immersive experience.
第二、电子设备未接收到用于处理通知气泡的操作,且通知气泡显示于第一显示屏的时间长度超过预设时间长度。Second, the electronic device does not receive the operation for processing the notification bubble, and the length of time that the notification bubble is displayed on the first display screen exceeds the preset length of time.
其中,用于处理通知气泡的操作可以包括但不限于如下操作:Among them, the operations used to process notification bubbles may include but are not limited to the following operations:
操作一,点击操作,在用户需要浏览某一通知气泡所提示的新的消息时,点击该通知气泡。相应的,电子设备接收作用于该通知气泡的点击操作,以悬浮窗的形式显示新的消息。Operation one, click operation, when the user needs to browse a new message prompted by a certain notification bubble, click the notification bubble. Correspondingly, the electronic device receives the click operation acting on the notification bubble, and displays the new message in the form of a floating window.
操作二,长按操作,在用户需要删除某一通知气泡时,长按该通知气泡。相应的,电子设备接收作用于该通知气泡的长按操作,响应于长按操作,电子设备在第一显示屏显示管理按钮。管理按钮被点击时,显示管理菜单,管理菜单中可以包括删除选项,删除选项被点击时,该通知气泡从第二指示框中删除。Operation two, long press operation, when the user needs to delete a notification bubble, long press the notification bubble. Correspondingly, the electronic device receives the long-press operation acting on the notification bubble, and in response to the long-press operation, the electronic device displays the management button on the first display screen. When the management button is clicked, the management menu is displayed. The management menu can include a delete option. When the delete option is clicked, the notification bubble is deleted from the second indication box.
操作三、显示指示操作,在第一显示屏隐藏通知气泡,且响应于唤出指示操作,第一显示屏再次显示通知气泡之后,第一显示屏在第二指示框内仅显示了多个通知气泡中的部分数量的通知气泡,其他通知气泡被隐藏。但是,用户需要浏览被隐藏通知气泡所标识应用的新的消息,用户向电子设备输入显示指示操作,如在第一显示屏的第二指示框内进行滑动操作。相应的,电子设备通过第一显示屏接收显示指示操作,响应于显示指示操作,第一显示屏可采用滚动轮流显示的方式显示上述多个通知气泡,具体可以参见S607和S608的相关说明。关于唤出指示操作的相关说明,具体可以参见S605和S606的描述,此处不再赘述。Operation three, display the instruction operation, hide the notification bubble on the first display screen, and in response to calling out the instruction operation, after the first display screen displays the notification bubble again, the first display screen only displays multiple notifications in the second instruction frame Part of the number of notification bubbles in the bubble, other notification bubbles are hidden. However, the user needs to browse new messages of the application identified by the hidden notification bubble, and the user inputs a display instruction operation to the electronic device, such as a sliding operation in the second instruction frame of the first display screen. Correspondingly, the electronic device receives the display instruction operation through the first display screen, and in response to the display instruction operation, the first display screen may display the aforementioned multiple notification bubbles in a scrolling and alternate display manner. For details, please refer to the relevant descriptions of S607 and S608. Regarding the related description of the call out instruction operation, please refer to the description of S605 and S606 for details, which will not be repeated here.
操作四、隐藏指示操作,参见上述关于隐藏指示操作的说明,此处不再赘述。Operation four. Hidden instruction operation, please refer to the above description of hidden instruction operation, which will not be repeated here.
在第一显示屏显示通知气泡的时间超过预设时间长度,且在预设时间长度内用户未向电子设备输入用于处理通知气泡的操作。相应的,电子设备在预设时间长度内未接收到用于处理通知气泡的操作,则电子设备可以确定用户沉浸于某一应用的情景中,如用户专注于浏览器APP的显示界面中的内容,或用户专注于游戏APP的游戏情景中。为了避免通知气泡遮挡第一显示屏原来的显示界面,影响用户的沉浸式体验,电子设备执行下述S603:The time for displaying the notification bubble on the first display screen exceeds the preset length of time, and the user does not input an operation for processing the notification bubble to the electronic device within the preset length of time. Correspondingly, if the electronic device does not receive the operation for processing the notification bubble within the preset time period, the electronic device can determine that the user is immersed in a certain application scenario, such as the user focusing on the content in the display interface of the browser APP , Or the user concentrates on the game scene of the game APP. In order to prevent the notification bubble from blocking the original display interface of the first display screen and affecting the user's immersive experience, the electronic device executes the following S603:
S603、电子设备将通知气泡显示于第二显示屏。S603. The electronic device displays the notification bubble on the second display screen.
其中,通知气泡悬浮于顶层,即悬浮于第二显示屏当前显示界面之上。Among them, the notification bubble is suspended on the top layer, that is, on the current display interface of the second display screen.
在一些实施例中,通知气泡的数量可以是一个,通知气泡可以显示消息提示图标,如图9中的(a)所示。通知气泡能够提示用户应用中有待查看消息。即使第二显示屏的尺寸较小,也能够显示该通知气泡。可选的,消息提示图标上可以标识待查看消息的数量,以方便用户查看。In some embodiments, the number of notification bubbles may be one, and the notification bubbles may display a message prompt icon, as shown in (a) of FIG. 9. The notification bubble can prompt the user that there are messages to be viewed in the application. Even if the size of the second display screen is small, the notification bubble can be displayed. Optionally, the number of messages to be viewed can be marked on the message prompt icon to facilitate the user to view.
在一些实施例中,通知气泡的数量可以是一个,通知气泡还可以显示应用的图标,如图9中的(b)所示。通知气泡能够提示用户哪一应用中有待查看消息,避免用户遗忘或错过重要应用的消息。可选的,应用的图标上可以标识待查看消息的数量,以方便用户查看。In some embodiments, the number of notification bubbles may be one, and the notification bubbles may also display application icons, as shown in (b) of FIG. 9. The notification bubble can prompt the user which application has a message to be viewed, so as to prevent the user from forgetting or missing the message of an important application. Optionally, the number of messages to be viewed can be marked on the icon of the application to facilitate the user to view.
在一些实施例中,通知气泡的数量也可以是多个,不同通知气泡可以显示不同应用的图标。通知气泡的数量与电子设备接收到的新的消息所属应用的数量一致。例如,两个应用分别为短消息业务(short messaging service,SMS)和微信,第二显示屏显示消息C1所属应用的通知气泡和消息C2所属应用的通知气泡。其中,电子设备在第二显示屏显示通知气泡的方式可以有多种,包括但不限于如下方式:In some embodiments, the number of notification bubbles may also be multiple, and different notification bubbles may display icons of different applications. The number of notification bubbles is consistent with the number of applications to which the new message received by the electronic device belongs. For example, the two applications are short messaging service (SMS) and WeChat respectively, and the second display screen displays the notification bubble of the application to which the message C1 belongs and the notification bubble of the application to which the message C2 belongs. There are many ways for the electronic device to display notification bubbles on the second display screen, including but not limited to the following ways:
方式一、以展开状态显示通知气泡Method 1: Display the notification bubble in an expanded state
参见图9中的(c),电子设备在第二显示屏的顶层悬浮不同应用的通知气泡。并 且,不同应用的通知气泡互不遮挡。例如,消息C1所属应用的通知气泡和消息D1所属应用的通知气泡互不遮挡。如此,第二显示屏以展开状态显示不同应用的通知气泡,以提示用户通知气泡所标识的应用有新的消息,实现更好的提示效果。Referring to (c) in FIG. 9, the electronic device floats notification bubbles of different applications on the top layer of the second display screen. In addition, the notification bubbles of different applications do not block each other. For example, the notification bubble of the application to which the message C1 belongs and the notification bubble of the application to which the message D1 belongs do not block each other. In this way, the second display screen displays notification bubbles of different applications in an expanded state to prompt the user that the application identified by the notification bubble has a new message, so as to achieve a better prompt effect.
方式二、以折叠状态显示通知气泡Method 2: Display the notification bubble in a collapsed state
参见图9中的(d),电子设备在第二显示屏的顶层悬浮两个应用的通知气泡。并且,两个应用的通知气泡折叠。例如,消息C1所属应用的通知气泡遮挡显示消息D1所属应用的通知气泡的部分通知气泡。Referring to (d) in FIG. 9, the electronic device floats notification bubbles of two applications on the top layer of the second display screen. Also, the notification bubbles of the two apps collapsed. For example, the notification bubble of the application to which the message C1 belongs occludes a part of the notification bubble that displays the notification bubble of the application to which the message D1 belongs.
在第二显示屏以折叠状态显示通知气泡时,电子设备可以根据不同的判断依据,从多个应用的通知气泡中确定待显示的通知气泡和被遮挡的通知气泡。例如,电子设备以接收新的消息的时刻作为判断依据,或者,以新的消息所属应用的优先级作为判断依据,具体可以参见S601中的相关说明。电子设备确定第二显示屏中待显示通知气泡的判断依据,可以与电子设备确定第一显示屏中待显示通知气泡的判断依据相同,也可以与电子设备确定第一显示屏中待显示通知气泡的判断依据不同。When the second display screen displays the notification bubbles in the folded state, the electronic device may determine the notification bubbles to be displayed and the blocked notification bubbles from the notification bubbles of multiple applications according to different judgment basis. For example, the electronic device uses the time of receiving the new message as the judgment basis, or the priority of the application to which the new message belongs as the judgment basis. For details, please refer to the relevant description in S601. The judgment basis for the electronic device to determine the notification bubble to be displayed in the second display screen may be the same as the judgment basis for the electronic device to determine the notification bubble to be displayed in the first display screen, or it may be the same as that for the electronic device to determine the notification bubble to be displayed in the first display screen. The basis for judgment is different.
如此,第二显示屏以折叠状态显示不同应用的通知气泡,以提示用户通知气泡所标识的应用有新的消息。即使第二显示屏的尺寸较小,由于以折叠状态显示通知气泡,也能够实现良好的提示效果。In this way, the second display screen displays notification bubbles of different applications in a folded state to prompt the user that the application identified by the notification bubble has a new message. Even if the size of the second display screen is small, since the notification bubbles are displayed in a folded state, a good prompt effect can be achieved.
由此可见,本申请提供的消息通知方法,可以在第一显示屏显示通知气泡,以提示用户存在新的消息。即使用户单手持握电子设备,也能够采用拇指对第一显示屏中的通知气泡进行处理,如点击第一显示屏中的通知气泡,或者,滑动第一显示屏中的通知气泡。在电子设备确定满足预设条件时,如电子设备接收隐藏指示操作,以指示第一显示屏隐藏通知气泡,又例如,电子设备未接收到用于处理通知气泡的操作,且通知气泡显示于第一显示屏的时间长度超过预设时间长度,则电子设备将通知气泡显示于第二显示屏。由于第一显示屏的通知气泡能够自动隐藏,或者,响应于电子设备接收到的隐藏指示信息,而使第一显示屏隐藏通知气泡,减少通知气泡遮挡电子设备原显示界面的时间,从而增强了用户的沉浸式体验。由于通知气泡能够显示于第二显示屏,用户翻转手机即可看到第二显示屏上的通知气泡,从而能够实现视觉层面的提醒效果,避免用户遗忘新的消息。It can be seen that the message notification method provided by the present application can display a notification bubble on the first display screen to remind the user that there is a new message. Even if the user holds the electronic device in one hand, the thumb can be used to process the notification bubble in the first display screen, such as clicking the notification bubble in the first display screen, or sliding the notification bubble in the first display screen. When the electronic device determines that the preset condition is met, for example, the electronic device receives a hiding instruction operation to instruct the first display screen to hide the notification bubble. For another example, the electronic device does not receive an operation for processing the notification bubble, and the notification bubble is displayed on the first display screen. When the time length of a display screen exceeds the preset time length, the electronic device displays a notification bubble on the second display screen. Since the notification bubble of the first display screen can be automatically hidden, or, in response to the hiding instruction information received by the electronic device, the first display screen hides the notification bubble, reducing the time for the notification bubble to block the original display interface of the electronic device, thereby enhancing An immersive experience for users. Since the notification bubble can be displayed on the second display screen, the user can see the notification bubble on the second display screen by turning the mobile phone, thereby achieving a visual reminder effect and preventing the user from forgetting new messages.
可选的,电子设备根据当前的应用的运行状况和/或用户的操作习惯,确定通知气泡的显示方式。例如,应用的运行状况可以是指电子设备是否在运行指定类应用,指定类应用可以是用户根据自身需要所设置的应用,例如但不限于游戏类应用。若电子设备运行指定类应用时,则电子设备确定直接在第二显示屏上显示通知气泡,即电子设备执行S600之后,直接执行S603,否则,电子设备执行S600之后,执行S601。Optionally, the electronic device determines the display mode of the notification bubble according to the current running status of the application and/or the user's operating habits. For example, the running status of the application may refer to whether the electronic device is running a specified type of application, and the specified type of application may be an application set by the user according to his own needs, such as but not limited to a game application. If the electronic device runs the designated application, the electronic device determines to directly display the notification bubble on the second display screen, that is, after the electronic device executes S600, it directly executes S603; otherwise, the electronic device executes S600 and then executes S601.
又例如,用户的操作习惯可以是指:电子设备运行不同应用时,电子设备所接收到的用户的操作习惯。以阅读类应用为例,用户的操作习惯可以是:用户向电子设备输入操作的类型或时间间隔。如此,电子设备基于接收到的操作的类型或时间间隔,确定用户是否处于沉浸式模式当中,即用户是否正在认真阅读。例如,若电子设备运行阅读类应用,则电子设备确定当前用户的操作状况是否与预先学习的用户的操作习惯一致,若是,则电子设备直接在第二显示屏上显示通知气泡,即电子设备执行S600之后,直接执行S603,若否,电子设备执行S600之后,执行S601。For another example, the user's operating habits may refer to the user's operating habits received by the electronic device when the electronic device runs different applications. Taking a reading application as an example, the user's operating habit may be: the type or time interval of the user's input to the electronic device. In this way, the electronic device determines whether the user is in an immersive mode based on the type or time interval of the received operation, that is, whether the user is reading carefully. For example, if the electronic device runs a reading application, the electronic device determines whether the current user's operating conditions are consistent with the user's pre-learned operating habits. If so, the electronic device directly displays a notification bubble on the second display screen, that is, the electronic device executes After S600, S603 is directly executed. If not, after S600 is executed, the electronic device executes S601.
可选的,若电子设备执行S600之后,执行S601,且第二显示屏处于熄屏状态时,则第二显示屏可采用闪烁方式,提醒用户有新的消息。Optionally, if the electronic device executes S600 and then executes S601, and the second display screen is in the off-screen state, the second display screen may use a flashing mode to remind the user that there is a new message.
可选的,参见图10(a),在电子设备执行S602之后,确定满足预设条件的情况下,电子设备可以直接执行S603,也可以在执行S603之前,先执行S604:Optionally, referring to FIG. 10(a), after the electronic device executes S602 and determines that the preset condition is satisfied, the electronic device may directly execute S603, or it may execute S604 first before executing S603:
S604、电子设备将通知气泡从第一显示屏的边缘逐渐退隐。S604. The electronic device gradually withdraws the notification bubble from the edge of the first display screen.
其中,通知气泡可以从第一显示屏的任一边缘逐渐退隐。例如,从第一显示屏的顶部、底部、左部或右部进行退隐,本申请实施例对通知气泡的退隐位置不作具体限定。Among them, the notification bubble can gradually withdraw from any edge of the first display screen. For example, the withdrawal is performed from the top, bottom, left, or right of the first display screen. The embodiment of the present application does not specifically limit the withdrawal position of the notification bubble.
示例性的,以浏览器APP的显示界面顶层悬浮通知气泡为例,通知气泡从第一显示屏的边缘逐渐退隐,如图11中的(a)所示。待通知气泡完全退隐之后,第一显示屏显示原来的显示界面,第二显示屏显示上述通知气泡。Exemplarily, taking the floating notification bubble at the top of the display interface of the browser APP as an example, the notification bubble gradually disappears from the edge of the first display screen, as shown in (a) of FIG. 11. After the notification bubble is completely retired, the first display screen displays the original display interface, and the second display screen displays the above notification bubble.
如此,电子设备以逐渐退隐的方式缩小通知气泡遮挡原显示界面的面积,来提示用户通知气泡待显示于第二显示屏,以提高用户体验。In this way, the electronic device shrinks the area where the notification bubble blocks the original display interface in a gradual retreat manner to prompt the user that the notification bubble is to be displayed on the second display screen, so as to improve the user experience.
可选的,在通知气泡逐渐退隐的过程中,电子设备在第一显示屏显示第一指示框104,如图11中的(b)所示。其中,第一指示框104承载通知气泡。第一指示框104的宽度随通知气泡的逐渐退隐而变窄,第一指示框104用于指示通知气泡待显示于第二显示屏。如此,电子设备显示第一指示框,进一步增强了视觉提示效果,以为用户示出通知气泡待显示的区域,即提示用户“通知气泡待显示于第二显示屏”。Optionally, during the gradual withdrawal of the notification bubble, the electronic device displays the first indication frame 104 on the first display screen, as shown in (b) of FIG. 11. Wherein, the first indication frame 104 carries notification bubbles. The width of the first indicator frame 104 becomes narrower as the notification bubble gradually recedes, and the first indicator frame 104 is used to indicate that the notification bubble is to be displayed on the second display screen. In this way, the electronic device displays the first indication frame, which further enhances the visual prompt effect, showing the user the area where the notification bubble is to be displayed, that is, prompting the user "the notification bubble is to be displayed on the second display screen".
待通知气泡完全从第一显示屏的边缘退隐之后,对于第一显示屏而言,第一显示屏可以正常显示原来的显示界面。或者,第一显示屏显示原来显示的显示界面,同时,第一显示屏还显示第一指示框的部分区域,如第一显示屏仅保留第一指示框104的某一条边及其附近的区域,如图11中的(c)所示。对于第二显示屏而言,电子设备将通知气泡显示于第二显示屏,即电子设备执行S603。After the notification bubble is completely retreated from the edge of the first display screen, for the first display screen, the first display screen can normally display the original display interface. Alternatively, the first display screen displays the original display interface, and at the same time, the first display screen also displays a partial area of the first indicator frame. For example, the first display screen only retains a certain edge of the first indicator frame 104 and the area near it , As shown in Figure 11 (c). For the second display screen, the electronic device displays the notification bubble on the second display screen, that is, the electronic device executes S603.
可选的,第一显示屏隐藏通知气泡,第二显示屏显示通知气泡之后,若用户需要浏览新的消息,则用户可以在第一显示屏或第二显示屏上进行滑动操作。相应的,电子设备通过第一显示屏或第二显示屏接收滑动操作,以使通知气泡再次显示于第一显示屏,即电子设备执行S605和S606:Optionally, the first display screen hides the notification bubble, and after the second display screen displays the notification bubble, if the user needs to browse new messages, the user can perform a sliding operation on the first display screen or the second display screen. Correspondingly, the electronic device receives the sliding operation through the first display screen or the second display screen, so that the notification bubble is displayed on the first display screen again, that is, the electronic device executes S605 and S606:
S605、电子设备接收唤出指示操作。S605: The electronic device receives the call-up instruction operation.
其中,唤出指示操作可以是滑动操作。滑动操作的方向可以是沿电子设备的宽度方向。Among them, the calling out instruction operation may be a sliding operation. The direction of the sliding operation may be along the width direction of the electronic device.
作为一种可能的实现方式,电子设备的第一显示屏可以仍显示某一应用的显示界面,如第一显示屏仍显示浏览器的显示界面,并未退出该应用。或者,第一显示屏处于桌面的显示界面。此时,参见图12中的(a),电子设备可以通过第二显示屏接收唤出指示操作,即电子设备通过第二显示屏接收滑动操作。As a possible implementation manner, the first display screen of the electronic device may still display the display interface of a certain application. For example, the first display screen still displays the display interface of the browser without exiting the application. Or, the first display screen is on the display interface of the desktop. At this time, referring to (a) in FIG. 12, the electronic device can receive the call-up instruction operation through the second display screen, that is, the electronic device receives the sliding operation through the second display screen.
如此,当用户手持电子设备时,用食指触碰背面的第二显示屏,即可实现滑动操作,以使显示于第二显示屏的通知气泡,显示于第一显示屏,即“唤出通知气泡”,且操作方便。In this way, when the user holds the electronic device in hand, touch the second display screen on the back with the index finger to realize the sliding operation, so that the notification bubble displayed on the second display screen is displayed on the first display screen, that is, "call out notifications" Bubble" and easy to operate.
作为另一种可能的实现方式,第一显示屏显示第一指示框的部分区域。此时,参见图12中的(b),电子设备可以通过第一显示屏接收唤出指示操作,即电子设备通 过第一显示屏接收滑动操作。As another possible implementation manner, the first display screen displays a partial area of the first indicator frame. At this time, referring to (b) in FIG. 12, the electronic device may receive the call-up instruction operation through the first display screen, that is, the electronic device may receive the sliding operation through the first display screen.
其中,通过第一显示屏所接收的唤出指示操作的操作区域包括第一指示框的部分区域。Wherein, the operation area for calling out the instruction operation received through the first display screen includes a partial area of the first instruction frame.
示例性的,第一显示屏可以在预设界面的边缘显示第一指示框的部分区域,预设界面可以例如但不限于桌面的显示界面。Exemplarily, the first display screen may display a partial area of the first indicator frame on the edge of the preset interface, and the preset interface may be, for example, but not limited to a desktop display interface.
如此,用户可用食指从第一显示屏的边缘进行滑动,以使显示于第二显示屏的通知气泡,显示于第一显示屏,即“唤出通知气泡”,且操作方便。In this way, the user can use the index finger to slide from the edge of the first display screen, so that the notification bubble displayed on the second display screen is displayed on the first display screen, that is, "calls up the notification bubble", and the operation is convenient.
S606、响应于唤出指示操作,电子设备重新将通知气泡显示于第一显示屏。S606. In response to the call-up instruction operation, the electronic device displays the notification bubble on the first display screen again.
其中,通知气泡悬浮于顶层,即悬浮于桌面或各个应用(如浏览器APP)的显示界面之上。Among them, the notification bubble is suspended on the top layer, that is, on the desktop or the display interface of each application (such as a browser APP).
在一些实施例中,第一显示屏显示浏览器APP的显示界面,通知气泡悬浮于浏览器APP的显示界面之上,如图12中的(c)所示。In some embodiments, the first display screen displays the display interface of the browser APP, and the notification bubble floats on the display interface of the browser APP, as shown in (c) of FIG. 12.
在一些实施例中,第一显示屏处于桌面的显示界面,通知气泡悬浮于桌面的显示界面之上,如图12中的(d)所示。In some embodiments, the first display screen is on the display interface of the desktop, and the notification bubble floats on the display interface of the desktop, as shown in (d) of FIG. 12.
如此,便于用户点击第一显示屏顶层所显示的通知气泡,浏览新的消息。In this way, it is convenient for the user to click the notification bubble displayed on the top layer of the first display screen to browse new messages.
可选的,S606可以具体实现为:响应于唤出指示操作,电子设备在第一显示屏的第二指示框105内,显示通知气泡。其中,第二指示框105用于通知气泡在电子设备响应于唤出指示操作之前,显示于第二显示屏。Optionally, S606 may be specifically implemented as: in response to a call-up instruction operation, the electronic device displays a notification bubble in the second instruction frame 105 of the first display screen. Wherein, the second indication frame 105 is used to notify that the bubble is displayed on the second display screen before the electronic device responds to the call-up instruction operation.
示例性的,参见图12中的(e)所示,以第一显示屏处于桌面的显示界面为例,通知气泡102悬浮于桌面的显示界面之上,且处于第二指示框105之内。Exemplarily, referring to (e) in FIG. 12, taking the first display screen on the display interface of the desktop as an example, the notification bubble 102 is suspended on the display interface of the desktop and is located in the second indication frame 105.
如此,通过第二指示框能够增强视觉效果,以指示第二指示框内的通知气泡在响应于唤出指示操作之前,显示于第二显示屏。In this way, the visual effect can be enhanced through the second indicator frame, so as to indicate that the notification bubble in the second indicator frame is displayed on the second display screen before responding to the call-up operation.
在另一种可能的设计中,电子设备存在两个或多个应用的待查看的消息。以两个应用存在新的消息为例进行说明。例如,两个应用分别为短消息业务(short messaging service,SMS)和微信,其中,短消息业务APP的消息记为消息C1,微信APP的消息记为消息D1。此时,电子设备在第一显示屏显示两个通知气泡,两个通知气泡中分别显示消息C1所属应用的图标和消息C2所属应用的图标。其中,电子设备在第一显示屏显示通知气泡的方式可以有多种。例如,以展开状态显示通知气泡,具体如S601的方式一的相关描述,此处不再赘述。In another possible design, the electronic device has messages to be viewed in two or more applications. Take the new message in two applications as an example. For example, the two applications are short messaging service (SMS) and WeChat respectively, where the message of the short message service APP is recorded as message C1, and the message of WeChat APP is recorded as message D1. At this time, the electronic device displays two notification bubbles on the first display screen, and the two notification bubbles respectively display the icon of the application to which the message C1 belongs and the icon of the application to which the message C2 belongs. Among them, the electronic device can display notification bubbles on the first display screen in multiple ways. For example, the notification bubble is displayed in the expanded state, specifically as the related description of mode 1 of S601, which will not be repeated here.
可选的,电子设备也可在第一显示屏的第二指示框105内,以展开状态显示两个或多个通知气泡。若通知气泡的数量过多,第二指示框105无法同时显示多个通知气泡中的每个通知气泡时,电子设备可以在第一显示屏的第二指示框105内,显示上述多个通知气泡中的部分数量的通知气泡,且上述多个通知气泡中的其他通知气泡被隐藏。其中,电子设备可以按照不同的判断依据,在多个通知气泡中确定显示的通知气泡或隐藏的通知气泡。例如,以新的消息的接收时刻作为判断依据,即在多个通知气泡中,被显示通知气泡所标识的消息的接收时刻均晚于被隐藏通知气泡所标识的消息的接收时刻。又例如,以新的消息所属应用的优先级作为判断依据,即在多个通知气泡中,被显示通知气泡的应用的优先级均高于被隐藏通知气泡的应用的优先级。Optionally, the electronic device may also display two or more notification bubbles in an expanded state in the second indicator frame 105 of the first display screen. If the number of notification bubbles is too large and the second indicator box 105 cannot display each of the multiple notification bubbles at the same time, the electronic device can display the above multiple notification bubbles in the second indicator box 105 of the first display screen. Part of the number of notification bubbles in, and other notification bubbles in the above multiple notification bubbles are hidden. Wherein, the electronic device can determine the displayed notification bubble or the hidden notification bubble among the multiple notification bubbles according to different judgment basis. For example, the receiving time of the new message is used as the judgment basis, that is, among the multiple notification bubbles, the receiving time of the message identified by the displayed notification bubble is later than the receiving time of the message identified by the hidden notification bubble. For another example, the priority of the application to which the new message belongs is used as the judgment basis, that is, among multiple notification bubbles, the priority of the application with the notification bubble displayed is higher than the priority of the application with the hidden notification bubble.
示例性的,多个应用分别为电话、短消息业务(short messaging service,SMS) 和微信,此时,电子设备在第一显示屏的第二指示框内显示两个通知气泡,这两个通知气泡分别显示电话APP的图标和短消息业务APP的图标,显示微信APP的图标的通知气泡被隐藏,如图13中的(a)所示。Exemplarily, the multiple applications are telephone, short messaging service (SMS), and WeChat. At this time, the electronic device displays two notification bubbles in the second indicator frame of the first display screen. These two notifications The bubbles respectively display the icon of the phone APP and the icon of the short message service APP, and the notification bubble showing the icon of the WeChat APP is hidden, as shown in (a) in FIG. 13.
若用户需要点击通知气泡,查看通知气泡所标识应用的新的消息。但是,通知气泡所标识的应用在第二指示框内未被显示,用户可以在电子设备上执行显示指示操作。相应的,电子设备执行S607:If the user needs to click the notification bubble to view the new message of the application identified by the notification bubble. However, the application identified by the notification bubble is not displayed in the second indication frame, and the user can perform a display indication operation on the electronic device. Correspondingly, the electronic device executes S607:
S607、电子设备接收显示指示操作。S607: The electronic device receives the display instruction operation.
其中,显示指示操作可以是滑动操作,滑动操作的方向可以是沿电子设备的长度所在方向。The display instruction operation may be a sliding operation, and the direction of the sliding operation may be a direction along the length of the electronic device.
示例性的,显示指示操作可以是电子设备通过第一显示屏所接收的滑动操作,而滑动操作的操作区域包括第二指示框所指示的区域,如图13中的(b)所示。Exemplarily, the display instruction operation may be a sliding operation received by the electronic device through the first display screen, and the operation area of the sliding operation includes the area indicated by the second indication frame, as shown in (b) of FIG. 13.
示例性的,显示指示操作可以是电子设备通过第二显示屏接收的滑动操作。Exemplarily, the display instruction operation may be a sliding operation received by the electronic device through the second display screen.
S608、响应于显示指示操作,电子设备在第二指示框内以滚动方式轮流显示多个通知气泡。S608. In response to the display instruction operation, the electronic device displays multiple notification bubbles in a scrolling manner in the second instruction frame.
示例性的,滚动方向与显示指示操作的滑动方向一致。例如,若显示指示操作的滑动操作为从电子设备的顶部向底部滑动,则被隐藏通知气泡被显示于第二指示框105的上部。若显示指示操作的滑动操作为从电子设备的底部向顶部滑动,则被隐藏通知气泡被显示于第二指示框105的下部。以从电子设备的底部向顶部的滑动操为例,被隐藏的微信APP的通知气泡显示于第二指示框105的下部,电话APP的通知气泡被隐藏,如图13中的(c)所示。Exemplarily, the scroll direction is consistent with the sliding direction of the display instruction operation. For example, if the sliding operation of the display instruction operation is to slide from the top to the bottom of the electronic device, the hidden notification bubble is displayed on the upper part of the second instruction frame 105. If the sliding operation of the display instruction operation is sliding from the bottom to the top of the electronic device, the hidden notification bubble is displayed in the lower part of the second instruction frame 105. Taking the sliding operation from the bottom to the top of the electronic device as an example, the notification bubble of the hidden WeChat APP is displayed in the lower part of the second indicator box 105, and the notification bubble of the phone APP is hidden, as shown in (c) in Figure 13 .
如此,便于用户浏览哪些应用存在待查看的消息,满足用户的实际需求,且操作简便。In this way, it is convenient for the user to browse which applications have messages to be viewed, which meets the actual needs of the user, and the operation is simple and convenient.
可选的,用户浏览存在新的消息的应用之后,若用户发现并不存在待查看应用的通知气泡。或者,通知气泡显示于第一显示屏(即用户唤出待查看应用的通知气泡)之后,用户并未点击通知气泡。此时,电子设备还可以再次将显示于第一显示屏的通知气泡隐藏,重新将通知气泡显示于第二显示屏,即电子设备在执行S606之后还可以重复执行S602,或者,在执行S608之后还可以重复执行S602,在确定满足预设条件的情况下,执行S603,或者执行S604和S603。Optionally, after the user browses an application with a new message, if the user finds that there is no notification bubble of the application to be viewed. Or, after the notification bubble is displayed on the first display screen (that is, the user calls up the notification bubble of the application to be viewed), the user does not click the notification bubble. At this time, the electronic device can also hide the notification bubble displayed on the first display screen again, and display the notification bubble on the second display screen again, that is, the electronic device can perform S602 repeatedly after performing S606, or after performing S608 S602 can also be repeated, and if it is determined that the preset condition is satisfied, S603 is executed, or S604 and S603 are executed.
可选的,若用户需要浏览新的消息时,用户可以直接点击第一显示屏中的通知气泡。相应的,电子设备接收作用于通知气泡的点击操作,响应于点击操作,电子设备显示目标消息。其中,目标消息为通知气泡所标识的新的消息。目标消息可以采用悬浮窗的形式进行显示,如图5中的(c)所示。其中,通知气泡可以是首次显示于第一显示屏,也可以是响应于唤出指示操作,显示于第一显示屏,如图10(b)所示。其中,点击操作作用于第一显示屏的通知气泡。Optionally, if the user needs to browse new messages, the user can directly click the notification bubble in the first display screen. Correspondingly, the electronic device receives the click operation acting on the notification bubble, and in response to the click operation, the electronic device displays the target message. Among them, the target message is a new message identified by the notification bubble. The target message can be displayed in the form of a floating window, as shown in Figure 5 (c). Wherein, the notification bubble may be displayed on the first display screen for the first time, or it may be displayed on the first display screen in response to a call-up instruction operation, as shown in FIG. 10(b). Among them, the click operation acts on the notification bubble of the first display screen.
另外,若用户需要浏览新的消息时,用户也可以直接点击第二显示屏中的通知气泡,相应的,电子设备执行S609和S610:In addition, if the user needs to browse a new message, the user can also directly click the notification bubble in the second display screen. Accordingly, the electronic device executes S609 and S610:
S609、电子设备通过第二显示屏接收点击操作。S609. The electronic device receives the click operation through the second display screen.
其中,点击操作作用于第二显示屏的通知气泡,以指示显示该通知气泡所标识的新的消息。Wherein, the click operation acts on the notification bubble of the second display screen to instruct to display the new message identified by the notification bubble.
S610、响应于点击操作,电子设备显示目标消息。S610. In response to the click operation, the electronic device displays the target message.
其中,目标消息为通知气泡提示用户存在的新的消息。Among them, the target message is a new message that the notification bubble prompts the user to exist.
示例性的,电子设备可以在第一显示屏显示上述目标消息,如图5中的(c)所示。Exemplarily, the electronic device may display the above-mentioned target message on the first display screen, as shown in (c) in FIG. 5.
可选的,电子设备还可以在第二显示屏显示上述目标消息。Optionally, the electronic device may also display the above-mentioned target message on the second display screen.
如此,用户可以直接在第二显示屏中执行相应的点击操作,即可浏览到相应的新的消息,方便用户使用。In this way, the user can directly perform the corresponding click operation on the second display screen, and then browse to the corresponding new message, which is convenient for the user to use.
本申请实施例公开了一种芯片系统,如图14所示,该芯片系统包括至少一个处理器1401和至少一个接口电路1402。处理器1401和接口电路1402可通过线路互联。例如,接口电路1402可用于从其它装置(例如存储器)接收信号。又例如,接口电路1402可用于向其它装置(例如处理器1401)发送信号。示例性的,接口电路1402可读取存储器中存储的指令,并将该指令发送给处理器1401。当所述指令被处理器1401执行时,可使得电子设备执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。The embodiment of the present application discloses a chip system. As shown in FIG. 14, the chip system includes at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 may be interconnected by wires. For example, the interface circuit 1402 can be used to receive signals from other devices (e.g., memory). For another example, the interface circuit 1402 may be used to send signals to other devices (such as the processor 1401). Exemplarily, the interface circuit 1402 may read instructions stored in the memory, and send the instructions to the processor 1401. When the instructions are executed by the processor 1401, the electronic device can execute the steps in the foregoing embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
本申请实施例公开了一种电子设备,包括处理器,以及与处理器相连的存储器、输入设备和输出设备。其中,输入设备和输出设备可集成为一个设备,例如,在用户向电子设备输入操作时,可将第一显示屏194A和第二显示屏194B作为输入设备;在电子设备向用户显示通知气泡或待查看消息时,可将第一显示屏194A和第二显示屏194B作为输出设备。The embodiment of the application discloses an electronic device including a processor, and a memory, an input device, and an output device connected to the processor. The input device and the output device can be integrated into one device. For example, when the user inputs an operation to the electronic device, the first display screen 194A and the second display screen 194B can be used as input devices; the electronic device displays a notification bubble or When a message is to be viewed, the first display screen 194A and the second display screen 194B can be used as output devices.
此时,如图15所示,上述电子设备可以包括:显示屏1501;一个或多个处理器1502;存储器1503;一个或多个应用程序(未示出);以及一个或多个计算机程序1504,上述各器件可以通过一个或多个通信总线1505连接。其中该一个或多个计算机程序1504被存储在上述存储器1503中并被配置为被该一个或多个处理器1502执行,该一个或多个计算机程序1504包括指令,上述指令可以用于执行上述实施例中的各个步骤。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应实体器件的功能描述,在此不再赘述。At this time, as shown in FIG. 15, the above electronic device may include: a display screen 1501; one or more processors 1502; a memory 1503; one or more application programs (not shown); and one or more computer programs 1504 The above-mentioned devices may be connected through one or more communication buses 1505. The one or more computer programs 1504 are stored in the aforementioned memory 1503 and are configured to be executed by the one or more processors 1502, and the one or more computer programs 1504 include instructions, and the aforementioned instructions can be used to execute the aforementioned implementations. The steps in the example. Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding physical device, and will not be repeated here.
示例性的,上述处理器1502具体可以为图2所示的处理器110,上述存储器1503具体可以为图2所示的内部存储器121和/或外部存储器接口120的外部存储器,上述显示屏1501具体可以为图3所示的第一显示屏194A和第二显示屏194B,本申请实施例对此不做任何限制。Exemplarily, the above-mentioned processor 1502 may specifically be the processor 110 shown in FIG. 2, the above-mentioned memory 1503 may specifically be the internal memory 121 and/or the external memory of the external memory interface 120 shown in FIG. 2, and the above-mentioned display screen 1501 may be specifically It may be the first display screen 194A and the second display screen 194B shown in FIG. 3, which are not limited in the embodiment of the present application.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。The functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方 案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage The medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this, and changes or replacements within the technical scope disclosed in this application should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (21)

  1. 一种消息通知方法,其特征在于,应用于电子设备,所述电子设备包括第一显示屏和第二显示屏,所述消息通知方法包括:A message notification method, characterized in that it is applied to an electronic device, the electronic device includes a first display screen and a second display screen, and the message notification method includes:
    所述电子设备将通知气泡显示于所述第一显示屏;其中,所述通知气泡用于提示用户存在待查看消息;The electronic device displays a notification bubble on the first display screen; wherein the notification bubble is used to remind the user that there is a message to be viewed;
    当所述电子设备确定满足预设条件时,所述电子设备将所述通知气泡显示于所述第二显示屏;When the electronic device determines that the preset condition is satisfied, the electronic device displays the notification bubble on the second display screen;
    所述预设条件包括:The preset conditions include:
    所述电子设备接收隐藏指示操作,所述隐藏指示操作用于指示所述第一显示屏隐藏所述通知气泡;或所述电子设备未接收到用于处理通知气泡的操作,且所述通知气泡显示于所述第一显示屏的时间长度超过预设时间长度。The electronic device receives a hiding instruction operation, the hiding instruction operation is used to instruct the first display screen to hide the notification bubble; or the electronic device does not receive an operation for processing the notification bubble, and the notification bubble The length of time displayed on the first display screen exceeds the predetermined length of time.
  2. 根据权利要求1所述的消息通知方法,其特征在于,所述待查看消息包括第一消息和第二消息;所述第一消息属于第一应用,所述第二消息属于第二应用;The message notification method according to claim 1, wherein the message to be viewed includes a first message and a second message; the first message belongs to a first application, and the second message belongs to a second application;
    所述电子设备将通知气泡显示于所述第一显示屏,包括:The electronic device displaying the notification bubble on the first display screen includes:
    所述电子设备在所述第一显示屏的顶层悬浮所述第一应用的通知气泡和所述第二应用的通知气泡;The electronic device suspends the notification bubble of the first application and the notification bubble of the second application on the top layer of the first display screen;
    其中,所述第一应用的通知气泡与所述第二应用的通知气泡互不遮挡,或者,所述第一应用的通知气泡遮挡所述第二应用的通知气泡的部分。Wherein, the notification bubble of the first application and the notification bubble of the second application do not block each other, or the notification bubble of the first application occludes a part of the notification bubble of the second application.
  3. 根据权利要求1或2所述的消息通知方法,其特征在于,所述待查看消息包括第一消息和第二消息;所述第一消息属于第一应用,所述第二消息属于第二应用;The message notification method according to claim 1 or 2, wherein the message to be viewed includes a first message and a second message; the first message belongs to the first application, and the second message belongs to the second application ;
    所述电子设备将通知气泡显示于所述第二显示屏,包括:The electronic device displaying the notification bubble on the second display screen includes:
    所述电子设备在所述第二显示屏的顶层悬浮所述第一应用的通知气泡和所述第二应用的通知气泡;The electronic device suspends the notification bubble of the first application and the notification bubble of the second application on the top layer of the second display screen;
    其中,所述第一应用的通知气泡与所述第二应用的通知气泡互不遮挡,或者,所述第一应用的通知气泡遮挡所述第二应用的通知气泡的部分。Wherein, the notification bubble of the first application and the notification bubble of the second application do not block each other, or the notification bubble of the first application occludes a part of the notification bubble of the second application.
  4. 根据权利要求2或3所述的消息通知方法,其特征在于,所述电子设备接收所述第一消息的时刻晚于所述电子设备接收所述第二消息的时刻;The message notification method according to claim 2 or 3, wherein the time when the electronic device receives the first message is later than the time when the electronic device receives the second message;
    或者,or,
    所述第一应用的优先级高于所述第二应用的优先级。The priority of the first application is higher than the priority of the second application.
  5. 根据权利要求1至4任一项所述的消息通知方法,其特征在于,所述预设时间长度与所述待查看消息所属应用的优先级对应。The message notification method according to any one of claims 1 to 4, wherein the preset length of time corresponds to the priority of the application to which the message to be viewed belongs.
  6. 根据权利要求1至5任一项所述的消息通知方法,其特征在于,在所述电子设备将通知气泡显示于所述第一显示屏之后,所述电子设备将所述通知气泡显示于所述第二显示屏之前,所述方法还包括:The message notification method according to any one of claims 1 to 5, wherein after the electronic device displays the notification bubble on the first display screen, the electronic device displays the notification bubble on the first display screen. Before the second display screen, the method further includes:
    所述电子设备将所述通知气泡从所述第一显示屏的边缘逐渐退隐。The electronic device gradually withdraws the notification bubble from the edge of the first display screen.
  7. 根据权利要求6所述的消息通知方法,其特征在于,所述方法还包括:The message notification method according to claim 6, wherein the method further comprises:
    所述电子设备在所述第一显示屏显示第一指示框;Displaying, by the electronic device, a first indicator frame on the first display screen;
    其中,所述第一指示框承载所述通知气泡,所述第一指示框的宽度随所述通知气泡的逐渐退隐而变窄,所述第一指示框用于指示所述通知气泡待显示于所述第二显示 屏。Wherein, the first indicator frame carries the notification bubble, the width of the first indicator frame becomes narrower as the notification bubble gradually withdraws, and the first indicator frame is used to indicate that the notification bubble is to be displayed on The second display screen.
  8. 根据权利要求1所述的消息通知方法,其特征在于,所述电子设备接收新的消息之后,所述方法还包括:The message notification method according to claim 1, wherein after the electronic device receives a new message, the method further comprises:
    所述电子设备根据当前的应用的运行状况和/或用户的操作习惯,确定将通知气泡显示于所述第二显示屏。The electronic device determines to display the notification bubble on the second display screen according to the current operating status of the application and/or the user's operating habits.
  9. 根据权利要求1至8任一项所述的消息通知方法,其特征在于,所述电子设备将所述通知气泡显示于所述第二显示屏之后,所述方法还包括:The message notification method according to any one of claims 1 to 8, wherein after the electronic device displays the notification bubble on the second display screen, the method further comprises:
    所述电子设备接收唤出指示操作;The electronic device receives the call-up instruction operation;
    响应于所述唤出指示操作,所述电子设备重新将所述通知气泡显示于所述第一显示屏。In response to the call-up instruction operation, the electronic device displays the notification bubble on the first display screen again.
  10. 根据权利要求9所述的消息通知方法,其特征在于,所述电子设备接收唤出指示操作,包括:The message notification method according to claim 9, wherein the electronic device receiving a call out instruction operation comprises:
    所述电子设备通过所述第一显示屏或所述第二显示屏接收所述唤出指示操作;Receiving, by the electronic device, the call-up instruction operation through the first display screen or the second display screen;
    其中,唤出指示操作为滑动操作。Among them, the call-out instruction operation is a sliding operation.
  11. 根据权利要求9或10所述的消息通知方法,其特征在于,通过所述第一显示屏所接收的唤出指示操作的操作区域包括第一指示框的部分区域;The message notification method according to claim 9 or 10, wherein the operation area for calling out the instruction operation received through the first display screen includes a partial area of the first instruction frame;
    所述第一指示框的部分区域是在所述通知气泡从所述第一显示屏的边缘逐渐退隐之后,所述第一显示屏所显示的第一指示框的部分区域。The partial area of the first indicator frame is a partial area of the first indicator frame displayed on the first display screen after the notification bubble gradually recedes from the edge of the first display screen.
  12. 根据权利要求9至11任一项所述的消息通知方法,其特征在于,所述响应于所述唤出指示操作,所述电子设备重新将所述通知气泡显示于所述第一显示屏,包括:The message notification method according to any one of claims 9 to 11, wherein in response to the call-up instruction operation, the electronic device displays the notification bubble on the first display screen again, include:
    响应于所述唤出指示操作,所述电子设备在所述第一显示屏所显示的第二指示框内,显示所述通知气泡;In response to the call-up instruction operation, the electronic device displays the notification bubble in the second instruction frame displayed on the first display screen;
    其中,所述第二指示框用于指示所述通知气泡在所述电子设备响应于所述唤出指示操作之前,显示于所述第二显示屏。Wherein, the second indication frame is used to indicate that the notification bubble is displayed on the second display screen before the electronic device responds to the call-up instruction operation.
  13. 根据权利要求12所述的消息通知方法,其特征在于,所述通知气泡的数量为多个;The message notification method according to claim 12, wherein the number of notification bubbles is multiple;
    所述电子设备在所述第一显示屏所显示的第二指示框内,显示所述通知气泡,包括:The electronic device displaying the notification bubble in the second indicator frame displayed on the first display screen includes:
    所述电子设备在所述第一显示屏所显示的第二指示框内,显示多个通知气泡,或显示所述多个通知气泡中部分数量的通知气泡,且所述多个通知气泡中的其他通知气泡被隐藏。The electronic device displays a plurality of notification bubbles in the second indicator frame displayed on the first display screen, or displays a part of the notification bubbles in the plurality of notification bubbles, and the notification bubbles in the plurality of notification bubbles Other notification bubbles are hidden.
  14. 根据权利要求13所述的消息通知方法,其特征在于,被隐藏通知气泡所对应待查看消息的接收时刻晚于被显示通知气泡所对应待查看消息的接收时刻。The message notification method according to claim 13, wherein the receiving time of the message to be viewed corresponding to the hidden notification bubble is later than the receiving time of the message to be viewed corresponding to the displayed notification bubble.
  15. 根据权利要求13或14所述的消息通知方法,其特征在于,所述电子设备在所述第一显示屏所显示的第二指示框内,显示所述多个通知气泡中部分数量的通知气泡,且所述多个通知气泡中的其他通知气泡被隐藏之后,所述方法还包括:The message notification method according to claim 13 or 14, wherein the electronic device displays a partial number of notification bubbles among the plurality of notification bubbles in a second indicator frame displayed on the first display screen , And after other notification bubbles in the plurality of notification bubbles are hidden, the method further includes:
    所述电子设备接收显示指示操作;The electronic device receives a display instruction operation;
    响应于所述显示指示操作,所述电子设备在所述第二指示框内以滚动方式轮流显示所述多个通知气泡。In response to the display instruction operation, the electronic device displays the plurality of notification bubbles in a scrolling manner in the second instruction frame in turn.
  16. 根据权利要求9至15任一项所述的消息通知方法,其特征在于,响应于所述唤出指示操作,所述电子设备重新将所述通知气泡显示于所述第一显示屏之后,所述方法还包括:The message notification method according to any one of claims 9 to 15, wherein, in response to the call-up instruction operation, the electronic device displays the notification bubble on the first display screen again, so The method also includes:
    当所述电子设备确定满足预设条件时,所述电子设备使所述第一显示屏隐藏所述通知气泡,重新将所述通知气泡显示于所述第二显示屏。When the electronic device determines that the preset condition is met, the electronic device hides the notification bubble on the first display screen, and displays the notification bubble on the second display screen again.
  17. 根据权利要求1至16任一项所述的消息通知方法,其特征在于,所述电子设备将所述通知气泡显示于所述第二显示屏之后,所述方法还包括:The message notification method according to any one of claims 1 to 16, wherein after the electronic device displays the notification bubble on the second display screen, the method further comprises:
    所述电子设备通过所述第二显示屏接收点击操作;所述点击操作作用于所述通知气泡;The electronic device receives a click operation through the second display screen; the click operation acts on the notification bubble;
    响应于所述点击操作,所述电子设备显示目标消息;In response to the click operation, the electronic device displays a target message;
    其中,所述目标消息为所述通知气泡提示用户存在的待查看消息。Wherein, the target message is a message to be viewed that the notification bubble prompts the user to exist.
  18. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    第一显示屏和第二显示屏,所述第一显示屏和所述第二显示屏均用于显示通知气泡;A first display screen and a second display screen, both of the first display screen and the second display screen are used to display notification bubbles;
    一个或多个处理器;One or more processors;
    存储器;Memory
    其中,所述存储器中存储有一个或多个计算机程序,当所述电子设备运行时,所述处理器执行所述存储器存储的一个或多个计算机程序,以使电子设备执行所述权利要求1至17中任一项所述的一种消息通知方法。Wherein, the memory stores one or more computer programs, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that the electronic device executes the claim 1. A message notification method as described in any one of to 17.
  19. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行所述权利要求1至17中任一项所述的一种消息通知方法。A computer storage medium, characterized by comprising computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute a message notification according to any one of claims 1 to 17 method.
  20. 一种计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行所述权利要求1至17中任一项所述的一种消息通知方法。A computer program product, characterized in that, when the computer program product runs on an electronic device, the electronic device is caused to execute the message notification method according to any one of the claims 1 to 17.
  21. 一种芯片系统,其特征在于,所述芯片系统包括至少一个处理器和至少一个接口电路;所述接口电路用于读取存储器中存储的指令,并将所述指令发送给所述处理器;当所述指令被所述处理器执行时,使得电子设备执行所述权利要求1至17中任一项所述的一种消息通知方法。A chip system, characterized in that the chip system includes at least one processor and at least one interface circuit; the interface circuit is used to read instructions stored in a memory and send the instructions to the processor; When the instruction is executed by the processor, the electronic device is caused to execute the message notification method according to any one of claims 1 to 17.
PCT/CN2020/102467 2019-09-04 2020-07-16 Message notification method and electronic device WO2021042881A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910834104.5 2019-09-04
CN201910834104.5A CN110740210B (en) 2019-09-04 2019-09-04 Message notification method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021042881A1 true WO2021042881A1 (en) 2021-03-11

Family

ID=69267473

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/102467 WO2021042881A1 (en) 2019-09-04 2020-07-16 Message notification method and electronic device

Country Status (2)

Country Link
CN (1) CN110740210B (en)
WO (1) WO2021042881A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110740210B (en) * 2019-09-04 2021-06-01 华为技术有限公司 Message notification method and electronic equipment
CN111638836B (en) * 2020-04-30 2022-02-22 维沃移动通信有限公司 Information display method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050051307A (en) * 2003-11-27 2005-06-01 주식회사 팬택앤큐리텔 Message creation method through screen division in mobile communication terminal
CN104796553A (en) * 2015-04-30 2015-07-22 魅族科技(中国)有限公司 Communication event reminding method and terminal
CN107995354A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of application control method, terminal and computer-readable recording medium
CN109343775A (en) * 2018-10-31 2019-02-15 努比亚技术有限公司 Double screen terminal screen switching method, terminal and computer readable storage medium
CN109739400A (en) * 2018-12-21 2019-05-10 维沃移动通信有限公司 A kind of information processing method and terminal device
CN110119231A (en) * 2018-02-05 2019-08-13 广东欧珀移动通信有限公司 Message display method, device, mobile terminal and storage medium
CN110740210A (en) * 2019-09-04 2020-01-31 华为技术有限公司 Message notification method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9588668B2 (en) * 2011-07-21 2017-03-07 Imerj, Llc Methods of displaying a second view
CN104461294B (en) * 2014-12-01 2018-07-03 深圳市东方拓宇科技有限公司 A kind of unread message display method of intelligent terminal and corresponding intelligent terminal
TW201624260A (en) * 2014-12-30 2016-07-01 富智康(香港)有限公司 Method and system for viewing messages
CN108965101B (en) * 2017-05-26 2020-10-13 腾讯科技(深圳)有限公司 Session message processing method, device, storage medium and computer equipment
CN109032737A (en) * 2018-07-18 2018-12-18 上海哔哩哔哩科技有限公司 Pop-up message display system, method, storage medium and intelligent terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050051307A (en) * 2003-11-27 2005-06-01 주식회사 팬택앤큐리텔 Message creation method through screen division in mobile communication terminal
CN104796553A (en) * 2015-04-30 2015-07-22 魅族科技(中国)有限公司 Communication event reminding method and terminal
CN107995354A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of application control method, terminal and computer-readable recording medium
CN110119231A (en) * 2018-02-05 2019-08-13 广东欧珀移动通信有限公司 Message display method, device, mobile terminal and storage medium
CN109343775A (en) * 2018-10-31 2019-02-15 努比亚技术有限公司 Double screen terminal screen switching method, terminal and computer readable storage medium
CN109739400A (en) * 2018-12-21 2019-05-10 维沃移动通信有限公司 A kind of information processing method and terminal device
CN110740210A (en) * 2019-09-04 2020-01-31 华为技术有限公司 Message notification method and electronic equipment

Also Published As

Publication number Publication date
CN110740210A (en) 2020-01-31
CN110740210B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US11722449B2 (en) Notification message preview method and electronic device
US11450322B2 (en) Speech control method and electronic device
US20220300154A1 (en) Split-Screen Display Processing Method and Apparatus, and Electronic Device
WO2020224485A1 (en) Screen capture method and electronic device
US12019942B2 (en) Multi-screen collaboration method and system, and electronic device
WO2021036571A1 (en) Desktop editing method and electronic device
WO2021000881A1 (en) Screen splitting method and electronic device
CN115629730A (en) Display method and related device
CN114327666B (en) Application starting method and device and electronic equipment
US20230418444A1 (en) Notification Message Management Method and Electronic Device
US11972106B2 (en) Split screen method and apparatus, and electronic device
WO2021057452A1 (en) Method and device for presenting atomic service
WO2020006711A1 (en) Message playing method and terminal
CN113170011A (en) Method for presenting video by electronic equipment in incoming call and electronic equipment
WO2022161119A1 (en) Display method and electronic device
WO2024001810A1 (en) Device interaction method, electronic device and computer-readable storage medium
EP4365722A1 (en) Method for displaying dock bar in launcher and electronic device
WO2021042881A1 (en) Message notification method and electronic device
WO2022222688A1 (en) Window control method and device
CN114816200A (en) Display method and electronic equipment
CN113391743B (en) Display method and electronic equipment
WO2023174322A1 (en) Layer processing method and electronic device
CN116088715B (en) Message reminding method and electronic equipment
WO2024188190A1 (en) Card display method and electronic device
WO2023045774A1 (en) Display method and electronic device

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: 20861024

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: 20861024

Country of ref document: EP

Kind code of ref document: A1