Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The embodiment of the application provides a control method of an electronic device with a folding screen, and the method can be applied to the electronic device with the folding screen. In the embodiment of the present application, an electronic device including a folding screen may be referred to as a folding screen electronic device. The folding screen is a display screen and has the characteristic of being foldable. The user can execute the folding operation on the folding screen to trigger the electronic equipment to execute the corresponding event. For example, in some embodiments, in response to a fold operation, the electronic device performs a screen capture function that saves the content currently displayed by the electronic device in a screenshot. For another example, in some embodiments, in response to the folding operation, the electronic device performs a split screen function, i.e., the folding screen of the electronic device is divided into two or more display areas, and different interfaces are displayed in the different display areas. Therefore, the human-computer interaction efficiency can be improved, and the use experience of a user is improved.
For example, in some embodiments of the present application, the folding screen may be a flexible folding screen. The flexible folded screen may be folded along the folded edge to form a plurality (two or more) of screens.
For example, the flexible folding screen shown in fig. 1 (a) may be folded along a folding edge to form the a-screen 101 and the B-screen 102 shown in fig. 1 (B), and for example, the flexible folding screen shown in fig. 2 (a) may be folded along a folding edge to form the a-screen 201, the B-screen 202, and the C-screen 203 shown in fig. 2 (B), wherein (a) in fig. 1 and (a) in fig. 2 are schematic diagrams of the flexible folding screen when it is not folded, (B) in fig. 1 and (B) in fig. 2 are schematic diagrams of the flexible folding screen when it is folded (half-folded), (C) in fig. 1 is a schematic diagram of the flexible folding screen when it is completely folded, (C) in fig. 2 is a diagram of the flexible folding screen when it is completely folded, an angle α between the a-screen and the B-screen is 0 °, an angle 362 ° in fig. 2, and the flexible folding screen may also be completely folded, (α) and α are both angles, or (α) is an angle of 360 °.
In the case where the folded screen is not folded, the angle between the adjacent screens is 180 °. for example, the angle α between the a screen 101 and the B screen 102 shown in (a) in fig. 1 is 180 °. also, for example, the angle α 1 between the a screen 201 and the B screen 202 shown in (a) in fig. 2 is 180 °, and the angle α 2 between the B screen 202 and the C screen 203 is 180 °. after the folded screen is folded, the angle between the adjacent screens may take a range of [0 °, 180 °).e. the angle α ∈ (0 °, 180 °) between the a screen 101 and the B screen 102 shown in (B) in fig. 1, the angle α 1 ∈ (0 °, 180 °) between the a screen 201 and the B screen 202 shown in (B) in fig. 2, and the angle α 2 ∈ (0 °, 180 °) between the B screen 202 and the C screen 203.
In other embodiments of the present application, the folding screen may be a multi-screen folding screen. The multi-screen folding screen may include a plurality (two or more) of screens. The plurality of screens may be connected in turn by a folding shaft. Each screen can rotate around a folding shaft connected with the screen, and folding of the multi-screen folding screen is achieved.
For example, as shown in (a) of fig. 3, the multi-screen folding screen includes two screens, which are referred to as an a-screen 301 and a B-screen 302, respectively. The A screen 301 and the B screen 302 are connected through a folding shaft, and the A screen 301 and the B screen 302 can rotate around the folding shaft, so that folding of the multi-screen folding screen is achieved. For example, when the a-screen 301 and/or the B-screen 302 are rotated about the folding axis, a multi-screen folding screen shown in (B) of fig. 3 and a multi-screen folding screen shown in (c) of fig. 3 can be formed. Fig. 3 (a) is a schematic diagram of a multi-screen folding screen when the multi-screen folding screen is not folded. Fig. 3 (b) is a schematic diagram of a configuration of the multi-panel folding screen after being half-folded. Fig. 3 (c) is a schematic diagram of the multi-screen folding screen after being completely folded. The multi-screen foldable screen may also include three or more screens, and the specific form and the folding manner thereof can refer to fig. 2 and the related description, which are not repeated herein.
In the case where the folded screen is not folded, the angle α between the a screen 301 and the B screen 302 shown in (a) of fig. 3 is 180 °. when the folded screen is folded, the angle between adjacent screens may be in the range of [0 °, 180 °), for example, the angle α e (0 °, 180 °) between the a screen 301 and the B screen 302 shown in (B) of fig. 3, and the angle α between the a screen 301 and the B screen 302 shown in (c) of fig. 3 is 0 °.
In the above fig. 1-fig. 3, the folding screen of the electronic device is folded longitudinally to achieve the folding of the folding screen. Of course, the folding screen of the electronic device can also be folded transversely to realize the folding of the folding screen. For example, the folding screen is taken as a flexible folding screen. The flexible folding screen shown in fig. 4 (a) is folded along the folding edge, and during the folding process, the a screen and the B screen shown in fig. 4 (B), (c), and (d) may be formed in sequence.
In addition, the above-mentioned fig. 1-4 are schematic diagrams of the angle between the adjacent panels of the folded screen being [0 °, 180 ° ], of course, the angle between the adjacent panels of the folded screen may also be (180 °, 360 ° ], for example, taking the flexible folded screen shown in fig. 1 as an example, the a screen 101 and the B screen 102 shown in fig. 5 (a) and (B) can be formed by folding the flexible folded screen shown in fig. 1 (a) along the folding edge, the angle α between the a screen 101 and the B screen 102 shown in fig. 5 (a) is 360 °. the angle α between the a screen 101 and the B screen 102 shown in fig. 5 (B) is (180 °, 360 °).
For example, the electronic device described in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, a media player, and other devices including a folding screen, and the embodiment of the present application does not particularly limit the specific form of the device.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Please refer to fig. 6, which is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 6, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic device. In other embodiments, an electronic device may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be a neural center and a command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the electronic device.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a display screen serial interface (DSI), and the like. In some embodiments, the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device, and may also be used to transmit data between the electronic device and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in this embodiment is only an exemplary illustration, and does not constitute a limitation on the structure of the electronic device. In other embodiments, the electronic device may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in an electronic device may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to electronic devices, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of the electronic device is coupled to the mobile communication module 150 and antenna 2 is coupled to the wireless communication module 160 so that the electronic device can communicate with the network and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 is a foldable screen as described above (e.g., a flexible foldable screen or a multi-screen foldable screen). The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like.
The electronic device may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device selects a frequency point, the digital signal processor is used for performing fourier transform and the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The electronic device may support one or more video codecs. In this way, the electronic device can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize applications such as intelligent cognition of electronic equipment, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121. For example, in the embodiment of the present application, the processor 110 may execute, by executing instructions stored in the internal memory 121, when receiving an operation of folding the display screen 194 by a user, as a response to the operation, execute a corresponding event, such as screen capture, that is, saving, in a screenshot form, content currently displayed on the display screen 194 of the electronic device; in another example, the screen division is to divide the display screen 194 of the electronic device into two or more display areas and display different interfaces in different display areas. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book and the like) created in the using process of the electronic device. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device answers a call or voice information, it can answer the voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When a call is placed or a voice message is sent or it is desired to trigger the electronic device to perform some function by the voice assistant, the user may speak via his/her mouth near the microphone 170C and input a voice signal into the microphone 170C. The electronic device may be provided with at least one microphone 170C. In other embodiments, the electronic device may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and the like.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronics determine the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device may also calculate the position of the touch from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion pose of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (i.e., x, y, and z axes) may be determined by the gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyroscope sensor 180B detects a shake angle of the electronic device, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
In the present embodiment, the display screen 194 of the electronic device 100 may be folded to form multiple screens. A gyro sensor 180B may be included in each screen for measuring the orientation (i.e., the directional vector of the orientation) of the corresponding screen. For example, in conjunction with FIG. 2, the display screen 194 of the electronic device 100 is folded to form an A-screen 201, a B-screen 202, and a C-screen 203, and then the A-screen 201, the B-screen 202, and the C-screen 203 each include a gyroscope sensor 180B therein for measuring the orientation of the A-screen 201, the B-screen 202, and the C-screen 203, respectively. For another example, in conjunction with fig. 3 described above, the electronic device includes two screens, referred to as an a-screen 301 and a B-screen 302, respectively, and then the a-screen 301 and the B-screen 302 each include a gyro sensor 180B therein for measuring the orientation of the a-screen 301 and the B-screen 302, respectively. The electronic equipment can determine the included angle between the adjacent screens according to the measured orientation of each screen. The change in the angle between adjacent panels is used to determine whether the user has folded the display screen 194.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device is a flip, the electronic device may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device in various directions (typically three axes). When the electronic device is at rest, the magnitude and direction of gravity can be detected. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications. It should be noted that in the embodiment of the present application, the display screen 194 of the electronic device may be folded to form a plurality of screens. An acceleration sensor 180E may be included in each screen that may be used to measure the orientation (i.e., the directional vector of the orientation) of the corresponding screen.
A distance sensor 180F for measuring a distance. The electronic device may measure distance by infrared or laser. In some embodiments, taking a picture of a scene, the electronic device may utilize the distance sensor 180F to range to achieve fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device emits infrared light to the outside through the light emitting diode. The electronic device uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device. When insufficient reflected light is detected, the electronic device may determine that there are no objects near the electronic device. The electronic device can detect that the electronic device is held by a user and close to the ear for conversation by utilizing the proximity light sensor 180G, so that the screen is automatically extinguished, and the purpose of saving power is achieved. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. The electronic device may adaptively adjust the brightness of the display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic equipment can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device heats the battery 142 when the temperature is below another threshold to avoid an abnormal shutdown of the electronic device due to low temperatures. In other embodiments, the electronic device performs a boost on the output voltage of the battery 142 when the temperature is below a further threshold to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device at a different position than the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic device may receive a key input, and generate a key signal input related to user settings and function control of the electronic device.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic equipment can support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic equipment realizes functions of conversation, data communication and the like through the interaction of the SIM card and the network. In some embodiments, the electronic device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
The methods in the following embodiments may be implemented in an electronic device having the above hardware structure.
The method for controlling the electronic device with the foldable screen provided by the embodiment of the application can be applied to the electronic device shown in any one of fig. 1 to 5. In conjunction with fig. 1-5 described above, it can be appreciated that in the embodiments of the present application, the electronic device is a folding screen electronic device that includes at least a first screen and a second screen. The first screen and the second screen may be two screens formed by folding the flexible folding screen along the folding edge, or two screens included in the multi-screen folding screen. And the electronic device comprises screens each provided with a sensor, such as a gyro sensor and/or an acceleration sensor, for measuring the orientation of the screen (i.e. the directional vector of the orientation).
It should be noted that, if the electronic device includes only two screens, the first screen and the second screen refer to the two screens included in the electronic device, respectively. For example, in conjunction with fig. 1 or fig. 3 or fig. 4 or fig. 5, the first screen and the second screen are an a screen and a B screen, respectively. If the electronic device includes three or more screens, the first screen and the second screen respectively refer to any adjacent two screens of all screens included in the electronic device. For example, in conjunction with fig. 2, the first screen and the second screen may be an a screen and a B screen, respectively, or a B screen and a C screen, respectively.
It can be understood that the folding screen of the user folding the electronic device can be divided into: a forward fold and a reverse fold. In the process of folding the folding screen in the forward direction of the user, the included angle between the first screen and the second screen is gradually reduced. In the process of reversely folding the folding screen by the user, the included angle between the first screen and the second screen is gradually increased. In this application embodiment, if the electronic device detects that the included angle between the first screen and the second screen becomes smaller and larger, it can be determined that the user has performed forward folding on the folding screen first and then performed reverse folding (or the user has performed folding and returning operation on the folding screen). At this time, in some embodiments, the electronic device may perform a screen capture function in response to a user's operation (i.e., an operation of folding forward and folding backward). In other embodiments, the electronic device may perform a split screen function in response to the operation by the user.
A control method for an electronic device with a foldable screen according to an embodiment of the present application will be described in detail below with reference to specific scenarios. For convenience of description, the following embodiments are explained taking as an example that each screen of the electronic device measures its orientation by providing a gyro sensor.
Fig. 7 is a flowchart illustrating a control method of an electronic device with a foldable screen according to an embodiment of the present application. As shown in fig. 7, the method may include:
s701, the electronic equipment determines whether the user carries out forward folding and reverse folding operations on the folding screen of the electronic equipment.
For example, the electronic device may determine whether the user performs the operation of folding the foldable screen of the electronic device in the forward direction and the reverse direction by determining whether a change in an angle α between the first screen and the second screen satisfies a preset condition, indicate that the user performs the operation of folding the foldable screen in the forward direction and the reverse direction if it is determined that a change in an angle α between the first screen and the second screen satisfies the preset condition, and indicate that the user does not perform the operation of folding the foldable screen in the forward direction and the reverse direction if the change in the angle α between the first screen and the second screen does not satisfy the preset condition.
In some embodiments, the electronic device may determine the angle α between the first screen and the second screen using gyro sensors disposed in the first screen and the second screen.
For example, the electronic device may measure a direction vector of an orientation of each screen (e.g., a direction vector of an orientation of a first screen and a direction vector of an orientation of a second screen) through a gyro sensor disposed in each screen (e.g., the first screen and the second screen).
Wherein the coordinate system of the gyro sensor is a geographical coordinate system. The geographic coordinate system is shown in fig. 8, with the origin o at the point where the vehicle (which may refer to the equipment containing the gyroscopic sensor) is located, the x-axis pointing east (E) along the local latitudes, the y-axis pointing north (N) along the local meridian, and the z-axis pointing up along the local geographic vertical, and forming a right-hand orthogonal coordinate system with the x-axis and the y-axis. The plane formed by the x axis and the y axis is the local horizontal plane, and the plane formed by the y axis and the z axis is the local meridian plane. Thus, it can be understood that the coordinate system of the gyro sensor is: the gyroscope sensor is used as an origin o, the direction east along the local latitude line is used as an x axis, the direction north along the local meridian line is used as a y axis, and the direction up along the local geographical vertical line (namely the opposite direction of the geographical vertical line) is used as a z axis.
The electronic device can measure and obtain the direction vector of the orientation of each screen in the coordinate system of the gyro sensor arranged in the electronic device by using the gyro sensor arranged in each screen. For example, referring to fig. 1, taking an a screen and a B screen as the first screen and the second screen, respectively, where the a screen is provided with a gyro sensor a and the B screen is provided with a gyro sensor B, as an example, referring to a side view of the electronic device shown in fig. 9, a direction vector of an orientation of the a screen in a coordinate system of the gyro sensor a measured by the electronic device is a vector z1, and a direction vector of an orientation of the B screen in a coordinate system of the gyro sensor B is a vector z 2. Using equation (1):the angle θ between vector z1 and vector z2 can be calculated.
Wherein,
as can be seen from fig. 9, since the vector z1 is perpendicular to the a screen and the vector z2 is perpendicular to the B screen, the angle α between the a screen and the B screen can be obtained as 180 ° - θ, that is, the electronic device can determine the angle α between the a screen and the B screen according to the direction vector of the orientation of the a screen in the coordinate system of the gyro sensor a (i.e., the vector z1) and the direction vector of the orientation of the B screen in the coordinate system of the gyro sensor B (i.e., the vector z 2).
It should be noted that although the positions of the gyro sensors disposed in the first screen and the second screen (the above-mentioned a screen and B screen) do not overlap, that is, the origins of the coordinate systems of the gyro sensors of the first screen and the second screen do not overlap, the x-axis, the y-axis, and the z-axis of the two coordinate systems are parallel, so that the coordinate systems of the gyro sensors disposed in the first screen and the second screen can be considered to be parallel, and thus, although the vector z1 and the vector z2 are not in the same coordinate system, because the axes of the two coordinate systems are parallel, the angle θ between the vector z1 and the vector z2 can be calculated by the above equation (1), so that the angle α between the first screen and the second screen can be determined according to the angle θ.
The electronic device may periodically determine α the angle between the first screen and the second screen and then determine α the change in the angle between the first screen and the second screen by comparing the angle between the first screen and the second screen determined over a period of time.
It should be noted that the period for determining the included angle α between the first screen and the second screen may be predefined, may be configured in advance (for example, configured in the electronic device when the electronic device is shipped), or may be set by a user, and the embodiment of the present application is not limited specifically herein.
In some embodiments of the present application, the predetermined condition may be that the angle α between the first and second panels is decreased and then increased, and further, to prevent the malfunction, the angle α between the first and second panels may be decreased and then increased, specifically, the angle α may be decreased within a first time after the angle is decreased and then increased from the time of the decrease, that is, if the electronic device determines that the angle α between the first and second panels is decreased and then decreased within a first time after the angle is decreased and then increased from the time of the decrease, the user is considered to perform the operation of folding the foldable panel of the electronic device in the forward and reverse directions, wherein the first time may have a value range of [500 ms, 2s ]. additionally, it is understood that the user may perform the operation of folding the foldable panel in the forward and reverse directions (e.g., folding the folding in the reverse directions) by rotating the first and/or second panels along the edge or folding axis.
For example, referring to FIG. 10 in conjunction with FIG. 1, a side view of the electronic device is shown in FIG. 10, where the first time is 1 second, the user first rotates the A-screen clockwise as shown in the figure along the folding edge, stops rotating the A-screen after 1 second, and then rotates the A-screen counterclockwise as shown in the figure along the folding edge from the time the rotation of the A-screen is stopped, so that as the A-screen rotates, the electronic device can detect that the included angle α between the A-screen and the B-screen becomes smaller, stops decreasing within 1 second after decreasing, and starts to become larger from the time the decrease is stopped.
For another example, referring to fig. 11 with reference to fig. 1, a side view of the electronic device is shown, where the first time is 1 second, as shown in fig. 11, the user first rotates the B-screen along the folding edge in a counterclockwise direction shown in the figure, stops rotating the B-screen after 1 second, and then rotates the B-screen along the folding edge in a clockwise direction shown in the figure from the time when the rotation of the B-screen is stopped, so that as the B-screen rotates, the electronic device can detect that the included angle α between the a-screen and the B-screen becomes smaller, stops decreasing within 1 second after decreasing, and starts increasing from the time when the decrease is stopped.
For another example, referring to fig. 12, with reference to fig. 1, which is a side view of the electronic device, the first time is 1 second, as shown in fig. 12, the user first rotates the a-screen along the folding edge in a clockwise direction as shown in the figure, rotates the B-screen in a counterclockwise direction as shown in the figure, and stops rotating the a-screen and the B-screen after 1 second, and then, from the time when the rotation of the a-screen and the B-screen is stopped, rotates the a-screen along the folding edge in a counterclockwise direction as shown in the figure, and rotates the B-screen in a clockwise direction as shown in the figure, so that as the a-screen and the B-screen rotate, the electronic device may detect that the angle α between the a-screen and the B-screen becomes smaller, and stops becoming smaller within 1 second after becoming smaller, and starts to become larger again from the time when the rotation of the a-screen and the B-screen becomes larger.
For example, referring to FIG. 13 in conjunction with FIG. 2, a side view of the electronic device, wherein the first time is 1 second, the first and second panels are, respectively, an A-panel and a B-panel, as shown in FIG. 13, the user first rotates the A-panel clockwise as shown in the figure along the folding edge and stops rotating the A-panel after 1 second, and then, from the time the rotation of the A-panel is stopped, rotates the A-panel counterclockwise as shown in the figure along the folding edge, such that as the A-panel rotates, the electronic device may detect that the angle α between the A-panel and the B-panel becomes smaller and stops decreasing within 1 second after decreasing and starts to become larger again from the time the angle stops decreasing as shown in the figure 1 second, i.e., the electronic device may determine that the user has performed a forward-fold and reverse-fold operation, as shown in FIG. 2, referring to the side view of the electronic device shown in FIG. 14, with the first time 1 second, the first and second panels B-C and C as shown in the second, the angle C-panel rotates from the time C and stops to the C, and then stops rotating, and the angle C-.
It should be noted that fig. 10-14 are illustrated in the initial state of the folding screen (i.e., the state of the folding screen before the user performs the operation) being unfolded, i.e., the angle α between the first screen and the second screen (e.g., the a screen and the B screen, or the B screen and the C screen) is 180 °.
It is to be understood that the above description determines whether the user has performed the fold forward and fold backward operation on the folded screen based on whether the angle α between the first and second screens (e.g., angle α between a screen and B screen is 180 ° - θ) is smaller and then larger, and that the user has performed the fold forward and fold backward operation on the folded screen, as another example, the electronic device may determine whether the user has performed the fold forward and fold backward operation on the folded screen based on whether the angle between the direction vector of the first screen and the direction vector of the second screen is larger and then smaller, if it is determined that the angle between the direction vector of the first screen and the direction vector of the second screen is larger and then smaller, it is indicated that the user has performed the fold forward and fold backward operation on the folded screen, if it is determined that the angle between the direction vector of the first screen and the direction vector of the second screen is larger and then smaller, it is indicated that the user has not performed the fold backward operation on the folded screen, and if it is determined that the angle between the direction vector of the first screen and the direction vector of the second screen is larger and the angle θ of the second screen is larger, then the angle between the angle of the first screen is larger and the angle of the direction vector of the second screen is larger, then smaller, then larger, then the angle of the first screen is considered to be larger, and the angle of the second screen is larger, and the angle of the angle.
S702, when it is determined that the user performs the operation of folding forward and folding backward, in response to the operation, the electronic device performs a target event, where the target event may be a screen capture or a screen split.
In some embodiments, when it is determined that the user performs the operation of folding forward and folding backward, the electronic device may perform a screen capture function in response to the operation, that is, saving the content in the interface currently displayed by the electronic device in the form of a screen capture.
It is understood that an interface can be tiled on a folding screen of the electronic device, and different interfaces can be displayed on the screens included in the electronic device independently. If the electronic device independently displays different interfaces on each screen included in the electronic device, as a response to the operation, the electronic device may store a plurality of different interfaces displayed on the folding screen in the form of one screenshot, or store a plurality of different interfaces displayed on the folding screen in the form of different screenshots. For example, referring to fig. 1, the electronic device includes an a screen and a B screen, where an interface 1 is displayed on the a screen and an interface 2 is displayed on the B screen, and the interface 1 is different from the interface 2. In response to the above operations, the electronic device may store the content of the interface 1 and the content of the interface 2 in the form of one screenshot (the screenshot includes the content of the interface 1 and the content of the interface 2), or may store the content of the interface 1 in the form of one screenshot and store the content of the interface 2 in the form of another screenshot.
In other embodiments, when it is determined that the user performs the operation of folding in the forward direction and folding in the reverse direction, the electronic device may perform a screen-splitting function in response to the operation, that is, dividing the folding screen of the electronic device into two or more display regions, and displaying different interfaces in the different display regions.
The number of the display areas divided by the electronic equipment can be the same as or different from the number of the screens included by the electronic equipment. For example, in connection with fig. 1, the folding screen of the electronic device is a flexible folding screen that is folded along a folding edge to form two screens. Then, as shown in fig. 15, in response to the above operation, the electronic device may divide the folding screen into two display areas, and display different interfaces in the two display areas, such as displaying interface 1 in display area 1 and displaying interface 2 in display area 2, where interface 1 and interface 2 are different. For another example, as shown in fig. 16, in response to the above operation, the electronic device may divide the folding screen into four display areas, and display different interfaces in the four display areas, such as displaying interface 1 in display area 1, displaying interface 2 in display area 2, displaying interface 3 in display area 3, and displaying interface 4 in display area 4, where interface 1, interface 2, interface 3, and interface 4 are different from each other.
It should be noted that fig. 15 illustrates the foldable screen being divided in the longitudinal direction, and the electronic device may also divide the foldable screen into two regions in the transverse direction. In addition, when the folding screen is divided in the longitudinal direction, the dividing line for dividing the folding screen may coincide with the folding edge (or folding axis) (as shown in fig. 15) or may not coincide with the folding edge (or folding axis) (not shown in the drawings). Fig. 16 illustrates an example of dividing the folding screen into four display regions in a grid-like manner, and the electronic device may also divide the folding screen into four regions in a vertical or horizontal dividing manner alone. The present embodiment does not specifically limit the specific dividing manner of the folding screen.
In addition, it can be understood that an interface can be tiled on a folding screen of the electronic device, and different interfaces can also be independently displayed on the screens included in the electronic device. In some embodiments, when determining that the user performs the operation of folding the electronic device in the forward direction and the reverse direction, the electronic device may determine whether one interface is displayed on the folding screen or different interfaces are independently displayed on the respective screens. If one interface is displayed, the electronic device may divide the folding screen into display areas of corresponding numbers according to the number of screens included in the electronic device, and display different interfaces in different display areas. If the electronic apparatus includes two screens, the folding screen is divided into two display areas in response to the above operation, as shown in fig. 15 described above. For another example, if the electronic device includes three screens, the folding screen is divided into three display areas. If different interfaces are independently displayed on each screen, the electronic device can divide each screen and display different interfaces in the divided areas. As described with reference to fig. 1, the electronic device includes the a screen and the B screen, and the interface displayed on the a screen is different from the interface displayed on the B screen, the a screen may be divided into two display areas and the B screen may be divided into two display areas in response to the above operations, as described in fig. 16.
It should be noted that, in this embodiment, different interfaces may refer to different interfaces of the same application program, or may be interfaces of different application programs, which is not limited herein.
In some embodiments, the electronic device displays different interfaces in different display areas, which may specifically be: when it is determined that the user performs the operation of folding forward and folding backward, the electronic device may display an interface displayed on the folding screen when it is determined that the user performs the operation of folding forward and folding backward, such as an interface of a first application program, in one of the display regions after dividing the folding screen into two or more display regions, and display at least one identifier of a second application program, such as an icon, a thumbnail of the interface displayed when the user last exits the second application program, and the like, in the other display region, for the user to select. When receiving a selection operation of a user on an identifier of a certain second application program, displaying an interface of the second application program in other display areas, where the interface may be a main interface of the second application program or an interface displayed when the second application program is exited last time. The second application program may be an application program in the electronic device other than the first application program, or an application program in the electronic device other than the first application program that runs in the background.
For example, referring to fig. 1, as shown in (a) of fig. 17, an interface 1701 in which a WeChat is tiled on a folding screen of an electronic device before a user performs a forward-folding and reverse-folding operation is taken as an example. The user performs the operation of folding forward and folding backward. As shown in (B) of fig. 17, in response to the operation, the electronic device may divide the folding screen into two display areas, such as a display area 1 and a display area 2 (where, for example, the display area 1 is an a screen and the display area 2 is a B screen), and display the interface 1701 of the above-mentioned WeChat on one of the display areas, such as the display area 1, i.e., the a screen, and the identification of other applications of the electronic device on the display area 2, i.e., the B screen. Taking the display area 2 as an example for displaying the icons of the applications running in the background of the electronic device, as shown in (B) of fig. 17, the icons of the browser, the microblog icons, the read picture and the pan icon 1702 are displayed on the B screen. The user may select an application from the displayed icons that the user desires to use, such as icon 1702 where the user has selected a panning. In response to the selection operation by the user, the electronic device may display a panning interface 1703 on the B screen, as shown in (c) of fig. 17. Thus, the WeChat interface 1701 and the Taobao interface 1703 are displayed on the folding screen of the electronic device at the same time.
For example, the time point of executing the target event may be a second time at which the angle α starts to increase according to the angle α between the first screen and the second screen, the second time may be [0.1 second, 1 second ]. for example, see the angle change schematic diagram of the angle α shown in fig. 18. the electronic device may execute the target event when determining that the angle α between the first screen and the second screen becomes smaller, stops decreasing for a first time (e.g., 1 second) after decreasing, and starts to increase again from the time at which the angle stops decreasing, the electronic device may execute the target event at a second time at which the angle starts to increase, e.g., 0.2 second, according to the supplementary angle α between the first screen and the second screen, i.e., the angle θ, determine that the angle at which the user performs the forward folding operation and the reverse folding operation is an example, and may also be a specific time point when the angle θ starts to increase, and the target event may be executed when the angle of the target event is changed from the first time at which the angle α between the first screen and the second screen is smaller, i.g., the specific point at which the folding operation is performed.
According to the control method of the electronic device with the folding screen, provided by the embodiment of the application, a user can trigger the electronic device to execute a corresponding event, such as screen capture or screen split, by executing the operation of folding the folding screen forward and folding the folding screen reversely. The screen capture or screen split is easier to operate, the triggering success rate is higher, the man-machine interaction efficiency is improved, and the use experience of a user is improved.
Further embodiments of the present application also provide an electronic device, configured to perform the method in the above method embodiments. As shown in fig. 19, the electronic device may include: a foldable screen 1901, wherein the foldable screen 1901 is a display screen and at least includes or can be folded to form a first screen 1906 and a second screen 1907, a sensor module 1908 may be disposed in the first screen 1906 for measuring a direction vector of an orientation of the first screen 1906, and a sensor module 1909 may be disposed in the second screen 1907 for measuring a direction vector of an orientation of the second screen 1907; one or more processors 1902; a memory 1903; the various devices described above may be connected by one or more communication buses 1905. Wherein the memory 1903 stores one or more computer programs 1904, and the one or more processors 1902 are configured to execute the one or more computer programs 1904, the one or more computer programs 1904 comprising instructions which are configured to perform the steps performed by the electronic device of the corresponding embodiment of fig. 7.
For example, the one or more processors 1902 are configured to execute one or more computer programs 1904 to implement the following: determining that the user performs operations of folding the folding screen 1901 in a forward direction and a reverse direction; in response to the operation, the content in the interface currently displayed by the electronic device is saved in the form of a screenshot, or in response to the operation, the folding screen 1901 of the electronic device is divided into two or more display areas, and the folding screen 1901 is instructed to display different interfaces in different display areas.
In some embodiments, determining that the user performed the operations of folding the foldable screen 1901 of the electronic device in the forward direction and the reverse direction includes: it is determined that the angle between the first screen 1906 and the second screen 1907 becomes smaller and larger. Determining that the included angle between the first screen 1906 and the second screen 1907 becomes smaller and larger includes: it is determined that the angle between the first screen 1906 and the second screen 1907 becomes smaller, and stops being smaller for a first time after starting to become smaller, and starts to become larger again from the time when stopping being smaller.
In other embodiments, determining that the user performs the operations of folding the foldable screen 1901 of the electronic device forward and backward includes: the angle between the direction vector that determines the orientation of the first screen 1906 and the direction vector that determines the orientation of the second screen 1907 becomes larger and smaller. Determining that the angle between the direction vector of the orientation of the first screen 1906 and the direction vector of the orientation of the second screen 1907 becomes larger and smaller includes: it is determined that the angle between the direction vector of the orientation of the first screen 1906 and the direction vector of the orientation of the second screen 1907 becomes large, and stops increasing for the first time after starting to increase, and starts to decrease again from the time when the increase is stopped. The first time may be [500 ms, 2s ].
The time point at which the content in the interface displayed by the current electronic device is saved in the form of a screenshot is a second time when the included angle between the first screen 1906 and the second screen 1907 starts to increase, or the time point at which the folding screen 1901 of the electronic device is divided into two or more display areas and different interfaces are displayed in different display areas is a second time when the included angle between the first screen 1906 and the second screen 1907 starts to increase.
The time point at which the content in the interface displayed by the electronic device at present is saved in the form of a screenshot is a second time when an included angle between the direction vector of the orientation of the first screen 1906 and the direction vector of the orientation of the second screen 1907 starts to decrease, or the time point at which the folded screen 1901 of the electronic device is divided into two or more display areas and different interfaces are displayed in different display areas is a second time when an included angle between the direction vector of the orientation of the first screen 1906 and the direction vector of the orientation of the second screen 1907 starts to decrease. The value of the second time may be [0.1 second, 1 second ].
Of course, the electronic device shown in fig. 19 may further include other devices such as an audio module and a SIM card interface, which is not limited in this embodiment. When it includes other devices, it may be specifically the electronic apparatus shown in fig. 6.
The sensor module may be a gyroscope sensor or an acceleration sensor. The first screen 1906 may be provided with a gyro sensor and an acceleration sensor at the same time to measure a direction vector of the orientation of the first screen 1906, and the second screen 1907 may be provided with a gyro sensor and an acceleration sensor at the same time to measure a direction vector of the orientation of the second screen 1907.
Still other embodiments of the present application provide a computer storage medium, which may include computer instructions that, when executed on an electronic device, cause the electronic device to perform the steps as performed by the electronic device in the corresponding embodiment of fig. 7.
Further embodiments of the present application also provide a computer program product, which when run on a computer causes the computer to perform the steps as performed by the electronic device in the corresponding embodiment of fig. 7.
Other embodiments of the present application further provide an apparatus having a function of implementing the behavior of the electronic device in the corresponding embodiment of fig. 7. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions, for example, a determination unit or module, a storage unit or module, a division unit or module, and a display unit or module.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.