Screen parameter adjusting method and device of electronic equipment and electronic equipment

By obtaining ambient light intensity and user eye image feature data, dynamically adjusting the screen font size and contrast of electronic devices, the problems of complex operations and inability to dynamically adjust in the existing technology are solved, and the user experience and automation and intelligence level are improved.

CN119292461APending Publication Date: 2025-01-10SHANGHAI INNOVATECH INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411332436.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The screen parameter adjustment of existing electronic devices is complex and cannot dynamically adapt to different environments and user fatigue, affecting the user experience.

Method used

By obtaining ambient light intensity, screen usage duration and user eye image feature data, dynamically adjust the screen font size and contrast, and make comprehensive adjustments based on the light intensity, usage duration and fatigue level.

Benefits of technology

It significantly improves the user's visual experience, improves the automation and intelligence level of screen parameter adjustment, and adapts to different environments and usage scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292461A_ABST
    Figure CN119292461A_ABST
Patent Text Reader

Abstract

The invention provides a screen parameter adjusting method and device of electronic equipment and the electronic equipment. The method comprises the following steps: acquiring the illumination intensity of the current environment of the electronic equipment; obtaining the current screen use duration and the screen display content type of the electronic equipment; acquiring a user eye image acquired by the electronic equipment, extracting eye feature data of the user eye image, and determining a current fatigue level of the user according to the eye feature data; and adjusting the screen font size and the screen contrast of the electronic equipment according to the illumination intensity, the screen use duration, the screen display content type and the current fatigue level of the user. Therefore, according to the illumination intensity, the screen use duration, the screen display content type and the current fatigue level of the user, the screen font size and the screen contrast of the electronic equipment can be comprehensively and dynamically adjusted, the visual experience of the user can be remarkably improved, and the automation level and the intelligent level of screen parameter adjustment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method and device for adjusting screen parameters of an electronic device, and the electronic device. Background Art

[0002] In the related art, users are often relied upon to manually adjust the screen parameters of electronic devices, such as screen font size and screen contrast. However, the above methods often have complicated operation procedures, and users need to operate frequently in different environments. It is impossible to achieve dynamic adjustment of screen parameters, which affects the user experience. Summary of the invention

[0003] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0004] To this end, the first objective of the present application is to provide a screen parameter adjustment method for an electronic device, so as to dynamically adjust the screen font size and screen contrast of the electronic device according to multiple parameters.

[0005] The second objective of the present application is to provide a screen parameter adjustment device for an electronic device.

[0006] The third objective of the present application is to provide an electronic device.

[0007] A fourth objective of the present application is to provide a computer-readable storage medium.

[0008] A fifth object of the present application is to provide a computer program product.

[0009] To achieve the above-mentioned purpose, the first aspect embodiment of the present application proposes a method for adjusting screen parameters of an electronic device, including: obtaining the light intensity of the environment in which the electronic device is currently located; obtaining the current screen usage time and screen display content type of the electronic device; obtaining the user's eye image collected by the electronic device, and extracting eye feature data of the user's eye image, and determining the user's current fatigue level based on the eye feature data; adjusting the screen font size and screen contrast of the electronic device based on the light intensity, the screen usage time, the screen display content type and the user's current fatigue level.

[0010] To achieve the above-mentioned purpose, the second aspect embodiment of the present application proposes a screen parameter adjustment device for an electronic device, including: a first acquisition module, used to obtain the light intensity of the current environment of the electronic device; a second acquisition module, used to obtain the current screen usage time and screen display content type of the electronic device; a third acquisition module, used to obtain the user's eye image collected by the electronic device, and extract eye feature data of the user's eye image, and determine the user's current fatigue level based on the eye feature data; an adjustment module, used to adjust the screen font size and screen contrast of the electronic device according to the light intensity, the screen usage time, the screen display content type and the user's current fatigue level.

[0011] To achieve the above-mentioned purpose, the third aspect embodiment of the present application proposes an electronic device, comprising: a processor; and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the processor can execute the screen parameter adjustment method of the electronic device described in the first aspect embodiment above.

[0012] To achieve the above-mentioned purpose, the fourth aspect of the present application proposes a computer-readable storage medium on which a computer program is stored, and the computer instructions are used to enable the computer to execute the screen parameter adjustment method of the electronic device described in the above-mentioned first aspect of the embodiment.

[0013] To achieve the above-mentioned purpose, the fifth embodiment of the present application proposes a computer program product, including a computer program, which, when executed by a processor, implements the screen parameter adjustment method of the electronic device described in the first embodiment above.

[0014] The screen parameter adjustment method, device and electronic device of the electronic device provided in the present application obtain the light intensity of the current environment of the electronic device; obtain the current screen usage time and screen display content type of the electronic device; obtain the user's eye image collected by the electronic device, and extract eye feature data of the user's eye image, and determine the user's current fatigue level according to the eye feature data; adjust the screen font size and screen contrast of the electronic device according to the light intensity, screen usage time, screen display content type and user's current fatigue level. Therefore, the present application can comprehensively and dynamically adjust the screen font size and screen contrast of the electronic device according to the light intensity, screen usage time, screen display content type and user's current fatigue level, which can significantly improve the user's visual experience and improve the automation and intelligence level of screen parameter adjustment.

[0015] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0017] Figure 1 A schematic diagram of a flow chart of a method for adjusting screen parameters of an electronic device provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of a flow chart of another method for adjusting screen parameters of an electronic device provided in an embodiment of the present application;

[0019] Figure 3 A schematic diagram of a flow chart of another method for adjusting screen parameters of an electronic device provided in an embodiment of the present application;

[0020] Figure 4 A schematic diagram of the structure of a screen parameter adjustment device for an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0022] The following describes a method and apparatus for adjusting screen parameters of an electronic device according to an embodiment of the present application with reference to the accompanying drawings.

[0023] Figure 1 is a flow chart of a method for adjusting screen parameters of an electronic device according to an exemplary embodiment. Figure 1 As shown, the screen parameter adjustment method of the electronic device of the embodiment of the present application includes but is not limited to the following steps:

[0024] S101, obtaining the light intensity of the environment in which the electronic device is currently located.

[0025] It should be noted that the execution subject of the screen parameter adjustment method of the electronic device provided in the embodiment of the present application is an electronic device, and the electronic device can be a terminal device. Optionally, the terminal device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a personal computer (personal computer, PC), a television, etc. The embodiment of the present application is not specifically limited.

[0026] It should be noted that the present application does not limit the specific method for obtaining the light intensity of the environment in which the electronic device is currently located, and it can be selected according to actual conditions.

[0027] Optionally, the light intensity may be monitored based on an ambient light sensor configured in the electronic device to obtain the light intensity of the environment in which the electronic device is currently located.

[0028] For example, the ambient light sensor can be called through the sensor management component (SensorManager) to monitor the light intensity, and the light intensity of the current environment of the electronic device can be returned through monitoring events.

[0029] It should be noted that after the light intensity is obtained, the light intensity level of the environment in which the electronic device is currently located can be obtained according to a preset light intensity threshold.

[0030] The light intensity level of the environment in which the electronic device is currently located includes but is not limited to strong light, normal light and weak light.

[0031] S102, obtaining the current screen usage time and screen display content type of the electronic device.

[0032] Among them, screen usage time is the cumulative time that the electronic device screen is turned on and off each time.

[0033] It should be noted that the present application does not limit the specific method for obtaining the current screen usage time of the electronic device, and it can be selected according to actual conditions.

[0034] Optionally, the screen usage time can be monitored based on a timer.

[0035] For example, a countdown timer (CountDownTimer) can be started or reset when the current screen of the electronic device is turned on, and the countdown timer can be turned off (timeout) when the screen is turned off to determine the current screen usage time of the electronic device.

[0036] Optionally, the screen usage time may be monitored based on a task scheduler (JobScheduler).

[0037] For example, a task for monitoring screen usage time may be created, and the task may be started through a task scheduler to monitor screen usage time.

[0038] It should be noted that the present application does not limit the specific method for obtaining the type of content currently displayed on the screen of the electronic device, and it can be selected according to actual conditions.

[0039] Optionally, the type of the current screen display content of the electronic device can be identified, and the type of the current screen display content of the electronic device, such as text, picture, video, etc., can be determined based on the user interface (UI) elements and element hierarchical relationships on the current screen.

[0040] S103, obtaining an eye image of the user collected by the electronic device, extracting eye feature data of the eye image of the user, and determining the current fatigue level of the user according to the eye feature data.

[0041] Optionally, based on a permission instruction for the image acquisition device enabled by the user, the user's eye images may be periodically acquired through the image acquisition device, wherein the image acquisition device may be a camera.

[0042] In an embodiment of the present application, after acquiring the eye image, feature extraction may be performed on the user's eye image to obtain eye feature data.

[0043] Optionally, feature extraction may be performed on the eye image based on a pre-trained eye feature extraction model to obtain eye feature data, wherein the eye feature data may be eyelid closure degree, eyelid closure frequency, and the like.

[0044] Optionally, a mapping relationship between the eye feature data and the fatigue level may be pre-constructed, and the user's current fatigue level may be determined by querying the mapping relationship based on the eye feature data.

[0045] It should be noted that fatigue levels include but are not limited to no fatigue, mild fatigue, moderate fatigue and severe fatigue.

[0046] S104, adjusting the screen font size and screen contrast of the electronic device according to the light intensity, screen usage time, screen display content type and the user's current fatigue level.

[0047] In an embodiment of the present application, after obtaining the light intensity, screen usage time, screen display content type and the user's current fatigue level, the light intensity, screen usage time and the user's current fatigue level can be standardized to obtain the light intensity parameter value W, the screen usage time parameter value T and the fatigue level parameter value F, and obtain a pre-built assignment strategy for the screen display content type, and determine the screen display content type parameter value S corresponding to the screen display content type according to the assignment strategy.

[0048] Optionally, a pre-constructed screen parameter adjustment condition set can be obtained, wherein the screen parameter adjustment set includes multiple screen parameter adjustment conditions, and it is determined whether the light intensity parameter value, the screen usage time parameter value, the fatigue level parameter value, and the screen display content type parameter value meet the screen parameter adjustment conditions. In response to meeting the screen parameter adjustment conditions, a first adjustment mode for the screen font size and a second adjustment mode for the screen contrast are determined according to the screen parameter adjustment conditions, and a first adjustment amplitude for the screen font size and a second adjustment amplitude for the screen contrast are determined according to the light intensity parameter value, the screen usage time parameter value, the screen display content type parameter value, and the fatigue level parameter value. According to the first adjustment mode and the first adjustment amplitude, the current screen font size of the electronic device is adjusted, and according to the second adjustment mode and the second adjustment amplitude, the current screen contrast of the electronic device is adjusted.

[0049] The first adjustment mode of the screen font size is to maintain the screen font size, increase the screen font size, or decrease the screen font size.

[0050] Among them, the second adjustment mode of the screen contrast is to maintain the screen contrast, increase the screen contrast, and reduce the screen contrast.

[0051] For example, if the first adjustment mode of the screen font size is to increase the screen font size and the first adjustment range is 10%, then the screen font size of the electronic device will be increased by 10% on the original basis; if the second adjustment mode of the screen contrast is to reduce the screen contrast and the second adjustment range is 15%, then the screen font size of the electronic device will be reduced by 10% on the original basis.

[0052] In the screen parameter adjustment method of an electronic device provided in an embodiment of the present application, by obtaining the light intensity of the current environment of the electronic device, obtaining the current screen usage time and the screen display content type of the electronic device, obtaining the user's eye image collected by the electronic device, and extracting the eye feature data of the user's eye image, the user's current fatigue level is determined according to the eye feature data, and the screen font size and screen contrast of the electronic device are adjusted according to the light intensity, screen usage time, screen display content type and the user's current fatigue level. Therefore, the present application can comprehensively and dynamically adjust the screen font size and screen contrast of the electronic device according to the light intensity, screen usage time, screen display content type and the user's current fatigue level, which can significantly improve the user's visual experience and improve the automation and intelligence levels of screen parameter adjustment.

[0053] As a possible implementation, Figure 2 As shown, based on the above embodiment, the specific process of adjusting the screen font size and screen contrast of the electronic device according to the light intensity, screen usage time, screen display content type and the user's current fatigue level includes the following steps:

[0054] S201, obtaining a pre-built screen parameter adjustment condition set, wherein the screen parameter adjustment set includes a plurality of screen parameter adjustment conditions.

[0055] It should be noted that the present application does not limit the setting of the screen parameter adjustment conditions, which can be set according to actual conditions.

[0056] Optionally, screen parameter adjustment condition 1 is that the light intensity is weak and the user's current fatigue level is mild fatigue.

[0057] Optionally, screen parameter adjustment condition 2 is that the light intensity is normal light, the user's current fatigue level is not fatigued, and the screen display content type is text.

[0058] S202, determining whether the illumination intensity parameter value, the screen usage time parameter value, the fatigue level parameter value, and the screen display content type parameter value meet the screen parameter adjustment conditions.

[0059] In an embodiment of the present application, after obtaining the pre-constructed screen parameter adjustment conditions, it can be determined whether the light intensity parameter value, screen usage time parameter value, fatigue level parameter value and screen display content type parameter value meet the screen parameter adjustment conditions.

[0060] S203: In response to the screen parameter adjustment condition being met, determining a first adjustment mode for the screen font size and a second adjustment mode for the screen contrast according to the screen parameter adjustment condition.

[0061] Each screen parameter adjustment condition corresponds to an adjustment mode of screen font size and a adjustment mode of screen contrast.

[0062] For example, for screen parameter adjustment condition 1, that is, the light intensity is weak and the user's current fatigue level is mild fatigue, in this case, the first adjustment mode of the screen font size is to increase the screen font size, and the second adjustment mode of the screen contrast is to reduce the screen contrast.

[0063] S204, determining a first adjustment range of the screen font size and a second adjustment range of the screen contrast according to the illumination intensity parameter value, the screen usage time parameter value, the screen display content type parameter value, and the fatigue level parameter value.

[0064] As a possible implementation, Figure 3 As shown, based on the above embodiment, according to the illumination intensity parameter value, the screen usage time parameter value, the screen display content type parameter value and the fatigue level parameter value, the specific process of determining the first adjustment range of the screen font size and the second adjustment range of the screen contrast includes the following steps:

[0065] S301, obtaining a pre-built weight distribution strategy.

[0066] It should be noted that the present application can dynamically adjust the priority of light intensity, screen usage time, screen display content type and user's current fatigue level according to the actual application scenario of the electronic device. The higher the priority, the greater the weight, thereby constructing a weight distribution strategy.

[0067] For example, if the light intensity of the environment in which the electronic device is currently located is weak light, the priority corresponding to the light intensity is higher, that is, the weight is larger; if the light intensity of the environment in which the electronic device is currently located is normal light, the priority corresponding to the user's fatigue level is higher, that is, the weight is larger.

[0068] S302, according to the weight allocation strategy, determine the first weight corresponding to the light intensity parameter value, the second weight corresponding to the screen usage time parameter value, the third weight corresponding to the screen display content type parameter value and the fourth weight corresponding to the fatigue level parameter value.

[0069] In an embodiment of the present application, after obtaining the weight allocation strategy, the first weight m1 corresponding to the light intensity parameter value, the second weight m2 corresponding to the screen usage time parameter value, the third weight m3 corresponding to the screen display content type parameter value, and the fourth weight m4 corresponding to the fatigue level parameter value can be determined according to the weight allocation strategy.

[0070] S303, performing weighted averaging processing on the illumination intensity parameter and the first weight, the screen usage time parameter value and the second weight, the screen display content type parameter value and the third weight, and the fatigue level parameter value and the fourth weight to obtain a weighted average result.

[0071] In the embodiment of the present application, the weighted average result can be obtained by the following formula:

[0072] y=W×m1+T×m2+F×m3+S×m4

[0073] Among them, y is the weighted average result, W is the light intensity parameter value, m1 is the first weight, T is the screen usage time parameter value, m2 is the second weight, F is the fatigue level parameter value, m3 is the third weight, the screen display content type parameter value S, and m4 is the fourth weight.

[0074] S304: Determine a first adjustment range according to the weighted average result and a preset first adjustment factor.

[0075] In the embodiment of the present application, after the weighted average result and the preset first adjustment factor a1 are obtained, the first adjustment amplitude r1 can be determined by the following formula:

[0076] r1=y×a1

[0077] Among them, r1 is the first adjustment range, y is the weighted average result, and a1 is the first adjustment factor.

[0078] S305: Determine a second adjustment range according to the weighted average result and a preset second adjustment factor.

[0079] In the embodiment of the present application, after the weighted average result and the preset first adjustment factor a2 are obtained, the second adjustment amplitude r2 can be determined by the following formula:

[0080] r2=y×a2

[0081] Among them, r2 is the second adjustment range, y is the weighted average result, and a2 is the second adjustment factor.

[0082] S205: adjusting the current screen font size of the electronic device according to the first adjustment mode and the first adjustment range, and adjusting the current screen contrast of the electronic device according to the second adjustment mode and the second adjustment range.

[0083] In an embodiment of the present application, in order to prevent excessive adjustments and reduce the user experience, a first adjustment amplitude threshold for the screen font size and a second adjustment amplitude threshold for the screen contrast may be preset.

[0084] It should be noted that the present application does not limit the setting of the first adjustment amplitude threshold and the second adjustment amplitude threshold. For example, the first adjustment amplitude threshold preset for the screen font size can be within an increase or decrease range of 50% (±50%), and the second adjustment amplitude threshold preset for the screen contrast can be within an increase or decrease range of 20% (±20%).

[0085] In an embodiment of the present application, it is determined whether the first adjustment amplitude is less than a first adjustment amplitude threshold preset for the screen font size and whether the second adjustment amplitude is less than a second adjustment amplitude threshold preset for the screen contrast. In response to the first adjustment amplitude being less than the first adjustment amplitude threshold, the current screen font size of the electronic device is adjusted according to the first adjustment mode and the first adjustment amplitude. In response to the second adjustment amplitude being less than the second adjustment amplitude threshold, the current screen contrast of the electronic device is adjusted according to the second adjustment mode and the second adjustment amplitude.

[0086] It should be noted that in order to improve the user's visual experience, the current screen font size of the electronic device and the current screen contrast of the sub-device can be smoothly adjusted. For example, the adjustment of the current screen font size of the electronic device and the current screen contrast of the sub-device can be divided into multiple steps for adjustment.

[0087] Optionally, based on the first adjustment amplitude, the first adjustment times of the screen font size and the first adjustment amount corresponding to the first adjustment times can be determined, and the current screen font size of the electronic device can be adjusted in sequence according to the first adjustment mode, the first adjustment times and the first adjustment amount corresponding to the first adjustment times.

[0088] For example, for the first adjustment mode, which is to increase the screen font size, if the first adjustment amplitude is 10%, and the first adjustment times of the screen font size is 5 times, then the first adjustment amount corresponding to the first adjustment times is 2%, and each adjustment amount is 2%. Through 5 adjustments, the screen font size is increased in sequence to complete the adjustment of the current screen font size of the electronic device.

[0089] It should be noted that, for increasing the screen font size in the first adjustment mode, the adjusted screen font size is: original screen font size × [1 + (y × a1]; for decreasing the screen font size in the first adjustment mode, the adjusted screen font size is: original screen font size × [1 - (y × a1)].

[0090] Optionally, based on the second adjustment amplitude, the second adjustment times of the screen contrast and the second adjustment amount corresponding to the second adjustment times can be determined, and the current screen contrast of the electronic device can be adjusted in sequence according to the second adjustment mode, the second adjustment times and the second adjustment amount corresponding to the second adjustment times.

[0091] For example, for the second adjustment mode, which is to reduce the screen contrast, if the second adjustment amplitude is 15%, and the second adjustment times of the screen contrast is 5 times, then the second adjustment amount corresponding to the second adjustment times is 3%, and each adjustment amount is 3%. Through 5 adjustments, the screen contrast is reduced in turn to complete the adjustment of the current screen contrast of the electronic device.

[0092] It should be noted that, for increasing the screen contrast in the second adjustment mode, the adjusted screen contrast is: original screen contrast × [1 + (y × a2]; for decreasing the screen contrast in the second adjustment mode, the adjusted screen contrast is: original screen contrast × [1 - (y × a2)].

[0093] In the screen parameter adjustment method of an electronic device provided in an embodiment of the present application, a pre-constructed screen parameter adjustment condition set is obtained, wherein the screen parameter adjustment set includes multiple screen parameter adjustment conditions, and it is determined whether the light intensity parameter value, the screen usage time parameter value, the fatigue level parameter value, and the screen display content type parameter value meet the screen parameter adjustment conditions. In response to meeting the screen parameter adjustment conditions, a first adjustment mode for the screen font size and a second adjustment mode for the screen contrast are determined according to the screen parameter adjustment conditions, a pre-constructed weight allocation strategy is obtained, and according to the weight allocation strategy, a first weight corresponding to the light intensity parameter value, a second weight corresponding to the screen usage time parameter value, a third weight corresponding to the screen display content type parameter value, and a fourth weight corresponding to the fatigue level parameter value are determined, and the light intensity parameter value and the first weight, the screen usage time parameter value and the second weight, the screen display content type parameter value and the third weight are determined. The weighted average of the value and the third weight, the fatigue level parameter value and the fourth weight is performed to obtain a weighted average result, and a first adjustment amplitude is determined according to the weighted average result and a preset first adjustment factor, and a second adjustment amplitude is determined according to the weighted average result and the preset second adjustment factor, and the current screen font size of the electronic device is adjusted according to the first adjustment mode and the first adjustment amplitude, and the current screen contrast of the electronic device is adjusted according to the second adjustment mode and the second adjustment amplitude. Therefore, the present application can make the screen suitable for different environments and usage scenarios by dynamically adjusting the screen font size and screen contrast, thereby improving the user's visual experience, and combined with the user's fatigue level, it can provide more personalized visual protection. The present application uses a simple and efficient algorithm to improve the intelligence and automation level of screen parameter adjustment without relying on large-scale computing resources, and has high practicality.

[0094] In order to implement the above embodiment, the present application also proposes a screen parameter adjustment device for an electronic device.

[0095] Figure 4A schematic diagram of the structure of a screen parameter adjustment device for an electronic device provided in an embodiment of the present application.

[0096] like Figure 4 As shown, the screen parameter adjustment device 400 of the electronic device includes:

[0097] The first acquisition module 401 is used to acquire the light intensity of the environment where the electronic device is currently located;

[0098] The second acquisition module 402 is used to acquire the current screen usage time and screen display content type of the electronic device;

[0099] The third acquisition module 403 is used to acquire the user's eye image collected by the electronic device, extract eye feature data from the user's eye image, and determine the user's current fatigue level according to the eye feature data;

[0100] The adjustment module 404 is used to adjust the screen font size and screen contrast of the electronic device according to the light intensity, the screen usage time, the type of content displayed on the screen and the current fatigue level of the user.

[0101] In a possible implementation of an embodiment of the present application, the device 400 is also used to: standardize the light intensity, the screen usage time and the user's current fatigue level to obtain a light intensity parameter value, a screen usage time parameter value and a fatigue level parameter value; obtain a pre-built assignment strategy for the screen display content type, and determine the screen display content type parameter value corresponding to the screen display content type according to the assignment strategy.

[0102] In a possible implementation of an embodiment of the present application, the adjustment module 404 is further used to: obtain a pre-constructed screen parameter adjustment condition set, wherein the screen parameter adjustment set includes multiple screen parameter adjustment conditions; determine whether the light intensity parameter value, the screen usage time parameter value, the fatigue level parameter value and the screen display content type parameter value meet the screen parameter adjustment conditions; in response to meeting the screen parameter adjustment conditions, determine a first adjustment mode for the screen font size and a second adjustment mode for the screen contrast according to the screen parameter adjustment conditions; determine a first adjustment amplitude of the screen font size and a second adjustment amplitude of the screen contrast according to the light intensity parameter value, the screen usage time parameter value, the screen display content type parameter value and the fatigue level parameter value; adjust the current screen font size of the electronic device according to the first adjustment mode and the first adjustment amplitude, and adjust the current screen contrast of the electronic device according to the second adjustment mode and the second adjustment amplitude.

[0103] In a possible implementation of an embodiment of the present application, the adjustment module 404 is also used to: obtain a pre-constructed weight allocation strategy; determine, according to the weight allocation strategy, a first weight corresponding to the light intensity parameter value, a second weight corresponding to the screen usage time parameter value, a third weight corresponding to the screen display content type parameter value, and a fourth weight corresponding to the fatigue level parameter value; perform weighted averaging processing on the light intensity parameter value and the first weight, the screen usage time parameter value and the second weight, the screen display content type parameter value and the third weight, and the fatigue level parameter value and the fourth weight to obtain a weighted average result; determine the first adjustment amplitude according to the weighted average result and a preset first adjustment factor; determine the second adjustment amplitude according to the weighted average result and the preset second adjustment factor.

[0104] In a possible implementation manner of an embodiment of the present application, the device 400 is also used to: determine whether the first adjustment amplitude is less than a first adjustment amplitude threshold preset for the screen font size and whether the second adjustment amplitude is less than a second adjustment amplitude threshold preset for the screen contrast; in response to the first adjustment amplitude being less than the first adjustment amplitude threshold, adjusting the current screen font size of the electronic device according to the first adjustment mode and the first adjustment amplitude; in response to the second adjustment amplitude being less than the second adjustment amplitude threshold, adjusting the current screen contrast of the electronic device according to the second adjustment mode and the second adjustment amplitude.

[0105] In a possible implementation of an embodiment of the present application, the adjustment module 404 is further used to: determine a first adjustment number of the screen font size and a first adjustment amount corresponding to the first adjustment number based on the first adjustment amplitude; and adjust the current screen font size of the electronic device in sequence according to the first adjustment mode, the first adjustment number and the first adjustment amount corresponding to the first adjustment number.

[0106] In a possible implementation of an embodiment of the present application, the adjustment module 404 is further used to: determine a second adjustment number of screen contrast and a second adjustment amount corresponding to the second adjustment number based on the second adjustment amplitude; and adjust the current screen contrast of the electronic device in sequence according to the second adjustment mode, the second adjustment number and the second adjustment amount corresponding to the second adjustment number.

[0107] In the screen parameter adjustment device of the electronic device provided in the embodiment of the present application, by obtaining the light intensity of the current environment of the electronic device, obtaining the current screen usage time and the screen display content type of the electronic device, obtaining the user's eye image collected by the electronic device, and extracting the eye feature data of the user's eye image, the user's current fatigue level is determined according to the eye feature data, and the screen font size and screen contrast of the electronic device are adjusted according to the light intensity, screen usage time, screen display content type and the user's current fatigue level. Therefore, the present application can comprehensively and dynamically adjust the screen font size and screen contrast of the electronic device according to the light intensity, screen usage time, screen display content type and the user's current fatigue level, which can significantly improve the user's visual experience and improve the automation and intelligence levels of screen parameter adjustment.

[0108] It should be noted that the above explanation of the embodiment of the method for adjusting screen parameters of an electronic device is also applicable to the device for adjusting screen parameters of an electronic device of this embodiment, and will not be described in detail here.

[0109] In order to implement the above embodiments, the present application also proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method provided by the above embodiments.

[0110] In order to implement the above embodiments, the present application also proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided by the above embodiments.

[0111] In order to implement the above embodiments, the present application also proposes a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.

[0112] The collection, storage, use, processing, transmission, provision and application of user personal information involved in this application are in compliance with relevant laws and regulations and do not violate public order and good morals.

[0113] It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection / sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign the agreement / authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.

[0114] This application is expected to provide an implementation scheme for users to selectively block the use or access of personal information data. That is, this application is expected to provide hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, risks can be minimized by limiting data collection and deleting data. In addition, when applicable, personal identifiers are removed from such personal information to protect the privacy of users.

[0115] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0116] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0117] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0118] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0119] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0120] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0121] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0122] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for adjusting screen parameters of an electronic device, characterized in that: The method comprises: Obtain the light intensity of the environment where the electronic device is currently located; Acquire the current screen usage time and screen display content type of the electronic device; Acquire the user's eye image captured by the electronic device, extract eye feature data from the user's eye image, and determine the user's current fatigue level according to the eye feature data; The screen font size and screen contrast of the electronic device are adjusted according to the light intensity, the screen usage time, the type of content displayed on the screen and the current fatigue level of the user.

2. The method according to claim 1, characterized in that Before adjusting the screen font size and screen contrast of the electronic device according to the light intensity, the screen usage time, the screen display content type and the current fatigue level of the user, the method includes: The light intensity, the screen usage time and the current fatigue level of the user are normalized to obtain a light intensity parameter value, a screen usage time parameter value and a fatigue level parameter value; A pre-built assignment strategy for a screen display content type is obtained, and a screen display content type parameter value corresponding to the screen display content type is determined according to the assignment strategy.

3. The method according to claim 2, characterized in that The adjusting the screen font size and screen contrast of the electronic device according to the light intensity, the screen usage time, the type of content displayed on the screen and the current fatigue level of the user includes: Acquire a pre-built screen parameter adjustment condition set, wherein the screen parameter adjustment set includes a plurality of screen parameter adjustment conditions; Determine whether the illumination intensity parameter value, the screen usage time parameter value, the fatigue level parameter value, and the screen display content type parameter value meet the screen parameter adjustment condition; In response to meeting the screen parameter adjustment condition, determining a first adjustment mode for the screen font size and a second adjustment mode for the screen contrast according to the screen parameter adjustment condition; Determining a first adjustment range of the screen font size and a second adjustment range of the screen contrast according to the illumination intensity parameter value, the screen usage time parameter value, the screen display content type parameter value, and the fatigue level parameter value; According to the first adjustment mode and the first adjustment range, the current screen font size of the electronic device is adjusted, and according to the second adjustment mode and the second adjustment range, the current screen contrast of the electronic device is adjusted.

4. The method according to claim 3, characterized in that The determining, according to the illumination intensity parameter value, the screen usage time parameter value, the screen display content type parameter value, and the fatigue level parameter value, a first adjustment range of the screen font size and a second adjustment range of the screen contrast comprises: Get pre-built weight distribution strategies; According to the weight allocation strategy, determine a first weight corresponding to the illumination intensity parameter value, a second weight corresponding to the screen usage time parameter value, a third weight corresponding to the screen display content type parameter value, and a fourth weight corresponding to the fatigue level parameter value; Performing weighted averaging processing on the illumination intensity parameter value and the first weight, the screen usage duration parameter value and the second weight, the screen display content type parameter value and the third weight, and the fatigue level parameter value and the fourth weight to obtain a weighted average result; Determining the first adjustment range according to the weighted average result and a preset first adjustment factor; The second adjustment range is determined according to the weighted average result and a preset second adjustment factor.

5. The method according to claim 4, characterized in that After determining the first adjustment range and the second adjustment range, the method further includes: Determine whether the first adjustment amplitude is less than a first adjustment amplitude threshold preset for screen font size and whether the second adjustment amplitude is less than a second adjustment amplitude threshold preset for screen contrast; In response to the first adjustment amplitude being less than the first adjustment amplitude threshold, adjusting the current screen font size of the electronic device according to the first adjustment mode and the first adjustment amplitude; In response to the second adjustment amplitude being less than the second adjustment amplitude threshold, the current screen contrast of the electronic device is adjusted according to the second adjustment mode and the second adjustment amplitude.

6. The method according to claim 5, characterized in that In response to the first adjustment amplitude being less than the first adjustment amplitude threshold, adjusting the current screen font size of the electronic device according to the first adjustment mode and the first adjustment amplitude includes: Based on the first adjustment amplitude, determining a first adjustment number of times the screen font size is adjusted and a first adjustment amount corresponding to the first adjustment number; The current screen font size of the electronic device is adjusted in sequence according to the first adjustment mode, the first adjustment times, and the first adjustment amount corresponding to the first adjustment times.

7. The method according to claim 5, characterized in that In response to the first adjustment amplitude being less than the first adjustment amplitude threshold, adjusting the current screen font size of the electronic device according to the first adjustment mode and the first adjustment amplitude includes: Based on the second adjustment amplitude, determining a second adjustment number of screen contrast and a second adjustment amount corresponding to the second adjustment number; The current screen contrast of the electronic device is adjusted in sequence according to the second adjustment mode, the second adjustment times, and the second adjustment amount corresponding to the second adjustment times.

8. A screen parameter adjustment device for an electronic device, characterized in that: The device comprises: A first acquisition module is used to acquire the light intensity of the environment where the electronic device is currently located; A second acquisition module is used to acquire the current screen usage time and screen display content type of the electronic device; A third acquisition module is used to acquire the user's eye image collected by the electronic device, extract eye feature data from the user's eye image, and determine the user's current fatigue level according to the eye feature data; An adjustment module is used to adjust the screen font size and screen contrast of the electronic device according to the light intensity, the screen usage time, the type of content displayed on the screen and the current fatigue level of the user.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.