Display method, foldable screen device, storage medium, and program product

By displaying the application interface in the first screen area and the control panel in the second screen area while the foldable device is hovering, and adjusting the partition range to map touch events, the problem of cumbersome interaction in the hovering state is solved, thus improving the user experience.

WO2026011918A1PCT designated stage Publication Date: 2026-01-15HONOR DEVICE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/093073
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-12
Filing Date
2025-05-07
Publication Date
2026-01-15

AI Technical Summary

Technical Problem

When a foldable device is in a hovering state, the interaction process of controlling applications via the touchpad is cumbersome and results in a poor user experience.

Method used

The first application interface is displayed in the first screen area of ​​the foldable screen device, and the first and second partitions of the control panel are displayed in the second screen area. The application is controlled by mapping events on the touchpad, and the partition range is adjusted to display controls and the touchpad, so as to achieve simple control of the application.

Benefits of technology

It simplifies the interaction process, improves the user experience, and allows users to continue operating other controls after touching the target control, making the interaction more concise and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025093073_15012026_PF_FP_ABST
    Figure CN2025093073_15012026_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the technical field of terminals. Provided are a display method, a foldable screen device, a storage medium, and a program product. The method can simplify an interaction process and improve the user experience in the process of controlling an application program by means of touch-control on a touch-control panel. The method is applied to a foldable screen device, the foldable screen device is an inward-folding foldable screen device, and an inner screen of the foldable screen device comprises: a first screen area and a second screen area. The method comprises: when a foldable screen device is in a hover state, displaying a first application interface of a first application in a first screen area, and displaying a control panel in a second screen area, wherein the control panel comprises a first partition and a second partition, the first partition comprises at least one control, and the second partition comprises a touch-control panel; the foldable screen device receiving a first operation acting on a first target control; and the foldable screen device adjusting, in response to the first operation, the range of the first partition and / or the range of the second partition.
Need to check novelty before this filing date? Find Prior Art

Description

Display methods, foldable screen devices, storage media, and software products

[0001] This application claims priority to Chinese Patent Application No. 202410946982.7, filed on July 12, 2024, entitled "Display Method, Foldable Screen Device, Storage Medium and Program Product", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminal technology, and in particular to display methods, foldable screen devices, storage media, and program products. Background Technology

[0003] With the development of technology, numerous foldable screen devices have emerged in the consumer market. In general technology, the foldable feature of a foldable screen can be utilized to create a semi-folded state, allowing the application interface to be displayed on a vertical screen and a touchpad on a horizontal screen, enabling control of the application through touch on the touchpad.

[0004] However, in general technology, the process of controlling applications through touch on a touchpad is relatively cumbersome and the user experience is poor. Summary of the Invention

[0005] This application provides a display method, a foldable screen device, a storage medium, and a program product, which can simplify the interaction process and improve the user experience when controlling applications via touch on a touchpad.

[0006] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:

[0007] Firstly, a display method is provided, applied to a foldable screen device, wherein the foldable screen device is an inward-folding foldable screen device, and the inner screen of the foldable screen device includes: a first screen area and a second screen area. The method includes: when the foldable screen device is in a hover state, displaying a first application interface of a first application in the first screen area, and displaying a control panel in the second screen area. The control panel includes a first partition and a second partition. The first partition includes at least one control, and the second partition includes a touchpad. A first touch event acting on the touchpad can be mapped to a second touch event on the first application interface to control the first application. The foldable screen device receives a first operation acting on a first target control, the first target control being a control in the first partition. In response to the first operation, the foldable screen device adjusts the range of the first partition and / or the range of the second partition to display at least one control and a first component corresponding to the first target control in the adjusted first partition, and displays the touchpad in the adjusted second partition, wherein the first component is used to control the function corresponding to the first target control.

[0008] In the above solution, after the user touches the target control on the first partition, the range of the first partition and / or the second partition is adjusted so that the first partition can display multiple controls simultaneously, as well as any components added to the first partition after the target control is touched. In other words, by changing the range of the first and / or second partitions, multiple controls on the first partition are always displayed on the first partition. This allows multiple controls to continue to be displayed on the interface after the target control is touched, and also allows users to continue touching other controls after touching the target control, making the interaction process simpler and improving the user experience.

[0009] In one possible implementation of the first aspect, after the foldable screen device adjusts the range of the first partition and / or the range of the second partition in response to the first operation, the method further includes: the foldable screen device receiving a second operation acting on a second target control, the second target control being another control in the first partition. In response to the second operation, the foldable screen device displays at least one control and a second component corresponding to the second target control on the first partition, and displays a touchpad on the second partition, wherein the second component is used to control the function corresponding to the second target control, and the ranges of the first and second partitions remain unchanged.

[0010] In the above solution, even when the user interacts with other target controls, the interface can still display multiple controls and the components corresponding to other target controls, making it easier for the user to continue to touch other controls. The interaction process is simpler and the user experience is improved.

[0011] In one possible implementation of the first aspect, after the foldable screen device adjusts the range of the first partition and / or the range of the second partition in response to the first operation, the method further includes: the foldable screen device receiving a third operation acting on a third target control, the third target control being another control in the first partition. In response to the third operation, the foldable screen device readjusts the range of the first partition and / or the range of the second partition to display at least one control and a third component corresponding to the third target control in the readjusted first partition, and displays a touchpad in the readjusted second partition; wherein the range of the first partition and / or the range of the second partition adjusted in response to the first operation is different from the range of the first partition and / or the range of the second partition adjusted in response to the third operation.

[0012] In the above solution, even when the user interacts with other target controls, the interface can still display multiple controls and their corresponding components, allowing the user to continue interacting with other controls. This simplifies the interaction process and improves the user experience. Furthermore, the foldable screen device can dynamically adjust the range of the first and / or second zones based on the components corresponding to different target controls.

[0013] In one possible implementation of the first aspect, the foldable screen device, in response to the first operation, adjusts the extent of the first partition and / or the extent of the second partition, including: the foldable screen device adjusting the length and / or width of the first partition based on the position and size of the first component; and the foldable screen device further adjusting the length and / or width of the second partition according to the adjusted length and / or width of the first partition and the length and / or width of the inner screen.

[0014] In the above solution, the foldable screen device first adjusts the length and / or width of the first partition by adjusting the position and size of the first component. Then, by adjusting the length and / or width of the first partition and the length and / or width of the inner screen, the length and / or width of the second partition is adjusted. This allows for a simple and quick calculation of the range of the first and second partitions, reducing the computational power required by the computer.

[0015] In one possible implementation of the first aspect, the foldable screen device adjusts the length and / or width of the second partition based on the adjusted length and / or width of the first partition and the length and / or width of the inner screen, including: the foldable screen device first determines a first coordinate point based on the adjusted length and width of the first partition and the length and / or width of the inner screen; then, based on the position of the first coordinate point, the preset length and width of the second partition, and a second coordinate point, the first and second coordinate points being used to constitute the second partition; finally, the second partition is adjusted based on the first and second coordinate points.

[0016] In the above scheme, the first coordinate point is determined by adjusting the length and width of the first partition and the length and width of the inner screen. Then, the position of the second coordinate point is determined by the position of the first coordinate point and the preset length and width of the second partition. Finally, the range of the second partition is determined by the position of the first and second coordinate points, thus achieving accurate determination of the range of the second partition. The algorithm is simple and reduces the waste of computing power of foldable screen devices.

[0017] In one possible implementation of the first aspect, the foldable screen device determines a first coordinate point based on the adjusted length and width of the first partition and the length and width of the inner screen. This includes: the foldable screen device first determines the coordinate value of the first coordinate point on the first axis based on the length of the first side of the first partition, wherein the first axis of the pre-established two-dimensional coordinate system, the first side of the first partition, and the first border of the inner screen are parallel to each other. Then, based on the height of the second border of the inner screen and the height of the second side of the second partition, the coordinate value of the first coordinate point on the second axis is determined, wherein the second axis of the two-dimensional coordinate system, the second side of the second partition, and the second border of the inner screen are parallel. Determining a second coordinate point based on the position of the first coordinate point, the preset length and width of the second partition, includes: the foldable screen device first determines the coordinate value of the second coordinate point on the first axis based on the coordinate value of the first coordinate point on the first axis and the length of the third side of the second partition, wherein the third side is parallel to the first axis. Then, based on the coordinate value of the first coordinate point on the second axis and the height of the fourth side of the second partition, the coordinate value of the second coordinate point on the second axis is determined, wherein the fourth side is parallel to the second axis.

[0018] In the above scheme, by first determining the coordinate values ​​of the first coordinate point on the first axis and the second axis, and then determining the coordinate values ​​of the second coordinate point on the first axis and the second axis, the range of the second partition can be accurately determined.

[0019] In one possible implementation of the first aspect, the component is a slider. The foldable screen device, in response to a first operation, adjusts the range of a first partition and / or the range of a second partition, including: the foldable screen device, in response to a first operation on a first target control, adjusting the range of the first partition from a third range to a fourth range, where the fourth range is larger than the third range, and / or adjusting the range of the second partition from a second range to a first range, where the first range is smaller than the second range. The first operation is used to display a slider corresponding to the first target control, and the slider is used to control performance parameters of the foldable screen device. The method further includes: in response to a fourth operation on the first target control, adjusting the range of the first partition from a fourth range to a third range, and / or adjusting the range of the second partition from a first range to a second range, the fourth operation being used to hide the slider.

[0020] In the above solution, the foldable screen device can flexibly adjust the range of the first and second partitions according to different operations, thereby improving the interactive experience between the user and the foldable screen device.

[0021] In one possible implementation of the first aspect, the foldable screen device displays a slider in the adjusted first partition at a position that does not overlap with the display position of at least one control in the first partition and is close to the target control, while keeping the display position of at least one control unchanged.

[0022] In the above solution, the display position of the slider will not obscure the original controls in the first section. This allows multiple controls to continue to be displayed on the interface after the target control is touched, and other controls can continue to be touched after the target control is touched. The interaction process is simpler and the user experience is improved.

[0023] In one possible implementation of the first aspect, the first target control can be a brightness control, with a slider corresponding to the brightness control used to adjust the brightness, and / or the first target control can be a volume control, with a slider corresponding to the volume control used to adjust the volume.

[0024] The above solution enables users to adjust the volume and brightness of applications by touching target controls in the first screen area, which makes it easier for users to operate foldable screen devices.

[0025] In one possible implementation of the first aspect, the second screen area displays a control panel provided by a second application, and the method further includes: the foldable screen device receiving a fifth operation applied to the first screen area. In response to the touch position of the fifth operation within the second partition, the foldable screen device maps a first touch event corresponding to the fifth operation to a second touch event and sends the second touch event to the first application, causing the first application to execute the second touch event. In response to the touch position of the fifth operation within the first partition, the second application executes a third touch event corresponding to the fifth operation.

[0026] In the above solution, the foldable screen device can determine whether the operation is performed on the touchpad or in an area other than the touchpad. If the operation is performed on the touchpad, the user can control the application on the second screen area by touching the first screen area, thereby improving the convenience of operating the foldable screen device.

[0027] In one possible implementation of the first aspect, anomaly monitoring is performed on the foldable screen device. If an anomaly is detected in the foldable screen device, some or all touch functions of the first and / or second partitions are disabled. The anomaly includes: a portion of the second partition being covered by a preset window, which may include a pop-up window, a floating window, and an input method display interface; or, the second application crashing.

[0028] In the above solution, by monitoring the anomalies of the foldable screen device, the anomaly can be detected when it occurs, and a solution can be provided, namely, disabling some or all of the touch functions of the first and / or second partitions, thereby improving the user experience when the user encounters an anomaly.

[0029] Secondly, this application provides a foldable screen device, which includes a memory, an inward-folding screen, and a processor; the memory and the inward-folding screen are coupled to the processor. The memory stores computer program code, which includes computer instructions. When the computer instructions are executed by the processor, the foldable screen device performs the method described in the first aspect and any possible implementation thereof.

[0030] Thirdly, embodiments of this application provide a computer storage medium including computer instructions that, when executed on a foldable screen device, cause the foldable screen device to perform the method as described in the first aspect and any possible implementation thereof.

[0031] Fourthly, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform the method as described in the first aspect and any possible implementation thereof. The computer may be a foldable screen device as described in the second aspect and any possible implementation thereof.

[0032] Understandably, the beneficial effects that the foldable screen device of the second aspect, the computer storage medium of the third aspect, and the computer program product of the fourth aspect can achieve can be referred to the beneficial effects of the first aspect and any possible implementation thereof, which will not be repeated here. Attached Figure Description

[0033] Figure 1 is a schematic diagram of a foldable screen device structure provided in an embodiment of this application;

[0034] Figure 2 is a side view of an inward-folding screen mobile phone provided in an embodiment of this application;

[0035] Figure 3 is a schematic diagram of another inward-folding screen mobile phone provided in an embodiment of this application;

[0036] Figure 4 is a schematic diagram of a video playback interface provided by a related technical embodiment;

[0037] Figure 5 is a schematic diagram of an application settings interface provided in an embodiment of this application;

[0038] Figure 6 is a schematic diagram of another settings application interface provided in an embodiment of this application;

[0039] Figure 7 is a schematic diagram of another settings application interface provided in an embodiment of this application;

[0040] Figure 8 is a schematic diagram of the interface of a video application provided in an embodiment of this application;

[0041] Figure 9 is a schematic diagram of the interface of another video application provided in an embodiment of this application;

[0042] Figure 10 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0043] Figure 11 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0044] Figure 12 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0045] Figure 13 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0046] Figure 14 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0047] Figure 15 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0048] Figure 16 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0049] Figure 17 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0050] Figure 18 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0051] Figure 19 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0052] Figure 20 is a schematic diagram of another video playback interface provided in an embodiment of this application;

[0053] Figure 21 is a schematic diagram of the interface of another video application provided in an embodiment of this application;

[0054] Figure 22 is a schematic diagram of the interface of another video application provided in an embodiment of this application;

[0055] Figure 23 is a schematic diagram of a software and hardware system architecture provided in an embodiment of this application;

[0056] Figure 24 is a timing diagram of a display method provided in an embodiment of this application;

[0057] Figure 25 is a schematic diagram of the interface of another video application provided in an embodiment of this application;

[0058] Figure 26 is a timing diagram of another display method provided in an embodiment of this application. Detailed Implementation

[0059] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying 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 this embodiment, unless otherwise stated, "a plurality of" means two or more.

[0060] Currently, there are various types of foldable screen devices on the consumer market. The foldable screens used in these devices are flexible screens, characterized by their excellent flexibility and ability to be bent and folded. Currently, foldable screens in the industry can be categorized into inward-folding screens (hereinafter referred to as "inward-folding screens") and outward-folding screens (hereinafter referred to as "outward-folding screens"). Both inward-folding and outward-folding screens can be folded. When in use, foldable screen devices primarily operate in two states: an unfolded state, where the angle between the first and second screen areas is 180 degrees, and a folded state, where the angle between the first and second screen areas is 0 degrees.

[0061] The following description uses a foldable screen device, such as a mobile phone, as an example to illustrate its structure. As shown in Figure 1, Figure 1 is a schematic diagram of a foldable screen device structure provided in an embodiment of this application.

[0062] The foldable screen device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a sensor module 180, a camera 193, and a display screen 194, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an accelerometer sensor 180C, a touch sensor 180D, etc.

[0063] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the foldable screen device 100. In other embodiments of this application, the foldable screen device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0064] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0065] The controller can serve as the central nervous system and command center of the foldable screen device 100. The controller can generate operation control signals based on instruction operation codes and timing signals to control the fetching and execution of instructions.

[0066] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0067] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (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.

[0068] The wireless communication function of the foldable screen device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0069] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the foldable screen device 100 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0070] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on the foldable screen device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0071] The wireless communication module 160 can provide solutions for wireless communication applications on the foldable screen device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0072] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the foldable screen device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0073] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the foldable screen device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0074] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.

[0075] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The foldable screen device 100 can listen to music or make hands-free calls through the speaker 170A.

[0076] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Foldable screen device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, foldable screen device 100 detects the touch operation intensity based on pressure sensor 180A. Foldable screen device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example: when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.

[0077] The gyroscope sensor 180B is used to determine the motion posture of the foldable screen device. In some embodiments, the angular velocity of the foldable screen device 100 about three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B.

[0078] The accelerometer 180C can detect the magnitude of acceleration in various directions (typically three axes) of a foldable screen device. When the foldable screen device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the attitude of the foldable screen device 100.

[0079] Touch sensor 180D, also known as a "touch panel," can be located on display screen 194. The touch sensor 180D and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180D detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180D may also be located on the surface of the foldable screen device 100, in a different position than display screen 194.

[0080] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the foldable screen device. In other embodiments of this application, the foldable screen device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0081] After the aforementioned foldable screen devices entered the consumer market, during daily use, these devices sometimes could not be held in one hand. For example, when the foldable screen was unfolded, its size was too large for a single hand, requiring both hands to hold it. However, operating the device with both hands was inconvenient, resulting in a poor user experience. Therefore, there is a need for a foldable screen device that eliminates the need for two-handed operation, improving user convenience and overall user experience.

[0082] In this scenario, taking an inward-folding foldable device as an example, to improve user experience, the foldable nature of the inward-folding device can be utilized. The device can be folded to a certain angle, dividing the inner screen into two areas: a first screen area and a second screen area. The second screen area displays the application interface, while the first screen area displays controls and / or a touchpad. By operating the controls and / or touchpad displayed on the first screen area, users can control the functions of the application on the second screen area and / or the foldable device itself. When one side of the casing containing the first screen area is placed horizontally on a table or similar object, the user does not need to hold the inward-folding device with both hands and can operate it with one or both hands, significantly improving user convenience.

[0083] In this scenario, the inward-folding foldable screen device will enter a hover state. The hover state refers to a semi-folded intermediate state where the foldable screen remains open during the transition from an unfolded to a folded state, or vice versa. That is, after unfolding or folding the device from its current angle to another, it enters a hover state. Once in the hover state, applications running in the foreground before entering the hover state can be displayed on one area of ​​the foldable screen, while controls and / or the touchpad can be displayed on the other. The foldable screen device can then map touchpad actions to application control commands.

[0084] Specifically, in some application scenarios, in a hovering state, the housing corresponding to one screen area (the housing containing the first screen area) is typically placed horizontally, while the housing corresponding to the other screen area (the housing containing the second screen area) is at a preset angle to the horizontally placed housing. That is, the two screen areas form an angle, which can be greater than 70 degrees and less than 150 degrees, such as 90 degrees. It should be understood that the hovering state is similar to the unfolded state of a laptop. In other words, the operation mode of the folding screen device in the hovering state is similar to that of a laptop in the unfolded state. For example, when the laptop's display and keyboard are at a 90-degree angle, the application interface will be displayed on the screen, and the functions of the application and / or the laptop can be controlled through keyboard operations. Therefore, the hovering state in this application can also be described as a laptop state or a micro-laptop state, etc., without limitation.

[0085] The following is a detailed description of how a foldable screen enters the hover state.

[0086] Referring to Figure 2, which is a schematic diagram of an inward-folding screen mobile phone according to an embodiment of this application, in Figure 2(a), the folding screen of the mobile phone is in a folded state (or a fully folded state), that is, the angle between the housing containing the first screen area 310 and the housing containing the second screen area 320 is 0 degrees. Figure 2(a) can be unfolded so that the angle between the housing containing the first screen area 310 and the housing containing the second screen area 320 is an angle greater than 70 degrees and less than 150 degrees, for example, 90 degrees, as shown in Figure 2(b), where the folding screen of the mobile phone is in a suspended state.

[0087] For example, referring to Figure 3, which is a schematic diagram of another inward-folding screen mobile phone provided in an embodiment of this application, in Figure 3(a), the folding screen of the mobile phone is in an unfolded state (or fully unfolded state), that is, the angle between the housing containing the first screen area 310 and the housing containing the second screen area 320 is 180 degrees. Figure 3(a) can be folded so that the angle between the housing containing the first screen area 310 and the housing containing the second screen area 320 is 90 degrees. As shown in Figure 3(b), the folding screen of the mobile phone is in a suspended state.

[0088] In this application, the inward-folding screen phone in a hovering state can be used in various scenarios such as shooting, video calling, gaming, and watching videos, without any restrictions.

[0089] For example, consider the application of the inward-folding screen phone in a shooting scenario when it is in a hovering state. Specifically, in a shooting scenario, as shown in Figure 3(b), after the inward-folding screen phone is in a hovering state, the second screen area 320 can be used to display the shooting image captured by the camera, while the first screen area 310 displays the shooting mode, settings, shutter, and other controls. That is, the shooting process can be controlled through the relevant controls.

[0090] For example, consider the hovering state of an inward-folding foldable phone in a video call scenario. Specifically, in a video call scenario, when the inward-folding foldable phone is in a hovering state, the second screen area is used to display the call screen, while the first screen area displays controls related to the video call, such as controls to exit the video call or switch cameras. In other words, the entire video call process can be controlled through these controls.

[0091] For example, consider the application of inward-folding foldable screen phones in gaming scenarios. Specifically, in a gaming scenario, when the inward-folding foldable screen phone is in a hovering state, the second screen area is used to display the game screen, while the first screen area displays game-related controls, such as left-moving controls and right-moving controls. In other words, the game process can be controlled through these controls.

[0092] For example, consider the scenario of watching videos on an inward-folding screen phone. Specifically, when the inward-folding screen phone is in a hovering state, the second screen area is used to display the video being watched, while the first screen area displays controls for controlling the video viewing experience, such as volume and brightness controls. In other words, the viewing experience can be controlled through these controls.

[0093] However, in some embodiments, when the foldable screen device is in a hovering state, the interaction process of controlling the application in the second screen area by touching the first screen area is cumbersome and the user experience is poor.

[0094] Specifically, taking the scenario of watching videos on an inward-folding screen phone as an example, Figure 4 is a schematic diagram of a video playback interface provided in an embodiment of this application. In Figure 4, the inward-folding screen phone is in a hovering state. As shown in Figure 4(a), two areas are displayed on the first screen area: a control area 410 and a touchpad 420. Multiple controls are displayed on the control area 410, such as a volume control 1014 for controlling volume and a brightness control 1013 for controlling brightness. On the touchpad 420, the user can control the video playback effect by touching the control area 410 and the touchpad 420. When the volume control 1014 or brightness control 1013 is touched by the user, as shown in Figure 4(b), the inward-folding screen responds to the user's touch and displays a vertical bar 430 (or slider) for adjusting the volume or brightness on the area where the control was originally displayed. The user can control the brightness or volume by sliding the vertical bar 430. For example, taking the vertical bar 430 corresponding to the volume as an example, the inward-folding screen device responds to the user's upward sliding operation to increase the volume, or the inward-folding screen device responds to the user's downward sliding operation to decrease the volume, etc.

[0095] The above describes the scenario where the user adjusts brightness or volume individually. Below, we'll explain the scenario where the user adjusts brightness and volume sequentially, for example, adjusting the brightness of the inward-folding screen phone first and then adjusting the volume. Specifically, the user first touches the brightness control 1013 in control area 410. The inward-folding screen phone responds to this touch by displaying the vertical bar 430 corresponding to the brightness level. Next, the user presses the dot on the vertical bar 430, and the dot slides up and down the bar as the user moves. The inward-folding screen phone responds to this up-and-down sliding action to adjust the brightness for video playback. Afterwards, in order to continue adjusting the volume while adjusting the brightness, the user needs to touch a screen area outside the vertical bar 430, or not touch the screen in the control area within a preset time, so that the inward-folding screen phone hides the vertical bar 430 (or stops displaying the vertical bar 430 / exits the display of the vertical bar 430), so that multiple controls can continue to be displayed on the control area 410, and then the volume can be adjusted by touching the volume control 1014.

[0096] Understandably, in this embodiment, after touching one control in the control area, multiple controls in the control area will be hidden (or, in other words, the display of multiple controls will stop / exit the display of multiple controls), and only the slider will be displayed on the interface. In order to continue touching other controls, multiple controls need to be displayed on the inward-folding screen device before the user can touch other controls. Therefore, the interaction process is relatively cumbersome and the user experience is poor.

[0097] To address the aforementioned technical problems, this application provides a display method applied to a foldable screen device. The foldable screen device is an inward-folding foldable screen device, and the inner screen of the foldable screen device includes a first screen area and a second screen area. The method includes: in response to the foldable screen device being in a hover state, displaying a first application interface of a first application in the first screen area, and displaying a control panel in the second screen area. The control panel includes a first partition and a second partition. The first partition includes at least one control, and the second partition includes a touchpad. A first touch event acting on the touchpad is mapped to a second touch event on the first application interface to control the first application. A first operation is received acting on a first target control, where the first target control is a control in the first partition. In response to the first operation, the range of the first partition and / or the range of the second partition is adjusted to display at least one control and a first component corresponding to the first target control in the adjusted first partition, and the touchpad is displayed in the adjusted second partition. The first component is used to control the function corresponding to the first target control.

[0098] In this context, the first target control refers to a control whose range can be changed after being touched, encompassing both the first and second partitions. Furthermore, in this application, the second partition can be a touchpad; therefore, the second partition can also be described as a touchpad or as including a touchpad. The first partition can also be described as a control area.

[0099] Understandably, in the embodiments of this application, after a user touches a target control on the first partition, the range of the first partition and / or the range of the second partition are adjusted so that the first partition can display multiple controls simultaneously, as well as any components added to the first partition after the target control is touched. That is, by changing the range of the first partition and / or the second partition, multiple controls on the first partition are always displayed on the first partition. This allows multiple controls to continue to be displayed on the interface after the target control is touched, and allows users to continue touching other controls after touching the target control, making the interaction process simpler and improving the user experience.

[0100] The display method of this application will be specifically described below with reference to the accompanying drawings of specific embodiments.

[0101] In the embodiments of this application, when the foldable screen device is in a hover state, not all applications on the foldable screen device can be displayed on the second screen area of ​​the foldable screen, and applications can be controlled via touch on the first screen area. Only preset applications support hovering, such as video applications and browsers. Furthermore, even if an application supports hovering, its hover mode must be enabled in the application settings before it can be controlled via touch on the first screen area. That is, hover mode means that when the foldable screen device is in a hover state, applications are allowed to be displayed on the second screen area, and applications on the second screen area can be controlled via touch on the first screen area.

[0102] In the embodiments of this application, the methods for an application to enter hover mode include: manual entry and automatic entry. The following explains how to set the method for an application to enter hover mode.

[0103] As shown in Figure 5, Figure 5 is a schematic diagram of the interface of a settings application provided in an embodiment of this application. After the user opens the settings application of the inward-folding screen device, multiple settings options are displayed on the left side of the interface in the inward-folding screen. After the user selects the "Folding Zone" 510 settings option, the "Folding Zone" interface is displayed on the right side of the interface in the inward-folding screen. The "Folding Zone" interface contains multiple settings options. After the user selects the "Hover Mode" 520 settings option, the right side of the interface in the inward-folding screen will jump to the "Hover Mode" interface, allowing the user to select which applications' hover modes to enable.

[0104] As shown in Figure 6, which is a schematic diagram of another application setting interface provided in this application embodiment, after the "System Hover Mode" 630 button is turned on by the user in the "Hover Mode" interface of the inward folding device, the user can set the way for the preset applications that support hovering to enter "Hover Mode".

[0105] Specifically, as shown in Figure 7, which is a schematic diagram of another application settings interface provided in this application embodiment, users can configure each application that supports hover mode. When a user needs to set how an application enters hover mode, the foldable screen device responds to the user's operation and pops up a settings pop-up window 710 on the application settings page, allowing the user to set whether to enable the application's hover mode. If the user chooses to enable the application's hover mode, the user can then choose whether the application enters hover mode manually or automatically. Alternatively, the user can choose not to enable the application's hover mode.

[0106] In one scenario, during the process of an application entering hover mode, the user can first open a hover-enabled application, and then fold the foldable device to a preset angle. The foldable device responds by folding to the preset angle and entering hover mode, displaying the application interface of the hover-enabled application on the second screen area, while the first and second sections are displayed on the first screen area. Alternatively, the user can first fold the foldable device to a preset angle, and then open a hover-enabled application. The foldable device responds by displaying the application interface of the hover-enabled application on the second screen area, while the first and second sections are displayed on the first screen area.

[0107] Specifically, taking the automatic entry of a video application into hover mode during video playback as an example, when the video application supports hovering, Figure 8 shows a schematic diagram of the interface of a video application provided in this embodiment. When the inward-folding foldable screen phone is in the unfolded state, the inward-folding foldable screen device will display the video played by the video application in full screen while the user is playing a video using the video application. In response to the inward-folding foldable screen being folded to a preset angle by the user, the foldable screen device is in a hovering state. If the video application supports hovering and is set to automatically enter hover mode, then as shown in Figure 10(a) below, the video played by the video application is displayed on the second screen area, and the first screen area displays the first partition and the second partition.

[0108] In other embodiments, taking the manual entry of the foldable screen device into a hover state during video viewing as an example, when the inward-folding foldable screen phone is in the unfolded state, the inward-folding foldable screen displays the video played by the video application in full screen. In response to the user folding the inward-folding screen to a preset angle, the foldable screen device enters a hover state. If the currently playing video application is set to enable hover and is set to manually enter hover mode, as shown in Figure 9, which is a schematic diagram of another video application interface provided in this application embodiment, after the hover button 910 in Figure 9 is touched, the video plays in the second screen area, and the first and second partitions are displayed in the first screen area.

[0109] The following is a detailed explanation of what happens when the application enters hover mode.

[0110] Specifically, taking a video viewing scenario as an example, as shown in Figure 10, Figure 10 is a schematic diagram of another video playback interface provided in this application embodiment. Assuming that the video application in Figure 10 supports hovering, when the foldable screen device is in a hovering state, as shown in Figure 10(a), the video currently being played by the video application is displayed on the second screen area 320, and the first partition 1011, the second partition 1012, and the application exit hover button 1017 are displayed on the first screen area 310. Among them, the application exit hover button 1017 is used to exit the application's hovering mode, that is, the application will be displayed in full screen on the inward-folding screen.

[0111] In this embodiment, the foldable screen device can be controlled through the controls in the first partition 1011.

[0112] Specifically, the first partition 1011 is equipped with a brightness control 1013, a volume control 1014, a screenshot control 1015, and a split-screen control 1016. The volume control 1014 controls the volume of the foldable screen device. The brightness control 1013 controls the screen brightness of the foldable screen device. The screenshot control 1015 captures the interface displayed on the second screen area 320. As shown in Figure 11, which is a schematic diagram of another video playback interface provided in this embodiment, a video is playing on the second screen area 320. When the screenshot control 1015 is touched, an image is generated above the second screen area 320, which is a frame of the currently playing video. The split-screen control 1016 is used to display the interfaces of other applications on the first screen area 310, allowing different applications to be displayed on different displays of the foldable screen. As shown in Figure 12, which is a schematic diagram of another video playback interface provided in this embodiment. Therefore, the foldable screen device can be controlled through the brightness control 1013, volume control 1014, screenshot control 1015, and split-screen control 1016.

[0113] In this embodiment, the target controls can be a volume control 1014 and a brightness control 1013. Assuming the brightness control 1013 is touched, a slider 1018 will be added to the side of the first partition 1011 facing the second partition 1012. The slider 1018 is used to adjust the screen brightness. Specifically, as shown in Figure 10(b), when the user touches the brightness control 1013, a vertical slider 1018 will be displayed to the right of the brightness control 1013. The trend of the slider 1018 changes in the same way as the brightness. When the user slides the slider 1018 upwards, the foldable screen device detects the user's operation and increases the screen brightness. Similarly, when the user slides the slider 1018 downwards, the foldable screen device detects the user's operation and decreases the screen brightness.

[0114] In this embodiment, assuming that brightness and volume need to be adjusted sequentially, after touching the brightness control 1013, the multiple controls in the first partition (brightness control 1013, volume control 1014, screenshot control 1015, and split-screen control 1016) will not be hidden. That is, the multiple controls are still displayed on the first partition 1011. Instead, the range of the first partition 1011 and the second partition 1012 is adjusted so that the first screen area 310 displays both the multiple controls and the slider 1018. This allows the volume control 1014 to be directly touched after adjusting the slider 1018 corresponding to the brightness, displaying the slider 1018 corresponding to the volume, and adjusting the volume. The interaction process is simpler, the user experience is better, and the range of the first partition 1011 and the second partition 1012 is dynamically adjusted.

[0115] Specifically, the brightness control can be used as the first target control, and the volume control as the second target control. That is, after the foldable screen device adjusts the range of the first partition and / or the range of the second partition in response to the first operation, it can also receive a second operation acting on the second target control. In response to the second operation, at least one control and a second component corresponding to the second target control are displayed on the first partition. The second component is used to control the function corresponding to the second target control, while the ranges of the first and second partitions remain unchanged.

[0116] Understandably, in this embodiment, when a user touches the brightness control, the range of the first partition and / or the range of the second partition are adjusted according to the component corresponding to the brightness control, and then the volume control is touched. If the position and size of the component corresponding to the brightness control and the component corresponding to the volume control remain unchanged, the range of the first partition and / or the range of the second partition can remain unchanged.

[0117] In other embodiments, after a user touches the first target control, adjusts the range of the first partition and / or the second partition, and then touches the third target control, the foldable screen device receives a third operation applied to the third target control. In response to the third operation, the device readjusts the range of the first partition and / or the second partition to display at least one control and a third component corresponding to the third target control in the readjusted first partition, and displays a touchpad in the readjusted second partition. The range of the first partition and / or the second partition adjusted in response to the first operation is different from the range of the first partition and / or the second partition adjusted in response to the third operation.

[0118] Specifically, as shown in Figure 13, which is a schematic diagram of another video playback interface provided in an embodiment of this application, the size and position of the component corresponding to the user touching the brightness control 1013 in Figure 13(a) are different from the size and position of the component corresponding to the user touching the volume control 1014 in Figure 13(b). Therefore, the range of the first partition and / or the range of the second partition adjusted by the foldable screen device after the user touches the brightness control 1013 is different from the range of the first partition and / or the range of the second partition adjusted by the foldable screen device after the user touches the volume control 1014.

[0119] In other embodiments, as shown in FIG14, FIG14 is a schematic diagram of another video playback interface provided in an embodiment of the present application. The slider 1018 can also be a horizontal bar, that is, the user can adjust the volume or brightness by sliding it to the left or right. Moreover, the range of the first partition 1011 and the second partition 1012 can be dynamically adjusted according to the position and size of the horizontal bar. Specifically, before touching the brightness control 1013 and the volume control 1014, it is as shown in FIG14(a), and after touching the brightness control 1013 and the volume control 1014, it is as shown in FIG14(b).

[0120] Optionally, in this application, the first partition and the second partition before adjustment do not overlap, and the first partition and the second partition after adjustment also do not overlap. They are independent of each other and do not affect the use of each partition.

[0121] In other embodiments, only the range of the first partition can be adjusted after the user touches the target control. This embodiment is applicable when there is a preset distance between the first and second partitions, i.e., a certain interval, so that after the range of the first partition is adjusted, for example, by increasing its range, it will not overlap with the second partition and will not affect the use of the second partition.

[0122] Specifically, as shown in Figure 15, which is a schematic diagram of another video playback interface provided in this application embodiment. As shown in Figure 15(a), there is a preset distance between the first partition 1011 and the second partition 1012, i.e., a certain interval. When a target control on the first partition 1011 is touched, as shown in Figure 15(b), after the volume control 1014 and the brightness control 1013 are touched, a slider 1018 is added to the side of the first partition 1011 facing the second partition 1012, and the range of the first partition 1011 is adjusted based on the newly added slider 1018, so that the slider 1018 corresponding to the newly added brightness control 1013 or volume control 1014 on the interface can be displayed in the first partition 1011, without hiding the original multiple controls in the first partition 1011, making it easier to directly touch other controls later, making the interaction process simpler and the user experience better. Moreover, in this embodiment, the brightness and volume of the foldable screen device can also be adjusted simultaneously.

[0123] Optionally, the operations on the second partition may include, but are not limited to, swiping, clicking, double-clicking, dragging, etc., and the first touch event acting on the touchpad is mapped to the second touch event on the first application interface. The second touch event on the second screen area includes, but is not limited to, cursor display, pause, start, screenshot, brightness adjustment, volume adjustment, etc.

[0124] As an example, when a user operates on the touchpad, the touch position of the finger on the touchpad can be mapped onto a second screen area, and a cursor can be displayed at the corresponding position. As the finger moves on the touchpad, the cursor also moves.

[0125] As shown in Figure 16, which is a schematic diagram of another video playback interface provided in an embodiment of this application, when a user slides their finger on the touchpad, a cursor can be displayed on the second screen area, wherein the cursor moves in the same position as the finger swiping gesture.

[0126] Furthermore, applications in the second screen area can be controlled via touch operations on the touchpad.

[0127] For example, as shown in Figure 17, which is a schematic diagram of another video playback interface provided in an embodiment of this application, when a user's finger operates on the side of the touchpad facing the first partition, if the user's finger slides vertically upward from the initial touch position, the screen brightness of the foldable screen device can be controlled. This is because the user's operation on the touchpad simulates the process of adjusting the brightness via a slider after touching the brightness control. Furthermore, as the user's finger slides, the foldable screen device responds to the sliding operation, displaying a brightness slider in the upper center of the video playback interface. As the user's finger slides upward, the slider also slides from left to right, allowing the user to easily determine the current brightness change.

[0128] As shown in Figure 18, which is a schematic diagram of another video playback interface provided in an embodiment of this application, when a user's finger operates on the side of the touchpad away from the first partition, if the user's finger slides vertically upward from the initial touch position, the volume of the foldable screen device can be controlled. This is because the user's operation on the touchpad simulates the process of adjusting the volume via a slider after touching the volume control. Simultaneously, the foldable screen device responds to the sliding operation, displaying a volume slider in the upper center of the video playback interface. As the user's finger slides upward, the slider also slides from left to right, allowing the user to easily determine the current volume change.

[0129] By sliding a user's finger from the side of the touchpad furthest from the first section to the side closer to the first section, or vice versa, the playback progress of the video on the second screen area can be changed. For example, as shown in Figure 19, which is a schematic diagram of another video playback interface provided in an embodiment of this application, sliding the user's finger from the side of the touchpad closer to the first section to the side farther away from the first section will advance the video playback progress.

[0130] As mentioned earlier, when the foldable screen device receives an operation on the target control, the foldable screen device responds to the operation and adjusts the range of the first partition and the range of the second partition.

[0131] In some embodiments, adjusting the extent of the first partition and the extent of the second partition may include: adjusting the length and / or width of the first partition based on the position and size of the first component; and adjusting the length and / or width of the second partition according to the adjusted length and / or width of the first partition and the length and / or width of the inner screen.

[0132] In this application, after the target control in the first partition is touched, the first partition is adjusted. The adjusted range of the first partition can support the simultaneous display of the original controls in the first partition and the newly added components corresponding to the target control. At this time, the size of the first partition can be determined by the sum of the display area of ​​the original controls in the first partition and the display area of ​​the newly added components corresponding to the target control. For example, a combined area obtained by combining the display area of ​​the original controls in the first partition and the display area of ​​the newly added components corresponding to the target control can be used as the range of the first partition. Alternatively, a combined area can be obtained by combining the display area of ​​the original controls in the first partition and the display area of ​​the newly added components corresponding to the target control, and then expanding the size of this combined area to obtain a new area, which is used as the adjusted first partition. A new area can be obtained by expanding one or more of the top, bottom, left, and right boundaries of the combined area.

[0133] In this application, the range of the inward-folding screen can be replaced by describing the size of the inward-folding screen or the dimensions of the inward-folding screen, without limitation. This application uses the range of the inward-folding screen as an example for description. The range of the inward-folding screen can be set at the factory of the folding screen device and is fixed. The folding screen device can obtain the range of the inward-folding screen from its setting parameters, and further determine the position of the first coordinate point based on the obtained range of the inward-folding screen and the adjusted size of the first partition.

[0134] In this application, the shapes of the first and second partitions are not limited; they can be any shape, such as rectangles, ellipses, circles, or triangles. The rectangle can be any shape, such as a rounded rectangle or a right rectangle, and can include squares or rectangles. Furthermore, this application does not limit the arrangement of the first and second partitions on the first screen area. For example, when the foldable screen device is in portrait mode, the first and second partitions can be arranged horizontally, left-right, vertically, or top-bottom. The first and second partitions do not overlap. When the first and second partitions are arranged horizontally or left-right, their heights can be the same or different. When the first and second partitions are arranged vertically or top-bottom, their widths can be the same or different. Additionally, there may or may not be a gap between the first and second partitions; this is not limited.

[0135] Specifically, the shape of the first and second partitions, their arrangement / layout on the first screen area, and display parameters such as height / width can be preset as needed without restriction.

[0136] Optionally, the first coordinate point and the second coordinate point can be different coordinate points on the second partition. These two coordinate points can be used to construct the second partition. For example, if the second partition is a rectangle, the first coordinate point can be a vertex in the second partition, such as a vertex in the second partition that is close to the first partition or a vertex that is far from the first partition, without restriction. The second coordinate point can be a coordinate point on the second partition that forms a diagonal with the first coordinate point. In this way, after determining the first coordinate point and the second coordinate point, the second partition can be constructed using the first coordinate point and the second coordinate point.

[0137] It should be understood that when the second section is a rounded rectangle, one vertex of the second section can be the right angle point corresponding to one of the rounded corners of the second section, and the right angle point corresponding to the rounded corner is the intersection point of the two sides connected by the rounded corner.

[0138] Optionally, taking the first and second partitions as rectangles, the first coordinate point is determined based on the adjusted length and width of the first partition and the length and width of the inner screen. This includes: determining the coordinate value of the first coordinate point on the first axis based on the length of the side of the first partition parallel to the first axis of a pre-established two-dimensional coordinate system; wherein the first axis of the two-dimensional coordinate system is parallel to the first border of the inner screen, and the second axis of the two-dimensional coordinate system is parallel to the second border of the inner screen. The coordinate value of the first coordinate point on the second axis is determined based on the height of the second border of the inner screen and the height of the side of the second partition parallel to the second axis.

[0139] Optionally, determining the second coordinate point based on the position of the first coordinate point, the preset length and width of the second partition, includes: determining the coordinate value of the second coordinate point on the first axis based on the coordinate value of the first coordinate point on the first axis and the length of the side of the second partition parallel to the first axis; and determining the coordinate value of the second coordinate point on the second axis based on the coordinate value of the first coordinate point on the second axis and the height of the side of the second partition parallel to the second axis.

[0140] The first axis can be called the x-axis, horizontal axis, or horizontal axis, and the second axis can be called the y-axis, vertical axis, or vertical axis, etc., without restriction. The first border can be the short border of the inward-folding screen, and the second border can be the long border of the inward-folding screen, or the first border can be the long border of the inward-folding screen, and the second border can be the short border of the inward-folding screen. The first border and the second border are perpendicular to each other.

[0141] The preset origin can be a pre-set origin or center point. The relative position between the preset origin and a preset reference point on the foldable screen device remains fixed and does not change with the posture of the foldable screen device. Optionally, the camera of the foldable screen device can be used as the reference point. The relative position between the preset origin and the camera remains fixed and does not change with the posture of the foldable screen device. For example, as shown in Figure 20, which is a schematic diagram of another video playback interface provided in this application embodiment, in Figure 20(a), the lower left corner of the foldable screen device is set as the preset origin 1820, and the origin 1820 and the camera 1810 are located on the same side. When the foldable screen device is rotated 180 degrees, as shown in Figure 20(b), although the origin 1820 changes from the lower left corner of the foldable screen device to the upper right corner, this point is still used as the preset origin 1820 to ensure that the relative position between the preset origin 1820 and the camera 1810 remains unchanged.

[0142] For example, assuming the first partition 1011 and the second partition 1012 are arranged horizontally, and the first partition 1011 and the second partition 1012 are rounded rectangles, the process of adjusting the first partition 1011 and the second partition 1012 will be explained with reference to Figure 21. As shown in Figure 21, Figure 21 is a schematic diagram of the interface of another video application provided in an embodiment of this application. The right angle point corresponding to the rounded corner of the lower left corner of the rounded rectangle can be set as the first coordinate point 1910(x1, y1), and the right angle point corresponding to the rounded corner of the upper right corner of the rounded rectangle can be set as the second coordinate point 1920(x2, y2). After the target control is touched, the range of the first partition 1011 and the range of the second partition 1012 will change. In this case, the position of the right angle point of the rectangle closer to the first partition 1011 can be determined first by using the range of the first partition 1011 and the range of the inward folding screen. Then, the position of the right angle point at the other end of the diagonal where the first coordinate point 1910 is located can be determined by using the size of the first range. That is, the second coordinate point 1920 is the right angle point of the rectangle away from the first partition 1011. This is used to determine the position of the first range on the inward folding screen, that is, the position of the second partition 1012.

[0143] For example, assuming the first partition 1011 and the second partition 1012 are arranged vertically, and the first partition 1011 and the second partition 1012 are rounded rectangles, the process of adjusting the first partition 1011 and the second partition 1012 will be explained with reference to Figure 22. Specifically, as shown in Figure 22, Figure 22 is a schematic diagram of the interface of another video application provided in this application embodiment. Before the target control is touched, the first screen area 310 is as shown in Figure 22(a). After the target control is touched, the first screen area 310 is as shown in Figure 22(b). In this case, the origin 1820 can be set on the line connecting the first screen area 310 and the second screen area 320 and close to the end of the camera 1810, and a two-dimensional coordinate system can be established with this origin 1820. If the first coordinate point 1910 is set as the right angle point on the rectangle containing the rounded corner of the upper right corner of the rounded rectangle, and the second coordinate point 1920 is set as the right angle point on the rectangle containing the rounded corner of the lower left corner of the rounded rectangle. Since the adjusted size of the first partition 1011 is known, the height of the side of the first partition 1011 parallel to the first axis is used as the coordinate value of the first coordinate point 1910 on the first axis, i.e., the value of x1. Then, the length of the second frame of the inward-folding screen is subtracted from the length of the side of the second partition 1012 parallel to the second axis to obtain the coordinate value of the first coordinate point 1910 on the second axis, i.e., the value of y1. Subsequently, the height of the rounded rectangle's side parallel to the first axis is subtracted from the coordinate value of the first coordinate point 1910 on the first axis to obtain the coordinate value of the second coordinate point 1920 on the first axis, i.e., the value of x2. Finally, the length of the rounded rectangle's side parallel to the second axis is subtracted from the coordinate value of the first coordinate point 1910 on the second axis to obtain the coordinate value of the second coordinate point 1920 on the second axis, i.e., the value of y2.

[0144] In other embodiments, when the second partition is circular, the first coordinate point can be one end of the axis of symmetry of the second partition. For example, it can be an end of the axis of symmetry that is close to the first partition or an end that is far away from the first partition, without limitation. The second coordinate point can be another end on the axis of symmetry of the second partition, and can form an axis of symmetry with the first coordinate point. In this way, after determining the first coordinate point and the second coordinate point, an axis of symmetry can be constructed by connecting the first coordinate point and the second coordinate point, and the second partition can be constructed based on the axis of symmetry.

[0145] As shown above, when the controls in the first touch zone perform certain functions, the area of ​​the first zone can be expanded and the area of ​​the second zone can be reduced. This allows the first zone to simultaneously display controls and their corresponding components, such as the sliders associated with the controls, facilitating user operation of the controls and sliders while ensuring the normal use of the second zone. This process may include:

[0146] In response to a first operation on a first target control, the range of the first partition is adjusted from a third range to a fourth range, where the fourth range is greater than the third range, and / or the range of the second partition is adjusted from a second range to a first range, where the first range is less than the second range. The first operation is used to display a slider corresponding to the first target control, the slider being used to control performance parameters of the foldable screen device. The method further includes: in response to a fourth operation on the first target control, adjusting the range of the first partition from a fourth range to a third range, and / or adjusting the range of the second partition from a first range to a second range, the fourth operation being used to hide the slider.

[0147] The first operation can be the first touch of the target control, and the fourth operation can be the second touch of the target control or the touch of any position in the first partition.

[0148] Specifically, taking watching a video through a video application as an example, as shown in Figure 10 above, Figure 10(a) shows the interface when the target control is not touched. Figure 10(b) shows the interface after the target control is touched. When the target control is touched for the first time, a slider 1018 will be displayed in the first partition 1011. This slider 1018 is used to control the performance parameters of the foldable screen device. In the embodiments of this application, in order to simultaneously display multiple controls before the target control is touched, and the slider 1018 after the target control is touched, on the first partition 1011, this is achieved by adjusting the range of the first partition 1011 and the range of the second partition 1012. The range of the second partition 1012 is determined based on the adjusted range of the first partition 1011 and the range of the inward-folding screen. Since the range of the first partition 1011 will expand after receiving the first touch operation, the range of the second partition 1012 before receiving the first touch operation is larger than the range of the second partition 1012 after receiving the first touch operation.

[0149] After the target control receives the second touch operation, the slider 1018 corresponding to the target control will be hidden, and the range of the first partition 1011 will be adjusted to the range before receiving the first touch operation. Similarly, the range of the second partition 1012 will also be adjusted to the range before receiving the first touch operation. That is, the interface changes from (b) in Figure 10 to (a) in Figure 10. Since the slider 1018 is hidden, the performance parameters of the foldable screen device cannot be adjusted through the slider 1018.

[0150] In some embodiments, after receiving a first touch operation, the foldable screen device displays a slider 1018 in the adjusted first partition 1011 at a position that does not overlap with the display position of at least one control in the first partition 1011 and is close to the target control, while keeping the display position of at least one control unchanged.

[0151] The slider 1018 can be a vertical slider (as shown in Figure 10) or a horizontal slider (as shown in Figure 13). Furthermore, for user convenience, a slider corresponding to the target control can be added directly to the right of multiple controls.

[0152] The following section describes the specific implementation process of the display method in this application from the perspective of software architecture.

[0153] As shown in Figure 23, Figure 23 is a schematic diagram of a software and hardware system architecture provided in an embodiment of this application.

[0154] The software system of a foldable screen device can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture of the Android system as an example to illustrate the software structure of a foldable screen device.

[0155] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into three layers, from top to bottom: the application layer, the application framework layer, and the driver & hardware layer.

[0156] The application layer can include a series of application packages.

[0157] As shown in Figure 23, the application package may include the Dockbar application, the System User Interface (System UI) application, the Settings application, etc.

[0158] The Dockbar is used to display a first partition and a second partition on a first screen area. The second partition includes a touchpad, and the Dockbar can calculate the size of the touchpad and determine its position on the inward-folding screen based on the adjusted size of the first partition after a target control is touched. In embodiments of this application, the Dockbar can also be referred to as a second application.

[0159] System UI can provide system-level applications, such as volume control, brightness control, and screenshot control applications. These applications, displayed as app icons in the first section of the screen when the folded screen is hovering, provide brightness, volume, and screenshot functions. For example, after touching the volume control in the first section, the user can change the volume by touching the corresponding slider. It should be understood that System UI can manage and provide system-level applications, such as adding or deleting them.

[0160] Settings is used to set / configure or turn on / off some features supported by foldable screen devices, as well as certain applications used to set / configure or turn on / off foldable screen devices.

[0161] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0162] As shown in Figure 23, the application framework layer may include WindowManager, MotionService, InputManager, and DeviceStateManager.

[0163] WindowManager is used to split-screen the display of hover-enabled applications. Specifically, when the foldable device is hovered and the current application is in hover mode, the application's interface is displayed in the second screen area, while the first screen area displays both the first and second partitions. Furthermore, the embedded window module within WindowManager can embed multiple function panels corresponding to control functions in the System UI (brightness adjustment panel, screenshot panel, volume adjustment panel) into the Dockbar's application interface via embedded windows. This means that multiple controls (volume control, brightness control, screenshot control) will be displayed in the first partition.

[0164] The InputManager determines whether the touch position corresponding to the received operation is within the touchpad (second partition). If it is, the InputManager maps the touch operation on the touchpad to control commands from the application on the second screen area. That is, the first touch event on the touchpad is mapped to a second touch event on the first application interface to control the preset application. If it is not on the touchpad, the InputManager generates and executes a touch event on the touchscreen. The InputManager can also use the coordinate mapping between the touchpad and the second screen area to transfer the touch position of the received operation on the touchpad to the display page of the second screen area. For example, when a finger manipulates the touchpad, a cursor is displayed at the corresponding position on the second screen area, and the cursor moves as the finger moves on the touchpad.

[0165] MotionService includes posture event management and pathways, which are used to report the folding posture of the foldable screen detected by the hardware layer to DeviceStateManager.

[0166] DeviceStateManager is used to manage the state of foldable screen devices and monitor the current posture of foldable screen devices.

[0167] The driver layer and hardware layer, also known as the kernel layer, include the touch panel (TP) driver and the accelerometer (Acc) / gyroscope (Gyro) sensor.

[0168] Among them, the TP driver is a driver program used to control and manage the functions of touch screen devices.

[0169] The Acc / Gyro Sensor includes an attitude recognition algorithm that inputs data collected by the accelerometer and gyroscope into the algorithm to obtain the folding attitude and orientation events of the foldable screen device. The orientation events are used to indicate the orientation information of the foldable screen device.

[0170] In embodiments of this application, the display method of this application may be implemented by adding a split-screen selector module and a system hover panel module to the Dockbar, adding an application-level hover switch menu module to the Settings, adding a split-screen display management module to the WindowManager, adding an Input distribution module to the InputManager, and adding a TP driver to the driver.

[0171] Taking a mobile phone as an example, and combining the hardware structure and system structure shown in Figure 23 above, the method in the embodiment of this application is described as follows:

[0172] 1. When the foldable screen device is in a hover state, the first and second partitions are displayed in the first screen area, and the application interface of the application that is running in the foreground and supports hovering is displayed in the second screen area before the foldable screen is in a hover state.

[0173] After collecting relevant sensor data via the Acc / Gyro Sensor, the current folding posture and orientation events of the foldable screen device are identified using a posture recognition algorithm. The folding posture and orientation events are then reported to the MotionService, which in turn reports them to the DeviceStateManager. The posture monitoring module in the DeviceStateManager listens for posture data. If the device state management module in the DeviceStateManager determines, based on the folding posture and orientation events, that the foldable screen device is currently in a half-folded posture (folding inwards), then the device state management module in the DeviceStateManager determines that the foldable screen device is currently in a hovering state.

[0174] The DeviceStateManager's device state management module notifies WindowManager that the foldable device is currently in a hover state. In this case, WindowManager determines whether the currently open application supports hovering through the application-level hover switch menu module in Settings. If it does, the application interface of the current application is displayed in the second screen area through the split-screen display management module in WindowManager, and the Dockbar system hover panel module is displayed in the first screen area. That is, at least one control and touchpad are displayed.

[0175] The Dockbar also includes a split-screen selector. When a user wants to display an application other than the one in the second screen area on the first screen area, this can be achieved through the split-screen selector in the Dockbar. That is, if a user wants to display the application interface of application 1 on the first screen area and the application interface of application 2 on the second screen area, they can click the split-screen control 1016 in Figure 10(a). The foldable screen device responds to the touch of the split-screen control 1016, and the interface in the first screen area will jump from the interface shown in Figure 10(a) to the interface shown in Figure 12. After the user selects the application in Figure 12, the foldable screen device responds to the application selected by the user and can display the application interface of the selected application on the first screen area, so as to display different applications on different displays.

[0176] 2. Receive the user's touch operation on the first screen area, and adjust the range of the first partition and / or the range of the second partition based on the position and size of the component corresponding to the target control.

[0177] The TP driver can obtain the touch position corresponding to the current operation and send it to the Input receiving module in the InputManager. The InputManager determines whether the touch position corresponding to the current operation is on the touchpad based on the range of the first and second partitions calculated by the Dockbar. If it is on the touchpad, the InputManager maps the first touch event acting on the touchpad to a second touch event on the first application interface, and then the Input distribution module sends the second touch event to the application on the second screen area to control the application. If it is not on the touchpad, the InputManager generates a touch event executed by the Dockbar based on the current operation. That is, the foldable screen device will execute touch screen logic to respond to the touch at the current operation position.

[0178] The following is a detailed description of the execution process of the display method of this application using an embodiment.

[0179] As shown in Figure 24, Figure 24 is a timing diagram of a display method provided in an embodiment of this application. This figure includes: an application on the second screen area, a Dockbar, a WindowManager, an InputManager, and a TP driver.

[0180] In some embodiments, when the inward-folding foldable screen device is in a hover state and the application running in the foreground of the inward-folding foldable screen device supports hovering, a system hover panel of the Dockbar can be displayed on the first screen area, and the application interface of the application running in the foreground can be displayed on the second screen area. Furthermore, if the user touches a target control, causing changes in the range of the first and second partitions, the Dockbar can calculate the range of the first and / or second partitions using the aforementioned method of establishing a two-dimensional coordinate system, and adjust the first and second partitions accordingly.

[0181] 1. The user touches the first target control.

[0182] 2. Adjust the Dockbar range for the first partition and / or the second partition.

[0183] Specifically, the Dockbar can adjust the range of the first section and / or the range of the second section based on the position and size of the component corresponding to the target control. For example, the Dockbar can determine the position and size of the component, adjust the range of the first section based on the position and size of the component, and then determine the range of the second section based on the adjusted range of the first section and the range of the inward folding screen.

[0184] In other embodiments, if the foldable screen device is rotated 180 degrees by the user, the positions of the housing containing the first screen area and the housing containing the second screen area change. Specifically, referring to Figure 20 above, in Figure 20(a), the display screen on the side where the camera 1810 is located is in a vertical state before rotation. After the foldable screen device is rotated, the display screen on the side where the camera 1810 is located is in a horizontal state before rotation. Therefore, the display screen on the side where the camera 1810 is located displays the application interface of the hover-enabled application before rotation, and displays the first and second partitions after rotation. Since the relative position between the preset origin and the camera remains unchanged, the coordinate values ​​of the first and second coordinate points used to determine the range and size of the second partition change on the coordinate axis. In this scenario, the Dockbar first determines the range and size of the first partition. Then, based on the range and size of the first partition and the size of the inward-folding screen, it determines the coordinates of the first coordinate point on the coordinate axis. Finally, based on the length and width of the second partition and the coordinates of the first coordinate point on the coordinate axis, it determines the coordinates of the second coordinate point on the coordinate axis, thereby redetermining the position of the second partition on the inward-folding screen.

[0185] 3. The Dockbar sends the adjusted range of the first partition and / or the range of the second partition to the WindowManager.

[0186] 4. WindowManager sends the adjusted range of the first partition and / or the range of the second partition to InputManager.

[0187] After receiving the location and range of the second partition from the Dockbar, WindowManager will also send the location and range of the second partition to the Input receiving module in InputManager. Specifically, this can be sent to the Inputreader class in InputManager, so that InputManager can read the newly updated location and range of the second partition.

[0188] 5. InputManager sends the adjusted range of the first partition and / or the range of the second partition to the TP driver.

[0189] 6. Users perform operations on the first screen area.

[0190] In some embodiments, when the first screen area is touched, the TP driver will add a touchpad node to the reporting information. That is, when touch-related information, such as the touch position, is collected, it will be added to the reporting information and transmitted to the Input receiving module of the InputManager.

[0191] 7. If the touch position corresponding to the operation in InputManager is not within the range of the second partition, a third touch event is generated; if the touch position corresponding to the operation is within the range of the second partition, the first touch event acting on the touchpad is mapped to the second touch event on the first application interface.

[0192] In some embodiments, if the touch position corresponding to the operation is within the range of the second partition, the first touch event acting on the touchpad is mapped to a second touch event on the first application interface, so that the application on the second screen area executes the second touch event. If the touch position corresponding to the operation is not within the range of the second partition, a third touch event is generated and executed by the Dockbar.

[0193] 8. InputManager sends a second touch event to the application.

[0194] In some embodiments, when the foldable screen device enters the hover state, the Dockbar determines the range of the first partition and / or the range of the second partition by establishing a coordinate system, and sends the range of the first partition and / or the range of the second partition to the WindowManager. The WindowManager then sends the range of the first partition and / or the range of the second partition to the InputManager, and the InputManager then sends the range of the first partition and / or the range of the second partition to the TP driver.

[0195] In some embodiments, when the foldable screen device exits the hover state, the Dockbar determines the range of the first partition and / or the range of the second partition by establishing a coordinate system, but the Dockbar sets the coordinate values ​​of the first and second partitions to 0. It then sends the range of the first partition and / or the range of the second partition to the WindowManager, which in turn sends the range of the first partition and / or the range of the second partition to the InputManager, which in turn sends the range of the first partition and / or the range of the second partition to the TP driver.

[0196] In some embodiments, the display method of this application further includes: monitoring the foldable screen device for anomalies. If an anomaly is detected in the foldable screen device, some or all touch functions of the first and / or second partitions are disabled. The anomaly includes: a portion of the second partition being covered by a preset window, which includes a pop-up window, a floating window, and an input method display interface; or, the Dockbar crashing.

[0197] For example, in a Dockbar crash scenario, the Dockbar becomes unusable. In this case, it will stop responding to any touch operations from the user on the first screen area, making the touch functionality of both the first and second screen areas unavailable. There are two manifestations of a Dockbar crash: the foldable screen interface freezes, with the Dockbar stuck on the first screen area; or the Dockbar crashes on the first screen area.

[0198] In the event of a Dockbar crash, the Dockbar is unable to send information to other modules, causing the foldable screen device to stop responding to touch operations on the first and second partitions. In this situation, WindowManager monitors the Dockbar; if it crashes, WindowManager sends information to InputManager, which in turn notifies the TP driver to stop responding to touch operations on the first and second partitions.

[0199] For example, taking the case where a portion of the second partition is covered by a pop-up window, as shown in Figure 25, which is a schematic diagram of the interface of another video application provided in this embodiment of the application. In Figure 25, when the foldable screen device is in a hover state, and after the first partition 1011 and the second partition 1012 are displayed in the first screen area 310, and the application interface of the application is displayed in the second screen area 320, if the user needs to display a mini-window on the foldable screen, a pop-up window 2310 will appear in the center of the foldable screen to determine whether the user wants to open the mini-window. In this case, the portion of the second partition 1012 (touchpad) covered by the pop-up window 2310 will not be able to generate a second touch event.

[0200] In the embodiments of this application, the preset window is not limited to pop-up windows, floating windows, and input method display interfaces, and no restrictions are imposed here.

[0201] If a portion of the second partition is covered by a preset window, the covered area changes from a touchpad to a normal touchscreen. In this case, WindowManager notifies InputManager of the area covered by the window on the second partition. If the touch position corresponding to the user's current operation is within the area covered by the window on the second partition, a third touch event is generated, and the Dockbar executes the third touch event.

[0202] In some embodiments, a portion of the touchscreen area on the first screen area is used as a touchpad. Therefore, if a touchscreen-related swipe gesture is performed on the touchpad, the foldable screen device will not respond to the touchscreen-related swipe gesture. For example, when a user swipes up with three fingers simultaneously, a screenshot can be taken, but if a three-finger swipe is performed on the touchpad, the foldable screen device will not respond to the three-finger swipe gesture, that is, it will not take a screenshot.

[0203] In some embodiments, before the user touches the first target control, WindowManager, InputManager, and TP driver will also perform the following operations, as shown in Figure 26. Figure 26 is a timing diagram of a display method provided in an embodiment of this application.

[0204] 1. Foldable screen devices determine whether the TP driver supports the hover function.

[0205] In some embodiments, after the foldable screen device is powered on, the foldable screen device determines whether the TP driver supports the hover function.

[0206] 2. InputManager blocking settings.

[0207] In some embodiments, when a foldable screen device is connected to another foldable screen device, a pop-up window will appear on the foldable screen device to allow the user to determine whether to connect the foldable screen device to the other foldable screen device. However, in this embodiment, a touchpad is used to simulate a mouse device connected to the foldable screen device. When the foldable screen device is in a hover state, there is no need for a pop-up window (i.e., the settings are disabled) to allow the user to determine whether to connect the foldable screen device to the mouse device. The user can directly operate on the Dockbar to simulate mouse operations when the mouse device is connected to the foldable screen device.

[0208] 3. WindowManager notifies InputManager to enter the hover state.

[0209] In some embodiments, when the foldable screen device folds from the unfolded state in Figure 3(a) to the 90-degree state in Figure 3(b), the foldable screen device will enter a hover state; or when the foldable screen device unfolds from the folded state in Figure 2(a) to the 90-degree state in Figure 2(b), the foldable screen device will enter a hover state. In this case, WindowManager receives a message from DeviceStateManager notifying the foldable screen device to enter the hover state, and WindowManager then notifies InputManager to enter the hover state.

[0210] 4. When the InputManager simulates a mouse device connected to the foldable screen device and the user touches the touchpad, the cursor displayed on the second screen area is locked in the upper half of the screen.

[0211] Some embodiments of this application provide a foldable screen device, which may include an inward-folding screen, a memory, and one or more processors. The inward-folding screen, the memory, and the processors are coupled. The memory stores computer program code, which includes computer instructions. When the computer instructions are executed by the processor, the foldable screen device performs the various functions or steps in the above-described method embodiments. The structure of this foldable screen device can be referenced to the structure of the foldable screen device 100 shown in FIG1.

[0212] This application also provides a computer storage medium that includes computer instructions. When the computer instructions are executed on the foldable screen device, the foldable screen device performs various functions or steps performed by the foldable screen device in the above method embodiment.

[0213] This application also provides a computer program product that, when run on a computer, causes the computer to perform various functions or steps performed by the foldable screen device in the above method embodiments.

[0214] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0215] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0216] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0217] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0218] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0219] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0220] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0221] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A display method, characterized in that, The method is applied to foldable screen devices, wherein the foldable screen device is an inward foldable screen device, and the inner screen of the foldable screen device includes: a first screen area and a second screen area. In response to the foldable screen device being in a hover state, a first application interface of a first application is displayed in the first screen area, and a control panel is displayed in the second screen area. The control panel includes a first partition and a second partition. The first partition includes at least one control, and the second partition includes a touchpad. A first touch event acting on the touchpad is mapped to a second touch event on the first application interface to control the first application. Receive a first operation applied to a first target control, wherein the first target control is a control in the first partition; In response to the first operation, the range of the first partition and / or the range of the second partition are adjusted to display the at least one control and a first component corresponding to the first target control in the adjusted first partition, and the touchpad is displayed in the adjusted second partition, wherein the first component is used to control the function corresponding to the first target control.

2. The method according to claim 1, characterized in that, After adjusting the range of the first partition and / or the range of the second partition in response to the first operation, the method further includes: Receive a second operation applied to a second target control, wherein the second target control is another control in the first partition; In response to the second operation, at least one control and a second component corresponding to the second target control are displayed on the first partition, and the touchpad is displayed on the second partition, wherein the second component is used to control the function corresponding to the second target control, and the range of the first partition and the range of the second partition remain unchanged.

3. The method according to claim 1, characterized in that, After adjusting the range of the first partition and / or the range of the second partition in response to the first operation, the method further includes: Receive a third operation applied to a third target control, wherein the third target control is another control in the first partition; In response to the third operation, the range of the first partition and / or the range of the second partition are adjusted again to display the at least one control and the third component corresponding to the third target control in the adjusted first partition, and the touchpad is displayed in the adjusted second partition; wherein the range of the first partition and / or the range of the second partition adjusted in response to the first operation is different from the range of the first partition and / or the range of the second partition adjusted in response to the third operation.

4. The method according to claim 1, characterized in that, The adjustment of the range of the first partition and / or the range of the second partition in response to the first operation includes: Adjust the length and / or width of the first partition based on the position and size of the first component; Adjust the length and / or width of the second partition according to the adjusted length and / or width of the first partition and the length and / or width of the inner screen.

5. The method according to claim 4, characterized in that, The step of adjusting the length and / or width of the second partition based on the adjusted length and / or width of the first partition and the length and / or width of the inner screen includes: The first coordinate point is determined based on the adjusted length and width of the first partition and the length and width of the inner screen; Based on the position of the first coordinate point and the preset length and width of the second partition, a second coordinate point is determined, and the first coordinate point and the second coordinate point are used to form the second partition; Adjust the second partition based on the first coordinate point and the second coordinate point.

6. The method according to claim 5, characterized in that, The step of determining the first coordinate point based on the adjusted length and width of the first partition and the length and width of the inner screen includes: The coordinate value of the first coordinate point on the first axis is determined based on the length of the first side of the first partition; wherein the first axis of the pre-established two-dimensional coordinate system, the first side of the first partition, and the first border of the inner screen are parallel to each other. The coordinate value of the first coordinate point on the second axis is determined based on the height of the second border of the inner screen and the height of the second side of the second partition; the second axis of the two-dimensional coordinate system, the second side of the second partition, and the second border of the inner screen are parallel. The step of determining the second coordinate point based on the position of the first coordinate point, the preset length and width of the second partition, includes: The coordinates of the second coordinate point on the first axis are determined based on the coordinates of the first coordinate point on the first axis and the length of the third side of the second partition; the third side is parallel to the first axis. The coordinates of the second coordinate point on the second axis are determined based on the coordinates of the first coordinate point on the second axis and the height of the fourth side of the second partition; the fourth side is parallel to the second axis.

7. The method according to claim 1, characterized in that, The component is a slider, and the adjustment of the range of the first partition and / or the range of the second partition in response to the first operation includes: In response to the first operation on the first target control, the range of the first partition is adjusted from a third range to a fourth range, the fourth range being larger than the third range; and / or, the range of the second partition is adjusted from a second range to a first range, the first range being smaller than the second range; the first operation is used to display the slider corresponding to the first target control, the slider being used to control the performance parameters of the foldable screen device; The method further includes: in response to a fourth operation on the first target control, adjusting the range of the first partition from the fourth range to the third range, and / or adjusting the range of the second partition from the first range to the second range, the fourth operation being used to hide the slider.

8. The method according to claim 7, characterized in that, The step of displaying at least one control and a component corresponding to the first target control in the adjusted first partition includes: Keep the display position of at least one control unchanged; The slider is displayed in the adjusted first partition at a position that does not overlap with the display position of the at least one control and is close to the first target control.

9. The method according to claim 7 or 8, characterized in that, The first target control is a brightness control, and the slider corresponding to the brightness control is used to adjust the brightness; and / or, The first target control is a volume control, and the slider corresponding to the volume control is used to adjust the volume.

10. The method according to claim 1, characterized in that, The second screen area displays the control panel provided by the second application, and the method further includes: Receive the fifth operation applied to the first screen area; In response to the touch position of the fifth operation being within the second partition, the first touch event corresponding to the fifth operation is mapped to the second touch event, and the second touch event is sent to the first application so that the first application executes the second touch event; In response to the touch location of the fifth operation being within the first partition, the second application executes the third touch event corresponding to the fifth operation.

11. The method according to any one of claims 1-10, characterized in that, The method further includes: Perform anomaly monitoring on the foldable screen device; If an anomaly is detected in the foldable screen device, some or all of the touch functions of the first partition and / or the second partition are disabled; wherein, the anomaly includes: a part of the second partition being covered by a preset window, the preset window including: a pop-up window, a floating window and an input method display interface; or, the second application crashes.

12. A foldable screen device, characterized in that, The foldable screen device includes a memory, an inward-folding screen, and a processor; the memory and the inward-folding screen are coupled to the processor; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the foldable screen device to perform the method as described in any one of claims 1 to 11.

13. A computer storage medium, characterized in that, Includes computer instructions that, when executed on a foldable screen device, cause the foldable screen device to perform the method as described in any one of claims 1 to 11.

14. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Display method of flexible screen and electronic equipment

    CN113268196A

  • Page display method and device, equipment and storage medium

    CN115291772A

  • Interface display method and device, terminal and storage medium

    CN115562556A

  • Application control method and device, terminal, storage medium and computer program product

    CN116107482A

  • Game adaptation method and device, electronic equipment and computer readable storage medium

    CN117398677A