CN111711748B - Control method and device for screen refresh rate, electronic equipment and readable storage medium - Google Patents

Control method and device for screen refresh rate, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111711748B
CN111711748B CN202010463885.4A CN202010463885A CN111711748B CN 111711748 B CN111711748 B CN 111711748B CN 202010463885 A CN202010463885 A CN 202010463885A CN 111711748 B CN111711748 B CN 111711748B
Authority
CN
China
Prior art keywords
screen
area
refresh rate
under
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010463885.4A
Other languages
Chinese (zh)
Other versions
CN111711748A (en
Inventor
景瑞光
曾浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202010463885.4A priority Critical patent/CN111711748B/en
Publication of CN111711748A publication Critical patent/CN111711748A/en
Application granted granted Critical
Publication of CN111711748B publication Critical patent/CN111711748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Abstract

The application discloses a method and a device for controlling a screen refresh rate, electronic equipment and a readable storage medium, and belongs to the technical field of control. The control method of the screen refresh rate comprises the following steps: detecting an exposure state of a camera under a screen under the condition that a shooting preview image is displayed in the screen; reducing the screen refresh rate in the first screen area and keeping the screen refresh rate in the second screen area unchanged under the condition that the exposure state of the camera under the screen meets the preset condition; the first screen area is a screen area corresponding to the camera under the screen, and the first screen area is different from the second screen area. By using the method and the device for controlling the screen refresh rate, the electronic equipment and the readable storage medium, the imaging quality of the camera under the screen can be improved.

Description

Control method and device for screen refresh rate, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of control, and particularly relates to a method and a device for controlling a screen refresh rate, an electronic device and a readable storage medium.
Background
With the gradual development of electronic equipment, in view of the fact that a full screen has a high screen occupation ratio, better visual experience can be brought to a user, and the full screen is widely applied to the electronic equipment.
However, the front camera needs to be designed more finely due to the higher screen ratio of the full screen. Therefore, the camera is arranged below the full-screen, the normal display of the full-screen cannot be influenced, and the camera can be widely applied to the full-screen.
However, in the process of imaging by using the off-screen camera, the image distortion often occurs under the influence of the screen refresh rate, resulting in poor imaging quality.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for controlling a screen refresh rate, an electronic device and a readable storage medium, which can solve the technical problem of poor imaging quality of an under-screen camera.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for controlling a screen refresh rate, where the method includes:
detecting the exposure state of a camera under a screen under the condition that a shooting preview image is displayed in the screen;
reducing the screen refresh rate of the first screen area and keeping the screen refresh rate of the second screen area unchanged under the condition that the exposure state of the camera under the screen meets the preset condition;
the first screen area is a screen area corresponding to the camera under the screen, and the first screen area is different from the second screen area.
As an implementable manner of the first aspect, the area range of the first screen area is determined according to at least one of:
shooting display information and environment information of the preview image;
wherein the display information comprises at least one of: luminance information and chrominance information.
As an implementation manner of the first aspect, in a case that an exposure state of a camera under a screen meets a preset condition, reducing a screen refresh rate of a first screen region includes:
under the condition that the exposure state of the under-screen camera meets a preset condition, acquiring a first moment when the under-screen camera starts to be exposed;
from the first time, the screen refresh rate in the first screen region is reduced.
As an implementation manner of the first aspect, after reducing the screen refresh rate of the first screen region and keeping the screen refresh rate of the second screen region unchanged, the method for controlling the screen refresh rate further includes:
and restoring the screen refresh rate of the first screen area under the condition that the exposure of the camera under the screen is finished.
As an implementation manner of the first aspect, in a case where the exposure of the off-screen camera is ended, restoring the screen refresh rate in the first screen area includes:
under the condition that the exposure of the off-screen camera is finished, acquiring a second moment when the exposure of the off-screen camera is finished;
and restoring the screen refresh rate of the first screen area from the second moment.
In a second aspect, an embodiment of the present application provides a shooting apparatus, including:
the detection module is used for detecting the exposure state of the camera under the screen under the condition that the shooting preview image is displayed in the screen;
the first control module is used for reducing the screen refresh rate of the first screen area and keeping the screen refresh rate of the second screen area unchanged under the condition that the exposure state of the camera under the screen meets the preset condition;
the first screen area is a screen area corresponding to the camera under the screen, and the first screen area is different from the second screen area.
As an implementable manner of the second aspect, the area range of the first screen area is determined according to at least one of: shooting display information and environment information of a preview image;
wherein the display information comprises at least one of: luminance information and chrominance information.
As an implementation manner of the second aspect, the first control module further includes:
the first acquisition unit is used for acquiring a first moment when the exposure state of the under-screen camera meets a preset condition;
and the first control unit is used for reducing the screen refresh rate of the first screen area from the first moment.
As an implementation manner of the second aspect, the control device of the screen refresh rate further includes:
and the second control module is used for recovering the screen refresh rate of the first screen area under the condition that the exposure of the camera under the screen is finished.
As an implementation manner of the second aspect, the second control module further includes:
the second acquisition unit is used for acquiring a second moment when the exposure of the off-screen camera is finished under the condition that the exposure of the off-screen camera is finished;
and the second control unit is used for recovering the screen refresh rate of the first screen area from the second moment.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect.
In the embodiment of the application, the exposure state of the camera under the screen is detected under the condition that the shooting preview image is displayed in the screen, and under the condition that the exposure state of the camera under the screen meets the preset condition, the interference of the screen refreshing on the light entering of the camera assembly under the screen is reduced by reducing the screen refreshing rate of the first screen area corresponding to the camera under the screen, and the imaging effect of the shooting preview image cannot be influenced in the process of exposing and imaging the shooting preview image because the screen refreshing rate of the second screen area is kept unchanged, so that the imaging quality of the camera under the screen can be improved.
Drawings
Fig. 1 is a schematic flowchart illustrating a method for controlling a screen refresh rate according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a display screen provided in one embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for controlling a screen refresh rate according to another embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of a device for controlling a screen refresh rate according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be implemented in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method, the apparatus, the electronic device and the readable storage medium for controlling the screen refresh rate according to the embodiments of the present application are described in detail below with reference to the accompanying drawings.
The inventor finds that factors such as the amount of light entering and the light emission of the screen can affect the imaging quality of the camera under the screen. However, the amount of light entering is affected by the transparency of the screen itself and screen refresh. Especially, when the under-screen camera starts to expose, and the screen refreshes the frame rate, the color and brightness of the screen around the under-screen camera will change, and further the imaging quality of photographing will be affected. The higher the refresh rate of the screen is, the stronger the interference to the light entering of the camera under the screen is, the greater the influence on the imaging quality of the camera under the screen is, and the more serious the image distortion is.
In order to solve the foregoing problem, embodiments of the present application provide a method and an apparatus for controlling a screen refresh rate, an electronic device, and a readable storage medium, which are capable of improving imaging quality of an off-screen camera.
Fig. 1 is a schematic flowchart of a method for controlling a screen refresh rate according to an embodiment of the present application.
As shown in fig. 1, the method for controlling the screen refresh rate includes:
s110, under the condition that the shooting preview image is displayed on the screen, the exposure state of the camera under the screen is detected.
And S120, reducing the screen refresh rate of the first screen area and keeping the screen refresh rate of the second screen area unchanged under the condition that the exposure state of the camera under the screen meets the preset condition.
The first screen area is a screen area corresponding to the camera under the screen, and the first screen area is different from the second screen area.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the application, the exposure state of the camera under the screen is detected under the condition that the shooting preview image is displayed in the screen, and under the condition that the exposure state of the camera under the screen meets the preset condition, the interference of screen refreshing on the light entering of the camera assembly under the screen is reduced by reducing the screen refreshing rate of the first screen area corresponding to the camera under the screen, and as the screen refreshing rate of the second screen area is kept unchanged, the imaging effect of the shooting preview image cannot be influenced in the process of exposing and imaging the shooting preview image, so that the imaging quality of the camera under the screen can be improved.
The following describes in detail a specific implementation of S120 in conjunction with the accompanying drawings.
In some embodiments of the present application, as shown in fig. 2, fig. 2 is a schematic diagram of a display screen provided in one embodiment of the present application. The first screen area 21 includes a screen area corresponding to the off-screen camera component 20, and the second screen area 22 is an area of the display screen other than the first screen area 21.
In some embodiments of the present application, when it is detected that the terminal starts to view through the camera but the camera under the screen is not exposed yet, or the camera is already in the exposure process, it is determined that the exposure state of the camera under the screen meets the preset condition. At this time, S120 further includes the following steps:
under the condition that the exposure state of the under-screen camera meets a preset condition, acquiring a first moment when the under-screen camera starts to be exposed;
from the first time, the screen refresh rate in the first screen region is reduced.
Alternatively, in a case that it is detected that the terminal starts to view through the camera, but the off-screen camera is not yet exposed, the first time point for acquiring the exposure start of the off-screen camera may be: acquiring the corresponding moment when a user presses a shooting key; in the case that the camera is already in the exposure process, the first time for acquiring the exposure start of the off-screen camera may be: and detecting the corresponding moment when the camera is exposed.
As an example, when the user starts the photographing mode of the electronic device and presses the photographing key, it is recorded as a first time T1, and at this time, the control device of the screen refresh rate starts to decrease the screen refresh rate of the screen pixel units in the first screen region and keeps the screen refresh rate of the screen pixel units in the second screen region unchanged.
In the embodiment of the application, in the process of exposing the shot original image data, the screen pixel unit in the first screen area of the under-screen camera component is controlled to stop refreshing, so that the interference of screen refreshing on the light entering of the under-screen camera component is reduced, and the screen pixel unit in the second screen area is kept to be refreshed continuously, so that in the process of exposing the original image data, the control effect of the screen refreshing rate of the whole target image cannot be influenced, the additional hardware cost is not required to be increased, and the imaging quality of the under-screen camera can be improved.
In order to improve the display effect of the display screen when the off-screen camera is not exposed, in some embodiments of the present application, after S120, the method further includes the following steps:
and restoring the screen refresh rate in the first screen area under the condition that the exposure of the camera under the screen is finished.
In some embodiments of the present application, a time when the off-screen camera starts to expose is referred to as a first time T1, and a time when the off-screen camera ends to expose is referred to as a time T2, during a period from T1 to T2, the screen refresh rate of the first screen region may be kept low, and the screen refresh rate of the first screen region may be recovered after the off-screen camera ends to expose (i.e., after the time T2) is detected.
In some embodiments, the screen refresh rate of the first screen region may be restored to be consistent with the screen refresh rate before the reduction, or the screen refresh rate of the first screen region may be restored to be consistent with the second screen region.
Illustratively, the screen refresh rate of the first screen region is 90hz before the first time, the screen refresh rate of the first screen region is reduced to 30hz during the period from T1 to T2, and the screen refresh rate of the first screen region is restored to 90hz after the exposure of the off-screen camera is finished, i.e., after the time T2. In addition, if the screen is a screen whose refresh rate can be dynamically adjusted, the screen refresh rate of the first screen region may be adjusted to match the screen refresh rate of the second screen region after time T2.
In the embodiment of the application, after the control device of the screen refresh rate detects that the exposure of the camera under the screen is finished, the screen refresh rate in the first screen area can be recovered, so that the display screen is more flow and clearer when displaying the content.
In order to better reduce the influence of the screen refresh rate on the light-entering amount of the under-screen camera and better improve the imaging quality of the under-screen camera, the determination of the area range of the first screen area for reducing the screen refresh rate is particularly important in the exposure process.
As such, in some embodiments of the present application, the area range of the first screen area may also be determined based on the display information and/or the environment information of the captured preview image, specifically, refer to the flowchart shown in fig. 3.
Fig. 3 is a flowchart illustrating a method for controlling a screen refresh rate according to another embodiment of the present application. The control method of the screen refresh rate specifically comprises the following steps:
s310, determining the area range of the first screen area.
Wherein the area range in the first screen area is determined according to at least one of: parameter information of the under-screen camera shooting assembly, display information of the shot preview image and environment information; wherein the display information comprises at least one of: luminance information and chrominance information.
Wherein, the parameter information can be parameters such as focal length of the camera; the environment information may be day, night, indoor and outdoor scene information, etc.
With respect to a specific determination manner of the area range of the first screen area in S310, a detailed description will be made hereinafter.
And S320, detecting the exposure state of the camera under the screen under the condition that the shooting preview image is displayed on the screen.
S330, reducing the screen refresh rate in the first screen area and keeping the screen refresh rate in the second screen area unchanged under the condition that the exposure state of the camera under the screen meets the preset condition.
The first screen area is a screen area corresponding to the camera under the screen, and the first screen area is different from the second screen area.
S320 and S330 are the same as S110 and S120 shown in fig. 1, and are not described herein again.
In the embodiment of the application, when the area range of the first screen area is determined, that is, the fixed area range may be determined by parameter information of the off-screen camera component, and the area range may be dynamically determined according to display information and/or environment information of the shot preview image, so that the area range may be dynamically adjusted in the process of exposing different shot images. And then under the condition that the exposure state of the camera satisfies the preset condition under the screen, through reducing the screen refresh rate in the first screen region that the camera corresponds under the screen, and then reduce the screen refresh and to the subassembly of making a video recording under the screen interference of advancing light, and because keep the screen refresh rate in the second screen region unchangeable, so in the in-process of exposing to light and formation of image to shooting preview image, still can not influence the formation of image effect of shooting preview image, thereby can improve the formation of image quality of camera under the screen.
The specific implementation manner of determining the area range of the first screen area in S310 is described in detail below by some embodiments.
When the area range of the first screen area is determined according to the parameter information of the off-screen camera component, the area range may be determined according to the focal length in the parameter information. Different focal lengths may correspond to different zone ranges, for example, a zone range corresponding to a short focal length may be smaller than a zone range corresponding to a long focal length.
In the embodiment of the application, the fixed area range is determined through the parameter information of the under-screen camera shooting component, so that the area range of the first screen area is more suitable for the parameters of the under-screen camera shooting component, and the imaging quality of the under-screen camera is better.
When the area range of the first screen area is determined according to the display information of the photographed preview image, the target brightness corresponding to the display information may be determined. Next, after determining the target brightness, the area range of the first screen area may be calculated by expression (1) based on the target brightness and the range threshold of the first screen area.
Figure BDA0002511971800000081
Wherein the range threshold may be a maximum area range value allowed for the first screen area.
For example, if the target brightness corresponding to the environment information is low, the area range of the first screen area is small; if the target brightness corresponding to the environment information is high, the area range of the first screen area is also large.
When the area range of the first screen area is determined according to the chromaticity in the display information, the area range of the first screen area may be determined based on the chromaticity information in the captured preview image. For example, the chromaticity information of the captured preview image may be weighted to obtain the target chromaticity, and then the area range corresponding to the target chromaticity may be used as the area range of the first screen area.
In some embodiments, the environment information may be day, night, indoor or outdoor, and different environments may correspond to different area ranges of the first screen area.
When the area range of the first screen area is determined according to the environment information, for example, if the environment information is in the daytime at the moment, the area range a corresponding to the daytime can be determined according to the preset corresponding relationship between the environment information and the area range, and the area range of the first screen area is determined to be a; if the environmental information is at night, determining an area range B corresponding to the night according to a preset corresponding relationship between the environmental information and the area range, and determining the area range of the first screen area as B. The area range of the first screen area corresponding to the environment information in daytime may be larger than the area range of the first screen area corresponding to night.
In the embodiment of the application, the dynamic determination of the area range is realized according to the environment information and/or the display information of the original image data, so that the area range can be dynamically adjusted in the process of exposing different shot images, and the imaging quality of the camera under the screen is better.
It should be noted that, in the control method of the screen refresh rate provided in the foregoing embodiment of the present application, the execution subject may be a control device of the screen refresh rate, or a control module in the control device of the screen refresh rate for executing the control method of loading the screen refresh rate.
The following describes a control device for a screen refresh rate, which executes a control method for loading a screen refresh rate provided in the above embodiment, by taking a control device for a screen refresh rate as an example.
Fig. 4 is a schematic structural diagram of a device for controlling a screen refresh rate according to an embodiment of the present application. As shown in fig. 4, the apparatus includes:
the detection module 410 is used for detecting the exposure state of the camera under the screen under the condition that the shooting preview image is displayed in the screen;
the generating module 420 is a first control module, and is configured to reduce a screen refresh rate in a first screen area and keep a screen refresh rate in a second screen area unchanged when an exposure state of the camera under the screen meets a preset condition;
the first screen area is a screen area corresponding to the camera under the screen, and the first screen area is different from the second screen area.
In the embodiment of the application, the exposure state of the camera under the screen is detected under the condition that the shooting preview image is displayed in the screen, and under the condition that the exposure state of the camera under the screen meets the preset condition, the interference of screen refreshing on the light entering of the camera assembly under the screen is reduced by reducing the screen refreshing rate in the first screen area corresponding to the camera under the screen, and the imaging effect of the shooting preview image cannot be influenced in the process of exposing and imaging the shooting preview image because the screen refreshing rate in the second screen area is kept unchanged, so that the imaging quality of the camera under the screen can be improved.
In some embodiments of the application, the area extent of the first screen area is determined according to at least one of: shooting display information and environment information of the preview image;
wherein the display information comprises at least one of: luminance information and chrominance information.
In some embodiments of the present application, the first control module further comprises:
the first acquisition unit is used for acquiring a first moment when the exposure state of the under-screen camera meets a preset condition;
and the first control unit is used for reducing the screen refresh rate in the first screen area from the first moment.
In some embodiments of the present application, the control device of the screen refresh rate further comprises:
and the second control module is used for recovering the screen refresh rate in the first screen area under the condition that the exposure of the camera under the screen is finished.
In some embodiments of the present application, the second control module further comprises:
the second acquisition unit is used for acquiring a second moment when the exposure of the off-screen camera is finished under the condition that the exposure of the off-screen camera is finished;
and the second control unit is used for recovering the screen refresh rate in the first screen area from the second moment.
Each module of the control device for the screen refresh rate provided in the embodiment of the present application has a function of implementing the control method/step for the screen refresh rate in the embodiment shown in fig. 1 to 3, and can achieve the technical effect corresponding to the embodiment shown in fig. 1 to 3, and is not described herein again for brevity.
The control device of the screen refresh rate in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The control device of the screen refresh rate in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The control device for the screen refresh rate provided in the embodiment of the present application can implement each process implemented by the control device for the screen refresh rate in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction is executed by the processor to implement each process of the above-mentioned method for controlling a screen refresh rate, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010. Among them, the input unit 1004 includes but is not limited to: an image processor 10041 and a microphone 10042, and a user input unit 1007 includes, but is not limited to: touch panel 10071 and other input devices 10072, and display unit 1006 includes, but is not limited to, display panel 10061.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1010 is configured to detect an exposure state of the off-screen camera when a shooting preview image is displayed on the screen; reducing the screen refresh rate in the first screen area and keeping the screen refresh rate in the second screen area unchanged under the condition that the exposure state of the camera under the screen meets the preset condition;
the first screen area is a screen area corresponding to the camera under the screen, and the first screen area is different from the second screen area.
In the embodiment of the application, the exposure state of the camera under the screen is detected under the condition that the shooting preview image is displayed in the screen, and under the condition that the exposure state of the camera under the screen meets the preset condition, the interference of screen refreshing on the light entering of the camera assembly under the screen is reduced by reducing the screen refreshing rate in the first screen area corresponding to the camera under the screen, and the imaging effect of the shooting preview image cannot be influenced in the process of exposing and imaging the shooting preview image because the screen refreshing rate in the second screen area is kept unchanged, so that the imaging quality of the camera under the screen can be improved.
Optionally, the processor 1010 is further configured to obtain a first time when the exposure state of the off-screen camera meets a preset condition, where the first time is when the off-screen camera starts to be exposed; from the first time, the screen refresh rate in the first screen area is reduced.
Optionally, the processor 1010 is further configured to restore the screen refresh rate in the first screen area when the exposure of the off-screen camera is finished.
In the embodiment of the application, when the area range of the first screen area is determined, that is, the fixed area range may be determined by parameter information of the off-screen camera component, and the area range may also be dynamically determined according to display information and/or environmental information of a shot preview image, so that the area range may be dynamically adjusted in a process of exposing different shot images. And then under the condition that the exposure state of the camera satisfies the preset condition under the screen, through reducing the screen refresh rate in the first screen region that the camera corresponds under the screen, and then reduce the screen refresh and to the interference that camera assembly advances light under the screen, and because keep the screen refresh rate in the second screen region unchangeable, so in the in-process of exposing to light and formation of image to shooting preview image, still can not influence the formation of image effect of shooting preview image, and also need not to increase extra hardware cost, can improve the control quality of the screen refresh rate of the camera under the screen.
Optionally, the processor 1010 is further configured to, when the exposure of the off-screen camera is finished, obtain a second time when the exposure of the off-screen camera is finished; from the second time instant, the screen refresh rate in the first screen region is restored.
In the embodiment of the application, after the exposure of the camera under the screen is finished, the screen refresh rate of the first screen area can be recovered, so that the normal display content of the screen cannot be influenced, and the use experience of a user is improved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned control method for a screen refresh rate, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned control method for a screen refresh rate, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (6)

1. A method for controlling a screen refresh rate, comprising:
detecting the exposure state of a camera under a screen under the condition that a shooting preview image is displayed in the screen;
reducing the screen refresh rate of the first screen area and keeping the screen refresh rate of the second screen area unchanged under the condition that the exposure state of the under-screen camera meets the preset condition;
the first screen area is a screen area corresponding to the off-screen camera, and the first screen area is different from the second screen area;
after the reducing the screen refresh rate of the first screen region and keeping the screen refresh rate of the second screen region unchanged, the method further includes:
recovering the screen refresh rate of the first screen area under the condition that the exposure of the camera under the screen is finished;
determining the area range of the first screen area according to the display information of the shot preview image;
wherein the display information comprises at least one of: luminance information and chrominance information;
the area range of the first screen area is determined according to the brightness information of the shot preview image, and the area range comprises the following steps:
determining an area range of the first screen area according to brightness information of the photographed preview image according to the following formula:
Figure FDF0000018934160000011
the target brightness is the brightness of the shot preview image, and the range threshold is the maximum area range value allowed by the first screen area;
the area range of the first screen area is determined according to the chrominance information of the shot preview image, and the method comprises the following steps:
carrying out weighted calculation on the chrominance information of the shot preview image to obtain target chrominance;
and taking the area range corresponding to the target chromaticity as the area range of the first screen area.
2. The method according to claim 1, wherein the reducing the screen refresh rate of the first screen area in the case that the exposure state of the off-screen camera satisfies a preset condition comprises:
under the condition that the exposure state of the under-screen camera meets a preset condition, acquiring a first moment when the under-screen camera starts to be exposed;
and reducing the screen refresh rate of the first screen area from the first moment.
3. The method of claim 1, wherein restoring the screen refresh rate of the first screen region in the event that the exposure of the off-screen camera ends comprises:
under the condition that the exposure of the screen camera is finished, acquiring a second moment when the exposure of the screen camera is finished;
and restoring the screen refresh rate of the first screen area from the second moment.
4. A device for controlling a screen refresh rate, comprising:
the detection module is used for detecting the exposure state of the camera under the screen under the condition that the shooting preview image is displayed in the screen;
the first control module is used for reducing the screen refresh rate of the first screen area and keeping the screen refresh rate of the second screen area unchanged under the condition that the exposure state of the under-screen camera meets the preset condition;
the first screen area is a screen area corresponding to the off-screen camera, and the first screen area is different from the second screen area;
the device further comprises:
the second control module is used for recovering the screen refresh rate of the first screen area under the condition that the exposure of the camera under the screen is finished;
wherein an area range of the first screen area is determined according to display information of the photographed preview image, wherein the display information includes at least one of: luminance information and chrominance information;
the area range of the first screen area is determined according to the brightness information of the shot preview image, and the method comprises the following steps:
determining an area range of the first screen area according to brightness information of the photographed preview image according to the following formula:
Figure FDF0000018934160000021
the target brightness is the brightness of the shot preview image, and the range threshold is the maximum area range value allowed by the first screen area;
the area range of the first screen area is determined according to the chrominance information of the shot preview image, and the method comprises the following steps:
carrying out weighted calculation on the chrominance information of the shot preview image to obtain target chrominance;
and taking the area range corresponding to the target chromaticity as the area range of the first screen area.
5. The apparatus of claim 4, wherein the first control module further comprises:
the first acquisition unit is used for acquiring a first moment when the exposure state of the under-screen camera meets a preset condition;
and the first control unit is used for reducing the screen refresh rate of the first screen area from the first moment.
6. The apparatus of claim 4, wherein the second control module further comprises:
the second acquisition unit is used for acquiring a second moment when the exposure of the screen camera is finished under the condition that the exposure of the screen camera is finished;
and the second control unit is used for recovering the screen refresh rate of the first screen area from the second moment.
CN202010463885.4A 2020-05-27 2020-05-27 Control method and device for screen refresh rate, electronic equipment and readable storage medium Active CN111711748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010463885.4A CN111711748B (en) 2020-05-27 2020-05-27 Control method and device for screen refresh rate, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010463885.4A CN111711748B (en) 2020-05-27 2020-05-27 Control method and device for screen refresh rate, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111711748A CN111711748A (en) 2020-09-25
CN111711748B true CN111711748B (en) 2023-01-24

Family

ID=72538865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010463885.4A Active CN111711748B (en) 2020-05-27 2020-05-27 Control method and device for screen refresh rate, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111711748B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019183984A1 (en) * 2018-03-31 2019-10-03 华为技术有限公司 Image display method and terminal
CN110868546A (en) * 2019-11-29 2020-03-06 维沃移动通信有限公司 Shooting method and electronic equipment

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106611581A (en) * 2015-10-22 2017-05-03 小米科技有限责任公司 A content display method and apparatus
CN106878564A (en) * 2017-03-07 2017-06-20 广东欧珀移动通信有限公司 A kind of control method and device of display screen, display screen and mobile terminal
EP3624434B1 (en) * 2017-07-07 2021-06-02 Huawei Technologies Co., Ltd. Terminal provided with camera, and photographing method
CN107347140B (en) * 2017-08-24 2019-10-15 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and computer readable storage medium
CN107509040A (en) * 2017-09-15 2017-12-22 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108803917A (en) * 2018-03-28 2018-11-13 广东欧珀移动通信有限公司 Control method, control device, electronic device, computer storage media and equipment
CN108650443B (en) * 2018-05-29 2020-09-04 Oppo广东移动通信有限公司 Electronic device and control method thereof
CN109348123B (en) * 2018-10-25 2021-05-21 努比亚技术有限公司 Photographing method, mobile terminal and computer-readable storage medium
CN109167905B (en) * 2018-10-31 2020-07-31 Oppo广东移动通信有限公司 Image acquisition method, image acquisition device, structured light assembly and electronic device
CN109509441B (en) * 2018-11-20 2021-02-19 深圳市恩兴实业有限公司 Dimming imaging method, device and system
CN109683664A (en) * 2018-11-29 2019-04-26 与德科技有限公司 Electronic equipment
CN109613756B (en) * 2019-01-29 2021-08-10 华勤技术股份有限公司 LCD display screen, electronic equipment and control system
CN110581910A (en) * 2019-09-17 2019-12-17 Oppo广东移动通信有限公司 Image acquisition method, device, terminal and storage medium
CN111064891B (en) * 2019-12-25 2021-04-23 维沃移动通信有限公司 Shooting control method and electronic equipment
CN111050050A (en) * 2019-12-30 2020-04-21 维沃移动通信有限公司 Filter adjusting method and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019183984A1 (en) * 2018-03-31 2019-10-03 华为技术有限公司 Image display method and terminal
CN110868546A (en) * 2019-11-29 2020-03-06 维沃移动通信有限公司 Shooting method and electronic equipment

Also Published As

Publication number Publication date
CN111711748A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
KR102392465B1 (en) Terminal control method and terminal
EP4231625A1 (en) Photographing method and apparatus, and electronic device
US20230086416A1 (en) Anti-shake method, anti-shake apparatus, and electronic device
CN112399237A (en) Screen display control method and device and electronic equipment
CN115082350A (en) Stroboscopic image processing method and device, electronic device and readable storage medium
CN112437237B (en) Shooting method and device
CN112333441A (en) Camera detection method and device and electronic equipment
CN111711748B (en) Control method and device for screen refresh rate, electronic equipment and readable storage medium
CN111835937A (en) Image processing method and device and electronic equipment
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN113393391B (en) Image enhancement method, image enhancement device, electronic apparatus, and storage medium
CN112153291B (en) Photographing method and electronic equipment
CN115278047A (en) Shooting method, shooting device, electronic equipment and storage medium
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN111654623B (en) Photographing method and device and electronic equipment
CN112199149A (en) Interface rendering method and device and electronic equipment
CN112511890A (en) Video image processing method and device and electronic equipment
CN111263079A (en) Image processing method, image processing device, storage medium and electronic equipment
CN112367470B (en) Image processing method and device and electronic equipment
CN112887629B (en) Frequency detection method, frequency detection device, electronic equipment and storage medium
CN112637528B (en) Picture processing method and device
CN116017146A (en) Image processing method and device
US11733863B2 (en) Display data obtaining method, electronic device and storage medium
CN115798394A (en) Brightness adjusting method, device and storage medium
CN115278046A (en) Shooting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant