Intelligent folding equipment state identification method and device, and terminal

By optimizing the sensor operating mode in smart folding devices and combining the collaborative work of the hinge and Hall sensor, the problems of high power consumption and insufficient accuracy in the screen-off state are solved, achieving low power consumption and high reliability status recognition, thus improving user experience and device reliability.

CN121728181APending Publication Date: 2026-03-24SHENZHEN KUSAI INTELLIGENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-17
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Existing foldable devices consume a lot of power when the screen is off, and the hinge sensors are prone to inaccurate status recognition when they are not accurate or malfunction, which leads to a decline in user experience and device reliability issues.

Method used

When the screen is off in the fully folded state, the hinge sensor stops monitoring and the Hall sensor is used in a low-power monitoring mode. When the screen is on, the hinge sensor is used first for judgment, supplemented by the Hall sensor for verification. When the hinge sensor is not accurate enough, the Hall sensor is enabled to assist in judgment.

Benefits of technology

It reduces device standby power consumption, improves the reliability and anti-interference capability of status recognition, avoids accidental screen switching, and enhances user experience and device lifespan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121728181A_ABST
    Figure CN121728181A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent folding equipment state recognition method and device and a terminal, and relates to the technical field of intelligent folding equipment, and the method comprises the steps: controlling a hinge sensor to stop the hinge monitoring work in a screen-off state; controlling the Hall sensor to be in a first power consumption monitoring mode; when the Hall sensor detects and reports a first specified state, the Hall sensor is controlled to serve as an awakening source to be only used for awakening equipment and recovering hinge monitoring; the specific opening and closing state of the equipment is judged according to the accurate angle reported by the hinge; when the folding screen of the intelligent folding equipment is in a bright screen state, monitoring of a hinge sensor is controlled to be preferentially judged, and monitoring of a Hall sensor is used as auxiliary judgment; when it is detected that the hinge sensor is insufficient in precision or the reported angle is abnormal, the change of the Hall sensor is started to assist in switching the state of the folding screen. The method has the advantages that the power consumption of equipment is reduced, the reliability and anti-interference capability of state recognition are improved, and the screen is prevented from being switched by mistake.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent folding device technology, and in particular to an intelligent folding device status identification method, apparatus, intelligent folding device, and storage medium. Background Technology

[0002] Current foldable phones rely on the hinge to report the angle to determine the device's open / closed state (closed, half-open, and fully open). On one hand, this design puts pressure on power consumption as the hinge is constantly working. On the other hand, if the hinge is damaged under certain conditions (vertical screen, tapping, or wear, etc.), it may become inaccurate, the angle may change abruptly, or it may fail. In this case, the original algorithm will no longer be able to work, resulting in a poor user experience.

[0003] Therefore, existing technologies still need improvement and development. Summary of the Invention

[0004] To address the aforementioned technical problems, this invention provides a method, apparatus, intelligent folding device, and storage medium for identifying the status of an intelligent folding device. This invention has the advantages of reducing device power consumption, improving the reliability and anti-interference capability of status identification, and avoiding accidental screen switching.

[0005] The technical solution of this application is as follows: A method for recognizing the state of a smart folding device, comprising: When the smart folding device is in a fully folded and off state, the hinge sensor is controlled to stop the hinge monitoring work; and the Hall sensor is controlled to be in the first power consumption monitoring mode. When the smart folding device is in a fully folded and off state, the Hall sensor detects the change in magnetic field as the folding screen opens from the beginning of the folding process, reports the first designated state, and controls the Hall sensor as a wake-up source to be used only to wake up the device and restore hinge monitoring. When the hinge sensor resumes its monitoring function, the control determines the specific opening and closing state of the device based on the precise angle reported by the hinge. When the smart folding device has its folding screen on, the control prioritizes listening to the hinge sensor, while listening to the Hall sensor serves as an auxiliary measure. When the hinge sensor is detected to have insufficient accuracy or to report an abnormal angle, the Hall sensor is activated to assist in switching the folding screen state.

[0006] The aforementioned method for recognizing the state of a smart folding device includes the following steps: when the smart folding device is in a fully folded, off-screen state, controlling the hinge sensor to stop its hinge monitoring operation and controlling the Hall sensor to be in a first power consumption monitoring mode includes: When the smart folding device is in a fully folded and off state, the hinge sensor is controlled to stop the hinge monitoring work; and the Hall sensor is controlled to enter a low-power monitoring mode.

[0007] The aforementioned method for recognizing the state of a smart folding device includes the following steps: when the smart folding device is in a screen-on state, the step of prioritizing the monitoring of the hinge sensor and using the monitoring of the Hall sensor as an auxiliary judgment includes: When the smart folding device has its folding screen on, if the hinge sensor reports an angle between 0° and 29° with normal accuracy, the system determines that the folding screen is closed; if the angle is between 30° and 120° with normal accuracy, the system determines that the folding screen is half-open; if the angle is between 121° and 180° with normal accuracy, the system determines that the folding screen is fully open.

[0008] The aforementioned intelligent folding device state recognition method, wherein the step of enabling the Cohort sensor to assist in switching the folding screen state when the hinge sensor detects insufficient accuracy or an abnormal reporting angle includes: When the hinge sensor detects insufficient accuracy or reports an abnormal angle, the change of the Hall sensor is used to assist in the detection. When the Hall sensor reports a low level in the second specified state, it is determined that the folding screen is in the closed state, ensuring that the screen switches to the correct closed state.

[0009] The aforementioned method for recognizing the state of a smart folding device includes the following steps: when the smart folding device is in a fully folded, off-screen state, the Hall sensor detects the change in the magnetic field of the folding screen as it unfolds from the folding stage, reports a first designated state, and controls the Hall sensor as a wake-up source solely for waking up the device and resuming hinge monitoring. When the smart folding device is in a fully folded and off state, the Hall sensor detects that the folding screen has opened from 0° to 14°. The Hall sensor reports a high-level output state for the first specified state and controls the Hall sensor as a wake-up source to wake up the smart folding device and restore hinge monitoring. At the same time, the control system enters a protection zone, that is, the hinge monitoring folding screen angle is between 14° and 29°. Within this protection zone, even if the hinge sensor reports the angle, the control will not immediately make a screen switching decision. It needs to wait for the hinge angle to change further or the Hall sensor state to change before deciding whether to switch the folding screen state.

[0010] The aforementioned intelligent folding device status recognition method, wherein the step of determining the specific opening / closing state of the device based on the precise angle reported by the hinge when the hinge sensor resumes monitoring includes: When the smart folding device is in a fully folded, off-screen state, the hinge sensor detects that the hinge angle of the folding screen exceeds 29°, and the screen lights up and displays a half-open state based on the precise hinge angle.

[0011] The aforementioned method for recognizing the state of a smart folding device includes the following steps: when the smart folding device is in a fully folded, off-screen state, the Hall sensor detects the change in the magnetic field of the folding screen as it unfolds from the folding stage, reports a first designated state, and controls the Hall sensor as a wake-up source solely for waking up the device and resuming hinge monitoring. When the smart folding device is in a fully folded and off state, the Hall sensor detects the change in magnetic field of the folding screen as it opens from the beginning of the folding process. The Hall sensor detects and reports the first designated state Hall changing to 1, the system is woken up and resumes hinge monitoring, and enters the protection range of the folding screen between 14° and 29°. When the smart folding device is detected to have opened the folding screen to the protection zone, and then the smart folding device is closed again with the folding screen closed, so that the folding angle returns to between 0° and 14°, the Hall sensor detects the change in magnetic field and reports the second specified state Hall to 0. When the intelligent folding device system receives a report of the second specified state hall changing to 0, it determines that the folding screen has been closed, exits the protection zone, controls the folding screen to remain in the off state, controls the hinge sensor to stop the hinge monitoring work, and controls the Hall sensor to be in the first power consumption monitoring mode.

[0012] A smart folding device status recognition device, wherein the device comprises: The screen-off low-power control module is used to control the hinge sensor to stop the hinge monitoring work when the smart folding device is in the fully folded and screen-off state; and to control the Hall sensor to be in the first power consumption monitoring mode. The screen-off wake-up module is used when the smart folding device is in a fully folded and screen-off state. The Hall sensor detects the change in magnetic field of the folding screen as it opens from the folding stage, reports the first specified state, and controls the Hall sensor as a wake-up source to be used only to wake up the device and restore hinge monitoring. The screen-off state determination module is used to determine the specific opening and closing state of the device based on the precise angle reported by the hinge when the hinge sensor resumes its monitoring function. The screen-on / off state judgment module is used to prioritize the monitoring of the hinge sensor when the smart folding device is in the screen-on state, with the monitoring of the Hall sensor serving as an auxiliary judgment; when the hinge sensor is detected to have insufficient accuracy or to report an abnormal angle, the changes of the Hall sensor are used to assist in switching the folding screen state.

[0013] A smart folding device includes a memory and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising the method for performing any one of the methods.

[0014] A computer-readable storage medium, wherein, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform any of the methods described above.

[0015] As can be seen from the above, the present application provides a method, apparatus, smart folding device and storage medium for recognizing the status of a smart folding device. The present invention reduces power consumption by optimizing the sensor working mode in the screen-off state and improves reliability by prioritizing hinge judgment and assisting Hall detection in the screen-on state. It solves the problems of high energy consumption and insufficient accuracy in the background art and has the advantages of reducing device power consumption, improving the reliability and anti-interference ability of status recognition, and avoiding screen switching errors. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating the intelligent folding device status recognition method according to Embodiment 1 of the present invention.

[0018] Figure 2 This is a flowchart illustrating the intelligent folding device status recognition method according to Embodiment 2 of the present invention.

[0019] Figure 3 This is a flowchart illustrating the intelligent folding device status recognition method according to a specific embodiment 3 of the present invention.

[0020] Figure 4 A schematic diagram of an embodiment of the intelligent folding device status recognition device provided by the present invention.

[0021] Figure 5 This is a block diagram illustrating the internal structure of the intelligent folding device provided in an embodiment of the present invention. Detailed Implementation

[0022] To make the objectives, technical solutions, and advantages of this invention clearer and more explicit, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0023] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.

[0024] In the field of foldable device status recognition technology, existing methods mainly rely on hinge sensors to report angles to determine the opening and closing status. However, when the device is in a screen-off state, the hinge sensor needs to continuously operate to monitor status changes, leading to increased system power consumption. Since power consumption is a key performance indicator affecting device battery life, an abnormally high power consumption directly limits the device's applicability in low-power scenarios. Furthermore, under specific conditions such as vertical screen placement, external physical impact, or mechanical wear from prolonged use, the hinge sensor is prone to insufficient accuracy, angle jumps, or functional failures, causing the status judgment algorithm to be unstable, thus reducing system reliability and affecting the user experience. In addition, over-reliance on Hall effect sensors for status switching can easily cause screen flickering due to external magnetic interference, further compromising the stability of device operation.

[0025] For example, when a user places a foldable phone in a bag with it fully folded and screen off, stray magnetic fields generated by metal objects inside the bag are detected by the Hall sensor. This causes the sensor to falsely report a status change signal, leading to repeated attempts to wake and switch the screen while it's off, resulting in screen flickering. Simultaneously, the hinge sensor accumulates additional power consumption due to continuous monitoring, and the pressure inside the bag causes the sensor to report an abnormal angle, preventing the system from accurately identifying the device's open / closed state. When the user removes the device, multiple manual operations are required to restore the screen to normal display, increasing the user's workload and exposing flaws in the sensor's coordination mechanism.

[0026] If the aforementioned technical issues are not resolved, the ability of foldable devices to recognize states in the off-screen state will remain constrained. Abnormally high system power consumption will significantly shorten device standby time, impacting the user experience. Insufficient sensor accuracy or malfunction may lead to incorrect state switching commands, causing user confusion and potentially accelerating the performance degradation of related hardware components. Screen flickering not only reduces product usability but may also increase the workload on the display module due to frequent screen state switching, ultimately shortening the overall lifespan of the device.

[0027] To address the aforementioned technical problems, this invention provides a method for recognizing the status of a smart folding device, as detailed in the following embodiments.

[0028] Example 1 like Figure 1As shown, an embodiment of the present invention provides a method for identifying the status of a smart folding device, comprising the following steps: Step S100: When the smart folding device is in a fully folded and off state, control the hinge sensor to stop the hinge monitoring work; and control the Hall sensor to be in the first power consumption monitoring mode. Step S200: When the smart folding device is in a fully folded and off state, the Hall sensor detects the change in magnetic field of the folding screen as it opens from the folding stage, reports the first specified state, and controls the Hall sensor as a wake-up source to be used only to wake up the device and restore hinge listening. Step S300: When the hinge sensor resumes its monitoring function, the control determines the specific opening and closing state of the device based on the precise angle reported by the hinge. Step S400: When the smart folding device is in the screen-on state, the control prioritizes the monitoring of the hinge sensor, and uses the monitoring of the Hall sensor as an auxiliary judgment; when the hinge sensor is detected to have insufficient accuracy or report an abnormal angle, the change of the Hall sensor is used to assist in switching the folding screen state.

[0029] The smart folding device in this embodiment refers to an electronic device with a foldable screen, such as a foldable mobile phone or foldable tablet, whose screen can be folded and unfolded via a hinge mechanism. The foldable screen in this embodiment refers to a flexible, foldable display screen on the smart folding device; its state (e.g., closed, half-open, fully open) affects the device's display and interaction modes. The hinge sensor in this embodiment refers to a sensor installed on the smart folding device to detect the hinge angle of the smart folding device, providing accurate folding angle data. The Hall sensor in this embodiment refers to a magnetic field sensor based on the Hall effect installed on the smart folding device, capable of detecting changes in the surrounding magnetic field, used to detect the opening / closing state of the device or the position of specific components.

[0030] The fully folded, screen-off state in this embodiment refers to the smart folding device being in a fully folded state with the screen off (screen off). The first power consumption monitoring mode in this embodiment refers to a working mode where the Hall sensor maintains its monitoring function while operating with lower power consumption, aiming to save device power. The magnetic field change in this embodiment refers to the change in the strength or direction of the surrounding magnetic field detected by the Hall sensor, typically caused by the opening and closing action of the folding screen. The first designated state in this embodiment refers to a preset signal state output by the Hall sensor when it detects a specific magnetic field change, i.e., a high-level state with Hall equal to 1, used to indicate the initial opening action of the folding screen.

[0031] In this embodiment, the wake-up source refers to a signal or event that can trigger the smart folding device to resume normal operation from a low-power or sleep state. In this embodiment, hinge monitoring refers to the continuous operation of the hinge sensor, which monitors and reports the opening and closing angle of the folding screen in real time. In this embodiment, the precise angle refers to the folding screen opening and closing angle value provided by the hinge sensor with high accuracy. In this embodiment, the opening and closing state refers to the physical form of the folding screen, such as closed, half-open, or fully open. In this embodiment, the screen-on state refers to the state where the screen of the smart folding device is lit and displaying content. Insufficient accuracy in this embodiment refers to a decrease in the accuracy of the data provided by the sensor (e.g., the hinge sensor), which cannot reliably reflect the actual physical state. An abnormal angle in this embodiment refers to an angle data reported by the sensor that does not match the actual physical state, or an unreasonable and drastic change occurring within a short period of time.

[0032] This embodiment provides a method for identifying the state of a smart folding device. Specifically, when the smart folding device's screen is in a fully folded, off-screen state, the hinge sensor is controlled to stop its hinge monitoring function. For example, a disable command can be sent to the hinge sensor module to put it into a sleep state or completely cut off its power supply, thereby stopping its data acquisition and reporting functions. Simultaneously, the Hall sensor is controlled to operate in a first power consumption monitoring mode. For example, the Hall sensor can be configured to operate at a lower sampling frequency, or its full function can be activated only when a specific magnetic field change is detected, to reduce overall power consumption.

[0033] When a smart foldable device has its screen fully folded and off, the Hall sensor detects a change in the magnetic field as the screen begins to open. For example, when the screen slightly opens from a fully closed state, the relative position between the magnets inside the device and the Hall sensor changes, causing a change in the strength or direction of the magnetic field sensed by the Hall sensor. Upon detecting this change, the Hall sensor reports a first designated state. For example, the Hall sensor can output a preset level signal, such as a high level, to indicate that an opening action has been detected. Simultaneously, the Hall sensor can be used as a wake-up source only to wake up the device and resume hinge monitoring. For example, the Hall sensor's output signal can be connected to the device's system interrupt pin; when it reports the first designated state, it triggers the system to wake up from the screen-off state and initiates the hinge sensor's data acquisition function.

[0034] Once the hinge sensor resumes its monitoring function, the control system determines the specific opening / closing state of the device based on the precise angle reported by the hinge. For example, after receiving real-time angle data from the hinge sensor, the system compares it with several preset angle thresholds. If the angle is less than a certain threshold, it is determined to be in a closed state; if the angle is between two thresholds, it is determined to be in a partially open state; and if the angle is greater than another threshold, it is determined to be in a fully open state.

[0035] When a smart foldable device has its foldable screen on, the control prioritizes monitoring the hinge sensors. For example, in the on-screen state, the system primarily relies on precise angle data from the hinge sensors to determine the folding state of the screen and adjusts the display mode accordingly. Simultaneously, monitoring the Hall effect sensors serves as a supplementary tool. For instance, Hall effect sensor data can be continuously monitored, but its results are typically not directly used to control state transitions; instead, they serve as backup or verification information.

[0036] When the hinge sensor detects insufficient accuracy or reports an abnormal angle, the system activates the Hall sensor's changes to assist in switching the foldable screen state. For example, the system can analyze the stability of the hinge sensor data using algorithms. If it detects a large jump in angle data within a short period, data loss, or prolonged stagnation at unreasonable values, it determines that the accuracy is insufficient or the angle is abnormal. In this case, the system of this embodiment activates the Hall sensor's auxiliary judgment function. For example, when the Hall sensor detects a change in magnetic field, the system combines the Hall sensor's state information to reassess and determine the actual opening and closing state of the foldable screen to ensure correct switching of the display mode.

[0037] The following example will provide a more detailed explanation of the above technical solution: For example, User A owns a smart foldable device, specifically a smart foldable phone. When User A fully folds the smart foldable phone and turns off its screen, the phone enters a fully folded, screen-off state. At this time, to reduce power consumption, the device management system, controlled by the method of this invention, sends a command to the hinge sensor to stop working and cease angle monitoring. Simultaneously, the Hall sensor is configured in a first power consumption monitoring mode, for example, detecting magnetic fields at an extremely low frequency, consuming only a small amount of power. This mechanism effectively solves the power consumption problem caused by the hinge sensor continuously operating in the screen-off state in existing technologies.

[0038] User A then begins to unfold the foldable smartphone. As the foldable screen slightly opens from its fully closed state, the relative position between the magnets and the Hall sensor inside the smartphone changes, causing the Hall sensor to detect a change in the magnetic field. The Hall sensor immediately reports a first designated state, such as outputting a high-level signal (hall = 1). This signal is designed as the wake-up source for the foldable smartphone, thus waking up the device system and resuming the operation of the hinge sensor, allowing it to resume monitoring the precise angle of the foldable screen. In this process, the Hall sensor only acts as a trigger for waking up the device and resuming hinge monitoring, avoiding potential screen flickering issues that could result from its excessive involvement in state determination.

[0039] Once the hinge sensor resumes monitoring, it reports the precise angle of the folding screen in real time. The device system uses this precise angle data to determine the specific opening and closing state of the folding screen. For example, if the hinge sensor reports an angle of 0°-29°, the system determines the folding screen is closed; if the angle is 30°-120°, the system determines the folding screen is half-open; and if the angle is 121°-180°, the system determines the folding screen is fully open. This precise angle-based determination ensures the accuracy of device status recognition.

[0040] In this embodiment of the invention, when the smart foldable phone is in the screen-on state, the smart foldable phone system prioritizes the angle data reported by the hinge sensor to determine the opening and closing state of the foldable screen, and adjusts the display mode accordingly. For example, when user A fully unfolds the device from a half-open state, the hinge sensor reports the angle change in real time, and the system quickly switches the display mode from half-open to fully open based on these changes. During this period, the Hall sensor is also in a listening state, but its data is used as an auxiliary judgment.

[0041] Furthermore, if, during use, the hinge sensor malfunctions due to accidental drops or prolonged wear, resulting in insufficient accuracy or abnormal angle reporting (e.g., drastic angle jumps or prolonged stagnation at unreasonable values), the intelligent folding device system will utilize changes in the Hall sensor to assist in switching the folding screen state. For example, if the angle data reported by the hinge sensor is unstable, but the Hall sensor detects a change in the magnetic field and indicates that the folding screen is fully closed, the system will accept the Hall sensor's auxiliary judgment and switch the folding screen state to closed. This avoids state recognition errors caused by hinge sensor malfunction and solves the problem of insufficient accuracy and reliability of hinge sensors in the prior art.

[0042] Based on the above examples, the technical concept of this embodiment demonstrates a significant technical contribution to the state recognition of smart folding devices. Existing technologies primarily rely on hinge sensors for state determination, resulting in high power consumption in the screen-off state and a tendency for misjudgments when sensor accuracy is insufficient or malfunctioning. This embodiment effectively solves these problems by introducing a collaborative working mechanism between a Hall sensor and a hinge sensor, assigning them different roles and priorities according to different device states.

[0043] Specifically, in the fully folded, screen-off state, this embodiment stops the high-power hinge sensor monitoring and instead uses a Hall sensor in the first power monitoring mode for initial opening and closing detection. This design significantly reduces the device's standby power consumption and has a clear energy-saving advantage compared to existing solutions where the hinge sensor operates continuously.

[0044] When the device is turned on from a screen-off state, the Hall sensor acts as a wake-up source, solely for waking up the device and resuming hinge monitoring, rather than directly performing complex opening / closing state judgments. This strategy avoids screen flickering issues that might result from excessive Hall sensor involvement in state judgments. Hall sensors are sensitive to external magnetic field interference; if they directly control state switching, repeated screen switching can be triggered by the proximity of external magnets. This embodiment effectively mitigates this risk by limiting the role of the Hall sensor.

[0045] Furthermore, in the screen-on state, this embodiment prioritizes the accurate angle data provided by the hinge sensor for status determination, ensuring the accuracy of status recognition. Simultaneously, when the hinge sensor malfunctions due to insufficient accuracy or abnormal angle, the Hall sensor is activated as an auxiliary sensor. This mechanism of dual-sensor collaboration and dynamic switching between primary and secondary roles significantly improves the reliability and robustness of device status recognition. Even in the event of a hinge sensor failure, the Hall sensor can provide backup judgment, ensuring the device can correctly respond to user operations and avoiding the user experience degradation caused by a single sensor failure in existing technologies.

[0046] In summary, this embodiment achieves low-power, high-precision, and high-reliability intelligent folding device status recognition by intelligently managing the working modes and priorities of the hinge sensor and Hall sensor, effectively overcoming the technical problems of power consumption, accuracy, and screen flicker in the prior art.

[0047] In some other embodiments, this application proposes a method for recognizing the state of a smart folding device. When the smart folding device is in a fully folded, off-screen state, the hinge sensor is controlled to stop hinge monitoring; and the Hall sensor is controlled to be in a first power consumption monitoring mode. When the smart folding device is in a fully folded, off-screen state, the Hall sensor detects the change in magnetic field as the screen opens from the folding stage, reports a first specified state, and controls the Hall sensor as a wake-up source only to wake up the device and resume hinge monitoring. When the hinge sensor resumes monitoring, the device's specific opening / closing state is determined based on the precise angle reported by the hinge. When the smart folding device is in a screen-on state, the hinge sensor's monitoring is prioritized, with the Hall sensor's monitoring serving as an auxiliary factor. When insufficient accuracy or abnormal angle reporting by the hinge sensor is detected, the Hall sensor's changes are used to assist in switching the folding screen state. However, in practical applications, if the power consumption monitoring mode of the Hall sensor is not clearly defined and optimized, unnecessary power consumption may occur even in long-term standby mode, affecting user experience and the device's battery life.

[0048] To address this, this application further proposes that when the smart folding device is in a fully folded, off-screen state, the hinge sensor should be controlled to stop its hinge monitoring operation; and the Hall sensor should be controlled to enter a low-power monitoring mode. The low-power monitoring mode refers to an operating state in which the Hall sensor, while maintaining its ability to detect changes in the magnetic field, significantly reduces its own power consumption during operation. This mode can be implemented in several ways. For example, the Hall sensor can be configured to operate at a lower sampling frequency, reducing the number of magnetic field detections per unit time, thereby reducing average power consumption; or, an intermittent operating mode can be adopted, where the Hall sensor is in a dormant state most of the time, only being awakened for magnetic field detection at preset short time intervals, and then entering dormant again after detection, in a cycle. Alternatively, a Hall sensor chip with inherently ultra-low power consumption characteristics can be selected, whose internal design optimizes current consumption, allowing it to maintain a low power consumption level even under normal operating conditions.

[0049] This application's solution achieves efficient power management in standby mode by explicitly setting the Hall sensor to a low-power monitoring mode when the smart foldable device is in a fully folded, screen-off state, and simultaneously stopping the relatively high-power hinge sensor from monitoring. Specifically, when the device is fully folded and the screen is off, the system no longer needs precise hinge angle information; therefore, stopping the hinge sensor significantly reduces unnecessary power consumption. At the same time, the Hall sensor, as the primary wake-up source, is configured in low-power monitoring mode, ensuring continuous monitoring of the folding screen's opening and closing status even with extremely low power consumption. Once the Hall sensor detects a change in the magnetic field caused by the folding screen opening, it quickly responds and wakes the device, resuming the hinge sensor's monitoring, thus achieving a smooth transition from low-power standby to normal operation. This collaborative mechanism allows the device to maintain rapid responsiveness while maximizing battery life.

[0050] As a specific implementation, when the smart foldable device is in a fully folded, screen-off state, this invention can send a command to the Hall sensor to put it into a low-power mode. For example, the Hall sensor can be configured to detect magnetic field strength every 500 milliseconds, instead of continuous real-time detection. During the interval between two detections, the main circuit of the Hall sensor can enter a sleep state, retaining only the necessary wake-up circuitry. When a change in magnetic field strength is detected to exceed a preset threshold, the Hall sensor immediately triggers an interrupt signal to notify the main processor that an opening / closing action has occurred. Simultaneously, the hinge sensor completely stops power supply or enters deep sleep, ceasing all angle data acquisition until the system is woken up by the Hall sensor.

[0051] Through the above technical solutions, the standby power consumption of smart foldable devices in the fully folded, screen-off state has been significantly optimized. By explicitly configuring the Hall sensor to a low-power monitoring mode and stopping the hinge sensor from monitoring, the device can significantly reduce power consumption without sacrificing wake-up response speed, effectively extending the device's battery life and improving the user experience.

[0052] In some other embodiments, this application proposes a method for recognizing the state of a smart folding device. When the smart folding device has its folded screen on, the system prioritizes monitoring the hinge sensor, with monitoring the Hall sensor serving as an auxiliary indicator. However, in its implementation, if the angles reported by the hinge sensor are not precisely divided into intervals to determine the specific opening and closing state of the folding screen, the system's recognition of the device state may be inaccurate, affecting user experience and the correctness of subsequent functional operations.

[0053] In response, this application further proposes a step where, when the smart folding device is in the screen-on state, the system prioritizes monitoring the hinge sensor and uses the Hall sensor as an auxiliary sensor for judgment. This step includes: when the smart folding device is in the screen-on state, if the angle reported by the hinge sensor is between 0° and 29° and the accuracy is normal, the system determines that the folding screen is in a closed state; if the angle is between 30° and 120° and the accuracy is normal, the system determines that the folding screen is in a half-open state; if the angle is between 121° and 180° and the accuracy is normal, the system determines that the folding screen is in a fully open state.

[0054] The technical feature that determines the folding screen to be in a closed state when the hinge sensor reports an angle between 0° and 29° with normal accuracy aims to clearly define the precise angle range within which the system determines the folding screen to be in a closed state when it is in the on state. This helps eliminate ambiguity in state recognition and ensures that the system can accurately identify whether the device is in a fully closed state when the user operates the device. The system can preset an angle threshold range. When the angle value continuously reported by the hinge sensor falls within this range and its own accuracy verification passes, the determination of the closed state is triggered. For example, the raw sensor data can be filtered and calibrated through software algorithms to ensure the reliability of the angle data. Alternatively, the device manufacturer can use a calibration program at the factory to associate the angle values ​​of the hinge sensor at different physical degrees of closure with preset logical states (such as closed). When the angle value reported by the sensor matches the calibration data, the system determines the corresponding state.

[0055] The technical feature that determines the foldable screen to be in a half-open state when the hinge sensor reports an angle between 30° and 120° with normal accuracy clearly defines the precise angle range within which the system determines the foldable screen to be in a half-open state when it is in the on state. This is crucial for foldable devices that support multi-angle hovering or specific application scenarios (such as split-screen display). The system can maintain a state machine that transitions to the half-open state when the hinge sensor reports an angle between 30° and 120° and the sensor's self-test results show reliable data. Alternatively, a machine learning model can be used, combining historical hinge sensor data and user behavior patterns, to dynamically adjust the angle judgment range for the half-open state to adapt to different user habits, while still ensuring the angle remains within the macroscopic range of 30°-120°.

[0056] The technical feature that allows the system to determine the foldable screen to be in a fully open state when the hinge sensor reports an angle between 121° and 180° with normal accuracy clearly defines the precise angle range within which the system determines the foldable screen to be in a fully open state when it is in the on state. This ensures that the system can correctly identify and adjust the display mode (such as full-screen display) when the device is fully unfolded. The display management module in the device's operating system can receive the angle data from the hinge sensor and perform logical judgments based on the preset 121°-180° range. Once the conditions are met and the accuracy is normal, the fully open display layout is triggered. Alternatively, through hardware-level logic circuitry, the analog or digital output signal of the hinge sensor can be compared with a preset voltage or digital range. When the signal falls within the range representing 121°-180°, an interrupt or status signal is generated to notify the main control chip that the device is in a fully open state.

[0057] The solution proposed in this application is implemented as follows: When the smart folding device is in the screen-on state, the system continuously monitors the precise angle data reported by the hinge sensor and prioritizes it over the monitoring of the Hall sensor. After receiving the angle value reported by the hinge sensor, the system first performs an accuracy check to ensure the reliability of the data. If the accuracy is normal, the system compares the angle value with multiple preset angle ranges. Specifically, if the angle value falls within the 0°-29° range, the system determines that the folding screen is in a closed state; if the angle value falls within the 30°-120° range, the system determines that the folding screen is in a half-open state; if the angle value falls within the 121°-180° range, the system determines that the folding screen is in a fully open state. This precise range division and state mapping mechanism enables the system to accurately and consistently identify the physical posture of the device, thereby triggering corresponding software responses, such as adjusting the user interface layout or activating specific functions. In this way, this application further refines the folding screen state recognition logic in the screen-on state, based on the priority use of the hinge sensor for judgment, and solves the problem of ambiguous state recognition caused by inaccurate angle judgment.

[0058] The following is a concrete example. Consider a smart folding device whose hinge sensor outputs angle values ​​between 0° (fully closed) and 180° (fully unfolded). When the device's folded screen is on, the operating system's display management module continuously monitors the hinge sensor's current angle. For example, if the hinge sensor reports an angle of 15°, and its internal diagnostics confirm the accuracy of this reading, the system identifies it as "closed." At this point, the device might display a specific user interface for the almost-closed state, or prepare to perform operations after fully closing. If the user continues to unfold the device, the hinge sensor reports an angle of 90° with normal accuracy, and the system identifies it as "half-open." In this state, the device might automatically split the screen content into two separate areas, or activate a specific application suitable for half-open mode. Subsequently, if the device is fully unfolded, the hinge sensor provides a 170° angle reading, and confirming normal accuracy, the system switches to "fully open." This typically results in a seamless, full-screen user interface across the entire unfolded panel, optimizing the content viewing experience. During these state transitions, the system primarily relies on the precise angle data and integrity checks of the hinge sensors to make state judgments, thereby ensuring a responsive and accurate user experience.

[0059] Through the above technical solution, this application, when the smart folding device is in the screen-on state, can clearly and unambiguously identify the closed, half-open, and fully open states of the folding screen by precisely dividing the angle reported by the hinge sensor into intervals and combining this with accuracy judgment. This solves the problem that relying solely on generalized hinge sensor monitoring may lead to inaccurate or ambiguous state recognition when the screen is on. This precise state recognition mechanism ensures that the device software and user interface can respond correctly and promptly according to the actual physical posture of the device, thereby significantly improving the smoothness of the user experience and the intelligence level of the device, enabling the device to better adapt to various user scenarios.

[0060] In some embodiments described above in this application, smart folding devices typically rely primarily on hinge sensors for status determination when the folding screen is on. However, in actual use, hinge sensors may experience insufficient accuracy or report abnormal angles, causing the system to be unable to accurately determine the closed state of the folding screen, thereby affecting user experience and device functionality.

[0061] In response, this application further proposes that when the hinge sensor detects insufficient accuracy or abnormal angle, the change of the Hall sensor is used to assist in the detection. When the Hall sensor reports a low level of the second specified state output, it is determined that the folding screen is in the closed state, ensuring that the screen switches to the correct closed state.

[0062] Specifically, when the hinge sensor is detected to have insufficient accuracy or report abnormal angles, it means that during operation, the hinge sensor's output folding angle data deviates significantly from the actual physical angle, or there are abnormal data fluctuations or missing data. This may be caused by sensor aging, mechanical wear, environmental interference, or internal circuit failure. The system can detect the hinge sensor's accuracy through periodic calibration, self-test procedures, or cross-validation with data from other sensors. For example, if the angle values ​​reported by the hinge sensor repeatedly show physically impossible drastic changes, or are significantly inconsistent with the expected angle range, it can be considered abnormal. Alternatively, a threshold can be set for judgment; for example, if the angle value reported by the hinge sensor changes beyond a preset physical limit within a short period, or if the angle value continues to drift when the device is stationary, it is considered to have insufficient accuracy or report abnormalities. Enabling changes in the Cohort sensor to assist in detection means that when the hinge sensor malfunctions, the system no longer relies entirely on the hinge sensor's data, but instead uses changes in the magnetic field detected by the Hall sensor to assist in determining the state of the folding screen. Hall effect sensors are commonly used to detect magnetic field strength. In foldable devices, a magnet can be placed at a specific location on the foldable screen, and a Hall effect sensor can be placed on the other side. When the foldable screen closes or opens to a specific angle, the Hall effect sensor will detect changes in the magnetic field. The system can preset typical output values ​​or change patterns for the Hall effect sensor in different folding states. When the hinge sensor malfunctions, the system will activate the Hall effect sensor's data reading and compare it with the preset pattern to help determine the current folding state. Alternatively, the Hall effect sensor can be configured to trigger an interrupt or change its output level when it detects a specific change in magnetic field strength. After receiving these signals, the system combines them with other information to help determine the foldable screen state. When the Hall effect sensor reports a second specified state with a low output level, it means that when the Hall effect sensor detects a specific change in magnetic field strength, its output signal changes from a high level to a low level, or remains at a low level. In foldable devices, this typically corresponds to the foldable screen being fully closed, where the distance and relative position between the magnet and the Hall effect sensor are configured to cause the magnetic field strength detected by the Hall effect sensor to reach a certain threshold, thereby triggering a low-level output. The Hall sensor can be designed so that when the foldable screen is fully closed, the magnetic field strength it senses reaches its maximum, at which point the sensor's internal circuitry outputs a low-level signal. Alternatively, a comparator can be incorporated into the external circuitry of the Hall sensor. When the analog output voltage of the Hall sensor falls below a preset threshold, the comparator outputs a low level, indicating that a second specified state has been reached. Determining that the foldable screen is in a closed state means that the system, based on the second specified state (low-level output) reported by the Hall sensor and combined with the current device operating context, determines that the foldable screen is in a fully closed physical state.When the system receives a low-level signal from the Hall sensor and confirms that the hinge sensor is in an abnormal state, the system logic will directly update the folding screen state to "closed". Alternatively, a state machine can be used to manage this; the system will only confirm the folding screen is closed after the hinge sensor malfunctions and the Hall sensor outputs a low level for a certain duration or number of repetitions, thus avoiding false alarms. Ensuring the screen switches to the correct closed state means that after determining the folding screen is closed, the system will perform a series of operations to match the screen display and device functions with the closed state. This includes, but is not limited to, turning off the main screen display, entering always-on display mode, adjusting the system UI layout, pausing certain application processes, and reducing power consumption. The system will send instructions to the display driver module to turn off the main display and may activate the secondary screen or notification area. At the same time, the operating system will adjust its internal state to reflect that the device is closed. Alternatively, it may also include checking and correcting erroneous states that may be caused by hinge sensor malfunctions. For example, if the system previously incorrectly considered the screen to be in a half-open or fully open state, it will force it to switch to the closed state and execute the corresponding power management strategy.

[0063] The solution proposed in this application is implemented as follows: When the smart folding device's folding screen is on, the system typically relies primarily on the hinge sensor to provide accurate folding angle data to determine the device's open / closed state. However, considering that the hinge sensor may experience insufficient accuracy or report abnormal angles due to various factors, this solution introduces a Hall sensor as a reliable auxiliary detection method. Once the system detects that the hinge sensor's data is unreliable, it will activate the Hall sensor for auxiliary judgment. Specifically, when the Hall sensor detects the unique magnetic field change characteristic of the folding screen reaching a fully closed state and reports a preset second specified state (i.e., low-level output), the system will use this as conclusive evidence to determine that the folding screen is in a closed state. Based on this judgment, the system will immediately execute corresponding screen switching operations, such as turning off the main screen display or entering a low-power mode, thereby ensuring that the device can accurately and promptly respond to the physical closing state of the folding screen, maintaining system stability and user experience even when the main sensor malfunctions. This mechanism effectively compensates for the limitations that a single sensor may have, improving the robustness of smart folding device state recognition.

[0064] The following example illustrates this. Suppose a smart foldable device is in screen-on mode, and a user is attempting to fully close the device. Normally, the hinge sensor continuously reports the folding angle, and the system determines the screen state based on these angle changes. However, due to wear and tear from prolonged use, the hinge sensor's reported angle data begins to fluctuate unstablely. For example, as the screen is about to close, the angle value may repeatedly jump between 5° and 20°, failing to stably indicate a closed state. At this point, the system detects the abnormal angle reported by the hinge sensor and activates a Hall sensor for auxiliary detection. As the user continues to fully close the folded screen, aligning the magnet inside the screen with the Hall sensor, the Hall sensor detects the strong magnetic field and immediately outputs a low-level signal. This low-level signal represents the preset second designated state. Upon receiving the low-level signal from the Hall sensor, even if the hinge sensor continues to report abnormal data, the system will prioritize the Hall sensor's judgment and immediately confirm the folded screen state as "closed." Subsequently, the system will perform a series of operations, such as turning off the main screen display, locking the device, and entering deep sleep mode, to ensure that the device can still correctly respond to the user's closing operation even if the hinge sensor is malfunctioning, thus avoiding problems such as the screen remaining lit or being misjudged as half-open.

[0065] Through the above technical solution, when the smart folding device is in the screen-on state, even if the hinge sensor malfunctions due to insufficient accuracy or abnormal reported angle, making it unable to accurately determine the closed state of the folding screen, the system can promptly activate the Hall sensor as an auxiliary judgment. By detecting a specific magnetic field change and reporting a low-level output of a second specified state by the Hall sensor, the system can accurately and reliably determine that the folding screen is in the closed state and ensure that the screen can correctly switch to the closed mode. This significantly improves the accuracy and robustness of the device's state recognition under complex or abnormal operating conditions, avoids misjudgments caused by main sensor failure, and thus ensures the consistency of the user experience and the normal functioning of the device.

[0066] In some embodiments described above, when the smart folding device is in a fully folded, off-screen state, a Hall sensor detects the change in magnetic field as the folding screen begins to open, reports a first designated state, and controls the Hall sensor as a wake-up source solely for waking up the device and resuming hinge monitoring. However, if the screen state is switched immediately based on the initial angle of the hinge sensor after the device is woken up and hinge monitoring is resumed, factors such as user hesitation, accuracy fluctuations of the hinge sensor at extremely small opening angles, or system response delays may lead to misjudgment or frequent switching of the screen state, affecting user experience and system stability.

[0067] In response, this application further proposes that when the smart folding device is in a fully folded, off-screen state, and the Hall sensor detects that the folding screen has opened from 0° to 14°, the Hall sensor reports a high-level output state for the first specified state, and controls the Hall sensor as a wake-up source to wake up the smart folding device and restore hinge monitoring; at the same time, the control system enters a protection range, that is, the hinge monitoring folding screen angle is between 14° and 29°. Within this protection range, even if the hinge sensor reports the angle, the control will not immediately make a screen switching decision, but will wait for further changes in the hinge angle or changes in the Hall sensor state to decide whether to switch the folding screen state.

[0068] The Hall sensor, which detects the folding screen opening from 0° to 14°, precisely defines the initial opening angle range for triggering wake-up and status reporting. This ensures that subsequent wake-up and status reporting are only triggered when the folding screen starts opening from a fully closed state (0°) and reaches a preliminary, identifiable opening degree (14°), avoiding false wake-ups caused by minor shaking or accidental touches. Hall sensors typically work by detecting changes in magnetic field strength. In foldable screen devices, a magnet and a Hall sensor can be placed on two separate parts of the folding screen. When the screen opens, the relative positions of the magnet and the Hall sensor change, causing a change in magnetic field strength. The system can preset a magnetic field strength threshold; when the detected change in magnetic field strength corresponds to a folding angle from 0° to 14°, the event is triggered. Alternatively, the correspondence between the Hall sensor's output voltage or current value and the folding angle can be calibrated; when the Hall sensor's output value reaches or exceeds the preset threshold corresponding to a 14° angle, the folding screen is considered to have opened to 14°.

[0069] The Hall sensor reports a high-level output state for the first specified state, clearly defining the signal form it sends to the system when detecting a specific opening angle (0°-14°): a high-level output. This is a clear and standard signal representation, facilitating system recognition and processing. The Hall sensor can integrate a comparator circuit; when the detected magnetic field strength reaches a preset threshold, the comparator outputs a high-level signal. This high-level signal can be directly connected to the GPIO (General Purpose Input / Output) pin of the smart folding device's main control chip as an interrupt or polling input. Alternatively, the Hall sensor can be configured in digital output mode, sending a specific data packet to the main control chip via serial communication interfaces such as I2C or SPI when conditions are met. This data packet contains information indicating the "first specified state" and "high-level output."

[0070] The control system enters a protection zone, specifically between 14° and 29° when the hinge monitors the folding screen angle. Within this "protection zone," the system adopts a more cautious strategy in determining the folding screen's state. This zone (14°-29°) is a transitional area where the hinge sensor begins to take over after the Hall sensor is activated, but a stable judgment has not yet been fully established. A state machine can be set in the operating system or firmware of the smart folding device. When the Hall sensor triggers wake-up, the system state switches from "fully folded, screen off" to "protection zone pending." In this state, the system continuously monitors the hinge sensor's angle data and checks if it falls within the 14°-29° range. Alternatively, this can be achieved using a software timer or counter. When the Hall sensor wakes up the system, a short timer is started. During this timer's operation, the system considers the angle reported by the hinge sensor to be within the protection zone and temporarily refrains from making screen state switching decisions.

[0071] Within this protection range, even if the hinge sensor reports an angle, the control will not immediately make a screen switching decision. It must wait for further changes in the hinge angle or changes in the Hall sensor state to determine whether to switch the folding screen state. This is the core function of the protection range: within a specific angle range (14°-29°), even if the hinge sensor has resumed listening and reporting an angle, the system will not immediately switch the screen state based on that angle. This provides a buffer time for the system, avoiding misjudgments caused by early, unstable angle data. In the system state machine, when in the "protection range pending" state, the logic for screen state switching is temporarily suspended or modified. Only when the angle reported by the hinge sensor exceeds the 14°-29° range (e.g., less than 14° or greater than 29°), or when a new change occurs in the Hall sensor state (e.g., from high level to low level, indicating re-closure), will the system re-evaluate and make a screen switching decision. Alternatively, a "decision delay" mechanism can be introduced. Within the protection range, the system collects hinge sensor data over a period of time and performs smoothing or trend analysis. Screen switching will only be triggered when the data trend clearly shows that the folding angle is consistently outside the protection range, or when the Hall sensor provides a clear indication (such as a re-closing signal).

[0072] In this application's solution, when the smart folding device is in a fully folded, screen-off state, the Hall sensor is the first to function when the user begins to unfold the screen. Specifically, the Hall sensor is configured to detect a change in the magnetic field and report it as a first specified high-level output state during the initial stage of the folding screen unfolding from 0° to 14°. This precise angle range allows the system to recognize the user's explicit intention to unfold the screen, rather than accidental shaking. After the Hall sensor reports this state, it acts as a wake-up source to wake up the smart folding device and resume hinge monitoring. After the device is woken up and the hinge sensor resumes monitoring, the system does not immediately switch the screen state based on the initial angle of the hinge sensor, but cleverly introduces a protection range. This protection range is set between 14° and 29° when the hinge monitoring folding screen angle is between 14° and 29°. Within this range, even if the hinge sensor has started reporting angle data, the system control logic will not immediately make a screen switching decision. Instead, the system will remain in a "pending" state, waiting for a more definitive signal. This signal could be a further change in the hinge angle, such as exceeding 29° to enter a half-open or fully open state, or a change in the Hall sensor state, such as detecting the folding screen closing again. This mechanism effectively solves the problem of screen state misjudgment or frequent switching that may occur when a foldable screen device wakes up from a screen-off state and begins to unfold, due to the accuracy fluctuations of the hinge sensor within a small angle range, user hesitation, or the instantaneous uncertainty of the system response. The rapid response and wake-up capability of the Hall sensor within the initial small angle range, combined with the hinge sensor's accurate angle measurement capability within a larger angle range, and a smooth transition through a protection zone, ensures the accuracy and stability of screen state switching. This collaborative approach allows the system to more reliably determine the user's true intention after wake-up, avoiding unnecessary screen flickering or erroneous displays, thereby significantly improving the user experience.

[0073] In one specific implementation, when the smart folding device is fully folded and the screen is off, the device's main control unit stops the hinge sensor from working to save power, while the Hall sensor enters a low-power monitoring mode. When the user begins to slowly open the folding screen, for example, gradually opening it from a fully closed 0° angle, once the folding angle reaches approximately 14°, the Hall sensor located inside the folding screen detects a change in magnetic field strength and immediately outputs a high-level signal as the "first designated state." This high-level signal is recognized by the main control unit as a wake-up event, thereby waking up the entire smart folding device and reactivating the hinge sensor to begin monitoring the folding angle. After the device is woken up, the system enters a preset "protection zone." For example, this protection zone is set between 14° and 29°. Within this zone, even if the hinge sensor begins to accurately report the current folding angle, such as 18°, 22°, or 25°, the system will not immediately decide whether the screen switches to a half-open state or another state based on these angles. Instead, the system continues to monitor, waiting for the folding angle to increase further, such as exceeding 29°, or waiting for the Hall sensor to report a signal that the folding screen has closed again. Only when the folding angle consistently exceeds 29° will the system switch the screen to the corresponding on-screen state (e.g., half-open state) based on precise data from the hinge sensor. If the user closes the folding screen again within this protection range, the Hall sensor detects a change in the magnetic field and reports a closed state, at which point the system will cancel the screen switching and keep the screen off.

[0074] Through the above technical solutions, smart foldable devices can achieve more stable and accurate screen state switching when waking up from a fully folded, off-screen state and beginning to unfold. The Hall sensor reports a high-level output for the first specified state when the folded screen unfolds from 0° to 14°, acting as a wake-up source to wake the device and resume hinge monitoring. This ensures that the device is only woken up when the user has a clear intention to open the screen, avoiding false wake-ups caused by minor vibrations. More importantly, by introducing a protection range of 14°-29° and delaying screen switching decisions within this range, the system effectively avoids screen state misjudgments and frequent switching that may occur during the initial hinge sensor monitoring phase due to angle instability or user hesitation. This significantly improves the user experience, reduces screen flicker and unnecessary power consumption, making the opening and closing experience of foldable devices smoother and more reliable.

[0075] In some other embodiments, this application proposes a method for recognizing the state of a smart folding device. This method wakes the device and resumes hinge monitoring via a Hall sensor when the smart folding device is in a fully folded, screen-off state. However, after the hinge sensor resumes monitoring, accurately determining the specific open / closed state of the device and accordingly activating the screen and switching the display state to ensure a smooth and accurate user experience remains a crucial aspect that needs clarification and optimization. Simply resuming hinge monitoring does not immediately provide a clear screen activation strategy and may lead to inappropriate screen activation timing or inaccurate display states.

[0076] In this regard, this application further proposes that when the smart folding device is in a fully folded and off state, the hinge sensor detects that the hinge angle of the folding screen exceeds 29°, and the screen is turned on and displays a half-open state according to the precise angle of the hinge.

[0077] The phrase "the smart folding device is in a fully folded, off-screen state" refers to the initial condition where the smart folding device is completely closed and the main display is off. In this state, the device is typically in a low-power mode to conserve power. "The hinge sensor detects that the hinge angle exceeds 29°" means that the hinge sensor monitors the physical bending or unfolding of the folding screen in real time. As the folding screen gradually unfolds from a fully closed state, the hinge sensor outputs corresponding angle data. Here, "exceeds 29°" sets a specific angle threshold as a condition to trigger subsequent operations. For example, the hinge sensor can use a rotary encoder, magnetoresistive sensor, or potentiometer to obtain the precise folding angle through mechanical connection or magnetic field induction. "Lights up the main display based on the precise hinge angle" means activating the main display of the smart folding device, changing it from an off-screen state to a content-displaying state. This operation is based on the precise angle data provided by the hinge sensor, meaning that screen activation is not randomly triggered but closely related to the physical opening and closing state of the device. "Half-open display" is a specific display mode for smart foldable devices. It typically refers to the interface layout or functional mode presented to the user when the foldable screen is within a certain opening angle range (e.g., 30°-120°). This state may include split-screen display, specific application layout, or multi-tasking interface, to adapt to the physical form of the foldable screen.

[0078] The solution in this application achieves its functionality in the following way: When the smart folding device is in a fully folded, screen-off state, after the Hall sensor detects the change in magnetic field indicating the folding screen is beginning to open and wakes the device, resuming hinge monitoring, the solution further clarifies the specific logic for screen activation and status display. At this time, the hinge sensor begins to accurately monitor the opening angle of the folding screen. To avoid immediately turning on the screen when it just begins to open, or activating the screen at an uncertain angle, this solution sets a clear threshold. Specifically, when the hinge sensor detects that the hinge angle of the folding screen is gradually opening from the fully folded state and exceeds 29° for the first time, the system will immediately trigger the activation operation of the main display screen, i.e., "turning on the large screen," based on this precise angle information. At the same time, to maintain consistency with the physical opening and closing state of the device, the system will switch the display screen to a "half-open" interface mode. This mechanism ensures that the timing of screen activation matches the physical opening and closing degree of the device, avoiding the screen turning on at an inappropriate time and avoiding displaying an interface that does not match the physical state after the screen turns on, thus providing a clear, accurate, and responsive transition process from screen-off wake-up to screen-on display of the half-open state.

[0079] The following is a concrete example. When the smart foldable device is fully closed and the main screen is off, if the user begins to slowly open the device, the Hall sensor first detects the change in magnetic field and wakes up the device's main control chip, instructing it to resume listening to the hinge sensor. At this time, the main control chip begins to continuously receive angle data from the hinge sensor. Assuming the hinge sensor uses a high-precision rotary encoder, capable of reporting the opening angle of the folding screen in real time with an accuracy of 1°, as the user continues to open the device, the angle reported by the rotary encoder gradually increases from 0°. Once the main control chip receives angle data that first reaches 30° (i.e., exceeding 29°), it immediately sends a command to the display driver to activate the main display screen. Simultaneously, the operating system loads and displays a preset "half-open" user interface, for example, dividing the screen into two areas, with the upper area displaying a video playback interface and the lower area displaying control buttons, or displaying a multitasking interface, to fully utilize the unique form factor of the foldable screen.

[0080] Through the aforementioned technical solution, smart foldable devices can achieve precise control over screen activation and status display after being woken up from a fully folded, screen-off state. After the hinge sensor resumes its monitoring function, a clear threshold of "hinge angle exceeding 29°" solves the problem of ambiguous screen activation timing during device opening. This ensures the screen doesn't light up too early or too late, but is activated precisely when the folded screen reaches a suitable opening angle for displaying content. Simultaneously, directly displaying the screen as "half-open" ensures a high degree of matching between screen content and the device's physical form, preventing the display of an interface inconsistent with the current opening state after the screen lights up, thus improving the intuitiveness and smoothness of user operation. This precise judgment and response mechanism significantly optimizes the user experience when smart foldable devices transition from a closed to a half-open state, making device status recognition more accurate and responses more timely.

[0081] In some embodiments described above, when the smart foldable device is in a fully folded, screen-off state, the Hall sensor is configured as a wake-up source in response to the opening action of the foldable screen. However, after the device is woken up by the Hall sensor and hinge listening is resumed, the user may quickly fold the screen back up before it is fully open or enters a stable screen-on state. In this case, if the system fails to recognize this rapid folding operation after the initial wake-up in a timely and accurate manner, it may cause the device to unnecessarily enter a screen-on state, increasing power consumption, or unexpectedly light up the screen when the user expects the device to remain off, thereby affecting user experience and power management efficiency.

[0082] In response, this application further proposes that when the smart folding device is in a fully folded, off-screen state, the Hall sensor detects the change in magnetic field as the folding screen begins to open. The Hall sensor detects and reports a first designated state, Hall 1, and the system is awakened and resumes hinge monitoring, entering the protection range of 14°-29° for the folding screen. When the smart folding device is detected to have opened to the protection range, and then closed again, bringing the folding angle back to between 0°-14°, the Hall sensor detects the change in magnetic field and reports a second designated state, Hall 0. Upon receiving the report of Hall 0, the smart folding device system determines that the folding screen is closed, exits the protection range, controls the folding screen to remain off-screen, and controls the hinge sensor to stop hinge monitoring. It also controls the Hall sensor to enter a first power consumption monitoring mode.

[0083] In this context, "smart foldable device" refers to an electronic device with a foldable screen, whose screen can be folded and unfolded via a hinge mechanism, such as a foldable smartphone or foldable tablet. A foldable screen refers to the flexible, foldable display screen on a smart foldable device, typically made of flexible materials. A fully folded, screen-off state refers to a smart foldable device being completely folded and closed, with the screen off; typically, the device is in a low-power mode in this state. A Hall sensor is a magnetic field sensor based on the Hall effect, capable of detecting changes in the strength of the surrounding magnetic field. In smart foldable devices, it is commonly used to detect the opening and closing state of the foldable screen, for example, by detecting changes in the position of magnets inside the hinge or at the edge of the screen. It can be implemented using one or more Hall elements, such as linear Hall sensors or switch-type Hall sensors, to sense the approach or departure of magnets. A magnetic field change refers to the change in the strength of the surrounding magnetic field detected by the Hall sensor, usually caused by a change in the relative position between the internal magnets and the Hall sensor due to the opening and closing of the foldable screen. A first specified state (Hall change 1) refers to a specific signal state output by the Hall sensor when it detects that the foldable screen is beginning to open from a closed state, such as a high-level signal. Besides a high level, it can also be a specific digital signal value, such as a binary "1", or represented by a specific voltage range of an analog signal. System wake-up and resumption of hinge monitoring means that the main processor or related control unit of the smart folding device is activated from a low-power state and restarts the acquisition and processing of hinge sensor data. System wake-up can be triggered by an interrupt mechanism, such as an interrupt request generated by a change in the Hall sensor signal. The protection zone refers to a specific range of the folding screen angle, such as 14°-29°. Within this range, the system adopts a more cautious strategy in judging the folding screen state and making screen switching decisions, and will not immediately switch the screen state based on changes in the hinge sensor angle, but will wait for further confirmation signals. Re-folding means that the smart folding device, after the folding screen has been opened to a certain angle, is folded back towards the closing direction by the user. The folding angle returning to between 0° and 14° means that during the re-folding process, the opening angle of the folding screen decreases from the protection zone and further returns to a range close to complete closure. The second specified state, where Hall effect sensor outputs a low-level signal (e.g., a low-level signal), refers to a specific signal state when the Hall sensor detects that the folding screen has closed from an open state and is approaching a fully closed state. Besides a low level, it can also be a specific digital signal value, such as binary "0", or represented by a specific voltage range of an analog signal. Determining the folding screen is closed means that the smart folding device system confirms, based on the second specified state reported by the Hall sensor, that the folding screen is already in or about to be in a fully closed state. Exiting the protection zone means that the system no longer executes the special judgment logic within the protection zone and instead reverts to the normal folding screen state judgment process.Keeping the foldable screen off means that after determining that the foldable screen is closed, the system ensures that the screen remains off and does not attempt to turn it on. Stopping the hinge sensor from monitoring means that after confirming that the foldable screen is closed and off, the system stops data acquisition from the hinge sensor to save power. Setting the Hall sensor to the first power monitoring mode means that after confirming that the foldable screen is closed and off, the system resets the Hall sensor to a low-power monitoring mode, only using it to detect the next wake-up event.

[0084] This application's solution optimizes the state recognition logic of smart foldable devices in a fully folded, screen-off state by introducing the recognition and processing of the re-folding action of the foldable screen within the protection zone. Specifically, when the smart foldable device is in a fully folded, screen-off state, the Hall sensor is in a first power consumption monitoring mode, while the hinge sensor stops working to save power. Once the Hall sensor detects the magnetic field change from the start of the folding process and reports a first designated state (hall changing to 1), the system is awakened and resumes hinge monitoring, simultaneously entering a preset protection zone, for example, when the folding screen angle is between 14° and 29°. Within this protection zone, the system does not immediately switch the screen state based on the hinge sensor's angle change, but maintains a pending confirmation state. If the user refolds the screen during this period, causing the folding angle to return to between 0° and 14°, the Hall sensor will detect the magnetic field change again and report a second designated state (hall changing to 0). Upon receiving this second designated state, the smart foldable device system can accurately determine that the folding screen has closed, thus exiting the protection zone and immediately controlling the folding screen to remain in a screen-off state. Simultaneously, the system will again stop the hinge sensor's monitoring and reposition the Hall sensor to the first power consumption monitoring mode. This mechanism cleverly solves the problem of false wake-ups and wasted power when the device is briefly opened and then quickly closed in a fully folded, screen-off state. By introducing a secondary confirmation mechanism from the Hall sensor within the protection zone, the system can distinguish whether the user intends to fully open the device or has only performed a brief accidental operation or quick preview. When a rapid closure is detected, the system can quickly revert to the initial low-power screen-off state, avoiding unnecessary screen lighting and subsequent complex state judgment processes, thereby improving the accuracy of device state recognition and the efficiency of power management.

[0085] In one specific implementation, when the smart foldable device is fully folded and the screen is off, its main control chip stops the hinge sensor from working, while the Hall sensor continuously monitors changes in the magnetic field with extremely low power consumption. Assuming a user attempts to open the device, when the folded screen opens from 0° to approximately 10°, the Hall sensor detects a decrease in magnetic field strength and outputs a high-level signal, indicating that the first specified state (Hall) changes to 1. At this point, the main control chip receives this signal, immediately wakes from sleep mode, and activates the hinge sensor to precisely measure the folding angle. Simultaneously, the system enters a protection zone, set between 14° and 29°. Within this protection zone, if the user continues to open the device, and the angle exceeds 29°, the system will determine whether it is half-open or fully open based on the precise data from the hinge sensor and illuminate the screen. However, if the user quickly closes the device again after opening the folding screen to, for example, 20° (within the protection zone), causing the folding angle to return to, for example, 5° (between 0° and 14°), the Hall sensor will detect the increased magnetic field strength again and output a low-level signal, i.e., the second specified state Hall becomes 0. Upon receiving this low-level signal, the main control chip will immediately determine that the folding screen is closed and cancel any previous screen-on preparations. The system then exits the protection zone, ensuring the folding screen remains off, and disables the hinge sensor again. Simultaneously, it resets the Hall sensor to low-power monitoring mode, awaiting the next wake-up event.

[0086] Through the above technical solution, this application effectively solves the problems of false wake-ups and unnecessary power consumption caused by users briefly opening and quickly closing the folded screen in the fully folded, screen-off state of smart foldable devices. After the device is woken up by the Hall sensor and enters the protection zone, if the system detects that the folded screen has closed to a specific angle range, it can promptly and accurately determine that the device has closed again and quickly return to the low-power, screen-off state. This avoids the screen being unnecessarily lit when the user's intention is not to fully open the device, thereby significantly reducing the device's power consumption and extending battery life. At the same time, by introducing a secondary confirmation mechanism of the Hall sensor within the protection zone, the accuracy and stability of device status recognition are improved, avoiding system status confusion or misjudgment caused by rapid operation, and enhancing the user experience.

[0087] The present invention will be further described in detail below through specific application examples: like Figure 2 As shown in the figure, the intelligent folding device status recognition method provided in this specific application embodiment 2 includes the following steps: Step S11: When the smart folding device is in the screen-on state, if the hinge accuracy is normal, proceed to step S12; otherwise, proceed to step S16. Step S12: The hinge accuracy is normal. Then proceed to steps S13, S14, and S15 respectively. Step S13: When the hinge angle is between 0° and 29°, it is determined that the folding screen is in a closed state. Step S14: When the hinge angle is between 30° and 120°, it is determined that the folding screen is in a half-open state. Step S15: When the hinge angle is between 121° and 180°, it is determined that the folding screen is in the fully open state. Step S16: When the hinge detection accuracy is insufficient and an abnormal angle is reported, refer to the Hall sensor and proceed to steps S17 and S18 respectively. When the screen is on, the screen will only switch based on the changes in the Hall sensor if the hinge sensor is not accurate enough and reports an abnormal angle.

[0088] Step S17: When the Hall sensor detects and reports the first specified state, that is, Hall is 1, and outputs a high level, it is determined that the folding screen is in a half-open state at this time. Step S18: When the Hall sensor detects and reports the second specified state, that is, Hall is 0, and outputs a low level, it is determined that the folding screen is in the closed state at this time. Steps S20-S21-S22: When the smart folding device is in the off state, from folding to opening 0-14 degrees, the Hall sensor detects and reports that Hall changes to 1, and controls the large screen to be turned on to restore hinge monitoring; proceed to steps S23, S24, and S26 respectively according to the hinge monitoring status.

[0089] In this embodiment of the invention, when the screen is off, the Hall sensor only acts as a wake-up source, waking up the device and resuming hinge listening when it is set to 1; this avoids the problem of screen flickering when a magnet is near it.

[0090] Step 23: If the hinge sensor detects that the hinge angle continues to open to 14°-29°, the system enters the protection zone. At this time, in order to avoid screen flicker, the hinge reports the angle but does not take any action. Step 24: If the folding screen closes to 0-14 degrees in the opposite direction, and the Hall sensor reports that Hall changes to 0, then proceed to S25 and S29 respectively. Step 25: If the hinge accuracy is insufficient, the Hall sensor detects and reports the Hall state to determine the screen cutting. When Hall is 0, the folding screen is determined to be in a closed state.

[0091] Step 26: Automatic screen off after timeout, hinge stops listening, proceed to steps S27 and S28 respectively; Step 27: Continue to unfold the foldable screen to 14-29 degrees, or even 180 degrees, but the screen does not respond; Step 28: When the folding screen is closed in the opposite direction to 0-14 degrees, the Hall sensor detects that the reported Hall value changes to 0, and then the control exits the protection range.

[0092] Step 29: If the hinge accuracy is normal, exit the protection range. The hinge angle determines the screen cutting. When the hinge angle is 0-14 degrees, the folding screen is determined to be in a closed state.

[0093] That is, in Embodiment 2 of the present invention, the accuracy is insufficient and the auxiliary judgment is in the screen-on state; when the mobile phone is in the screen-on state and the hinge sensor reports the angle.

[0094] 1) Normal condition of hinge sensor: If the angle reported by the hinge sensor is between 0° and 29° and the accuracy is normal, the system judges it to be in a closed state. If the angle is between 30° and 120° and the accuracy is normal, the system judges it to be in a half-open state. If the angle is between 121° and 180° and the accuracy is normal, the system judges it to be in a fully open state.

[0095] 2) Insufficient or Abnormal Hinge Accuracy: Assuming the phone is in a half-open state (e.g., hinge angle between 30° and 120°), but due to wear or other reasons, the angle reported by the hinge sensor changes abruptly or lacks accuracy. In this case, the system will refer to the state of the Hall sensor. If the Hall sensor reports "hall = 1", the system will determine it to be in a half-open state. If the Hall sensor reports "hall = 0", the system will determine it to be in a closed state. Even if the angle reported by the hinge is inaccurate, the system can use the Hall sensor's assistance to ensure the screen switches to the correct closed state, avoiding display errors or a degraded user experience caused by hinge sensor malfunctions.

[0096] In this embodiment, when the hinge accuracy is normal, the system still prioritizes the hinge angle for decision-making, and only refers to the Hall sensor when the hinge accuracy is insufficient, thereby avoiding the screen flickering problem that may be caused by over-reliance on the Hall sensor.

[0097] Through the above mechanism, this invention improves the accuracy and reliability of foldable phone status recognition while ensuring low power consumption, and effectively solves the screen flickering problem.

[0098] In this embodiment 2, the protection zone is in the screen-off state; when the phone is in the screen-off state, the user starts to turn on the phone.

[0099] 1) Hall sensor wake-up: When the folding angle is opened from 0° to 14°, the Hall sensor detects "hall changes to 1", the system is woken up and the hinge listening is resumed.

[0100] 2) Entering the protection zone: At this time, the system will not immediately turn on the screen or switch states, but will enter a "protection zone", that is, the hinge angle is between 14° and 29°.

[0101] 3) Hinge connection and decision: If the user continues to open the phone and the hinge angle exceeds 29° (for example, reaching 30°), the system will turn on the large screen and display the half-open state according to the precise hinge angle.

[0102] 4) Avoid screen flickering: Within this protection zone, even if an external magnet briefly approaches the Hall sensor, or if the hinge sensor reports an unstable angle just after resuming operation, the system will not immediately switch the screen, thus effectively avoiding the screen flickering problem.

[0103] like Figure 3 As shown in Embodiment 3 of the present invention, the intelligent folding device status recognition method includes the following steps: Step S31: When the smart folding device is in the screen-on state, if the hinge accuracy is normal, proceed to step S32; otherwise, proceed to step S36. Step S32: The hinge accuracy is normal. Then proceed to steps S33, S34, and S35 respectively. Step S33: When the hinge angle is between 0° and 29°, it is determined that the folding screen is in a closed state. Step S34: When the hinge angle is between 30° and 120°, it is determined that the folding screen is in a half-open state. Step S35: When the hinge angle is between 121° and 180°, it is determined that the folding screen is in the fully open state. Step S36: When the hinge detection accuracy is insufficient and an abnormal angle is reported, refer to the Hall sensor and proceed to steps S37 and S38 respectively. When the screen is on, the screen will only switch based on the changes in the Hall sensor if the hinge sensor is not accurate enough and reports an abnormal angle.

[0104] Step S37: When the Hall sensor detects and reports the first specified state, that is, Hall is 1, and outputs a high level, it is determined that the folding screen is in a half-open state at this time. Step S38: When the Hall sensor detects and reports the second specified state, i.e. Hall is 0, and outputs a low level, it is determined that the folding screen is in the closed state at this time. Steps S41-S42-S43: When the smart folding device is in the off state, from folding to opening 0-14 degrees, the Hall sensor detects and reports that Hall changes to 1, and controls the resumption of hinge monitoring; proceed to steps S44, S49, and S52 respectively according to the hinge monitoring status. Step S44: Continue to unfold the foldable screen to 14-29 degrees, and then proceed to step S45; Step S45: The hinge reports the angle and proceeds to S46; Step S46: In the closed state, the screen is still off. Then proceed to steps S47-S48 according to the screen opening angle. Step S47: Continue to unfold the foldable screen to 30-120 degrees, determine that it is in a half-open state, and turn on the large screen; Step S48: Continue to open the foldable screen to 121-180 degrees, determine that it is in the fully open state, and turn on the large screen.

[0105] Step S49: The folding screen closes in the opposite direction to 0-14 degrees, and the Hall sensor detects and reports that Hall changes to 0. Then proceed to steps S50 and S51 respectively. If the hinge accuracy is insufficient in step S50, the Hall sensor will detect and report the Hall state to determine the screen switching. If Hall is 0, the folding screen is determined to be in a closed state, and the screen will remain off. Step S51: If the hinge accuracy is insufficient, the angle detected by the hinge sensor will determine the screen cutting. When the hinge angle is 0-14 degrees, it is determined that the folding screen is in a closed state, and the screen is kept off. Step S52: Automatic screen off after timeout, hinge stops listening, and proceed to steps S53 and S54 respectively; Step S53: The foldable screen continues to open to 14-29 degrees, or even to 180 degrees, but the screen does not respond. Step S54: Close the door in the opposite direction to 0-14 degrees. The Hall sensor detects and reports that Hall has changed to 0, but the screen does not respond.

[0106] In this embodiment 3, the steps after S41 are: wake-up and resumption of monitoring in the screen-off state; when the phone is in the screen-off state, the hinge sensor stops working in order to save power. At this time, the Hall sensor is in low-power monitoring mode.

[0107] 1) The user attempts to open the phone, causing the folding angle to change from 0° (closed).

[0108] 2) Hall sensor trigger: When the folding angle reaches a certain level (for example, from 0° to 14° corresponding to step S42), the Hall sensor detects the change in magnetic field and reports the state of "hall changes to 1".

[0109] 3) System response: After receiving the "hall changes to 1" signal, the system will not immediately turn on the screen or switch the screen state. Instead, it will use the Hall sensor as a wake-up source to wake up the device and resume the hinge sensor's monitoring, corresponding to step S43.

[0110] 4) Hinge sensor takeover: Once the hinge sensor resumes operation, the system begins to determine the specific opening and closing state of the device based on the precise angle reported by the hinge. For example, if the hinge continues to open to 14°-29°, the system enters the protection zone; if it continues to open to 30°-120°, the large screen lights up and displays the half-open state; if it continues to open to 121°-180°, the large screen lights up and displays the fully open state, corresponding to steps S44, S45, S46, S47, and S48.

[0111] 5) Avoid screen flickering: During this process, even if an external magnet is close to the Hall sensor, the Hall sensor only acts as a wake-up source and does not directly make screen switching decisions, thus avoiding screen flickering caused by magnetic interference.

[0112] Exemplary device like Figure 4 As shown, an embodiment of the present invention provides a smart folding device status recognition device, the device comprising: The screen-off low-power control module 310 is used to control the hinge sensor to stop the hinge monitoring work when the smart folding device is in the fully folded and screen-off state; and to control the Hall sensor to be in the first power consumption monitoring mode. The screen-off wake-up module 320 is used when the smart folding device is in a fully folded and screen-off state, the Hall sensor detects the change in magnetic field of the folding screen from the start of opening, reports the first specified state, and controls the Hall sensor as a wake-up source to be used only to wake up the device and restore hinge listening. The screen-off state judgment module 330 is used to determine the specific opening and closing state of the device based on the precise angle reported by the hinge when the hinge sensor resumes its monitoring work. The screen-on / off state judgment module 340 is used to prioritize the monitoring of the hinge sensor and use the monitoring of the Hall sensor as an auxiliary judgment when the smart folding device is in the screen-on state. When the hinge sensor is detected to have insufficient accuracy or report an abnormal angle, the changes of the Hall sensor are used to assist in switching the folding screen state, as described above.

[0113] Based on the above embodiments, the present invention also provides an intelligent folding device, the principle block diagram of which is as follows: Figure 5 As shown. The intelligent folding device includes a processor, memory, network interface, display screen, and database connected via a system bus.

[0114] The memory stores one or more programs configured to be executed by a processor to implement the smart folding device state recognition method of the above embodiments.

[0115] In this context, "intelligent folding device" refers to a smart computer or similar device with data processing capabilities. The memory can be internal memory, flash memory, hard drive, or cloud storage, used to store program code and various data such as the opening and closing state of the folding screen corresponding to the angle reported by the hinge sensors. The processor can be a central processing unit (CPU), used to execute the algorithm logic in the program. The program includes methods for recognizing the state of the intelligent folding device.

[0116] In a further embodiment, a smart folding device of this embodiment includes a memory and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors. The one or more programs contain instructions for performing the following operations: When the smart folding device is in a fully folded and off state, the hinge sensor is controlled to stop the hinge monitoring work; and the Hall sensor is controlled to be in the first power consumption monitoring mode. When the smart folding device is in a fully folded and off state, the Hall sensor detects the change in magnetic field as the folding screen opens from the beginning of the folding process, reports the first designated state, and controls the Hall sensor as a wake-up source to be used only to wake up the device and restore hinge monitoring. When the hinge sensor resumes its monitoring function, the control determines the specific opening and closing state of the device based on the precise angle reported by the hinge. When the smart folding device has its folding screen on, the control prioritizes listening to the hinge sensor, while listening to the Hall sensor serves as an auxiliary measure. When the hinge sensor is detected to have insufficient accuracy or to report an abnormal angle, the Hall sensor is activated to assist in switching the folding screen state, as described above.

[0117] The steps of controlling the hinge sensor to stop hinge monitoring when the smart folding device is in a fully folded, off-screen state, and controlling the Hall sensor to be in a first power consumption monitoring mode include: When the smart folding device is in a fully folded and off state, the hinge sensor is controlled to stop the hinge monitoring work; and the Hall sensor is controlled to enter a low-power monitoring mode.

[0118] The step of prioritizing the monitoring of the hinge sensor and using the monitoring of the Hall sensor as an auxiliary means when the smart folding device has its screen on includes: When the smart folding device has its folding screen on, if the hinge sensor reports an angle between 0° and 29° with normal accuracy, the system determines that the folding screen is closed; if the angle is between 30° and 120° with normal accuracy, the system determines that the folding screen is half-open; if the angle is between 121° and 180° with normal accuracy, the system determines that the folding screen is fully open.

[0119] The step of enabling the Cohort sensor to assist in switching the foldable screen state when the hinge sensor detects insufficient accuracy or an abnormal angle includes: When the hinge sensor detects insufficient accuracy or reports an abnormal angle, the change of the Hall sensor is used to assist in the detection. When the Hall sensor reports a low level in the second specified state, it is determined that the folding screen is in the closed state, ensuring that the screen switches to the correct closed state.

[0120] The steps of, whereby when the smart folding device is in a fully folded, off-screen state, the Hall sensor detects the change in magnetic field of the folding screen as it unfolds from the folding stage, reports a first designated state, and controls the Hall sensor as a wake-up source solely for waking up the device and resuming hinge monitoring, include: When the smart folding device is in a fully folded and off state, the Hall sensor detects that the folding screen has opened from 0° to 14°. The Hall sensor reports a high-level output state for the first specified state and controls the Hall sensor as a wake-up source to wake up the smart folding device and restore hinge monitoring. At the same time, the control system enters a protection zone, that is, the hinge monitoring folding screen angle is between 14° and 29°. Within this protection zone, even if the hinge sensor reports the angle, the control will not immediately make a screen switching decision. It needs to wait for the hinge angle to change further or the Hall sensor state to change before deciding whether to switch the folding screen state.

[0121] The step of determining the specific opening and closing state of the device based on the precise angle reported by the hinge when the hinge sensor resumes monitoring includes: When the smart folding device is in a fully folded, off-screen state, the hinge sensor detects that the hinge angle of the folding screen exceeds 29°, and the screen lights up and displays a half-open state based on the precise hinge angle.

[0122] The steps of, whereby when the smart folding device is in a fully folded, off-screen state, the Hall sensor detects the change in magnetic field of the folding screen as it unfolds from the folding stage, reports a first designated state, and controls the Hall sensor as a wake-up source solely for waking up the device and resuming hinge monitoring, include: When the smart folding device is in a fully folded and off state, the Hall sensor detects the change in magnetic field of the folding screen as it opens from the beginning of the folding process. The Hall sensor detects and reports the first designated state Hall changing to 1, the system is woken up and resumes hinge monitoring, and enters the protection range of the folding screen between 14° and 29°. When the smart folding device is detected to have opened the folding screen to the protection zone, and then the smart folding device is closed again with the folding screen closed, so that the folding angle returns to between 0° and 14°, the Hall sensor detects the change in magnetic field and reports the second specified state Hall to 0. When the intelligent folding device system receives a report of the second specified state Hall changing to 0, it determines that the folding screen has been closed, exits the protection zone, controls the folding screen to remain in the off state, and controls the hinge sensor to stop the hinge monitoring operation; and controls the Hall sensor to be in the first power consumption monitoring mode, as described above.

[0123] This invention also provides a computer-readable storage medium, wherein when the instructions in the storage medium are executed by the processor of an electronic device, the electronic device is able to perform the smart folding device state recognition method described in any of the above embodiments.

[0124] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0125] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for recognizing the status of an intelligent folding device, characterized in that, include: When the smart folding device is in a fully folded and off state, the hinge sensor stops listening to the hinge. And control the Hall sensor to be in the first power consumption monitoring mode; When the smart folding device is in a fully folded and off state, the Hall sensor detects the change in magnetic field as the folding screen opens from the beginning of the folding process, reports the first designated state, and controls the Hall sensor as a wake-up source to be used only to wake up the device and restore hinge monitoring. When the hinge sensor resumes its monitoring function, the control determines the specific opening and closing state of the device based on the precise angle reported by the hinge. When the smart folding device is in the screen-on state, the control prioritizes the listening of the hinge sensor, and the listening of the Hall sensor is used as an auxiliary judgment. When the hinge sensor detects insufficient accuracy or reports an abnormal angle, the change in the Cohort sensor is used to assist in switching the folding screen state.

2. The intelligent folding device status recognition method according to claim 1, characterized in that, When the smart folding device is in a fully folded and off state, the hinge sensor is controlled to stop the hinge monitoring work. The steps to control the Hall sensor to be in the first power consumption monitoring mode include: When the smart folding device is in a fully folded and off state, the hinge sensor stops listening to the hinge. It also controls the Hall sensor to be in a low-power listening mode.

3. The intelligent folding device status recognition method according to claim 1, characterized in that, The step of prioritizing the monitoring of the hinge sensor and using the monitoring of the Hall sensor as an auxiliary means to determine the status of the smart folding device when the folding screen is on includes: When the smart folding device has its folding screen on, if the hinge sensor reports an angle between 0° and 29° with normal accuracy, the system determines that the folding screen is closed; if the angle is between 30° and 120° with normal accuracy, the system determines that the folding screen is half-open; if the angle is between 121° and 180° with normal accuracy, the system determines that the folding screen is fully open.

4. The intelligent folding device status recognition method according to claim 1, characterized in that, The step of enabling the Cohort sensor to assist in switching the foldable screen state when the hinge sensor detects insufficient accuracy or abnormal angle reporting includes: When the hinge sensor detects insufficient accuracy or reports an abnormal angle, the change of the Hall sensor is used to assist in the detection. When the Hall sensor reports a low level in the second specified state, it is determined that the folding screen is in the closed state, ensuring that the screen switches to the correct closed state.

5. The intelligent folding device status recognition method according to claim 1, characterized in that, The steps of the smart folding device, when the folding screen is in a fully folded and off state, the Hall sensor detects the change in magnetic field of the folding screen as it unfolds from the folding stage, reports a first designated state, and controls the Hall sensor as a wake-up source solely for waking up the device and resuming hinge monitoring, include: When the smart folding device is in a fully folded and off state, the Hall sensor detects that the folding screen has opened from 0° to 14°. The Hall sensor reports a high-level output state for the first specified state and controls the Hall sensor as a wake-up source to wake up the smart folding device and restore hinge monitoring. At the same time, the control system enters a protection zone, that is, the hinge monitoring folding screen angle is between 14° and 29°. Within this protection zone, even if the hinge sensor reports the angle, the control will not immediately make a screen switching decision. It needs to wait for the hinge angle to change further or the Hall sensor state to change before deciding whether to switch the folding screen state.

6. The intelligent folding device status recognition method according to claim 1, characterized in that, The step of determining the specific opening and closing state of the device based on the precise angle reported by the hinge when the hinge sensor resumes monitoring includes: When the smart folding device is in a fully folded, off-screen state, the hinge sensor detects that the hinge angle of the folding screen exceeds 29°, and the screen lights up and displays a half-open state based on the precise hinge angle.

7. The intelligent folding device status recognition method according to claim 1, characterized in that, The steps of the smart folding device, when the folding screen is in a fully folded and off state, the Hall sensor detects the change in magnetic field of the folding screen as it unfolds from the folding stage, reports a first designated state, and controls the Hall sensor as a wake-up source solely for waking up the device and resuming hinge monitoring, include: When the smart folding device is in a fully folded and off state, the Hall sensor detects the change in magnetic field of the folding screen as it opens from the beginning of the folding process. The Hall sensor detects and reports the first designated state Hall changing to 1, the system is woken up and resumes hinge monitoring, and enters the protection range of the folding screen between 14° and 29°. When the smart folding device is detected to have opened the folding screen to the protection zone, and then the smart folding device is closed again with the folding screen closed, so that the folding angle returns to between 0° and 14°, the Hall sensor detects the change in magnetic field and reports the second specified state Hall to 0. When the intelligent folding device system receives a report of the second specified state hall changing to 0, it determines that the folding screen has been closed, exits the protection zone, controls the folding screen to remain in the off state, controls the hinge sensor to stop the hinge monitoring work, and controls the Hall sensor to be in the first power consumption monitoring mode.

8. A smart folding device status recognition device, characterized in that, The device includes: The screen-off low-power control module is used to control the hinge sensor to stop the hinge monitoring work when the smart folding device is in the fully folded and screen-off state; and to control the Hall sensor to be in the first power consumption monitoring mode. The screen-off wake-up module is used when the smart folding device is in a fully folded and screen-off state. The Hall sensor detects the change in magnetic field of the folding screen as it opens from the folding stage, reports the first specified state, and controls the Hall sensor as a wake-up source to be used only to wake up the device and restore hinge monitoring. The screen-off state determination module is used to determine the specific opening and closing state of the device based on the precise angle reported by the hinge when the hinge sensor resumes its monitoring function. The screen-on / off state judgment module is used to prioritize the monitoring of the hinge sensor when the smart folding device is in the screen-on state, with the monitoring of the Hall sensor serving as an auxiliary judgment; when the hinge sensor is detected to have insufficient accuracy or to report an abnormal angle, the changes of the Hall sensor are used to assist in switching the folding screen state.

9. A smart folding device, characterized in that, It includes a memory and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors, wherein the one or more programs include methods for performing any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method as described in any one of claims 1-7.