CN107968939B - Display screen processing method and device, storage medium and electronic device - Google Patents

Display screen processing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN107968939B
CN107968939B CN201711176967.5A CN201711176967A CN107968939B CN 107968939 B CN107968939 B CN 107968939B CN 201711176967 A CN201711176967 A CN 201711176967A CN 107968939 B CN107968939 B CN 107968939B
Authority
CN
China
Prior art keywords
picture
frame
full black
display screen
brightness gradient
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
CN201711176967.5A
Other languages
Chinese (zh)
Other versions
CN107968939A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711176967.5A priority Critical patent/CN107968939B/en
Publication of CN107968939A publication Critical patent/CN107968939A/en
Application granted granted Critical
Publication of CN107968939B publication Critical patent/CN107968939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • H04N25/62Detection or reduction of noise due to excess charges produced by the exposure, e.g. smear, blooming, ghost image, crosstalk or leakage between pixels

Abstract

Display screen processing method and device, storage medium and electronic device. The application provides a display picture processing method, which comprises the following steps: acquiring a picture of a current frame; detecting whether the adjacent frame of the picture is a full black frame; when detecting that the adjacent frame of the picture is a full black frame, acquiring a brightness gradient parameter; and processing the picture according to the brightness gradient parameter so as to achieve the brightness gradient effect during picture switching. The application carries out luminance change gradual change regulation through the picture to the adjacent frame of full black frame, and the grey retention afterimage when covering the picture and switching has avoided showing the appearance of smear, has promoted the display efficiency of picture.

Description

Display screen processing method and device, storage medium and electronic device
Technical Field
The present application relates to the field of terminal display technologies, and in particular, to a method and an apparatus for processing a display screen, a storage medium, and an electronic apparatus.
Background
At present, with the continuous development of terminal display technology, people have higher and higher requirements on the display of a terminal such as a mobile phone, a display picture of the mobile phone is formed by quickly connecting pictures with a plurality of frames, and because the retina of a human eye has an afterimage effect, when the picture is switched, the vision of the previous picture still exists in the brain of the human, so when the picture is switched at a high speed, the images in the brain of the human can be connected, and a continuous animation effect is formed in the vision.
However, at the moment of switching the two frames of pictures, the display screen is prone to have a gray retention residual image, i.e. a smear. However, the insertion of the full black frame can form a short-time black color which is easily perceived by human eyes, and the use of the mobile phone by a user is influenced.
Disclosure of Invention
The embodiment of the application provides a processing method and device for a display picture, a storage medium and an electronic device, which can improve the display efficiency of the picture.
The embodiment of the application provides the following technical scheme:
a processing method of a display screen is applied to an electronic device and comprises the following steps:
acquiring a picture of a current frame;
detecting whether the adjacent frame of the picture is a full black frame;
when detecting that the adjacent frame of the picture is a full black frame, acquiring a brightness gradient parameter;
and processing the picture according to the brightness gradient parameter so as to achieve the brightness gradient effect during picture switching.
The embodiment of the application also provides the following technical scheme:
a processing apparatus for displaying a picture, comprising:
the first acquisition module is used for acquiring the picture of the current frame;
the detection module is used for detecting whether the adjacent frames of the picture are all black frames or not;
the second acquisition module is used for acquiring a brightness gradient parameter when detecting that the adjacent frame of the picture is a full black frame;
and the processing module is used for processing the picture according to the brightness gradient parameter so as to achieve the brightness gradient effect during picture switching.
The embodiment of the application also provides the following technical scheme:
a computer-readable storage medium, comprising:
a computer program is stored thereon, which when executed by a processor implements the steps of any of the methods for processing a display screen provided by the embodiments of the present application.
The embodiment of the application also provides the following technical scheme:
an electronic device, comprising:
a display screen;
the sensor module is arranged below the display screen and comprises an ambient light sensor or a proximity sensor;
and the control circuit controls the display screen to display a frame of black picture and simultaneously reduces the brightness change speed of the display screen when the sensor module works.
According to the processing method and device for the display picture, the storage medium and the electronic device, the picture of the adjacent frame of the full black frame is subjected to brightness change gradual change adjustment, so that the grey retention afterimage during picture switching is covered, the display smear is avoided, and the display efficiency of the picture is improved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is another schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a method for processing a display screen according to an embodiment of the present application.
Fig. 4 is another schematic flow chart of a display screen processing method according to an embodiment of the present disclosure.
Fig. 5 is a schematic plan view of a display screen of an electronic device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a display screen of an electronic device according to an embodiment of the present application.
Fig. 7 is a block diagram of a processing apparatus for displaying a screen according to an embodiment of the present disclosure.
Fig. 8 is another block diagram of a processing device for displaying a screen according to an embodiment of the present disclosure.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
The term "module" as used herein may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein are preferably implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The following is a detailed description of the analysis.
In the present embodiment, the description will be made from the perspective of a processing device for displaying a screen, which may be specifically integrated in an electronic device, such as a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), and the like.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 100 includes a cover plate 10, a display 20, a circuit board 30, a housing 40, and a proximity sensor 50 installed inside the housing 40.
The cover plate 10 is mounted to the display screen 20 to cover the display screen 20. The cover plate 10 may be a transparent glass cover plate. In some embodiments, the cover plate 10 may be a glass cover plate made of a material such as sapphire.
The display screen 20 is mounted on the housing 40 to form a display surface of the electronic device 100. In some embodiments, the display screen 20 includes a display area 21 and a non-display area 22. The display area 21 is used for displaying information such as images and texts. The non-display area 22 does not display information. The non-display area 22 may be used to set some functional components, such as a camera, a fingerprint recognition module, and the like. In some embodiments, the non-display area 22 may include a plurality of areas spaced apart from each other. For example, the non-display area 22 may include two areas located at the upper and lower portions of the display area 21.
In some embodiments, the display screen 20 may be displayed full screen. That is, the display 20 includes only the display area 21 and does not include the non-display area, as shown in fig. 2.
In some embodiments, the Display 20 may be a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) Display.
The circuit board 30 is mounted inside the housing 40. The circuit board 30 may be a motherboard of the electronic device 100. Functional components such as a camera and a processor may be integrated on the circuit board 30. Meanwhile, the display screen 20 may be electrically connected to the circuit board 30.
In some embodiments, display control circuitry is disposed on the circuit board 30. The display control circuit outputs an electrical signal to the display screen 20 to control the display screen 20 to display information.
The housing 40 is used to form the outer contour of the electronic device 100. The housing 40 may be made of plastic or metal. The housing 40 may be integrally formed.
The proximity sensor 50 is mounted inside the housing 40. Meanwhile, the proximity sensor 50 is electrically connected to the circuit board 30. For example, the proximity sensor 50 may be integrated on the circuit board 30. The proximity sensor 50 may be an infrared sensor, an ultrasonic sensor, or the like. The proximity sensor 50 is used to detect a distance state between the electronic device 100 and an external object (e.g., a user's face). The distance state includes an approaching state and a departing state. When the electronic device 100 performs some functions, such as a call function, the electronic device 100 may control the display screen 20 to turn off when the electronic device 100 is in a close state with the face of the user, so as to prevent a user from performing a wrong operation; when the electronic device 100 is away from the face of the user, the electronic device 100 may control the display screen 20 to be illuminated to perform a normal display function.
In the present embodiment, the proximity sensor 50 may be located below the display area 21 of the display screen 20. That is, the orthographic projection of the proximity sensor 50 on the display screen 20 is located at the display area 21 of said display screen 20. It is understood that the detection signal emitted from the proximity sensor 50 is transmitted to the outside after penetrating the display area 21 of the display screen 20. The detection signal is reflected by an external object to generate a reflection signal, and the reflection signal penetrates through the display area 21 of the display screen 20 and enters the proximity sensor 50. Thus, the proximity sensor 50 may detect the intensity value of the received reflected signal.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for processing a display frame according to an embodiment of the present disclosure. Specifically, the method comprises the following steps:
in step S101, a picture of the current frame is acquired.
The display screen of the electronic device is formed by fast connecting frames of a plurality of frames, one frame is generally called a frame, and the number of frames per second refers to the number of frames played per second. For example, the standard for movie projection is 24 frames per second.
In the range that human eyes can receive, theoretically, the higher the number of frames per second is, the better the frame number per second is, in practical use, in order to increase the number of frames per second and prevent the image from generating smear, a full black frame is generally inserted into two adjacent frames or several frames to achieve the effect of increasing the total number of frames. The full black frame is a frame of full black picture.
Based on the method, a picture of a current display frame of the display screen is obtained, and the picture may be a normal display picture or a full black picture.
In step S102, it is detected whether or not the adjacent frame of the screen is a full black frame.
When the picture of the normal frame is switched to the full black frame, for example, the picture of the normal frame is switched to the full black frame. A short period of black color is formed which is easily perceived by the human eye. When the picture is switched from the full black frame to the normal frame, the brightness is suddenly changed from black to color, which also causes poor experience for human eyes.
Based on this, it is detected whether the adjacent frame of the current picture is a full black frame, and when it is detected that the adjacent frame of the picture is a full black frame, step S103 is executed; when it is detected that the adjacent frame of the picture is not the full black frame, the process returns to step S101.
In step S103, a brightness gradation parameter is acquired.
When the adjacent frames of the detected picture are all black frames, the perception of human vision can be caused in the switching moment, so that in order to avoid the situation, when the adjacent frames of the detected picture are all black frames, corresponding brightness gradient parameters are obtained, and when the brightness gradient parameters enable the picture to be switched, the brightness change rate is slowed down, the perception degree of human eyes is reduced, and the picture is switched more smoothly.
In some embodiments, the obtaining of the brightness gradient parameter includes two scenarios, one scenario is that when the current frame is a normal frame and the next frame is a full black frame, the current frame needs to be darkened, and then the first brightness gradient parameter needs to be obtained. The other is that when the current frame is a normal frame and the previous frame is a full black frame, the current frame needs to be brightened, and then a second brightness gradient parameter needs to be obtained.
In step S104, the image is processed according to the brightness gradient parameter to achieve the brightness gradient effect during image switching.
And performing brightness gradient processing on the current picture according to the corresponding brightness gradient parameters acquired in the previous step, so that the brightness is gradually changed when the normal picture is switched with the full black frame, and discomfort can not be caused to human eyes.
In one embodiment, the step of processing the picture according to the brightness gradient parameter comprises:
(1) and analyzing the brightness gradient parameter to obtain a gradient effect.
And obtaining the brightness gradient parameter and analyzing to obtain the brightness gradient or the darkness gradient.
(2) Based on the gradual change effect, the duty ratio of the signal pulse for driving the light source is controlled, and the brightness gradual change effect during picture switching is realized.
The duty ratio of the signal pulse for driving the light source can be controlled by a Micro Control Unit (MCU) to realize the processing of gradually brightening or gradually darkening during the picture switching.
As can be seen from the above, in the processing method for a display picture provided in this embodiment, the brightness change gradual change adjustment is performed on the pictures of the adjacent frames of the all-black frame, so that the gray residual image during picture switching is covered, the occurrence of display smear is avoided, and the display efficiency of the pictures is improved.
The method described in the above embodiments is further illustrated in detail by way of example.
Referring to fig. 4, fig. 4 is another schematic flow chart of a method for processing a display screen according to an embodiment of the present disclosure.
Specifically, the method comprises the following steps:
in step S201, a picture of the current frame is acquired.
The method includes the steps of obtaining a picture of a current display frame of a display screen, wherein the picture may be a normal display picture or a full black picture, namely a full black frame.
As shown in fig. 5, fig. 5 is a schematic plan view of a display screen of an electronic device according to an embodiment of the present disclosure. Wherein 1 is a display frame of a normal frame, the display screen 20 is composed of a plurality of pixels 201 to form a normal display frame, and 2 is a full black frame, i.e., a full black frame, where no pixels are formed on the display screen 20. The display screen 3 is a normal frame, and the display screen 20 is composed of a plurality of pixels 201 to form a normal display screen.
In step S202, it is detected whether or not the adjacent frame of the screen is a full black frame.
When the picture of the normal frame is switched to the full black frame, for example, the picture of the normal frame is switched to the full black frame. A short period of black color is formed which is easily perceived by the human eye. When the picture is switched from the full black frame to the normal frame, the brightness is suddenly changed from black to color, which also causes poor experience for human eyes.
Based on this, it is detected whether the adjacent frame of the current picture is a full black frame, and when it is detected that the adjacent frame of the picture is a full black frame, step S203 is executed; when it is detected that the adjacent frame of the picture is not the full black frame, step S206 is performed.
In step S203, a brightness gradation parameter is acquired.
When the adjacent frames of the picture are detected to be full black frames, no matter the picture of the normal frame is switched to be the full black frame or the picture of the full black frame is switched to be the normal frame, the visual perception of human eyes can be caused.
In one embodiment, the step of obtaining the brightness gradient parameter may include:
(1) and when detecting that the next frame of the picture is a full black frame, acquiring a first brightness gradient parameter.
When it is detected that the next frame of the current picture is a full black frame, it indicates that the brightness change of the display screen is a change process from light to dark, and then a first brightness gradient parameter for changing the brightness of the current picture to dark can be correspondingly obtained.
(2) And when the last frame of the picture is detected to be a full black frame, acquiring a second brightness gradient parameter.
When the previous frame of the current picture is detected to be a full black frame, which indicates that the brightness of the display screen changes from dark to bright, a second brightness gradient parameter can be correspondingly obtained, and the second brightness gradient parameter is used for enabling the picture to change gradually brightly.
In step S204, the brightness gradient parameter is analyzed to obtain a gradient effect.
And analyzing the brightness gradient parameters obtained in the previous step to obtain the gradient effect that the gradient effect of the current picture is gradually bright or gradually dark.
In step S205, the duty ratio of the signal pulse that drives the light source is controlled based on the gradation effect.
The micro control unit controls the duty ratio of the signal pulse for driving the light source, and the gradual change control is carried out with the gradual change effect, so that the brightness of the current picture can be slowly darkened from bright or slowly lightened from dark. So that the human eyes can adapt comfortably.
In step S206, it is detected whether the current frame is a full black frame.
When detecting that the adjacent frame of the picture is not a full black frame, detecting whether the current frame is a full black frame, and when detecting that the current frame is a full black frame, executing step S207; when it is detected that the current frame is not a full black frame, the process returns to step S201.
In step S207, the duration value of the full black frame is acquired.
Wherein, during the insertion of the full black frame to be replaced by the picture of the next frame, a short detention occurs, and the detention time may be very short, such as 16.67 ms. Based on this, the time value of the stay is acquired every time the current frame is detected as a full black frame.
In step S208, the sensor assembly on the drive electronics is operated for the duration value.
When the display screen displays a full black frame, the light can penetrate through the display screen more easily because no pixel blocks the display screen. When the sensor assembly of the electronic device is arranged on the inner side of the display screen, i.e. on the side which is not directly visible to the user, the sensor assembly, which may comprise a distance sensor and an ambient light sensor, may be driven into operation for the duration of this full black frame.
As shown in fig. 6, fig. 6 is a schematic structural diagram of a display screen of an electronic device according to an embodiment of the present application. Wherein, a sensor component 22 is disposed on one side of the display screen 20, and when detecting that the current frame is a full black frame, the sensor component emits a detection signal a, and the detection signal a passes through the display screen 20 and generates a reflection signal B after contacting an external object 200 (for example, a user's face). The reflected signal B passes through the display screen 20 back into the sensor assembly 22.
This sensor subassembly can be under the condition of inserting the complete black frame, and transmission and receiving response light that can be better have guaranteed even when using not using the trompil to screen electron device comprehensively, also can let distance sensor and ambient light sensor keep normal work.
Therefore, according to the processing method of the display picture provided by the embodiment, the picture of the adjacent frame of the full black frame is subjected to brightness change gradual change adjustment, so that the gray retention afterimage during picture switching is covered, the display smear is avoided, the display efficiency of the picture is improved, the sensor assembly on the electronic device is driven to work while the black frame is inserted, and the sensing accuracy of the sensor assembly is improved.
In order to better implement the method for processing the display screen provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the method for processing the display screen. The terms are the same as those in the above-described display screen processing method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 7, fig. 7 is a block diagram of a processing device for displaying a frame according to an embodiment of the present disclosure. Specifically, the display screen processing apparatus 300 includes: a first acquisition module 31, a detection module 32, a second acquisition module 33 and a processing module 34.
The first obtaining module 31 is configured to obtain a picture of a current frame.
In the range that human eyes can receive, theoretically, the higher the number of frames per second is, the better the frame number per second is, in practical use, in order to increase the number of frames per second and prevent the image from generating smear, a full black frame is generally inserted into two adjacent frames or several frames to achieve the effect of increasing the total number of frames. The full black frame is a frame of full black picture.
Based on this, the first obtaining module 31 obtains the frame of the current display frame of the display screen, which may be a normal display frame or a full black frame.
The detecting module 32 is configured to detect whether an adjacent frame of the picture is a full black frame.
The second obtaining module 33 is configured to obtain the brightness gradient parameter when detecting that the adjacent frame of the picture is a full black frame.
When the detecting module 32 detects that the adjacent frame of the picture is a full black frame, it indicates that the adjacent frame of the picture is perceived visually by human eyes in the switching moment, so as to avoid this situation, the second obtaining module 33 obtains the corresponding brightness gradient parameter when detecting that the adjacent frame of the picture is a full black frame, and the brightness gradient parameter can make the picture switch, the brightness change rate slow, reduce the perception degree of human eyes, and make the picture switch more unobstructed.
The processing module 34 is configured to process the picture according to the brightness gradient parameter, so as to achieve a brightness gradient effect during picture switching.
The processing module 34 performs brightness gradient processing on the current picture according to the acquired corresponding brightness gradient parameter, so that when switching is performed between a normal picture and a full black frame, the brightness is gradually changed, and discomfort is not caused to eyes of people.
Referring to fig. 8, fig. 8 is a schematic block diagram of a display screen processing apparatus according to an embodiment of the present disclosure, where the display screen processing apparatus 300 further includes:
the second obtaining module 33 may include a first obtaining submodule 331 and a second obtaining submodule 332.
Further, the first obtaining sub-module 331 is configured to obtain a first brightness gradient parameter when detecting that a next frame of the picture is a full black frame, where the first brightness gradient parameter is used to make the picture change in a dark gradually. The second obtaining sub-module 332 is configured to obtain a second brightness gradient parameter when it is detected that a previous frame of the picture is a full black frame, where the second brightness gradient parameter is used to change a brightness of the picture gradually.
The processing module 34 may include an analysis sub-module 341 and a control sub-module 342.
Further, the analysis sub-module 341 is configured to analyze the brightness gradient parameter to obtain a gradient effect. The control sub-module 342 is configured to control a duty ratio of a signal pulse for driving the light source based on the gradual change effect, so as to achieve a brightness gradual change effect during picture switching.
Therefore, the processing device for displaying the picture, provided by the embodiment, can cover the gray residual image during picture switching by performing brightness change gradual change adjustment on the picture of the adjacent frame of the full black frame, thereby avoiding the occurrence of display smear and improving the display efficiency of the picture.
The embodiment of the present application also provides an electronic device, as shown in fig. 9, the electronic device 400 may include a memory 401 having one or more computer-readable storage media, a sensor 402, an input unit 403, a display unit 404, a power supply 405, and a processor 406 having one or more processing cores. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The memory 401 may be used to store applications and data. The memory 401 stores applications containing executable code. The application programs may constitute various functional modules. The processor 406 executes various functional applications and data processing by running the application programs stored in the memory 401. Further, the memory 401 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 401 may also include a memory controller to provide the processor 406 and the input unit 403 access to the memory 401.
The electronic device may also include at least one sensor 402, such as a light sensor, a gravitational acceleration sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that turns off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the electronic device, detailed descriptions thereof are omitted.
The input unit 403 may be used to receive input numbers, character information, or user characteristic information, such as a fingerprint, and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control. In particular, in a particular embodiment, the input unit 403 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 406, and can receive and execute commands sent by the processor 406. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 403 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a fingerprint recognition module, a trackball, a mouse, a joystick, and the like.
The display unit 404 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 404 may include a display panel. Alternatively, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 406 to determine the type of touch event, and the processor 406 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 9 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device also includes a power source 405 (such as a battery) that powers the various components. Preferably, the power source may be logically connected to the processor 406 through a power management system, so that the power management system may perform functions of managing charging, discharging, and power consumption. The power supply 405 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The processor 406 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 401 and calling data stored in the memory 401, thereby performing overall monitoring of the electronic device. Alternatively, processor 406 may include one or more processing cores; preferably, the processor 406 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like.
Although not shown in fig. 9, the electronic device may further include a radio frequency component, a camera, a bluetooth module, a network module, and the like, which are not described in detail herein.
Specifically, in this embodiment, the processor 406 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 401 according to the following instructions, and the processor 406 runs the application program stored in the memory 401, so as to implement various functions:
the picture of the current frame is acquired by the processor 406.
It is detected by the processor 406 whether the adjacent frame of the picture is a full black frame.
When the processor 406 detects that the adjacent frame of the picture is a full black frame, the brightness gradient parameter is obtained.
The processor 406 processes the frame according to the brightness gradient parameter, so as to achieve the brightness gradient effect during frame switching.
In some embodiments, in obtaining the brightness gradient parameter, processor 406 may perform: when detecting that the next frame of the picture is a full black frame, acquiring a first brightness gradient parameter, wherein the first brightness gradient parameter is used for enabling the picture to change in a gradually dark mode; and when the last frame of the picture is detected to be a full black frame, acquiring a second brightness gradient parameter, wherein the second brightness gradient parameter is used for enabling the picture to be gradually brightened and changed.
In some embodiments, when processing the picture according to the brightness gradient parameter, the processor 406 may perform: analyzing the brightness gradient parameter to obtain a gradient effect; based on the gradual change effect, the duty ratio of the signal pulse for driving the light source is controlled, and the brightness gradual change effect during picture switching is realized.
In some embodiments, processor 406 may also perform: detecting whether the current frame is a full black frame; and when the current frame is detected to be a full black frame, driving a sensor component on the electronic device to work.
In some embodiments, when the current frame is detected to be a full black frame, the processor 406 may drive the sensor component on the electronic device to operate to: when the current frame is detected to be a full black frame, acquiring a duration value of the full black frame; and driving a sensor component on the electronic device to work within the duration value.
Since the electronic device can execute any display screen processing method provided in the embodiments of the present invention, the beneficial effects that can be realized by any display screen processing method provided in the embodiments of the present invention can be realized, which are detailed in the foregoing embodiments and will not be described herein again.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
In the foregoing embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the processing method for the display screen, and are not described herein again.
The electronic device, the processing device for displaying the picture and the processing method for displaying the picture provided by the embodiment of the application belong to the same concept, and any method provided in the embodiment of the processing method for displaying the picture can be operated on the processing device for displaying the picture, and the specific implementation process is described in the embodiment of the processing method for displaying the picture, and is not described herein again.
It should be noted that, for the method for processing the display screen in the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the method for processing the display screen in the embodiment of the present application can be completed by controlling the related hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution process, the process of the embodiment of the method for processing the display screen can be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the processing apparatus for displaying a screen according to the embodiment of the present application, each functional module may be integrated into one processing chip, each module may exist alone physically, or two or more modules may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented as a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing describes in detail a method, an apparatus, a storage medium, and an electronic apparatus for processing a display screen provided in an embodiment of the present application, and a specific example is applied to illustrate a principle and an implementation of the present application, where the description of the foregoing embodiment is only used to help understand a method and a core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A processing method of a display screen is applied to an electronic device, and is characterized in that the electronic device comprises a sensor component which is arranged on the inner side of a display screen, namely on the side which cannot be directly seen by a user, and the method comprises the following steps:
acquiring a picture of a current frame;
detecting whether the adjacent frame of the picture is a full black frame, wherein the full black frame is a full black picture, and no pixel is formed on the display screen at the moment;
when detecting that the adjacent frame of the picture is a full black frame, acquiring a brightness gradient parameter;
processing the picture according to the brightness gradient parameter so as to achieve the brightness gradient effect during picture switching;
detecting whether the current frame is a full black frame;
when the current frame is detected to be a full black frame, acquiring a duration value of the full black frame;
and driving a sensor component on the electronic device to work within the duration value.
2. The method for processing the display screen according to claim 1, wherein the obtaining the brightness gradient parameter comprises:
when detecting that the next frame of the picture is a full black frame, acquiring a first brightness gradient parameter, wherein the first brightness gradient parameter is used for enabling the picture to change in a gradually dark mode;
and when the last frame of the picture is detected to be a full black frame, acquiring a second brightness gradient parameter, wherein the second brightness gradient parameter is used for enabling the picture to be gradually brightened and changed.
3. The method for processing the display screen according to claim 2, wherein the processing the screen according to the brightness gradient parameter comprises:
analyzing the brightness gradient parameters to obtain a gradient effect;
and controlling the duty ratio of signal pulses for driving the light source based on the gradual change effect, so as to realize the brightness gradual change effect during picture switching.
4. A processing device for displaying pictures, which is applied to an electronic device, and is characterized in that the electronic device comprises a sensor component, the sensor component is arranged at the inner side of a display screen, namely at the side which cannot be directly seen by a user, and the device comprises:
the first acquisition module is used for acquiring the picture of the current frame;
the detection module is used for detecting whether the adjacent frames of the picture are full black frames or not, wherein the full black frames are full black pictures, and no pixel is formed on the display screen at the moment;
the second acquisition module is used for acquiring a brightness gradient parameter when detecting that the adjacent frame of the picture is a full black frame;
the processing module is used for processing the picture according to the brightness gradient parameter so as to achieve the brightness gradient effect during picture switching;
the driving module is used for detecting whether the current frame is a full black frame or not, acquiring a duration value of the full black frame when the current frame is detected to be the full black frame, and driving a sensor component on the electronic device to work within the duration value.
5. The apparatus for processing a display screen according to claim 4, wherein the second acquiring module comprises:
the first obtaining submodule is used for obtaining a first brightness gradient parameter when detecting that the next frame of the picture is a full black frame, and the first brightness gradient parameter is used for enabling the picture to change gradually in a dark mode;
and the second obtaining submodule is used for obtaining a second brightness gradient parameter when the last frame of the picture is detected to be a full black frame, and the second brightness gradient parameter is used for enabling the picture to change gradually in a brightening mode.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of processing a display according to any one of claims 1 to 3.
7. An electronic device, comprising:
a display screen;
the sensor module is arranged on the inner side of the display screen, namely on the side which cannot be directly seen by a user, and comprises an ambient light sensor or a proximity sensor;
the control circuit is used for reducing the brightness change speed of the display screen when detecting that the adjacent frame of the display picture is a full black frame; the control circuit is further configured to, when it is detected that the current frame is a full black frame, acquire a duration value of the full black frame, and drive a sensor component on the electronic device to operate within the duration value.
8. The electronic device of claim 7, further comprising a memory, wherein the memory stores preset display screen brightness change speed data, and the control circuit reduces the display screen brightness change speed according to the preset display screen brightness change speed data.
CN201711176967.5A 2017-11-22 2017-11-22 Display screen processing method and device, storage medium and electronic device Active CN107968939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711176967.5A CN107968939B (en) 2017-11-22 2017-11-22 Display screen processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711176967.5A CN107968939B (en) 2017-11-22 2017-11-22 Display screen processing method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN107968939A CN107968939A (en) 2018-04-27
CN107968939B true CN107968939B (en) 2020-06-12

Family

ID=62001552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711176967.5A Active CN107968939B (en) 2017-11-22 2017-11-22 Display screen processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN107968939B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112863433B (en) * 2019-11-12 2022-06-24 上海和辉光电股份有限公司 Display system, driving device and driving method of display device
CN111710308A (en) * 2020-06-11 2020-09-25 Oppo(重庆)智能科技有限公司 Display method, display, terminal and storage medium
CN112948034A (en) * 2021-01-28 2021-06-11 维沃移动通信有限公司 Interface display method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547382A (en) * 2003-12-02 2004-11-17 深圳创维-Rgb电子有限公司 A method of television set channel switching
CN105161040A (en) * 2015-10-29 2015-12-16 小米科技有限责任公司 Method and device for adjusting backlight intensity
CN106878564A (en) * 2017-03-07 2017-06-20 广东欧珀移动通信有限公司 A kind of control method and device of display screen, display screen and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547382A (en) * 2003-12-02 2004-11-17 深圳创维-Rgb电子有限公司 A method of television set channel switching
CN105161040A (en) * 2015-10-29 2015-12-16 小米科技有限责任公司 Method and device for adjusting backlight intensity
CN106878564A (en) * 2017-03-07 2017-06-20 广东欧珀移动通信有限公司 A kind of control method and device of display screen, display screen and mobile terminal

Also Published As

Publication number Publication date
CN107968939A (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN106462339B (en) Terminal and method for detecting ambient light brightness
CN213545872U (en) Apparatus for driving display
US11175824B2 (en) Method for detecting ambient light intensity, storage medium and electronic device
CN107957294B (en) Ambient light intensity detection method and device, storage medium and electronic equipment
US8665223B2 (en) Display device and method providing display contact information based on an amount of received light
EP2685446B1 (en) Display control method, apparatus and system for power saving
JP4835578B2 (en) Display imaging apparatus, object detection program, and object detection method
US8638317B2 (en) Display apparatus and method for controlling the same
CN111830746B (en) Display with adjustable direct-lit backlight unit
JP2018531419A6 (en) Method for detecting brightness of terminal and ambient light
KR20150049045A (en) Method and apparautus for controlling the brightness of the screen in portable device
CN107566628B (en) Display module, display method thereof and terminal
CN107968939B (en) Display screen processing method and device, storage medium and electronic device
KR20160015775A (en) transparent display apparatus and control method thereof
CN107945733B (en) Brightness of display screen method of adjustment, device, storage medium and electronic equipment
CN112229507B (en) Ambient light detection method and device, storage medium and mobile terminal
CN114203119B (en) Display control method, display control device, electronic equipment and storage medium
JP2020513581A (en) Display device and display method
US20150253971A1 (en) Electronic apparatus and display control method
KR20210100859A (en) Method and apparatus for controlling brightness of display in electronic device
KR20160101572A (en) Image display apparatus and power saving method thereof
US11036953B2 (en) Image processing method, electronic device and storage medium
CN108924360B (en) Display method, storage medium, and electronic device
CN108735157B (en) Light sensor processing method and device, storage medium and electronic equipment
JP2015080090A (en) Electric tactile sense presentation device, program and recording 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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant