WO2023193661A1 - 信息显示方法、电子设备和存储介质 - Google Patents

信息显示方法、电子设备和存储介质 Download PDF

Info

Publication number
WO2023193661A1
WO2023193661A1 PCT/CN2023/085494 CN2023085494W WO2023193661A1 WO 2023193661 A1 WO2023193661 A1 WO 2023193661A1 CN 2023085494 W CN2023085494 W CN 2023085494W WO 2023193661 A1 WO2023193661 A1 WO 2023193661A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
user
background application
electronic device
application
Prior art date
Application number
PCT/CN2023/085494
Other languages
English (en)
French (fr)
Inventor
郝华奇
邰彦坤
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023193661A1 publication Critical patent/WO2023193661A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Definitions

  • the present application relates to the field of electronic technology, and in particular, to an information display method, electronic device and storage medium.
  • This application provides an information display method, electronic device and storage medium, which can enable users to view new messages in background applications more conveniently and improve the user's experience.
  • this technical solution provides an information display method applied to an electronic device.
  • the electronic device includes at least two screens.
  • the at least two screens include a first screen and a second screen.
  • the first screen Opposite the second screen, the method includes: displaying the interface of the current application on the first screen, receiving new messages from the background application, and not displaying on the first screen to represent the background application.
  • Receive the reminder information of the new message trigger a reminder event, the reminder event is used to remind the user to receive the new message; detect the user's first operation; in response to the first operation, display on the first screen New messages from the background application.
  • displaying the interface of the current application on the first screen includes: displaying the interface of the current application in full screen on the first screen.
  • detecting the user's first operation includes detecting the user's gesture operation on the second screen.
  • displaying the new message of the background application on the first screen includes: expanding the new message of the background application on the first screen in a first expansion direction, and the The first unfolding direction corresponds to the direction of the user's gesture operation on the second screen.
  • the first unfolding direction and the user's gesture on the second screen Corresponding to the direction of the operation, including: if the direction of the user's gesture operation on the second screen is sliding upward relative to the user's line of sight, then the new message of the background application will be displayed on the first expansion of the first screen. The direction is from the top to the center; if the direction of the user's gesture operation on the second screen is sliding downward relative to the user's line of sight, the new message of the background application will be displayed on the first screen of the first screen.
  • the expansion direction is from the bottom to the center; if the direction of the user's gesture operation on the second screen is sliding to the left relative to the user's line of sight, the new message of the background application will be displayed on the first screen on the third screen.
  • An expansion direction is from the left to the center; if the direction of the user's gesture operation on the second screen is sliding to the right relative to the user's line of sight, the new messages of the background application will be displayed on the first screen.
  • the first expansion direction is from the right to the center.
  • the detection of the user's first operation includes: detecting the user's operation of unfolding and folding the electronic device, or detecting the user's folding and folding of the electronic device. Expand the operation of the electronic device.
  • the detection of the user's first operation includes detecting the user's operation of turning over and back to the electronic device.
  • displaying the new message of the background application on the first screen includes: when the expanded interface of the new message of the background application contains a text input control, on the first screen The new message of the background application is displayed on the first screen in a first display form; when the expansion interface of the new message of the background application does not include a text input control, the new message of the background application is displayed on the first screen in a second display form. New message; wherein the user interaction area of the first display form is larger than the user interaction area of the second display form.
  • displaying the new messages of the background application on the first screen includes: displaying a message list on the first screen.
  • the new message of the background application is displayed in the form, or the new message of the background application that was recently triggered is displayed on the first screen.
  • the electronic device is preset with an application whitelist, and new messages of applications in the application whitelist are allowed to be displayed on the first screen.
  • the new message of the background application includes: when it is determined that the background application belongs to the application in the application whitelist, displaying the new message of the background application on the first screen.
  • the triggering reminder event includes: triggering a vibration reminder or triggering a sound reminder.
  • the electronic device is preset with a user whitelist.
  • the triggering reminder event includes: triggering Icon reminder or animation reminder on the first screen.
  • the method further includes: displaying new messages of the background application on the second screen.
  • displaying a new message of the background application on the second screen includes: detecting that the user flips the electronic device at a turning angle exceeding a preset angle, and detecting that the user flips the electronic device to When the user looks at the second screen, the new message of the background application is displayed on the second screen.
  • displaying the new messages of the background application on the second screen includes: displaying a message list on the second screen.
  • the new message of the background application is displayed in the form, or the new message of the background application that was recently triggered is displayed on the second screen.
  • this technical solution provides an information display method, which is applied to electronic equipment.
  • the electronic equipment includes at least two screens, the at least two screens include a first screen and a second screen, the first screen is opposite to the second screen, and the method includes: displaying the current time on the first screen.
  • a second operation of the user on the second screen is detected; in response to the second operation, the interface of the background application is switched to the first screen for display.
  • the detecting the user's second operation on the second screen includes detecting the user's gesture operation on the second screen.
  • switching the interface of the background application to the first screen display includes: expanding the interface of the background application on the first screen in a second expansion direction, and The second unfolding direction corresponds to the direction of the user's gesture operation on the second screen.
  • the second unfolding direction corresponds to the direction of the user's gesture operation on the second screen, including: if the direction of the user's gesture operation on the second screen If the user's line of sight slides upward, the interface of the background application expands from the top to the center in the second expansion direction of the first screen; if the direction of the user's gesture operation on the second screen is opposite to When the user's line of sight slides downward, the interface of the background application expands from the bottom to the center in the second expansion direction of the first screen; if the direction of the user's gesture operation on the second screen is opposite to If the user's sight is sliding to the left, the new messages of the background application will be expanded from the left to the center on the first screen; if the user's gesture operation direction on the second screen If the user's line of sight is slid to the right, the new messages of the background application are expanded from the right to the center in the second expansion direction of the first screen.
  • switching the interface of the background application to the first screen for display includes: switching the interface of the background application to the first screen for display in a floating window form.
  • switching the interface of the background application to the first screen display includes: switching the interface of the recently triggered background application to the first screen display.
  • the present technical solution provides an electronic device, including: one or more processors; a memory; at least one application program; and one or more computer programs, wherein the one or more computer programs are stored in In the memory, the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the method described in the first aspect or the second aspect.
  • the present technical solution also provides a computer storage medium, including computer instructions.
  • the computer instructions When the computer instructions are run on an electronic device, the electronic device causes the electronic device to execute the method described in the first aspect or the second aspect. .
  • the present technical solution also provides a computer program product, which when the computer program product is run on a computer, causes the computer to execute the method described in the first aspect or the second aspect.
  • the information display method and electronic device provided by this technical solution, when the user views the interface of the current application on the first screen, receives a new message from the background application, and does not display any new message prompt information on the first screen, only triggers a reminder event. After detecting the user's first operation, the new message of the background application is displayed on the first screen, which avoids interrupting the user's current operation, and can conveniently display new messages according to the user's needs, improving the user experience.
  • Figure 1a is a schematic structural diagram of an inner folding screen provided by an embodiment of the present application.
  • Figure 1b is a schematic structural diagram of an outer folding screen provided by an embodiment of the present application.
  • Figure 1c is a schematic structural diagram of an upper and lower inner folding screen provided by an embodiment of the present application.
  • Figure 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of an information display method provided by an embodiment of the present application.
  • Figure 4a is a schematic diagram of the first screen of an inner folding screen provided by an embodiment of the present application.
  • Figure 4b is a schematic diagram of a second screen of an inner folding screen provided by an embodiment of the present application.
  • Figure 4c is a schematic diagram of the first screen that is folded inward after message transfer according to an embodiment of the present application.
  • Figure 5a is a schematic diagram of the second screen of an outward-folding screen provided by an embodiment of the present application.
  • Figure 5b is a schematic diagram of the first screen of an outward-folding screen provided by an embodiment of the present application.
  • Figure 6a is a schematic diagram of a second screen with upper and lower folding screens provided by an embodiment of the present application.
  • Figure 6b is a schematic diagram of a first screen with an upper and lower folding screen provided by an embodiment of the present application
  • Figures 7a to 7d are schematic diagrams of gesture operations for folding the screen in according to embodiments of the present application.
  • Figure 8 is a schematic diagram of a user operation of an inner folding screen provided by an embodiment of the present application.
  • Figure 9 is a schematic diagram of a user flipping operation of an inner folding screen provided by an embodiment of the present application.
  • Figure 10 is a schematic diagram of a second screen displaying new messages provided by an embodiment of the present application.
  • Figure 11 is a schematic flow chart of an information display method provided by an embodiment of the present application.
  • Figure 12a is a schematic diagram of a second screen of an inner folding screen provided by an embodiment of the present application.
  • Figure 12b is a schematic diagram of the first screen of an inner folding screen provided by an embodiment of the present application.
  • the embodiment of the present application provides an information display method, which can be applied to an electronic device with at least two screens.
  • the at least two screens can be two independent screens, or they can be two folded or unfolded screens.
  • Screen For example, a folding screen can be folded or unfolded along a folding edge or a folding axis to form two screens.
  • folding screen on the electronic device 100 there may be multiple folding modes for the folding screen on the electronic device 100 .
  • one type is a folding screen that folds inward (referred to as an inward-folding screen)
  • the other type is a folding screen that folds outwards (referred to as an outward-folding screen).
  • the folding may include up and down folding or left and right folding. These foldable screens can form two screens.
  • the embodiments of the present application do not limit the folding method of the folding screen.
  • the gray parts in Figure 1a to Figure 1c are usable screens.
  • Figure 1a is a schematic structural diagram of an inner folding screen provided by an embodiment of the present application. As shown in Figure 1a, when the inner folding screen is unfolded, two screens, screen a and screen bc, are formed. The display direction of screen a and the display direction of screen bc are opposite to each other. When the inner folding screen is folded, there is only a screen one screen.
  • Figure 1b is a schematic structural diagram of an outer folding screen provided by an embodiment of the present application.
  • a screen a'b' is formed.
  • two screens a' and b' are formed.
  • the display of screen a' The direction is opposite to the display direction of screen b'.
  • the outer folding screen can also include a c’ screen.
  • the display direction of the c’ screen and the display direction of the a’ screen are opposite to each other.
  • Figure 1c is a schematic structural diagram of an upper and lower inner folding screen provided by an embodiment of the present application.
  • two screens a” screen and b”c” screen
  • the display direction of the a” screen and the b”c” screen are opposite.
  • the at least two screens of the electronic device in the embodiment of the present application may be at least two screens formed after the folding screen is folded or unfolded, may be multiple independent screens, or may be one of an integrated structure.
  • the full screen is folded to form at least two parts.
  • the folding screen may be a flexible folding screen, and the flexible folding screen includes a folding edge made of flexible material.
  • FIG. 2 takes an electronic device including at least two screens as an example to illustrate the electronic device in the embodiment of the present application. Furthermore, subsequent embodiments of the present application will also take an electronic device including at least two screens facing each other as an example to illustrate the method provided by the embodiments of the present application.
  • the electronic device 100 in the embodiment of the present application can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), or a netbook.
  • UMPC ultra-mobile personal computer
  • UMPC ultra-mobile personal computer
  • the embodiments of the present application are suitable for electronic devices.
  • the specific type of equipment is not particularly limited.
  • Figure 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • 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, and a battery 142 , sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, etc.
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc. Further, when the electronic device is a mobile phone, the electronic device may also include: antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, and earphones. Interface 170D, and subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • 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 in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently.
  • the components illustrated may 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 (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 processor (neural-network processing unit, NPU), etc.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • 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
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can be the nerve center and command center of the electronic device.
  • the controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may store data that has just been used by processor 110 or is used repeatedly. instructions or data used. If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • Interfaces may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiver and transmitter (universal asynchronous 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 receiver and transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationships between the modules illustrated in the embodiment of the present invention are only schematic illustrations and do not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • 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 charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142, it can also provide 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 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, the wireless communication module 160, and the like.
  • the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
  • 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 through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may 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 reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
  • the mobile communication module 150 can provide solutions for wireless communication including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, perform filtering, amplification and other processing on the received electromagnetic waves, and transmit them 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 waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be disposed 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.
  • a 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-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the post-demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194.
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110 and may 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) network), Bluetooth (blue tooth, BT), and global navigation. Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • 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 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to 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 (time-division code division multiple access, TD-SCDMA), long term evolution (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 display functions through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 194 is used to display images, videos, etc.
  • Display 194 includes a display panel.
  • the display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • AMOLED organic light-emitting diode
  • FLED flexible light-emitting diode
  • Mini LED Micro Led, Micro-o Led, quantum dot light emitting diode (QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • GUIs graphical user interfaces
  • a control is a GUI element, a software component contained within an application that controls all data and information processed by the application. For the interactive operation of these data, users can interact with the controls through direct manipulation to read or edit relevant information of the application.
  • controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
  • the display screen 194 may display virtual keys.
  • the electronic device 100 can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera sensor through the lens, the optical signal is converted into an electrical signal, and the camera sensor passes the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin 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.
  • Camera 193 is used to capture still images or video.
  • the object passes through the lens to produce an optical image that is projected onto the photosensitive element.
  • the photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other format image signals.
  • the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • 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 frequency point energy.
  • Video codecs are used to compress or decompress digital video.
  • 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, etc.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, etc.
  • NPU is a neural network (NN) computing processor.
  • NN neural network
  • Intelligent cognitive applications of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, etc.
  • the external memory interface 120 can 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 implement the data storage function. Such as saving music, videos, etc. files in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a program storage area and a data storage area.
  • the stored program area can store an operating system, at least one application program required for a function (such as a sound playback function, an image playback function, etc.).
  • the storage data area may store data created during use of the electronic device 100 (such as audio data, phone book, etc.).
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), etc.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • 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 hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or a voice message, the voice can be heard by bringing the receiver 170B close to the human ear.
  • Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak close to the microphone 170C with the human mouth and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions, etc.
  • the headphone interface 170D is used to connect wired headphones.
  • the headphone interface 170D may be a USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA Cellular Telecommunications Industry Association of the USA
  • the pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A there are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.
  • a capacitive pressure sensor may include at least two parallel plates of conductive material.
  • the electronic device 100 determines the intensity of the pressure based on the change in capacitance.
  • the electronic device 100 detects the strength of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch location but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity smaller than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyro sensor 180B detects the angle at which the electronic device 100 shakes, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shake of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • Air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • Magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may utilize the magnetic sensor 180D to detect opening and closing of the flip holster.
  • the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. Then, based on the detected opening and closing status of the leather case or the opening and closing status of the flip cover, features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices and be used in horizontal and vertical screen switching, pedometer and other applications.
  • Distance sensor 180F for measuring distance.
  • Electronic device 100 can measure distance via infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may utilize the distance sensor 180F to measure distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light outwardly through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect when the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in holster mode, and pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touching.
  • Fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access to application locks, fingerprint photography, fingerprint answering of incoming calls, etc.
  • Temperature sensor 180J is used to detect temperature.
  • the electronic device 100 utilizes the temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the low temperature from causing the electronic device 100 to shut down abnormally. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also known as "touch device”.
  • the touch sensor 180K can be disposed on the display screen 194.
  • the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near the touch sensor 180K.
  • the touch sensor can pass the detected touch operation to the application processor to determine the touch event type.
  • Visual output related to the touch operation may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a location different from that of the display screen 194 .
  • Bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human body's vocal part.
  • the bone conduction sensor 180M can also contact the human body's pulse and receive blood pressure beating signals.
  • the bone conduction sensor 180M can also be provided in an earphone and combined into a bone conduction earphone.
  • the audio module 170 may vibrate bone based on the sound part acquired by the bone conduction sensor 180M.
  • the vibration signal of the block is analyzed to extract the voice signal to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to implement the heart rate detection function.
  • the buttons 190 include a power button, a volume button, etc.
  • Key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for vibration prompts for incoming calls and can also be used for touch vibration feedback.
  • touch operations for different applications can correspond to different vibration feedback effects.
  • the motor 191 can also respond to different vibration feedback effects for touch operations in different areas of the display screen 194 .
  • Different application scenarios such as time reminders, receiving information, alarm clocks, games, etc.
  • the touch vibration feedback effect can also be customized.
  • the indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be connected to or separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
  • the electronic device 100 uses an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the electronic device involved in the embodiments of the present application may be installed with an operating system, and application programs may be installed and run on the operating system, which is not limited by the embodiments of the present application.
  • top, bottom, left and right ends, as well as upper and lower mentioned in the embodiments of this application are all relative and are illustrative descriptions of specific implementations and should not limit the embodiments of this application.
  • a user uses a smart device to perform two or more tasks at the same time, such as browsing videos while replying to messages, or browsing news while waiting for a bus
  • one of the main tasks requires long-term viewing
  • the auxiliary task does not require long-term viewing.
  • the user uses a tablet computer and receives a new message from the auxiliary task when viewing the main task, the current screen will display a prompt message for the new message, interrupting the operation of the current main task and affecting the user experience.
  • the embodiment of the present application proposes a solution.
  • the user views the current application, he or she receives a new message from the background application.
  • the reminder of the new message is not displayed on the currently used screen.
  • the user wants to view the new message, the user receives the new message according to the user's request.
  • the action displays new messages received on the current screen.
  • FIG 3 is a schematic flow chart of an information display method provided by an embodiment of the present application. As shown in Figure 3, the method is applied to an electronic device.
  • the electronic device includes at least two screens.
  • the at least two screens Each screen includes a first screen and a second screen, the first screen and the second screen are opposite to each other, and the method includes:
  • Step 101 When the first screen displays the interface of the current application and a new message from the background application is received, no reminder information indicating that the background application has received the new message is not displayed on the first screen.
  • the first screen here refers to the screen that the user is currently looking at, or the screen that the user is operating/
  • the used screen, relative to the second screen refers to the screen that the user is not currently operating or using.
  • screen bc is the first screen
  • screen a behind it is the second screen
  • screen a' is the second screen.
  • One screen, the b' screen behind it is the second screen; when the upper and lower folding screens are unfolded, and the user uses the b"c" screen, then b"c" is the first screen, and the a" screen behind it is the second screen.
  • the background application here refers to the application running in the background, referred to as the background application.
  • the background application usually refers to the application corresponding to the minimized window and the application corresponding to the inactive window.
  • the background applications in this step refer to applications running in the electronic device but not displayed on the first screen.
  • the first screen When the user views the interface of the current application on the first screen, it can be considered that the first screen is in an immersive application state. At this time, new messages from the background application are received. The first screen is not displayed to prompt the receipt of new messages from the background application. reminder information. Among them, it can be determined that the first screen enters the immersive application state through user settings or it can be recognized that the first screen enters the immersive application state through automatic recognition of the electronic device.
  • the entry of the first screen into the immersive application state can be determined by the user setting the do not disturb mode or the game mode; or the electronic device recognizes that an application is presented in the full-screen exclusive form on the first screen, for example, full-screen video playback , the demo film is played in full screen, or the user plays games in full screen, etc.; or, the user can set it to enter an immersive application state when an application is in a certain state.
  • displaying the interface of the current application on the first screen may include: displaying the interface of the current application in full screen on the first screen.
  • the current application interface is displayed in full screen on the first screen, it can be considered that the first screen is in an immersive application state.
  • Reminder information including reminder information for new messages, is not displayed in the notification bar on the first screen.
  • the electronic device may display a reminder message on the second screen when the first screen does not display a reminder message indicating that the background application has received a new message. New messages from the background application.
  • displaying the new messages of the background application on the second screen can facilitate the user to view the new messages of the background application directly on the second screen without requiring the user to transfer the new messages to the first screen for display. It is more convenient for some users who don't like to transfer messages.
  • the embodiment of the present application does not limit the form of the new message of the background application displayed on the second screen.
  • Step 102 Trigger a reminder event, which is used to remind the user to receive new messages.
  • a reminder event can still be triggered to notify the user.
  • the triggering reminder event can be triggering a sound reminder, triggering a vibration reminder, etc., but the embodiments of the present application are not limited to these methods, as long as they do not affect the user's operation of the first screen.
  • the electronic device is preset with a user whitelist.
  • the triggering reminder event includes: triggering the Icon reminder or animation reminder on the first screen.
  • the reminder method can be: animated picture reminder, for example: setting a colored dot flashing reminder at the top of the screen of the first screen, such as: red dot, green dot, etc., or icon reminder, for example: setting at the top of the screen of the first screen Set small icon reminders, etc.
  • Step 103 Detect the user's first operation.
  • the user's first operation here can be in many ways, for example, the user shakes the electronic device, the user flips the electronic device, the user folds the electronic device, the user performs gesture operations on the screen, etc., among which, the user performs gesture operations on the screen, etc.
  • Gesture operations may include the user's click operation, double-click operation, sliding operation, circle drawing operation, etc. on the screen.
  • the embodiment of the present application does not limit the method of user operation.
  • detecting the user's first operation may include: detecting the user's gesture operation on the second screen.
  • a new message from the background application is received, and the user feels a vibration reminder.
  • the user does not need to turn over the phone to view the second screen (back screen), but only performs an operation on the back screen with his hand, such as a double-click operation or a sliding operation, and new messages from background applications can be transferred to the first screen for display. Since when the user holds the phone normally, several fingers are placed on the back of the phone, so it is very convenient for the user to perform gesture operations on the back screen.
  • Step 104 In response to the first operation, display the new message of the background application on the first screen.
  • the electronic device After detecting the user's first operation, the electronic device recognizes that the user wants to view new messages of the background application, and transfers the new messages of the background application to the first screen for display.
  • displaying the new message of the background application on the first screen may include: if the expansion interface of the new message of the background application includes a text input control, displaying the new message of the background application on the first screen with the first The new message of the background application is displayed in the display form; if the expanded interface of the new message of the background application does not include a text input control, the new message of the background application is displayed in the second display form on the first screen; wherein , the user interaction area of the first display form is larger than the user interaction area of the second display form.
  • the expansion interface of the new message when the expansion interface of the new message includes a text input control, it means that the new message is a message that needs to be replied. Therefore, in order to facilitate the user to reply and operate this message, when the new message is displayed on the first screen, it can be displayed as the first Form display, the first display form can be a pop-up floating window form, then when the expansion interface of the new message does not contain a text input control, the new message does not require a reply, then it can be displayed in the second display form, the second display form can be In the form of a pop-up floating box, the user interaction area of the floating window is larger than the user interaction area of the floating box.
  • the new message of the background application can be displayed in the form of a floating box when the second screen is displayed.
  • displaying the new messages of the background application on the first screen may include: displaying the new messages of the background application on the first screen in the form of a message list. New messages of the background application, or new messages of the recently triggered background application are displayed on the first screen.
  • the background application when the background application receives multiple messages, after detecting the user's first operation, it can be presented in the form of a message list on the first screen. For this message list, the user clicks the corresponding A single message will appear in the form of a pop-up floating window or pop-up box.
  • only the most recently triggered new messages that is, the latest received new messages, can also be displayed on the first screen. For example, if there are multiple applications running in the background, such as navigation, chat, phone calls, and text messages, they will be sorted according to the last time the applications were triggered, with recently triggered applications first.
  • the user's first operation is detected, When the first screen is displayed, new messages from the most recently triggered application are displayed first, and other background applications are sorted in sequence. Users can view subsequent new messages by performing the first operation multiple times.
  • the electronic device is preset with an application whitelist, new messages from applications in the application whitelist are allowed to be displayed on the first screen, and the background application is displayed on the first screen.
  • the new message may include: when it is determined that the background application belongs to the application in the application whitelist, displaying the new message of the background application on the first screen.
  • the user can manually set or the system automatically sets which applications' new messages can be transferred to the first screen.
  • the user transfers new messages to the first screen, only the new messages of the applications in the message whitelist can be transferred.
  • Messages which facilitates users to view the messages of the applications they want to view and remove spam messages.
  • users can also manually set or the system automatically sets which applications' new messages can be displayed on the second screen, which makes it convenient for users to view new messages of corresponding applications directly on the second screen.
  • the user has used a folding-screen mobile phone to call a taxi through a taxi app, but the taxi has not arrived yet.
  • the user watches the video while waiting for the taxi.
  • the user simultaneously
  • the video application and taxi application are turned on, the interface of the video application is displayed on the first screen, and the taxi application is running in the background.
  • the taxi-hailing application sends a new message to the user to remind the user to get on the bus.
  • the new message to remind the user to get on the bus and the reminder information of the new message will not be displayed on the first screen, but the electronic device A vibration reminder is sent, and the user knows that a new message has been received, so the user double-clicks the screen with his finger on the second screen.
  • the new message of the taxi app is displayed on the first screen, and the user sees the message of getting in the car. Reminder message. It is understandable that in this scenario, if the user is not watching videos but playing games, the situation will be handled similarly.
  • Figure 4a is a schematic diagram of the first screen of an inner folding screen provided by an embodiment of the present application. As shown in Figure 4a, the user views the video in full screen on the first screen and waits for the taxi he took to arrive.
  • Figure 4b is a schematic diagram of a second screen of an inner folding screen provided by an embodiment of the present application.
  • the second screen receives a new message from the taxi app.
  • the new message from the taxi app appears in the form of a pop-up prompt box on the second screen. Displayed, the user feels the vibration reminder of the new message, and the user slides the finger on the second screen (a screen) to confirm that the new message will be transferred to the first screen (bc screen) for display.
  • Figure 4c is a schematic diagram of a first screen that is folded inward after message transfer according to an embodiment of the present application.
  • the new message is transferred to the first screen (screen bc) that the user is using.
  • the floating window can be closed after the user has finished processing the new message.
  • a user uses a fold-out screen phone to watch a video and chat with friends at the same time.
  • the first screen displays the video interface, and the chat application is running in the background.
  • the first screen New messages and new message reminders are not displayed, but the electronic device emits a sound reminder.
  • the user knows that a new message has been received.
  • the video is not so exciting, the user uses his finger to slide to the right on the second screen ( (relative to the user's line of sight), new messages in the chat application are unfolded from right to left on the first screen. After the user views and replies to the new message, he closes the new message window and continues watching the video.
  • Figure 5a is a schematic diagram of the second screen of an outward-folding screen provided by an embodiment of the present application.
  • the second screen receives a new message from the chat application.
  • the new message from the chat application on the second screen is It is displayed in the form of a pop-up prompt box.
  • the user feels the vibration reminder of the new message.
  • the user can click with his finger on the second screen (b' screen) to confirm that the new message will be transferred to the first screen (a' screen). show.
  • Figure 5b is a schematic diagram of the first screen of an outward-folding screen provided by an embodiment of the present application.
  • the new message is transferred to the first screen (screen a') that the user is using, and the new message is transferred to the first screen Finally, it is displayed in the form of a pop-up floating window directly covering the currently used video application.
  • the floating window can be closed.
  • Figure 6a is a schematic diagram of a second screen with upper and lower folding screens provided by an embodiment of the present application.
  • the second screen (a" screen) receives a new message from the chat application, and the user feels the vibration reminder of the new message.
  • the user can double-click with his finger on the second screen (a" screen) to confirm that the new message will be transferred to the first screen (b"c" screen) for display.
  • Figure 6b is a schematic diagram of a first screen with an upper and lower foldable screen provided by an embodiment of the present application.
  • the new message is transferred to the first screen (screen b"c") that the user is using for display.
  • the new message is transferred
  • a pop-up floating window is directly displayed on the currently used video application.
  • the floating window can be closed.
  • the information display method provided by the embodiment of the present application is not limited to the above-mentioned scenarios.
  • it can also be applied to the scenario when the user is watching a video while waiting for the bus at the station.
  • the first screen displays the video interface.
  • the electronic device receives a reminder message to swipe the card to enter the station and sends out a vibration reminder.
  • the information display method provided by the embodiments of the application can be used as long as the user uses multiple applications on the electronic device at the same time.
  • the embodiments of the application do not limit the application scenarios.
  • the new messages of the background application can be expanded on the first screen in a first expansion direction, wherein the first expansion direction It may correspond to the direction of the user's gesture operation on the second screen. Furthermore, the first unfolding direction may correspond to the operation direction of the gesture operation. The first unfolding direction may be the same as or opposite to the direction of the gesture operation.
  • the user when performing gesture interaction on the second screen, the user can slide up, down, left, or right.
  • the first unfolding direction can be opposite to the direction of the gesture operation, creating the effect of new messages sliding out of the rear screen and then sliding into the front screen along the direction of the gesture operation.
  • the following are discounted in various ways The overlapping screen will be introduced as an example.
  • Example 1 In the case of electronic devices including foldable screens, when the electronic device is unfolded and used, the BC screen and the A screen are opposite to each other. The user uses the BC screen and the background application receives a new message, which is displayed on the A screen. When the new message arrives, the new message is presented in the form of a pop-up prompt box on the A screen. When the user interacts with the finger on the A screen, the new message is displayed on the BC screen. The new message is presented in the form of a pop-up floating window.
  • the first expansion direction is opposite to the direction of the user's gesture operation, from the user's line of sight, if the gesture of the finger on the A screen is to slide upward, the floating window of the new message will expand from the top downward on the expanded BC screen. . If the gesture of the finger on screen A is to slide down, the floating window of the new message will expand from the bottom to upward on the expanded screen BC. If the finger gesture on the A screen is to slide to the left, the new message floating window will expand from left to right on the expanded BC screen. When the finger gesture on the A screen is to slide to the right, the floating window of the new message will expand from the right to the left on the expanded BC screen.
  • Figures 7a-7d are schematic diagrams of a gesture operation for folding the screen in according to an embodiment of the present application.
  • Figure 7a when the gesture of the finger on screen A is to slide upward, the new message is suspended The window expands from the top down on the expanded bc screen.
  • Figure 7b when the finger gesture on the A screen is to slide down, the new message floating window expands from the bottom up on the expanded BC screen.
  • Example 2 For the case where the electronic device includes an outward-folding screen, when the electronic device is folded, the a' screen and the b' screen are opposite to each other.
  • the background application receives a new message.
  • the ' screen displays the new message received.
  • the new message is presented in the form of a pop-up prompt box.
  • the new message is displayed on the b' screen.
  • the new message is presented in the form of a pop-up floating window.
  • new messages are displayed in the form of a floating window on screen b'.
  • the first expansion direction is the same as the direction of the user's gesture operation, and if the gesture of the finger on the a' screen is to slide upward, the floating window of the new message will expand from the bottom upward on the b' screen. If the finger gesture on screen a’ is to slide down, the floating window of new messages will expand downward from the top on screen b’. If the gesture of the finger on the a’ screen is to slide to the left, since the a’ screen is on the back, the gesture is actually sliding to the right from the user’s line of sight, so the new message floating window expands from left to right on the b’ screen.
  • the gesture of the finger on the a’ screen is to slide to the right, since the a’ screen is on the back, the gesture is actually sliding to the left from the user’s line of sight, so the new message floating window expands from the right to the left on the b’ screen.
  • the corresponding direction of the new message expansion direction and the direction of the user's gesture operation are not limited to the same or opposite ways, and other ways are also possible. Therefore, the embodiment of the present application does not compare the first expansion direction with the direction of the user's gesture operation.
  • the corresponding manner of the gesture operation direction on the second screen is not limited.
  • the user's first operation detected in step 103 may also be: detecting the user's operation of unfolding and folding the electronic device, or detecting the user's folding operation. The operation of the electronic device is then carried out.
  • Figure 8 is a schematic diagram of user operation of an inner folding screen provided by an embodiment of the present application. As shown in Figure 8, when there is The electronic device with the inner folding screen is in the unfolded state. When the user operates the current application on the BC screen and receives new messages from the background application, the user can fold the electronic device to a certain angle and then unfold it, such as about 30 degrees. At this time, the new message from the background application The message is displayed on the bc screen.
  • detecting the user's first operation in step 103 may also be: detecting the user's operation of turning over and back to the electronic device.
  • Figure 9 is a schematic diagram of a user flip operation of an inner folding screen provided by an embodiment of the present application.
  • an electronic device with an inner folding screen is in an unfolded state (bc screen)
  • bc screen unfolded state
  • the user can turn the electronic device as a whole to a certain angle and then turn it back.
  • new messages from the background application are displayed on the BC screen.
  • displaying the new message of the background application on the second screen may include: detecting that the user flips the electronic device at a turning angle exceeding a preset angle, and detecting that the user's flip angle for the second screen When the user looks at the screen, new messages from the background application are displayed on the second screen.
  • the electronic device needs to trigger the display of the second screen.
  • the trigger conditions that can be used are: It is detected that the user flips the electronic device, and the flip angle exceeds the preset angle, and the user's line of sight is detected through the camera set on the second screen. This method can accurately detect that the user's line of sight has switched to the second screen and trigger the second screen to start displaying.
  • the electronic device when an electronic device with an inward-folding screen is in an unfolded state and the user views the BC screen, the electronic device will use a gyroscope to detect the flip of the electronic device in space. When the flip exceeds a specific value (for example: 90 degrees ), it is considered that the user has turned over the electronic device. At the same time, the camera of the mobile phone located on the A screen will detect the user's line of sight. If the user's line of sight can be detected, it will be considered that the user has the intention to use the A screen and the display of the A screen will be turned on.
  • a specific value for example: 90 degrees
  • Figure 10 is a schematic diagram of a second screen displaying new messages provided by an embodiment of the present application.
  • the electronic device detects that the flip angle of the electronic device exceeds the preset angle, and the first When the camera on one screen captures the user's line of sight, the second screen displays new messages from background applications.
  • displaying the new messages of the background application on the second screen may include: displaying the background information in the form of a message list on the second screen. New messages of the application, or new messages of the recently triggered background application are displayed on the second screen.
  • the new messages of the background application displayed on the second screen can be presented in the form of a message list.
  • the user clicks on the corresponding single message and the single message is It will appear in the form of a pop-up floating window or pop-up box.
  • New messages from the application, and other background applications are sorted in sequence. This method solves the problem that the second screen cannot be properly triggered when the first screen is in use. Through the natural way of user flipping, the interface of the latest triggered application can be displayed on the second screen.
  • Figure 11 is a schematic flow chart of an information display method provided by an embodiment of the present application. As shown in Figure 11, the method shown is applied to an electronic device.
  • the electronic device includes at least two screens, and the at least two screens include a third screen.
  • a first screen and a second screen, the first screen and the second screen are opposite to each other, and the method may include:
  • Step 201 When the first screen displays the interface of the current application, detect the user's second operation on the second screen.
  • Step 202 In response to the second operation, switch the interface of the background application to the first screen display.
  • the user's second operation on the second screen can be performed in many ways.
  • the user can click, double-click, or perform gesture operations on the screen, etc.
  • the embodiment of the present application is effective for the user's second operation.
  • the method is not limited.
  • the user is viewing the interface of the current application on the first screen and wants to view the interfaces of other background applications, he or she can perform operations on the second screen to switch the interface of the background application to the first screen.
  • the detection of the user's second operation on the second screen may be: detection of the user's gesture operation on the second screen.
  • the electronic device detects the user's gesture operation on the second screen, it can be determined that the user wants to display the background application on the first screen, thereby displaying the interface of the background application on the first screen.
  • the second screen may also display the interface of the background application.
  • displaying the interface of the background application on the second screen can facilitate the user to view the interface of the background application directly on the second screen without requiring the user to switch the interface to the first screen. For some people who do not like It is more convenient for users to switch applications.
  • Figure 12a is a schematic diagram of a second screen with an inner folding screen provided by an embodiment of the present application.
  • the second screen displays background chat Application interface
  • the user can confirm that the background application interface will be transferred to the first screen for display by performing gesture operations on the second screen of the electronic device, such as: User You can use your finger to perform a sliding operation on the second screen, and the interface of the background application will be transferred to the first screen where your eyes are focused.
  • Figure 12b is a schematic diagram of a first screen with an inner folding screen provided by an embodiment of the present application. As shown in Figure 12b, when the user performs gesture operations on the second screen, the interface of the background chat application is transferred to the first screen. Display in floating window form.
  • switching the interface of the background application to the first screen display may be to expand the interface of the background application in the second expansion direction on the first screen, and the second expansion direction The direction corresponds to the direction of the user's gesture operation on the second screen.
  • the user when the user performs gesture interaction on the second screen, the user can slide up, down, left, or right.
  • the second expansion direction can be combined with the operation direction of the gesture operation. Same or opposite.
  • the following uses an inward-folding screen as an example to introduce how background applications are expanded on the second screen.
  • the BC screen and the A screen are opposite to each other.
  • the user uses the BC screen, he wants to check the status of the background application.
  • the user gestures on the A screen it is displayed on the BC screen.
  • the interface of the background application is presented in the form of a pop-up floating window, that is, the interface of the background application is displayed in the form of a floating window on the BC screen.
  • the floating window of the background application expands from the top to the center on the expanded BC screen.
  • the floating window of the background application expands from the bottom to the center on the expanded BC screen.
  • the gesture of the finger on the A screen is to slide to the left, from the user's sight, the finger slides to the right when on the A screen, and the floating window of the background application expands from the right to the center on the expanded BC screen.
  • the gesture of the finger on the A screen is to slide to the right, from the user's sight, the finger slides to the left when on the A screen, and the floating window of the background application expands from the left to the center on the expanded BC screen.
  • switching the interface of the background application to the first screen display includes: switching the interface of the background application to the first screen. Display in floating window form.
  • the method may further include: controlling the second screen to enter a screen-off state.
  • the method may further include: detecting that the user turns over the electronic device.
  • the flip angle exceeds the preset angle and the user's line of sight to the second screen is detected, the interface of the background application is displayed on the second screen.
  • displaying the background application on the second screen may include: displaying the most recently triggered background application on the second screen.
  • Embodiments of the present application also provide a computer storage medium that includes computer instructions.
  • the computer instructions When the computer instructions are run on an electronic device, the electronic device causes the electronic device to perform some or all of the steps in the above embodiments.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
  • the above computer-readable storage medium may be any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including - but not limited to - electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, Propagate or transmit a program for use by or in connection with an instruction execution system, apparatus or device.
  • Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • RF radio frequency
  • Computer program code for performing the operations described herein may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g. Use an Internet service provider to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • An embodiment of the present application also provides a computer program product.
  • the computer program product When the computer program product is run on a computer, it causes the computer to execute some or all of the steps in the above method embodiment.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, features defined as “first” and “second” may explicitly or implicitly include at least one of these features. In the description of this specification, “plurality” means at least two, such as two, three, etc., unless otherwise clearly and specifically limited.
  • the word “if” as used herein may be interpreted as “when” or “when” or “in response to determination” or “in response to detection.”
  • the phrase “if determined” or “if detecting (stated condition or event)” may be interpreted as “when determined” or “in response to determination” or “when detecting (stated condition or event)” or “in response to detecting (stated condition or event)”.
  • any function 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 solution of the present invention essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc., which can store program code. medium.

Landscapes

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

Abstract

一种信息显示方法、电子设备和存储介质,所述信息显示方法包括:在所述第一屏显示当前应用的界面时,收到后台应用的新消息,在所述第一屏不显示用于表示所述后台应用收到所述新消息的提醒信息(101);触发提醒事件,所述提醒事件用于提醒用户收到新消息(102);检测到用户的第一操作(103);响应于所述第一操作,在所述第一屏显示所述后台应用的新消息(104)。所述方法避免了中断用户的当前操作,且能够根据用户需求方便的显示后台应用的新消息,提升了用户体验感。

Description

信息显示方法、电子设备和存储介质
本申请要求于2022年04月08日提交中国专利局、申请号为202210367005.2、申请名称为“信息显示方法、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子技术领域,尤其涉及一种信息显示方法、电子设备和存储介质。
背景技术
在生活中用户往往会使用智能设备同时进行两项或者多项任务,例如一边浏览视频一边回消息,一边浏览新闻一边等车。这些任务有一个共同的特点就是主任务需要长时间查看,而辅助任务不需要长时间查看,只需要间断性的查看。在使用直板机的情况下,当收到辅助任务的新消息时,当前屏幕会显示新消息的提示信息,中断当前应用的操作,影响用户体验。
为了提升用户的体验感,在具有多屏的电子设备上,提供一种方法使用户更方便的查看后台运行程序的新消息,是目前亟需解决的问题。
发明内容
本申请提供了一种信息显示方法、电子设备和存储介质,能够使用户更方便的查看后台应用的新消息,提升用户的体验感。
第一方面,本技术方案提供了一种信息显示方法,应用于电子设备,所述电子设备包括至少两个屏,所述至少两个屏包括第一屏和第二屏,所述第一屏和所述第二屏相背对,所述方法包括:在所述第一屏显示当前应用的界面,收到后台应用的新消息,在所述第一屏不显示用于表示所述后台应用收到所述新消息的提醒信息;触发提醒事件,所述提醒事件用于提醒用户收到新消息;检测到用户的第一操作;响应于所述第一操作,在所述第一屏显示所述后台应用的新消息。
在一种可能的实现方式中,所述在所述第一屏显示当前应用的界面,包括:在所述第一屏全屏显示当前应用的界面。
在一种可能的实现方式中,所述检测到用户的第一操作,包括:检测到用户在所述第二屏上的手势操作。
在一种可能的实现方式中,所述在所述第一屏显示所述后台应用的新消息,包括:在所述第一屏按第一展开方向展开所述后台应用的新消息,所述第一展开方向与用户在所述第二屏上的所述手势操作的方向相对应。
在一种可能的实现方式中,所述第一展开方向与所述用户在所述第二屏上的手势 操作的方向相对应,包括:若用户在所述第二屏上的手势操作的方向相对于用户视线为向上滑动,则所述后台应用的新消息在所述第一屏的所述第一展开方向为从顶部向中心展开;若用户在所述第二屏上的手势操作的方向相对于用户视线为向下滑动,则所述后台应用的新消息在所述第一屏的所述第一展开方向为从底部向中心展开;若用户在所述第二屏上的手势操作的方向相对于用户视线为向左滑动,则所述后台应用的新消息在所述第一屏的所述第一展开方向为从左边向中心展开;若用户在所述第二屏上的手势操作的方向相对于用户视线为向右滑动,则所述后台应用的新消息在所述第一屏的所述第一展开方向为从右边向中心展开。
在一种可能的实现方式中,当所述电子设备能够折叠时,所述检测到用户的第一操作,包括:检测到用户展开又折叠所述电子设备的操作,或者,检测到用户折叠又展开所述电子设备的操作。
在一种可能的实现方式中,所述检测到用户的第一操作,包括:检测到用户翻转又转回所述电子设备的操作。
在一种可能的实现方式中,所述在所述第一屏显示所述后台应用的新消息,包括:当所述后台应用的新消息的展开界面包含文本输入控件时,在所述第一屏以第一显示形态显示所述后台应用的新消息;当所述后台应用的新消息的展开界面未包含文本输入控件时,在所述第一屏以第二显示形态显示所述后台应用的新消息;其中,所述第一显示形态的用户交互面积大于所述第二显示形态的用户交互面积。
在一种可能的实现方式中,当所述后台应用的新消息包括多条时,所述在所述第一屏显示所述后台应用的新消息,包括:在所述第一屏以消息列表形态显示所述后台应用的新消息,或者,在所述第一屏显示最近触发的所述后台应用的新消息。
在一种可能的实现方式中,所述电子设备预设有应用白名单,所述应用白名单中的应用的新消息允许在所述第一屏显示,所述在所述第一屏显示所述后台应用的新消息,包括:当确定所述后台应用属于所述应用白名单中的应用时,在所述第一屏显示所述后台应用的新消息。
在一种可能的实现方式中,所述触发提醒事件,包括:触发震动提醒或者触发声音提醒。
在一种可能的实现方式中,所述电子设备预设有用户白名单,当所述后台应用的新消息为所述用户白名单中的用户发送的消息时,所述触发提醒事件包括:触发在所述第一屏上的图标提醒或者动图提醒。
在一种可能的实现方式中,所述方法还包括:在所述第二屏显示所述后台应用的新消息。
在一种可能的实现方式中,所述在所述第二屏显示所述后台应用的新消息,包括:检测到用户翻转所述电子设备的翻转角度超过预设角度,且检测到针对所述第二屏的用户视线时,在所述第二屏显示所述后台应用的新消息。
在一种可能的实现方式中,当所述后台应用的新消息包括多条时,所述在所述第二屏显示所述后台应用的新消息,包括:在所述第二屏以消息列表形态显示所述后台应用的新消息,或者,在所述第二屏显示最近触发的所述后台应用的新消息。
第二方面,本技术方案提供了一种信息显示方法,应用于电子设备,所述电子设 备包括至少两个屏,所述至少两个屏包括第一屏和第二屏,所述第一屏与所述第二屏相背对,所述方法包括:在所述第一屏显示当前应用的界面时,检测到用户在所述第二屏上的第二操作;响应于所述第二操作,将所述后台应用的界面切换到所述第一屏显示。
在一种可能的实现方式中,所述检测到用户在所述第二屏上的第二操作,包括:检测到用户在所述第二屏上的手势操作。
在一种可能的实现方式中,所述将所述后台应用的界面切换到所述第一屏显示,包括:在所述第一屏按第二展开方向展开所述后台应用的界面,所述第二展开方向与用户在所述第二屏上的手势操作的方向相对应。
在一种可能的实现方式中,所述第二展开方向与用户在所述第二屏上的所述手势操作的方向相对应,包括:若用户在所述第二屏上的手势操作的方向相对于用户视线为向上滑动,则所述后台应用的界面在所述第一屏的所述第二展开方向为从顶部向中心展开;若用户在所述第二屏上的手势操作的方向相对于用户视线为向下滑动,则所述后台应用的界面在所述第一屏的所述第二展开方向为从底部向中心展开;若用户在所述第二屏上的手势操作的方向相对于用户视线为向左滑动,则所述后台应用的新消息在所述第一屏的所述第二展开方向为从左边向中心展开;若用户在所述第二屏上的手势操作的方向相对于用户视线为向右滑动,则所述后台应用的新消息在所述第一屏的所述第二展开方向为从右边向中心展开。
在一种可能的实现方式中,所述将所述后台应用的界面切换到所述第一屏显示,包括:将所述后台应用的界面切换到所述第一屏以悬浮窗形态显示。
在一种可能的实现方式中,所述将所述后台应用的界面切换到所述第一屏显示,包括:将最近触发的所述后台应用的界面切换到所述第一屏显示。
第三方面,本技术方案提供了一种电子设备,包括:一个或多个处理器;存储器;至少一个应用程序;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行如上述第一方面或第二方面所述的方法。
第四方面,本技术方案还提供一种计算机存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如上述第一方面或第二方面所述的方法。
第五方面,本技术方案还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如上述第一方面或第二方面所述的方法。
本技术方案提供的信息显示方法和电子设备,当用户在第一屏查看当前应用的界面时收到后台应用的新消息,在第一屏不显示任何新消息的提示信息只触发提醒事件,当检测到用户的第一操作后再在第一屏显示后台应用的新消息,避免了中断用户的当前操作,且能够根据用户需求方便的显示新消息,提升了用户体验感。
附图说明
图1a为本申请实施例提供的一种内折屏的结构示意图;
图1b为本申请实施例提供的一种外折屏的结构示意图;
图1c为本申请实施例提供的一种上下内折屏的结构示意图;
图2为本申请实施例提供的一种电子设备的结构示意图;
图3为本申请实施例提供的一种信息显示方法的流程示意图;
图4a为本申请实施例提供的一种内折屏的第一屏的示意图;
图4b为本申请实施例提供的一种内折屏的第二屏的示意图;
图4c为本申请实施例提供的一种消息转移后内折屏的第一屏的示意图;
图5a为本申请实施例提供的一种外折屏的第二屏的示意图;
图5b为本申请实施例提供的一种外折屏的第一屏的示意图;
图6a为本申请实施例提供的一种上下内折屏的第二屏的示意图;
图6b为本申请实施例提供的一种上下内折屏的第一屏的示意图;
图7a-图7d为本申请实施例提供的一种内折屏的手势操作示意图;
图8为本申请实施例提供的一种内折屏用户操作的示意图;
图9为本申请实施例提供的一种内折屏用户翻转操作的示意图;
图10为本申请实施例提供的一种第二屏显示新消息的示意图;
图11为本申请实施例提供的一种信息显示方法的流程示意图;
图12a为本申请实施例提供的一种内折屏的第二屏的示意图;
图12b为本申请实施例提供的一种内折屏的第一屏的示意图。
具体实施方式
下面将结合附图对本申请实施例中的技术方案进行清楚、详尽地描述。
本申请实施例提供了一种信息显示方法,该方法可以应用于具有至少两个屏的电子设备,所述至少两个屏可以是独立的两个屏,也可以是折叠或者展开形成的两个屏。例如,折叠屏可沿折叠边或折叠轴折叠或者展开形成两个屏。
示例性的,电子设备100上折叠屏的折叠方式可以有多类。例如:一类为朝内翻折的折叠屏(简称内折屏),另一类为朝外翻折的折叠屏(简称外折屏)。其中,翻折可以包括上下翻折或者左右翻折。这些折叠屏都可以形成两个屏。本申请实施例并不限定折叠屏的折叠方式。图1a到图1c中灰色部分为可以使用的屏。
参见图1a,图1a为本申请实施例提供的一种内折屏的结构示意图。如图1a所示,当内折屏被展开后,形成了a屏和bc屏两个屏,a屏的显示方向和bc屏的显示方向相背对,当内折屏被折叠后,就只有a屏一个屏。
参见图1b,图1b为本申请实施例提供的一种外折屏的结构示意图。如图1b所示,当外折屏被展开后,形成了a’b’屏一个屏,当外折屏被折叠后,形成了a’屏和b’屏两个屏,a’屏的显示方向和b’屏的显示方向相背对。可选的,外折屏还可以包括c’屏,在外折屏展开时,c’屏的显示方向和a’屏的显示方向相背对。
参见图1c,图1c为本申请实施例提供的一种上下内折屏的结构示意图。如图1c所示,当上下内折屏被展开后,形成了a”屏和b”c”屏两个屏,a”屏的显示方向和b”c”屏的显示方向相背对,当上下内折屏被折叠后,就只有a”屏一个屏。
需要说明的是,本申请实施例中电子设备的至少两个屏,可以是折叠屏被折叠或展开后形成的至少两个屏,可以为独立存在的多个屏,也可以为一体结构的一个完整屏被折叠形成了至少两部分。例如,折叠屏可以是柔性折叠屏,柔性折叠屏包括采用柔性材质制作的折叠边。
可以理解的是,以上只是列举了电子设备形成的两个屏的部分方式,但并不限于上述方式,本申请实施例对电子设备包括相背对的至少两个屏的形成方式不作限定。
图2中以包括至少两个屏的电子设备为例,对本申请实施例中的电子设备进行说明。并且,本申请后续实施例中也是以包括相背对的至少两个屏的电子设备为例,对本申请实施例提供的方法进行说明。
示例性的,本申请实施例中的电子设备100可以是手机、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(Augmented reality,AR)\虚拟现实(virtual reality,VR)设备等包括上述至少两个屏的设备,本申请实施例对该电子设备的具体类型不作特殊限制。
参见图2,图2为本申请实施例提供的一种电子设备的结构示意图。如图2所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。进一步的,当所述电子设备为手机时,所述电子设备还可以包括:天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及用户标识模块(subscriber identification module,SIM)卡接口195等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使 用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器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)接口等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随 后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(blue tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线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)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Mini led,Micro Led,Micro-o Led,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备的显示屏194上可以显示一系列图形用户界面(graphical user interface,GUI),这些GUI都是该电子设备的主屏幕。一般来说,电子设备的显示屏194的尺寸是固定的,只能在该电子设备的显示屏194中显示有限的控件。控件是一种GUI元素,它是一种软件组件,包含在应用程序中,控制着该应用程序处理的所有数据以及关于 这些数据的交互操作,用户可以通过直接操作(direct manipulation)来与控件交互,从而对应用程序的有关信息进行读取或者编辑。一般而言,控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。例如,在本申请实施例中,显示屏194可以显示虚拟按键。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨 块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。[0268]按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
另外,本申请实施例所涉及的电子设备,可安装有操作系统,在该操作系统上可以安装运行应用程序,本申请实施例对此不作限定。
需要说明的,本申请实施例中提及的顶端、底端、左端、右端,以及上方、下方均是相对的,是具体实现方式中的示例性地描述,不应对本申请实施例构成限定。
下面结合应用场景,具体介绍本申请实施例中提供的信息显示方法。
当用户使用智能设备同时进行两项或者多项任务时,例如一边浏览视频一边回消息,一边浏览新闻一边等车,其中有一个主任务需要长时间查看,而辅助任务不需要长时间查看。在用户使用直板机的情况下,当用户查看主任务时收到辅助任务的新消息,当前屏幕会显示新消息的提示信息,中断当前主任务的操作,影响了用户体验。
鉴于此,本申请实施例提出一种解决方案,当用户查看当前应用时收到后台应用的新消息,不在当前使用的屏幕显示新消息的提醒,当用户想要查看新消息时,再根据用户的操作在当前屏幕显示收到的新消息。
参见图3,图3为本申请实施例提供的一种信息显示方法的流程示意图,如图3所示,所述方法应用于电子设备,所述电子设备包括至少两个屏,所述至少两个屏包括第一屏和第二屏,所述第一屏和所述第二屏相背对,所述方法包括:
步骤101:在所述第一屏显示当前应用的界面时,收到后台应用的新消息,在所述第一屏不显示用于表示所述后台应用收到所述新消息的提醒信息。
需要说明的是,这里的第一屏是指用户当前正在注视的屏幕,或者用户正在操作/ 使用的屏幕,相对的第二屏就是指用户当前未操作或者未使用的屏幕。例如,当内折屏展开时,用户在bc屏操作,那bc屏就是第一屏,背后的a屏就是第二屏;当外折屏折叠时,用户操作a’屏,a’屏就是第一屏,背后的b’屏就是第二屏;当上下内折屏展开时,用户使用b”c”屏,那么b”c”就是第一屏,背后的a”屏就是第二屏。
这里的后台应用是指后台运行的应用程序,简称为后台应用,后台应用通常指被最小化的窗口对应的应用程序和不活动的窗口对应的应用程序。在该步骤中的后台应用是指在电子设备里运行,但没有显示在第一屏的应用程序。
当用户在第一屏查看当前应用的界面时,可以认为第一屏处于沉浸式应用状态,此时收到后台应用的新消息,在第一屏不显示用于提示收到后台应用的新消息的提醒信息。其中,可以通过用户设置的方式确定第一屏进入沉浸式应用状态或者通过电子设备自动识别的方式识别到第一屏进入沉浸式应用状态。
示例性的,第一屏进入沉浸式应用状态可以通过用户设置免打扰模式或者游戏模式确定;或者电子设备识别到某个应用以全屏独占的形态在第一屏呈现时确定,例如,视频全屏播放,演示胶片全屏播放,或者用户全屏打游戏等等;或者,用户可以设置当某个应用处于某种状态时,进入沉浸式应用状态。
在一些实施例中,在所述第一屏显示当前应用的界面可以包括:在所述第一屏全屏显示当前应用的界面。当在第一屏全屏显示当前应用的界面时,可以认为第一屏处于沉浸式应用状态,在收到了后台应用的新消息时,在第一屏既不显示新消息,也不显示新消息的提醒信息,包括在第一屏的通知栏也不显示新消息的提醒信息。
在一些实施例中,当收到后台应用的新消息时,电子设备在所述第一屏不显示用于表示所述后台应用收到新消息的提醒信息时,可以在所述第二屏显示所述后台应用的新消息。
需要说明的是,在所述第二屏显示所述后台应用的新消息,可以方便用户直接在第二屏查看后台应用的新消息,而不需要用户将新消息转移到第一屏显示,对于一些不喜欢转移消息的用户比较方便。
示例性的,若当前应用以全屏独占的形态在第一屏呈现,如视频全屏播放时,后台应用的新消息可以在第二屏显示,在第二屏显示的形态可以是弹出悬浮框(悬浮窗)等方式,本申请实施例对在第二屏显示的后台应用的新消息的形态不作限定。
步骤102:触发提醒事件,所述提醒事件用于提醒用户收到新消息。
需要说明的是,在收到后台应用的新消息后,虽然在第一屏不显示提示信息,但是仍然可以触发提醒事件通知用户。
在一些实施例中,触发提醒事件可以为触发声音提醒、触发震动提醒等,但本申请的实施例并不局限于这些方式,只要是不影响用户操作第一屏的方式都是可以的。
在一些实施例中,所述电子设备预设有用户白名单,当所述后台应用的新消息为所述用户白名单中的用户发送的消息时,所述触发提醒事件包括:触发在所述第一屏上的图标提醒或者动图提醒。
需要说明的是,当第一屏处于沉浸式应用状态时,收到普通的后台应用的新消息在第一屏是不显示任何信息的,但是针对紧急的消息,比如亲人朋友的信息,属于预 设用户白名单里面的用户发送的信息,除了可以震动提醒或者声音提醒外,还可以有额外的提醒来通知用户。提醒的方式可以是:动图提醒,例如:在第一屏的屏幕顶部设置有颜色的点闪动提醒,例如:红点、绿点等,或者图标提醒,例如:在第一屏的屏幕顶部设置小图标提醒等。除了采用动图或图标提醒的方式外,还可以采用其他方式提醒,例如采用震动幅度更大、震动时长更长的震动提醒,或者提醒声音更长的声音提醒也是可以的。通过特殊的提醒方式让用户知道收到了重要消息,可以方便用户尽快查看新消息。
步骤103:检测到用户的第一操作。
需要说明的是,这里用户的第一操作可以有很多方式,例如,用户摇晃电子设备,用户翻转电子设备,用户折叠电子设备,用户在屏幕上的手势操作等等,其中,用户在屏幕上的手势操作可以包括用户在屏幕上单击操作、双击操作、滑动操作、画圈操作等等,本申请实施例对用户操作的方式不作限定。
在一些实施例中,为了便于用户操作,检测到用户的第一操作,可以包括:检测到用户在所述第二屏上的手势操作。
示例性的,当用户正面对着手机第一屏查看当前应用时,收到了后台应用的新消息,用户感受到了震动提醒。此时用户可以无需翻转手机查看第二屏(背面屏),而只是用手在背面的屏上进行一个操作如双击操作或者滑动操作等,后台应用的新消息就可以转移到第一屏显示。由于用户正常拿着手机使用时,有几个手指就是放在手机的背面的,因此用户在背面的屏上进行手势操作也非常方便。
步骤104:响应于所述第一操作,在所述第一屏显示所述后台应用的新消息。
需要说明的是,在检测到用户的第一操作后,电子设备识别到用户是要查看后台应用的新消息,就将所述后台应用的新消息转移到所述第一屏显示。
在一些实施例中,在所述第一屏显示所述后台应用的新消息,可以包括:若所述后台应用的新消息的展开界面包含文本输入控件,则在所述第一屏以第一显示形态显示所述后台应用的新消息;若所述后台应用的新消息的展开界面未包含文本输入控件,则在所述第一屏以第二显示形态显示所述后台应用的新消息;其中,所述第一显示形态的用户交互面积大于所述第二显示形态的用户交互面积。
需要说明的是,当新消息的展开界面包括文本输入控件时,说明新消息是需要回复的消息,因此为了便于用户回复、操作这个消息,在第一屏显示新消息时,可以以第一显示形态显示,第一显示形态可以是弹出悬浮窗的形态,那么当新消息的展开界面不包含文本输入控件时,新消息不需要回复,那么可以以第二显示形态显示,第二显示形态可以是弹出悬浮框的形态,悬浮窗口的用户交互面积大于悬浮框的用户交互面积。
可以理解的是,若后台应用的新消息在第二屏显示,那么在第二屏显示的时候可以是以悬浮框的形态显示的,当新消息从第二屏转移到第一屏显示的时候,可以根据新消息的展开界面是否包含文本输入框确定是否改变显示形态,若是需要回复的新消息,则自动从弹出提示框的形态切换为弹出悬浮窗口的形态显示,以便于用户回复、操作这个消息,若是不需要回复的新消息,则仍然以弹出提示框的形态在第一屏呈现,不会变成面积大的弹出悬浮窗口。
在一些实施例中,当所述后台应用的新消息包括多条时,所述在所述第一屏显示所述后台应用的新消息,可以包括:在所述第一屏以消息列表形态显示所述后台应用的新消息,或者,在所述第一屏显示最近触发的所述后台应用的新消息。
需要说明的是,当在后台应用收到多条消息时,在检测到用户的第一操作后,可以在第一屏的屏幕上以消息列表的形态呈现,针对这个消息列表,用户点击对应的单条消息,该单条消息就会以弹出悬浮窗口或者弹框的形态呈现。
在检测到用户的第一操作后,也可以在第一屏的屏幕上仅显示最近触发的新消息,即最新收到的新消息。示例性的,如果后台有多个应用运行,例如有导航,聊天,电话,短信时,会根据应用最后一次触发的时间排序,近期触发的应用靠前,当检测到用户的第一操作后,在第一屏显示时首先显示最近触发的应用的新消息,其他后台应用依次排序。用户可以通过多次进行第一操作查看后面的新消息。
在一些实施例中,所述电子设备预设有应用白名单,所述应用白名单中的应用的新消息允许在所述第一屏显示,所述在所述第一屏显示所述后台应用的新消息,可以包括:当确定所述后台应用属于所述应用白名单中的应用时,在所述第一屏显示所述后台应用的新消息。
需要说明的是,用户可以手动设置或者系统自动设置哪些应用的新消息可以转移在第一屏显示,在用户将新消息转移到第一屏显示时,可以只转移消息白名单中的应用的新消息,方便用户查看想要查看的应用的消息,去掉垃圾消息。
可以理解的是,用户还可以手动设置或者系统自动设置哪些应用的新消息是可以在第二屏的屏幕上显示的,这样可以方便用户直接在第二屏查看对应应用的新消息。
以下列举一些应用所述信息显示方法的场景:在一场景中,用户使用内折屏手机已经通过打车应用叫车了,但是车还没到,用户就一边看视频一边等车,此时用户同时开启了视频应用和打车应用,在第一屏上显示的是视频应用的界面,打车应用在后台运行。当用户叫的车到达了用户位置时,打车应用向用户发出了一条上车提醒的新消息,此时第一屏上不会显示上车提醒的新消息和新消息的提醒信息,但是电子设备发出了震动提醒,用户知道收到了新消息,于是用户用手指在第二屏的屏幕上做了个双击屏幕的操作,打车应用的新消息就在第一屏显示了,于是用户看到了上车提醒消息。可以理解的是,在该场景中,用户如果不是看视频而是玩游戏,也是类似的处理情况的。
图4a为本申请实施例提供的一种内折屏的第一屏的示意图。如图4a所示,用户在第一屏全屏查看视频,等待自己打的车到达。
图4b为本申请实施例提供的一种内折屏的第二屏的示意图。当用户正在第一屏进行视频应用的操作时,如图4b所示,第二屏(a屏)收到了打车应用的新消息,打车应用的新消息在第二屏是以弹出提示框的形态显示的,用户感受到新消息震动提醒,用户在第二屏(a屏)上用手指进行滑动操作,确定将新消息转移到第一屏(bc屏)进行显示。
图4c为本申请实施例提供的一种消息转移后内折屏的第一屏的示意图。当用户用手指在第二屏(a屏)上滑动后,如图4c所示,新消息就转移到用户正在使用的第一屏(bc屏)上显示,新消息转移到第一屏后,是以弹出悬浮窗的形态直接覆盖在当前 使用的视频应用上显示的,当用户对新消息处理完成后,可以关闭该悬浮窗。
在另一场景中,用户使用外折屏手机在一边看视频一边和朋友聊天,第一屏显示的是视频界面,聊天应用在后台运行,当收到朋友发来的新消息时,第一屏不显示新消息和新消息的提醒信息,但是电子设备发出了声音提醒,用户知道收到了新消息,当视频没那么精彩的时候,用户用手指在第二屏做了个向右滑动的操作(相对于用户视线),聊天应用的新消息就在第一屏从右向左展开,用户查看并回复了新消息后,关闭该新消息窗口,继续看视频。
图5a为本申请实施例提供的一种外折屏的第二屏的示意图。当用户在第一屏(a’屏)进行视频应用的操作时,如图5a所示,第二屏(b’屏)收到了聊天应用的新消息,聊天应用的新消息在第二屏是以弹出提示框的形态显示的,用户感受到新消息震动提醒,用户可以在第二屏(b’屏)上用手指进行点击操作,确定将新消息转移到第一屏(a’屏)进行显示。
图5b为本申请实施例提供的一种外折屏的第一屏的示意图。当用户用手指在第二屏(b’屏)上点击后,如图5b所示,新消息就转移到用户正在使用的第一屏(a’屏)上显示,新消息转移到第一屏后,是以弹出悬浮窗的形态直接覆盖在当前使用的视频应用上显示的,当用户对新消息处理完成后,可以关闭该悬浮窗。
在该场景中,若用户使用的上下内折屏,也是相同的情况。图6a为本申请实施例提供的一种上下内折屏的第二屏的示意图。当用户在第一屏(b”c”屏)进行视频应用的操作时,如图6a所示,第二屏(a”屏)收到了聊天应用的新消息,用户感受到新消息震动提醒,用户可以在第二屏(a”屏)上用手指进行双击操作,确定将新消息转移到第一屏(b”c”屏)进行显示。
图6b为本申请实施例提供的一种上下内折屏的第一屏的示意图。当用户用手指在第二屏(a”屏)上进行双击操作后,如图6b所示,新消息就转移到用户正在使用的第一屏(b”c”屏)上显示,新消息转移到第一屏后,是以弹出悬浮窗的形态直接覆盖在当前使用的视频应用上显示的,当用户对新消息处理完成后,可以关闭该悬浮窗。
可以理解的是,本申请实施例提供的信息显示方法不限于应用于上述场景,例如还可以应用到当用户在车站等车时一边看视频一边等车的场景,第一屏显示视频界面,这时车到站了,电子设备收到了提醒刷卡进站的提醒消息发出了震动提醒,用户在第二屏做了单击操作,提醒消息就转移到第一屏显示,用户进站坐车。申请实施例提供的信息显示方法只要是用户在电子设备上同时使用多个应用程序的场景都可以使用,本申请实施例对应用场景不作限制。
在一些实施例中,在所述第一屏显示所述后台应用的新消息时,可以在所述第一屏按第一展开方向展开所述后台应用的新消息,其中所述第一展开方向可以与用户在所述第二屏上的手势操作的方向相对应。进一步的,所述第一展开方向与所述手势操作的操作方向相对应可以是所述第一展开方向与所述手势操作的方向相同或相反。
示例性的,用户在第二屏进行手势交互时,可以向上、向下、向左、向右滑动。为了呈现更好的展示效果,第一展开方向可以与手势操作的方向相反,营造出一种新消息顺着手势操作的方向从后面的屏幕滑出后滑入前面的屏幕的效果。以下以多种折 叠屏为例进行介绍。
示例一:针对电子设备包括内折屏的情况,当电子设备展开使用的时候,bc屏与a屏是相背对的,用户使用bc屏,后台应用收到了新消息,在a屏上显示收到的新消息,新消息在a屏是以弹出提示框的形态呈现的,当用户在a屏手指交互后,在bc屏上显示新消息,新消息是以弹出悬浮窗的形态呈现的。
其中,当第一展开方向与用户手势操作的方向相反时,从用户视线看,若手指在a屏的手势是向上滑动时,新消息的悬浮窗口在展开态的bc屏上从顶部向下展开。若手指在a屏的手势是向下滑动时,新消息的悬浮窗口在展开态的bc屏上从底部向上展开。若手指在a屏的手势是向左滑动时,新消息的悬浮窗口在展开态的bc屏上从左边向右展开。当手指在a屏的手势是向右滑动时,新消息的悬浮窗口在展开态的bc屏上,从右边向左展开。
参见图7a-图7d,图7a-图7d为本申请实施例提供的一种内折屏的手势操作示意图,在图7a中,当手指在a屏的手势是向上滑动时,新消息的悬浮窗口在展开态的bc屏上从顶部向下展开。在图7b中,当手指在a屏的手势是向下滑动时,新消息的悬浮窗口在展开态的bc屏上从底部向上展开。在图7c中,当手指在a屏的手势是向左滑动时,由于a屏在bc屏的背面,而用户注视的是bc屏,所以从用户视线去看手指在a屏的手势其实是向右滑动的,因此新消息的悬浮窗口在展开态的bc屏上从右边向左展开。在图7d中,当手指在a屏的手势是向右滑动时,由于a屏在bc屏的背面,从用户视线去看手指在a屏的手势其实是向左滑动的,因此新消息的悬浮窗口在展开态的bc屏上,从左边向右展开。
示例二:针对电子设备包括外折屏的情况,当电子设备折叠使用的时候,a’屏与b’屏是相背对的,用户使用b’屏时,后台应用收到了新消息,在a’屏显示收到的新消息,新消息是以弹出提示框的形态呈现的,当用户在a’屏手指交互后,在b’屏上显示新消息,新消息是以弹出悬浮窗的形态呈现的,新消息在b’屏以悬浮窗口形态显示。
其中,当第一展开方向与用户手势操作的方向相同时,若手指在a’屏的手势是向上滑动时,新消息的悬浮窗口在b’屏上从底部向上展开。若手指在a’屏的手势是向下滑动时,新消息的悬浮窗口在b’屏上从顶部向下展开。若手指在a’屏的手势是向左滑动时,由于a’屏在背面,从用户视线看手势其实是向右滑动的,因此新消息的悬浮窗口在b’屏上从左边向右展开。若手指在a’屏的手势是向右滑动时,由于a’屏在背面,从用户视线看手势其实是向左滑动的,因此新消息的悬浮窗口在b’屏上从右边向左展开。
可以理解的是,新消息的展开方向与用户手势操作的方向相对应并不仅限于相同或者相反方式,其他方式也是可以的,因此,本申请实施例对所述第一展开方向与用户在所述第二屏上的手势操作的方向相对应的方式不作限定。
在一些实施例中,当所述电子设备能够折叠时,所述步骤103中检测到用户的第一操作还可以是:检测到用户展开又折叠所述电子设备的操作,或者,检测到用户折叠又展开所述电子设备的操作。
图8为本申请实施例提供的一种内折屏用户操作的示意图,如图8所示,当具有 内折屏的电子设备处于展开态,用户bc屏操作当前应用的时候,收到后台应用的新消息,用户可以将电子设备折叠一定角度后再展开,例如30度左右,此时后台应用的新消息在bc屏显示。
同理,当具有外折屏的电子设备处于折叠态时,用户操作a’屏的时候,收到后台应用的新消息,用户可以将电子设备展开一定角度后再折叠,例如展开30度左右,此时后台应用的新消息在a’屏显示。
在一些实施例中,所述步骤103中检测到用户的第一操作还可以是:检测到用户翻转又转回所述电子设备的操作。
图9为本申请实施例提供的一种内折屏用户翻转操作的示意图,如图9所示,当具有内折屏的电子设备处于展开态(bc屏)的时候,收到后台应用的新消息,用户可以将电子设备整体翻转一定角度,又翻回去,此时后台应用的新消息在bc屏显示。
在一些实施例中,在收到后台应用的新消息时,用户可能不想在第一屏查看新消息,而想直接在第二屏查看新消息。为了方便用户,所述在所述第二屏显示所述后台应用的新消息,可以包括:检测到用户翻转所述电子设备的翻转角度超过预设角度,且检测到针对所述第二屏的用户视线时,在所述第二屏显示所述后台应用的新消息。
需要说明的是,当第一屏和第二屏的显示方向是相背对时,用户切换到第二屏看后台应用的新消息,电子设备需要触发第二屏显示,可以采用的触发条件是检测到用户翻转电子设备,且翻转角度超过预设角度,并且通过第二屏设置的摄像头检测到了用户视线。该方法能够准确的检测到用户视线已经切换到第二屏从而触发第二屏开始显示。
示例性的,当具有内折屏的电子设备处于展开态,用户查看bc屏的时候,电子设备会利用陀螺仪检测电子设备在空间上的翻转,当该反转超过特定值(例:90度)时,认为用户已经翻转了电子设备。同时,手机位于a屏的摄像头会探测用户视线,如果能够检测到用户视线,则认为用户有使用a屏的意图,开启a屏的显示。
图10为本申请实施例提供的一种第二屏显示新消息的示意图,如图10所示,当用户翻转查看第二屏时,电子设备检测到电子设备翻转角度超过预设角度,且第一屏的摄像头采集到用户视线时,第二屏显示后台应用的新消息。
进一步的,当所述后台应用的新消息包括多条时,所述在所述第二屏显示所述后台应用的新消息,可以包括:在所述第二屏以消息列表形态显示所述后台应用的新消息,或者,在所述第二屏显示最近触发的所述后台应用的新消息。
需要说明的是,当在后台应用收到多条消息时,在第二屏显示后台应用的新消息可以以消息列表的形态呈现,针对这个消息列表,用户点击对应的单条消息,该单条消息就会以弹出悬浮窗口或者弹框的形态呈现。也可以在第二屏的屏幕上仅显示最近触发的新消息,即最新收到的新消息。示例性的,如果后台有多个应用运行,例如有导航,聊天,电话,短信时,会根据应用最后一次触发的时间排序,近期触发的应用靠前,在第二屏显示时首先显示最近触发的应用的新消息,其他后台应用依次排序。该方法解决了在一屏被使用的状态下不能合适触发第二屏的问题,通过用户翻转这一自然的方式,能够在第二屏上显示被最新触发的应用的界面。
在另一生活场景中,用户往往会使用智能设备同时进行两项或者多项任务,在使用直板机的情况下当用户需要查看后台任务时,用户可以进行程序的切换,或者部分程序会提供悬浮窗查看,但用户进行程序切换会中断用户当前体验,悬浮窗提供的信息又不够详细。为了提升用户的体验感,在具有多屏的电子设备上,提供一种方法使用户更方便的查看后台运行的程序,是目前亟需解决的问题。
图11为本申请实施例提供的一种信息显示方法的流程示意图,如图11所示,所示方法应用于电子设备,所述电子设备包括至少两个屏,所述至少两个屏包括第一屏和第二屏,所述第一屏和所述第二屏相背对,所述方法可以包括:
步骤201:在所述第一屏显示当前应用的界面时,检测到用户在所述第二屏上的第二操作。
步骤202:响应于所述第二操作,将所述后台应用的界面切换到所述第一屏显示。
需要说明的是,用户在所述第二屏上的第二操作可以有很多方式,例如,用户可以在屏幕上单击、双击或者进行手势操作等等,本申请实施例对用户的第二操作的方法不作限定。当用户在第一屏查看当前应用的界面时,想要查看其他后台应用的界面,可以在第二屏上进行操作,以使后台应用的界面切换到第一屏显示。
在一些实施例中,所述检测到用户在所述第二屏上的第二操作可以是:检测到用户在所述第二屏上的手势操作。当电子设备在第二屏上检测到用户的手势操作时可以确定用户希望在第一屏显示后台应用,从而将后台应用的界面在第一屏上显示。
在一些实施例中,在所述第一屏显示当前应用的界面时,还可以在所述第二屏显示后台应用的界面。
需要说明的是,在所述第二屏显示所述后台应用的界面,可以方便用户直接在第二屏查看后台应用的界面,而不需要用户将界面切换到第一屏显示,对于一些不喜欢切换应用的用户比较方便。
示例性的,图12a为本申请实施例提供的一种内折屏的第二屏的示意图,如图12a所示,当用户在第一屏进行当前应用的操作时,第二屏显示后台聊天应用的界面,当用户希望在第一屏查看后台聊天应用的情况,用户可以通过在电子设备的第二屏上进行手势操作,确定将后台应用的界面转移到第一屏进行显示,如:用户可以用手指在第二屏上进行滑动操作,后台应用的界面就转移到眼睛注视的第一屏上显示。
图12b为本申请实施例提供的一种内折屏的第一屏的示意图,如图12b所示,当用户在第二屏进行手势操作后,后台聊天应用的界面就转移到第一屏以悬浮窗形态显示。
在一些实施例中,所述将所述后台应用的界面切换到所述第一屏显示,可以是在所述第一屏按第二展开方向展开所述后台应用的界面,所述第二展开方向与用户在所述第二屏的手势操作的方向相对应。
进一步的,用户在第二屏进行手势交互时,可以向上、向下、向左、向右的滑动,为了呈现更好的展示效果,可以所述第二展开方向与所述手势操作的操作方向相同或相反。
以下以内折屏为例,介绍后台应用在第二屏展开的方式。针对电子设备包括内折 屏的情况,当电子设备展开使用的时候,bc屏与a屏是相背对的,用户使用bc屏时,想查看后台应用的情况,当用户在a屏手势操作后,在bc屏上显示后台应用的界面,后台应用的界面是以弹出悬浮窗的形态呈现的,即后台应用的界面在bc屏以悬浮窗口形态显示。
其中,当第二展开方向与所述手势操作的方向相反时,当手指在a屏的手势是向上滑动时,后台应用的悬浮窗口在展开态的bc屏上从顶部向中心展开。当手指在a屏的手势是向下滑动时,后台应用的悬浮窗口在展开态的bc屏上从底部向中心展开。当手指在a屏的手势是向左滑动时,从用户视线看手指在a屏时向右滑动,后台应用的悬浮窗口在展开态的bc屏上从右边向中心展开。当手指在a屏的手势是向右滑动时,从用户视线看手指在a屏时向左滑动,后台应用的悬浮窗口在展开态的bc屏上从左边向中心展开。
在一些实施例中,为了方便用户对后台应用的操作,所述将所述后台应用的界面切换到所述第一屏显示,包括:将所述后台应用的界面切换到所述第一屏以悬浮窗形态显示。
在一些实施例中,当所述第二屏未被用户操作超过预设时间时,所述方法还可以包括:控制所述第二屏进入息屏状态。
在一些实施例中,当所述第二屏处于息屏状态,且所述第一屏与所述第二屏相背对时,所述方法还可以包括:检测到用户翻转所述电子设备的翻转角度超过预设角度,且检测到针对所述第二屏的用户视线时,在所述第二屏显示所述后台应用的界面。
在一些实施例中,当所述后台应用包括多个时,所述在所述第二屏显示所述后台应用可以包括:在所述第二屏显示最近触发的所述后台应用。
本申请实施例还提供一种计算机存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行上述实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-onlymemory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。
上述计算机可读存储介质可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(read only memory,ROM)、可擦式可编程只读存储器(erasable programmable read only memory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或器件使用或与其结合使用。
计算机可读的信号介质可以包括在基带中或作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、 传播或传输用于由指令执行系统、装置或器件使用或与其结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、射频(radio frequency,RF)等等,或上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本说明书操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(local area network,LAN)或广域网(wide area network,WAN)连接到用户计算机,或,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述方法实施例中的部分或全部步骤。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或可能是有利的。
在本发明实施例的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或特点包含于本说明书的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或隐含地包括至少一个该特征。在本说明书的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本说明书的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本说明书的实施例所属技术领域的技术人员所理解。
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定” 或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。
本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本发明所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,简称ROM)、随机存取存储器(random access memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。本发明的保护范围应以所述权利要求的保护范围为准。

Claims (17)

  1. 一种信息显示方法,其特征在于,应用于电子设备,所述电子设备包括至少两个屏,所述至少两个屏包括第一屏和第二屏,所述第一屏和所述第二屏相背对,所述方法包括:
    在所述第一屏显示当前应用的界面时,收到后台应用的新消息,在所述第一屏不显示用于表示所述后台应用收到所述新消息的提醒信息;
    触发提醒事件,所述提醒事件用于提醒用户收到新消息;
    检测到用户的第一操作;
    响应于所述第一操作,在所述第一屏显示所述后台应用的新消息。
  2. 根据权利要求1所述的方法,其特征在于,所述在所述第一屏显示当前应用的界面,包括:在所述第一屏全屏显示当前应用的界面。
  3. 根据权利要求1或2所述的方法,其特征在于,所述检测到用户的第一操作,包括:
    检测到用户在所述第二屏上的手势操作。
  4. 根据权利要求3所述的方法,其特征在于,所述在所述第一屏显示所述后台应用的新消息,包括:
    在所述第一屏按第一展开方向展开所述后台应用的新消息,所述第一展开方向与用户在所述第二屏上的手势操作的方向相对应。
  5. 根据权利要求4所述的方法,其特征在于,所述第一展开方向与用户在所述第二屏上的手势操作的方向相对应,包括:
    若用户在所述第二屏上的手势操作的方向相对于用户视线为向上滑动,则所述后台应用的新消息在所述第一屏的所述第一展开方向为从顶部向中心展开;
    若用户在所述第二屏上的手势操作的方向相对于用户视线为向下滑动,则所述后台应用的新消息在所述第一屏的所述第一展开方向为从底部向中心展开;
    若用户在所述第二屏上的手势操作的方向相对于用户视线为向左滑动,则所述后台应用的新消息在所述第一屏的所述第一展开方向为从左边向中心展开;
    若用户在所述第二屏上的手势操作的方向相对于用户视线为向右滑动,则所述后台应用的新消息在所述第一屏的所述第一展开方向为从右边向中心展开。
  6. 根据权利要求1或2所述的方法,其特征在于,当所述电子设备能够折叠时,所述检测到用户的第一操作,包括:检测到用户展开又折叠所述电子设备的操作,或者,检测到用户折叠又展开所述电子设备的操作。
  7. 根据权利要求1或2所述的方法,其特征在于,所述检测到用户的第一操作,包括:检测到用户翻转又转回所述电子设备的操作。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述在所述第一屏显示所述后台应用的新消息,包括:
    当所述后台应用的新消息的展开界面包含文本输入控件时,在所述第一屏以第一显示形态显示所述后台应用的新消息;
    当所述后台应用的新消息的展开界面未包含文本输入控件时,在所述第一屏以第二显示形态显示所述后台应用的新消息;
    其中,所述第一显示形态的用户交互面积大于所述第二显示形态的用户交互面积。
  9. 根据权利要求1-7中任一项所述的方法,其特征在于,当所述后台应用的新消息包括多条时,所述在所述第一屏显示所述后台应用的新消息,包括:
    在所述第一屏以消息列表形态显示所述后台应用的新消息,或者,在所述第一屏 显示最近触发的所述后台应用的新消息。
  10. 根据权利要求1-7中任一项所述的方法,其特征在于,所述电子设备预设有应用白名单,所述应用白名单中的应用的新消息允许在所述第一屏显示,所述在所述第一屏显示所述后台应用的新消息,包括:
    当确定所述后台应用属于所述应用白名单中的应用时,在所述第一屏显示所述后台应用的新消息。
  11. 根据权利要求1所述的方法,其特征在于,所述触发提醒事件,包括:触发震动提醒或者触发声音提醒。
  12. 根据权利要求1-11中任一项所述的方法,其特征在于,所述方法还包括:
    收到所述后台应用的新消息后,在所述第二屏显示所述后台应用的新消息。
  13. 根据权利要求12所述的方法,其特征在于,所述在所述第二屏显示所述后台应用的新消息,包括:
    检测到用户翻转所述电子设备的翻转角度超过预设角度,且检测到针对所述第二屏的用户视线时,在所述第二屏显示所述后台应用的新消息。
  14. 根据权利要求12所述的方法,其特征在于,当所述后台应用的新消息包括多条时,所述在所述第二屏显示所述后台应用的新消息,包括:
    在所述第二屏以消息列表形态显示所述后台应用的新消息,或者,在所述第二屏显示最近触发的所述后台应用的新消息。
  15. 一种电子设备,其特征在于,包括:
    一个或多个处理器;存储器;至少一个应用程序;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行如权利要求1-14中任一项所述的方法。
  16. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-14中任一项所述的方法。
  17. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-14中任一项所述的方法。
PCT/CN2023/085494 2022-04-08 2023-03-31 信息显示方法、电子设备和存储介质 WO2023193661A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210367005.2A CN116931805A (zh) 2022-04-08 2022-04-08 信息显示方法、电子设备和存储介质
CN202210367005.2 2022-04-08

Publications (1)

Publication Number Publication Date
WO2023193661A1 true WO2023193661A1 (zh) 2023-10-12

Family

ID=88244058

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/085494 WO2023193661A1 (zh) 2022-04-08 2023-03-31 信息显示方法、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN116931805A (zh)
WO (1) WO2023193661A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338302A (zh) * 2013-06-14 2013-10-02 广东欧珀移动通信有限公司 一种双屏触摸手机的交互体验方法
CN106354360A (zh) * 2016-08-22 2017-01-25 青岛海信电器股份有限公司 内容显示方法及装置
CN108319512A (zh) * 2018-01-23 2018-07-24 努比亚技术有限公司 显示控制方法、终端及计算机可读存储介质
CN110119231A (zh) * 2018-02-05 2019-08-13 广东欧珀移动通信有限公司 消息显示方法、装置、移动终端及存储介质
CN110198377A (zh) * 2019-04-23 2019-09-03 努比亚技术有限公司 一种双屏终端控制方法、双屏终端及计算机可读存储介质
US20210089369A1 (en) * 2019-09-20 2021-03-25 Motorola Mobility Llc Conditional Device Application Activation Responsive To A Notification Trigger

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338302A (zh) * 2013-06-14 2013-10-02 广东欧珀移动通信有限公司 一种双屏触摸手机的交互体验方法
CN106354360A (zh) * 2016-08-22 2017-01-25 青岛海信电器股份有限公司 内容显示方法及装置
CN108319512A (zh) * 2018-01-23 2018-07-24 努比亚技术有限公司 显示控制方法、终端及计算机可读存储介质
CN110119231A (zh) * 2018-02-05 2019-08-13 广东欧珀移动通信有限公司 消息显示方法、装置、移动终端及存储介质
CN110198377A (zh) * 2019-04-23 2019-09-03 努比亚技术有限公司 一种双屏终端控制方法、双屏终端及计算机可读存储介质
US20210089369A1 (en) * 2019-09-20 2021-03-25 Motorola Mobility Llc Conditional Device Application Activation Responsive To A Notification Trigger

Also Published As

Publication number Publication date
CN116931805A (zh) 2023-10-24

Similar Documents

Publication Publication Date Title
CN114467297B (zh) 一种应用于电子设备的视频通话的显示方法及相关装置
CN110244893B (zh) 一种分屏显示的操作方法及电子设备
CN109766066B (zh) 一种消息处理的方法、相关装置及系统
WO2020168965A1 (zh) 一种具有折叠屏的电子设备的控制方法及电子设备
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
EP4057136A1 (en) Method for displaying folding screen and related apparatus
EP3846427B1 (en) Control method and electronic device
WO2021063237A1 (zh) 电子设备的控制方法及电子设备
CN110798568B (zh) 具有折叠屏的电子设备的显示控制方法及电子设备
WO2021169399A1 (zh) 一种暂存应用界面的方法及电子设备
CN114514498A (zh) 一种对电子设备的操作方法及电子设备
EP3826280B1 (en) Method for generating speech control command, and terminal
WO2021052139A1 (zh) 手势输入方法及电子设备
US20230117194A1 (en) Communication Service Status Control Method, Terminal Device, and Readable Storage Medium
WO2021208723A1 (zh) 全屏显示方法、装置和电子设备
EP3879401A1 (en) Automatic screen-splitting method, graphical user interface, and electronic device
CN112583957A (zh) 电子设备的显示方法、电子设备与计算机可读存储介质
WO2023241209A1 (zh) 桌面壁纸配置方法、装置、电子设备及可读存储介质
CN114115770A (zh) 显示控制的方法及相关装置
WO2020221062A1 (zh) 一种导航操作方法及电子设备
WO2023193661A1 (zh) 信息显示方法、电子设备和存储介质
CN114089902A (zh) 手势交互方法、装置及终端设备
CN114079809A (zh) 终端及其输入方法与装置
CN115857852A (zh) 一种应用布局控制方法及相关装置
WO2023093778A1 (zh) 一种截屏方法及相关装置

Legal Events

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

Ref document number: 23784225

Country of ref document: EP

Kind code of ref document: A1