Folding screen display method and device
By detecting the expansion angle and attitude of the folding screen and adapting to different sensors and display methods, the problem of inaccurate detection of opening and closing status in the prior art is solved, and the user experience and detection accuracy are improved.
Patent Information
- Application Number
- CN202411237514.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-09-05
AI Technical Summary
In a specific posture, the opening and closing status detection results of existing foldable electronic devices are inaccurate, which affects the user experience.
By detecting the posture of the electronic device relative to the horizontal plane when the folding screen is unfolded, different sensors are adapted to detect the expansion angle, and the display method is optimized to improve detection accuracy and user experience.
It improves the accuracy of opening and closing detection, optimizes the display effect of the folding screen, and improves the satisfaction and convenience of users when using foldable electronic devices.
Smart Images

Figure CN118890414B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of terminal technology, and specifically to a folding screen display method and device. Background Art
[0002] With the rapid development of electronic device technology, foldable electronic devices, such as smartphones and tablets, are becoming increasingly popular in the market due to their portability and innovation.
[0003] Currently, foldable electronic devices can provide different display content according to the opening and closing states of the device to provide a rich user interaction experience. This requires the device to detect the opening and closing states of the device through a complex combination of sensors.
[0004] However, even if the existing foldable electronic device is equipped with multiple sensors, when the foldable electronic device is in a specific posture, the opening and closing state detection result may still be inaccurate, so a method is needed to improve the above problem. Summary of the invention
[0005] The embodiments of the present application provide a folding screen display method and device. The technical solution provided by the embodiments of the present application is that the electronic device adapts different sensors to detect the unfolding angle of the electronic device according to the posture of the electronic device relative to the horizontal plane when the folding screen is unfolded, which can improve the accuracy of opening and closing detection. The electronic device adapts different display modes to display content according to different combinations of posture and unfolding angle, which can optimize the display effect of the folding screen. In this way, the user's satisfaction and convenience when using foldable electronic devices can be effectively improved.
[0006] In order to achieve the above technical objectives, this application provides the following technical solutions:
[0007] In a first aspect, a folding screen display method is provided, which is applied to an electronic device with a folding screen, the electronic device being configured with at least two types of sensors for detecting the unfolding angle of the folding screen, the method comprising: in response to detecting that the folding screen is unfolded, acquiring the posture of the electronic device relative to a horizontal plane; using at least one type of sensor corresponding to the posture, detecting the unfolding angle of the folding screen; and displaying content to be displayed using a display method corresponding to a combination of the posture and the unfolding angle.
[0008] In some examples, different sensors have different capabilities for acquiring angle data when the electronic device is in different postures. Therefore, in response to detecting that the folding screen is unfolded, the electronic device acquires the posture of the electronic device relative to the horizontal plane. The unfolding angle of the folding screen is detected using a sensor corresponding to the posture. In this way, the accuracy of the opening and closing detection can be improved. The electronic device displays the content to be displayed using a display method corresponding to the combination of the posture and the unfolding angle. In this way, the electronic device can display content in different display methods according to different combinations of the current posture and unfolding angle, thereby optimizing the display effect of the folding screen.
[0009] In this way, the user's satisfaction and convenience when using foldable electronic devices can be effectively improved.
[0010] According to the first aspect, the posture includes a vertical state and a non-vertical state. The vertical state means that the angle of the rotation axis of the electronic device relative to the horizontal plane is between a first preset angle and a second preset angle, and the non-vertical state means that the angle of the rotation axis of the electronic device relative to the horizontal plane is not between the first preset angle and the second preset angle.
[0011] According to the first aspect, or any implementation of the first aspect above, when the posture is non-vertical, the sensors corresponding to the posture include first-type sensors and second-type sensors; when the posture is vertical, the sensors corresponding to the posture include second-type sensors; the first-type sensors include accelerometers, and the second-type sensors include gyroscopes.
[0012] In some examples, when the electronic device is in different postures, the ability of the sensors in the electronic device to obtain angle data varies. When the posture of the electronic device relative to the horizontal plane is non-vertical, both the accelerometer and the gyroscope can accurately obtain angle data, and the electronic device obtains the opening and closing state of the device through the accelerometer and the gyroscope. In other examples, when the electronic device is in a vertical state relative to the horizontal plane, accurate angle data cannot be obtained through the accelerometer. However, the unfolding angle of the electronic device can be obtained by integrating the output of the gyroscope. Among them, the unfolding angle is the rotation angle between screen A and screen B of the folding screen. Therefore, the second type of sensor corresponding to the vertical state is a gyroscope.
[0013] In this way, since different sensors have different capabilities of obtaining the unfolding angle when the electronic device is in different postures, in the embodiment of the present application, the electronic device uses at least one type of sensor corresponding to the posture to detect the unfolding angle of the folding screen, which can improve the accuracy of the opening and closing detection.
[0014] According to the first aspect, or any implementation of the first aspect above, the method also includes: using a third type of sensor to detect whether the folding screen is unfolded, and the third type of sensor includes a magnetic sensor.
[0015] In some examples, the electronic device can detect the unfolding operation of the folding screen through a magnetic sensor. The magnetic sensor includes a Hall sensor and a corresponding magnetic field generating device.
[0016] In this way, the electronic device can sense the changes in the strength of the magnetic field through the Hall sensor and can easily detect the operation of unfolding the folding screen.
[0017] According to the first aspect, or any implementation of the first aspect above, acquiring the posture of the electronic device relative to the horizontal plane includes: acquiring the posture of the electronic device relative to the horizontal plane through a fourth type of sensor, and the fourth type of sensor includes an accelerometer.
[0018] In some examples, the electronic device obtains the acceleration of the electronic device through an accelerometer, and based on the acceleration, the angle of the electronic device relative to the horizontal plane can be calculated.
[0019] In this way, the electronic device can conveniently obtain the posture of the electronic device relative to the horizontal plane.
[0020] According to the first aspect, or any implementation method of the first aspect above, the content to be displayed is displayed using a display method corresponding to the posture and the expansion angle, including: if the posture is a vertical state, the content to be displayed is displayed using a first display method; if the posture is a non-vertical state, the content to be displayed is displayed using a second display method.
[0021] In this way, the electronic device uses different display modes to display the content to be displayed according to the different postures, and can optimize the display effects in different postures.
[0022] According to the first aspect, or any implementation method of the first aspect above, the first display mode includes an expanded display mode, and the expanded display mode includes using the entire display area of the folding screen to display the content to be displayed; the second display mode includes: if the expansion angle is in the first angle range, using the folded display mode to display the content to be displayed, and the folded display mode includes not displaying the content to be displayed in the entire display area of the folding screen; if the expansion angle is in the second angle range, using the expanded display mode to display the content to be displayed.
[0023] In some examples, when the electronic device is in a vertical state relative to the horizontal plane, the electronic device uses the unfolded state display mode as the first display mode. This is because, according to the usage habits of some users, if the user unfolds the electronic device when the electronic device is in a vertical state relative to the horizontal plane, the user is more likely to use screen A and screen B as a whole (i.e., as a complete display screen). When the electronic device is in a vertical state relative to the horizontal plane, the electronic device selects and maintains the unfolded state display mode to display the content to be displayed. The problem of inaccurate screen switching of the electronic device can be avoided.
[0024] In some examples, if the posture of the electronic device relative to the horizontal plane is non-vertical, the electronic device uses the second display mode to display the content to be displayed, and adapts different display modes to display the content to be displayed according to the expansion angle.
[0025] In this way, the display and switching effects of the folding screen can be optimized, thereby effectively improving the user's satisfaction and convenience when using the foldable electronic device.
[0026] According to the first aspect, or any implementation of the first aspect above, the method also includes: if it is detected that the posture of the electronic device changes from a vertical state to a non-vertical state, and the unfolding angle of the electronic device when in the non-vertical state exceeds a preset angle threshold, using the first type of sensor and the second type of sensor to obtain the unfolding angle; and using the second display mode to display the content to be displayed.
[0027] In some examples, when the electronic device detects that the posture of the electronic device changes from a vertical state to a non-vertical state, but the expansion angle of the electronic device in the non-vertical state does not exceed a preset angle threshold, it still uses the second type of sensor used in the vertical state to obtain the expansion angle, and maintains the first display mode used in the vertical state to display the content to be displayed.
[0028] In some examples, according to the user's usage habits, when the electronic device changes from a vertical state to a non-vertical state, and after the unfolding angle of the electronic device is greater than a preset angle threshold, the electronic device uses a combination of the first type of sensor and the second type of sensor to obtain the unfolding angle, and uses the second display mode to display the content to be displayed.
[0029] In this way, the problem of frequent screen cutting caused by too small unfolding angle when the electronic device changes from a vertical state to a non-vertical state can be prevented, thereby effectively optimizing the screen cutting and display effects of the folding screen.
[0030] In a second aspect, a foldable electronic device is provided. The foldable electronic device includes: a foldable screen, at least two types of sensors for detecting the unfolding angle of the foldable screen, a processor and a memory, the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, when the processor reads the computer instructions from the memory, the foldable electronic device executes: in response to detecting that the foldable screen is unfolded, obtaining the posture of the electronic device relative to the horizontal plane; using at least one type of sensor corresponding to the posture, detecting the unfolding angle of the foldable screen; using a display mode corresponding to a combination of the posture and the unfolding angle to display the content to be displayed.
[0031] According to the second aspect, the posture includes a vertical state and a non-vertical state. The vertical state means that the angle of the rotation axis of the electronic device relative to the horizontal plane is between a first preset angle and a second preset angle, and the non-vertical state means that the angle of the rotation axis of the electronic device relative to the horizontal plane is not between the first preset angle and the second preset angle.
[0032] According to the second aspect, or any implementation of the second aspect above, when the posture is non-vertical, the sensors corresponding to the posture include first-type sensors and second-type sensors; when the posture is vertical, the sensors corresponding to the posture include second-type sensors; the first-type sensors include accelerometers, and the second-type sensors include gyroscopes.
[0033] According to the second aspect, or any implementation of the second aspect above, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: using a third type of sensor to detect whether the folding screen is unfolded, and the third type of sensor includes a magnetic sensor.
[0034] According to the second aspect, or any implementation of the second aspect above, obtaining the posture of the electronic device relative to the horizontal plane includes: obtaining the posture of the electronic device relative to the horizontal plane through a fourth type of sensor, and the fourth type of sensor includes an accelerometer.
[0035] According to the second aspect, or any implementation method of the second aspect above, the content to be displayed is displayed using a display method corresponding to the posture and the expansion angle, including: if the posture is a vertical state, the content to be displayed is displayed using a first display method; if the posture is a non-vertical state, the content to be displayed is displayed using a second display method.
[0036] According to the second aspect, or any implementation method of the second aspect above, the first display mode includes an expanded display mode, and the expanded display mode includes using the entire display area of the folding screen to display the content to be displayed; the second display mode includes: if the expansion angle is in the first angle range, using the folded display mode to display the content to be displayed, and the folded display mode includes not displaying the content to be displayed in the entire display area of the folding screen; if the expansion angle is in the second angle range, using the expanded display mode to display the content to be displayed.
[0037] According to the second aspect, or any implementation of the second aspect above, when the processor reads computer instructions from the memory, it also enables the electronic device to execute: if it is detected that the posture of the electronic device changes from a vertical state to a non-vertical state, and the unfolding angle of the electronic device when in the non-vertical state exceeds a preset angle threshold, then use the first type of sensor and the second type of sensor to obtain the unfolding angle; and use the second display mode to display the content to be displayed.
[0038] In a third aspect, an electronic device is provided, which has the function of implementing the folding screen display method in the first aspect and any possible implementation thereof. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0039] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as an instruction or code), and when the computer program is executed by an electronic device, the electronic device executes the method of the first aspect or any one of the embodiments of the first aspect.
[0040] According to a fifth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the method according to the first aspect or any one of the implementations of the first aspect.
[0041] According to a sixth aspect, a circuit system is provided, the circuit system comprising a processing circuit, wherein the processing circuit is configured to execute the method of the first aspect or any one of the embodiments of the first aspect.
[0042] In the seventh aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor, and when the at least one processor executes the instructions, the at least one processor executes the method of the first aspect or any one of the embodiments of the first aspect.
[0043] The technical effects of the aforementioned aspects can be referenced to each other and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0045] Figure 1 A schematic diagram showing an electronic device 100 unfolded in a vertical state;
[0046] Figure 2 A schematic structural diagram of an electronic device 100 is shown;
[0047] Figure 3 A software structure block diagram of the electronic device 100 according to an embodiment of the present invention is shown;
[0048] Figure 4 A schematic diagram of a product form of an electronic device 100 with an outward-folding screen provided in an embodiment of the present application is shown;
[0049] Figure 5 A schematic diagram of a product form of an electronic device 100 with an inward folding screen provided in an embodiment of the present application is shown;
[0050] Figure 6 The magnetic sensors 180D distributed in the electronic device 100 are shown;
[0051] Figure 7 A corresponding relationship between the Hall value and the unfolding angle is shown;
[0052] Figure 8 A schematic diagram showing a flow chart of a folding screen display method provided in an embodiment of the present application is shown;
[0053] Fig. 9 An angle α of the electronic device 100 relative to the horizontal plane is shown;
[0054] Fig.10 An unfolded display mode is shown when the electronic device is in a vertical state relative to a horizontal plane;
[0055] Fig.11 A folded display mode of an electronic device when the electronic device is in a non-vertical state relative to a horizontal plane is shown;
[0056] Fig.12 An unfolded display mode is shown when the electronic device is in a non-vertical state relative to a horizontal plane;
[0057] Fig.13 An unfolded display mode when the electronic device is in a vertical state is shown;
[0058] Fig.14 An unfolded display mode when the electronic device is in a non-vertical state is shown;
[0059] Fig.15 An unfolded display mode when the electronic device is in a non-vertical state is shown;
[0060] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0061] The technical solutions in the embodiments of the present application will be described clearly below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments of the present application, other embodiments obtained by ordinary technicians in this field without making creative work all belong to the protection scope of the present application.
[0062] In the following, the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0063] In addition, in the present application, directional terms such as "upper", "lower", "inner" and "outer" are defined relative to the orientation of the components schematically placed in the drawings. It should be understood that these directional terms are relative concepts. They are used for relative description and clarification, and they can change accordingly according to the changes in the orientation of the components placed in the drawings.
[0064] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0065] In order to facilitate the understanding of the embodiments of the present application, the key terms appearing in the embodiments of the present application are first explained below.
[0066] Accelerometer: An accelerometer measures the acceleration of a device in three dimensions (x, y, and z) of space. When the device is moving, the accelerometer can detect the acceleration of motion, and when the device is stationary, the accelerometer can detect the acceleration of gravity. In foldable electronic devices, accelerometers can be used to detect changes in the device's posture, and combined with other sensors to detect the device's unfolding angle.
[0067] Gyroscope: A gyroscope measures the rotation rate and direction of a device. In foldable electronic devices, gyroscopes can be used to detect the unfolding angle of the device.
[0068] Hall sensor: A sensor that can detect changes in magnetic fields, often used to detect the approach or distance of an object. In foldable electronic devices, Hall sensors can be used to detect the relative position changes of the two sides of the electronic device's hinge, thereby determining whether the device is in a folded or unfolded state.
[0069] Vertical state: The angle of the electronic device's rotation axis relative to the horizontal plane is between 80° and 100°.
[0070] Non-vertical state: The angle of the electronic device's rotation axis relative to the horizontal plane is between 0°~80° or 100°~180°.
[0071] Foldable state: A foldable electronic device is in a state where the display screen or the entire device is reduced to a smaller size by bending or folding.
[0072] Folded display: Foldable electronic devices are not fully unfolded to provide maximum display area, but can still display some basic information or perform some basic functions.
[0073] Unfolded state: The state of a foldable electronic device in its maximum usage state, at which point the device provides the largest display area and the best interactive experience.
[0074] Unfolded display: When a foldable electronic device is fully unfolded, its folding screen reaches maximum usage state and displays content with the maximum display area.
[0075] Full-screen display: This means that when the device is unfolded to a certain angle, the system automatically switches to a display mode that covers the entire screen.
[0076] Screen switching threshold: This refers to the angle threshold used by an electronic device to determine whether to switch the display mode after detecting that the unfolded angle of the device has changed.
[0077] At present, foldable electronic devices (hereinafter referred to as electronic devices or devices) can display content in different display modes according to the opening and closing states of the electronic devices to provide a rich user interaction experience. This relies on the electronic device to detect the opening and closing states of the electronic device through a combination of some sensors. In some scenarios, when the electronic device is in a specific posture, the problem of inaccurate detection results of the opening and closing states of the electronic device often occurs.
[0078] In some examples, some electronic devices obtain the opening and closing state of the device through an accelerometer and a gyroscope. For example, when the electronic device begins to unfold or fold, the accelerometer detects the acceleration change caused by gravity and motion, and the gyroscope detects the rotation rate and direction. The accelerometer provides the attitude information of the device relative to the direction of gravity, and the gyroscope provides the rate and direction of rotation of the device. By analyzing the output of the accelerometer, the electronic device can calculate the angle of the device relative to the horizontal plane. By integrating the output of the gyroscope, the electronic device can calculate the rotation angle of the device from the initial state. The electronic device combines the data of the accelerometer and the gyroscope, and improves the accuracy and reliability of the measurement through a sensor fusion algorithm (such as a Kalman filter). Through this multi-sensor fusion method, the foldable electronic device can accurately obtain the opening and closing state of the device.
[0079] In some examples, when the electronic device detects a change in the opening and closing state, it needs to respond to the change and display the content to be displayed to the user in a display mode corresponding to the opening and closing state, thereby providing the user with a richer and more intuitive user experience. For example, when the electronic device detects that the device is opened from a folded state to an unfolded state, it needs to respond to the change and display the content to be displayed to the user in an unfolded state display mode. At present, it is impossible to obtain accurate angle change data through an accelerometer when the electronic device is in a vertical state. This results in the electronic device being unable to identify the accurate opening and closing state when it is in a vertical state, and being unable to switch to a suitable display mode for the user in a timely manner.
[0080] It should be understood that the accelerometer measures the acceleration of the electronic device in three dimensions of space (x, y, and z axes). The coordinate system of the accelerometer is usually aligned with the physical direction of the electronic device. For example, the x-axis corresponds to the width direction (horizontal) of the electronic device, the y-axis corresponds to the height direction (longitudinal, i.e., the rotation axis direction) of the electronic device, and the z-axis corresponds to the depth direction (vertical) of the electronic device. When the electronic device obtains the unfolding angle of the electronic device through the accelerometer and the gyroscope, the accelerometer can detect the acceleration of gravity to determine the direction of the electronic device relative to the horizontal plane. When the electronic device is unfolded in a vertical state, the angle between the rotation axis of the folding screen and the horizontal plane is close to 90°. At this time, the accelerometer readings of the electronic device in the x-axis and z-axis directions are close to 0. That is, the x- and z-axis data obtained by the electronic device according to the accelerometer is 0, which causes the electronic device to be unable to obtain an accurate unfolding angle.
[0081] For example, Figure 1 A schematic diagram of an electronic device 100 unfolded in a vertical state is shown. Among them, the folding screen of the electronic device can be folded to form screen A and screen B. The electronic device is equipped with accelerometers on screen A and screen B, and the figure shows the coordinate system of the acceleration measured by the accelerometer on screen A. When the electronic device is unfolded in a vertical state, the component of the acceleration of the electronic device obtained by the accelerometer in the x-axis direction is almost 0. The z-axis points to the back of screen A. When the electronic device is unfolded in a vertical state, the component of the acceleration of the electronic device obtained by the accelerometer in the z-axis direction is also almost 0. At this time, even if the unfolding angle of the folding screen is large enough, the electronic device cannot recognize the change of the opening and closing state of the electronic device, and cannot switch to the display mode corresponding to the current opening and closing state for the user in time.
[0082] Therefore, an embodiment of the present application proposes a folding screen display method. The electronic device adapts different sensors to detect the unfolding angle of the electronic device according to the first posture of the electronic device relative to the horizontal plane when the folding screen is unfolded, which can improve the accuracy of opening and closing detection. The electronic device adapts different display modes to display content according to the first posture and the unfolding angle, which can optimize the display effect of the folding screen. Therefore, the user's satisfaction and convenience when using a foldable electronic device can be effectively improved.
[0083] Optionally, the display method provided in the embodiment of the present application can be applied to the electronic device 100. The electronic device 100 in the embodiment of the present application can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, and a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmentedreality, AR)\virtual reality (virtual reality, VR) device and other devices including a folding screen. In some examples, the electronic device 100 can specifically be a folding screen mobile phone, a flexible screen mobile phone, a wearable folding device prototype, a foldable computer and other terminal devices. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device 100. The operating system installed on the above-mentioned electronic device 100 includes but is not limited to iOS®, Android®, Harmony®, Windows®, Linux® or other operating systems. This application does not limit the specific type of the above-mentioned electronic device and the installed operating system.
[0084] For example, Figure 2 The schematic diagram of the structure of the electronic device 100 is shown. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a sensor module 180, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a gyroscope sensor 180B, a magnetic sensor 180D, an acceleration sensor 180E, etc.
[0085] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0086] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0087] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0088] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0089] In some embodiments, the processor 110 may include one or more interfaces. The interface 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.
[0090] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the gyroscope sensor 180B, the magnetic sensor 180D, the acceleration sensor 180E, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the gyroscope sensor 180B through the I2C interface, so that the processor 110 communicates with the gyroscope sensor 180B through the I2C bus interface, thereby realizing the unfolding angle detection function of the electronic device 100.
[0091] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0092] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0093] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display screen 194, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0094] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0095] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0096] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0097] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with the network and other devices through wireless communication technology.
[0098] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0099] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0100] In an embodiment of the present application, the display screen 194 includes at least one foldable display screen. The foldable display screen 194 of the electronic device 100 can be folded to form multiple screens. A gyroscope sensor 180B may be provided in the multiple screens to measure the orientation of the corresponding screen (i.e., the direction vector of the orientation). The electronic device 100 can determine the angle between adjacent screens based on the change in the orientation angle of each screen measured by the gyroscope sensor 180B. Similarly, each screen may include an acceleration sensor 180E to measure the orientation of the corresponding screen (i.e., the direction vector of the orientation).
[0101] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0102] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.
[0103] The gyroscope sensor 180B (hereinafter referred to as the gyroscope) can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes. It should be noted that in an embodiment of the present application, the display screen 194 of the electronic device 100 can be folded to form multiple screens. Each screen may include a gyroscope sensor 180B for measuring the motion posture of the corresponding screen. For example, Figure 1 The display screen 194 of the electronic device 100 shown can be folded to form screen A (i.e., the first screen) and screen B (i.e., the second screen), and both screen A and screen B include gyroscope sensors 180B, which are respectively used to measure the orientation of screen A and screen B. The electronic device 100 can determine the angle between adjacent screens based on the measured angular change of the orientation of each screen. Optionally, the above-mentioned gyroscope sensor can be a virtual gyroscope sensor formed by the cooperation of other multiple sensors, and the virtual gyroscope sensor can be used to calculate the angle between adjacent screens of the folding screen, that is, the angle α between screen A and screen B.
[0104] It should be noted that in the embodiment of the present application, when the unfolding angle is obtained by the gyroscope alone, the unfolding angle obtained is the rotation angle between screen A and screen B of the folding screen. The rotation angle can be the angle change caused by the user's opening and closing operation. For example, before the user starts to open and close the electronic device, the angle between screen A and screen B of the electronic device is α1. After the user finishes the opening and closing operation of the electronic device, the angle between screen A and screen B of the electronic device is α2. The difference between α1 and α2 is the rotation angle.
[0105] The magnetic sensor 180D includes a Hall sensor. In some embodiments, when the electronic device 100 is an electronic device including a folding screen, the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the folding screen. Then, according to the detected opening and closing state of the folding screen, different display modes are used to display content.
[0106] The acceleration sensor 180E (hereinafter referred to as the accelerometer) can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device, and is applied to applications such as horizontal and vertical screen switching, pedometers, etc. It should be noted that in an embodiment of the present application, the display screen 194 of the electronic device 100 can be folded to form multiple screens. Each screen may include an acceleration sensor 180E for measuring the orientation of the corresponding screen (i.e., the direction vector of the orientation).
[0107] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0108] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.
[0109] Figure 3 A software structure block diagram of the electronic device 100 according to an embodiment of the present invention is shown.
[0110] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (not shown in the figure) and the system library (not shown in the figure), the kernel layer, and the hardware platform.
[0111] The application layer can include a series of application packages.
[0112] like Figure 3 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0113] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0114] like Figure 3 As shown, the application framework layer may include a window manager, an activity manager, a view system, a phone manager, a resource manager, a notification manager, a content provider, and the like.
[0115] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0116] The activity manager is responsible for managing activities, starting, switching, and scheduling components in the system, and managing and scheduling applications.
[0117] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0118] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0119] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0120] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0121] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0122] The hardware platform may include a gyroscope sensor, an accelerometer, a magnetic sensor, a display screen, etc. The sensors included in the hardware platform can be specifically referred to above. Figure 1 Schematic diagram of the hardware structure of the electronic device 100 shown in FIG.
[0123] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with the opening and closing state detection scenario of the electronic device.
[0124] When the magnetic sensor 180D detects the operation of the folding screen of the electronic device being unfolded from the folded state, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the operation of the folded state being unfolded into a folding screen unfolding event (including information such as the timestamp of the unfolding operation). The folding screen unfolding event is stored in the kernel layer. The application framework layer obtains the event from the kernel layer, responds to the input event, starts the display driver by calling the kernel layer, and displays the content to be displayed through the display screen 194 according to the corresponding display mode.
[0125] The application layer obtains the event from the kernel layer. In response to the input event, the application in the application layer can call the activity interface and set the display mode of the desktop of the folding screen through the activity manager in the application framework layer, such as the position and size of the application display object. The window server of the application framework layer draws the object according to the setting of the activity manager, and then sends the object data to the display driver of the kernel layer, which calls the display screen 194 of the hardware platform to display the corresponding content to be displayed.
[0126] The folding screen of the electronic device 100 in the embodiment of the present application is described below with reference to the accompanying drawings.
[0127] In some embodiments, the folding screen can be folded to form at least two screens. For example, the folding screen can be folded along a rotating axis (folding axis) to form two screens, such as screen A and screen B. The folding methods of the folding screen on the electronic device can be divided into two categories. One is a folding screen that folds outward (referred to as an outward folding screen, or an outward folding screen), and the other is a folding screen that folds inward (referred to as an inward folding screen, or an inward folding screen). Among them, take the folding screen that can be folded to form a first screen and a second screen as an example. After the outward folding screen is folded, the first screen and the second screen are opposite to each other. After the inward folding screen is folded, the first screen and the second screen are opposite to each other. In the following embodiments of the present application, the first screen may be referred to as screen A and the second screen may be referred to as screen B.
[0128] For example, Figure 4 A schematic diagram of the product form of an electronic device 100 with an outward folding screen provided in an embodiment of the present application is shown. Figure 4 (a) is a schematic diagram of the fully unfolded outward folding screen. The outward folding screen can be rotated along the axis according to Figure 4The direction 11a and 11b shown in (a) are folded to form Figure 4 The semi-folded A screen (i.e., the first screen) and the B screen (i.e., the second screen) are shown in (b) of FIG. The inward folding screen can be folded along the rotation axis according to Figure 4 The direction 12a and 12b shown in (b) are further folded to form Figure 4 The folded screen is shown in (c) of FIG. Figure 4 As shown in (c), after the folding screen of the electronic device 100 is completely folded, screen A (ie, the first screen) and screen B (ie, the second screen) face each other and are visible to the user.
[0129] In some examples, for an electronic device with an outward folding screen, when the folding screen is in a fully folded state or a half-folded state, the electronic device 100 can display the content to be displayed on screen A (i.e., the first screen) or screen B (i.e., the second screen). When the folding screen is in an unfolded state, the electronic device 100 can display the content to be displayed on screen A (i.e., the first screen) and screen B (i.e., the second screen). Among them, the introduction of the unfolded state and the folded state of the folding screen can refer to the description in the following embodiments, which will not be repeated here.
[0130] For example, Figure 5 A schematic diagram of the product form of an electronic device 100 with an inward folding screen provided in an embodiment of the present application is shown. Figure 5 (a) is a schematic diagram of the inward folding screen when it is fully unfolded. The inward folding screen can be rotated along the axis according to Figure 5 The direction 21a and 21b shown in (a) are folded to form Figure 5 The semi-folded A and B screens are shown in (b) of FIG. The inward folding screen can be folded along the axis according to Figure 5 The A screen and the B screen shown in (b) of FIG. The inward folding screen can be folded along the axis according to Figure 5 Continuing to fold the directions 22a and 22b shown in (b) above, a Figure 5 The fully folded outward folding screen shown in (c) is shown in FIG. Figure 5 As shown in (c), after the folding screen of the electronic device 100 is completely folded, screen A and screen B are opposite to each other and are invisible to the user.
[0131] In some embodiments, the at least two screens formed after the folding screen (including the inward-folding folding screen and the outward-folding folding screen) in the embodiments of the present application are folded can be multiple independent screens, or can be a complete screen with an integrated structure, which is just folded into at least two parts.
[0132] In some examples, the folding screen may be a flexible folding screen, and the flexible folding screen includes a rotating shaft made of a flexible material. Part or all of the flexible folding screen is made of a flexible material. The at least two screens formed after the flexible folding screen is folded are a complete screen of an integrated structure, but are folded to form at least two parts.
[0133] In some examples, the folding screen may be a multi-screen folding screen. The multi-screen folding screen may include multiple (two or more) screens. The multiple screens are multiple separate display screens. The multiple screens may be connected in sequence via a rotating shaft. Each screen may rotate around the rotating shaft connected thereto to achieve folding of the multi-screen folding screen.
[0134] in, Figure 4 and Figure 5 In the embodiment of the present application, the folding screen is described by taking the folding screen being a flexible folding screen as an example. The subsequent embodiments in the embodiment of the present application also take the folding screen being a flexible folding screen as an example to describe the method provided by the embodiment of the present application.
[0135] The following is Figure 6 and Figure 7 The example illustrates the working principle of the magnetic sensor 180D provided in the embodiment of the present application.
[0136] In some examples, the magnetic sensor 180D includes a Hall sensor and a magnetic field generating device. When the Hall sensor is within a preset distance range from the magnetic field generating device, it can detect the magnetic field strength at the location, thereby determining whether the folding screen of the electronic device is unfolded.
[0137] For example, Figure 6 Magnetic sensors 180D distributed in the electronic device 100 are shown. Figure 6 As shown, a Hall sensor is provided in the A screen / B screen of the electronic device, and a magnetic field generating device corresponding to the Hall sensor is provided in the B screen / A screen of the electronic device. When the Hall sensor is within a preset distance range from the magnetic field generating device, the magnetic field strength at the location, i.e., the Hall value, can be detected.
[0138] In some examples, when the foldable screen of the electronic device is closed, if a change in magnetic field strength is detected by a Hall sensor, the electronic device determines that the foldable screen of the electronic device is unfolded.
[0139] In other examples, the electronic device has a pre-stored correspondence between the Hall value and the unfolding angle. The electronic device can query the unfolding angle of the folding screen in the correspondence according to the collected Hall value. The electronic device can determine that the folding screen of the electronic device is unfolded when it detects that the unfolding angle is greater than a preset angle threshold.
[0140] For example, Figure 7A correspondence between the Hall value and the unfolding angle is shown. It should be understood that in another achievable manner, the correspondence between the Hall value and the folding screen angle can also be a list, etc., and the embodiments of the present application are not limited to this. It should be understood that the correspondence between the Hall value and the folding screen unfolding angle may be different in different electronic device sizes, using Hall sensors of different specifications, Hall sensors installed in different positions, and using magnetic field generating devices of different specifications.
[0141] In some examples, the correspondence between the Hall value and the deployment angle is accurate within the angle detection range of the Hall sensor.
[0142] For example, Figure 7 As shown, when the unfolding angle of the Hall sensor is less than 30°, the unique corresponding unfolding angle can be accurately queried based on the detected Hall value. In the process of the folding screen being unfolded, the angle of the folding screen gradually increases, and screen A and screen B gradually move away from the fit, causing the Hall sensor to gradually move away from the magnetic field generating device, so the Hall value collected by the Hall sensor gradually decreases. When the unfolding folding screen exceeds a certain value (for example, 30°), as the folding screen angle continues to increase, the corresponding Hall value decrease trend is not obvious, and the Hall values corresponding to the unfolding angles are small or even the same, that is, different unfolding angles may correspond to the same Hall value. The electronic device may query multiple different unfolding angles corresponding to a certain Hall value, and it is impossible to accurately query the unique corresponding unfolding angle.
[0143] The following takes the electronic device 100 as an inward-folding screen as an example to introduce in detail the folding screen display method provided in the embodiment of the present application.
[0144] Figure 8 FIG. 1 is a flow chart of a folding screen display method provided by an embodiment of the present application. It should be noted that the method is not based on Figure 8 The specific order below is for limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method comprises the following steps:
[0145] S801: In response to detecting that the folding screen is unfolded, the electronic device obtains a posture of the electronic device relative to a horizontal plane.
[0146] In some embodiments, the electronic device uses a third type of sensor to detect whether the folding screen is unfolded, and the third type of sensor includes a magnetic sensor.
[0147] In some examples, the electronic device can detect the operation of unfolding the folding screen through the magnetic sensor 180D. The magnetic sensor 180D includes a Hall sensor and a corresponding magnetic field generating device.
[0148] For example, in Figure 6 Screen A and / or screen B of the electronic device shown are distributed with Hall sensors and corresponding magnetic field generating devices. As screen A and screen B move away from each other, the magnetic field strength generated by the magnetic field generating device weakens. Optionally, the electronic device may determine that the folding screen of the electronic device is unfolded after the Hall sensor senses a change in the magnetic field strength at the current position. The electronic device may also determine that the folding screen of the electronic device is unfolded after the current Hall sensor senses that the magnetic field strength at the current position weakens to a preset magnetic field strength. The preset magnetic field strength may be a specific Hall value. For example, the preset magnetic field strength may be a Hall value when the unfolding angle of the folding screen is 5°, which is not limited in the embodiments of the present application.
[0149] In this way, the electronic device can easily detect the operation of unfolding the folding screen by sensing the change of magnetic field strength through the Hall sensor.
[0150] In some embodiments, the posture of the electronic device relative to the horizontal plane includes a vertical state and a non-vertical state. The vertical state means that the angle of the rotation axis of the electronic device relative to the horizontal plane is between a first preset angle and a second preset angle, and the non-vertical state means that the angle of the rotation axis of the electronic device relative to the horizontal plane is not between the first preset angle and the second preset angle.
[0151] For example, Fig. 9 The angle α of the electronic device 100 relative to the horizontal plane is shown. The value range of the angle α is [0°, 180°]. The first preset angle is represented by P1, and the second preset angle is represented by P2. 0°<P1<P2<180°. P1 and P2 can be determined based on the usage habits of a large number of users using folding screens. Alternatively, P1 and P2 can also be set by the user in the electronic device 100. The embodiments of the present application are not limited to this.
[0152] Among them, if α∈(P1, P2), the electronic device 100 can determine that the posture of the electronic device relative to the horizontal plane is a vertical state. If α∈[0°, P1] or [P2, 180°], the electronic device 100 can determine that the posture of the electronic device relative to the horizontal plane is a non-vertical state. For example, P1 is 80° and P2 is 100°. If α∈(80°, 100°), the electronic device 100 can determine that the posture of the electronic device relative to the horizontal plane is a vertical state. If α∈[0°, 80°] or [100°, 180°], the electronic device 100 can determine that the posture of the electronic device relative to the horizontal plane is a non-vertical state.
[0153] In some embodiments, the electronic device obtains the posture of the electronic device relative to the horizontal plane through a fourth type of sensor, and the fourth type of sensor includes an accelerometer.
[0154] In some examples, the electronic device obtains the acceleration of the electronic device through an accelerometer, and based on the acceleration, the angle of the electronic device relative to the horizontal plane can be calculated.
[0155] For example, Figure 1 As shown, in three-dimensional space, the acceleration can be represented as a vector with three components (X, Y, Z). X represents the x-axis of the electronic device (such as Figure 1 The acceleration of the electronic device in the horizontal direction (as shown in FIG. 1 ), Y represents the acceleration of the electronic device in the y-axis (as shown in FIG. Figure 1 The acceleration of the electronic device in the longitudinal direction (as shown in FIG. 1 ), Z represents the acceleration of the electronic device in the z-axis (as shown in FIG. Figure 1 The acceleration of the electronic device shown in the vertical direction).
[0156] Among them, if X=0 in the acceleration, Y∈[9.8×sin80°, 9.8×sin100°], and Z∈[9.8×cos80°, 9.8×cos100°]. That is, (X, Y, Z) is between (0, 9.8×sin80°, 9.8×cos80°) and (0, 9.8×sin100°, 9.8×cos100°]. The electronic device determines that the angle α∈(80°, 100°) of the rotation axis of the electronic device relative to the horizontal plane, that is, the posture of the electronic device relative to the horizontal plane is vertical.
[0157] Among them, if X≠0, or Y [9.8×sin80°, 9.8×sin100°], or Z [9.8×cos80°, 9.8×cos100°]. That is, the acceleration (X, Y, Z) is not between (0, 9.8×sin80°, 9.8×cos80°) and (0, 9.8×sin100°, 9.8×cos100°]. The electronic device determines that the angle α of the rotation axis of the electronic device relative to the horizontal plane is not between 80° and 100°, that is, the posture of the electronic device relative to the horizontal plane is non-vertical.
[0158] In this way, the electronic device can conveniently obtain the posture of the electronic device relative to the horizontal plane.
[0159] S802: The electronic device detects the unfolding angle of the folding screen using at least one type of sensor corresponding to the posture.
[0160] In some embodiments, the electronic device is configured with at least two types of sensors for detecting the unfolding angle of the folding screen. Different sensors have different capabilities for acquiring angle data when the electronic device is in different postures. Therefore, in an embodiment of the present application, after the electronic device detects that the folding screen is unfolded, the electronic device determines the sensor used to detect the unfolding angle of the folding screen according to the posture of the electronic device relative to the horizontal plane. The electronic device uses a sensor corresponding to the posture to detect the unfolding angle of the folding screen.
[0161] In some embodiments, when the posture is non-vertical, the sensor corresponding to the posture includes a first type of sensor and a second type of sensor. When the posture is vertical, the sensor corresponding to the posture includes a second type of sensor. The first type of sensor includes an accelerometer, and the second type of sensor includes a gyroscope.
[0162] In some examples, when the posture of the electronic device relative to the horizontal plane is non-vertical, the electronic device obtains the opening and closing state of the device through the accelerometer and the gyroscope. Exemplarily, when the electronic device begins to unfold or fold, the accelerometer detects the acceleration change of the electronic device due to gravity and motion, and the gyroscope detects the rotation rate and direction of the electronic device. That is, the accelerometer obtains the posture information of the device relative to the direction of gravity, and the gyroscope obtains the rotation rate and direction of the device. The electronic device combines the data of the accelerometer and the gyroscope, and can obtain the unfolding angle of the folding screen through a sensor fusion algorithm (such as a Kalman filter), and then can accurately obtain the opening and closing state of the device.
[0163] In other examples, such as Figure 1 As described in the corresponding embodiment, when the electronic device is in a vertical state relative to the horizontal plane, accurate angle data cannot be obtained through the accelerometer. However, the unfolding angle of the electronic device can be obtained by integrating the output of the gyroscope. Among them, the unfolding angle is the rotation angle between screen A and screen B of the folding screen. Subsequent electronic devices can determine the opening and closing state of the electronic device according to the unfolding angle obtained by the gyroscope, so as to adapt the corresponding display mode for the folding screen. Therefore, the second type of sensor corresponding to the vertical state is a gyroscope. When the electronic device is in a vertical state relative to the horizontal plane, a gyroscope is used to detect the unfolding angle of the folding screen.
[0164] In some other examples, when the electronic device detects that the unfolding angle of the folding screen is small, it can continue to use the third type of sensor (i.e., magnetic sensor) to detect the unfolding angle of the folding screen. It should be understood that after the unfolding angle is greater than the angle detection range of the magnetic sensor, the electronic device no longer uses the third type of sensor (i.e., magnetic sensor) to detect the unfolding angle of the folding screen.
[0165] In this way, since different sensors have different capabilities of acquiring angle data when the electronic device is in different postures, in the embodiment of the present application, the electronic device uses at least one type of sensor corresponding to the posture to detect the unfolding angle of the folding screen, which can improve the accuracy of the opening and closing detection.
[0166] S803: The electronic device displays the content to be displayed using a display method corresponding to the combination of the posture and the unfolding angle.
[0167] In some embodiments, the electronic device distinguishes the display mode of displaying the content to be displayed according to whether the posture of the device relative to the horizontal plane is vertical. If the posture is vertical, the electronic device uses the first display mode to display the content to be displayed. If the posture is non-vertical, the electronic device uses the second display mode to display the content to be displayed.
[0168] In some embodiments, the first display mode includes an expanded display mode, and the expanded display mode includes using the entire display area of the folding screen to display the content to be displayed. Fig.10 FIG. 1 shows an unfolded display mode when the electronic device is in a vertical state relative to the horizontal plane. Fig.10 As shown, the content to be displayed is a video playback application, and the entire display area of the inward folding screen displays the video playback application. The video content and content-related controls are displayed on screen A, and the video comments and comment publishing controls are displayed on screen B.
[0169] It should be understood that when the electronic device is in a vertical state relative to the horizontal plane, no matter how the unfolding angle changes, the electronic device directly sets the display mode of the folding screen to and maintains the unfolded display mode. In this way, the problem of poor screen switching effects such as no screen switching or frequent screen switching caused by inaccurate unfolding angle measurement when the electronic device is in a vertical state can be solved.
[0170] It should be noted that when the electronic device is in a vertical state relative to the horizontal plane, the electronic device selects the unfolded state display mode as the first display mode. This is because, according to the usage habits of some users, if the user unfolds the electronic device when the electronic device is in a vertical state relative to the horizontal plane, the user is more likely to use screen A and screen B as a whole (that is, as a complete display screen). Therefore, when the electronic device is in a vertical state relative to the horizontal plane, selecting the unfolded state display mode can better meet the user's usage needs compared to other display modes.
[0171] In some embodiments, if the posture of the electronic device relative to the horizontal plane is non-vertical, the electronic device uses a second display mode to display the content to be displayed. The second display mode includes: if the unfolding angle is in the first angle range, the electronic device uses a folded state display mode to display the content to be displayed, and the folded state display mode includes the folding screen not displaying the content to be displayed in the entire display area. If the unfolding angle is in the second angle range, the electronic device uses the unfolded state display mode to display the content to be displayed.
[0172] In some examples, the first angle interval may be [0°, D1]. The second angle interval may be [D1, 180°]. Wherein D1 is the screen switching threshold. According to the usage habits of some users, the electronic device responds to the user's operation of unfolding the folding screen, and when the unfolding angle is less than the screen switching threshold D1, the electronic device uses the folded state display mode to display the content to be displayed. When the unfolding angle is greater than the screen switching threshold, the electronic device uses the unfolded state display mode to display the content to be displayed.
[0173] Optionally, in order to provide users with a better folding screen switching effect, the electronic device can take a value in the range of (0°, 45°) based on parameters such as the user's specific usage habits, device configuration and / or settings. For example, D1 can take a value of 45°, then the first angle interval is [0°, 45°]. The second angle interval is [45°, 180°].
[0174] For example, Fig.11 The figure shows a folded display mode of an electronic device when the electronic device is in a non-vertical state relative to a horizontal plane. Fig.11 As shown, if the unfolding angle is in the first angle interval, that is, β∈[0°, 45°], since the angle β between screen A and screen B is less than 45°, the unfolding degree of the electronic device is small, and the electronic device uses a folded display mode to display the content to be displayed.
[0175] Another example, Fig.12 FIG. 1 shows an unfolded display mode of an electronic device when the electronic device is in a non-vertical state relative to a horizontal plane. Fig.12 As shown, if the unfolded angle is in the second angle range, that is, β∈[45°, 180°], since when the angle β between screen A and screen B is greater than 45°, it is highly likely that the user wants to use screen A and screen B as a whole (that is, as a complete display screen), the electronic device uses the unfolded display mode to display the content to be displayed.
[0176] Some examples include Fig.11As shown, the folded state display mode includes that the entire display area of the folding screen does not display the content to be displayed. In some other examples, when the unfolding angle is in the first angle interval, such as β∈[0°, 45°], the user may also want to use part of the display area of the folding screen to display the content to be displayed. Therefore, the folded state display mode in the embodiment of the present application may also include displaying the content to be displayed in part of the display area of the folding screen, such as using screen A or screen B alone to display the content to be displayed. The embodiment of the present application is not limited to this.
[0177] In the above example, in the second display mode, the electronic device divides the expansion angle into a first angle interval and a second angle interval. When the expansion angle is in the first angle interval or the second angle interval, the electronic device uses different display modes to display the content to be displayed. In other examples, in the second display mode, the electronic device can also divide the expansion angle into more angle intervals, and in the more angle intervals, more display modes can be selected to display the content to be displayed.
[0178] Exemplarily, the value range of the angle β between the A screen and the B screen of the folding screen of the electronic device is [0°, 180°]. The electronic device divides [0°, 180°] into three angle intervals according to the screen cutting thresholds D2 and D3. Among them, 0°<D2<D3<180°. D2 and D3 can be determined based on the usage habits of a large number of users using the folding screen. Alternatively, D2 and D3 can be set by the user in the electronic device 100. Among them, if β∈[0°, D2], the electronic device can determine that the folding screen is in a fully folded state, and the electronic device does not display the content to be displayed on the folding screen. If β∈(D2, D3), the electronic device can determine that the folding screen is in a semi-folded state, and the electronic device uses part of the display area of the folding screen to display the content to be displayed. For example, the A screen or the B screen is used alone to display the content to be displayed. If β∈[D3, 180°], the electronic device 100 can determine that the folding screen is in a fully unfolded state. The electronic device uses the entire display area of the folding screen to display the content to be displayed.
[0179] In this way, the electronic device uses a display mode corresponding to the combination of the posture and the unfolding angle to display the content to be displayed. When the posture of the electronic device relative to the horizontal plane is vertical, the electronic device selects the unfolded state display mode as the first display mode. The problem of inaccurate screen switching of the electronic device can be avoided. If the posture is not vertical, the electronic device uses the second display mode to display the content to be displayed, and adapts different display modes according to the unfolding angle to display the content to be displayed. In this way, the display and switching effects of the folding screen can be optimized. Thereby, the user's satisfaction and convenience when using a foldable electronic device can be effectively improved.
[0180] In some scenarios, if the folding screen of an electronic device is unfolded in a vertical state, the posture of the electronic device changes from a vertical state to a non-vertical state. At this time, if the electronic device directly switches the sensor for obtaining the unfolding angle, and then switches the display mode according to the unfolding angle obtained, problems such as frequent screen switching and poor screen switching effects may occur.
[0181] Exemplarily, if the unfolding angle of the folding screen of the electronic device in the vertical state is 20°, the electronic device sets the display mode of the folding screen to the unfolded state display mode. The screen switching threshold of the electronic device in the non-vertical state is 45°. When the user wants to change the posture of the electronic device from the vertical state to the non-vertical state first, and then continue to unfold the folding screen, and use the unfolded state to view the content to be displayed. In this process, the electronic device will first set the display mode to the folded state display, and then as the unfolding angle exceeds the screen switching threshold, the display mode will be switched to the unfolded state display. Specifically, when the user sets the electronic device from the vertical state to the non-vertical state, the electronic device obtains that the unfolding angle of the electronic device is 20° according to the sensor corresponding to the non-vertical state, and the unfolding angle belongs to the first angle interval, that is, β∈[0°, 45°], and the electronic device will switch the display mode to the folded state display. After the electronic device is in the non-vertical state, when the user unfolds the unfolding angle of the electronic device from 20° to 150°, the electronic device responds to the change in the unfolding angle and switches the display mode of the folding screen from the folded state display to the unfolded state display. At this time, frequent screen switching of the electronic device will bring a poor user experience.
[0182] Therefore, an embodiment of the present application provides a method. When the posture of an electronic device changes from a vertical state to a non-vertical state, the method does not directly switch the sensor used to obtain the unfolding angle and the display mode of the folding screen. Instead, it determines whether to switch the sensor used to obtain the unfolding angle and the display mode of the folding screen based on whether the unfolding angle of the electronic device exceeds a preset angle threshold.
[0183] In some embodiments, if the electronic device detects that the posture of the electronic device relative to the horizontal plane changes from a vertical state to a non-vertical state, and the unfolding angle of the electronic device when in the non-vertical state exceeds a preset angle threshold, the first type of sensor and the second type of sensor are used to obtain the unfolding angle, and the second display mode is used to display the content to be displayed.
[0184] In some examples, the preset angle threshold is greater than the screen switching threshold. For example, if the screen switching threshold D1 is 45°, the preset angle threshold θ∈(45°, 180°]. For example, θ can be 60°. The first type of sensor includes an accelerometer, and the second type of sensor includes a gyroscope.
[0185] In some examples, when the electronic device detects that the posture of the electronic device changes from a vertical state to a non-vertical state, but the expansion angle of the electronic device in the non-vertical state does not exceed a preset angle threshold, it still uses the second type of sensor used in the vertical state to obtain the expansion angle, and maintains the first display mode used in the vertical state to display the content to be displayed.
[0186] It should be noted that, according to S802 above, when the electronic device is in a vertical state, the second type of sensor (i.e., gyroscope) is used to integrate and obtain the rotation angle between screen A and screen B as the unfolding angle. After the electronic device changes its posture from a vertical state to a non-vertical state, the electronic device is capable of obtaining an accurate unfolding angle through a combination of a first type of sensor (i.e., accelerometer) and a second type of sensor (i.e., gyroscope). However, in order to prevent the problem of frequent screen switching caused by too small unfolding angles obtained by the first type of sensor and the second type of sensor when the electronic device changes from a vertical state to a non-vertical state. When the electronic device detects that the posture of the electronic device changes from a vertical state to a non-vertical state, but the unfolding angle of the electronic device when it is in a non-vertical state does not exceed the preset angle threshold, the electronic device still only uses the second type of sensor (i.e., gyroscope) to integrate and obtain the rotation angle between screen A and screen B as the unfolding angle.
[0187] In some examples, according to the user's usage habits, when the electronic device changes from a vertical state to a non-vertical state, and after the unfolding angle of the electronic device is greater than a preset angle threshold, the electronic device uses a combination of a first type of sensor (i.e., an accelerometer) and a second type of sensor (i.e., a gyroscope) to obtain the unfolding angle, and uses a second display mode to display the content to be displayed.
[0188] For example, the screen switching threshold D1 is 45°, and the preset angle threshold θ is 60°. Figure 13-Figure 15 The example illustrates the change in display mode when the posture of the electronic device relative to the horizontal plane changes from a vertical state to a non-vertical state.
[0189] Fig.13 FIG. 1 shows an unfolded display mode when the electronic device is in a vertical state. Fig.13 As shown, when the electronic device is in a vertical state (the angle α∈(80°, 100°) of the rotation axis of the electronic device relative to the horizontal plane), the unfolding angle β is 40°, and the electronic device uses the unfolded display mode (first display mode) to display the video application (content to be displayed).
[0190] Fig.14 FIG. 1 shows an unfolded display mode when the electronic device is in a non-vertical state. Fig.14As shown, when the electronic device is unfolded at an angle of 40°, the posture of the electronic device changes from a vertical state to a non-vertical state (the angle α∈[0°, 80°] or [100°, 180°] of the rotation axis of the electronic device relative to the horizontal plane), the electronic device obtains the unfolding angle β of 40° according to the second type of sensor (gyroscope), which is less than the screen switching threshold D1 (45°). The electronic device continues to use the unfolded display mode to display the video application (content to be displayed). The electronic device continues to use the second type of sensor (gyroscope) to integrate and obtain the rotation angle between screen A and screen B as the unfolding angle.
[0191] Fig.15 FIG. 1 shows an unfolded display mode when the electronic device is in a non-vertical state. Fig.15 As shown, when the electronic device detects that the expansion angle β is expanded to exceed the preset angle threshold θ (60°), the expansion angle is obtained using a combination of the first type of sensor (i.e., accelerometer) and the second type of sensor (i.e., gyroscope), and the electronic device uses the second display mode to display the content to be displayed. For example, the electronic device obtains that the expansion angle β is 61°, β∈(45°, 180°]. The electronic device uses the expanded display mode to display the video application (the content to be displayed) according to the expansion angle being in the second angle range.
[0192] It should be understood that, according to the above, the electronic device uses the second display mode to display the content to be displayed, including the electronic device dividing the expansion angle into a first angle interval and a second angle interval. When the expansion angle is in the second angle interval, the electronic device uses the expanded state display mode to display the content to be displayed. In other examples, in the second display mode, the electronic device can also divide the expansion angle into more angle intervals, and in these more angle intervals, more display modes can be switched to display the content to be displayed.
[0193] In this way, the problem of frequent screen cutting caused by too small unfolding angle when the electronic device changes from a vertical state to a non-vertical state can be prevented, thereby effectively optimizing the screen cutting and display effects of the folding screen.
[0194] Combination of the above Figure 1-Figure 15 The display method provided by the embodiment of the present application is described in detail. Fig.16 The electronic device provided by the embodiments of the present application is described in detail.
[0195] In one possible design, Fig.16 FIG. 1 is a schematic diagram showing the structure of an electronic device provided in an embodiment of the present application. Fig.16 As shown, the electronic device 1600 may include: a detection unit 1601, a processing unit 1602 and a display unit 1603. The electronic device 1600 may be used to implement the folding screen display method involved in the above method embodiment. Optionally, the electronic device 1600 may include, for example Figure 2The electronic devices shown (such as foldable mobile phones, foldable computers, etc.) are devices in electronic devices that are equipped with display functions and have corresponding processing capabilities.
[0196] Optionally, the detection unit 1601 is used to support the electronic device 1600 to perform Figure 8 S801 and S802 in the table.
[0197] Optionally, the processing unit 1602 is used to support the electronic device 1600 to execute Figure 8 S803 in.
[0198] Optionally, the display unit 1603 is used to support the electronic device 1600 to execute Figure 8 S803 in.
[0199] The operations and / or functions of each unit in the electronic device 1600 are respectively for realizing the corresponding processes of the display method in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit. For the sake of brevity, they will not be repeated here.
[0200] Optionally, Fig.16 The electronic device 1600 shown may also include a storage unit ( Fig.16 (not shown in the figure), the storage unit stores a program or instruction. When the detection unit 1601, the processing unit 1602 and the display unit 1603 execute the program or instruction, Fig.16 The electronic device 1600 shown can execute the display method in the above method embodiment.
[0201] Fig.16 The technical effects of the electronic device 1600 shown can refer to the technical effects of the display method in the above method embodiment, which will not be repeated here.
[0202] In addition to being in the form of electronic device 1600, the technical solution provided by the present application may also be a functional unit or chip in the electronic device, or a device used in conjunction with the electronic device.
[0203] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.
[0204] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0205] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.
[0206] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0207] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0208] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is run on a computer, the computer executes the above-mentioned related steps to implement the display method in the above-mentioned embodiment.
[0209] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the display method in the above-mentioned embodiment.
[0210] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the display method in each of the above method embodiments.
[0211] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0212] The steps of the method or algorithm described in conjunction with the disclosed content of the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).
[0213] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0214] In the several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.
[0215] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0216] Computer-readable storage media include, but are not limited to, any of the following: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program codes.
[0217] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A folding screen display method, characterized in that: Applied to an electronic device with a folding screen, the electronic device is configured with at least two types of sensors for detecting the unfolding angle of the folding screen, and the method includes: In response to detecting that the folding screen is unfolded, acquiring a posture of the electronic device relative to a horizontal plane, the posture including a vertical state and a non-vertical state; Using at least one type of sensor corresponding to the posture, detecting an unfolding angle of the folding screen; The content to be displayed is displayed in a display mode corresponding to the combination of the posture and the expansion angle. If the posture is a vertical state, the content to be displayed is displayed in a first display mode, and the first display mode includes an expanded state display mode; if the posture is a non-vertical state, the content to be displayed is displayed in a second display mode, and the second display mode includes: if the expansion angle is in a first angle range, the content to be displayed is displayed in a folded state display mode; if the expansion angle is in a second angle range, the content to be displayed is displayed in the expanded state display mode; the first angle range is [0°, D1], the second angle range is (D1, 180°], and the value range of D1 is (0°, 45°]; if it is detected that the posture of the electronic device changes from the vertical state to the non-vertical state, and the expansion angle of the electronic device when it is in the non-vertical state exceeds a preset angle threshold, the expansion angle is obtained using a first sensor and a second sensor; and the content to be displayed is displayed in the second display mode.
2. The method according to claim 1, characterized in that The vertical state means that the angle of the rotation axis of the electronic device relative to the horizontal plane is between a first preset angle and a second preset angle, and the non-vertical state means that the angle of the rotation axis of the electronic device relative to the horizontal plane is not between the first preset angle and the second preset angle.
3. The method according to claim 2, characterized in that When the posture is a non-vertical state, the sensors corresponding to the posture include a first type of sensor and a second type of sensor; When the posture is a vertical state, the sensor corresponding to the posture includes the second type of sensor; The first type of sensor includes an accelerometer and the second type of sensor includes a gyroscope.
4. The method according to claim 1, characterized in that: The method further comprises: A third type of sensor is used to detect whether the folding screen is unfolded, and the third type of sensor includes a magnetic sensor.
5. The method according to claim 1, characterized in that The acquiring the posture of the electronic device relative to the horizontal plane comprises: The posture of the electronic device relative to the horizontal plane is acquired through a fourth type of sensor, and the fourth type of sensor includes an accelerometer.
6. The method according to claim 1, characterized in that The unfolded display mode includes using the entire display area of the folding screen to display the content to be displayed; The folded state display mode includes that the entire display area of the folded screen does not display the content to be displayed.
7. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes the method as described in any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program, and when the computer program is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 6.
9. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Screen display control method and device, electronic equipment and storage medium
CN113467686A
Hinge angle detection method and related equipment
CN115002250A