Screen control method, electronic equipment, storage medium and program product

By identifying the status of the screen film and adjusting the performance parameters, the problem of performance degradation after the screen film is solved, faster response speed and higher touch sensitivity are achieved, and user experience is improved.

CN119271064AActive Publication Date: 2025-01-07HONOR DEVICE CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410458946.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2025-01-07
Estimated Expiration
2044-04-16

AI Technical Summary

Technical Problem

The performance of the screen decreases after the protective film is attached, which affects the user's operating experience, especially in terms of response speed and touch sensitivity.

Method used

By identifying the film state of the screen, adjusting performance parameters to optimize screen performance to make it close to its performance without film state, including automatic identification using ambient light sensors, touch sensors and cameras, and passing through according to the film type and light of the protective film Rate adjustment brightness and touch parameters.

Benefits of technology

It effectively improves the screen's response speed and touch sensitivity after filming, improves the user experience, and ensures that the screen performance is close to the unfilled state, extending the service life of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271064A_ABST
    Figure CN119271064A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a screen control method, electronic equipment, a storage medium and a program product, and relates to the technical field of terminals, after a protective film is pasted on a screen, the problem that the performance of the screen is reduced after the protective film is pasted can be solved, the performance of the screen after the protective film is pasted can reach or approach the performance of the screen when the protective film is not pasted, and the user experience is improved. And the performance of the screen after film pasting is improved. According to the specific scheme, the electronic equipment identifies the film pasting state of the screen, and under the condition that the film pasting state represents that the screen is pasted with the protective film, the electronic equipment can control the screen based on a first performance parameter, so that the performance of the screen pasted with the protective film is controlled by using the first performance parameter; the performance is superior to the performance of the screen attached with the protective film after the screen is controlled by using the second performance parameter, and the second performance parameter is the initial performance parameter adopted when the screen of the electronic equipment is not attached with the film.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of terminal technology, and in particular to a screen control method, electronic device, storage medium, and program product. Background Art

[0002] With the development of technology, users can interact with electronic devices by touching and clicking the screen. When users operate the screen, they can put a protective film on the display screen. Protective films can include: anti-peep film, tempered film, anti-reflection and anti-reflection film (AR film), soft film, hard film, anti-glare series protective film (AG film), etc. For example, you can put an anti-peep film on the screen to prevent peeping and protect the privacy of the screen content.

[0003] However, when the protective film is applied to the screen, the performance of the screen may be degraded. For example, the screen may not be able to quickly and accurately respond to the click operation of the user's finger, etc. Therefore, when the protective film is applied to the screen, the performance of the screen will be affected. Summary of the invention

[0004] The embodiments of the present application provide a screen control method, an electronic device, a storage medium, and a program product, which can make the performance of the screen after the protective film is affixed to the screen reach or approach the performance when the protective film is not affixed to the screen, thereby improving the user experience.

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

[0006] In a first aspect, a screen control method is provided, which can be applied to an electronic device including a screen, the method comprising: the electronic device can identify the film state of the screen, and when the electronic device identifies that the screen is affixed with a protective film, the electronic device can control the screen through a first performance parameter, wherein the performance of the screen after being controlled by the first performance parameter after the protective film is affixed is better than the performance of the screen after being controlled by the second performance parameter after the protective film is affixed, and the second performance parameter is the initial performance parameter used by the electronic device when the screen is not affixed with a film.

[0007] In the above solution, the second performance parameter is more suitable for the state where the screen is not covered with a film. After the screen is covered with a film, the protective film will affect the screen performance. If the second performance parameter is continued to be used to control the screen, the screen performance will be reduced. If the screen is covered with a protective film, the first performance parameter consistent with the film state is used to control the screen, the screen performance can reach or approach the performance when the screen is not covered with a protective film, the screen performance is improved, and the user experience is improved.

[0008] In a possible implementation of the first aspect, the film state includes the film type of the protective film applied to the screen, and the electronic device can control the screen through the first performance parameter, including: the electronic device can determine the first performance parameter corresponding to the film type through the film type of the protective film currently applied to the screen, and control the screen through the first performance parameter.

[0009] In the above solution, when it is determined that the screen is in a state of being covered with a protective film, protective films of different film types may have different effects on the performance of the screen when they are covered with the screen. Therefore, different first performance parameters are set for different film types. The electronic device can control the screen by using the first performance parameter corresponding to the film type of the protective film currently covered with the screen, so that even if the screen is covered with protective films of different film types, the screen performance can still reach or approach that of the screen without the film.

[0010] In another possible implementation of the first aspect, the electronic device can identify the film status of the screen including: the protective film has a preset film structure, the electronic device performs detection processing on the screen corresponding to the preset film structure, and determines the film status of the screen according to the detection result of the detection processing, for example: whether the screen is in a film state or not, and whether the screen is in a film type state with a protective film.

[0011] In the above scheme, by performing detection processing on the screen corresponding to the preset film structure, the electronic device can automatically identify whether the screen is affixed with a protective film, without the need for the user to manually input the film status, thereby improving automation and user experience.

[0012] In another possible implementation of the first aspect, the electronic device includes at least two ambient light sensors, the protective film has first preset positions corresponding to the positions of the at least two ambient light sensors, different first preset positions have different degrees of shielding of ambient light, and the ambient light sensor is used to detect the ambient light at the corresponding first preset position. The electronic device detects ambient light through the at least two ambient light sensors to obtain light intensity values, and determines the film-attachment state of the screen based on the difference between the light intensity values ​​detected by the at least two ambient light sensors.

[0013] In the above solution, the protective film can be changed in structure or coating, so that the shading degree of different first preset positions is different, and the ambient light received by the ambient light sensors at different positions is different. Therefore, the film state of the screen can be determined by the difference between the light intensity values ​​detected by the two ambient light sensors. And the process of identifying the screen film state is not perceived by the user, and will not affect the user experience.

[0014] In another possible implementation of the first aspect, the electronic device includes a touch sensor, the touch sensor is arranged on the screen, the protective film has a preset touch recognition point and a wire, the endpoints of the wire include a first endpoint and a second endpoint, the first endpoint and the touch recognition point correspond to the same position on the screen. The electronic device performs touch detection on a second preset position of the screen through the touch sensor, the second preset position corresponds to the second endpoint of the wire, and determines the film-attaching state of the screen according to the touch detection result of the second preset position.

[0015] In the above scheme, touch recognition points and wires can be added to the protective film, one end of the wire is the touch recognition point, and the other end of the wire corresponds to the second preset position on the screen. When the touch recognition point is touched, an electrical signal will be generated at the screen position corresponding to the touch recognition point. The wire transmits the electrical signal to the second preset position corresponding to the second endpoint, so that the second preset position on the screen can also receive the electrical signal. When the electrical signal is detected at the second preset position, the electronic device can automatically recognize that a protective film is affixed to the screen, thereby achieving the effect of automatically identifying the status of the screen film.

[0016] In another possible implementation of the first aspect, the electronic device includes a camera, a preset mark displayed under invisible light is provided on the surface of the protective film, and the position of the preset mark is located within the field of view of the camera. The electronic device controls the camera to capture an image under invisible light, and detects whether the captured image includes the preset mark, obtains a mark detection result, and determines the film-attaching state of the screen according to the mark detection result.

[0017] In the above scheme, the electronic device can control the camera to capture images under invisible light, and automatically identify the film status of the screen by identifying whether there is a preset logo in the image, thereby ensuring the efficiency of automatic identification of the film status.

[0018] In another possible implementation of the first aspect, before the electronic device controls the screen through the first performance parameter, it also includes: the electronic device determines the first performance parameter based on the second performance parameter and the performance influencing factor corresponding to the protective film, and the performance influencing factor is the factor that the protective film affects the performance of the screen.

[0019] It can be understood that some factors will affect the performance after the screen is covered with a film. These factors are the performance influencing factors. In the above scheme, the performance influencing factors can be used as the basis for adjusting the performance parameters. The first performance parameters are determined by the second performance parameters and the performance influencing factors corresponding to the protective film. The performance of the screen after the protective film is covered can reach or be close to the performance when the screen is not covered with a protective film. The screen performance is improved more accurately and the user experience is improved.

[0020] In another possible implementation of the first aspect, the first performance parameter includes a first screen brightness adjustment parameter, the second performance parameter includes a second screen brightness adjustment parameter, the performance influencing factor includes a light transmittance corresponding to the protective film, and the electronic device determines the first performance parameter based on the second performance parameter and the performance influencing factor corresponding to the protective film, including: the electronic device adjusts the second screen brightness adjustment parameter based on the light transmittance to obtain the first screen brightness adjustment parameter.

[0021] In the above scheme, the light transmittance corresponding to the protective film can affect the intensity of the ambient light passing through after the film is applied, so the light transmittance is an important factor affecting some performances. The electronic device can adjust the second screen brightness adjustment parameter based on the light transmittance to obtain the first screen brightness adjustment parameter that is more suitable for the screen when the film is applied. After the screen film is applied, the first screen brightness adjustment parameter can be used to adjust the screen brightness, so that the screen brightness of the electronic device is appropriate, thereby improving the screen brightness adjustment performance after the film is applied.

[0022] In another possible implementation of the first aspect, the electronic device adjusts the second screen brightness adjustment parameter based on the light transmittance corresponding to the film type of the protective film to obtain the first screen brightness adjustment parameter matching the film type.

[0023] In the above scheme, protective films of different film types may have different effects on ambient light. For example, a thicker protective film has a lower light transmittance than a thinner protective film. Therefore, the second screen brightness adjustment parameter can be adjusted based on the light transmittance corresponding to protective films of different film types. When the screen is affixed with protective films of different film types, the screen brightness adjustment performance can reach or be close to the screen brightness adjustment performance when the screen is not affixed with a protective film. The screen brightness adjustment performance is improved more accurately and the user experience is improved.

[0024] In another possible implementation of the first aspect, the electronic device adjusts the screen brightness adjustment parameters in stages to gradually adjust the second screen brightness adjustment parameters to the first screen brightness adjustment parameters, and before performing the next stage of parameter adjustment processing, the electronic device controls the brightness of the screen based on the currently adjusted screen brightness adjustment parameters.

[0025] In the above scheme, when the screen brightness adjustment parameter is adjusted, the current screen brightness will also be automatically adjusted based on the adjusted screen brightness adjustment parameter. If the screen brightness changes too abruptly, it will irritate the user's eyes, resulting in a poor user experience, and it is easy to damage the screen itself. Therefore, the electronic device gradually adjusts the second screen brightness adjustment parameter to the first screen brightness adjustment parameter in stages to avoid a large increase in screen brightness and improve user experience.

[0026] In another possible implementation of the first aspect, before adjusting the screen brightness adjustment parameters at each stage, the electronic device re-identifies the film state to obtain a re-identified film state. If the re-identified film state is consistent with the previously identified film state, the electronic device adjusts the screen brightness adjustment parameters at the current stage.

[0027] In the above scheme, in order to prevent the current screen brightness and screen brightness adjustment parameters from being inconsistent with the current film state, the electronic device can re-identify the film state before adjusting the screen brightness adjustment parameters at each stage. When the re-identified film state is consistent with the previously identified film state, the electronic device adjusts the screen brightness adjustment parameters at the current stage, so that the current screen brightness and screen brightness adjustment parameters are more consistent with the current film state, so as to avoid misidentification of the film state or incorrect adjustment of the screen brightness adjustment parameters when the film state changes, thereby improving the accuracy of the adjustment of the screen brightness adjustment parameters and further improving the accuracy of screen control.

[0028] In another possible implementation of the first aspect, when the first performance parameter is a first touch performance parameter and the second performance parameter is a second touch performance parameter, the performance influencing factor includes a touch performance influencing factor, and the touch performance influencing factor is a factor that the protective film affects the touch performance of the screen. The touch sensitivity of the screen with the protective film when being controlled using the first touch performance parameter is higher than the touch sensitivity of the screen with the protective film when being controlled using the second touch performance parameter.

[0029] And / or, when the first performance parameter includes a first stylus performance parameter and the second performance parameter includes a second stylus performance parameter, the performance influencing factor includes a stylus performance influencing factor, and the stylus touch performance influencing factor is a factor that the protective film affects the stylus performance of the screen. The stylus touch sensitivity of the screen with the protective film attached when the first stylus performance parameter is used to control the screen is higher than the stylus touch sensitivity of the screen with the protective film attached when the second stylus performance parameter is used to control the screen.

[0030] In the above scheme, when the screen is affixed with a protective film, the touch performance will be affected by the protective film. After the screen is affixed with the protective film, the screen can be controlled using the first touch performance parameters that are more suitable for the film state, so that the touch performance of the screen after the protective film is affixed can reach or be close to the touch performance when the screen is not affixed with the protective film. The screen touch performance is accurately improved, and the user experience is improved.

[0031] Similarly, the protective film will affect the screen's reception of signals sent by the stylus on the touch screen. Therefore, if the screen is affixed with a protective film, the first stylus performance parameters that are more suitable for the film-applied state can be obtained based on the impact of the protective film on the stylus touch performance of the screen and the second stylus performance parameters. The screen can be controlled by the first stylus performance parameters, so that the stylus performance after the screen is affixed with the protective film can reach or be close to the stylus performance when the screen is not affixed with the protective film. The screen stylus performance is accurately improved, and the user experience is enhanced.

[0032] In another possible implementation of the first aspect, the first touch performance parameter includes a first touch response signal threshold, the second touch performance parameter includes a second touch response signal threshold, the touch performance influencing factor includes a first signal value, the first signal value is a touch signal value that is expected to be generated when the screen is touched with a protective film affixed, and the process by which the electronic device determines the first touch performance parameter through the second touch performance parameter and the touch performance influencing factor may be: the electronic device reduces the second touch response threshold based on the first signal value to obtain the first touch response threshold.

[0033] In the above scheme, after the protective film is attached to the screen, the screen is affected by the protective film, and the touch signal generated when touching is reduced. The touch response signal threshold can be adjusted so that the lower touch signal can also be responded to, thereby improving the touch performance of the screen.

[0034] In another possible implementation of the first aspect, the first stylus performance parameter includes a first weight proportional coefficient, the second stylus performance parameter includes a second weight proportional coefficient, the first weight proportional coefficient is a proportional coefficient between channels on the screen when the screen with a protective film is touched by the stylus, the second weight proportional coefficient is a proportional coefficient between channels on the screen when the screen without a protective film is touched by the stylus, and the stylus performance influencing factor includes a touch signal difference corresponding to the protective film, and the touch signal difference is an estimated difference between stylus signals received by the channel when the screen is touched by the stylus before and after the protective film is attached. The process of the electronic device determining the first stylus performance parameter through the second stylus performance parameter and the stylus performance influencing factor may be: the electronic device may adjust the second weight proportional coefficient based on the touch signal difference to obtain the first weight proportional coefficient.

[0035] In the above scheme, after the protective film is applied to the screen, the protective film will affect the screen's reception of the stylus signal. The touch position of the stylus can be determined more accurately by adjusting the weight proportional coefficient, so that the touch sensitivity of the stylus is improved when the screen after the film is applied is controlled using the first weight proportional coefficient.

[0036] In a second aspect, the present application provides an electronic device, the electronic device comprising a memory, a screen and a processor; the memory and the screen are coupled to the processor. The memory stores a computer program code, the computer program code comprises a computer instruction, and when the computer instruction is executed by the processor, the electronic device controls the screen to execute the method in the first aspect and any possible implementation thereof.

[0037] In a third aspect, an embodiment of the present application provides a computer storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method of the first aspect and any possible implementation thereof.

[0038] In a fourth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method of the first aspect and any possible implementation thereof. The computer may be an electronic device in the second aspect and any possible implementation thereof.

[0039] It can be understood that the beneficial effects that can be achieved by the electronic device of the second aspect, the computer storage medium of the third aspect, and the computer program product of the fourth aspect provided above can be referred to as the beneficial effects in the first aspect and any possible implementation method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of the change of screen brightness before and after film application provided by an embodiment of the present application;

[0041] Figure 2 is a schematic diagram of a touch performance change before and after film application provided by an embodiment of the present application;

[0042] Figure 3 is a schematic diagram of the change in performance of a stylus pen before and after film application provided in an embodiment of the present application;

[0043] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0044] Figure 5 It is a flowchart of a screen control method provided in an embodiment of the present application;

[0045] Figure 6 is a schematic diagram of the distribution of ambient light sensors provided in an embodiment of the present application;

[0046] Figure 7 It is a schematic diagram of the structure of a protective film provided in an embodiment of the present application;

[0047] Figure 8 The embodiment of the present application provides Figure 7 The protective film is shown as a schematic diagram attached to the screen;

[0048] Fig. 9 is a schematic diagram of the structure of another protective film provided in an embodiment of the present application;

[0049] Fig.10 The embodiment of the present application provides Fig. 9 The protective film is shown as a schematic diagram attached to the screen;

[0050] Fig.11 is a schematic diagram of the structure of another protective film provided in an embodiment of the present application;

[0051] Fig.12 The embodiment of the present application provides Fig.11 The protective film is shown as a schematic diagram attached to the screen;

[0052] Fig.13 is a schematic diagram of attaching two other protective films to the screen provided in an embodiment of the present application;

[0053] Fig.14 is a schematic diagram of the structure of another protective film provided in an embodiment of the present application;

[0054] Fig.15 The embodiment of the present application provides Fig.14 The protective film is shown as a schematic diagram attached to the screen;

[0055] Fig.16 is a schematic diagram of the structure of another protective film provided in an embodiment of the present application;

[0056] Fig.17 is a schematic diagram comparing the first screen brightness adjustment parameter and the second screen brightness adjustment parameter provided in an embodiment of the present application;

[0057] Fig.18 2 is a schematic diagram comparing touch performance parameters provided in the embodiments of the present application. DETAILED DESCRIPTION

[0058] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0059] A screen is an input / output device that can display information on the screen for users to view. Electronic devices can interact with users through the screen.

[0060] In actual application scenarios, users usually apply protective films on the screens of electronic devices. For example, if the electronic device is a mobile phone, the mobile phone usually has anti-peep films, tempered films, AR films, soft films, hard films, AG films, etc. However, after the protective film is applied to the screen, the performance of the screen will be affected by the protective film. This is because performance parameters are set for electronic devices at the factory. Electronic devices can control the screen through performance parameters so that the screen performance can achieve better results. However, after the screen is applied with a protective film, the protective film will affect the screen. If the performance parameters set at the factory continue to be used, the performance of the screen after the film is applied will be lower than the performance before the film was applied. For example, the screen brightness is determined based on the ambient light intensity of the electronic device. However, after the screen is applied with a protective film, the electronic device does not accurately detect the ambient light intensity of the environment in which it is located, which makes the screen brightness after the film is applied too low, which is not conducive to user use; or, due to the thickness of the protective film, the touch performance of the screen and the performance of the stylus are reduced.

[0061] For ease of understanding, the influence of the film on the screen performance (for example, the screen brightness adjustment performance, touch performance and stylus performance) is now illustrated with reference to the accompanying drawings.

[0062] 1. Impact on screen brightness adjustment performance:

[0063] Generally, there is a positive correlation between screen brightness and light intensity. When the ambient light intensity detected by the ambient light sensor on the electronic device is greater, the screen brightness is greater. Conversely, when the ambient light intensity detected by the ambient light sensor on the electronic device is smaller, the screen brightness is smaller. Therefore, after the screen protective film is attached, the electronic device cannot accurately detect the light intensity of the environment, so that the screen brightness that is adaptively adjusted by the light intensity of the environment is inappropriate.

[0064] Figure 1 A schematic diagram of the change in screen brightness adjustment performance before and after a film is provided in an embodiment of the present application, which is used to illustrate the impact of affixing a protective film to an electronic device on the screen brightness adjustment performance in the same environment.

[0065] Figure 1 (a) in the figure is used to indicate the screen brightness controlled by the factory-set screen brightness adjustment parameters when the protective film is not applied. Figure 1 (b) in the figure is used to indicate that the screen brightness is controlled by the factory-set screen brightness adjustment parameters after the protective film is applied. The screen brightness corresponding to the actual ambient light intensity is as follows Figure 1 As shown in (a) in Figure 1In (b), after the user puts a protective film on the screen, the ambient light sensor on the electronic device cannot accurately detect the light intensity of the environment because the protective film is not completely light-transmissive. This may cause the light intensity detected by the electronic device to be lower than the light intensity of the actual environment, which in turn causes the screen brightness adjusted by the electronic device based on the actual detected light intensity to be lower than the screen brightness corresponding to the light intensity of the actual environment, resulting in lower screen brightness.

[0066] (II) Impact on touch performance:

[0067] Taking a touch screen as an example, due to the certain thickness of the protective film and other reasons, when a finger touches the screen after the screen film is applied, the touch signal generated is weakened, which will reduce the sensitivity, response speed, and tracking of the finger when touching the screen, that is, affect the touch performance of the screen.

[0068] Figure 2 A schematic diagram of the change in touch performance before and after film application provided in an embodiment of the present application.

[0069] Figure 2 (a) in the figure is used to illustrate the touch effect controlled by the factory-set touch performance parameters when no protective film is applied. Figure 2 (b) in the figure is used to illustrate the touch effect controlled by the factory-set touch performance parameters after the protective film is applied. Figure 2 As shown in (a) in the figure, when the screen is touched by the user without the protective film, the screen will respond quickly. However, the touch signal generated when the screen is touched after the protective film is attached will be smaller than the touch signal generated when the screen is touched without the protective film. Figure 2 As shown in (b), if the touch signal generated when a finger touches the screen when the protective film is applied is too small, the screen cannot respond to the finger's touch, and the sensitivity of the screen decreases after the protective film is applied. At the same time, due to the decrease in the sensitivity of the screen touch, the screen cannot respond to the user's sliding gesture in time, and the screen's hand tracking performance also decreases. After the protective film is applied to the screen, the protective film will create a barrier between the finger and the screen, and will also cause a delay in the response time after the finger touches the screen.

[0070] (III) Impact on stylus performance:

[0071] Due to the thickness of the protective film and other reasons, applying the protective film will affect the screen's ability to receive signals sent by the stylus, and will reduce the response speed and tracking performance of the stylus when touching the screen, that is, affecting the stylus performance of the screen.

[0072] Figure 3 A schematic diagram of the change in performance of a stylus pen before and after film application provided in an embodiment of the present application.

[0073] Figure 3 (a) is used to illustrate the stylus touch effect controlled by the factory-set stylus performance parameters when the protective film is not attached. Figure 3 (b) in the figure is used to illustrate the stylus touch effect controlled by the factory-set stylus performance parameters after the protective film is applied. Figure 3 As shown in (a), when the screen is not covered with a protective film, the screen is highly sensitive, responds to the stylus in a short time, and has high chirality. The electronic device can determine the position of the stylus on the screen in a timely manner. The line drawn by the user operating the stylus on the touch screen is the same as the line received by the touch screen through touch, and the line is smooth. Figure 3 As shown in (b), when a protective film is applied to the screen, the sensitivity of the screen is reduced, the response time to the stylus is long, and the hand tracking is low. The electronic device cannot determine the position of the stylus on the screen in time, resulting in a difference between the lines drawn by the user operating the stylus on the touch screen and the lines received by the touch screen through touch.

[0074] Therefore, in order to prevent the screen performance from being degraded after the screen film is applied, such as the degradation of touch performance, the degradation of stylus performance, or the inappropriate adaptive adjustment of screen brightness, the embodiment of the present application provides a screen control method, which can be applied to the case where the electronic device is affixed with a protective film to adaptively optimize the screen performance. Specifically, when the screen of the electronic device is affixed with a protective film, the electronic device can control the screen through a set of new performance parameters different from the factory settings, so that the screen performance is not affected by the film or the impact of the film on the screen is reduced.

[0075] In some embodiments, when a protective film is affixed to an electronic device, the electronic device can control the screen by a first performance parameter, so that the performance of the screen with the protective film after being controlled by the first performance parameter is better than the performance of the screen with the protective film after being controlled by a second performance parameter. The second performance parameter is an initial performance parameter adopted by the electronic device when the screen is not affixed with the film. The initial performance parameter may be a performance parameter set when the electronic device leaves the factory.

[0076] Exemplarily, the electronic device can first identify the film status of the screen. When the electronic device identifies that the screen is affixed with a protective film, the electronic device controls the screen through a first performance parameter so that the performance of the screen after the protective film is affixed can reach or approach the performance of the screen without the protective film, thereby improving the user experience.

[0077] Among them, the performance parameter is a parameter related to the screen performance, and the screen performance may include at least one of the screen brightness adjustment performance, touch performance, or stylus performance, etc. The electronic device controls the screen through the performance parameter to achieve the effect of optimizing the screen performance. The first performance parameter may include at least one of the first screen brightness adjustment parameter, the first touch performance parameter, or the first stylus performance parameter. When the first performance parameter is the first screen brightness adjustment parameter, the second performance parameter is the second screen brightness adjustment parameter. Similarly, when the first performance parameter is the first touch performance parameter, the second performance parameter is the second touch performance parameter. When the first performance parameter is the first stylus performance parameter, the second performance parameter is the second stylus performance parameter. The electronic device can use at least one of the first screen brightness adjustment parameter, the first touch performance parameter, and the first stylus performance parameter to control the screen at the same time.

[0078] When the first touch performance parameters are used for the screen after the protective film is affixed, the touch performance issues such as decreased sensitivity, decreased tracking performance, and prolonged response time after the protective film is affixed can be improved. When the first stylus performance parameters are used for the screen after the protective film is affixed, the issues of decreased tracking performance after the screen is affixed with the protective film and the difference between the lines drawn on the touch screen by the user operating the stylus and the lines received by the touch screen through touch can be improved. When the first screen brightness adjustment parameters are used for the screen after the protective film is affixed, the issue of inconsistency between the brightness of the screen after the protective film is affixed and the brightness of the screen corresponding to the actual ambient light can be improved. Therefore, the embodiments of the present application can improve the problem of decreased screen performance after the protective film is affixed, so that the performance of the screen after the protective film is affixed can reach or approach the performance when the screen is not affixed with the protective film, thereby improving the user experience. For example, Figure 3 (c) in FIG. 1 is used to illustrate the touch performance of the stylus after being controlled by the first stylus performance parameter. Obviously, Figure 3 (c) compared to Figure 3 As for (b) in Figure 2, the stylus touch performance has been significantly improved, close to Figure 3 The stylus touch performance shown in (a).

[0079] Exemplarily, a preset film structure may be provided on the protective film, and the electronic device may perform a detection process on the screen corresponding to the preset film structure, and determine the film-attaching state of the screen through the detection result.

[0080] In the case where the film state characterizes that the screen has a protective film, the electronic device can determine the first performance parameter, and then control the screen according to the first performance parameter, so that the performance of the screen after the protective film is affixed can reach or approach the performance of the screen without a protective film, thereby improving the user experience. Exemplarily, the film state may include whether the screen has a protective film affixed, and / or the film type of the applied protective film. It is understood that in the case where the film state includes the film type of the applied protective film, the electronic device can determine the corresponding first performance parameter according to the film type of the protective film.

[0081] Exemplarily, the electronic device may be a mobile phone, a tablet computer, a smart remote controller, a wearable device (such as a smart bracelet, a smart watch or smart glasses, etc.), a PDA, an augmented reality (AR) / virtual reality (VR) device. Alternatively, the electronic device 400 may also be other types of electronic devices such as a portable multimedia player (PMP), a media player, etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0082] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0083] Please refer to Figure 4 In this application, the electronic device 400 is taken as an example of a mobile phone to introduce the electronic device 400 provided by this application. Figure 4 As shown, the electronic device 400 may include: a processor 410, an external memory interface 420, an internal memory 421, a universal serial bus (USB) interface 430, a charging management module 440, a power management module 441, a battery 442, an antenna 1, an antenna 2, a mobile communication module 450, a wireless communication module 460, an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, an earphone interface 470D, a sensor module 480, a button 490, an indicator 492, a camera 493, and a display screen 494. Among them, the sensor module 480 may include a pressure sensor 480A, a magnetic sensor 480B, a proximity light sensor 480C, a fingerprint sensor 480D, a touch sensor 480E, an ambient light sensor 480F, and the like.

[0084] In the embodiment of the present application, the electronic device 400 can perform corresponding detection on the preset film structure of the protective film through the ambient light sensor 480F, the camera 493, the touch sensor 480E, etc., and the processor 410 on the electronic device 400 determines the film-attached state of the display screen 494 through the detection result, for example, whether the display screen 494 is attached with a protective film, or what type of film the protective film attached with the display screen 494 is. If the display screen 494 is attached with a protective film, the processor 410 controls the display screen 494 using the first performance parameter.

[0085] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 400. In other embodiments of the present application, the electronic device 400 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 may be implemented in hardware, software, or a combination of software and hardware. For ease of understanding, the above components will be briefly introduced below.

[0086] The processor 410 may include one or more processing units, for example, the processor 410 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0087] The controller may be the nerve center and command center of the electronic device 400. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0088] The processor 410 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 410 is a cache memory. The memory may store instructions or data that the processor 410 has just used or cyclically used. If the processor 410 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 410, and thus improves the efficiency of the system.

[0089] In some embodiments, the processor 410 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0090] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 400. In other embodiments of the present application, the electronic device 400 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0091] The charging management module 440 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 440 may receive charging input from a wired charger through the USB interface 430. In some wireless charging embodiments, the charging management module 440 may receive wireless charging input through a wireless charging coil of the electronic device 400. While the charging management module 440 is charging the battery 442, it may also power the electronic device through the power management module 441.

[0092] The power management module 441 is used to connect the battery 442, the charging management module 440 and the processor 410. The power management module 441 receives input from the battery 442 and / or the charging management module 440, and supplies power to the processor 410, the internal memory 421, the external memory, the display screen 494, the camera 493, and the wireless communication module 460. The power management module 441 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 441 can also be set in the processor 410. In other embodiments, the power management module 441 and the charging management module 440 can also be set in the same device.

[0093] The wireless communication function of the electronic device 400 can be implemented through the antenna 1, the antenna 2, the mobile communication module 450, the wireless communication module 460, the modem processor and the baseband processor.

[0094] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 400 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0095] The mobile communication module 450 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 400. The mobile communication module 450 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 450 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 450 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 450 can be set in the processor 410. In some embodiments, at least some of the functional modules of the mobile communication module 450 can be set in the same device as at least some of the modules of the processor 410.

[0096] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 470A, a receiver 470B, etc.), or displays an image or video through a display screen 494. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 410 and be set in the same device as the mobile communication module 450 or other functional modules.

[0097] The wireless communication module 460 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 400. The wireless communication module 460 can be one or more devices integrating at least one communication processing module. The wireless communication module 460 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 410. The wireless communication module 460 can also receive the signal to be sent from the processor 410, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0098] In some embodiments, the antenna 1 of the electronic device 400 is coupled to the mobile communication module 450, and the antenna 2 is coupled to the wireless communication module 460, so that the electronic device 400 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).

[0099] The electronic device 400 implements the display function through a GPU, a display screen 494, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 494 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 410 may include one or more GPUs, which execute program instructions to generate or change display information.

[0100] The display screen 494 is used to display images, videos, etc. The display screen 494 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 400 may include 1 or N display screens 494, where N is a positive integer greater than 1.

[0101] The electronic device 400 can realize the shooting function through ISP, camera 493, video codec, GPU, display screen 494 and application processor.

[0102] ISP is used to process the data fed back by camera 493. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 493.

[0103] The camera 493 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 400 may include 1 or N cameras 493, where N is a positive integer greater than 1.

[0104] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 400 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0105] Video codecs are used to compress or decompress digital videos. The electronic device 400 may support one or more video codecs. Thus, the electronic device 400 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0106] NPU is a neural network (NN) computing processor, which can quickly process input information and continuously self-learn by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain. NPU can realize applications such as intelligent cognition of electronic device 400, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0107] The external memory interface 420 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 400. The external memory card communicates with the processor 410 through the external memory interface 420 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0108] The internal memory 421 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 410 executes various functional applications and data processing of the electronic device 400 by running the instructions stored in the internal memory 421. The internal memory 421 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 400 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 421 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0109] The electronic device 400 can implement audio functions such as music playing and recording through the audio module 470, the speaker 470A, the receiver 470B, the microphone 470C, the headphone jack 470D, and the application processor.

[0110] The audio module 470 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 470 can also be used to encode and decode audio signals. In some embodiments, the audio module 470 can be arranged in the processor 410, or some functional modules of the audio module 470 can be arranged in the processor 410.

[0111] The speaker 470A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 400 can listen to music or listen to a hands-free call through the speaker 470A.

[0112] The receiver 470B, also called a "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device 400 receives a call or a voice message, the voice can be received by placing the receiver 470B close to the human ear.

[0113] Microphone 470C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 470C to input the sound signal into microphone 470C. The electronic device 400 can be provided with at least one microphone 470C. In other embodiments, the electronic device 400 can be provided with two microphones 470C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 400 can also be provided with three, four or more microphones 470C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0114] The earphone interface 470D is used to connect a wired earphone and can be a USB interface 430 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0115] The pressure sensor 480A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 480A can be set on the display screen 494. There are many types of pressure sensors 480A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 480A, the capacitance between the electrodes changes. The electronic device 400 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 494, the electronic device 400 detects the touch operation intensity according to the pressure sensor 480A. The electronic device 400 can also calculate the touch position according to the detection signal of the pressure sensor 480A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0116] The magnetic sensor 480B includes a Hall sensor. The electronic device 400 can use the magnetic sensor 480B to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 400 is a flip phone, the electronic device 400 can detect the opening and closing of the flip cover according to the magnetic sensor 480B. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0117] The proximity light sensor 480C may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 400 emits infrared light outward through the light emitting diode. The electronic device 400 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 400. When insufficient reflected light is detected, the electronic device 400 can determine that there is no object near the electronic device 400. The electronic device 400 can use the proximity light sensor 480C to detect that the user holds the electronic device 400 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 480C can also be used in leather case mode, and the pocket mode automatically unlocks and locks the screen.

[0118] The ambient light sensor 480F is used to sense the ambient light brightness. The electronic device 400 can adaptively adjust the brightness of the display screen 494 according to the perceived ambient light brightness. The ambient light sensor 480F can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 480F can also cooperate with the proximity light sensor 480C to detect whether the electronic device 400 is in a pocket to prevent accidental touches.

[0119] The fingerprint sensor 480D is used to collect fingerprints. The electronic device 400 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc.

[0120] The touch sensor 480E is also called a "touch panel". The touch sensor 480E can be set on the display screen 494, and the touch sensor 480E and the display screen 494 form a touch screen, also called a "touch screen". The touch sensor 480E 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 494. In other embodiments, the touch sensor 480E can also be set on the surface of the electronic device 400, which is different from the position of the display screen 494.

[0121] The key 490 includes a power key, a volume key, etc. The key 490 may be a mechanical key or a touch key. The electronic device 400 may receive key input and generate key signal input related to user settings and function control of the electronic device 400.

[0122] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0123] The screen control method provided by the embodiment of the present application is described in detail below in conjunction with the accompanying drawings.

[0124] As mentioned above, the film state of the screen determines which performance parameters are used to more accurately control the screen. Therefore, it is very important to accurately determine the film state of the screen. In some embodiments, the film state of the screen can be determined by at least one of the following two methods (i.e., method A and method B):

[0125] Method A: Consider the film structure of the protective film, perform detection processing corresponding to the film structure, and automatically identify the film status of the screen based on the detection results.

[0126] It is understandable that some protective films may have structural characteristics. Therefore, in the embodiments of the present application, a corresponding detection method can be set according to the structural characteristics of the protective film to detect whether the screen is affixed with a protective film having the structural characteristics.

[0127] Exemplarily, in an embodiment of the present application, a protective film with a preset film structure is provided. Through the screen control method in the embodiment of the present application, it is possible to automatically identify whether an electronic device is affixed with the above-mentioned protective film with a preset film structure, and when the protective film is affixed, the screen of the electronic device can be more accurately controlled to maintain the performance of the screen. It can be understood that the preset film structure can be a protective film innovatively proposed in the embodiment of the present application. It should be noted that the method in each embodiment of the present application is based on the structural characteristics of the protective film to identify the film affixment status. Therefore, in addition to detecting whether a protective film with a preset film structure is affixed to the screen, it is also possible to detect whether a protective film with other structural characteristics is affixed to the screen, without limitation.

[0128] Method B: Determine the film state of the screen by obtaining the film state manually input by the user.

[0129] In some embodiments, in addition to automatically identifying the film status of the screen, the electronic device can also obtain the film status manually input by the user. For example, if the protective film used by the user does not have obvious structural characteristics, the electronic device may not be able to accurately identify the film status, for example, it cannot identify whether the film is applied, or it can identify that the screen is covered with a protective film, but cannot identify what type of film the protective film is. In this case, the electronic device can provide an entry for inputting the film status in the interface, obtain the film status entered by the user in the entry, for example, obtain the film type of the manually applied protective film, and the electronic device then determines the corresponding first performance parameter according to the film type of the protective film, and controls the screen according to the first performance parameter.

[0130] Figure 5 A flowchart of a screen control method provided in an embodiment of the present application is provided, and the method specifically comprises the following steps:

[0131] S501: The electronic device performs detection processing on the screen corresponding to the preset membrane structure.

[0132] It can be understood that in the embodiment of the present application, the protective film has a preset film structure. Since the protective film has a preset film structure, after the protective film with the preset film structure is attached to the screen, some data collected by the electronic device will be different from the data collected when the protective film is not attached. For example, the data collected by the ambient light sensor, camera, or touch sensor in the electronic device will be different from the data collected when the protective film is not attached. Therefore, it is possible to determine whether the screen is attached with a protective film by performing data detection processing corresponding to the preset film structure.

[0133] In some embodiments, the preset film structure may include preset changes in the appearance, shape, internal structure, etc. of the protective film, for example: hollowing out a preset position of the protective film, setting a preset mark on the external structure of the protective film, or setting a special coating inside the protective film. The above-mentioned preset film structure can be used to help electronic devices identify whether the screen is affixed with a protective film. Specifically, the electronic device can perform corresponding tests on the preset film structure and determine the film-attached state of the screen through the test results.

[0134] Exemplarily, the preset logo is set on the external structure of the protective film, which may include patterns, texts, symbols, etc. printed on the protective film. The patterns, texts, symbols, etc. may be printed on the protective film by a silk screen printing process, which refers to using special ink or pigment to set patterns, texts, symbols on the surface of the protective film by a silk screen printing process.

[0135] S502: Determine the film status of the screen according to the detection result.

[0136] In some embodiments, the film state may include: no protective film applied, a protective film applied, or at least one of the film types of the applied protective film, wherein the film type of the applied protective film is used to indicate which type of protective film is applied to the screen.

[0137] In some embodiments, the protective films can be classified according to their functions to obtain protective films of different film types, such as: anti-peep protective films, anti-blue light protective films, tempered films, etc.

[0138] In other embodiments, the protective films may be classified by thickness, material, structure, coating used, etc. The classification method of the protective film type is not limited in the embodiments of the present application.

[0139] In one example, when a screen film is applied, the preset film structure on the protective film makes the sensor detection result on the electronic device different from the sensor detection result when the screen film is not applied. For example, the preset film structure can make the ambient light detected by the ambient light sensor different before and after the film is applied. Therefore, the electronic device can determine the screen film application status through the change of the sensor detection result, for example: whether the protective film is applied, or what type of protective film is applied to the screen.

[0140] In another example, when the screen is covered with a film, the preset film structure on the protective film makes the image taken by the camera on the electronic device different from the image taken by the camera when the screen is not covered with a film. Therefore, the electronic device can determine the state of the screen film by the changes in the image taken by the camera.

[0141] In some embodiments, protective films of different film types may have different preset film structures, for example: protective films of different film types may have different hollow positions; or protective films of different film types may have different preset marks on the protective films; or protective films of different film types may have different coatings inside the protective films.

[0142] In a possible implementation, the electronic device includes at least two ambient light sensors, and the preset film structure of the protective film is set based on the position of the ambient light sensor. Specifically, the protective film has first preset positions corresponding to the at least two ambient light sensors respectively; different first preset positions have different degrees of shielding of ambient light; and the ambient light sensor is used to detect the ambient light at the corresponding first preset position. The electronic device detects ambient light through at least two ambient light sensors to obtain a light intensity value, and determines the film-attaching state of the screen based on the difference between the light intensity values ​​detected by the at least two ambient light sensors.

[0143] Exemplarily, different first preset positions on the protective film may have different shielding degrees for ambient light, which may be achieved by at least one of the following methods:

[0144] Implementation method 1: The protective film is provided with a hollow portion at one of the first preset positions among the plurality of first preset positions, and the ambient light will directly illuminate the ambient light sensor corresponding to the hollow portion, so the hollow portion cannot block the ambient light, but the other first preset positions on the protective film except the hollow portion will block the ambient light. That is, different first preset positions on the protective film have different degrees of blocking the ambient light.

[0145] Figure 6 A schematic diagram of the distribution of ambient light sensors provided in an embodiment of the present application is shown in FIG. Figure 7 A schematic diagram of the structure of a protective film provided in an embodiment of the present application is shown in FIG. Figure 8 The embodiments of the present application provide Figure 7 The protective film is shown as a schematic diagram applied to the screen. Figure 6 The diagram shows the distribution positions of two ambient light sensors (ie, ambient light sensor 601 and ambient light sensor 602 ) on the screen when no film is applied. Figure 7 The protective film shown in the figure also has two first preset positions, namely 701 and 702, which correspond to the positions of two ambient light sensors respectively, and the first preset position 701 corresponding to the ambient light sensor 601 is hollowed out, that is, the protective film is provided with a hollow portion 701a, so that the first preset positions at different positions have different degrees of shielding of ambient light.

[0146] Figure 8 In the figure, the dotted line and the solid line are used to distinguish whether the protective film blocks the ambient light sensor or not. Figure 8 As shown, after the protective film is attached to the screen, the ambient light sensor 601 is not blocked because the hollow portion 701a corresponds to the ambient light sensor 601, and is indicated by a solid line. The ambient light sensor 602 is blocked by the protective film, and is therefore indicated by a dotted line.

[0147] like Figure 8 As shown, the ambient light will directly shine on the ambient light sensor 601. At this time, the ambient light received by the ambient light sensor 601 is the same as that received when the screen is not covered with a film. However, for the ambient light sensor 602, the ambient light will shine on the ambient light sensor 602 through the protective film. Since the protective film is not completely light-transmissive, the protective film blocks the ambient light sensor 602, so that the ambient light received by the ambient light sensor 601 and the ambient light sensor 602 is different, and the light intensity values ​​of the ambient light detected by the ambient light sensor 602 and the ambient light sensor 601 are different. The electronic device can determine that the screen is in a state of being covered with a protective film by the difference between the light intensity values ​​detected by the ambient light sensor 602 and the ambient light sensor 601. The difference can be the difference between the light intensity values ​​detected by the ambient light sensor 602 and the ambient light sensor 601.

[0148] The electronic device may be provided with more than three ambient light sensors, and the protective film may be provided with more than one hollow portion, and the number of the hollow portions is less than the number of the ambient light sensors. For example, the electronic device may be provided with three ambient light sensors, and the protective film may be provided with one or two hollow portions, the positions of which correspond to the positions of the ambient light sensors on the electronic device, so that the degree of shielding of the ambient light by the position of the hollow portion is less than the degree of shielding of the ambient light by other positions of the protective film, and the electronic device may determine the film-attaching status of the screen by the difference between the light intensity values ​​detected by at least two ambient light sensors.

[0149] Implementation method 2: The first preset positions of the protective film correspond to the positions of the ambient light sensors respectively. The types of coatings at different first preset positions on the protective film may be different, and different types of coatings have different degrees of shielding of ambient light. Then, if the screen is affixed with the protective film, the first preset positions of different coatings will have different degrees of shielding of ambient light from the corresponding ambient light sensors. Therefore, the electronic device can determine the film-affixing state of the screen by the difference between the light intensity values ​​of the ambient light detected by at least two ambient light sensors.

[0150] Fig. 9 A schematic diagram of the structure of another protective film provided in an embodiment of the present application, Fig.10 The embodiments of the present application provide Fig. 9 The protective film is shown in the figure. Fig. 9In the protective film, there are two coatings, and the two coatings have different effects on ambient light. For example, when ambient light passes through different coatings on the protective film, the degree of shielding of ambient light is different. Fig.10 As shown, the phone is equipped with two ambient light sensors. Fig. 9 When the protective film is attached to the electronic device, the protective film coating on the ambient light sensor 1001 is different from the protective film coating on the ambient light sensor 1002. Therefore, the ambient light received by the ambient light sensor 1001 and the ambient light sensor 1002 is different, so the ambient light intensity detected by the ambient light sensor 1001 and the ambient light sensor 1002 is different. Therefore, there is a difference in the light intensity values ​​detected by the ambient light sensor 1001 and the ambient light sensor 1002, and the electronic device can determine that the screen is attached with a protective film by the difference in light intensity.

[0151] There may be more than three coatings on the protective film, and the electronic device may be provided with more than two ambient light sensors, as long as the protective film coatings above at least two ambient light sensors are different. For example: there are three coatings on the protective film, and there are three ambient light sensors on the electronic device. The corresponding ambient light sensors under the protective films with different coatings are different, or any one coating may correspond to two ambient light sensors, and one of the remaining two coatings may correspond to one ambient light sensor.

[0152] Implementation method three: The type of coating at different first preset positions on the protective film can be the same, but the thickness of the coating at different first preset positions can be different, and coatings of different thicknesses have different shielding degrees to ambient light. Then, if the screen is affixed with the protective film, the first preset positions with different coating thicknesses will have different shielding degrees to the ambient light of the corresponding ambient light sensor. Therefore, the electronic device can determine the film-affixing state of the screen by the difference between the light intensity values ​​of the ambient light detected by at least two ambient light sensors.

[0153] Exemplarily, the protective film 1 is provided with a coating 1, the coating thickness of region 1 in the protective film 1 is 1 mm, and the coating thickness of region 2 in the protective film 1 is 4 mm, and different coating thicknesses have different shielding degrees to ambient light. When the protective film 1 is attached to the screen, the ambient light sensor 1 is located below region 1, and the ambient light sensor 2 is located below region 2. There is a difference between the light intensity value detected by the ambient light sensor 1 and the light intensity value detected by the ambient light sensor 2, so it can be determined that the screen is attached with a protective film.

[0154] Furthermore, the electronic device can not only determine whether the screen is affixed with a protective film by the light intensity difference, but also determine the film type of the affixed protective film by the light intensity difference.

[0155] In one example, it is assumed that the coating (i.e., coating category) used for protective films of different film types is the same, but the coating thickness of different regions of protective films of different film types is different, and different coating thicknesses have different shading degrees to ambient light. When protective films of different film types are attached to the screen, the differences between the light intensity values ​​obtained when at least two ambient light sensors detect ambient light are different, and the film type of the protective film attached to the screen is determined by different differences. For example, protective film 1 and protective film 2 are protective films of different film types, and protective film 1 and protective film 2 are provided with the same type of coating, the coating thickness of region 1 in protective film 1 is 1 mm, the coating thickness of region 2 in protective film 1 is 4 mm, the coating thickness of region 2 in protective film 2 is 1 mm, and the coating thickness of region 2 in protective film 1 is 6 mm, and different coating thicknesses have different shading degrees to ambient light. When protective film 1 and protective film 2 are attached to electronic devices respectively, ambient light sensor 1 is located below region 1, and ambient light sensor 2 is located below region 2. When protective film 1 is affixed to the electronic device, the difference between the light intensity value detected by ambient light sensor 1 and the light intensity value detected by ambient light sensor 2 is recorded as difference 1. When protective film 2 is affixed to the electronic device, the difference between the light intensity value detected by ambient light sensor 1 and the light intensity value detected by ambient light sensor 2 is recorded as difference 2. Difference 1 and difference 2 are different. Difference 1 represents that the film type is protective film 1, and difference 2 represents that the film type is protective film 2. Therefore, the film type of the protective film affixed to the screen is determined by different differences.

[0156] In another example, when two types of coatings are provided on the protective film, at least two coating types used by protective films of different film types are different, and different coating types have different shading degrees for ambient light, and different ambient light sensors may correspond to different types of coatings. When the screen is affixed with protective films of different film types, the differences between the light intensity values ​​obtained when at least two ambient light sensors detect ambient light are different, and the film type of the protective film affixed to the screen can be determined by the different differences. Exemplarily, there are coatings 1 and 2 on the protective film 1, and there are coatings 3 and 4 on the protective film 2, and the protective film 1 and the protective film 2 are of different film types. When the protective film 1 is affixed to the electronic device, coating 1 is provided above the ambient light sensor 1, and coating 2 is provided above the ambient light sensor 2. When the protective film 2 is affixed to the electronic device, coating 3 is provided above the ambient light sensor 1, and coating 4 is provided above the ambient light sensor 2. When protective film 1 is affixed to the electronic device, the difference between the light intensity value detected by ambient light sensor 1 and the light intensity value detected by ambient light sensor 2 is recorded as difference 1. When protective film 2 is affixed to the electronic device, the difference between the light intensity value detected by ambient light sensor 1 and the light intensity value detected by ambient light sensor 2 is recorded as difference 2. Difference 1 and difference 2 are different. Difference 1 represents that the film type is protective film 1, and difference 2 represents that the film type is protective film 2. Therefore, the film type of the protective film affixed to the screen is determined by different differences.

[0157] In another possible implementation, a preset touch recognition point and a wire are provided on the protective film, and the endpoints of the wire include a first endpoint and a second endpoint, and the first endpoint and the touch recognition point correspond to the same position on the screen. The electronic device includes a touch sensor, and the touch sensor is arranged on the screen. The electronic device performs touch detection on a second preset position of the screen through the touch sensor, and the second preset position corresponds to the second endpoint of the wire, that is, the position corresponding to the second endpoint of the wire on the screen is the second preset position. The electronic device can determine the film-attaching state of the screen according to the touch detection result of the second preset position.

[0158] In this embodiment, the touch recognition point refers to a touch position set on the protective film. When the user touches the touch recognition point, the touch sensor can detect the touch at the screen position corresponding to the touch recognition point, and the touch sensor converts the touch at the screen position into an electrical signal. Among them, the number of touch recognition points can be one or more, and the touch recognition point can be set at any position on the screen, for example, the edge of the screen. The touch range of the touch recognition point set on the protective film can be set to any shape such as a circle, a square, a triangle, etc. The size of the touch recognition point can be any size, for example, its size can be 4*4 mm. Since the wire is set on the protective film, after the protective film is attached to the screen, in order to prevent the wire from blocking the user's line of sight and affecting the user experience, the wire can be made of a transparent material, and one or more wires can be set in the protective film to connect to the touch recognition point.

[0159] In this embodiment, when the touch recognition point on the protective film is touched by the user, the touch sensor converts the touch of the screen position corresponding to the touch recognition point into an electrical signal, and the electrical signal will pass through the wire to transmit the electrical signal to the other end of the wire, that is, the second endpoint. The position corresponding to the second endpoint of the wire on the screen is the second preset position. It can be understood that the second preset position is the starting point on the screen. When the touch recognition point is touched, an electrical signal will be received at the second preset position through the wire. If it is detected that the electrical signal is received at the second preset position on the screen, it means that a protective film is attached to the screen. Among them, the range size of the second preset position can be any size, for example, 2mm*2mm. The number of second preset positions can be one or more, and the second preset position can be set at any position on the screen, such as the edge of the screen.

[0160] Fig.11 A schematic diagram of the structure of another protective film provided in an embodiment of the present application, Fig.12 The embodiments of the present application provide Fig.11 The protective film is shown as a schematic diagram applied to the screen. Fig.11 In the embodiment, a touch recognition point 1101 and a wire 1102 are provided on the protective film. When the screen is not covered with a protective film, the touch position detected by the touch sensor is the screen position touched by the user, and the touch sensor can convert the touch at the touch position into an electrical signal. Fig.12 In Fig.11When the protective film is attached to the screen, when the user touches the touch recognition point 1101, the touch sensor receives the touch of the user on the touch recognition point 1101, and converts the touch into an electrical signal, and transmits the electrical signal to the second preset position 1103 on the screen through the wire 1102, so that the screen position where the second preset position 1103 is located can receive the electrical signal. Therefore, when the screen detects both the electrical signal of the second preset position 1103 and the electrical signal generated by the touch recognition point 1101 being touched, the electronic device can determine that the screen is attached with a protective film.

[0161] In other examples, there may be a touch recognition point and multiple wires on the protective film. That is, a touch recognition point in the protective film is connected to multiple wires, and there will be multiple second preset positions on the corresponding screen, and the number of second preset positions is the same as the number of wires. When the user touches the touch recognition point on the protective film, multiple second preset positions on the screen can receive electrical signals. When the screen simultaneously detects an electrical signal from at least one second preset position and an electrical signal generated by the touch recognition point being touched, it is determined that the screen is covered with a protective film.

[0162] In other examples, Fig.13 Schematic diagram of attaching two other protective films to the screen provided in the embodiment of the present application. Fig.13 For example, there may be multiple touch recognition points 1301 on the protective film, and each touch recognition point 1301 is connected to a wire 1302, and the number of touch recognition points 1301 is the same as the number of wires 1302. When a user touches any touch recognition point 1301 on the protective film, the other end of the wire 1302 can receive an electrical signal at the corresponding second preset position 1303 on the screen.

[0163] After protective films of different film types are attached to the screen, the second preset positions on the screen may be different, and the electronic device may determine the film type of the protective film attached to the screen through electrical signals received by the screen at different second preset positions. Fig.12 and Fig.13 The protective film attached to the screen in (b) is a protective film of a different film type. Fig.12 shows the position of the second preset position 1103 on the screen, Fig.13(b) in the figure shows the position of the second preset position 1304 on the screen. When the user touches the touch recognition point 1101 so that the second preset position 1103 on the screen receives an electrical signal, it can be determined that the screen is covered with protective film 1 by detecting the position of the second preset position 1103 on the screen. When the user touches the touch recognition point 1305 so that the second preset position 1304 on the screen receives an electrical signal, it can be determined that the screen is covered with protective film 2 by detecting the position of the second preset position 1304 on the screen.

[0164] In another possible implementation, a preset logo can also be set on the surface of the protective film, and when the protective film is attached to the screen, when the electronic device controls the camera to shoot, the preset logo can be located within the field of view of the camera. Among them, the preset logo can be a pattern, text, symbol, etc., and the preset logo can be displayed under invisible light, such as infrared light, etc. Since the camera is used by the user to take pictures normally, the picture obtained is under visible light, so the preset logo can be set to be displayed under invisible light, which can prevent the preset logo from appearing in the photos taken by the user, thereby improving the user experience. Subsequently, the electronic device controls the camera to capture images under invisible light, and detects whether the captured image includes a preset logo, obtains a logo detection result, and then determines the film state of the screen according to the logo detection result. Among them, the electronic device can identify the preset logo when the camera is turned on, for example: after the camera is turned on, the presence of a preset logo in the field of view of the camera is detected by infrared. When the electronic device is a mobile phone, the camera can be a front camera.

[0165] Fig.14 A schematic diagram of the structure of another protective film provided in an embodiment of the present application, Fig.15 The embodiments of the present application provide Fig.14 The protective film is shown in the figure. Fig.14 In the example, the preset mark is the concentric circle 1401. Fig.15 As shown, when Fig.14 When the protective film is attached to the screen, the electronic device recognizes the existence of concentric circles 1401 in the shooting field of the camera under invisible light, and determines that the screen is in a state of being attached with the protective film.

[0166] The preset identifications of protective films of different film types may be different, and the electronic device may determine the film type of the protective film corresponding to the different preset identifications by identifying the different preset identifications. Fig.16 A schematic diagram of the structure of another protective film provided in an embodiment of the present application, Fig.14 and Fig.16 The protective films shown in the figure are protective films of different film types. Fig.14 The mark set on the protective film 1 is a concentric circle 1401, Fig.16 The mark set on the protective film 2 in the figure is a triangle 1601, and the protective film 1 and the protective film 2 are protective films of different film types. Fig.14 When the protective film 1 in FIG. 1 is attached to the screen, the electronic device recognizes the existence of concentric circles 1401 in the camera's field of view under invisible light, and determines that the protective film attached to the screen at this time is the protective film 1. Fig.16 When the protective film 2 in FIG. 1 is attached to the screen, the electronic device recognizes the existence of a triangle 1601 in the shooting field of view of the camera under invisible light, and determines that the protective film attached to the screen at this time is the protective film 2.

[0167] S503: When the film-sticking state indicates that the screen is covered with a protective film, the electronic device controls the screen based on a first performance parameter corresponding to the film type.

[0168] In some embodiments, each film type has its own corresponding first performance parameter. After determining that the screen is affixed with a protective film and the film type of the affixed protective film, the electronic device determines the first performance parameter corresponding to the film type and controls the screen through the first performance parameter. In this embodiment, since protective films of different film types have different effects on screen performance, the first performance parameters corresponding to different film types can be determined by identifying the film type of the protective film. Even if the screen is affixed with protective films of different film types, the screen performance can reach or approach the performance when the screen is not affixed with a protective film, thereby improving the screen performance and thus enhancing the user experience.

[0169] In some embodiments, protective films of the same film type can use the same first performance parameter. For example, protective film 1 and protective film 2 belong to the same film type. When protective film 1 is applied to the screen, the first performance parameter used by the screen can be the same as the first performance parameter used by the screen when protective film 2 is applied to the screen.

[0170] Exemplarily, when the effects of protective films of different film types on screen performance are different, the first performance parameters corresponding to protective films of different film types may be different. For example, the protective films are classified by thickness, that is, the thicknesses of protective films of different film types are different. Assuming that the effect of a thinner protective film on the touch performance of the screen is less than the effect of a thicker protective film on the touch performance of the screen, the first touch performance parameter in the first performance parameters corresponding to the thinner protective film is different from the first touch performance parameter in the first performance parameters corresponding to the thicker protective film.

[0171] Exemplarily, when the effects of protective films of different film types on screen performance are the same, the first performance parameters corresponding to protective films of different film types may be the same. For example: protective film 1 and protective film 2 belong to protective films of different film types, respectively. Assuming that the light transmittance of protective film 1 to ambient light is the same as the light transmittance of protective film 2 to ambient light, then protective film 1 and protective film 2 have the same effects on the detection of the ambient light sensor of the electronic device, then protective film 1 and protective film 2 may correspond to the same first screen brightness adjustment parameter. It should be understood that in embodiments of the present application, the first performance parameters corresponding to protective films of different film types may be determined by the effects of protective films of different film types on screen performance.

[0172] In the above embodiment, when protective films of different film types are affixed to the screen, the impact on the performance of the screen may be different. In this embodiment, even if the screen is affixed with protective films of different film types, the electronic device determines the corresponding first performance parameter by the film type of the protective film currently affixed to the screen, and controls the screen by the first performance parameter, so that even if the screen is affixed with protective films of different film types, the screen performance can still reach or be close to the screen performance without the film.

[0173] In some embodiments, the electronic device determines the first performance parameter based on the second performance parameter and the performance influencing factor corresponding to the protective film, where the performance influencing factor is a factor that the protective film affects the performance of the screen.

[0174] Taking the first performance parameter being the first screen brightness adjustment parameter as an example, the performance influencing factors may include: factors affecting the light intensity detection of the ambient light sensor on the electronic device caused by the protective film. That is, due to the fact that the protective film is not completely light-transmissive, the light intensity of the environment detected by the ambient light sensor on the electronic device after the protective film is applied to the screen is different from the actual light intensity of the environment, which in turn causes the screen brightness adjusted based on the light intensity after the protective film is applied to the screen to be inconsistent with the screen brightness corresponding to the actual ambient light, which will affect the brightness adjustment performance of the screen.

[0175] Taking the first performance parameter as the first touch performance parameter as an example, the performance influencing factors may include: factors affecting the touch signal caused by the protective film. That is, the touch signal generated when the screen is touched after the protective film is attached to the screen is smaller than the touch signal generated when the screen is touched without the protective film attached to the screen. When the touch signal is low, the electronic device will not be able to respond to the touch, affecting the touch performance of the screen. Among them, the touch signal can also be called an electrical signal.

[0176] Taking the first performance parameter as the first stylus performance parameter as an example, the performance influencing factors may include: factors affecting the screen receiving the stylus signal due to the protective film. That is, the signal sent by the stylus received by the screen after the protective film is attached to the screen is smaller than the signal sent by the stylus received by the screen when the protective film is not attached to the screen, so that the electronic device may not respond to the touch of the stylus, affecting the stylus performance of the screen.

[0177] In this embodiment, after the protective film is affixed to the screen, the electronic device can determine the first performance parameter corresponding to the protective film through the second performance parameter and the performance influencing factor corresponding to the protective film, and control the screen through the first performance parameter. The screen performance can reach or approach the screen performance without the film, thereby achieving improved screen performance.

[0178] In other embodiments, as time goes by, the protective film attached to the screen will be worn by the outside world, and its thickness and surface smoothness will decrease, or its coating may age, etc., so that the performance impact factor of the protective film on the screen will also change over time. In this case, the use time of the protective film and the performance impact factor of the protective film on the screen can be used as the basis for adjusting the first performance parameter, that is, the electronic device jointly determines the first performance parameter based on the second performance parameter and the performance impact factor corresponding to the protective film and the use time of the protective film.

[0179] In a possible implementation, taking the first performance parameter as the first screen brightness adjustment parameter as an example, the screen brightness adjustment parameter can be represented by a screen brightness adjustment curve, and the electronic device can adaptively adjust the screen brightness according to the light intensity of the environment, that is, different ambient light intensities correspond to different screen brightnesses. After the screen is affixed with a protective film, the protective film will affect the transmittance of ambient light. Therefore, the light intensity detected by the ambient light sensor when the screen is affixed with the film does not match the light intensity of the actual environment, so that the screen brightness adjusted after the film is affixed also does not match the screen brightness corresponding to the light intensity of the actual environment. Therefore, the light transmittance corresponding to the protective film can be used as a performance influencing factor, and the initial screen brightness adjustment parameter used when the screen is not affixed with the film, that is, the second screen brightness adjustment parameter, is adjusted by the light transmittance of the protective film to obtain the screen brightness adjustment parameter suitable for the screen after the film is affixed, that is, the first screen brightness adjustment parameter.

[0180] Furthermore, the light transmittance corresponding to protective films of different film types may be different, and the electronic device may adjust the second screen brightness adjustment parameter based on the light transmittance corresponding to the film type to obtain the first screen brightness adjustment parameter corresponding to the film type. The specific process may be: first determine the film type of the protective film, then determine the light transmittance corresponding to the film type, and then adjust the second screen brightness adjustment parameter by the light transmittance to obtain the first screen brightness adjustment parameter corresponding to the film type. It should be understood that if the light transmittance corresponding to protective films of different film types is the same, the first screen brightness adjustment parameters corresponding to protective films of different film types may also be the same.

[0181] Specifically, the light transmittance corresponding to the film type of the protective film can be determined based on the light transmittance of the same film type produced by different manufacturers to determine the final light transmittance corresponding to the film type used in the embodiments of the present application.

[0182] In some embodiments, for any film type, the light transmittance of protective films of the film type produced by different manufacturers can be averaged to obtain the final light transmittance corresponding to the film type. For example, the light transmittance of protective films of the same film type produced by multiple manufacturers can be collected, the maximum and minimum values ​​can be removed, and the remaining light transmittances can be used to calculate the average value as the final light transmittance corresponding to the film type.

[0183] Taking the anti-peeping protective film as an example, assuming that the light transmittance of the anti-peeping protective film produced by manufacturer A is 30%, the light transmittance of the anti-peeping protective film produced by manufacturer B is 40%, the light transmittance of the anti-peeping protective film produced by manufacturer C is 37%, the light transmittance of the anti-peeping protective film produced by manufacturer D is 45%, and the light transmittance of the anti-peeping protective film produced by manufacturer E is 50%. By taking the average value, we can get the average light transmittance of the anti-peeping protective films on the market (30% + 40% + 37% + 45% + 50%) / 5 = 40.4%, and use the average value of 40.4% as the light transmittance of the film type being the anti-peeping protective film.

[0184] In other embodiments, for any film type, the electronic device can express the light transmittance of protective films of the same film type produced by multiple manufacturers using a normal distribution function, and then use the central value of the normal distribution function as the light transmittance corresponding to the film type.

[0185] In the embodiments of the present application, there is no limitation on the implementation method of determining the light transmittance corresponding to the film type of the protective film.

[0186] Fig.17 A schematic diagram comparing the first screen brightness adjustment parameter and the second screen brightness adjustment parameter provided in an embodiment of the present application, in Fig.17The two coordinate axes in can be recorded as the first coordinate axis and the second coordinate axis, wherein the first coordinate axis represents the light intensity in the ambient light, and the second coordinate axis represents the screen brightness corresponding to each light intensity. Taking the characterization of the screen brightness adjustment parameter by the screen brightness adjustment curve as an example, the second screen brightness adjustment parameter is adjusted by the light transmittance to obtain the first screen brightness adjustment parameter corresponding to the film type of the protective film. The process can be: after determining the light transmittance corresponding to the protective film type, the following calculation is performed: the first screen brightness adjustment curve = the second screen brightness adjustment curve * (2-T%), wherein T% represents the light transmittance, and finally the first screen brightness adjustment curve is determined.

[0187] In some embodiments, the electronic device performs parameter adjustment processing in stages based on light transmittance to gradually adjust the second screen brightness adjustment parameter to the first screen brightness adjustment parameter. And before performing the parameter adjustment processing in the next stage, the electronic device controls the brightness of the screen based on the currently adjusted screen brightness adjustment parameter. The second screen brightness adjustment curve can be adjusted to the first screen brightness adjustment curve once or multiple times, and each adjustment can be based on the second screen brightness adjustment curve or the first screen brightness adjustment curve. It is also possible to directly adjust the second screen brightness adjustment curve to the first screen brightness adjustment curve without dividing into stages.

[0188] For example, Fig.17 As shown, adjusting the screen brightness adjustment curve mainly refers to adjusting the brightness value of each ambient light intensity in the direction of the second coordinate axis. After determining the first screen brightness adjustment curve, the electronic device can adjust the second screen brightness adjustment curve to the first screen brightness adjustment curve in stages. Then, in the first screen brightness adjustment curve, the brightness value corresponding to each ambient light intensity in the direction of the second coordinate axis is the target brightness value. In the process of staged adjustment, each stage is adjusted according to different proportions of the target brightness value, and the proportion is increased stage by stage, so that the brightness value in the direction of the second coordinate axis is gradually adjusted to the target brightness value.

[0189] Now let’s take the three-stage adjustment as an example to provide a schematic explanation.

[0190] In the first stage, the adjustment can be made by 10%, that is, the brightness value of the second screen brightness adjustment curve in the direction of the second coordinate axis is adjusted to 10% of the target brightness value to obtain the screen brightness adjustment curve adjusted in the first stage. Then, based on the screen brightness adjustment curve adjusted in the first stage, the brightness value corresponding to the light intensity of the current environment is determined, and the screen brightness is controlled according to the brightness value.

[0191] In the second stage, the adjustment can be made by 50%, that is, the brightness value in the direction of the second coordinate axis is adjusted to 50% of the target brightness value to obtain the screen brightness adjustment curve adjusted in the second stage. Then, based on the screen brightness adjustment curve adjusted in the second stage, the brightness value corresponding to the light intensity of the current environment is determined, and the screen brightness is controlled according to the brightness value.

[0192] In the third stage, adjustments can be made by 100%, that is, the brightness value in the direction of the second coordinate axis is finally adjusted to 100% of the target brightness value to obtain the screen brightness adjustment curve after adjustment in the third stage. Then, based on the screen brightness adjustment curve after adjustment in the third stage, the brightness value corresponding to the light intensity of the current environment is determined, and the screen brightness is controlled according to the brightness value.

[0193] It can be understood that by adjusting the screen brightness adjustment curve according to the above three stages, the current display brightness of the screen can be smoothly adjusted during the process of adjusting the performance parameters, avoiding sudden changes in screen brightness that affect the user experience and also avoiding damage to the screen caused by sudden changes in screen brightness.

[0194] In some embodiments, after recognizing that the film state indicates that the screen has a protective film, the user may wait for a preset time before performing the above-mentioned process of adjusting the screen brightness adjustment curve in stages. After the screen recognizes that the screen has a protective film, the protective film may be readjusted by the user, and the screen film state may be changed. For example, the screen may change from a protective film state to a non-protective film state, or the protective film on the screen may be replaced by a user with a protective film of another film type, etc., and the first screen brightness adjustment parameters corresponding to different screen film states are different. If the screen brightness is adjusted immediately after recognizing that the film state indicates that the screen has a protective film, the screen brightness must be adjusted again when the electronic device recognizes the new film state. Therefore, after recognizing that the film state indicates that the screen has a protective film, the user may wait for a preset time before adjusting the screen brightness. This can prevent the screen brightness from being adjusted multiple times, and can also avoid damage to the screen caused by sudden changes in the screen brightness.

[0195] In other embodiments, before the parameter adjustment process of each stage, the electronic device re-identifies the film state to obtain a re-identified film state. If the re-identified film state is consistent with the previously identified film state, the electronic device performs the parameter adjustment process of the current stage. That is: each time the screen brightness adjustment curve is adjusted in stages, the electronic device will re-identify the film state, for example: identify whether the electronic device screen is affixed with a protective film and the film type of the protective film, so as to determine whether the film type of the protective film in the current stage is the same as the film type of the protective film identified in the previous stage. If the film states are the same, the screen brightness adjustment curve continues to be adjusted. For example: if the protective film is still applied in the current stage, and the film type of the protective film in the current stage is the same as the film type of the protective film identified in the previous stage, the screen brightness adjustment curve continues to be adjusted.

[0196] Among them, the method of identifying the film status each time can be the same or different. For example, the identification of the film status at each stage can be identified through the ambient light sensor, or the identification of the film status at each stage can be identified through the touch sensor, or the identification of the film status at each stage can be identified through the camera; or the identification of the film status at the first stage can be identified through the touch sensor, the identification of the film status at the second stage can be identified through the camera, and the identification of the film status at the third stage can be identified through the ambient light sensor, etc.

[0197] Exemplarily, the adjustment is divided into three stages for schematic illustration.

[0198] After the electronic device determines the first screen brightness adjustment curve, it can adjust it by 10%, that is, adjust the brightness value of the second screen brightness adjustment curve in the direction of the second coordinate axis to 10% of the target brightness value to obtain the screen brightness adjustment curve adjusted in the first stage. Then, based on the screen brightness adjustment curve adjusted in the first stage, determine the brightness value corresponding to the light intensity of the current environment, and control the screen brightness according to the brightness value.

[0199] The electronic device recognizes again whether the screen is covered with a protective film and the type of the protective film. If a protective film is covered, and the type of the protective film in the current stage is the same as the type of the protective film identified in the previous stage, it is adjusted by 50%, that is, the brightness value in the direction of the second coordinate axis is adjusted to 50% of the target brightness value to obtain the screen brightness adjustment curve adjusted in the second stage. Then, based on the screen brightness adjustment curve adjusted in the second stage, the brightness value corresponding to the light intensity of the current environment is determined, and the screen brightness is controlled according to the brightness value, and so on, until the screen brightness adjustment curve is adjusted to the first screen brightness adjustment curve, that is, the brightness value in the direction of the second coordinate axis is adjusted to 100% of the target brightness value.

[0200] If after adjusting by 10% and before adjusting by 50%, the electronic device detects that no protective film is applied, or that a protective film is applied but the film type of the protective film in the current stage is different from the film type of the protective film identified in the previous stage, the adjustment of the screen brightness curve is stopped, the screen brightness curve is restored to the second screen brightness curve, and the screen brightness is readjusted according to the second screen brightness adjustment curve.

[0201] In another possible implementation, when the first performance parameter is a first touch performance parameter and the second performance parameter is a second touch performance parameter, the performance influencing factor includes a touch performance influencing factor, and the touch performance influencing factor is a factor that the protective film affects the touch performance of the screen. The touch sensitivity of the screen with the protective film when being controlled using the first touch performance parameter is higher than the touch sensitivity of the screen with the protective film when being controlled using the second touch performance parameter.

[0202] In this embodiment, the touch performance parameter may refer to a performance parameter related to touching the screen. Fig.18 A schematic diagram showing a comparison of touch performance parameters provided in an embodiment of the present application. Fig.18 In the table, the row RX is used to indicate the receiving electrode (Receive Electrode), which plays the role of receiving charge, and the column TX is used to indicate the transmitting electrode (Transmit Electrode). The transmitting electrode is part of the screen and is responsible for transmitting signals or generating electric fields. Both RX and TX are distributed on the screen. The screen can be divided into multiple rows horizontally, and each row corresponds to an RX, and the screen can be divided into multiple columns vertically, and each column corresponds to a TX. The screen is divided into multiple areas based on rows and columns. When a user touches an area, the touch signal value of the area is obtained. Fig.18 For example, the screen is divided into three rows RX2-RX4 and three columns TX2-TX4. The values ​​in TX2-TX4 and RX2-RX4 represent the touch signal values ​​corresponding to when the user touches one of the three rows and three columns, that is, TX2 and RX2 represent the position of the first row and first column on the screen. Fig.18 In (a), the touch signal value of column TX2 and row RX2 is 733, that is, 733 is the touch signal value generated when the user touches the first row and first column on the screen. Fig.18 (a) in the figure represents the touch performance without film attached. Fig.18 (b) in the figure, i.e., table (b), is used to characterize the touch performance in the film-applied state. The values ​​in each row and column of the table can represent the touch signal values ​​generated when the user's finger or other operating body touches the screen. Fig.18 (a) and Fig.18For comparison, taking TX3 and RX3 as examples, the touch signal without film is 1760, which is higher than the touch signal of 1480 when the film is applied. This is because after the screen is applied with a protective film, the protective film has a certain thickness, which will affect the touch signal of the screen. The touch signal is closely related to the touch sensitivity. A screen with high sensitivity can respond to the touch signal quickly, but when the touch signal generated by the user is low, the user's touch may not be responded quickly, and the touch sensitivity is low. Therefore, when the screen is applied with a protective film, the touch performance will be affected by the protective film, and the touch sensitivity of the screen with a protective film when it is controlled by the first touch performance parameter will be higher than the touch sensitivity of the screen with a protective film when it is controlled by the second touch performance parameter.

[0203] Furthermore, the first touch performance parameter includes a first touch response signal threshold, the second touch performance parameter includes a second touch response signal threshold, the touch performance influencing factor includes a first signal value, the first signal value is a touch signal value that is expected to be generated when the screen is touched with a protective film attached, and the process by which the electronic device determines the first touch performance parameter through the second touch performance parameter and the touch performance influencing factor may be: the electronic device reduces the second touch response threshold based on the first signal value to obtain the first touch response threshold.

[0204] Specifically, the touch sensitivity of the screen can be adjusted by adjusting the touch response signal threshold. Fig.18 In (a) of the figure, the touch signal value without the protective film, the touch response signal threshold can be set to 600. When the touch signal value reaches 600, any touch by the user on the screen can be responded to. Fig.18 In (b), if the touch signal value with the protective film attached is still set to 600, when only the screen positions where TX3 and RX3 are located are touched, the touch signal value generated can exceed 600, and the touch signal values ​​generated at other positions of the screen do not exceed 600, so that the user cannot respond when touching other positions of the screen except the positions where TX3 and RX3 are located, and the touch sensitivity of the screen will decrease. At this time, the touch response signal threshold can be set to 200, so that the user's touch on the screen can be responded to, and the touch sensitivity of the screen is improved.

[0205] In some embodiments, the screen is covered with protective films of different film types, and the touch signal values ​​expected to be generated when the screen is touched in the film-covered state may be different, so the touch response signal threshold adjusted based on the touch signal value may be different.

[0206] In another possible implementation, when the first performance parameter includes a first stylus performance parameter and the second performance parameter includes a second stylus performance parameter, the performance influencing factor includes a stylus performance influencing factor, and the stylus touch performance influencing factor is a factor that the protective film affects the screen on the stylus performance. The stylus touch sensitivity of the screen with the protective film attached when the first stylus performance parameter is used to control the screen is higher than the stylus touch sensitivity of the screen with the protective film attached when the second stylus performance parameter is used to control the screen. The stylus performance parameter refers to a performance-related parameter when the stylus touches the screen.

[0207] It is understandable that after the protective film is attached to the screen, the protective film has a certain thickness and other reasons, and the protective film will affect the screen's reception of the signal sent by the stylus on the touch screen. Therefore, if the second stylus performance parameter is continued to be used to control the screen, the stylus touch sensitivity will decrease. If the screen is attached with a protective film, the first stylus performance parameter is obtained based on the protective film's influence on the screen's stylus touch performance and the second stylus performance parameter, and the screen is controlled by the first stylus performance parameter, the stylus touch sensitivity of the screen attached with the protective film when the first stylus performance parameter is used to control the screen can be higher than the stylus touch sensitivity of the screen attached with the protective film when the second stylus performance parameter is used to control the screen, and the stylus performance of the screen attached with the protective film can reach or approach the stylus performance when the screen is not attached with the protective film, the screen stylus performance is improved, and the user experience is improved.

[0208] Further, the first stylus performance parameter includes a first weight proportional coefficient, the second stylus performance parameter includes a second weight proportional coefficient, the first weight proportional coefficient is a proportional coefficient between channels on the screen when the screen with a protective film is touched by the stylus, the second weight proportional coefficient is a proportional coefficient between channels on the screen when the screen without a protective film is touched by the stylus, and the stylus performance influencing factor includes a touch signal difference corresponding to the protective film, and the touch signal difference is an estimated difference between stylus signals received by the channel when the screen is touched by the stylus before and after the protective film is applied. The process of the electronic device determining the first stylus performance parameter through the second stylus performance parameter and the stylus performance influencing factor can be: the electronic device can adjust the second weight proportional coefficient based on the touch signal difference to obtain the first weight proportional coefficient.

[0209] Exemplarily, the stylus performance parameters may include weight ratio coefficients between channels on the screen, for example, the weight ratio coefficients between the touched channel and the adjacent channels of the touched channel. The weight ratio coefficients between the channels on the screen refer to the coefficients used to weight the signals of the channels when locating the stylus touch position. The factors affecting the stylus touch performance may include touch signal differences, which refer to the estimated difference between the stylus signals received by the channel touched by the stylus and the adjacent channels of the channel touched by the stylus when the screen is touched by the stylus before and after the protective film is applied.

[0210] It can be understood that, taking the screen as a touch screen, there are multiple channels on the screen. When using a stylus, the electronic device receives the signal sent by the stylus on the touch screen through different channels (referred to as "stylus signal"). When the stylus touches a certain channel, both the touched channel and the adjacent channels of the touched channel can receive the stylus signal, and then, the electronic device can weight the signals received by the touched channel and the adjacent channels of the touched channel according to the weight ratio coefficient between the touched channel and the adjacent channels of the touched channel, and the electronic device can determine the touch position of the stylus according to the weighted signal.

[0211] When the screen is not covered with a protective film, the second weight ratio coefficient set at the factory will be used to weight the signals corresponding to each channel on the screen to determine the touch position of the stylus. After the screen is covered with a protective film, the thickness of the protective film will affect at least some channels from receiving the stylus signal. For example, the channels in some areas of the screen will not receive the stylus signal or the amount of received stylus signal is relatively low. If the second weight ratio coefficient is continued to be used to weight the signals received by each channel on the screen, it will be impossible to accurately determine the touch position of the stylus.

[0212] Therefore, after the protective film is applied to the screen, the first weight proportional coefficient is obtained based on the touch signal difference between the protective film and the screen and the second weight proportional coefficient, and the stylus signal received by each channel after the screen film is applied is weighted by the first weight proportional coefficient, so that the touch position of the stylus can be determined more accurately.

[0213] Exemplarily, assume that there are two adjacent channels on the screen, channel 1 and channel 2. When the screen is not affixed with a protective film, when channel 1 (i.e., the touched channel) on the screen is touched, the stylus signal value 1 received by channel 1 and the stylus signal value 2 received by channel 2 (i.e., the adjacent channel of the touched channel) are recorded, and the stylus signal value 1 and the stylus signal value 2 are compared to obtain a first proportional coefficient. Similarly, when the screen is affixed with a protective film, when channel 1 on the screen is touched, the stylus signal value 3 received by channel 1 and the stylus signal value 4 received by channel 2 are recorded, and the stylus signal value 3 and the stylus signal value 4 are compared to obtain a second proportional coefficient. The proportional relationship between the first proportional coefficient and the second proportional coefficient can represent the estimated difference between the stylus signals received by the channel when the stylus is touched before and after the protective film is affixed, that is, the proportional relationship between the first proportional coefficient and the second proportional coefficient is the touch signal difference in the stylus performance influencing factors. Subsequently, the second weight proportional coefficient is adjusted by the proportional relationship between the first proportional coefficient and the second proportional coefficient to obtain the first weight proportional coefficient. The difference between the first proportionality coefficient and the second proportionality coefficient can also be used to represent the estimated difference between the stylus signals received by the channel when touched by the stylus before and after the protective film is applied, that is, the difference between the first proportionality coefficient and the second proportionality coefficient is the touch signal difference in the factors affecting the performance of the stylus.

[0214] For example: when the protective film is not applied, when the stylus touches channel 1 on the screen, the stylus signal value received by channel 1 is 100, the stylus signal value received by channel 2 is 20, and the ratio of the stylus signals received between channel 1 and channel 2 is 5:1. Assuming that the ratio of the stylus signals between channel 1 and channel 2 is 2:1, the performance of stylus touch is the best. Therefore, the proportional coefficient weight between channel 1 and channel 2 can be set to 2:5, that is, 2:5 is the second weight proportional coefficient when the screen is not filmed. However, after the protective film is applied to the screen, when the stylus touches channel 1 on the screen, the stylus signal value received by channel 1 is 100, the stylus signal value received by channel 2 is 10, and the ratio of the stylus signals received between channel 1 and channel 2 is 10:1. At this time, if the second weight proportional coefficient 2:5 when the screen is not filmed continues to be used, the stylus signal ratio between channel 1 and channel 2 cannot be set to 2:1. The stylus signal ratio of 10:1 received between channel 1 and channel 2 after the film is applied and the stylus signal ratio of 5:1 received between channel 1 and channel 2 before the film is applied can be compared to obtain a touch signal difference of 2:1, and then the second weight proportional coefficient 2:5 is adjusted by the touch signal difference of 2:1 to obtain the proportional coefficient weight between channel 1 and channel 2 after the film is applied, that is, 1:5, that is, 1:5 is the first weight proportional coefficient when the screen is filmed.

[0215] It is understandable that after the protective film is affixed to the screen, the protective film will affect the screen's reception of the stylus signal. The weight proportional coefficient can be adjusted to weight the signals received by each channel on the screen with the adjusted first weight proportional coefficient to accurately determine the touch position of the stylus, so that the stylus touch sensitivity of the screen after the film is affixed when controlled by the first weight proportional coefficient can be close to or reach the stylus touch sensitivity of the screen without the protective film affixed when controlled by the second stylus performance parameter, thereby improving the stylus performance after the screen is affixed with the protective film and enhancing the user experience.

[0216] Some other embodiments of the present application provide an electronic device, which may include: the above-mentioned screen (such as a touch screen, a display screen), a memory, and one or more processors. The screen, the memory, and the processor are coupled. The memory is used to store computer program code, and the computer program code includes computer instructions. When the computer instructions are executed by the processor, the electronic device controls the screen to perform various functions or steps in the above-mentioned method embodiment. The structure of the electronic device can refer to Figure 4 The structure of the electronic device 400 is shown.

[0217] An embodiment of the present application also provides a computer storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the electronic device in the above-mentioned method embodiment.

[0218] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer executes each function or step executed by the electronic device in the above method embodiment.

[0219] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0220] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0221] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0222] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0223] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0224] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A screen control method, characterized in that: Applied to an electronic device including a screen, the method comprises: The electronic device identifies the film-applying state of the screen; When the film-sticking state indicates that the screen is covered with a protective film, the electronic device controls the screen based on the first performance parameter; The performance of the screen with a protective film after being controlled using the first performance parameter is better than the performance of the screen with a protective film after being controlled using the second performance parameter; the second performance parameter is the initial performance parameter adopted by the electronic device when the screen is not covered with a film.

2. The method according to claim 1, characterized in that: The film-sticking state includes the film type of the protective film applied to the screen; The electronic device controls the screen based on the first performance parameter, including: The electronic device controls the screen based on the first performance parameter corresponding to the film type.

3. The method according to claim 1, characterized in that: The protective film has a preset film structure; The electronic device identifies the film-sticking state of the screen, including: The electronic device performs detection processing on the screen corresponding to the preset membrane structure; The film-sticking state of the screen is determined according to the detection result.

4. The method according to claim 3, characterized in that The electronic device comprises at least two ambient light sensors; the protective film has first preset positions corresponding to the at least two ambient light sensors respectively; different first preset positions have different shielding degrees for ambient light; the ambient light sensor is used to detect the ambient light at the corresponding first preset position; The electronic device performs a detection process on the screen corresponding to the preset membrane structure, including: The electronic device detects ambient light through the at least two ambient light sensors to obtain a light intensity value; The determining the film-sticking state of the screen according to the detection result includes: The film state of the screen is determined based on a difference between light intensity values ​​detected by the at least two ambient light sensors.

5. The method according to claim 3, characterized in that: The electronic device includes a touch sensor, and the touch sensor is arranged on the screen; the protective film has a preset touch recognition point and a wire, and the endpoints of the wire include a first endpoint and a second endpoint, and the first endpoint and the touch recognition point correspond to the same position on the screen; The electronic device performs detection processing on the screen corresponding to the preset membrane structure, including: The electronic device performs touch detection on a second preset position of the screen through the touch sensor; the second preset position corresponds to the second end point of the wire; The determining the film-sticking state of the screen according to the detection result includes: The film-sticking state of the screen is determined according to the touch detection result of the second preset position.

6. The method according to claim 3, characterized in that The electronic device includes a camera, and a preset mark displayed under invisible light is provided on the surface of the protective film; the position of the preset mark is located within the field of view of the camera; The electronic device performs a detection process on the screen corresponding to the preset membrane structure, including: The electronic device controls the camera to capture an image under invisible light, and detects whether the captured image includes the preset logo, to obtain a logo detection result; The determining the film-sticking state of the screen according to the detection result includes: The film-sticking state of the screen is determined according to the identification detection result.

7. The method according to claim 1, characterized in that Before the electronic device controls the screen based on the first performance parameter, the method further includes: The electronic device determines the first performance parameter based on the second performance parameter and a performance influencing factor corresponding to the protective film; the performance influencing factor is a factor that the protective film affects the performance of the screen.

8. The method according to claim 7, characterized in that The first performance parameter includes a first screen brightness adjustment parameter, and the second performance parameter includes a second screen brightness adjustment parameter; the performance influencing factor includes a light transmittance corresponding to the protective film; The electronic device determines the first performance parameter based on the second performance parameter and the performance influencing factor corresponding to the protective film, including: The electronic device adjusts the second screen brightness adjustment parameter based on the light transmittance to obtain the first screen brightness adjustment parameter.

9. The method according to claim 8, characterized in that The light transmittance corresponding to the protective film, including the light transmittance corresponding to the film type of the protective film; The electronic device adjusts the second screen brightness adjustment parameter based on the light transmittance to obtain the first screen brightness adjustment parameter, including: The electronic device adjusts the second screen brightness adjustment parameter based on the light transmittance corresponding to the film type to obtain the first screen brightness adjustment parameter matching the film type.

10. The method according to claim 8, characterized in that The electronic device adjusts the second screen brightness adjustment parameter based on the light transmittance to obtain the first screen brightness adjustment parameter, including: The electronic device performs parameter adjustment processing in stages based on the light transmittance, so as to gradually adjust the second screen brightness adjustment parameter to the first screen brightness adjustment parameter; The method further comprises: Before performing the parameter adjustment process in the next stage, the electronic device controls the brightness of the screen based on the currently adjusted screen brightness adjustment parameters.

11. The method according to claim 10, characterized in that The method further comprises: Before the parameter adjustment process at each stage, the electronic device re-identifies the film sticking state to obtain a re-identified film sticking state; If the re-identified film application state is consistent with the previously identified film application state, the electronic device performs parameter adjustment processing at the current stage.

12. The method according to claim 7, characterized in that The first performance parameter includes a first touch performance parameter, and the second performance parameter includes a second touch performance parameter; the performance influencing factor includes a touch performance influencing factor; the touch performance influencing factor is a factor that the protective film affects the touch performance of the screen; The touch sensitivity of the screen with the protective film attached thereto when the first touch performance parameter is used to control the touch sensitivity is higher than the touch sensitivity of the screen with the protective film attached thereto when the second touch performance parameter is used to control the touch sensitivity; and / or, The first performance parameter includes a first stylus performance parameter, and the second performance parameter includes a second stylus performance parameter; the performance influencing factor includes a stylus performance influencing factor; the stylus performance influencing factor is a factor that the protective film has an impact on the stylus performance of the screen; The touch sensitivity of the stylus pen when the screen with the protective film is controlled by the first stylus pen performance parameter is higher than the touch sensitivity of the stylus pen when the screen with the protective film is controlled by the second stylus pen performance parameter.

13. The method according to claim 12, characterized in that The first touch performance parameter includes a first touch response signal threshold, the second touch performance parameter includes a second touch response signal threshold, and the touch performance influencing factor includes a first signal value; the first signal value is a signal value expected to be generated when the screen is touched with the protective film attached; The electronic device determines the first performance parameter based on the second performance parameter and the performance influencing factor corresponding to the protective film, including: The electronic device reduces the second touch response threshold based on the first signal value to obtain a first touch response threshold.

14. The method according to claim 12, characterized in that The first stylus performance parameter includes a first weight proportional coefficient, and the second stylus performance parameter includes a second weight proportional coefficient, wherein the first weight proportional coefficient is a proportional coefficient between channels on the screen when the screen with the protective film is touched by the stylus; The second weight proportional coefficient is a proportional coefficient between channels on the screen when the screen without a protective film is touched by the stylus; the stylus performance influencing factor includes a touch signal difference corresponding to the protective film; the touch signal difference refers to an estimated difference between stylus signals received by the channel when the screen is touched by the stylus before and after the protective film is attached; The electronic device determines the first performance parameter based on the second performance parameter and the performance influencing factor corresponding to the protective film, including: The electronic device adjusts the second weight proportional coefficient based on the touch signal difference to obtain the first weight proportional coefficient.

15. An electronic device, characterized in that: The electronic device includes a memory, a screen and a processor; the memory and the screen are coupled to the processor; wherein the memory stores computer program code, the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device controls the screen to execute the method described in any one of claims 1-14.

16. A computer storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 14.

17. A computer program product, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Method for detecting surface film of intelligent information equipment

    CN104881160A

  • Method and device for adjusting touch panel parameters and terminal equipment

    CN105975125A

  • Desktop display equipment and control method thereof, to-be-recognized object and recognition method thereof

    CN107340965A

  • Method and device for adjusting operation mode of equipment and electronic equipment

    CN113157082A

  • Method and device for determining handwriting correction parameter of handwriting pen

    CN117707353A