Blink guiding method, screen display parameter updating method and electronic equipment

By detecting the user's blink frequency and guiding blinking, combined with adjusting screen display parameters, the problem of dry eyes and visual discomfort caused by prolonged use of electronic devices has been solved, improving the user's tear film stability and visual comfort.

CN121657955APending Publication Date: 2026-03-13HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Prolonged exposure to electronic screens reduces blinking frequency, destabilizes the tear film, and causes dry eyes and visual discomfort, which current technologies have not been able to effectively alleviate.

Method used

By acquiring the operating status of electronic devices and the intensity of ambient light, the system detects the user's blinking frequency, guides blinking when the frequency is below a threshold, and adjusts screen display parameters such as color temperature, contrast, and saturation to reduce visual stimulation.

Benefits of technology

It improves tear film stability, relieves dry eyes and visual discomfort, reduces power consumption, and avoids frequent blinking reminders that affect user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121657955A_ABST
    Figure CN121657955A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a blink guiding method, a screen display parameter updating method and electronic device.In the blink guiding method, after the current running state of the electronic device is obtained, when the current running state of the electronic device conforms to a first preset state, the electronic device carries out blink detection on a user using the electronic device, and the screen display parameter updating method is used for updating the screen display parameter. And obtaining the blinking frequency of the user. When the blinking frequency of the user is smaller than or equal to the blinking threshold value, the electronic equipment guides blinking of the user, so that when the blinking frequency of the user is low, the user is prompted to blink properly, the tear film stability is improved, and eye dryness and visual discomfort are relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart terminal technology, and in particular to a blink guidance method, a screen display parameter update method, and an electronic device. Background Technology

[0002] Dry eye is currently the most common ocular surface disease affecting vision and quality of life. Prolonged exposure to electronic screens significantly reduces blinking frequency, depriving the eyes of necessary rest and affecting tear secretion, thus inducing dry eye. In recent years, with the widespread use of electronic products, the proportion and incidence of dry eye related to video display terminals (VDTs) have gradually increased, and VDT use has been listed as one of the contributing factors to dry eye. Summary of the Invention

[0003] This application provides a blink guidance method, a screen display parameter update method, and an electronic device. This application also provides a computer-readable storage medium to improve the stability of the user's tear film and relieve dry eyes and visual discomfort.

[0004] In a first aspect, embodiments of this application provide a blink guidance method, comprising: acquiring the current operating state of an electronic device; wherein the current operating state of the electronic device includes the continuous operating time of the electronic device and the ambient light intensity of the environment in which the electronic device is located; when the current operating state of the electronic device meets a first predetermined state, performing blink detection on a user using the electronic device to obtain the blink frequency of the user; and when the blink frequency of the user is less than or equal to a blink threshold, guiding the user to blink.

[0005] In the aforementioned blink guidance method, after the electronic device acquires its current operating state, when the current operating state of the electronic device meets a first predetermined state, the electronic device performs blink detection on the user using the electronic device to obtain the user's blink frequency. When the user's blink frequency is less than or equal to a blink threshold, the electronic device guides the user to blink appropriately, thereby prompting the user to blink appropriately when the user's blink frequency is low, improving tear film stability, and alleviating dry eyes and visual discomfort.

[0006] In one possible implementation, the first predetermined state includes: the continuous operating time of the electronic device is greater than or equal to a first duration threshold, and the ambient light intensity of the environment in which the electronic device is located is less than or equal to a first light intensity threshold.

[0007] In this implementation, when the continuous operating time of the electronic device is greater than or equal to a first duration threshold and the ambient light intensity of the environment in which the electronic device is located is less than or equal to a first light intensity threshold, the electronic device performs blink detection on the user. This not only provides a blink reminder when the user blinks at a low frequency, but also enables blink detection when the continuous operating time of the electronic device is greater than or equal to the first duration threshold and the ambient light intensity of the environment is less than or equal to the first light intensity threshold. This not only reduces power consumption but also avoids frequent blink reminders, which would negatively impact the user experience.

[0008] In one possible implementation, obtaining the current operating state of the electronic device further includes: obtaining the application currently running on the electronic device; the first predetermined state further includes the application currently running on the electronic device being a first target application; the first target application includes a video application or a reading application.

[0009] In this implementation, because users stare at the screen for extended periods while using video or reading applications, their blinking frequency tends to decrease, increasing eye dryness and visual discomfort. Therefore, when the electronic device is currently running a video or reading application, it performs blink detection. This allows for precise segmentation of blink detection scenarios, achieving the goal of protecting the user's eyes while avoiding frequent blink reminders that would negatively impact the user experience.

[0010] In one possible implementation, before performing blink detection on the user using the electronic device, the method further includes: detecting whether the user is looking at the display screen of the electronic device; the blink detection on the user using the electronic device includes: performing blink detection on the user using the electronic device when the user is looking at the display screen of the electronic device.

[0011] In this implementation, the electronic device determines whether the user is at risk of dry eye due to prolonged screen viewing based on factors such as continuous operating time, ambient light intensity, currently running application, and whether the user is looking at the screen. Then, based on the detected blink frequency, the device guides the user's blinking, thereby improving tear film stability and alleviating dry eyes and visual discomfort.

[0012] In one possible implementation, guiding the user to blink includes displaying a blink guidance animation to prompt the user to blink.

[0013] In one possible implementation, the display of the blinking guidance animation includes: displaying a blinking guidance interface, in which N blinking guidance actions are displayed; where N≥1, and N is an integer.

[0014] In one possible implementation, the blinking guidance action includes a guidance action from opening the eyes to closing the eyes and then opening the eyes again.

[0015] In one possible implementation, when N > 2, the time interval between at least two of the N blink guidance actions is not equal.

[0016] In one possible implementation, the blinking guidance interface is displayed in the top area of ​​the display screen of the electronic device.

[0017] In one possible implementation, a camera is located in the top area of ​​the display screen, and the blink guidance interface is displayed around the camera.

[0018] In the above implementation method, the electronic device guides the user to blink in a vivid and engaging way by displaying blinking guidance animation, which can improve the stability of the user's tear film and relieve dry eyes and visual discomfort.

[0019] Secondly, embodiments of this application provide a method for updating screen display parameters, comprising: obtaining the current operating state of an electronic device; wherein the current operating state of the electronic device includes the continuous operating time of the electronic device and the application currently running on the electronic device; when the current operating state of the electronic device conforms to a second predetermined state, obtaining the ambient light intensity of the environment in which the electronic device is located; updating the screen display parameters of the electronic device according to the continuous operating time of the electronic device and the ambient light intensity of the environment in which the electronic device is located; wherein the screen display parameters include at least one of color temperature, contrast ratio, and saturation.

[0020] In the above-mentioned method for updating screen display parameters, the electronic device obtains its current operating state. When the current operating state of the electronic device meets the second predetermined state, the electronic device obtains the ambient light intensity of its environment. Then, based on the continuous operating time of the electronic device and the ambient light intensity of its environment, the electronic device updates its screen display parameters. The screen display parameters may include at least one of color temperature, contrast, and saturation, thereby changing the display of a high-saturation, high-contrast image to a low-contrast, low-saturation image. Since the colors of a low-contrast, low-saturation image are softer, the user's vision is more comfortable even after prolonged viewing, which helps improve the stability of the user's tear film and alleviate dry eyes and visual discomfort.

[0021] In one possible implementation, the second predetermined state includes: the continuous running time of the electronic device is a multiple of the update interval of the screen display parameters, and the application currently running on the electronic device is a second target application; wherein, the second target application includes video applications, reading applications, or game applications in the electronic device.

[0022] In this implementation, since users stare at the screen for extended periods while using video, reading, or gaming applications, high-contrast, high-saturation images can overstimulate the retina, increasing eye strain and causing visual discomfort. Therefore, when the electronic device is currently running a video, reading, or gaming application, and the continuous running time of the electronic device is proportional to the update interval of the screen display parameters, the electronic device updates the screen display parameters. This not only changes the display from high-saturation, high-contrast to low-contrast, low-saturation images to protect the user's eyes, but also allows the electronic device to update the screen display parameters in a second predetermined state. This not only reduces power consumption but also avoids frequent adjustments to the screen display parameters, thus preventing negative impacts on the user experience.

[0023] In one possible implementation, updating the screen display parameters of the electronic device based on the continuous operating time of the electronic device and the ambient light intensity of the environment in which the electronic device is located includes: updating the color temperature of the screen of the electronic device based on the continuous operating time of the electronic device; and / or updating at least one of the contrast and saturation of the screen of the electronic device based on the continuous operating time of the electronic device and the ambient light intensity of the environment in which the electronic device is located.

[0024] In this implementation, the electronic device updates the color temperature of its screen based on the duration of continuous operation; and / or updates at least one of the contrast and saturation of the screen based on the duration of continuous operation of the electronic device and the ambient light intensity of the environment. This allows the electronic device to switch from displaying a high-saturation, high-contrast image to displaying a low-contrast, low-saturation image. Since the colors of a low-contrast, low-saturation image are softer, the user's vision is more comfortable even after prolonged viewing, which helps improve the stability of the user's tear film and alleviate dry eyes and visual discomfort.

[0025] Thirdly, embodiments of this application provide an electronic device, including: one or more processors; a memory; multiple application programs; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the method provided in the first or second aspect.

[0026] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method provided in the first or second aspect.

[0027] Fifthly, embodiments of this application provide a computer program that, when executed by a computer, performs the method provided in the first or second aspect.

[0028] In one possible design, the program in the fifth aspect can be stored wholly or partially on a storage medium packaged with the processor, or it can be stored wholly or partially on a memory not packaged with the processor. Attached Figure Description

[0029] Figure 1 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application;

[0030] Figure 2 A software structure block diagram of an electronic device 100 provided in one embodiment of this application;

[0031] Figure 3 A flowchart of a blink guidance method provided in one embodiment of this application;

[0032] Figure 4 A schematic diagram of a user-defined interface for blink detection provided in one embodiment of this application;

[0033] Figure 5 A schematic diagram illustrating the display of a blink-guided animation provided in one embodiment of this application;

[0034] Figure 6 A schematic diagram illustrating a blink-guided user-defined interface provided in one embodiment of this application;

[0035] Figure 7 A flowchart of a blink guidance method provided in another embodiment of this application;

[0036] Figure 8 A flowchart illustrating a method for updating screen display parameters according to an embodiment of this application;

[0037] Figure 9 A schematic diagram of a user-defined interface for updating screen display parameters provided in one embodiment of this application;

[0038] Figure 10 A schematic diagram of the structure of an electronic device provided in another embodiment of this application. Detailed Implementation

[0039] The terminology used in the implementation section of this application is for the purpose of explaining specific embodiments of this application only, and is not intended to limit this application.

[0040] Normally, a certain frequency of blinking will keep the tear film stable. When the blinking frequency decreases, the tear film breaks down, and the cornea is exposed to the air, which leads to dry eyes. Working in front of a VDT for a long time will cause the user's blinking frequency to decrease significantly.

[0041] In addition, electronic devices use different contrast and saturation levels when displaying images. Generally speaking, high contrast and high saturation images have more vibrant colors, making it easier to quickly retrieve information. However, high contrast and high saturation images can overstimulate the retina, and prolonged viewing will increase eye strain and cause visual discomfort for users. On the other hand, low contrast and low saturation images have softer colors, and even after prolonged viewing, users feel more comfortable visually.

[0042] To address the above issues, this application provides a blink guidance method and a screen display parameter update method, which can improve the stability of the user's tear film and alleviate dry eyes and visual discomfort.

[0043] The blink guidance method and screen display parameter update method provided in this application embodiment can be applied to electronic devices, wherein the aforementioned electronic devices can be smartphones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc.; this application embodiment does not impose any restrictions on the specific type of electronic device.

[0044] For example, Figure 1 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application, as shown below. Figure 1As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0045] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0046] In this embodiment, the electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.

[0047] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. In some embodiments, electronic device 100 may include one or N displays screens 194, where N is a positive integer greater than 1.

[0048] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0049] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0050] In this embodiment, the type of camera 193 can be distinguished based on hardware configuration and physical location. For example, a camera located on the side of the display screen 194 of the electronic device 100 can be called a front-facing camera, and a camera located on the side of the back cover of the electronic device 100 can be called a rear-facing camera.

[0051] In this embodiment of the application, among the multiple cameras 193 included in the electronic device 100, there may be an always-on camera (AO camera). An AO camera refers to a camera that is always on. Taking a mobile phone as an example, the AO camera in a mobile phone generally refers to a low-power grayscale image camera, which can acquire low-resolution grayscale images.

[0052] An ambient light sensor 180L is used to sense ambient light brightness. For example, the ambient light sensor 180L can measure the light intensity of four channels of ambient light. The ambient light sensor outputs the measured light intensity of the four channels of ambient light to the processor 110. The processor 110 can process the light intensity of the four channels of ambient light output by the ambient light sensor 180L (e.g., integrate the light intensity of the four channels of ambient light) to obtain the ambient light intensity or brightness. In the screen-on state (including screen-on after unlocking and screen-on under lock), the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the obtained ambient light intensity.

[0053] It is understandable that, generally speaking, the implementation of the functions of electronic device 100 requires not only hardware support but also software cooperation. The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered architecture... Taking the system as an example, the software structure of electronic device 100 is illustrated.

[0054] Figure 2 This is a software structure block diagram of an electronic device 100 provided in one embodiment of this application.

[0055] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, such as... Figure 2 As shown, the software system of electronic device 100 can be divided into four layers, from top to bottom: application layer, application framework layer, hardware abstraction layer (HAL), and kernel layer.

[0056] The application layer can include a series of applications (apps). For example... Figure 2 As shown, the application layer can include applications such as video, calendar, reading, WLAN, music, and SMS.

[0057] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0058] like Figure 2 As shown, the application framework layer includes a display manager. This display manager can guide the user's blinking when their blinking frequency is low, and can also update screen display parameters, thereby alleviating the user's eye dryness and visual discomfort. See also Figure 2 In some examples, the display manager can guide the user to blink when the fusion sensing module in the hardware abstraction layer determines that the user's blink frequency is less than or equal to a blink threshold. In other examples, the display manager can update the screen display parameters of the electronic device 100 based on the ambient light intensity obtained by the fusion sensing module in the hardware abstraction layer and the continuous operating time of the electronic device 100, combined with the application currently running on the electronic device 100. In this embodiment, the screen display parameters include color temperature, contrast ratio, and saturation.

[0059] The Hardware Abstraction Layer (HAL) is an interface layer located between the operating system kernel and the hardware circuitry, its purpose being to abstract the hardware. It hides the hardware interface details of a specific platform, providing the operating system with a virtual hardware platform, making it hardware-independent and portable across multiple platforms. In the embodiments of this application, the HAL includes a fusion sensing module. Figure 2 As shown, the fusion sensing module can obtain the ambient light intensity of the environment in which the electronic device 100 is located through sensor driving, obtain the continuous running time of the electronic device 100 through timer, and also obtain the application currently running on the electronic device 100.

[0060] Then, in some examples, the fusion perception module can control a constantly open camera via the camera driver to perform gaze detection and blink detection on the user. Based on the blink frequency obtained from the blink detection, it determines whether the user's blink frequency is less than or equal to a blink threshold. After determining that the user's blink frequency is less than or equal to the blink threshold, the fusion perception module notifies the display manager in the application framework layer to guide the user to blink. In other examples, the fusion perception module can pass the ambient light intensity of the environment in which the electronic device 100 is located, the application currently running on the electronic device 100, and the continuous running duration of the electronic device 100 to the display manager in the application framework layer, so that the display manager updates the screen display parameters of the electronic device 100.

[0061] The kernel layer is the layer between hardware and software. In this embodiment, the kernel layer includes a camera driver, a sensor driver, and a timer. The sensor driver may include the driver for each sensor in the electronic device 100, such as an ambient light sensor driver. For example, the ambient light sensor driver may, in response to an instruction or command from the fusion sensing module to acquire detection data, promptly send the ambient light intensity detected by the ambient light sensor 180L to the fusion sensing module; the timer may, in response to an instruction or command from the fusion sensing module to acquire detection data, send the continuous running duration of the electronic device 100 detected by the timer to the fusion sensing module.

[0062] For ease of understanding, the following embodiments of this application will be described using the following methods: Figure 1 and Figure 2 Taking the electronic device with the structure shown as an example, the method provided in the embodiments of this application will be specifically described in conjunction with the accompanying drawings and application scenarios.

[0063] Figure 3 A flowchart of a blink guidance method provided in one embodiment of this application is shown below. Figure 3 As shown, the above blinking guidance method may include:

[0064] Step 301: Electronic device 100 obtains the current operating status of electronic device 100.

[0065] The current operating state of the electronic device 100 may include the continuous operating time of the electronic device 100 and the ambient light intensity of the environment in which the electronic device 100 is located.

[0066] Step 302: When the current operating state of the electronic device 100 meets the first predetermined state, the electronic device 100 performs blink detection on the user using the electronic device 100 to obtain the user's blink frequency.

[0067] In some examples, the first predetermined state can be: the continuous operating time of the electronic device 100 is greater than or equal to a first duration threshold, and the ambient light intensity of the environment in which the electronic device 100 is located is less than or equal to a first light intensity threshold.

[0068] Specifically, the continuous operating time of electronic device 100 can be the continuous screen-on time of electronic device 100, see [reference]. Figure 2 The electronic device 100 can obtain the continuous operating time of the electronic device 100 through a timer; see [link / reference] Figure 2 The electronic device 100 can obtain the ambient light intensity of the environment in which the electronic device 100 is located from the sensor drive, which is measured by the ambient light sensor 180L.

[0069] The first duration threshold can be set by the user during implementation. In this embodiment, the value of the first duration threshold is not limited. For example, the first duration threshold can be 30 minutes. Similarly, the first light intensity threshold can also be set by the user during implementation. In this embodiment, the value of the first light intensity threshold is not limited. For example, the value range of the first light intensity threshold can be 800 to 1500 lux. For instance, the first light intensity threshold can be 1000 lux.

[0070] In other examples, obtaining the current operating state of the electronic device 100 may also include obtaining the application currently running on the electronic device 100; thus, the first predetermined state may also include the application currently running on the electronic device 100 being a first target application; the first target application may be a video application or a reading application in the electronic device 100.

[0071] Because users spend long periods of time staring at screens while using video or reading apps, this can reduce blinking frequency, increasing eye dryness and visual discomfort. Therefore, when the electronic device 100 is currently running a video or reading app, it performs blink detection on the user. The video app can be either a short or long video app.

[0072] For example, when the continuous operating time of electronic device 100 is greater than or equal to 30 minutes, electronic device 100 can acquire the ambient light intensity of the environment in which electronic device 100 is located. When the ambient light intensity of the environment in which electronic device 100 is located is less than or equal to 1000 lux, it acquires the application currently running on electronic device 100. If the application currently running on electronic device 100 is a first target application, then electronic device 100 performs blink detection on the user using electronic device 100 to obtain the user's blink frequency. In some embodiments, the operating time of the first target application may be different from the continuous operating time of electronic device 100.

[0073] Specifically, the electronic device 100 can detect blinks in users of the electronic device 100 using a constantly open camera. In practice, the electronic device 100 continuously acquires facial image data from the constantly open camera. This constantly open camera can be located on one side of the electronic device 100's display screen and capable of capturing images from the direction directly in front of the display screen; for example, it can be located in the front-facing camera of the electronic device 100. After acquiring the facial image data, the electronic device 100 can perform blink detection based on this data. Specifically, the electronic device 100 can use any possible blink detection method to detect blinks and obtain the number of blinks in all facial images within a unit of time.

[0074] In one possible implementation, if the eyes of a face in a given face image are closed, it can be considered that the user has blinked. The blink detection method could then be: first, detect the number of face images with closed eyes among all face images within the current unit of time, and determine the number of face images with closed eyes as the user's blink count within the current unit of time. Then, the electronic device 100 can calculate the blink frequency based on the user's blink count and the duration of the current unit of time. Of course, in practice, the blink detection method can be any other feasible implementation, and this embodiment does not limit it.

[0075] Of course, video applications and reading applications are just two examples of the first target application and do not constitute a limitation on the first target application. In some examples, the first target application may include applications in the electronic device 100 other than camera applications, video call applications, payment applications, sports applications, travel applications, and game applications. Since displaying blinking guidance animations on the interface of camera applications, video call applications, payment applications, sports applications, travel applications, and game applications during their operation would affect the user experience, in this embodiment of the application, the electronic device 100 will exclude the above applications when performing blink detection on the user.

[0076] In other examples, users can choose which applications running on the electronic device 100 will trigger blink detection, or they can choose which applications running on the electronic device 100 will not trigger blink detection. Taking the example of users choosing which applications running on the electronic device 100 will trigger blink detection, if a user wants to select applications that trigger blink detection, they can enter... Figure 4 The blink detection user-defined interface shown is then... Figure 4 In the interface shown, users can select the applications they want to perform blink detection during operation. Figure 4 In the process, the user selected five applications: Video Application 1, Video Application 2, Reading Application 1, Reading Application 2, and News Application 1. In this way, when the electronic device 100 is running Video Application 1, Video Application 2, Reading Application 1, Reading Application 2, or News Application 1, it can detect the user's blinking. Figure 4 This is a schematic diagram of a user-defined interface for blink detection provided in one embodiment of this application.

[0077] Step 303: When the user's blinking frequency is less than or equal to the blinking threshold, the electronic device 100 guides the user to blink.

[0078] The blink threshold can be set by the user in the specific implementation. This embodiment does not limit the size of the blink threshold. For example, the blink threshold can be 10 times / minute.

[0079] In one specific implementation, the electronic device 100 can guide the user to blink by displaying a blink guidance animation to prompt the user to blink. Specifically, displaying the blink guidance animation can involve displaying a blink guidance interface, in which N blink guidance actions are displayed; where N≥1, N is an integer, and the value of N can be set by the user. This embodiment does not limit the value of N; for example, N can be 5. Each blink guidance action can include a guidance action from opening the eyes to closing the eyes and then opening the eyes again. When N>2, the time interval between at least two blink guidance actions in the above N blink guidance actions is not equal. This indicates that the N blink guidance actions appear randomly during the display of a blink guidance animation. This makes it difficult for the user to figure out the pattern of the blink guidance actions, which can increase the attractiveness of the blink guidance animation to the user and increase the user's initiative to blink in accordance with the blink guidance actions.

[0080] Of course, this embodiment is not limited to this. When N>2, the time interval between each two blink guidance actions in the above N blink guidance actions can also be equal.

[0081] In addition, each blink guide can be displayed continuously within the corresponding blink duration. The blink durations corresponding to different blink guides can be equal or unequal.

[0082] Figure 5 This is a schematic diagram of a blink-guided animation provided in one embodiment of this application, as shown below. Figure 5 As shown, the electronic device 100 can display a blink guide interface 51 in the top area of ​​the display screen 194. In some examples, a camera is provided in the top area of ​​the display screen 194, and the blink guide interface 51 is displayed around the camera. In this embodiment, the camera in the top area of ​​the display screen 194 can be referred to as a front-facing camera.

[0083] See Figure 5 The blinking guidance interface 51 displays the blinking guidance action on the left and the prompt message "Blink" on the right. The blinking guidance interface 51 is displayed around the front-facing camera of the electronic device 100. Figure 5 In this embodiment, the front-facing camera of the electronic device 100 is located in the middle area of ​​the blink guidance interface 51, as shown in 52. During the process of displaying one blink guidance animation, the electronic device 100 can display N blink guidance actions, and each blink guidance action can include a guidance action from opening the eyes to closing the eyes and then opening the eyes again. Figure 5 In the diagram, 53 illustrates a complete blinking gesture. Specifically, the left side of 531 shows an open eye gesture, the left side of 532 shows a half-open eye gesture, the left side of 533 shows a closed eye gesture, the left side of 534 shows a half-open eye gesture, and the left side of 535 shows an open eye gesture. Of course, Figure 5 This is just one example of a blink-guided animation. In actual implementation, the blink-guided animation can also use other animation forms. This embodiment does not limit the specific form of the blink-guided animation.

[0084] like Figure 5 As shown, the blink guide interface 51 can be an oblong shape, similar to a capsule. When the electronic device 100 needs to display the blink guide animation, the electronic device 100 can pop up the oblong blink guide interface 51 in the top area of ​​the display screen 194. The blink guide interface 51 can be displayed around the front camera. Of course, the oblong shape is only one example of the blink guide interface. The blink guide interface can also be other shapes, such as rectangles. This embodiment does not limit the shape of the blink guide interface.

[0085] In addition, this embodiment does not limit the display position of the blink guidance interface. In addition to displaying it in the top area of ​​the display screen 194, it can also be displayed in other areas of the display screen 194, such as the middle area of ​​the display screen 194.

[0086] In this embodiment, when N>2, if the N blink guidance actions appear regularly during the display of a blink guidance animation, then the blink duration corresponding to different blink guidance actions is equal, and the time interval between any two blink guidance actions is also equal. However, if the N blink guidance actions do not appear regularly during the display of a blink guidance animation, but appear randomly, then the blink duration corresponding to different blink guidance actions is unequal, and the time interval between at least two of the N blink guidance actions is unequal.

[0087] Based on the average blinking frequency of the human eye during daily conversation and the smoothness of the animation, the blink duration corresponding to each blink guidance action can range from 300ms to 1500ms; the time interval between two blink guidance actions can range from 500ms to 3000ms.

[0088] When N blink guidance actions occur regularly during the display of a blink guidance animation, the blink duration corresponding to each blink guidance action can be 1000ms, and the time interval between two blink guidance actions can be 1200ms.

[0089] Additionally, users can customize the blink duration for each blink guide and the time interval between two blink guides. Specifically, users can enter... Figure 6 The user-defined blink guide interface shown below prompts "Should the blink guide animation appear according to your custom values?". Users can choose whether to follow a custom value pattern. If the user selects a pattern, they can adjust the blink duration and blink interval of the blink guide animation. The blink duration can be adjusted from 300ms to 1500ms, with a minimum adjustment unit of 100ms. The blink interval can be adjusted from 500ms to 3000ms, with a minimum adjustment unit of 500ms. After the user adjusts the blink duration and blink interval, the electronic device 100 will display the blink guide action according to the user-adjusted blink duration and blink interval during a single blink guide animation display. If the user selects random appearance, N blink guide actions will be displayed during the display of a blink guide animation. When N>2, the blink duration corresponding to different blink guide actions is not the same, and the time interval between at least two blink guide actions in the N blink guide actions is not the same. In other words, in this case, the blink duration and blink interval are random and cannot be adjusted. Figure 6 The interface also provides an option to restore the default settings, allowing users to revert to the default settings of the blink guide animation. Figure 6 This is a schematic diagram of a blink-guided user-customized interface provided in one embodiment of this application.

[0090] In the aforementioned blink guidance method, after the electronic device 100 obtains its current operating state, when the current operating state of the electronic device 100 meets a first predetermined state, the electronic device 100 performs blink detection on the user using the electronic device 100 to obtain the user's blink frequency. When the user's blink frequency is less than or equal to a blink threshold, the electronic device 100 guides the user to blink, thereby prompting the user to blink appropriately when the user's blink frequency is low, improving tear film stability, and relieving dry eyes and visual discomfort.

[0091] Figure 7 A flowchart of a blinking guidance method provided in another embodiment of this application is shown below. Figure 7 As shown, the blink guidance method may include:

[0092] Step 701: Electronic device 100 obtains the continuous operating time of electronic device 100.

[0093] Step 702: When the continuous operating time of the electronic device 100 is greater than or equal to the first duration threshold, the electronic device 100 acquires the ambient light intensity of the environment in which the electronic device 100 is located.

[0094] Step 703: When the ambient light intensity of the environment in which the electronic device 100 is located is less than or equal to the first light intensity threshold, the electronic device 100 obtains the application currently running on the electronic device 100.

[0095] Step 704: When the application currently running on the electronic device 100 is the first target application, the electronic device 100 detects whether the user of the electronic device 100 is looking at the display screen 194 of the electronic device 100.

[0096] The first target application can refer to this application. Figure 3 The description of step 302 in the illustrated embodiment will not be repeated here.

[0097] In this embodiment, the electronic device 100 can detect whether the user is looking at the display screen 194 of the electronic device 100 through its always-on camera. As described above, the electronic device 100 can continuously acquire facial image data from the always-on camera. After acquiring the facial image data, the electronic device 100 can detect whether the user is looking at the display screen 194 of the electronic device 100 based on the facial image data. Specifically, the electronic device 100 can determine whether the user is looking at the display screen 194 using any possible gaze determination method. In one possible implementation, the electronic device 100 can first determine the gaze direction based on the ratio of a first distance from the center of the pupil in the facial image to the corresponding upper and lower eye sockets, and the ratio of a second distance from the center of the pupil to the corresponding left and right edges of the eye sockets. The smaller the first distance ratio, the higher the gaze direction; the smaller the second distance ratio, the more to the left the gaze direction. Of course, this gaze direction recognition method is determined based on eye-tracking technology and other methods, and this embodiment does not limit it.

[0098] Then, the electronic device 100 can determine whether the user is looking at the display screen 194 based on the gaze direction determined from the facial image. For example, the virtual position of the display screen 194 in the facial image can first be determined based on the position of the always-on camera that obtained the facial image on the electronic device 100. Then, the user can determine whether they are looking at the display screen 194 based on the gaze direction and the virtual position.

[0099] The above is only one implementation method for the electronic device 100 to detect whether a user is looking at the display screen 194. In specific implementations, the electronic device 100 can also use other methods to detect whether a user is looking at the display screen 194. For example, it can pre-collect a large number of facial images of people looking at the display screen 194 from various angles and obtain the corresponding facial key point coordinates. Then, when it is necessary to determine whether a user is looking at the display screen 194, the key point coordinates of the face in the facial image can be compared with the pre-obtained facial key point coordinates to determine whether the user is looking at the display screen. Alternatively, a machine learning model can be pre-trained. This machine learning model can determine whether a user is looking at the display screen 194 based on the facial images captured by the electronic device 100. Deploying this machine learning model on the electronic device 100, the electronic device 100 can use the machine learning model to process the facial images to determine whether the user is looking at the display screen 194. This application embodiment does not limit the method by which the electronic device 100 detects whether a user is looking at the display screen 194.

[0100] Step 705: When the user is looking at the display screen of the electronic device 100, the electronic device 100 performs blink detection on the user and obtains the user's blink frequency.

[0101] In this embodiment, the specific implementation method of the electronic device 100 detecting blinks in the user can be referred to... Figure 3 The description of step 302 in the illustrated embodiment will not be repeated here.

[0102] Step 706: Determine whether the user's blinking frequency is less than or equal to the blinking threshold. If yes, proceed to step 707; if no, i.e., the user's blinking frequency is greater than the blinking threshold, return to step 705.

[0103] The blink threshold can be set by the user in the specific implementation. This embodiment does not limit the size of the blink threshold. For example, the blink threshold can be 10 times / minute.

[0104] Step 707: Electronic device 100 guides the user to blink.

[0105] In this embodiment, the method by which the electronic device 100 guides the user to blink can be referred to... Figure 3The description of step 303 in the illustrated embodiment will not be repeated here.

[0106] In this embodiment, the electronic device 100 determines whether the user is at risk of dry eye due to prolonged viewing of the screen of the electronic device 100 based on the continuous operating time of the electronic device 100, the ambient light intensity of the environment in which the electronic device 100 is located, the application currently running on the electronic device 100, and whether the user is looking at the display screen of the electronic device 100. Then, based on the blink frequency obtained by detection, the user is guided to blink, thereby improving the user's tear film stability and relieving dry eyes and visual discomfort.

[0107] Figure 8 A flowchart of a screen display parameter update method provided in one embodiment of this application is shown below. Figure 8 As shown, the method for updating the screen display parameters mentioned above may include:

[0108] Step 801: Electronic device 100 obtains the current operating status of electronic device 100.

[0109] The current operating state of the electronic device 100 may include the continuous operating time of the electronic device 100 and the application currently running on the electronic device 100.

[0110] See Figure 2 The electronic device 100 can obtain the continuous running time of the electronic device 100 through a timer.

[0111] Step 802: When the current operating state of the electronic device 100 meets the second predetermined state, the electronic device 100 acquires the ambient light intensity of the environment in which the electronic device 100 is located.

[0112] The aforementioned second predetermined state may include: the continuous running time of the electronic device 100 is a multiple of the update interval of the screen display parameters, and the application currently running on the electronic device 100 is the second target application.

[0113] The update interval of the aforementioned screen display parameters can be set by the user during implementation. This embodiment does not limit the size of the update interval. When the update interval is set too small, the electronic device 100 will frequently adjust the screen display parameters, which will not only increase the power consumption of the electronic device 100 but also affect the user experience. When the update interval is set too large, it will result in the inability to update the screen display parameters in a timely manner, causing visual discomfort to the user. Therefore, when setting the update interval of the aforementioned screen display parameters, it is necessary to consider the common perception of visual discomfort to users, so as to achieve the goal of protecting the user's eyes without frequently adjusting the screen display parameters and affecting the user experience.

[0114] For example, the update interval of the aforementioned screen display parameters can range from 10 minutes to 40 minutes, with a default value of 30 minutes. Taking an update interval of 30 minutes as an example, when the continuous operating time of the electronic device 100 is a multiple of 30 minutes (e.g., 30 minutes, 60 minutes, or 90 minutes), and the application currently running on the electronic device 100 is the second target application, the electronic device 100 acquires the ambient light intensity of the environment in which the electronic device 100 is located. In some embodiments, the operating time of the second target application may be different from the continuous operating time of the electronic device 100.

[0115] The second target application mentioned above can be a video application, reading application, or game application in the electronic device 100. The video application can be either a short or long video application. Because high-contrast, high-saturation images produce more vibrant colors and facilitate quick information retrieval, the electronic device 100 generally displays high-contrast, high-saturation images when showing the interface of video, reading, or game applications. However, users stare at the screen for extended periods while using these applications. High-contrast, high-saturation images can overstimulate the retina, increasing eye strain and causing visual discomfort. Therefore, when the electronic device 100 is currently running a video, reading, or game application, it needs to update its screen display parameters, changing from displaying high-saturation, high-contrast images to displaying low-contrast, low-saturation images. Low-contrast, low-saturation images have softer colors, making them more comfortable for the user's vision even after prolonged viewing.

[0116] Of course, video applications, reading applications, and game applications are merely three examples of the second target applications and do not constitute a limitation on the second target applications. In some examples, the second target applications may include applications in the electronic device 100 other than the camera application, gallery application, and always-on display (AOD) application. Since updating screen display parameters during the operation of the camera application and gallery application will affect the image display effect, thereby affecting the user experience; similarly, updating screen display parameters during the operation of the AOD application will also affect the user experience. Therefore, in this embodiment, the electronic device 100 excludes the camera application, gallery application, and AOD application when updating screen display parameters.

[0117] In other examples, users can also choose which applications the electronic device 100 is running to update screen display parameters, or they can choose which applications the electronic device 100 is running to not update screen display parameters. Taking the example of users choosing which applications the electronic device 100 is running to update screen display parameters, if a user wants to select the applications that update screen display parameters, they can enter... Figure 9 The updated screen display parameters are shown in the user-defined interface, then... Figure 9 In the interface shown, users can select the applications they want to update screen display parameters during operation. Figure 9 In the process, the user selected five applications: Video Application 1, Video Application 2, Reading Application 1, Reading Application 2, and Game Application 1. In this way, when the electronic device 100 runs Video Application 1, Video Application 2, Reading Application 1, Reading Application 2, or Game Application 1, the electronic device 100 can update the screen display parameters. Figure 9 This is a schematic diagram of a user-defined interface for updating screen display parameters provided in one embodiment of this application.

[0118] Step 803: The electronic device 100 updates its screen display parameters based on the continuous operating time and the ambient light intensity of the environment in which the electronic device 100 is located. The screen display parameters include at least one of color temperature, contrast ratio and saturation.

[0119] In this embodiment, updating the screen display parameters of the electronic device 100 based on the continuous operating time of the electronic device 100 and the ambient light intensity of the environment in which the electronic device 100 is located can be as follows: the electronic device 100 updates and determines the color temperature of the screen of the electronic device 100 based on the continuous operating time of the electronic device 100; and / or, updates at least one of the contrast and saturation of the screen of the electronic device 100 based on the continuous operating time of the electronic device 100 and the ambient light intensity of the environment in which the electronic device 100 is located.

[0120] In specific implementation, when the application currently running on the electronic device 100 is the second target application, the electronic device 100 can update the color temperature of its screen based on the continuous running time of the electronic device 100; and / or, based on the ambient light intensity of the environment in which the electronic device 100 is located, determine the ambient light level to which the ambient light intensity belongs, and then, based on the continuous running time of the electronic device 100 and the ambient light level to which the ambient light intensity belongs, determine the updated levels of contrast and saturation of the screen of the electronic device 100. Furthermore, the electronic device 100 can determine the specific values ​​corresponding to the updated levels of contrast and saturation based on the updated weights of the display parameters.

[0121] The aforementioned ambient light levels may include at least two levels. This embodiment does not limit the number of ambient light levels, nor does it limit the value range of each ambient light level. For example, the aforementioned ambient light levels may include three levels: ambient light intensity <150 lux, 150 lux ≤ ambient light intensity ≤ 1000 lux, and ambient light intensity > 1000 lux.

[0122] The above-mentioned display parameter update weights can be calculated according to equation (1).

[0123] Res = ROUND[(Σai×Ti) / (ΣTi)] (1)

[0124] In equation (1), ai is the application-ambient light weight currently running on electronic device 100, and Ti is the continuous running time of the application-ambient light.

[0125] The following example illustrates the process of updating the screen display parameters of electronic device 100. The example provided assumes an update interval of 30 minutes. Furthermore, in this example, the ambient light level can include three levels: ambient light intensity <150 lux, 150 lux ≤ ambient light intensity ≤ 1000 lux, and ambient light intensity > 1000 lux. Specifically, electronic device 100 can update its screen display parameters according to Table 1.

[0126] Table 1

[0127]

[0128] In Table 1, T represents the continuous operating time of electronic device 100; contrast ratio 1 to contrast ratio 5 are five levels of contrast adjustment; saturation ratio 1 to saturation ratio 5 are five levels of saturation adjustment. As mentioned above, the specific values ​​corresponding to each level of contrast and saturation can be determined according to the display parameter update weights. It should be noted that contrast ratio 1 to contrast ratio 5 only represent five levels of contrast, not a relationship of magnitude. That is, there is no sequential decrease or increase in contrast ratio from contrast ratio 1 to contrast ratio 5. In some examples, at least two levels of contrast ratio 1 to contrast ratio 5 may have the same specific contrast value, which is not limited in this embodiment. Similarly, saturation ratio 1 to saturation ratio 5 only represent five levels of saturation, not a relationship of magnitude. That is, there is no sequential decrease or increase in saturation ratio from saturation ratio 1 to saturation ratio 5. In some examples, at least two levels of saturation ratio 1 to saturation ratio 5 may have the same specific saturation value, which is not limited in this embodiment.

[0129] Additionally, it should be noted that Table 1 is merely an example of a strategy for updating color temperature, contrast, and saturation, and does not constitute a limitation on the embodiments of this application.

[0130] In this example, when the continuous running time of electronic device 100 is 0 minutes, that is, when electronic device 100 just starts to light up, the color temperature of the screen of electronic device 100 is Temp1, the contrast level is contrast1, and the saturation level is saturation1.

[0131] Next, when the continuous operating time of electronic device 100 is 30 minutes, and the application currently running on electronic device 100 is the second target application, electronic device 100 acquires the ambient light intensity of the environment in which electronic device 100 is located, assuming the ambient light intensity is 800 lux. Thus, based on the continuous operating time of 30 minutes and referring to Table 1, electronic device 100 updates the screen's color temperature from Temp1 to Temp2. ​​Then, based on the ambient light intensity of 800 lux, electronic device 100 determines that the ambient light intensity of the environment belongs to the ambient light level of 150 lux ≤ ambient light intensity ≤ 1000 lux. Therefore, based on the continuous operating time of 30 minutes and the ambient light intensity belonging to the 150 lux ≤ ambient light intensity ≤ 1000 lux ambient light level, and referring to Table 1, electronic device 100 updates the screen's contrast level from Contrast 1 to Contrast 2, and the screen's saturation level from Saturation 1 to Saturation 2.

[0132] Subsequently, whenever the continuous running time of the electronic device 100 is a multiple of the update interval of the above-mentioned screen display parameters (for example, the continuous running time is 60 minutes or 90 minutes), the electronic device 100 will update the screen display parameters of the electronic device 100 according to the above process, which will not be described in detail here.

[0133] It should be noted that when updating the contrast and / or saturation levels of the screen, the electronic device 100 can use interpolation to achieve a smooth update process that does not feel abrupt to the user.

[0134] In the above-mentioned method for updating screen display parameters, the electronic device 100 obtains its current operating state. When the current operating state of the electronic device 100 meets the second predetermined state, the electronic device 100 obtains the ambient light intensity of its environment. Then, based on the continuous operating time of the electronic device 100 and the ambient light intensity of its environment, the electronic device 100 updates its screen display parameters. The screen display parameters may include at least one of color temperature, contrast, and saturation, thereby changing the display of a high-saturation, high-contrast image to a low-contrast, low-saturation image. Since the colors of a low-contrast, low-saturation image are softer, the user's vision is more comfortable even after prolonged viewing, which helps improve the stability of the user's tear film and alleviate dry eyes and visual discomfort.

[0135] It is understood that some or all of the steps or operations in the above embodiments are merely examples, and other operations or variations thereof can be performed in the embodiments of this application. Furthermore, the steps may be performed in different orders as presented in the above embodiments, and it is not necessary to perform all the operations in the above embodiments.

[0136] It is understood that, in order to achieve the above-mentioned functions, electronic devices include hardware and / or software modules that perform the respective functions. Based on the algorithm steps of the examples described in conjunction with the embodiments disclosed in this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0137] This embodiment can divide the electronic device into functional modules according to the above method embodiment. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0138] Figure 10 This is a schematic diagram of the structure of an electronic device provided in another embodiment of this application. In the case where functional modules are divided according to their respective functions, Figure 10 A schematic diagram of a possible composition of the electronic device 1000 involved in the above embodiments is shown, such as... Figure 10 As shown, the electronic device 1000 may include: a receiving unit 1001, a processing unit 1002, and a transmitting unit 1003;

[0139] The processing unit 1002 can be used to support the electronic device 1000 in executing steps 301 to 303, steps 701 to 707, and steps 801 to 803, and / or other processes used in the technical solutions described in the embodiments of this application.

[0140] It should be noted that this application Figures 3-8 All relevant content of each step involved in the method embodiment shown can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0141] The electronic device 1000 provided in this embodiment is used to execute this application. Figures 3-8 The method provided in the illustrated embodiment can therefore achieve the same effect as the method described above.

[0142] It should be understood that electronic device 1000 can correspond to Figure 1 The electronic device 100 shown. The functions of the receiving unit 1001 and the transmitting unit 1003 can be determined by… Figure 1 The processor 110, antenna 1, and mobile communication module 150 in the electronic device 100 shown are, and / or, implemented by the processor 110, antenna 2, and wireless communication module 160; the function of the processing unit 1002 can be achieved by... Figure 1 The processor 110, display screen 194, camera 193 and ambient light sensor 180L in the electronic device 100 shown are implemented.

[0143] When using integrated units, the electronic device 1000 may include a processing module, a storage module, and a communication module.

[0144] The processing module can be used to control and manage the actions of the electronic device 1000. For example, it can support the electronic device 1000 in executing the steps performed by the receiving unit 1001, processing unit 1002, and sending unit 1003. The storage module can support the electronic device 1000 in storing program code and data. The communication module can support communication between the electronic device 1000 and other devices.

[0145] The processing module can be a processor or controller, which can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as radio frequency circuitry, a Bluetooth chip, and / or a Wi-Fi chip.

[0146] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device 1000 involved in this embodiment can be a device having... Figure 1 The device with the structure shown.

[0147] This application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to execute this application. Figures 3-8 The method provided in the illustrated embodiment.

[0148] This application also provides a computer program product, which includes a computer program that, when run on a computer, causes the computer to execute this application. Figures 3-8 The method provided in the illustrated embodiment.

[0149] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, A and B simultaneously, or B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.

[0150] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0151] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0152] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0153] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application should be determined by the protection scope of the claims.

Claims

1. A blinking guidance method, characterized in that, include: The current operating status of the electronic device is obtained; wherein, the current operating status of the electronic device includes the continuous operating time of the electronic device and the ambient light intensity of the environment in which the electronic device is located; When the current operating state of the electronic device meets the first predetermined state, blink detection is performed on the user using the electronic device to obtain the blink frequency of the user; When the user's blinking frequency is less than or equal to the blinking threshold, the user is guided to blink.

2. The method according to claim 1, characterized in that, The first predetermined state includes: The continuous operating time of the electronic device is greater than or equal to a first duration threshold, and the ambient light intensity of the environment in which the electronic device is located is less than or equal to a first light intensity threshold.

3. The method according to claim 2, characterized in that, The process of obtaining the current operating status of the electronic device also includes: Obtain the application currently running on the electronic device; The first predetermined state also includes the application currently running on the electronic device being a first target application; the first target application includes video applications or reading applications.

4. The method according to claim 1, characterized in that, Before performing blink detection on the user using the electronic device, the method further includes: Detect whether the user is looking at the display screen of the electronic device; The blink detection of the user using the electronic device includes: Blink detection is performed on the user when they are looking at the display screen of the electronic device.

5. The method according to any one of claims 1-4, characterized in that, The method of guiding the user to blink includes: Display a blink-guided animation to prompt the user to blink.

6. The method according to claim 5, characterized in that, The blink-guided animation includes: Display a blinking guide interface, in which N blinking guide actions are displayed; where N≥1, and N is an integer.

7. The method according to claim 6, characterized in that, The blinking guidance action includes guiding movements from opening the eyes to closing the eyes and then opening the eyes again.

8. The method as described in claim 7, characterized in that, When N > 2, the time interval between at least two of the N blink guidance actions is not equal.

9. The method according to any one of claims 5-7, characterized in that: The blinking guide interface is displayed in the top area of ​​the display screen of the electronic device.

10. The method as described in claim 9, characterized in that, A camera is located at the top of the display screen, and the blink guidance interface is displayed around the camera.

11. A method for updating screen display parameters, characterized in that, include: Obtain the current operating status of the electronic device; wherein, the current operating status of the electronic device includes the continuous operating time of the electronic device and the application currently running on the electronic device; When the current operating state of the electronic device meets the second predetermined state, the ambient light intensity of the environment in which the electronic device is located is obtained; The screen display parameters of the electronic device are updated based on the continuous operating time of the electronic device and the ambient light intensity of the environment in which the electronic device is located; wherein the screen display parameters include at least one of color temperature, contrast and saturation.

12. The method according to claim 11, characterized in that, The second predetermined state includes: The continuous running time of the electronic device is proportional to the update interval of the screen display parameters, and the application currently running on the electronic device is the second target application; wherein, the second target application includes video applications, reading applications or game applications in the electronic device.

13. The method according to claim 11, characterized in that, The step of updating the screen display parameters of the electronic device based on the continuous operating time of the electronic device and the ambient light intensity of the environment in which the electronic device is located includes: The color temperature of the screen of the electronic device is updated based on the continuous operating time of the electronic device; and / or, at least one of the contrast and saturation of the screen of the electronic device is updated based on the continuous operating time of the electronic device and the ambient light intensity of the environment in which the electronic device is located.

14. An electronic device, characterized in that, include: One or more processors; Memory; Multiple applications; And one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs including instructions that, when executed by the electronic device, cause the electronic device to perform the method as claimed in any one of claims 1-10, or cause the electronic device to perform the method as claimed in any one of claims 11-13.

15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a computer, causes the computer to perform the method as described in any one of claims 1-10, or causes the computer to perform the method as described in any one of claims 11-13.