Search

US-20260126830-A1 - FOLDABLE SCREEN CONTROL METHOD AND ELECTRONIC DEVICE

US20260126830A1US 20260126830 A1US20260126830 A1US 20260126830A1US-20260126830-A1

Abstract

This application provides a foldable screen control method and an electronic device, and relates to the field of electronic technologies. The method includes: receiving a folding operation performed on a foldable screen, and sending first prompt information in response to a folding sequence anomaly of the foldable screen in response to the folding operation. The foldable screen includes a first screen, a second screen, a third screen, a first folding axis, and a second folding axis. The first folding axis is located between the first screen and the second screen and is configured to allow the first screen to be folded or unfolded relative to the second screen. The second folding axis is located between the second screen and the third screen and is configured to allow the third screen to be folded or unfolded relative to the second screen.

Inventors

  • Neng Wang
  • Ying Li
  • Jiangtao Yang
  • Ping Han
  • Yuchen Luo

Assignees

  • HUAWEI TECHNOLOGIES CO., LTD.

Dates

Publication Date
20260507
Application Date
20251229
Priority Date
20231027

Claims (20)

  1. 1 . A foldable screen control method, applied to an electronic device with a foldable screen, comprising: receiving a folding operation performed on the foldable screen, wherein the foldable screen comprises a first screen, a second screen, a third screen, a first folding axis, and a second folding axis, the first folding axis is located between the first screen and the second screen and is configured to allow the first screen to be folded or unfolded relative to the second screen, the second folding axis is located between the second screen and the third screen and is configured to allow the third screen to be folded or unfolded relative to the second screen, and in a correct folding sequence, the third screen is first folded and the first screen is then folded; and sending first prompt information in response to a folding sequence anomaly of the foldable screen in response to the folding operation.
  2. 2 . The method according to claim 1 , wherein the first prompt information is sent in response to the folding sequence anomaly of the foldable screen when a first target condition is met; and the first target condition comprises that: a duration of the folding sequence anomaly reaches a first duration, or a touch operation performed on a first target region is detected, or the folding sequence anomaly of the foldable screen is detected in a plurality of detection manners.
  3. 3 . The method according to claim 1 , wherein the folding sequence anomaly of the foldable screen comprises that: a difference between a first included angle and a second included angle is less than a preset threshold, wherein the first included angle is an included angle between the first screen and the second screen, and the second included angle is an included angle between the second screen and the third screen.
  4. 4 . The method according to claim 3 , wherein the folding sequence anomaly of the foldable screen comprises that: the first included angle is less than a preset angle, and the difference between the first included angle and the second included angle is less than the preset threshold.
  5. 5 . The method according to claim 1 , wherein a first magnet is correspondingly disposed in one of the first screen or the second screen, a Hall effect sensor is correspondingly disposed in the other of the first screen or the second screen, and a second magnet is correspondingly disposed in the third screen; in a folded form, the third screen is located between the first screen and the second screen, projections of the first magnet, the second magnet, and the Hall effect sensor overlap on the second screen, a first magnetic pole of the first magnet and a second magnetic pole of the second magnet face the Hall effect sensor, and a polarity of the first magnetic pole is opposite to a polarity of the second magnetic pole; and the electronic device determines the folding sequence anomaly of the foldable screen when the Hall effect sensor senses that the first magnetic pole approaches, but does not sense the second magnetic pole or senses that magnetic field strength of the second magnetic pole is less than a first strength.
  6. 6 . The method according to claim 1 , wherein a magnet is correspondingly disposed in one of the first screen or the second screen, and a Hall effect sensor is correspondingly disposed in the other of the first screen or the second screen; in a folded form, the third screen is located between the first screen and the second screen, and projections of the magnet and the Hall effect sensor overlap on the second screen; and the electronic device determines the folding sequence anomaly of the foldable screen when the Hall effect sensor senses the magnet and senses that magnetic field strength is greater than a target strength.
  7. 7 . The method according to claim 1 , wherein the first prompt information comprises: at least one of prompt information for prompting a folding sequence error or prompt information for prompting a correct folding sequence.
  8. 8 . The method according to claim 1 , wherein the first prompt information comprises at least one of: interface display information, vibration information, sound information, or light information.
  9. 9 . The method according to claim 1 , wherein in a folded form, a thickness of the first folding axis in a first direction is greater than a thickness of the second folding axis in the first direction, and the first direction is perpendicular to a display plane of the second screen.
  10. 10 . The method according to claim 1 , further comprising: receiving a target operation performed on the foldable screen, wherein the target operation is for changing a magnitude of an included angle between a first target screen and a second target screen, the first target screen and the second target screen are two adjacent screens of the foldable screen, the first target screen and the second target screen are foldable around a target folding axis in a first direction, and the target folding axis is a folding axis between the first target screen and the second target screen; and sending second prompt information, in response to the target operation, in response to a case in which the first target screen and the second target screen are folded in a second direction, wherein the second direction is a direction opposite to the first direction.
  11. 11 . The method according to claim 10 , wherein the second prompt information is sent, when a second target condition is met, in response to the case in which the first target screen and the second target screen are folded in the second direction; and the second target condition comprises that: a duration for which the first target screen and the second target screen are folded in the second direction reaches a second duration, or a touch operation performed on a second target region is detected, or that the first target screen and the second target screen are folded in the second direction is detected in a plurality of detection manners.
  12. 12 . The method according to claim 10 , wherein that the first target screen and the second target screen are folded in the second direction comprises that: the included angle between the first target screen and the second target screen is greater than a second threshold, and the second threshold is greater than 180°.
  13. 13 . The method according to claim 10 , wherein a pressure sensor is disposed between the first target screen and the second target screen, and the electronic device determines, when pressure detected by the pressure sensor is greater than a pressure threshold, that the first target screen and the second target screen are folded in the second direction.
  14. 14 . An electronic device, comprising: a processor; and a memory coupled to the processor to store instructions, which when executed by the processor, cause the processor to: receive a folding operation performed on a foldable screen, wherein the foldable screen comprises a first screen, a second screen, a third screen, a first folding axis, and a second folding axis, the first folding axis is located between the first screen and the second screen and is configured to allow the first screen to be folded or unfolded relative to the second screen, the second folding axis is located between the second screen and the third screen and is configured to allow the third screen to be folded or unfolded relative to the second screen, and in a correct folding sequence, the third screen is first folded and the first screen is then folded; and send first prompt information in response to a folding sequence anomaly of the foldable screen in response to the folding operation.
  15. 15 . The electronic device according to claim 14 , wherein the first prompt information is sent in response to the folding sequence anomaly of the foldable screen when a first target condition is met; and the first target condition comprises that: a duration of the folding sequence anomaly reaches a first duration, or a touch operation performed on a first target region is detected, or the folding sequence anomaly of the foldable screen is detected in a plurality of detection manners.
  16. 16 . The electronic device according to claim 14 , wherein the folding sequence anomaly of the foldable screen comprises that: a difference between a first included angle and a second included angle is less than a preset threshold, wherein the first included angle is an included angle between the first screen and the second screen, and the second included angle is an included angle between the second screen and the third screen.
  17. 17 . The electronic device according to claim 16 , wherein the folding sequence anomaly of the foldable screen comprises that: the first included angle is less than a preset angle, and the difference between the first included angle and the second included angle is less than the preset threshold.
  18. 18 . The electronic device according to claim 14 , wherein a first magnet is correspondingly disposed in one of the first screen or the second screen, a Hall effect sensor is correspondingly disposed in the other of the first screen or the second screen, and a second magnet is correspondingly disposed in the third screen; in a folded form, the third screen is located between the first screen and the second screen, projections of the first magnet, the second magnet, and the Hall effect sensor overlap on the second screen, a first magnetic pole of the first magnet and a second magnetic pole of the second magnet face the Hall effect sensor, and a polarity of the first magnetic pole is opposite to a polarity of the second magnetic pole; and the electronic device determines the folding sequence anomaly of the foldable screen when the Hall effect sensor senses that the first magnetic pole approaches, but does not sense the second magnetic pole or senses that magnetic field strength of the second magnetic pole is less than a first strength.
  19. 19 . The electronic device according to claim 14 , wherein a magnet is correspondingly disposed in one of the first screen and the second screen, and a Hall effect sensor is correspondingly disposed in the other of the first screen or the second screen; in a folded form, the third screen is located between the first screen and the second screen, and projections of the magnet and the Hall effect sensor overlap on the second screen; and the electronic device determines the folding sequence anomaly of the foldable screen when the Hall effect sensor senses the magnet and senses that magnetic field strength is greater than a target strength.
  20. 20 . The electronic device according to claim 14 , wherein the first prompt information comprises: at least one of prompt information for prompting a folding sequence error or prompt information for prompting a correct folding sequence.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN2024/095773, filed May 28, 2024, which claims priority to Chinese Patent Application No. 202311426569.X, filed on Oct. 27, 2023. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD This application relates to the field of electronic technologies, and in particular, to a foldable screen control method and an electronic device. BACKGROUND Currently, electronic devices such as mobile phones and tablet computers have been widely used in people's daily life and work. With advancement of screen technologies, a display screen of an electronic device gradually develops toward a larger screen, to provide users with more abundant information and better visual experience. An excessively large display screen of an electronic device affects portability of the electronic device. Therefore, an electronic device with a foldable screen emerges. A foldable screen can present different physical forms, such as an unfolded form and a folded form, based on operations of a user. The foldable screen in the unfolded form may be used as a large screen. The foldable screen in the folded form may be conveniently carried by the user. While the foldable screen provides large-screen experience for the user, a foldable structure of the foldable screen also imposes requirements on operations of the user. Therefore, how to improve user's operation experience is a technical problem to be resolved in the art. SUMMARY In view of this, this application provides a foldable screen control method and an electronic device, to improve operation experience of a user. To achieve the foregoing objective, according to a first aspect, an embodiment of this application provides a foldable screen control method, applied to an electronic device with a foldable screen, where the method includes: receiving a folding operation performed on the foldable screen, where the foldable screen includes a first screen, a second screen, a third screen, a first folding axis, and a second folding axis, the first folding axis is located between the first screen and the second screen and is configured to allow the first screen to be folded or unfolded relative to the second screen, the second folding axis is located between the second screen and the third screen and is configured to allow the third screen to be folded or unfolded relative to the second screen, and in a correct folding sequence, the third screen is first folded and the first screen is then folded; andsending first prompt information in response to a folding sequence anomaly of the foldable screen in response to the folding operation. According to the foldable screen control method provided in embodiments of this application, after receiving a folding operation performed by a user on the foldable screen, in response to the folding operation, the electronic device may send, in the case of a folding sequence anomaly of the foldable screen, prompt information in response to the anomaly. This can help the user perform folding in a correct folding sequence, improving user's operation experience, and reducing impact of user's folding errors on a service life of the electronic device. In one embodiment, the first prompt information is sent in response to the folding sequence anomaly of the foldable screen when a first target condition is met; and the first target condition includes that: duration of the folding sequence anomaly reaches first duration, or a touch operation performed on a first target region is detected, or the folding sequence anomaly of the foldable screen is detected in a plurality of detection manners. According to the foregoing implementation, false triggering can be reduced, and accuracy of a control result can be improved. In one embodiment, the folding sequence anomaly of the foldable screen includes that: a difference between a first included angle and a second included angle is less than a preset threshold, where the first included angle is an included angle between the first screen and the second screen, and the second included angle is an included angle between the second screen and the third screen. In the foregoing implementation, whether a folding sequence of the foldable screen is abnormal is determined based on an included angle relationship between adjacent screens of the foldable screen, so that the folding sequence anomaly of the foldable screen can be determined early, improving timeliness of detection of the folding sequence anomaly. In one embodiment, the folding sequence anomaly of the foldable screen includes that: the first included angle is less than a preset angle, and the difference between the first included angle and the second included angle is less than the preset threshold. In the foregoing implementation, the first included angle is limited to be less than the preset angle to determi