Screen protection method, electronic device and readable storage medium

By monitoring the ambient temperature of the folding screen phone in real time and prompting users to adjust their usage behavior at the extreme temperature, the problem of folding screen being damaged at the extreme temperature is solved, and effective protection of the equipment and improvement of user experience is achieved.

CN118450038BActive Publication Date: 2025-03-28HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311215401.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2025-03-28
Estimated Expiration
2043-09-19

AI Technical Summary

Technical Problem

The opening and closing of the folding screen phone at the extreme temperature will increase the risk of folding screen failure, low temperature will lead to increased stress and layering and cracking problems, and the high temperature will reduce the elastic modulus and lead to an increased risk of disconnection of the flexible circuit board.

Method used

By obtaining the ambient temperature of the folding screen phone in real time, when the temperature reaches or exceeds a specific threshold, the user is prompted to reduce the number of opening and closing times, slow down the opening and closing speed, or avoid opening and closing operations to protect the folding screen.

Benefits of technology

It effectively reduces the risk of folding screen damage at extreme temperatures, extends the service life of the device, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118450038B_ABST
    Figure CN118450038B_ABST
Patent Text Reader

Abstract

The present application relates to the field of folding screen technology, and in particular to a screen protection method, an electronic device, and a readable storage medium. The screen protection method includes: determining the current ambient temperature of a foldable electronic device in real time, and if the foldable electronic device is detected to be at an extreme temperature, for example, ‑10°C or below, or 40°C or above, prompting the user to reduce the number of times the foldable electronic device is opened and closed, slow down the speed of opening and closing the foldable electronic device, or not to open and close the foldable electronic device. In this way, the folding screen of the foldable electronic device can be effectively protected from damage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of folding screens, and in particular to a screen protection method, an electronic device, and a readable storage medium. Background Art

[0002] The folding screen of foldable screen mobile phones mainly uses flexible display screens, which are bendable, low power consumption, and have good flexibility. However, the folding screen is affected by the ambient temperature. Opening and closing the folding screen mobile phone at extreme temperatures will increase the risk of failure of the folding screen. For example, in a low temperature environment (-10°C and below), the elastic modulus of each layer of flexible material of the folding screen will increase, causing the stress during the opening and closing process of the folding screen to increase, and the folding screen will have delamination and cracking problems. In a high temperature environment (40°C and above), the elastic modulus of each layer of flexible material in the folding screen will decrease, resulting in an increased risk of disconnection of the flexible printed circuit (FPC) in the folding screen, which will cause the folding screen to go black. Summary of the invention

[0003] In view of this, embodiments of the present application provide a screen protection method, an electronic device, and a readable storage medium.

[0004] In a first aspect, the present application provides a screen protection method, which is applied to a foldable electronic device, and the method includes: obtaining the ambient temperature of the foldable electronic device; determining that the foldable electronic device meets the screen protection conditions, the screen protection conditions including that the ambient temperature of the foldable electronic device is greater than a first temperature threshold or the ambient temperature is less than a second temperature threshold, wherein the first temperature threshold is greater than the second temperature threshold; and providing a screen protection prompt to the user.

[0005] In some embodiments, the foldable electronic device may be the foldable screen mobile phone mentioned in this application, the first temperature threshold may refer to the first high temperature value in the high temperature scenario mentioned in this application, and the second temperature threshold may refer to the first low temperature value in the low temperature scenario mentioned in this application.

[0006] Based on the above scheme, the current ambient temperature of the foldable electronic device can be determined in real time. When the foldable electronic device is in extreme temperatures (including extremely low temperature scenarios and extremely high temperature scenarios), prompt information can be displayed in the display interface of the foldable electronic device, prompting the user to reduce the number of times the foldable electronic device is opened and closed, slow down the speed of opening and closing the foldable electronic device, or not open and close the foldable electronic device, thereby effectively protecting the folding screen of the foldable electronic device.

[0007] In a possible implementation of the first aspect above, the screen saver prompt includes at least one of the following: prompting the user to reduce the number of times the foldable electronic device is opened and closed; prompting the user to slow down the speed of opening and closing the foldable electronic device; prompting the user not to open and close the foldable electronic device.

[0008] Based on the above solution, under extreme temperatures, by prompting users to reduce the number of opening and closing times, slow down the opening and closing speed, and not open and close the foldable electronic device, the folding screen of the foldable electronic device can be effectively protected from damage.

[0009] In a possible implementation of the first aspect above, providing a screen saver prompt to a user includes at least one of the following: displaying a screen saver prompt to the user; playing a voice of the screen saver prompt; playing a warning sound; and controlling the foldable electronic device to vibrate.

[0010] In some embodiments, the screen protection prompt may be the prompt information mentioned in the present application, which is used to prompt the user to reduce the number of times the foldable electronic device is opened and closed, slow down the speed of opening and closing the foldable electronic device, or not open and close the foldable electronic device, which can effectively protect the folding screen of the foldable electronic device.

[0011] In a possible implementation of the first aspect above, obtaining the ambient temperature of the foldable electronic device includes: obtaining a first ambient temperature published by a weather application installed on the foldable electronic device; corresponding to the first ambient temperature satisfying a screen protection condition, obtaining a second ambient temperature obtained by a temperature sensor of the foldable electronic device; and determining that the ambient temperature satisfies the screen protection condition includes: determining that the second ambient temperature satisfies the screen protection condition.

[0012] In some embodiments, the weather application may refer to the weather forecast application mentioned in this application, the first ambient temperature may refer to the ambient temperature obtained by the weather forecast application mentioned in this application, and the second ambient temperature may refer to the ambient temperature obtained by the temperature sensor mentioned in this application.

[0013] In a possible implementation of the first aspect above, the screen protection condition also includes: the ambient temperature of the foldable electronic device is greater than or equal to a first temperature threshold or less than or equal to a second temperature threshold for a duration greater than or equal to a first duration.

[0014] In some embodiments, the first duration may refer to the 35 minutes mentioned in this application.

[0015] Based on the above solution, a corresponding prompt will only appear when the ambient temperature of the foldable electronic device remains at the extreme temperature for more than a first period of time (for example, 35 minutes), making the timing of displaying the screen prompt information more reasonable, thereby improving the user experience while also protecting the folding screen of the electronic device.

[0016] In a possible implementation of the first aspect, the first temperature threshold ranges from 40°C to 55°C, and the second temperature threshold ranges from -40°C to -10°C.

[0017] Based on the above scheme, it is possible to determine in real time whether the current ambient temperature of the foldable electronic device is in an extremely low temperature scenario or an extremely high temperature scenario.

[0018] In a possible implementation of the first aspect above, the screen protection condition also includes: the foldable electronic device is in user use.

[0019] In a possible implementation of the first aspect above, the foldable electronic device is in a user-used state, including at least one of the following: the screen of the foldable electronic device switches from a black screen state to a bright screen state; the Hall sensor of the foldable electronic device detects that the screen folding angle of the foldable electronic device changes.

[0020] Based on the above scheme, when the foldable electronic device is in the extreme temperature for more than the first period of time and the foldable electronic device is in use by the user, a screen protection prompt is given to the user, so that the display timing of the screen protection prompt information is more reasonable, which improves the user experience while also protecting the folding screen of the electronic device.

[0021] In a possible implementation of the first aspect above, the foldable electronic device includes a temperature measurement system, which includes a perception and judgment algorithm module and a user display module; the perception and judgment algorithm module is used to obtain the ambient temperature of the foldable electronic device and determine whether the ambient temperature meets the screen protection condition; the user display module is used to provide screen protection prompts to the user.

[0022] In some embodiments, the perception judgment algorithm module may refer to the perception judgment algorithm layer 202 mentioned in this application, and the user display module may refer to the user display layer 201 mentioned in this application.

[0023] In a second aspect, the present application provides an electronic device, including a memory for storing instructions; a processor for executing instructions to implement the screen protection method provided in the first aspect and any possible implementation of the first aspect.

[0024] In a third aspect, the present application provides a readable storage medium having instructions stored thereon, which, when executed, enables an electronic device to implement the screen protection method provided in the first aspect and any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 According to some embodiments of the present application, a schematic diagram of a folding screen mobile phone 100 in a folded state is shown;

[0026] Figure 2 According to some embodiments of the present application, a schematic diagram of a folding screen mobile phone 100 in an unfolded state is shown;

[0027] Figure 3 According to some embodiments of the present application, a schematic diagram of a folding screen mobile phone 100 displaying prompt information is shown;

[0028] Figure 4 According to some embodiments of the present application, a schematic flow chart of a screen protection method is shown;

[0029] Figure 5 According to some embodiments of the present application, a software architecture diagram of a temperature measurement system 200 is shown;

[0030] Figure 6 According to some embodiments of the present application, a specific flow chart of a screen protection method is shown;

[0031] Figure 7 According to some embodiments of the present application, a specific process diagram of temperature measurement based on a temperature sensor is shown;

[0032] Figure 8 According to some embodiments of the present application, a pop-up window prompt flow chart is shown;

[0033] Fig. 9 According to some embodiments of the present application, a software structure diagram 300 of an electronic device is shown;

[0034] Fig.10 According to some embodiments of the present application, a schematic diagram of the hardware structure of an electronic device is shown. DETAILED DESCRIPTION

[0035] The illustrative embodiments of the present application include, but are not limited to, a screen protection method, an electronic device, and a readable storage medium.

[0036] It can be understood that the electronic device applicable to the technical solution of the present application can be any electronic device including a folding display screen, including but not limited to a folding screen mobile phone, a folding screen tablet computer, etc. For ease of description, the following description takes the electronic device as a folding screen mobile phone as an example.

[0037] It can be understood that the folding display screen of the electronic device applicable to the technical solution of the present application may include a flip-folding folding screen, an outward-folding folding screen, and an inward-folding folding screen, which is not limited here.

[0038] It can be understood that the elastic modulus is a measure of the ability of an object to resist elastic deformation. The harder the material, the higher the elastic modulus. Stress is the internal force generated by the interaction between the various parts of an object when the object is deformed due to external factors (force, humidity, temperature changes, etc.).

[0039] The technical solution of the present application is described below in conjunction with the accompanying drawings.

[0040] In order to facilitate the understanding of the technical solution of this application, Figure 1 Taking the scenario shown as an example, the application scenario of the screen protection method provided in the embodiment of the present application is introduced.

[0041] refer to Figure 1 The size of the foldable screen mobile phone 100 in the unfolded state is similar to that of a traditional smartphone, for example, the aspect ratio is 6:9. When the user wants to obtain a larger display interface, the foldable screen mobile phone 100 can be unfolded outwards, such as Figure 2 As shown, the folding screen of the folding screen mobile phone 100 is fully unfolded, and the user can obtain a larger display interface.

[0042] However, as mentioned earlier, the folding screen will be affected by the ambient temperature. Under extreme temperatures, opening and closing the folding screen phone will increase the risk of failure of the folding screen. For example, in a low temperature environment (-10°C and below), the elastic modulus of each layer of flexible material of the folding screen will increase, and the stress during the low-temperature opening and closing of the folding screen will increase, and the folding screen will have delamination and cracking problems. For another example, in a high temperature environment (40°C and above), the elastic modulus of each layer of flexible material in the folding screen will decrease, and the risk of disconnection of the flexible printed circuit (FPC) in the folding screen will increase, resulting in a black screen phenomenon on the folding screen.

[0043] Therefore, in order to solve the above-mentioned problem of damage to the folding screen caused by opening and closing the folding screen mobile phone at extreme temperatures, the embodiment of the present application provides a screen protection method. In this method, the temperature of the current environment of the folding screen mobile phone can be determined in real time. If the folding screen mobile phone is detected to be at an extreme temperature, for example, -10°C or below, or 40°C or above, the user is prompted to reduce the number of times the folding screen mobile phone is opened and closed, slow down the speed of opening and closing the folding screen mobile phone, or not to open and close the folding screen mobile phone.

[0044] For example, the current ambient temperature can be obtained in real time through the weather forecast application of the foldable screen mobile phone. When the foldable screen mobile phone determines based on the weather forecast application that the current ambient temperature exceeds the theoretical high temperature value (High Temperature, TH), for example, TH ≥ 40°, or the ambient temperature is lower than the theoretical low temperature value (Low Temperature, TL), for example, TL ≤ -10°, the foldable screen mobile phone starts automatic temperature measurement. At this time, the ambient temperature can be detected again through the temperature sensor (Negative Temperature Coefficient Sensor, NTC). When the ambient temperature value detected by the temperature sensor satisfies less than or equal to TL or greater than or equal to TH, that is, when it is determined that the foldable screen mobile phone 100 is under the extreme temperature, the display interface of the foldable screen mobile phone can be controlled to display a prompt message to prompt the user not to open and close the foldable screen mobile phone. For example Figure 3 A first prompt box 101 “Abnormal current ambient temperature is detected, please do not open or close the phone” appears in the display interface of the folding screen mobile phone 100 shown.

[0045] Furthermore, when the ambient temperature value is less than or equal to the theoretical low temperature value or greater than or equal to the theoretical high temperature value, it is determined that the current folding screen mobile phone is at the extreme temperature; it can also be calculated whether the time length that the folding screen mobile phone 100 is at the extreme temperature is greater than or equal to the first time length, for example, the first time length is 35 minutes. When it is determined that the time length that the folding screen mobile phone 100 is at the extreme temperature is greater than or equal to the first time length, a prompt box is controlled to appear on the display interface of the folding screen mobile phone 100, prompting the user not to open and close the folding screen mobile phone 100.

[0046] It can be understood that in other embodiments, when it is determined that the foldable screen mobile phone 100 is at an extreme temperature, the user can also be prompted for a screen saver in the following ways: displaying screen saver prompt information to the user, playing voice of screen saver prompt information, playing a warning sound, controlling the vibration of the foldable screen mobile phone 100, etc., which are not limited here.

[0047] It can be understood that in other embodiments, when the foldable screen mobile phone 100 prompts the user through a prompt box not to open or close the foldable screen of the foldable screen mobile phone 100, a vibration prompt may be provided at the same time as the prompt message appears.

[0048] The specific process of the screen protection method provided by this application is described below.

[0049] refer to Figure 4 , Figure 4 A schematic diagram of a screen protection method is shown. The method can be performed by an electronic device. For ease of understanding, the electronic device is a folding screen mobile phone 100 as an example for explanation, and the specific process includes:

[0050] S101: Acquire the ambient temperature of the electronic device.

[0051] In some embodiments, when the electronic device (e.g., the foldable screen mobile phone 100) is connected to the Internet, the current ambient temperature of the foldable screen mobile phone 100 can be obtained through the weather forecast application of the foldable screen mobile phone 100. For example, the ambient temperature can be obtained as 41°C through the weather forecast application of the foldable screen mobile phone 100. For another example, the current ambient temperature can be obtained as -11°C through the weather forecast application of the foldable screen mobile phone 100.

[0052] In other embodiments, the current ambient temperature of the foldable screen mobile phone 100 can be detected based on a temperature sensor inside the foldable screen mobile phone 100.

[0053] For example, in a low temperature scenario, the ambient temperature can be detected as -11°C through the weather forecast application; in a high temperature scenario, the ambient temperature can be detected as 41°C through the weather forecast application.

[0054] For another example, in a low temperature scenario, the temperature sensor may detect that the ambient temperature is -11°C. In a high temperature scenario, the temperature sensor may detect that the ambient temperature is 41°C.

[0055] Through the above method, not only the ambient temperature of the folding screen mobile phone 100 in a low temperature scene can be detected in real time, but also the ambient temperature of the folding screen mobile phone 100 in a low temperature scene can be detected.

[0056] It can be understood that the temperature value of the ambient temperature of the foldable screen mobile phone 100 obtained by the weather forecast application and the temperature sensor is only an exemplary description and is not limited here.

[0057] It can be understood that the method of obtaining the ambient temperature of the folding screen mobile phone 100 can also be through other applications or temperature measuring devices. The method of obtaining the temperature using a weather forecast application and a temperature sensor in the embodiment of the present application is only an exemplary description and is not limited here.

[0058] It can be understood that the temperature detection principle of the temperature sensor is: the temperature sensor uses the characteristic that the thermistor value of its internal thermistor decreases rapidly as the temperature rises under a certain measurement power. The temperature corresponding to the resistance value can be determined by measuring the resistance value of the thermistor, thereby achieving the purpose of detecting and controlling the temperature.

[0059] S102: Determine whether the ambient temperature of the electronic device meets the screen protection condition.

[0060] When it is determined that the ambient temperature of the electronic device meets the screen protection condition, go to step S103, that is, control the display interface of the electronic device to display prompt information; otherwise, go to step S104, that is, the display interface of the electronic device does not display prompt information.

[0061] In some embodiments, the screen protection condition includes that the current ambient temperature of the electronic device is an extreme temperature (ie, greater than or equal to a first high temperature value or less than or equal to a first low temperature value). For example, the first high temperature value is 40°C and the first low temperature value is -10°C.

[0062] When it is detected that the ambient temperature is the limit temperature and meets the screen protection condition, go to step S103. For example, when the ambient temperature of the current folding screen mobile phone 100 is 41°C obtained through the weather forecast application, it can be determined based on the ambient temperature that the current ambient temperature of the electronic device meets the screen protection condition. At this time, go to S103 and display the prompt information in the display interface of the electronic device.

[0063] When it is detected that the ambient temperature is not the limit temperature and does not meet the screen protection condition, go to step S104. For example, when the temperature of the environment in which the folding screen mobile phone 100 is currently located is 30°C, it can be determined that the ambient temperature of the current electronic device does not meet the screen protection condition based on the fact that the ambient temperature (30°C) is less than the first high temperature value. At this time, go to step S104, and the display interface of the electronic device does not display the prompt information.

[0064] In other embodiments, the screen protection condition may also include that the duration of the ambient temperature being the extreme temperature is greater than or equal to the first duration (i.e., the duration of the ambient temperature of the current electronic device being greater than or equal to the first high temperature value or less than or equal to the first low temperature value is greater than or equal to the first duration). For example, the first high temperature value is 40° C., the first low temperature value is -10° C., and the first duration is 35 minutes.

[0065] When the ambient temperature is detected to be the extreme temperature and the duration is greater than or equal to the first duration, go to step S103. For example, when the current ambient temperature of the folding screen mobile phone 100 is 41°C and the duration is 1h through the weather forecast application and / or temperature sensor of the folding screen mobile phone 100, it can be determined that the ambient temperature of the current electronic device meets the screen protection condition based on the ambient temperature (41°C) being equal to the first high temperature value and the duration of 1h being greater than the first duration of 35min. At this time, go to S103 and display the prompt information in the display interface of the electronic device.

[0066] When the ambient temperature is detected to be the limit temperature, but the duration is less than the first duration, go to step S104. For example, when the temperature of the environment in which the folding screen mobile phone 100 is currently located is obtained by the temperature sensor of the folding screen mobile phone 100 as 41°C, but the duration is 5 minutes, that is, less than the first duration (for example, 35 minutes), it can be determined that the screen protection condition is not met based on the ambient temperature being less than the first duration. At this time, go to step S104, and the display interface of the electronic device does not display the prompt information.

[0067] S103: Displaying a prompt message on the display interface of the electronic device, prompting the user not to open or close the electronic device.

[0068] In some embodiments, based on the ambient temperature of the electronic device meeting the screen protection condition, the first prompt box can be controlled to be displayed in the display interface of the electronic device, as described above. Figure 3 As shown, a first prompt box 101 “Abnormal current ambient temperature is detected, please do not open or close the phone” is displayed in the display interface of the folding screen mobile phone 100.

[0069] It can be understood that in some embodiments, when the ambient temperature of the electronic device meets the screen protection conditions, it is detected that the user clicks on the screen of the foldable screen mobile phone 100, or the foldable screen mobile phone 100 changes from a black screen to a bright screen, then a prompt message is displayed in the display interface of the foldable screen mobile phone 100 to prompt the user not to open and close the foldable screen mobile phone 100.

[0070] In other embodiments, when the user opens and closes the foldable screen mobile phone 100, the Hall sensor of the foldable screen mobile phone 100 detects that the opening and closing angle of the foldable screen mobile phone 100 has changed, and a prompt message is displayed in the display interface of the foldable screen mobile phone 100 to prompt the user not to open and close the foldable screen mobile phone 100.

[0071] It can be understood that in other embodiments, when it is determined that the ambient temperature of the foldable screen mobile phone meets the screen protection conditions, in addition to popping up a prompt box in the display interface of the foldable screen mobile phone and displaying prompt information to remind the user, the user can also be reminded not to open and close the foldable screen mobile phone through voice prompts, vibration prompts or warning sound prompts, etc., which are not limited here.

[0072] S104: The display interface of the electronic device does not display the prompt information.

[0073] In some embodiments, based on the fact that the ambient temperature of the foldable screen mobile phone 100 does not meet the screen protection conditions, the display interface of the foldable screen mobile phone 100 does not display prompt information, and the user can open and close the foldable screen mobile phone 100 normally for use.

[0074] It can be understood that the execution order of step S103 and step S104 is only an exemplary description. In other embodiments, the execution order of step S103 and step S104 can be swapped, which is not limited here.

[0075] Based on the above scheme, the current ambient temperature of the foldable screen mobile phone 100 can be determined in real time, and when the foldable screen mobile phone 100 is in extreme temperatures (including extremely low temperature scenarios and extremely high temperature scenarios), a prompt message will pop up in the display interface of the foldable screen mobile phone 100, prompting the user to reduce the number of times the foldable screen mobile phone 100 is opened and closed, slow down the speed of opening and closing the foldable screen mobile phone 100, or not open and close the foldable screen mobile phone 100, which can effectively protect the folding screen of the foldable screen mobile phone 100 from being damaged.

[0076] In addition, a corresponding prompt will only appear when the ambient temperature of the folding screen mobile phone 100 remains at the extreme temperature for more than a first period of time (for example, 35 minutes), making the display of screen prompt information more reasonable, improving the user experience while also effectively protecting the folding screen.

[0077] In order to facilitate understanding of the screen protection method provided in the embodiment of the present application, Figure 5 A software architecture diagram of a temperature measurement system 200 for an electronic device is shown. For ease of understanding, the electronic device is a folding screen mobile phone 100 as an example for explanation.

[0078] It can be understood that the temperature measurement system 200 may include a user display layer 201 and a perception judgment algorithm layer 202 .

[0079] The perception judgment algorithm layer 202 can determine whether the ambient temperature of the current electronic device is an extreme temperature (that is, the ambient temperature is less than or equal to the first low temperature value or greater than or equal to the first high temperature value); the perception judgment algorithm layer 202 can also determine whether the duration of the ambient temperature being the extreme temperature is greater than or equal to the first duration when the ambient temperature is the extreme temperature.

[0080] The user display layer 201 can display prompt information on the display interface of the electronic device according to the judgment result of the perception judgment algorithm layer 202. For example, when the perception judgment algorithm layer 202 determines that the ambient temperature obtained based on the weather forecast application and the temperature sensor is the extreme temperature, and the duration of the ambient temperature being the extreme temperature is greater than or equal to the first duration, the display interface corresponding to the user display layer 201 can display the above-mentioned Figure 3 The prompt information shown is to remind the user not to open and close the foldable screen mobile phone 100.

[0081] Further, refer to Figure 6 , Figure 6A specific flow chart of a screen protection method is shown. The method can be executed by an electronic device, and is described in combination with the above-mentioned perception algorithm layer 202 and user display layer 201. For ease of understanding, the electronic device is taken as an example of a folding screen mobile phone 100, and the specific process includes:

[0082] S201: Acquire the ambient temperature of the electronic device based on a weather forecast application of the electronic device.

[0083] In some embodiments, the perception judgment algorithm layer 202 in the electronic device can obtain the current ambient temperature of the folding screen mobile phone 100 through the weather forecast application of the folding screen mobile phone 100 when connected to the Internet. For example, the current ambient temperature can be obtained as 41°C through the weather forecast application of the folding screen mobile phone 100. For another example, the current ambient temperature can be obtained as -11°C through the weather forecast application of the folding screen mobile phone 100.

[0084] S202: Determine whether the ambient temperature obtained based on the weather forecast application is less than or equal to a first low temperature value or greater than or equal to a first high temperature value.

[0085] When it is determined that the ambient temperature obtained based on the weather forecast application is less than or equal to the first low temperature value or greater than or equal to the first high temperature value, go to step S203, that is, the electronic device detects the external ambient temperature based on the temperature sensor; otherwise, go to step S205, that is, the temperature measurement system of the electronic device is in sleep mode.

[0086] In some embodiments, the perception judgment algorithm layer 202 in the electronic device can determine whether the ambient temperature obtained through the weather forecast application is less than or equal to the first low temperature value (for example, -10°C) or greater than or equal to the first high temperature value (for example, 40°C). If it is determined that the ambient temperature obtained based on the weather forecast application is less than or equal to the first low temperature value or greater than or equal to the first high temperature value, then go to step S203 to start automatic temperature measurement, that is, the folding screen mobile phone 100 detects the ambient temperature of the folding screen mobile phone 100 based on the temperature sensor; otherwise, go to step S205, that is, the temperature measurement system 200 of the folding screen mobile phone 100 enters sleep mode.

[0087] S203: Automatic temperature measurement is started, and the electronic device detects the external environment temperature based on the temperature sensor.

[0088] In some embodiments, when the perception judgment algorithm layer 202 determines that the ambient temperature obtained through the weather forecast application is less than or equal to the first low temperature value (for example, -10°C) or greater than or equal to the first high temperature value (for example, 40°C), the folding screen mobile phone 100 starts automatic temperature measurement, that is, the folding screen mobile phone 100 can use the temperature sensor to detect the ambient temperature.

[0089] S204: Determine whether the ambient temperature detected by the temperature sensor is less than or equal to a first low temperature value or greater than or equal to a first high temperature value, and the duration is greater than or equal to a first duration.

[0090] When it is determined that the ambient temperature detected by the temperature sensor is less than or equal to the first low temperature value or greater than or equal to the first high temperature value, and the duration is greater than or equal to the first duration, go to step S206, that is, display a prompt message on the display interface of the folding screen mobile phone 100; otherwise, go to step S205, that is, the temperature measurement system of the electronic device is in sleep mode.

[0091] In some embodiments, the perception judgment algorithm layer 202 in the electronic device can determine whether the ambient temperature detected by the temperature sensor is less than or equal to the first low temperature value (for example, -10°C) or greater than or equal to the first high temperature value (for example, 40°C). If the perception judgment algorithm layer 202 determines that the ambient temperature detected by the temperature sensor is less than or equal to the first low temperature value or greater than or equal to the first high temperature value, and the duration is greater than or equal to the first duration, then go to step S206, that is, display a prompt message on the display interface of the folding screen mobile phone 100; otherwise, go to step S205, that is, the temperature measurement system 200 of the folding screen mobile phone 100 enters sleep mode.

[0092] S205: The temperature measurement system of the electronic device is in sleep mode.

[0093] In some embodiments, when the ambient temperature acquired by the weather forecast application or the temperature sensor is not less than or equal to the first low temperature value or not greater than or equal to the first high temperature value, the temperature measurement system 200 of the electronic device enters the sleep mode.

[0094] S206: Displaying a prompt message on the display interface of the electronic device to remind the user not to open or close the mobile phone under extreme temperatures.

[0095] In some embodiments, when the perception algorithm judgment layer 202 determines that the ambient temperature detected by the temperature sensor is less than or equal to a first low temperature value or greater than or equal to a first high temperature value, and the duration is greater than or equal to a first duration, that is, it is determined that the ambient temperature of the electronic device meets the screen protection condition, the perception algorithm judgment layer 202 can send the judgment result to the user display layer 201, and the user display layer 201 of the electronic device can display a prompt message in the display interface of the electronic device based on the judgment result of the perception algorithm judgment layer 202, so as to prompt the user not to open and close the mobile phone at extreme temperatures.

[0096] For example, the above Figure 3 As shown, a first prompt box 101 “Abnormal current ambient temperature is detected, please do not open or close the phone” is displayed in the display interface of the folding screen mobile phone 100.

[0097] Based on the above scheme, the temperature of the current environment of the foldable screen mobile phone 100 can be determined in real time. When the foldable screen mobile phone 100 is in extreme temperature, a prompt message can be displayed in the display interface of the foldable screen mobile phone 100, prompting the user to reduce the number of times the foldable screen mobile phone is opened and closed, slow down the speed of opening and closing the foldable screen mobile phone 100, or not open and close the foldable screen mobile phone 100, which can effectively protect the folding screen of the foldable screen mobile phone 100.

[0098] Further, refer to Figure 7 , Figure 7 A schematic diagram of a specific process of measuring temperature based on a temperature sensor is shown. For ease of understanding, the electronic device is a folding screen mobile phone 100 as an example for explanation, and the specific process includes:

[0099] S301: Detecting the ambient temperature of the electronic device based on a temperature sensor to obtain the ambient temperature.

[0100] In some embodiments, when it is determined that the ambient temperature obtained through the weather forecast application is less than or equal to a first low temperature value (for example, -10°C) or greater than or equal to a first high temperature value (for example, 40°C), the temperature measurement system 200 of the folding screen mobile phone 100 starts automatic temperature measurement, that is, uses the temperature sensor to further detect the ambient temperature and obtain the ambient temperature.

[0101] S302: Determine whether the ambient temperature is less than or equal to a first low temperature value or greater than or equal to a first high temperature value.

[0102] When it is determined that the ambient temperature is less than or equal to the first low temperature value or greater than or equal to the first high temperature value, go to step S303, i.e., control the display interface of the electronic device to display a prompt message; otherwise, go to step S306, i.e., the temperature measurement system of the electronic device is in sleep mode.

[0103] In some embodiments, the perception algorithm judgment layer 202 determines whether the ambient temperature detected by the temperature sensor is less than or equal to a first low temperature value (e.g., -10°C) or greater than or equal to a first high temperature value (e.g., 40°C). When it is determined that the ambient temperature is less than or equal to the first low temperature value (e.g., -10°C) or greater than or equal to the first high temperature value (e.g., 40°C), the process goes to step S303 to further determine whether the duration of the ambient temperature is greater than or equal to the first duration; otherwise, the process goes to step S306, and the temperature measurement system 200 of the electronic device enters the sleep mode.

[0104] S303: Determine whether the duration of the ambient temperature is greater than or equal to a first duration.

[0105] When it is determined that the duration of the ambient temperature is greater than or equal to the first duration, go to step S304, that is, determine whether the display interface of the electronic device is clicked or whether the opening and closing angle of the display screen of the electronic device changes; otherwise, go to step S306, that is, the temperature measurement system of the electronic device is in sleep mode.

[0106] In some embodiments, when the perception algorithm judgment layer 202 determines that the ambient temperature detected by the temperature sensor is less than or equal to the first low temperature value (e.g., -10°C) or greater than or equal to the first high temperature value (e.g., 40°C), the duration of the ambient temperature being at the extreme temperature (i.e., less than or equal to the first low temperature value or greater than or equal to the first high temperature value) can be further recorded in real time by the timer inside the folding screen mobile phone 100 to determine whether the time the ambient temperature is continuously at the extreme temperature is greater than or equal to the first duration (e.g., 35 minutes); if the time the ambient temperature is at the extreme temperature is greater than or equal to the first duration, go to step S304, i.e., determine whether the display interface of the electronic device is clicked and whether the opening and closing angle of the display screen of the electronic device changes. Otherwise, go to step S306, i.e., the temperature measurement system 200 of the electronic device enters the sleep mode.

[0107] S304: Determine whether the display interface of the electronic device is clicked or whether the opening and closing angle of the display screen of the electronic device changes.

[0108] When it is determined whether the display interface of the electronic device is clicked or the opening and closing angle of the display screen of the electronic device is changed, go to step S305, that is, display a first prompt box on the display interface of the electronic device to prompt the user not to open and close the mobile phone under extreme temperatures; otherwise, go to step S306, that is, the temperature measurement system of the electronic device is in sleep mode.

[0109] In some embodiments, when it is determined that the ambient temperature is less than or equal to a first low temperature value or greater than or equal to a first high temperature value and the duration is greater than or equal to a first duration, it can be further determined whether the display interface of the electronic device is clicked.

[0110] For example, when a user clicks on the screen of the foldable screen mobile phone 100, the screen of the foldable screen mobile phone 100 switches from a black screen state to a bright screen state, and it is determined that the display interface of the electronic device is clicked.

[0111] In other embodiments, when it is determined that the ambient temperature is less than or equal to the first low temperature value or greater than or equal to the first high temperature value and the duration is greater than or equal to the first duration, the Hall sensor can be used to further determine whether the opening and closing angle of the display screen of the electronic device changes.

[0112] For example, when a user opens and closes the foldable screen mobile phone 100, the Hall sensor of the foldable screen mobile phone 100 detects that the opening and closing angle of the foldable screen mobile phone 100 changes from θ 1becomes θ 2 , it is determined that the opening and closing angle of the display screen of the electronic device has changed.

[0113] If the display interface of the electronic device is clicked or the opening and closing angle of the display screen of the electronic device changes, go to step S305 to display a prompt message on the display interface of the electronic device; otherwise, go to step S306, that is, the temperature measurement system 200 of the electronic device enters sleep mode.

[0114] S305: Displaying a first prompt box on the display interface of the electronic device to remind the user not to open or close the mobile phone under extreme temperatures.

[0115] In some embodiments, based on the display interface of the electronic device being clicked or the opening and closing angle of the display screen of the electronic device changing, a first prompt box is displayed on the display interface of the electronic device to prompt the user not to open and close the mobile phone under extreme temperatures.

[0116] For example, the above Figure 3 As shown, a first prompt box 101 “Abnormal current ambient temperature is detected, please do not open or close the phone” is displayed in the display interface of the folding screen mobile phone 100.

[0117] It can be understood that in other embodiments, when it is determined that the duration of time in which the ambient temperature of the foldable screen mobile phone 100 is under the extreme temperature is greater than or equal to the first duration, in addition to displaying a prompt box and prompt information in the display interface of the foldable screen mobile phone to prompt the user, the user can also be prompted not to open and close the foldable screen mobile phone through voice prompts, vibration prompts, or warning sound prompts, etc., which are not limited here.

[0118] S306: The temperature measurement system of the electronic device is in sleep mode.

[0119] In some embodiments, when the ambient temperature detected by the temperature sensor is not at the extreme temperature, it is determined that the folding screen mobile phone 100 is not at the extreme temperature, and then the temperature measurement system 200 of the folding screen mobile phone 100 enters the sleep mode, that is, at this time, the display interface of the folding screen mobile phone 100 will not display the first prompt box.

[0120] In some embodiments, when it is detected that the ambient temperature is at an extreme temperature, but the folding screen mobile phone 100 is continuously at the extreme temperature for less than a first duration (for example, 35 minutes), the temperature measurement system 200 of the folding screen mobile phone 100 enters sleep mode.

[0121] Figure 8According to some embodiments of the application, a pop-up window prompt flow chart is shown. Specifically, when the ambient temperature of the folding screen mobile phone 100 is less than or equal to -10°C (i.e., the first low temperature value) or greater than or equal to 40°C (i.e., the first high temperature value), that is, it is at the extreme temperature, the temperature sensor inside the folding screen mobile phone 100 senses the ambient temperature based on heat conduction, and determines that the ambient temperature is at the extreme temperature (i.e., less than or equal to -10°C or greater than or equal to 40°C), and then uses the timer to record in real time to determine that the time when the ambient temperature is at the extreme temperature is greater than or equal to 35 minutes (the first duration); in this process, if the user clicks the device button of the electronic device or triggers the screen of the electronic device to light up the screen of the electronic device, or the user folds (opens and closes) the screen of the electronic device so that the Hall sensor of the electronic device detects that the angle of the folding screen of the electronic device has changed. Then a Toast pop-up window prompt can be displayed in the display interface of the electronic device to remind the user not to open and close the folding screen mobile phone 100 at the extreme temperature, thereby protecting the folding screen.

[0122] It is understandable that the Toast pop-up window is a type of message box. In other embodiments, when it is determined that the duration of the electronic device under the extreme temperature is greater than or equal to the first duration, the user can be prompted not to open and close the foldable screen mobile phone through voice prompts, vibration prompts, or warning sound prompts, which are not limited here.

[0123] Based on the screen protection method provided in the present application, the current ambient temperature of the foldable screen mobile phone can be determined in real time. When the foldable screen mobile phone 100 is in extreme temperature (including extremely low temperature scenes and extremely high temperature scenes) and lasts for a period of time greater than or equal to the first time length, a prompt message can be displayed in the display interface of the electronic device, prompting the user to reduce the number of times the foldable screen mobile phone is opened and closed, slow down the speed of opening and closing the foldable screen mobile phone, or not open and close the foldable screen mobile phone, thereby effectively protecting the folding screen of the foldable screen mobile phone 100.

[0124] In addition, in the screen protection method provided in the embodiment of the present application, a corresponding prompt will only be given when the ambient temperature of the electronic device continues to be at the extreme temperature for more than a first period of time (for example, 35 minutes), so that the timing of displaying the screen prompt information is more reasonable, which improves the user experience while also protecting the folding screen of the electronic device.

[0125] further, Fig. 9 A software structure diagram 300 of an electronic device (taking the folding screen mobile phone 100 described in the present application as an example) provided according to some embodiments of the present application is shown.

[0126] like Fig. 9As shown, the software structure is an Android system as an example for introduction. It can be understood that the Android system is a layered architecture, and the layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, respectively, the application layer, the application framework layer, the Android runtime (android runtime) and the system library, and the kernel layer.

[0127] Understandably, Fig. 9 The components included in the system framework layer, system library, and runtime layer shown do not constitute a specific limitation on the folding screen mobile phone 100. In other embodiments of the present invention, the folding screen mobile phone 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.

[0128] Specifically, Fig. 9 As shown, the application layer may include a user display module and a series of application packages. The application package may include desktop launcher (launcher), gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, system user interface (system UI) and other applications.

[0129] In some implementations, the application may include a user display module, and the user display module may enable prompt information to be displayed in a display interface of the electronic device.

[0130] It can be understood that, in some embodiments, the user display module may refer to the user display layer 201 mentioned in the embodiments of the present application.

[0131] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0132] The application framework layer may include a perception judgment algorithm module, a window manager, a content provider, a resource manager, a view system, a notification manager, and the like.

[0133] In some implementations, the application framework layer may include a perception judgment algorithm module, which can be used to determine whether the ambient temperature of the electronic device meets the screen protection conditions mentioned in the embodiments of the present application.

[0134] It can be understood that in some embodiments, the perception judgment algorithm module may refer to the perception judgment algorithm layer 202 mentioned in the embodiments of the present application.

[0135] The window manager is used to manage window programs. The window manager can obtain the display screen size, display windows, lock the screen, capture the screen, etc. In some embodiments, the window manager can display windows (pop-ups) and thereby create control messages for window mode components. The content provider is used to store and obtain data and make the data accessible to applications. The data can include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0136] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying pictures. The phone manager is used to provide the communication function of the folding screen mobile phone 100. For example, the management of call status (including connected, hung up, etc.). The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc. The notification manager enables the application to display notification information in the status bar, which can be used to convey notification type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to inform the download is complete, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0137] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc. The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of multiple commonly used audio and video formats, as well as static image files, etc. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0138] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0139] further, Fig.10 A schematic diagram of the hardware structure of an electronic device (taking the folding screen mobile phone 100 described in the present application as an example) provided according to some embodiments of the present application is shown.

[0140] It is understood that the electronic device can be any electronic device with a foldable display screen, including but not limited to a mobile phone (such as a single-screen mobile phone, a foldable screen mobile phone, a foldable screen tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a netbook, etc., which is not limited in the embodiments of the present application.

[0141] It is understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the folding screen mobile phone 100. In other embodiments of the present application, the folding screen mobile phone 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.

[0142] The foldable screen mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) connector 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, a color temperature sensor 180N, etc.

[0143] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor (BP), and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. In some embodiments, the screen protection method provided in the embodiment of the present application can be executed based on the processor 110.

[0144] The foldable screen mobile phone 100 can realize the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0145] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In the embodiment of the present application, the display screen can display a pop-up prompt message based on the detection that the folding screen mobile phone 100 meets the screen protection condition in the screen protection method provided in the embodiment of the present application.

[0146] The camera 193 is used to capture still images or videos. The foldable screen mobile phone 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor. The ISP is used to process the data fed back by the camera 193. The external memory 120 generally refers to an external memory. Common external memories include hard disks, floppy disks, optical disks, U disks, MicroSD cards, etc., which are used to expand the storage capacity of the foldable screen mobile phone 100.

[0147] The internal memory 121, which may also be referred to as “memory”, may be used to store computer executable program codes, which may include instructions.

[0148] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the mobile phone 10, which is different from the position of the display screen 194. In some embodiments, when the touch screen detects the user's operation on the touch screen, it can be sent to the processor 110 to trigger the function of detecting that the display screen of the folding screen mobile phone 100 switches from a black screen to a bright screen provided in the embodiment of the present application.

[0149] The motor 191 can generate a vibration prompt. In some embodiments, when the mobile phone 10 prompts the user not to open or close the folding screen of the folding screen mobile phone 100 through a prompt box, a vibration prompt can be generated at the same time as the prompt box appears.

[0150] Indicator 192 may be an indicator light and may be used to indicate messages, missed calls, notifications, and the like.

[0151] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.

[0152] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0153] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

[0154] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, a machine-readable medium may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, a floppy disk, an optical disk, an optical disc, a read-only memory (CD-ROMs), a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic card or an optical card, a flash memory, or a tangible machine-readable memory for transmitting information using the Internet in an electrical, optical, acoustic, or other form of propagation signal. Therefore, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine (e.g., computer) readable form.

[0155] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0156] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.

[0157] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "includes one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0158] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims

1. A screen protection method, characterized in that: Applied to a foldable electronic device, the method comprises: Acquire a first ambient temperature of the foldable electronic device through a weather application; Determining that the foldable electronic device meets a first screen protection condition, where the first screen protection condition includes that a first ambient temperature of the foldable electronic device is greater than a first temperature threshold or the first ambient temperature is less than a second temperature threshold, wherein the first temperature threshold is greater than the second temperature threshold; Turning on automatic temperature measurement to obtain a second ambient temperature of the foldable electronic device based on the first sensor; Determining that the second ambient temperature satisfies a second screen protection condition, where the second screen protection condition includes that the second ambient temperature of the foldable electronic device is greater than the first temperature threshold or the second ambient temperature is less than the second temperature threshold; Based on the fact that the foldable electronic device is in a user use state, a screen protection prompt is given to the user, wherein the user use state includes at least one of the following: the screen of the foldable electronic device is switched from a black screen state to a bright screen state, and a Hall sensor of the foldable electronic device detects that the screen folding angle of the foldable electronic device changes.

2. The method according to claim 1, characterized in that The screen saver prompt includes at least one of the following: Prompting the user to reduce the number of times the foldable electronic device is opened and closed; Prompting the user to slow down the speed of opening and closing the foldable electronic device; The user is prompted not to open or close the foldable electronic device.

3. The method according to claim 1, characterized in that Prompt the user to save the screen, including at least one of the following: Displaying the screen saver prompt to the user; Play the voice of the screen saver prompt; Play a warning tone; The foldable electronic device is controlled to vibrate.

4. The method according to claim 1, characterized in that: The screen protection conditions also include: The duration in which the ambient temperature of the foldable electronic device is greater than or equal to the first temperature threshold or less than or equal to the second temperature threshold is greater than or equal to the first duration.

5. The method according to claim 1, characterized in that The first temperature threshold ranges from 40°C to 55°C, and the second temperature threshold ranges from -40°C to -10°C.

6. The method according to claim 1, characterized in that The foldable electronic device includes a temperature measurement system, and the temperature measurement system includes a perception judgment algorithm module and a user display module; The perception judgment algorithm module is used to obtain the ambient temperature of the foldable electronic device and determine whether the ambient temperature meets the screen protection condition; The user display module is used to provide screen protection prompts to users.

7. An electronic device, characterized in that: including a memory for storing instructions; A processor is used to execute the instructions so that the electronic device implements the screen protection method according to any one of claims 1 to 6.

8. A readable storage medium, characterized in that: The readable storage medium stores instructions, and when the instructions are executed on an electronic device, the electronic device executes the screen protection method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Protection method of flexible screen of mobile terminal at low temperature, and mobile terminal

    CN106168921A

  • Electronic device

    CN113241012A