Patent Description:
With the rapid development of an electronic technology, forms of terminal devices are becoming richer. The terminal devices with a foldable screen, namely, foldable screen devices are favored by many users because of their advantages such as a large screen and a good display effect.

To meet needs of a user for various usage scenarios, some foldable screen devices may be provided with two screens. One of the two screens is an inner screen that can be folded, namely, a foldable screen, and the user can unfold the inner screen for use when watching a video or playing a game. When the user does not use the inner screen, the foldable screen device can be folded to facilitate carrying, and in this case, the inner screen is folded. The other screen is an outer screen, and the outer screen is usually smaller than the inner screen. When the user folds the foldable screen device, the inner screen is folded, and the outer screen is exposed, to help the user directly operate on the outer screen to use the foldable screen device without unfolding the inner screen. For example, the user can operate on the outer screen to answer or make a call, view messages, and the like. Usually, when the user unfolds the inner screen of the foldable screen device, the foldable screen device assumes that the user needs to use the inner screen in this case, so that the outer screen is automatically turned off.

However, when the user needs to display a screen, for example, display a payment code for payment, or share a photo or video with another person, the user needs to flip over the foldable screen device to enable the inner screen to face a display object. Fora large foldable screen device, this operation is inconvenient, which affects user experience.

<CIT> relates to an operation control method applied to a terminal, wherein the terminal includes a first screen and a second screen; and the operation control method includes receiving a first input; displaying, in response to the first input, a hovering control on a current interface of the first screen, wherein the hovering control includes at least one candidate application function icon; receiving a second input to the hovering control; determining a target application function icon from the at least one candidate application function icon in response to the second input; obtaining display information corresponding to the target application function icon; and displaying the presentation information on the second screen.

<CIT> relates to an image display method of a dual-screen device, a dual-screen device and a computer readable non-transitory storage medium. The dual-screen device includes a first screen and a second screen which is an e-ink screen and arranged opposite to the first screen. The method includes: upon detecting a display instruction for displaying an image on the second screen, obtaining a target image currently being displayed on the first screen; and displaying the target image on the second screen.

<CIT> relates to a multi-screen display method applied to a multi-screen terminal, the multi-screen terminal comprising a first display panel and a second display panel, the method comprising displaying, by the first display panel, a first user graphical interface GUI, where the first GUI includes a presentation icon and a first display object of the second display panel; obtaining a first instruction input by the user on the first GUI, where the first instruction is an instruction triggered by a first operation of the user, and the first operation is that a starting point coordinate of the sliding track is a coordinate position of the second display object, the end point coordinate is a continuous sliding operation of the coordinate position of the presentation icon; displaying, in the second display panel, a second GUI including the second display object in response to the first instruction, the second display object including all images of the first display object, or the second display object includes a partial image of the first display object, or the first display object includes at least two child display objects, and the second display object is one of the at least two child display objects.

<CIT> relates to a display control method and a terminal. The method includes: receiving a first input of a user on a first screen; switching a first program interface of a first program from being displayed on a second screen to being displayed on the first screen in response to the first input; and displaying a first floating window on the second screen. A first display content in the first floating window is updated synchronously with a second display content of the first program interface.

<CIT> relates to a method of controlling a screen display applied to an electronic device configured with a foldable touch display screen, the touch display screen comprising a first area and a second area, the method comprising the electronic device displaying a first interface in the first area; on the first interface, the electronic device detecting a first operation; and in response to the first operation, displaying a second interface on the second area, the second interface being associated with content displayed by the first interface.

This application provides a screen display method, an apparatus, a chip, an electronic device, a computer-readable storage medium, and a computer program product, to improve portability of use.

The following describes technical solutions in embodiments of this application with reference to accompanying drawings in embodiments of this application. In descriptions of embodiments of this application, unless otherwise specified, "/" means "or", for example, A/B may mean "A or B"; "and/or" used herein is only used to describe an association relationship between associated objects, and indicates that three relationships may exist. For example, "A and/or B" may indicate the following: Only A exists, both A and B exist, and only B exists. In addition, in the descriptions of embodiments of this application, "a plurality of" means two or more than two.

In the following, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be construed as indicating or implying relative importance or implicitly indicating the quantity of technical features indicated. Therefore, the features defined with "first", "second", and "third" may explicitly or implicitly include one or more of the features.

A screen display method of an electronic device that is provided in an embodiment of this application may be applied to a terminal device such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (augmented reality, AR) /virtual reality (virtual reality, VR) device, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, or a personal digital assistant (personal digital assistant, PDA). The terminal device is a terminal device including a first screen and a second screen that are respectively disposed on two opposite sides of the terminal device. A specific type of the terminal device is not limited in this embodiment of this application.

For example, <FIG> is a schematic diagram of a structure of an example terminal device <NUM> according to an embodiment of this application. The terminal device <NUM> may include a processor <NUM>, an external memory interface <NUM>, an internal memory <NUM>, a universal serial bus (universal serial bus, USB) interface <NUM>, a charging management module <NUM>, a power management module <NUM>, a battery <NUM>, an antenna <NUM>, an antenna <NUM>, a mobile communication module <NUM>, a wireless communication module <NUM>, an audio module <NUM>, a speaker 170A, a receiver 170B, a microphone 170C, a headset jack 170D, a sensor module <NUM>, a key <NUM>, a motor <NUM>, an indicator <NUM>, a camera <NUM>, a display <NUM>, a subscriber identification module (subscriber identification module, SIM) card interface <NUM>, and the like. The sensor module <NUM> may include a pressure sensor 180A, a gyro sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, an optical proximity sensor <NUM>, a fingerprint sensor <NUM>, a temperature sensor 180J, a touch sensor <NUM>, an ambient light sensor <NUM>, a bone conduction sensor <NUM>, and the like.

It can be understood that a structure shown in this embodiment of this application does not constitute a specific limitation on the terminal device <NUM>. In some other embodiments of this application, the terminal device <NUM> may include more or fewer components than those shown in the figure, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented by using hardware, software or a combination of software and hardware.

The processor <NUM> may include one or more processing units. For example, the processor <NUM> may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural-network processing unit (neural-network processing unit, NPU), and the like. Different processing units may be independent devices, or may be integrated into one or more processors.

The controller may be a nerve center and a command center of the terminal device <NUM>. The controller can generate an operation control signal based on instruction operation codes and a timing signal, and complete the control of fetching and executing instructions.

The processor <NUM> may be further provided with a memory for storing instructions and data. In some embodiments, the memory in the processor <NUM> is a cache. The memory can store an instruction or data that the processor <NUM> has just used or used cyclically. If the processor <NUM> needs to use the instruction or data again, the instruction or data can be directly invoked from the memory. Repeated access is avoided, and a waiting time of the processor <NUM> is reduced, thereby improving system efficiency.

The interfaces may include an inter-integrated circuit (inter-integrated circuit, I2C) interface, an inter-integrated circuit sound (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver/transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (general-purpose input/output, GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, and the like.

The I2C interface is a bidirectional synchronous serial bus, and includes a serial data line (serial data line, SDA) and a serial clock line (derial clock line, SCL). In some embodiments, the processor <NUM> may include a plurality of groups of I2C buses. The processor <NUM> may be coupled to the touch sensor <NUM>, a charger, a flash, the camera <NUM>, and the like by using different I2C bus interfaces. For example, the processor <NUM> may be coupled to the touch sensor <NUM> by using an I2C interface, so that the processor <NUM> communicates with the touch sensor <NUM> by using the I2C bus interface, thereby implementing a touch function of the terminal device <NUM>.

The I2S interface may be configured to perform audio communication. In some embodiments, the processor <NUM> may include a plurality of groups of I2S buses. The processor <NUM> may be coupled to the audio module <NUM> by using the I2S bus to implement communication between the processor <NUM> and the audio module <NUM>. In some embodiments, the audio module <NUM> can transmit an audio signal to the wireless communication module <NUM> by using the I2S interface, to implement a function of answering calls by using a Bluetooth headset.

The PCM interface can also be used for audio communication to sample, quantize, and encode analog signals. In some embodiments, the audio module <NUM> may be coupled to the wireless communication module <NUM> by using a PCM bus interface. In some embodiments, the audio module <NUM> can also transmit an audio signal to the wireless communication module <NUM> by using the PCM interface, to implement a function of answering calls by using a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

The UART interface is a universal serial data bus used for asynchronous communication. The bus may be a bidirectional communication bus. The bus converts to-be-transmitted data between serial communication and parallel communication. In some embodiments, the UART interface is usually configured to connect the processor <NUM> to the wireless communication module <NUM>. For example, the processor <NUM> communicates with a Bluetooth module in the wireless communication module <NUM> through the UART interface, to implement a Bluetooth function. In some embodiments, the audio module <NUM> can transmit an audio signal to the wireless communication module <NUM> by using the UART interface, to implement a function of playing music by using a Bluetooth headset. The MIPI interface may be configured to connect the processor <NUM> to peripheral devices such as the display <NUM> and the camera <NUM>. The MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and the like. In some embodiments, the processor <NUM> and the camera <NUM> communicate with each other by using the CSI interface, to implement a shooting function of the terminal device <NUM>. The processor <NUM> and the display <NUM> communicate with each other through the DSI interface, to implement a display function of the terminal device <NUM>.

The GPIO interface may be configured by using software. The GPIO interface may be configured as a control signal interface, or may be configured as a data signal interface. In some embodiments, the GPIO interface may be configured to connect the processor <NUM> to the camera <NUM>, the display <NUM>, the wireless communication module <NUM>, the audio module <NUM>, the sensor module <NUM>, and the like. The GPIO interface may alternatively be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, or the like.

The USB interface <NUM> is an interface that complies with USB standard specifications, and may be specifically a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface <NUM> may be configured to connect to the charger to charge the terminal device <NUM>, or may be configured to transmit data between the terminal device <NUM> and peripheral devices. The USB interface <NUM> may be further configured to connect to a headset and play audio by using the headset. The interface may be further configured to connect to another terminal device, such as an AR device.

It can be understood that the interface connection relationship between the modules illustrated in the embodiments of this application is merely an example for description, and does not constitute a limitation on the structure of the terminal device <NUM>. In some other embodiments of this application, the terminal device <NUM> may alternatively use an interface connection mode that is different from those in the foregoing embodiments, or use a combination of a plurality of interface connection modes.

The charging management module <NUM> is configured to receive a charging input from a charger. The charger may be a wireless charger, or may be a wired charger. In some wired charging embodiments, the charging management module <NUM> can receive a charging input of the wired charger by using the USB interface <NUM>. In some embodiments of wireless charging, the charging management module <NUM> can receive a wireless charging input by using a wireless charging coil of the terminal device <NUM>. In addition to charging the battery <NUM>, the charging management module <NUM> may further supply power to the terminal device by using the power management module <NUM>.

The power management module <NUM> is configured to connect the battery <NUM>, the charging management module <NUM>, and the processor <NUM>. The power management module <NUM> receives an input of the battery <NUM> and/or an input of the charging management module <NUM>, and supplies power to the processor <NUM>, the internal memory <NUM>, an external memory, the display <NUM>, the camera <NUM>, the wireless communication module <NUM>, and the like. The power management module <NUM> may be further configured to monitor parameters such as a battery capacity, a quantity of battery cycles, and a battery health status (leakage or impedance). In some other embodiments, the power management module <NUM> may alternatively be disposed in the processor <NUM>. In some other embodiments, the power management module <NUM> and the charging management module <NUM> may alternatively be disposed in a same device.

The wireless communication function of the terminal device <NUM> may be implemented by using the antenna <NUM>, the antenna <NUM>, the mobile communication module <NUM>, the wireless communication module <NUM>, the modem processor, the baseband processor, and the like.

The antenna <NUM> and the antenna <NUM> are configured to transmit and receive electromagnetic wave signals. In <FIG>, structures of the antenna <NUM> and the antenna <NUM> are merely an example. Each antenna in the terminal device <NUM> may be configured to cover one or more communication frequency bands. Different antennas may also be multiplexed to improve antenna utilization. For example, the antenna <NUM> may be multiplexed into a diversity antenna of a wireless local area network. In some other embodiments, the antenna may be used in combination with a tuning switch.

The mobile communication module <NUM> can provide a wireless communication solution that is applied to the terminal device <NUM>, including <NUM>/<NUM>/<NUM>/<NUM> and the like. The mobile communication module <NUM> may include at least one filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA), and the like. The mobile communication module <NUM> can receive an electromagnetic wave by using the antenna <NUM>, perform processing such as filtering and amplification on the received electromagnetic wave, and transmit a processed electromagnetic wave to the modem processor for demodulation. The mobile communication module <NUM> may further amplify a signal modulated by the modem processor and convert, by using the antenna <NUM>, the signal into electromagnetic waves for radiation. In some embodiments, at least some functional modules of the mobile communication module <NUM> may be disposed in the processor <NUM>. In some embodiments, at least some functional modules of the mobile communication module <NUM> may be disposed in a same device as at least some modules of the processor <NUM>.

The modem processor may include a modulator and a demodulator. The modulator is configured to module a to-be-sent low-frequency baseband signal into a medium-high-frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits a demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal by using an audio device (not limited to the speaker 170A, the receiver 170B, and the like), or displays an image or video by using the display <NUM>. In some embodiments, the modem processor may be an independent device. In some other embodiments, the modem processor may be independent of the processor <NUM> and disposed in a same device as the mobile communication module <NUM> or another functional module.

The wireless communication module <NUM> may provide a wireless communication solution that is applied to the terminal device <NUM>, including wireless local area network (wireless local area network, WLAN) (such as a wireless fidelity (wireless fidelity, Wi-Fi) network), Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), infrared (infrared, IR), and the like. The wireless communication module <NUM> may be one or more devices integrating at least one communication processing module. The wireless communication module <NUM> receives electromagnetic waves by using the antenna <NUM>, performs frequency modulation and filtering on an electromagnetic wave signal, and sends a processed signal to the processor <NUM>. The wireless communication module <NUM> can further receive a to-be-sent signal from the processor <NUM>, and perform frequency modulation and amplification on the signal, and the signal is converted into an electromagnetic wave and radiated by the antenna <NUM>.

In some embodiments, the antenna <NUM> of the terminal device <NUM> is coupled to the mobile communication module <NUM>, and the antenna <NUM> is coupled to the wireless communication module <NUM>, so that the terminal device <NUM> can communicate with a network and another device by using a wireless communication technology. The wireless communication technology may include a global system for mobile communications (global system for mobile communications, GSM), a general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband 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, an IR technology, and/or the like. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi-zenith satellite system, QZSS), and/or a satellite based augmentation system (satellite based augmentation system, SBAS).

The terminal device <NUM> implements a display function by using the GPU, the display <NUM>, the application processor, and the like. The GPU is an image processing microprocessor, which is connected to the display <NUM> and the application processor. The GPU is configured to perform mathematical and geometric calculations to render graphics. The processor <NUM> may include one or more GPUs that execute program instructions to generate or change display information.

The display <NUM> is configured to display an image, a video, and the like. The display <NUM> includes a display panel. The display panel may be a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (organic light-emitting diode, OLED), an active-matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), a flex light-emitting diode (flex light-emitting diode, FLED), a mini LED, a micro LED, a micro-OLED, a quantum dot light emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal device <NUM> may include one or N displays <NUM>, where N is a positive integer greater than <NUM>.

The terminal device <NUM> is a foldable screen device, and an inner screen of the terminal device <NUM> may be disposed as a display that can be folded (which is referred to as a foldable screen). The foldable screen may be an integrated flexible display, may be a spliced display including a plurality of flexible displays and hinges between every two flexible displays, or may be a spliced display including a plurality of rigid displays and hinges between every two rigid displays. This is not limited in this embodiment of this application.

For example, the terminal device <NUM> may be a foldable mobile phone. <FIG> are a schematic diagram of a structure of an example foldable screen mobile phone. Referring to <FIG>, a display of the foldable screen mobile phone includes a first screen and a second screen, where the first screen is an inner screen, the second screen is an outer screen, the inner screen is a foldable screen, and a size of the inner screen is greater than a size of the outer screen. <FIG> is a schematic diagram of an outer side of a foldable screen mobile phone in an unfolded state. Referring to <FIG>, a first portion <NUM> of the outer side of the foldable screen mobile phone may be disposed as the outer screen of the foldable screen mobile phone, and a second portion <NUM> may be disposed as a housing of the mobile phone. The first portion <NUM> and the second portion <NUM> on the outer side of the foldable screen mobile phone each may be provided with a camera. In another example of the foldable screen mobile phone, both the first portion <NUM> and the second portion <NUM> of the outer side of the foldable screen mobile phone may be disposed as the outer screen of the foldable screen mobile phone, and both the first portion <NUM> and the second portion <NUM> of the outer side of the foldable screen mobile phone may be disposed as the housing of the foldable screen mobile phone. <FIG> is a schematic diagram of an inner side of a foldable screen mobile phone in an unfolded state. Referring to <FIG>, the inner screen (namely, the foldable screen) of the foldable screen mobile phone includes a first display unit <NUM> and a second display unit <NUM>. The first display unit <NUM> and the second display unit <NUM> may display different display interfaces, or may display one display interface together. A posture or form of the foldable screen may be determined based on an included angle between the first display unit <NUM> and the second display unit <NUM>. When the included angle between the first display unit <NUM> and the second display unit <NUM> is <NUM> degrees, the foldable screen is in a fully folded state; when the included angle between the first display unit <NUM> and the second display unit <NUM> is <NUM> degrees, the foldable screen is in a fully unfolded state; and when the included angle between the first display unit <NUM> and the second display unit <NUM> is greater than <NUM> degrees and less than <NUM> degrees, the foldable screen is in a semi-folded state. It should be noted that the foldable screen is in the semi-folded state means that the foldable screen mobile phone is in the semi-folded state, that the foldable screen is in the fully folded state means that the foldable screen mobile phone is in the fully folded state, and that the foldable screen is in the fully unfolded state means that the foldable screen mobile phone is in the fully unfolded state.

The terminal device <NUM> can implement a shooting function by using the ISP, the camera <NUM>, the video codec, the GPU, the display <NUM>, the application processor, and the like.

The ISP is configured to process data fed back by the camera <NUM>. For example, during shooting, a shutter is pressed, light is transmitted to a light-sensitive element of the camera through a lens, an optical signal is converted into an electrical signal, and the light-sensitive element of the camera transfers the electrical signal to the ISP for processing, so that the electrical signal is converted into an image visible to a naked eye. The ISP can further optimize algorithms for noise, luminance, and a skin color of the image. The ISP can further optimize parameters such as exposure and a color temperature in a shooting scenario. In some embodiments, the ISP may be disposed in the camera <NUM>.

The camera <NUM> is configured to capture a still image or a video. An optical image is generated for an object through the lens and is projected to the light-sensitive element. The light-sensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (complementary metal-oxide-semiconductor, CMOS) phototransistor. The light-sensitive element converts an optical signal into an electrical signal, and then transfers the electrical signal to the ISP. The ISP converts the electrical signal into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard format of RGB, YUV, or the like. In some embodiments, the terminal device <NUM> may include one or N cameras <NUM>, where N is a positive integer greater than <NUM>.

The digital signal processor is configured to process a digital signal. In addition to processing a digital image signal, the digital signal processor can further process another digital signal. For example, when the terminal device <NUM> selects a frequency, the digital signal processor is configured to perform Fourier transform or the like on energy of the frequency.

The video codec is configured to compress or decompress a digital video. The terminal device <NUM> may support one or more types of video codecs. Therefore, the terminal device <NUM> may play or record videos in a plurality of encoding formats, such as moving picture experts group (moving picture experts group, MPEG) <NUM>, MPEG <NUM>, MPEG <NUM>, and MPEG <NUM>.

The NPU is a neural-network (neural-network, NN) computing processor. By referring to a structure of a biological neural network, such as a transfer mode between human brain neurons, the NPU quickly processes input information, and can further perform continuous self-learning. The NPU can implement applications such as intelligent cognition of the terminal device <NUM>, for example, image recognition, face recognition, voice recognition, and text understanding.

The external memory interface <NUM> may be configured to connect to an external memory card such as a Micro SD card, so as to expand a storage capacity of the terminal device <NUM>. The external memory card communicates with the processor <NUM> by using the external memory interface <NUM> to implement a data storage function. For example, music, video, and other files are stored in the external memory card.

The internal memory <NUM> may be configured to store computer executable program code, where the executable program code includes an instruction. The processor <NUM> executes various function applications and data processing of the terminal device <NUM> by running an instruction stored in the internal memory <NUM>. The internal memory <NUM> may include a program storage area and a data storage area. The program storage area can store an operating system, an application required by at least one function (for example, a sound play function or an image play function), or the like. The data storage area can store data (such as audio data or a phone book) created during use of the terminal device <NUM>. In addition, the internal memory <NUM> may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or a universal flash storage (universal flash storage, UFS).

The terminal device <NUM> can implement audio functions (such as music playing and sound recording) by using the audio module <NUM>, the speaker 170A, the receiver 170B, the microphone 170C, the headset jack 170D, the application processor, and the like.

The audio module <NUM> is configured to convert digital audio information into an analog audio signal for outputting, and is further configured to convert an analog audio input into a digital audio signal. The audio module <NUM> may be further configured to encode and decode audio signals. In some embodiments, the audio module <NUM> may be disposed in the processor <NUM>, or some functional modules of the audio module <NUM> may be disposed in the processor <NUM>.

The speaker 170A, also referred to as a "horn", is configured to convert an audio electrical signal into a sound signal. The terminal device <NUM> can listen to music or answer a hands-free call by using the speaker 170A.

The receiver 170B, also referred to as an "earpiece", is configured to convert an audio electrical signal into a sound signal. When the terminal device <NUM> receives a call or a voice message, the receiver 170B can be placed close to an ear to receive the voice.

The microphone 170C, also referred to as a "loudspeaker", is configured to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can make the mouth approach the microphone 170C and emit a sound, to input a sound signal to the microphone 170C. The terminal device <NUM> may be provided with at least one microphone 170C. In some other embodiments, the terminal device <NUM> may be provided with two microphones 170C, which can implement noise reduction function in addition to collecting sound signals. In some other embodiments, the terminal device <NUM> may alternatively be provided with three, four, or more microphones 170C to implement sound signal collection, noise reduction, sound source recognition, directional recording, and the like functions.

The headset jack 170D is configured to connect to a wired headset. The headset jack 170D may be a USB interface <NUM>, or may be a <NUM> open mobile terminal device platform (open mobile terminal platform, OMTP) standard interface, or a cellular telecommunications industry association of the USA (cellular telecommunications industry association of the USA, CTIA) standard interface.

The pressure sensor 180A is configured to sense a pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display <NUM>. There are many types of pressure sensors 180A, such as a resistive pressure sensor, an inductive pressure sensor, and a capacitive pressure sensor. The capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, a capacitance between electrodes changes. The terminal device <NUM> determines a pressure intensity based on a change of the capacitance. When a touch operation is performed on the display <NUM>, the terminal device <NUM> detects a touch operation intensity based on the pressure sensor 180A. The terminal device <NUM> can further calculate a touch position based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that are performed on a same touch position but have different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose touch operation intensity is less than a first pressure threshold is applied to an SMS application icon, an instruction for viewing an SMS message is executed. When a touch operation whose touch operation intensity is greater than or equal to the first pressure threshold is performed on the SMS application icon, an instruction for creating an SMS message is executed.

The gyro sensor 180B may be configured to determine a movement posture of the terminal device <NUM>. In some embodiments, the gyro sensor 180B may be configured to determine angular velocities of the terminal device <NUM> around three axes (that is, x, y, and z axes). The gyro sensor 180B may be configured to implement image stabilization during shooting. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the terminal device <NUM>, calculates a distance that a lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the terminal device <NUM> through reverse movement to implement image stabilization. The gyro sensor 180B can further be used in navigation and somatosensory gaming scenarios.

The barometric pressure sensor 180C is configured to measure a barometric pressure. In some embodiments, the terminal device <NUM> calculates an altitude based on a barometric pressure value measured by the barometric pressure sensor 180C, to assist in positioning and navigation.

The magnetic sensor 180D includes a Hall sensor. The terminal device <NUM> can use the magnetic sensor 180D to detect opening and closing of a flip holster. In some embodiments, when the terminal device <NUM> is a flip phone, the terminal device <NUM> can detect opening and closing of a flip based on the magnetic sensor 180D, so as to set features such as automatic unlocking of the flip based on the detected opening and closing state of the holster or the opening and closing state of the flip.

The acceleration sensor 180E can detect magnitudes of acceleration of the terminal device <NUM> in various directions (generally three axes). When the terminal device <NUM> is still, a gravity and a direction may be detected. The acceleration sensor 180E may be further configured to identify the posture of the terminal device, and be used in applications such as switching between a landscape screen and a portrait screen, and a pedometer.

The distance sensor 180F is configured to measure a distance. The terminal device <NUM> may measure a distance by using infrared or laser. In some embodiments, in a shooting scenario, the terminal device <NUM> can use the distance sensor 180F to measure a distance to implement quick focusing.

The optical proximity sensor <NUM> may include, for example, a light-emitting diode (LED) and an optical detector such as a photodiode. The light-emitting diode may be an infrared light emitting diode. The terminal device <NUM> emits infrared light outward by using the light-emitting diode. The terminal device <NUM> uses the photodiode to detect infrared reflected light from a nearby object. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device <NUM>. When insufficient reflected light is detected, the terminal device <NUM> can determine that there is no object near the terminal device <NUM>. The terminal device <NUM> can use the optical proximity sensor <NUM> to detect that the user holds the terminal device <NUM> close to the ear, to automatically turn off the screen to save power. The optical proximity sensor <NUM> may alternatively be used in a holster mode or a pocket mode to automatically unlock or lock the screen. The ambient light sensor <NUM> is configured to sense brightness of ambient light. The terminal device <NUM> can adaptively adjust luminance of the display <NUM> based on the sensed luminance of the ambient light. The ambient light sensor <NUM> can also be configured to automatically adjust white balance during shooting. The ambient light sensor <NUM> can further cooperate with the optical proximity sensor <NUM> to detect whether the terminal device <NUM> is in a pocket, to prevent accidental touch.

The fingerprint sensor <NUM> is configured to collect a fingerprint. The terminal device <NUM> can use the collected fingerprint characteristics to implement fingerprint-based unlocking, application lock accessing, fingerprint-based shooting, fingerprint-based incoming call receiving, and the like. The temperature sensor 180J is configured to detect a temperature. In some embodiments, the terminal device <NUM> executes a temperature processing policy based on the temperature detected by the temperature sensor 180J. For example, when a temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device <NUM> degrades performance of a processor located near the temperature sensor 180J, to reduce power consumption and implement thermal protection. In some other embodiments, when the temperature is lower than another threshold, the terminal device <NUM> heats the battery <NUM>, to avoid abnormal shutdown of the terminal device <NUM> due to a low temperature. In some other embodiments, when the temperature is lower than still another threshold, the terminal device <NUM> boosts an output voltage of the battery <NUM>, to avoid abnormal shutdown due to a low temperature.

The touch sensor <NUM> is also referred to as a "touch panel". The touch sensor <NUM> may be disposed on the display <NUM>, and the touch sensor <NUM> and the display <NUM> form a touchscreen, which is also referred to as a "touch-controlled screen". The touch sensor <NUM> is configured to detect a touch operation performed on or near the touch sensor <NUM>. The touch sensor can transmit a detected touch operation to the application processor to determine a type of a touch event. The display <NUM> may be configured to provide a visual output related to the touch operation. In some other embodiments, the touch sensor <NUM> may alternatively be disposed on a surface of the terminal device <NUM>, which is different from the position of the display <NUM>.

The bone conduction sensor <NUM> can obtain a vibration signal. In some embodiments, the bone conduction sensor <NUM> can obtain a vibration signal obtained from bone mass vibration by a human voice part. The bone conduction sensor <NUM> can be further in contact with the human pulse to receive a blood pressure and pulse signal. In some embodiments, the bone conduction sensor <NUM> may alternatively be disposed in a headset to be combined into a bone conduction headset. The audio module <NUM> can obtain a speech signal through parsing based on the vibration signal that is obtained by the bone conduction sensor <NUM> from bone mass vibration by the voice part, to implement a speech function. The application processor can parse heart rate information based on the blood pressure and pulse signal obtained by the bone conduction sensor <NUM>, to implement a heart rate detection function.

The key <NUM> includes a power-on key, a volume key, or the like. The key <NUM> may be a mechanical key, or may be a touch key. The terminal device <NUM> can receive a key input, and generate a key signal input related to user setting and function control of the terminal device <NUM>.

The motor <NUM> can generate a vibration prompt. The motor <NUM> may be configured to provide an incoming call vibration prompt, or may be configured to provide a touch vibration feedback. For example, touch operations that act on different applications (such as shooting and audio playback) may be corresponding to different vibration feedback effects. The motor <NUM> may also correspond to different vibration feedback effects for touch operations performed on different areas of the display <NUM>. Different application scenarios (such as time reminding, receiving information, alarm clock and games) can also correspond to different vibration feedback effects. A touch vibration feedback effect may further be customized.

The indicator <NUM> may be an indicator light, which may be configured to indicate a charging state and a power change, or to indicate a message, a missed call, a notification, or the like.

The SIM card interface <NUM> is configured to connect to a SIM card. The SIM card may be inserted into the SIM card interface <NUM> or removed from the SIM card interface <NUM> to implement contact and separation from the terminal device <NUM>. The terminal device <NUM> can support one or N SIM card interfaces, where N is a positive integer greater than <NUM>. The SIM card interface <NUM> can support the Nano SIM card, the Micro SIM card, the SIM card, and the like. A same SIM card interface <NUM> may be connected to a plurality of cards. The plurality of cards may be of the same type or different types. The SIM card interface <NUM> can also be compatible with different types of SIM cards. The SIM card interface <NUM> can also be compatible with an external memory card. The terminal device <NUM> interacts with a network by using the SIM card, to implement functions such as making a call and data communication. In some embodiments, the terminal device <NUM> uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the terminal device <NUM> and cannot be separated from the terminal device <NUM>.

A software system of the terminal device <NUM> may use a hierarchical architecture, an event-driven architecture, a microkernel architecture, a micro-service architecture, or a cloud architecture. In this embodiment of this application, an Android system with a hierarchical architecture is used as an example to describe a software architecture of a terminal device <NUM>.

<FIG> is a block diagram of a software architecture of a terminal device <NUM> according to an embodiment of this application. The hierarchical architecture divides software into layers, and each layer has a clear function and division of labor. The layers communicate with each other by using a software interface. In some embodiments, the Android system is divided into four layers: an application layer, an application framework layer, an Android runtime (Android runtime) and system library layer, and a kernel layer from top down.

As shown in <FIG>, the application packages may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, system user interface (system UI), and another third party application (application, APP).

The system user interface is used to display a quick service interface and a pull-down taskbar.

The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications at the application layer. The API may include an API <NUM> and an API <NUM>, where the API <NUM> is an interface for adding a window display, and the API <NUM> is an interface for registering a collaboration service.

As shown in <FIG>, the application framework layer may include a window manager (window manager), a content provider, a view system, a phone manager, a resource manager, a notification manager, an input manager (input manager), a display manager (display manager, that is, a screen manager), and the like.

The window manager is used to manage a window program. The window manager may obtain a display size, determine whether there is a status bar, lock a screen, take a screenshot, and the like. The content provider is used to store and obtain data, and enables these data to be accessible to an application. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, and the like.

The view system includes visual controls, such as a control for displaying text and a control for displaying pictures. The view system may be used to build an application. The display interface may include one or more views. For example, a display interface that includes an SMS notification icon may include a view for displaying text and a view for displaying pictures.

The phone manager is used to provide communication functions of a terminal device <NUM>, such as call state management (including connecting, hanging up, or the like).

The resource manager provides resources for applications, such as localized strings, icons, images, layout files, and video files.

The notification manager enables an application to display notification information in the status bar, which can be used to convey a notification-type message, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used for notifying download completion or as a message reminder. The notification manager may alternatively be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification for an application running in the background, or a notification that appear on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt tone is made, a terminal device is vibrating and, an indicator light is flashing.

The input manager is used to a handle touch operation of a user, such as a tap operation, a slide operation, a double-tap operation, or the like.

The display manager is used to manage the inner screen and the outer screen, and control display content to be displayed on the inner screen and/or the outer screen.

The Android runtime includes a core library and a virtual machine.

The core library includes two parts: a function that needs to be invoked in JAVA language and a core library of the Android.

The application layer and the application framework layer run on the virtual machine. The virtual machine executes JAVA files at the application layer and the application framework layer as binary files. The virtual machine is configured to implement functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

A system library may include a plurality of function modules, such as a surface manager (surface manager), media libraries (media libraries), 3D graphics processing library (for example, OpenGL ES), and a 2D graphics engine (for example, SGL).

The surface manager is used to manage a display subsystem, and provide fusion of 2D and 3D layers for multiple applications.

The media libraries support multiple common audio and video formats for playback and recording, as well as static image files. The media libraries may support a variety of audio and video encoding formats, such as MPEG4, H. <NUM>, MP3, AAC, AMR, JPG, and PNG.

The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

The 2D graphics engine is a graphics engine for 2D graphics.

The kernel layer includes at least a display driver, a camera driver, an audio driver, a sensor driver, an inner screen driver, and an outer screen driver.

The terminal device may be an electronic device including an inner screen and an outer screen, or may be a foldable screen device including an outer screen. Using the foldable screen device including the outer screen as an example, one of screens is an inner screen that can be folded, namely, a foldable screen, and the user can unfold the inner screen for use when watching a video or playing a game. When the user does not use the inner screen, the foldable screen device can be folded to facilitate carrying. The other screen is an outer screen, and the outer screen is disposed on an opposite side of the inner screen. When the user folds the foldable screen device, the inner screen is folded, and the outer screen is exposed, to help the user directly operate on the outer screen to use the foldable screen device without unfolding the inner screen. For example, the user can operate on the outer screen to answer or make a call, turn off an alarm clock, and the like. Usually, when the user unfolds the foldable screen device, the inner screen is unfolded, the foldable screen device assumes that the user needs to use the inner screen in this case, and the outer screen is automatically turned off. However, when the user uses the inner screen, if code scanning payment is required, the user needs to open a payment code on the inner screen and flip over the foldable screen device, to enable the inner screen to face a barcode scanner, to perform code scanning. This is inconvenient for operation of a big-volume foldable screen device and affects user experience.

In a technical solution of this application, when the user needs to display a screen to another person or another device, for example, display a payment code for payment, the outer screen may be turned on by a quick operation, and the payment code that needs to be displayed is projected to the outer screen of an electronic device <NUM> for display. As shown in <FIG>, for example, when the user needs to perform code scanning payment, the operation of code scanning payment can be completed by displaying the payment code to a barcode scanner <NUM> by using the outer screen without a need to flip over the electronic device <NUM>, so that the code scanning is more convenient, portability of the electronic device <NUM> to perform code scanning is improved, and viewing of the user on the inner screen is not affected, so as to improve user experience.

For ease of understanding, in the following embodiments of this application, a terminal device having the structure shown in <FIG> and <FIG> is used as an example, and a screen display method of an electronic device provided in this embodiment of this application is described in detail with reference to accompanying drawings and application scenarios.

When a user uses an inner screen, for example, when the user reads a novel by viewing the inner screen, the inner screen may display an interface of novel content as shown in <FIG>, and an outer screen is turned off. If the user needs to perform code scanning payment on a purchase at this time, the user can operate on the inner screen to open a payment code and project the payment code to the outer screen for display, so as to scan the code. For example, when the user needs to display the payment code, an operation, as shown in <FIG>, that a pull-down taskbar is enabled by pulling down from the top of the inner screen may be performed on the inner screen. In this case, the inner screen displays a pull-down taskbar as shown in <FIG>, and the pull-down taskbar includes a "quick service" icon. As an operation shown in <FIG>, the user may tap the "quick service" icon, to open a window of the quick service as shown in <FIG>. The window of the quick service may include at least one control, each control corresponds to one APP, and the user can open a corresponding page of a corresponding APP by tapping the control. Optionally, the window of the quick service may be displayed in a form of a floating window as shown in <FIG>, and the outer screen also synchronously displays a window of the quick service as shown in <FIG> is a schematic diagram of a rear view of an unfolded electronic device, and the diagram includes an outer screen and a rear cover with a camera.

As an operation shown in <FIG>, the user taps on a control of payment code A, and in response to the operation of the user, the foldable screen device switches the window of the quick service to the payment code A shown in <FIG>, and also switches the window of the quick service to the payment code A as shown in <FIG> on the outer screen. The user can align the outer screen with the barcode scanner to facilitate code scanning payment without a need to invert the electronic device for code scanning.

In some other embodiments, the user may also double-tap a back of the electronic device (for example, double-tap the outer screen of the foldable screen) to wake up the outer screen (that is, turn on the outer screen), and display the window of the quick service as shown in <FIG> on the outer screen. Optionally, in response to an operation of double-tapping the back, the inner screen may also display the window of the quick service in the form of a floating window, as shown in <FIG>.

In an unfolded state, the electronic device turns off an operation authority of the outer screen. When the operation authority of the outer screen is turned off, the user cannot tap the outer screen to operate, and only an owner holding the electronic device in hand can open the payment code by tapping the control of the payment code on the inner screen, so as to avoid information disclosure caused by another person opening the payment code from the outer screen.

In a folded state, the electronic device turns on the operation authority of the outer screen, and when the operation authority of the outer screen is turned on, the user may turn on the payment code by tapping the control of the payment code in the window of the quick service on the outer screen to perform code scanning payment.

As shown in <FIG>, that the window of the quick service includes four controls, namely, local health kit, payment code A, payment code B, and transport code, is used as an example. When the user taps a control of the local health kit in the window of the quick service, the outer screen can display a health code carrying personal health information. The health code can identify a health status of the user, to help the user scan the code for passing, or record the personal health information. When the user taps the control of the transport code in the window of the quick service, the outer screen can display the transport code, to help the user scan the transport code or pass a gate.

In some embodiments, controls in the window of the quick service may include corresponding controls of default APPs, and the user can edit types of the controls as required, including adding or deleting a control. For example, the user may perform an operation as shown in <FIG>, that is, tapping the setting button in the window of the quick service, and the window of the quick service may display a shortcut application setting interface as shown in <FIG>. The shortcut application setting interface includes a list of a plurality of APPs supporting the quick service, and each entry in the list includes a control key of the APP. The user can tap the control key of the APP to delete, from the quick service, the APP that has been added to the quick service. For example, if the user taps the control key of the payment code A on the shortcut application setting interface as shown in <FIG>, the quick service function of the payment code A is disabled, and as shown in <FIG>, the control of the payment code A no longer appears in the window of the quick service. The user can also add an APP that does not enable the quick service function to the quick service by tapping the control key. For example, if the user taps a control key of an application C on the shortcut application setting interface as shown in <FIG>, a quick service function of the application C is enabled, and as shown in <FIG>, a control of the application C may be added to the window of the quick service. If no APP on a current shortcut application setting interface needs to be edited, the user can also drag the list up and down to find an APP, or input a name of the APP in a search bar for searching, so that the user can easily edit the APP in the quick service, and use of the quick service is more flexible.

In the foregoing embodiment, the user can display a code scanning interface that needs to be displayed on the outer screen by operating the electronic device, and the code may include a payment code, a health code, a transport code, and the like. Therefore, the user does not need to flip over the electronic device to display the code scanning interface by using the inner screen, and only needs to display the outer screen to implement code scanning, thereby facilitating a code scanning operation. In addition, the user can also perform the code scanning operation without interrupting viewing of the inner screen by the user, thereby improving user experience.

In some embodiments, during installation, a third-party APP may send, by using an application programming interface (application programming interface, API) <NUM>, registration information to a window manager for registration in a system, and the registration information is used to represent that the third-party APP can provide an outer screen collaboration service, for example, the information includes an icon of the third-party APP, a service name, and a callback method. A third-party APP that is not registered in the system can be considered to be unable to provide the outer screen collaboration service. Optionally, when running for the first time after the installation is completed, the third-party APP may send, by using the API <NUM>, registration information to the window manager for registration in the system, or the third-party APP may store the registration information to a fixed path during installation, and the electronic device may obtain the registration information based on the fixed path when the electronic device is started, to determine which APP can provide the outer screen collaboration function. Optionally, the electronic device may also preset registration information of some third-party APPs in the system, such as a payment APP, and a transport APP, which are often APPs that people need to use on the outer screen, so that the electronic device may preset registration information of these APPs. It should be noted that the foregoing API <NUM> is an interface different from an API <NUM>: The API <NUM> is an interface used by the third-party APP to add a window for display, and the API <NUM> is an interface used by the third-party APP to register and coordinate with the window manager.

<FIG> illustrate in detail an outer screen display process of an electronic device by using a scenario in which a user opens an outer screen for code scanning payment when reading a novel through a browser as an example. The process includes:.

In this case, the user can perform code scanning payment by using the outer screen without a need to flip over the electronic device, to make the code scanning payment more convenient.

If a user needs to share a screen with another person, the user can also project an interface of an inner screen to an outer screen for display by enabling an outer screen collaboration function, and the another person can view, by using the outer screen, the interface that the user needs to display. The user does not need to flip over an electronic device to share the screen with another user, to make screen sharing more convenient.

For example, an owner displays a picture to another person. After the user opens a gallery, the inner screen may display an interface of the gallery as shown in <FIG>, and the interface of the gallery includes a plurality of photos. The user may perform an operation as shown in <FIG>, that is, pulling down from the top of the inner screen, and then the top of the inner screen displays a pull-down taskbar as shown in <FIG>. The pull-down taskbar includes a screen-projecting control. <FIG> show an example in which the screen-projecting control is displayed as a control of "outer screen collaboration".

If the user performs an operation of tapping the control of the "outer screen collaboration" in the pull-down taskbar as shown in <FIG>, the outer screen may be an interface of the gallery as shown in <FIG>. If the user performs an operation of tapping one of the pictures as shown in <FIG>, the inner screen unfolds to display the picture. In this case, if the outer screen is in an outer screen collaboration mode, the outer screen can be expanded to display the picture tapped by the user as shown in <FIG>. Another person can view, by using the outer screen, the picture tapped by the user. When the user slides left and right to switch the picture on the inner screen, the outer screen may synchronously display content displayed on the inner screen, so that another person can view, by using the outer screen, the content that the user needs to share.

In some embodiments, when an outer screen collaboration function is enabled, the electronic device may turn off an operation authority of the outer screen, to prevent another person from operating on the outer screen to switch displayed content, so as to prevent privacy disclosure of the user. In some embodiments, when the outer screen collaboration function is enabled, the electronic device may also turn on the operation authority of the outer screen, so that another user operates on the outer screen for use in a process of observing the outer screen; for example, the another user can slide the outer screen left and right to switch a picture, tap an editing control on the outer screen to edit a picture, tap a collecting control on the outer screen to collect a picture, or tap a sharing control on the outer screen to share a picture to another application. The operation authority of the outer screen of the electronic device is turned on, interaction between the inner screen and the outer screen in a process of collaboration can be improved, so as to enrich a collaboration function of the electronic device.

In some embodiments, when enabling the outer screen collaboration function, the user may also select a mirror collaboration mode or an asynchronous collaboration mode as required. The mirror collaboration mode is a mode in which the outer screen and the inner screen display the same content. The asynchronous collaboration mode is a mode in which content displayed on the outer screen is different from or is not identical with content displayed on the inner screen; for example, the outer screen displays the interface of an APP <NUM>, and the inner screen displays the interface of an APP <NUM>, or the outer screen displays the interface of the APP <NUM>, and the inner screen displays the interface of the APP <NUM> in a form of a floating window in addition to the interface of the APP <NUM>.

In the mode of asynchronous collaboration, the electronic device can project an interface of an APP that runs on the forefront end to the outer screen for display, and an interface of another APP can be displayed only on the inner screen. For example, the user invokes the quick service while viewing content of the browser. In this case, the electronic device is in the asynchronous collaboration mode by default. The window of the quick service is displayed in the form of a floating window while the interface of the browser is displayed on the inner screen, and the outer screen displays only the window of the quick service, but does not display the interface of the browser.

In some embodiments, when the user needs to display a picture to another person, the user can enable the pull-down taskbar by performing an operation of pulling down from the top of the inner screen, as shown in <FIG>, on an interface of the gallery displayed on the inner screen, and the inner screen displays the pull-down taskbar as shown in <FIG>. In the pull-down taskbar, the user taps the control of the "outer screen collaboration", and the interface of the inner screen pops up a selection window of the collaboration mode as shown in <FIG>. The selection window of the collaboration mode includes a control of the mirror collaboration and a control of the asynchronous collaboration, and the user may select an appropriate collaboration mode as required.

When the user selects the mode of the mirror collaboration, the outer screen displays the same content as the inner screen, for example, the outer screen displays an interface of a gallery as shown in <FIG>. When the user opens one of the pictures in the gallery, the outer screen is also expanded to display the picture. When the user slides back and forth on the inner screen to switch between pictures, the outer screen also switches between pictures accordingly.

Optionally, the user may also tap a "cancel" control in the selection window of the collaboration mode to disable the outer screen collaboration function. In some embodiments, some applications may be set to a default outer screen collaboration mode. For example, in the embodiment shown in <FIG>, when the user enables the outer screen collaboration function of the gallery, the gallery application may be set to a default mirror collaboration mode, and the user does not need to select.

In some embodiments, when the user needs to display a video to another person, as a process of the embodiment as shown in <FIG>, when the user enables the outer screen collaboration function, the outer screen displays the same video content as that displayed on the inner screen, to implement video sharing. The user can also control video playing by operating on a video playing interface on the inner screen. For example, the user taps a key such as start, pause, or stop in the video playing interface on the inner screen, and the outer screen can also synchronously display the interface of video that is being played on the inner screen in response to the operation of the user.

<FIG> illustrate in detail a process of displaying a picture on an outer screen of an electronic device by using a scenario in which a user shares a picture as an example. The process includes:.

In this case, the user can display the picture to another person by using the outer screen without a need to flip over the electronic device, to make sharing of the picture more convenient.

When a parent needs to use an electronic device to take a picture of a child, in a scenario as shown in <FIG>, if the parent is worried that inattention of the child affects a shooting effect, the parent can use an outer screen to play a cartoon to attract attention of the child before shooting is performed. In this case, an inner screen can display an interface for shooting preview. In this way, shooting performed by the parent is not affected, and the attention of the child is attracted, thereby improving a shooting effect and speed.

Specifically, a user as a parent may play a locally stored cartoon or enable another video APP to play a video. In this case, the inner screen may display an interface of video playing as shown in <FIG>. When the user performs an operation of pulling down from the top of the inner screen as shown in <FIG>, the inner screen displays a pull-down taskbar as shown in <FIG>. The user performs an operation as shown in <FIG>, that is, tapping a control of "outer screen collaboration" in the pull-down taskbar, and an interface of the inner screen pops up a selection window of a collaboration mode as shown in <FIG>. The selection window of the collaboration mode includes a control of mirror collaboration and a control of asynchronous collaboration. When the user taps a control of "asynchronous collaboration" in the interface shown in <FIG>, the outer screen may display an interface of video playing as shown in <FIG>.

Optionally, to allow the child to view a larger video interface, the electronic device may also be held horizontally, that is, the outer screen is in a landscape orientation mode, in this case the outer screen may display the interface of video playing in the landscape orientation as shown in <FIG>.

In this case, an outer screen authority of the electronic device can be turned off, and the child cannot operate on the outer screen and only has a viewing authority, so as to prevent a misoperation of the child from affecting shooting. The user may operate on the inner screen to control video playing, for example, tap a control such as a playback, pause, or next episode, to control video playing.

When a child views a cartoon by using the outer screen, the user can enable a shooting APP for shooting or video recording. Optionally, as an operation shown in <FIG>, the user may slide from a side of the inner screen toward a middle of the inner screen to exit the video playing interface. In this case, the video playing interface is not closed because the electronic device is in an outer screen collaboration state, but is displayed in a corner of the inner screen in a form of a reduced floating window as shown in <FIG>. Then, the user can enable a camera for shooting by tapping an icon of the camera on the desktop as shown in <FIG>. In a shooting process performed by the user, the outer screen can always play the cartoon to attract the attention of the child, and the inner screen displays a preview interface of shooting as shown in <FIG>. Optionally, as an operation shown in <FIG>, the user may slide from the side of the inner screen toward the middle of the inner screen to exit the video playing interface. In this case, because the electronic device is in the outer screen collaboration state, the video playing interface is displayed in a corner of the inner screen in the form of a reduced floating window as shown in <FIG>. Then, the user can enable a camera for shooting by tapping an icon of the camera on the desktop as shown in <FIG>. In a shooting process performed by the user, the outer screen can always play the cartoon to attract the attention of the child, and the inner screen displays a preview interface of shooting as shown in <FIG>.

Optionally, in an asynchronous collaboration mode, as an operation shown in <FIG>, the user may also slide from the side of the inner screen toward the middle of the inner screen and pause, to open a side bar as shown in <FIG>, and tap the icon of the camera from the side bar, to enable the camera for shooting. In this case, the inner screen may display the preview interface of shooting as shown in <FIG>, and simultaneously display the interface of video playing displayed on the outer screen in a form of a floating ball on the inner screen. The user can alternatively drag the floating window or the floating ball on the inner screen, to move to a different position, so as to avoid a region of an operation. The user can set a parameter of camera shooting by operating on the inner screen in the preview interface of shooting.

<FIG> illustrate in detail a process of displaying a video on an outer screen of an electronic device by using a scenario in which a user plays the video to a child by using the outer screen and shoots the child simultaneously as an example. The process includes:.

In this way, the user can play a video to the child by using the outer screen to attract the attention of the child, and simultaneously use the interface of preview shooting of the inner screen for shooting. In this way, shooting performed by the parent is not affected, and the attention of the child is attracted, to make the child cooperative during shooting, thereby improving a shooting effect and speed.

When the user enables the camera to shoot the child and finds that the child is distracted, the user may slide from the side of the screen toward the middle of the screen and pause, to open the side bar in the interface of shooting preview as shown in <FIG>, and the side bar may be displayed on the inner screen as shown in <FIG>. The user taps the video player in the interface shown in <FIG> to play the video, and in this case, as shown in <FIG>, the interface of the video player can be displayed in the form of a floating window above the preview interface of the camera. In this case, the user can enable the outer screen collaboration and select the asynchronous collaboration in the pull-down taskbar, so that the inner screen can display an interface as shown in <FIG> or <FIG>, that is, the preview interface of the camera and a floating window or a floating ball of a reduced video player; and the outer screen may display, as shown in <FIG>, <FIG>, an interface of the video player.

When the user ends display, the user can tap the control of the outer screen collaboration in the pull-down taskbar to disable the outer screen collaboration. In this case, the outer screen can be turned off or display the desktop of the outer screen, instead of displaying the previously displayed interface.

<FIG> is a flowchart of another example screen display method according to an embodiment of this application. The method is applied to an electronic device including a first screen and a second screen. In this embodiment, that the first screen is an inner screen and the second screen is an outer screen, where the inner screen and the outer screen are respectively disposed on two opposite sides of the electronic device is used as an example for description. The method includes:.

Through the window of the quick service, the electronic device receives the second operation performed by the user to select the first control. For example, the second operation is an operation of tapping a first control that needs to be displayed from at least one service control in the window of the quick service.

In some embodiments, an operation authority of the outer screen may be in a turn-off state, to avoid privacy disclosure or information loss due to a misoperation performed by another person, and the user may perform the second operation on the inner screen. In some embodiments, the operation authority of the outer screen may be in a turn-on state, and another person may perform the second operation on the outer screen to select the first control, to select a to-be-displayed service code as required with permission of an owner, thereby further facilitating use.

S1904: Display, in response to the second operation, a second interface corresponding to the first control on the second screen.

In response to the second operation, the electronic device displays the second interface corresponding to the first control on the outer screen, such as a service code. For example, if the first control selected by the user is a control of the payment APP, a corresponding service code may be the payment code; if the first control selected by the user is a control of a personal health APP, a corresponding service code may be a personal health code; and if the first control selected by the user is a control of a transport APP, a corresponding service code may be a transport code. It should be noted that the service code herein may be in a form of a bar code, a quick response code, or the like. A specific form of the service code is not limited in this embodiment of this application.

In the foregoing embodiment, the electronic device can display the first interface on the outer screen based on the first operation of the user, for example, the window of the quick service, and then under triggering of the second operation, display, by using the outer screen, the second interface corresponding to the first control selected by the user, for example, the interface of the service code, to avoid inconvenience caused to the user due to flipping over the electronic device for code scanning, and make the code scanning operation more convenient and fast. When the electronic device is in a folded state, that is, the inner screen is in the folded state, the inner screen is turned off in this case. If the user can double-tap the outer screen to wake up the outer screen, and the operation authority of the outer screen is in the turn-on state, the user can perform the second operation on the outer screen to open the corresponding second interface. In this way, the user can scan a code without a need to unfold the inner screen, thereby improving convenience of code scanning.

In some embodiments, a possible implementation of step S1901 may include: receiving the first operation when the first screen displays a third interface, where the third interface is one of the following interfaces: a lock screen interface, an AOD interface, a desktop, and an interface of a first APP. When the user views the interface of the first APP displayed on the inner screen, for example, when the user uses a browser to display the content of a novel, and in this case, if the user needs to perform an operation such as code scanning payment or code scanning ride, the first operation may be performed to open the window of the quick service (that is, the first interface), and the second operation may be performed in the window of the quick service to enable the outer screen to display the service code that needs to be displayed (that is, the second interface), so that the user can use the outer screen to perform the code scanning operation without flipping over the electronic device. Because only the service code is displayed on the outer screen, the first interface of the first APP does not need to be displayed to another person or device, so that information of the user is prevented from being disclosed, and the user can perform code scanning while continuously using the first APP, thereby protecting privacy of the user and improving code scanning experience of the user.

Optionally, the first APP may be any one of a browser APP, a video APP, a game APP, a conference APP, a document APP, and a video call APP. That the user operates the electronic device to display the service code that needs to be displayed on the outer screen may not affect that the user uses any one of the browser APP, the video APP, the game APP, the conference APP, the document APP, and the video call APP on the inner screen, thereby improving the code scanning experience of the user.

In some embodiments, the first operation is an operation of sliding down on the inner screen (that is, the first screen) to enable a pull-down taskbar and tapping a control of a quick service in the pull-down taskbar. When using the inner screen, the user can slide down from the top of the inner screen to enable the pull-down taskbar, and tap the control of the quick service in the pull-down taskbar to open the window of the quick service. This manner is more accurate and does not cause misoperation.

In some embodiments, the first operation is an operation of double-tapping the outer screen (that is, the second screen). The user can also perform the operation of double-tapping on the outer screen to turn on the outer screen and open the window of the quick service on the outer screen. In this way, the user can open the window of the quick service by the quick service, double-tapping on the outer screen, without a need to accurately operate on the inner screen, so that an operation manner is more flexible and more convenient.

In some embodiments, the first interface includes at least one of a control of the payment code, a control of the transport code, and a control of the personal health code. The payment code, the transport code, and the personal health code are most frequently used service codes, and one or more of these service codes are stored in the window of the quick service, to significantly reduce a quantity of times that the user manually enables an APP to open a service code, thereby improving user experience.

In some embodiments, the user may also manage (for example, add or delete) the service control in the window of the quick service.

For example, the window of the quick service in <FIG> includes: a control of local health kit, a control of payment code A, a control of payment code B, and a control of transport code. The user may perform a third operation. For the third operation, refer to the operation, shown in <FIG>, of tapping the second control in the window of the quick service on the inner screen. The second control may be a menu control. The electronic device receives and responds to the third operation, and displays an APP management list as shown in <FIG> in the window of the quick service displayed on the inner screen. The APP management list includes icons of a plurality of APPs supporting the quick service and a plurality of state buttons, and the icons of the plurality of APPs supporting the quick service are in an one-to-one correspondence with the plurality of state buttons; that is, an icon of each APP of the quick service corresponds to a state button representing a state thereof. Each state button may include two states: turn-on and turn-off. The turn-on state indicates that the window of the quick service includes a control of an APP of a quick service corresponding to the state button. If the user needs to delete an icon of an APP corresponding to the state button from the window of the quick service, the state button may be manually switched to be in the turn-off state. The turn-off state indicates that the window of the quick service does not include a control of a corresponding APP. If the user needs to add the icon of the APP corresponding to this state button to the window of the quick service, the state button may be manually switched to be in the turn-on state. When the electronic device receives a fourth operation performed by the user on a target state button, where the target state button is any one of the plurality of state buttons, in response to the fourth operation, the electronic device may add or delete the icon of the APP that supports the quick service and that corresponds to the target state button in the window of the quick service. That is, if the target state button is in the turn-off state, the turn-off state may be switched to the turn-on state when the user performs the fourth operation of tapping the target state button. Originally, the window of the quick service does not include the icon of the APP corresponding to the target state button, and in this case, the icon of the APP corresponding to the target state button can be added to the window of the quick service. If the target state button is in the turn-on state, when the user performs the fourth operation of tapping the target state button, the turn-on state may be switched to the turn-off state. Originally, the window of the quick service includes the icon of the APP corresponding to the target state button, and in this case, the icon of the APP corresponding to the target state button may be deleted from the window of the quick service. In this embodiment, the user can open the APP management list by operating the menu control in the window of the quick service, and then manage the service control in the window of the quick service by operating the state button corresponding to the icon of the APP supporting the quick service in the APP management list. In the method, the user may manages a type of the service control in the window of the quick service, so that personalized requirements of different users can be satisfied by an operation of invoking the service code through the window of the quick service, thereby improving user experience.

<FIG> is a flowchart of another example screen display method according to an embodiment of this application. The method is applied to an electronic device, and the electronic device includes a first screen and a second screen. In this embodiment, that the first screen is an inner screen, and the second screen is an outer screen, where the first screen and the second screen are respectively disposed on two opposite sides of the electronic device is used as an example for description. The method includes:.

When the user needs to perform code scanning, the fifth operation of enabling the collaboration function of the inner screen and the outer screen may be performed, for example, the user taps an enable button of the collaboration function on a desktop, or slides down a pull-down taskbar on the inner screen and taps a control of the outer screen collaboration in the pull-down taskbar. S2003: Display, in response to the fifth operation, the interface of the first APP displayed on the first screen on the second screen.

In this case, the electronic device may display, under triggering of the fifth operation of the user, the interface of the first APP displayed on the inner screen on the outer screen. When the user continues to operate the first APP on the inner screen, the outer screen may continue to follow the inner screen to display the interface of the first APP displayed on the inner screen. For example, when the inner screen displays a first interface, that is, thumbnails of pictures in a gallery, the outer screen displays the thumbnails of the pictures in the gallery displayed on the inner screen if the user performs the fifth operation. In this case, if the user taps one of the pictures on the inner screen to display an enlarged picture of the picture, the outer screen synchronously displays the enlarged picture of the picture displayed on the inner screen.

In the embodiment shown in <FIG>, when the user performs the fifth operation, the electronic device may enable the collaboration function of the inner screen and the outer screen, to enable the outer screen to display content displayed on the inner screen, so that the interface of the first APP can be displayed to another user for viewing without a need to flip over the electronic device, so as to avoid inconvenience caused by flipping over the electronic device to share the screen, make screen sharing more convenient, and improve user experience of sharing screen.

In some embodiments, the fifth operation is an operation of sliding down on the first screen to enable the pull-down taskbar, tapping the control of the outer screen collaboration in the pull-down taskbar, and selecting asynchronous collaboration in a pop-up selection window of the outer screen collaboration. That is, when the user slides down from the top of the inner screen, the pull-down taskbar can be pulled out. The pull-down taskbar includes the control of the outer screen collaboration. When the user taps the control of the outer screen collaboration or taps a menu button of the control of the outer screen collaboration, the inner screen can pop up the selection window of the outer screen collaboration. The selection window of the outer screen collaboration may include a control of the asynchronous collaboration. When the user taps the control of the asynchronous collaboration, the electronic device enables the asynchronous collaboration mode of the collaboration function. Optionally, the fifth operation is an operation of sliding down on the first screen to enable the pull-down taskbar, tapping the control of the outer screen collaboration in the pull-down taskbar, and selecting the asynchronous collaboration in a pop-up selection window of the outer screen collaboration. That is, when the user slides down from the top of the inner screen, the pull-down taskbar can be pulled out. The pull-down taskbar includes the control of the outer screen collaboration. When the user taps the control of the outer screen collaboration or taps a menu button of the control of the outer screen collaboration, the inner screen can pop up the selection window of the outer screen collaboration. The selection window of the outer screen collaboration may further include a control of mirror collaboration. When the user taps the control of the mirror collaboration, the electronic device enables a mirror collaboration mode of a collaboration function. The user can select different modes of the collaboration function as required to adapt to the current usage scenario.

In some embodiments, the electronic device may also receive a sixth operation performed by the user to enable a second APP on the inner screen when a mode of collaboration function is the asynchronous collaboration mode. In response to the sixth operation, the electronic device displays an interface of the second APP on the inner screen, and simultaneously displays the interface of the first APP in a form of a floating window on the inner screen. When the user enables the collaboration function, if the mode of the asynchronous collaboration is selected, the outer screen can display content that is not identical with the content on the inner screen. That is, if the user enables the asynchronous collaboration mode when the interface of the first APP is displayed on the inner screen, the interface of the second APP is displayed on the inner screen when the user operates on the inner screen to enable the second APP, that is, performs the sixth operation. In this case, the outer screen still displays the interface of the first APP, and the interface of the first APP may be displayed in a floating window on the inner screen, to prompt the user with content displayed on the outer screen. In this embodiment, after the collaboration function of the asynchronous collaboration mode is enabled, the interface display of the first APP can be maintained to display on the outer screen, and the user can use the second APP on the inner screen. In addition, the user can monitor a presentation status of the first APP by using the interface of the first APP displayed on a floating window on the inner screen, so that screen sharing forms are richer, to enrich functions of the electronic device, facilitate use of the user, and improve user experience.

The sixth operation of enabling the second APP performed by the user may be an operation performed on the inner screen, the user first taps "Home" button to exit the interface of the first APP and return to the desktop, and then taps an icon of the second APP from the desktop to enable the second APP. Alternatively, in the sixth operation, the user may enable a side sidebar by sliding a distance from a side of the inner screen toward the middle of the inner screen and pausing in the interface of the first APP, and then tap an icon of the second APP in the side sidebar to enable the second APP.

In some embodiments, the electronic device may also receive a seventh operation performed by the user to operate the first APP on the inner screen when a mode of collaboration function is the mirror collaboration mode. In response to the seventh operation, the electronic device switches the interface of the first APP to display content indicated by the seventh operation, and synchronously displays the content indicated by the seventh operation on the outer screen, so that the inner screen and the outer screen display the same content. The seventh operation may be an operation of arbitrarily switching an interface of the first APP. That is, when the user enables the collaboration function, if the mirror collaboration mode is selected, the outer screen can display content that is the same as the content on the inner screen. In this embodiment, after a collaboration function of a mirror collaboration mode is enabled, the user can maintain a same interface between the outer screen and the inner screen to implement screen sharing, so as to avoid operation inconvenience caused by flipping over the electronic device due to a same screen viewed by a plurality of people.

In this method, screen sharing is more convenient, and user experience is improved.

In some embodiments, the first APP is any one of a gallery APP, a video APP, and a document APP. The user can share a gallery APP interface, a video APP interface, a document APP interface, and the like to the outer screen by enabling the collaboration function of the inner screen and the outer screen, to help the user share a picture, a video, a document, and the like.

In some embodiments, the second APP is a camera APP when the first APP is a video APP. When a parent needs to take a picture for a child and is worried that inattention of the child affects a shooting effect, the parent can enable the video APP, and enable the asynchronous collaboration mode, to share a video APP interface to the outer screen to attract attention of the child. Then the parent enables the camera APP for shooting. This ensures that the attention of the child can be directed towards a shooting electronic device, so that the user can shoot the child easily and the shooting effect is ensured.

The foregoing describes the examples of the screen display method provided in this application in detail. It may be understood that, to implement the foregoing functions, the corresponding apparatus includes a corresponding hardware structure and/or a software module for performing each function. A person skilled in the art should be easily aware that, units and algorithms steps in the examples described with reference to the embodiments disclosed in this specification may be implemented in a form of hardware or in a form of a combination of hardware and computer software in this application. Whether a function is performed by hardware or hardware driven by computer software depends on particular applications and design constraints of the technical solutions.

In this application, the foregoing screen display apparatus may be divided into function modules based on the foregoing method examples. For example, each function module may be obtained through division for a function, or two or more functions may be integrated into one module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software function module. It should be noted that module division in this application is an example, and is merely logical function division. In actual implementation, there may be another division manner.

<FIG> is a schematic diagram of a structure of a screen display apparatus according to this application. An apparatus <NUM> is applied to an electronic device, the electronic device includes a first screen and a second screen, and the first screen and the second screen are respectively disposed on two opposite sides of the electronic device. For example, the electronic device includes an inner screen and an outer screen. The apparatus <NUM> includes:.

The first receiving module <NUM> is further configured to receive a second operation performed by the user on the first control.

The first display module <NUM> is further configured to display, in response to the second operation, a second interface corresponding to the first control on the second screen.

In some embodiments, a second display module <NUM> is further included, and is configured to display a third interface on the first screen, where the third interface is an interface of a first APP. The first receiving module <NUM> is specifically configured to receive the first operation when the first screen displays the third interface.

In some embodiments, the first APP is any one of a browser APP, a video APP, a game APP, a conference APP, a document APP, and a video call APP.

In some embodiments, the first operation is an operation of sliding down on the first screen to enable a pull-down taskbar and tapping a control of a quick service in the pull-down taskbar.

In some embodiments, the first operation is an operation of double-tapping the second screen.

In some embodiments, the first interface includes at least one of a control of the payment code, a control of the transport code, and a control of the personal health code.

In some embodiments, the first interface is a window of the quick service, and the first receiving module <NUM> is further configured to receive a third operation performed by the user, where the third operation is an operation of tapping a menu control on the first interface.

The second display module <NUM> is further configured to display an APP management list on the first screen in response to the third operation, where the APP management list includes icons of a plurality of APPs supporting the quick service and a plurality of state buttons, and the icons of the plurality of APPs supporting the quick service are in an one-to-one correspondence with the plurality of state buttons.

The first receiving module <NUM> is further configured to receive a fourth operation performed by the user, where the fourth operation is an operation performed on a target state button, and the target state button is any one of the state buttons.

The second display module <NUM> is further configured to, in response to the fourth operation, add or delete an icon of an APP that supports the quick service and that corresponds to the target state button in the window of the quick service.

In some embodiments, when a mode of the collaboration function is an asynchronous collaboration mode, the second receiving module <NUM> is further configured to receive a sixth operation performed by the user, and the sixth operation is an operation of enabling a second APP on the first screen.

The third display module <NUM> is further configured to: in response to the sixth operation, display an interface of the second APP on the first screen, and display the interface of the first APP in a form of a floating window on the first screen.

In some embodiments, the fifth operation is an operation of sliding down on the first screen to enable the pull-down taskbar, tapping a control of outer screen collaboration in the pull-down taskbar, and selecting asynchronous collaboration in a pop-up selection window of the outer screen collaboration.

In some embodiments, the sixth operation is an operation that is performed on the first screen for exiting the interface of the first APP and enabling the second APP from the desktop; or, an operation that is performed on the first screen for invoking a sidebar and tapping an icon of the second APP in the sidebar.

In some embodiments, when a mode of the collaboration function is a mirror collaboration mode, the second receiving module <NUM> is further configured to receive a seventh operation performed by the user, where the seventh operation is an operation that is performed on the second APP on the first screen.

The third display module <NUM> is further configured to display, in response to the seventh operation, content indicated by the seventh operation on the first screen.

The fourth display module <NUM> is further configured to display, in response to the seventh operation, content indicated by the seventh operation on the second screen.

In some embodiments, the fifth operation is an operation of sliding down on the first screen to enable the pull-down taskbar, tapping a control of outer screen collaboration in the pull-down taskbar, and selecting mirror collaboration in a pop-up selection window of the outer screen collaboration.

In some embodiments, the first APP is any one of a gallery APP, a video APP, and a document APP. In some embodiments, the second APP is a camera APP when the first APP is a video APP.

For a specific manner in which the apparatus <NUM> and the apparatus <NUM> perform the screen display method and resulting beneficial effects, reference may be made to related descriptions in the method embodiment.

An embodiment of this application further provides an electronic device, including the processor. The electronic device provided in this embodiment may be the terminal device <NUM> as shown in <FIG>, and the terminal device <NUM> is configured to perform the foregoing screen display method. When an integrated unit is used, the terminal device may include a processing module, a storage module, and a communication module. The processing module may be configured to control and manage an action of the terminal device, for example, may be configured to support the terminal device in performing steps performed by a display unit, a detection unit, and a processing unit. The storage module may be configured to support the terminal device in storing program code, data, and the like. The communication module may be configured to support communication between the terminal device and another device.

The processing module may be a processor or a controller. The processing module may implement or execute various example logical blocks, modules, and circuits described with reference to content disclosed in this application. The processor may alternatively be a combination, for example, a combination including one or more microprocessors or a combination of digital signal processing (digital signal processing, DSP) and a microprocessor, for implementing a computing function. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, or another device that interacts with another terminal device.

In an embodiment, when the processing module is a processor and the storage module is a memory, the terminal device in this embodiment may be a device be of the structure shown in <FIG>.

An embodiment of this application further provides a computer-readable medium. The computer-readable medium stores a computer program, and when the computer program is executed by a processor, the processor is enabled to perform methods according to any one of the foregoing embodiments.

An embodiment of this application further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to perform the foregoing related steps, so as to implement the screen display method in the foregoing embodiment.

The electronic device, computer-readable storage medium, and computer program product provided in the embodiments are all configured to perform the corresponding method provided above. Therefore, for beneficial effects that can be achieved, reference may be made to the beneficial effects in the corresponding method provided above, and details are not described herein again.

In embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the module or unit division is merely logical function division and may be other division in actual implementation. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces, or the indirect couplings or communication connections between the apparatuses or units. The replaced units may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one position, or may be distributed in a plurality of different positions. Some or all of the units may be selected based on actual needs to achieve the objectives of the solutions of the embodiments.

When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a readable storage medium. Based on such an understanding, the technical solutions in the embodiments of this application essentially, or the part contributing to the conventional technology, or all or some of the technical solutions may be implemented in a form of a software product. The software product is stored in a storage medium and includes instructions for instructing a device (which may be a single-chip microcomputer, a chip, or the like) or a processor (processor) to perform all or some of the steps of the methods described in the embodiments of this application. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read only memory (read only memory, ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disc.

Claim 1:
A screen display method, applied to a foldable electronic device, wherein the electronic device comprises a first screen (<NUM>, <NUM>) and a second screen (<NUM>), the first screen (<NUM>, <NUM>) and the second screen (<NUM>) are respectively disposed on two opposite sides of the electronic device, wherein the first screen (<NUM>, <NUM>) is an inner screen and the second screen (<NUM>) is an outer screen, and the method comprises:
receiving a first operation performed by a user, wherein the first operation is an operation of sliding down on the first screen (<NUM>, <NUM>) to enable a pull-down taskbar and tapping a control in the pull-down taskbar to open a window as first interface;
displaying the first interface on the first screen (<NUM>, <NUM>) in response to the first operation, wherein the first interface comprises a first control;
receiving a second operation performed by the user on the first control; and
displaying, in response to the second operation, a service code corresponding to the first control on the second screen (<NUM>);
wherein in an unfolded state, an operation authority of the second screen (<NUM>) is in a turn-off state, in which the user cannot tap the outer screen to operate and, in a folded state, the operation authority of the second screen (<NUM>) is in a turn-on state.