CN115512673A - Light intensity value adjusting method and device, terminal equipment and medium - Google Patents

Light intensity value adjusting method and device, terminal equipment and medium Download PDF

Info

Publication number
CN115512673A
CN115512673A CN202211314213.2A CN202211314213A CN115512673A CN 115512673 A CN115512673 A CN 115512673A CN 202211314213 A CN202211314213 A CN 202211314213A CN 115512673 A CN115512673 A CN 115512673A
Authority
CN
China
Prior art keywords
intensity value
light intensity
light
light source
source environment
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.)
Granted
Application number
CN202211314213.2A
Other languages
Chinese (zh)
Other versions
CN115512673B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202211314213.2A priority Critical patent/CN115512673B/en
Publication of CN115512673A publication Critical patent/CN115512673A/en
Application granted granted Critical
Publication of CN115512673B publication Critical patent/CN115512673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the application provides a light intensity value adjusting method, a light intensity value adjusting device, a terminal device and a medium, wherein in the embodiment of the application, a first light intensity value of a light sensor of a calibration terminal in a first light source environment and a second light intensity value of the light sensor in a second light source environment are obtained, wherein the first light source environment is different from the second light source environment, and the second light source environment comprises a screen light-emitting environment; acquiring a first fitting value of the standard terminal under a first light source environment and a second light source environment; according to the first light intensity value, the second light intensity value and the first fitting value, the third light intensity value collected by the light sensor of the calibration terminal under the current light source environment is adjusted, the accuracy of the light intensity value of the calibration terminal under the current light source environment can be improved, the accuracy of screen brightness adjustment is improved, and user experience is improved.

Description

Light intensity value adjusting method and device, terminal equipment and medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for adjusting a light intensity value, a terminal device, and a medium.
Background
The optical sensor under the screen is generally used in terminal equipment such as mobile phones and tablet computers, is used for sensing the intensity of external light, and can automatically adjust the brightness of the screen according to the intensity of the light, so that the brightness of the screen is matched with the current ambient light, the user experience can be improved, and the service life of a battery is prolonged.
However, after the off-screen optical sensor is assembled into a complete machine, due to the influence caused by the optical path of the terminal device, the light emitting difference and the light transmittance of the screen, the light intensity value actually measured by the optical sensor of the terminal device is not accurate enough, so that the screen brightness adjusted based on the measured light intensity value is not accurate enough, and the user experience is influenced.
Disclosure of Invention
The embodiment of the application provides a light intensity value adjusting method, a light intensity value adjusting device, terminal equipment and a medium, and aims to solve the problem that in the prior art, the accuracy of a light intensity value actually measured by an optical sensor of the terminal equipment is poor, so that the accuracy of screen brightness adjusted based on the measured light intensity value is poor.
In a first aspect, an embodiment of the present application provides a method for adjusting a light intensity value, where the method is applied to a terminal device, and the method includes:
acquiring a first light intensity value of a light sensor of a calibration terminal under a first light source environment and a second light intensity value under a second light source environment, wherein the first light source environment is different from the second light source environment, and the second light source environment comprises a screen luminous environment;
acquiring a first fitting value of the standard terminal under a first light source environment and a second light source environment;
and adjusting a third light intensity value acquired by the light sensor of the calibration terminal under the current light source environment according to the first light intensity value, the second light intensity value and the first fitting value.
In a second aspect, an embodiment of the present application further provides a light intensity value adjusting apparatus, which is applied to a terminal device, where the apparatus includes:
the calibration terminal comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a first light intensity value of an optical sensor of the calibration terminal under a first light source environment and a second light intensity value under a second light source environment, the first light source environment and the second light source environment are different, and the second light source environment comprises a screen light-emitting environment;
the second acquisition module is used for acquiring a first fitting value of the standard terminal in a first light source environment and a second light source environment;
and the adjusting module is used for adjusting a third light intensity value acquired by the light sensor of the calibration terminal under the current light source environment according to the first light intensity value, the second light intensity value and the first fitting value.
In a third aspect, an embodiment of the present application further provides a terminal device, where the terminal device includes:
a display, a processor, and a memory;
the display is used for displaying a screen display area;
the memory to store the processor-executable instructions;
the processor is configured to execute the instructions to implement the light intensity value adjustment method as described in any one of the above.
In a fourth aspect, the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the light intensity value adjusting method according to any one of the above.
In the embodiment of the present application, a first light intensity value of a light sensor of a calibration terminal in a first light source environment and a second light intensity value of the light sensor in a second light source environment are obtained, where the first light source environment and the second light source environment are different, and the second light source environment includes a screen-lighting environment; acquiring a first fitting value of the standard terminal under a first light source environment and a second light source environment; and adjusting a third light intensity value acquired by the light sensor of the calibration terminal in the current light source environment according to the first light intensity value, the second light intensity value and the first fitting value. The third light intensity value collected by the calibration terminal under the current light source environment is adjusted through the first light intensity value, the second light intensity value and the first fitting value of the standard terminal under the same light source environment, which are collected by the calibration terminal under different light source environments, so that the accuracy of the light intensity value of the calibration terminal under the current light source environment can be improved, the accuracy of screen brightness adjustment is improved, and user experience is improved.
Drawings
In order to more clearly explain the technical solutions of the present application, the drawings required for the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 shows a schematic structural diagram of a terminal device 100;
fig. 2 is a block diagram of a software structure of a terminal device 100 according to an embodiment of the present application;
fig. 3 is a schematic process diagram of a method for adjusting a light intensity value according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram between a light sensor and a screen according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating a process of adjusting a third light intensity value according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a process for obtaining a first fitting value according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a process for determining a first fitting value according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a process for determining a fitting ratio according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a light intensity value adjusting apparatus according to an embodiment of the present application;
fig. 10 is another schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
In order to improve the accuracy of calibrating the light intensity value of the terminal in the current light source environment, thereby improving the accuracy of adjusting the screen brightness and improving the user experience, embodiments of the present application provide a method, an apparatus, a terminal device, and a medium for adjusting the light intensity value, where the method includes: acquiring a first light intensity value of a light sensor of a calibration terminal under a first light source environment and a second light intensity value under a second light source environment, wherein the first light source environment is different from the second light source environment, and the second light source environment comprises a screen light-emitting environment; acquiring a first fitting value of the standard terminal under a first light source environment and a second light source environment; and adjusting a third light intensity value acquired by the light sensor of the calibration terminal in the current light source environment according to the first light intensity value, the second light intensity value and the first fitting value.
Fig. 1 shows a schematic structural diagram of a terminal device 100. It should be understood that the terminal device 100 shown in fig. 1 is only one example, and the terminal device 100 may have more or less components than shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of a terminal device 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the terminal device 100 includes: radio Frequency (RF) circuit 110, memory 120, display unit 130, camera 140, sensor 150, audio circuit 160, wireless fidelity (Wi-Fi) module 170, processor 180, bluetooth module 181, and power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. In general, RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the terminal device 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 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. The memory 120 stores an operating system that enables the terminal device 100 to operate. The memory 120 in the present application may store an operating system and various application programs, and may also store program codes for executing the light intensity value adjusting method according to the embodiment of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the terminal device 100, and specifically, the display unit 130 may include a touch screen 131 disposed on the front surface of the terminal device 100 and capable of collecting touch operations, such as button clicking, by the user thereon or nearby.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal apparatus 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the terminal device 100. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display a display area of a display screen of the terminal device in the present application.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the terminal device 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the optical signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The terminal device 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The terminal device 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the terminal device 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal device 100 may further be configured with a volume button for adjusting the volume of the sound signal, and may be configured to combine other buttons to adjust the closed area. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal device, or outputs the audio data to the memory 120 for further processing.
Wi-Fi belongs to short-distance wireless transmission technology, and the terminal device 100 can help the user to send and receive e-mails, browse web pages, access streaming media and the like through the Wi-Fi module 170, and provides wireless broadband Internet access for the user.
The processor 180 is a control center of the terminal device 100, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, and a touch response, and the light intensity value adjusting method according to the embodiment of the present application. Further, the processor 180 is coupled with the display unit 130.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having bluetooth modules through a bluetooth protocol. For example, the terminal device 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The terminal device 100 also includes a power supply 190 (such as a battery) for powering the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The terminal device 100 may further be configured with a power button for powering on and off the terminal device, and locking the screen.
Fig. 2 is a block diagram of a software structure of a terminal device 100 according to an embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system libraries, and a kernel layer, from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include phone, mms, wi-Fi, wechat, information, alarm, gallery, calendar, WLAN, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the display screen, intercept the display screen and the like.
Content providers are used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, dialed and received calls, browsing history and bookmarks, phone books, short messages, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display screen may be composed of one or more views. For example, the display screen including the short message notification icon may include a view for displaying text and a view for displaying a picture.
The phone manager is used to provide the communication function of the terminal device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources, such as localized strings, icons, pictures, layout files, video files, etc., to the application.
The notification manager allows the application to display notification information (e.g., the message content of a short message) in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scrollbar text on the top status bar of the system, such as a notification of a running application in the background, or a notification that appears in the form of a dialog window on the display screen. For example, text information is prompted in the status bar, a prompt tone is given, the terminal device vibrates, an indicator light flickers, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
A 2D (one way of animation) graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The terminal device 100 in the embodiment of the present application may include, but is not limited to, a smart phone, a tablet computer, a wearable electronic device (e.g., a smart watch), a notebook computer, and other electronic devices.
In this embodiment of the application, the terminal device shown in fig. 1 or fig. 2 may further obtain a first light intensity value of a light sensor of the calibration terminal in a first light source environment and a second light intensity value in a second light source environment, where the first light source environment is different from the second light source environment, and the second light source environment includes a screen-lighting environment; acquiring a first fitting value of the standard terminal under a first light source environment and a second light source environment; and adjusting a third light intensity value acquired by the light sensor of the calibration terminal in the current light source environment according to the first light intensity value, the second light intensity value and the first fitting value.
In order to improve the accuracy of calibrating the light intensity value of the terminal in the current light source environment, so as to improve the accuracy of adjusting the screen brightness and improve the user experience, the embodiment of the application provides a method and a device for adjusting the light intensity value, terminal equipment and a medium.
Fig. 3 is a schematic process diagram of a light intensity value adjusting method according to an embodiment of the present application, including the following steps:
s301: the method comprises the steps of obtaining a first light intensity value of a light sensor of a calibration terminal under a first light source environment and a second light intensity value under a second light source environment, wherein the first light source environment is different from the second light source environment, and the second light source environment comprises a screen luminous environment.
The method for adjusting the light intensity value provided by the embodiment of the application is applied to a terminal device, and the terminal device may be the terminal device shown in fig. 1 or fig. 2. For example, the terminal device is a calibration terminal, that is, the calibration terminal may adjust its light intensity value. Wherein, a light sensor is integrated in the terminal device, and the light intensity value is used for representing the energy of the light received by the light sensor per unit area. For example, the light sensor may be an off-screen light sensor, and the light sensor may acquire a first light intensity value in a first light source environment and a second light intensity value in a second light source environment.
The first light source environment is different from the second light source environment. The first light source environment and the second light source environment have different ambient light sources and/or different screen-lighting light intensity values. Wherein the screen may be the display screen 132 of fig. 1 described above.
Illustratively, the first light source is ambient only and the screen does not emit light. For example, in the first light source environment, the light intensity value of the ambient light source is the set light intensity value and the screen emits no light. The value of the set light intensity value is not limited, but it is necessary to ensure that when the light intensity value of the calibration terminal is adjusted and the first light intensity values of the calibration terminal and the standard terminal in the first light source environment are obtained, the set light intensity values of the first light source environment are kept consistent, that is, in the first light source environment, the ambient light source with the set light intensity values is used as the standard light source of the calibration terminal and the standard terminal.
Illustratively, only the screen is illuminated but no ambient light source is present under the second ambient light source. For example, in the environment of the second light source, the white backlight level of the screen without the ambient light source is the highest. In particular, implementations without an ambient light source include, but are not limited to, placing the calibration terminal in a dark box; the highest white backlight grade of the screen is the screen display white pixel point of the calibration terminal, and the screen brightness is the highest brightness of the calibration terminal.
FIG. 4 is a schematic diagram of a structure between a photosensor (ALS) and an OLED (organic light-emitting diode) panel with an optical path between the photosensor and the OLED panel, where the optical path refers to a point-to-point logical connection between the photosensor and an optical layer of the OLED panel, and the optical path is associated with an optical path coefficient l a Correspondingly, the light intensity value of light acquired outside the screen is attenuated through the light path, the light intensity value is weakened, and the light paths and light path coefficients of different terminals are possibly different from each other, so that the light intensity values of different terminal devices acquired under the same light source environment when the light reaches the light sensor through different light paths are different, namely, the individual difference exists between different terminal devices; when the OLED screen displays brightness, the OLED screen can generate self-luminescence phenomenon, and the self-luminescence phenomenon and the self-luminescence coefficient l of the screen c Correspondingly, the self-luminescence of the OLED screens of different terminal devices may have luminescence difference, that is, the light intensity values of the screens of different terminal devices are different, resulting in individual difference between different terminal devices; the OLED screen can not completely shade light and transmit light, namely the OLED screen has corresponding light transmission, light transmission and light transmission coefficient l b Correspondingly, the light transmittance coefficient of the screen is used for representing the light transmittance efficiency of the screen, the visual effect of the display screen is influenced, the light intensity value of light acquired outside the screen is attenuated through the OLED screen, the light intensity value is weakened, the light transmittance of the OLED screens of different terminal devices is different, the light intensity values of the light acquired by the different terminal devices under the same light source environment after passing through the different OLED screens are different, and the individual difference exists among the different terminal devices. The embodiments of the present application are therefore mainly directed toOptical path coefficient l a Transmittance of light l b Self-luminous coefficient of c These several factors adjust the light intensity value of the calibration terminal.
If the light intensity value of the ambient light source is the set light intensity value and the screen does not emit light in the first light source environment, the OLED screen does not self-emit light, so that the light emission difference of the OLED screen does not affect the first light intensity value in the first light source environment. Since the ambient light source can reach the optical sensor through the OLED screen and the optical path in the first light source environment, the light transmittance of the screen affects the first light intensity value when the ambient light source penetrates the OLED screen; the light path also affects the first light intensity value when passing through the light path. I.e. in the environment of the first light source, the first light intensity value is related to the light path between the screen of the calibration terminal and the light sensor and/or the transparency of the screen, i.e. the first light intensity value is related to l a And l b It is related. For example, the first light intensity value may satisfy the following formula (1):
X 12 =l a2 ×l b2 ×L light source 2 (1)
Wherein, X 12 Representing a first light intensity value, l a2 An optical path coefficient, l, representing the correspondence of the optical path between the screen of the calibration terminal and the optical sensor b2 Light transmittance coefficient, L, corresponding to light transmittance of screen of calibration terminal Light source 2 Representing the light intensity value of a standard light source.
It is assumed that the grade of the white backlight of the ambient-light-free screen is the highest in the environment of the second light source, and no ambient light source penetrates through the screen in the environment of the ambient-light-free screen, so that the light transmittance of the screen does not affect the second light intensity value in the environment of the second light source. When the white backlight level of the screen is the highest, the screen can self-illuminate and has a corresponding light intensity value of the screen, so that the light intensity value of the screen in the second light source environment can affect the second light intensity value; the light intensity value of the screen can only reach the light sensor through the light path, so that the light path also has an influence on the second light intensity value when passing through the light path. I.e. the second light intensity value and the second light source environmentThe light intensity value of the screen at which the light path between the screen of the calibration terminal and the light sensor and/or the white backlight level is highest, i.e. the second light intensity value, is related to a And l c It is relevant. For example, the second light intensity value may satisfy the following formula (2):
X 22 =l a2 ×l c2 ×L screen 2 (2)
Wherein, X 22 Representing a second light intensity value, l a2 An optical path coefficient, l, representing the correspondence of the optical path between the screen of the calibration terminal and the optical sensor c2 Self-luminous coefficient, L, corresponding to the light intensity value of the screen of the calibration terminal Screen 2 And a light intensity value representing screen luminescence, wherein the light intensity value of screen luminescence is collected under a second light source environment with the highest white backlight level of the screen of the calibration device.
S302: and acquiring a first fitting value of the standard terminal under the environment of the first light source and the environment of the second light source.
The standard terminal is also called a golden machine, and is generally a standard machine with good performance and accurate measured data.
The first fitting value may be determined according to a fourth light intensity value acquired by the standard terminal in the first light source environment and a fifth light intensity value acquired in the second light source environment. The first light source environment and the second light source environment corresponding to the standard terminal may be considered to be the same as the first light source environment and the second light source environment corresponding to the calibration terminal. For example, if the light intensity value of the ambient light source in the first light source environment corresponding to the calibration terminal is the set light intensity value and the screen does not emit light, the light intensity value of the ambient light source in the first light source environment corresponding to the standard terminal is the set light intensity value and the screen does not emit light, and if the white backlight level of the ambient light source and the screen of the calibration terminal in the second light source environment corresponding to the calibration terminal is the highest, the white backlight level of the ambient light source and the screen of the standard terminal in the second light source environment corresponding to the standard terminal is the highest. Ideally, the light intensity values measured by the calibration terminal and the standard terminal are the same under the same first light source environment and the same second light source environment, but the light intensity values measured by the calibration terminal and the standard terminal are different under the difference existing between the calibration terminal and the standard terminal, so that the standard terminal can be used for calibrating the calibration terminal to correct the difference existing between the calibration terminal and the standard terminal.
In the embodiment of the application, the fitting value of the standard terminal is used for calibrating the calibration equipment, so that the influence of the light transmittance of the screen of the terminal equipment, the light intensity value of the screen and the light path on the light intensity value acquired by the light sensor can be reduced, the terminal equipment is favorable for self-adapting to the light source environment, and the screen brightness can be automatically adjusted according to the light source environment.
S303: and adjusting a third light intensity value acquired by the light sensor of the calibration terminal under the current light source environment according to the first light intensity value, the second light intensity value and the first fitting value.
The current light source environment may be the light source environment in which the user is using the terminal device (i.e. calibrating the terminal), e.g. may comprise both an ambient light source and a screen glow. Generally, the intensity values collected by the light sensor in different light source environments may be different due to the influence of the ambient light source and the screen illumination.
The third light intensity value may be an original light intensity value acquired by the calibration terminal in the current light source environment, and the original light intensity value is adjusted, where the adjusted light intensity value may be considered as a standard light intensity value in the current light source environment, that is, a light intensity value obtained by removing several factors, i.e., a light path of the calibration terminal, a light emission difference of the screen, and a light transmittance. For example, the light intensity value of the standard after the light sensor of the calibration terminal is adjusted may be determined according to the original third light intensity value and the fitting ratio between the calibration terminal and the standard terminal.
According to the embodiment of the application, the third light intensity value acquired by the calibration terminal in the current light source environment is adjusted through the first light intensity value and the second light intensity value acquired by the calibration terminal in different light source environments and the first fitting value of the standard terminal in the same light source environment, so that the accuracy of the light intensity value of the calibration terminal in the current light source environment can be improved, the accuracy of screen brightness adjustment is improved, and user experience is improved.
On the basis of the foregoing embodiment, in the foregoing S303, referring to fig. 5, a process of adjusting a third light intensity value collected by the light sensor of the calibration terminal according to the first light intensity value, the second light intensity value, and the first fitting value includes the following steps:
s501: and determining a second fitting value of the calibration terminal under the first light source environment and the second light source environment according to the first light intensity value and the second light intensity value.
Since the light source environment corresponding to the second fitting value of the calibration terminal is in the first light source environment and the second light source environment, the second fitting value of the calibration terminal can be calculated according to the first light intensity value acquired by the calibration terminal in the first light source environment and the second light intensity value acquired in the second light source environment. In addition, the data accuracy corresponding to the standard terminal is higher, so that the fitting value of the calibration terminal can be calibrated by adopting the fitting value of the standard terminal. For example, the second fitting value may satisfy the following formula (3):
Figure BDA0003908383570000131
wherein Y is Simulation 2 Denotes the second fitting value, X 12 Representing a first light intensity value, X 22 Representing a second light intensity value.
S502: and determining a fitting ratio between the standard terminal and the calibration terminal according to the first fitting value and the second fitting value.
The fit ratio may characterize the difference that exists between the standard terminal and the calibration terminal. For example, the fitting ratio of the standard terminal and the calibration terminal may satisfy the following formula (4):
Figure BDA0003908383570000132
wherein Y is Denotes the fitting ratio, Y, between the standard terminal and the calibration terminal Simulation 1 Represents the first fitting value, Y Simulation 2 Denotes the second fitted value, X 11 Representing a fourth light intensity value, X, collected by the standard terminal in the environment of the first light source 12 Representing a first light intensity value, X 21 Represents a fifth light intensity value, X, collected by the standard terminal in the environment of the second light source 22 Representing a second light intensity value.
S503: and adjusting the third light intensity value collected by the light sensor of the calibration terminal according to the fitting ratio.
Because the fitting ratio can represent the difference between the standard terminal and the calibration terminal, the third light intensity value collected by the light sensor of the calibration terminal can be adjusted according to the fitting ratio so as to correct the difference between the calibration terminal and the standard terminal. For example, the fitting ratio may be used as a weight, and a product between the weight and the third light intensity value is determined as the adjusted light intensity value of the calibration terminal, so as to adjust the third light intensity value collected by the calibration terminal.
On the basis of the foregoing embodiments, the process of acquiring the first fitting value of the standard terminal in the first light source environment and the second light source environment in S302 is shown in fig. 6, and includes the following steps:
s601: and acquiring a fourth light intensity value of the light sensor of the standard terminal under the environment of the first light source and a fifth light intensity value under the environment of the second light source.
The fourth light intensity value and the fifth light intensity value may be collected by a light sensor of the standard terminal.
Assuming that the light intensity value of the ambient light source is the set light intensity value and the screen does not emit light under the environment of the first light source, the fourth light intensity value is related to the light path between the screen and the light sensor of the standard terminal and/or the light transmittance of the screen under the environment of the first light source, i.e. the fourth light intensity value is related to l a And l b It is related. For example, the fourth light intensity value may satisfy the following formula (5):
X 11 =l a1 ×l b1 ×L light source 1 (5)
Wherein X 11 Indicating what is acquired by a standard terminal in a first light source environmentFourth light intensity value l a1 An optical path coefficient, l, representing the correspondence of the optical path between the screen of the standard terminal and the optical sensor b1 Light transmittance, L, of a screen corresponding to light transmittance of a standard terminal Light source 1 Representing the light intensity value of a standard light source.
Assuming that the white backlight level of the screen is highest without the ambient light source under the environment of the second light source, the fifth light intensity value is related to the light path between the screen of the standard terminal and the light sensor and/or the light intensity value of the screen when the white backlight level is highest under the environment of the second light source, i.e. the fifth light intensity value is related to l a And l c It is relevant.
For example, the fifth light intensity value may satisfy the following formula (6):
X 21 =l a1 ×l c1 ×L screen 1 (6)
Wherein, X 21 Represents a fifth light intensity value, l, collected by the standard terminal in the environment of the second light source a1 An optical path coefficient, l, representing the correspondence of the optical path between the screen of the standard terminal and the optical sensor c1 Self-luminous coefficient, L, corresponding to the light intensity value of the screen representing a standard terminal Screen 1 And a light intensity value representing screen luminescence, wherein the light intensity value of screen luminescence is collected under a second light source environment with the highest white backlight level of a standard device screen.
S602: and determining a first fitting value of the standard terminal according to the fourth light intensity value and the fifth light intensity value.
For example, the first fitting value may satisfy the following formula (7):
Figure BDA0003908383570000151
for yet another example, the first fitting value may be determined by the process shown in fig. 7, including the steps of:
s701: and determining a calibration coefficient of the optical sensor of the standard terminal according to the fourth light intensity value of the standard terminal.
Wherein, the calibration coefficient of the optical sensor of the standard terminal may satisfy the following formula (8):
Figure BDA0003908383570000152
wherein, C 1 Represents the calibration coefficient of the light sensor of the standard terminal, 385 represents the light intensity value of the standard light source, X 11 Representing a fourth light intensity value.
S702: and determining normal light sensation data of the standard terminal according to the calibration coefficient, the fourth light intensity value and the fifth light intensity value of the light sensor of the standard terminal.
The normal light sensation data is light sensation data influenced by an ambient light source and screen luminescence. The normal light sensation data may satisfy the following formula (9):
Y 1 =(l a1 ×l b1 ×X light source 1 +l a1 ×l c1 ×X Screen 1 )×C 1 (9)
Wherein Y is 1 Normal light sensation data, X, representing a standard terminal Light source 1 Representing the light intensity value, X, at the ambient light source (if any) Screen 1 Representing the light intensity value of the glow, if any, on the screen.
Assuming that there is no ambient light source in the second light source environment, the above equation (9) can be expressed as the following equation (10):
Y simulation 1 =l a1 ×l c1 ×X Screen 1 ×C 1 (10)
S703: and determining a first fitting value of the standard terminal under the environment of the first light source and the environment of the second light source according to the normal light sensation data of the standard terminal.
Substituting the above equation (7) into equation (10) can yield the following equation (11):
Y pseudo-1 =l a1 ×l c1 ×X Screen 1 ×385/X 11 (11)
Light intensity value X due to the environment of the first light source 11 And optical path coefficient l a1 And a light transmittance l b1 On the basis of the above formula (11), therefore, canTo see the first fitting value Y of the standard terminal Simulation 1 And optical path coefficient l a Transmittance of light l b And self-luminous coefficient of screen l c Are related and positively correlated.
Similarly, the second fitting value of the calibration terminal may also be obtained by a processing procedure similar to S701-S703, and the obtained second fitting value Y is processed Simulation 2 Satisfy Y Simulation 2 =l a2 ×l c2 ×X Screen 2 ×385/X 12 Second fitting value and optical path coefficient l a Transmittance of light l b And self-luminous coefficient l of screen c Are related and positively correlated.
Based on fig. 7, a process of determining a fitting ratio between a standard terminal and a calibration terminal can be seen in fig. 8, which includes the following steps:
s801: and determining a first fitting relation between the first fitting value of the standard terminal and the initial fitting value of the calibration terminal according to the first fitting value of the standard terminal and the second fitting value of the calibration terminal.
Specifically, the first fitting relationship between the first fitting value of the standard terminal and the second fitting value of the calibration terminal may be determined according to a ratio of a formula (11) corresponding to the first fitting value of the standard terminal and a formula corresponding to the second fitting value of the calibration terminal.
Due to X Screen 1 、X Screen 2 All represent the luminous intensity value of the screen under the current light source environment, the white backlight grade of the screen under the second light source environment is the highest, and the light intensity values corresponding to the highest white backlight grade of the screen are the same, so that the X of the standard terminal Screen 1 And X of calibration terminal Screen 2 The values of (A) are the same. Therefore, the first fitting relationship between the first fitting value of the standard terminal and the second fitting value of the calibration terminal may satisfy the following formula (12):
Figure BDA0003908383570000161
s802: and determining a second fitting relation between the standard terminal and the calibration terminal according to the first fitting relation between the standard terminal and the calibration terminal.
And because the light intensity value X has been explained in the above embodiments 11 And optical path coefficient l a1 And a light transmittance of l b1 Positive correlation, light intensity value X 12 And optical path coefficient l a2 And a light transmittance l b2 The positive correlation, and therefore the second fitting relationship determined based on the first fitting relationship of the above equation (12) can be expressed as the following equation (13):
Figure BDA0003908383570000171
by simplifying equation (13), the following equation (14) can be obtained:
Figure BDA0003908383570000172
s803: and determining a third fitting relation between the standard terminal and the calibration terminal according to the first light intensity value, the second light intensity value, the fourth light intensity value, the fifth light intensity value and the second fitting relation.
Due to L in the formula (2) Screen 2 And L in the formula (6) Screen 1 Each represents a light intensity value of screen light, wherein the light intensity value of screen light can be determined according to the highest screen light level in the second light source environment, and the second light source environments of the standard terminal and the calibration terminal are the same, so that L of the calibration terminal is the same Screen 2 And L of standard terminal Screen 1 The values of (A) are the same.
Substituting the above formula (1) (first light intensity value), formula (2) (second light intensity value), formula (5), and formula (6) into the above formula (14), the determined third fitting relationship can be expressed as the following formula (15):
Figure BDA0003908383570000173
s804: and determining a fitting ratio between the standard terminal and the calibration terminal according to a third fitting relation between the first fitting value of the standard terminal and the second fitting value of the calibration terminal.
Specifically, the third fitting relationship determined by the above equation (15) may be determined as a fitting ratio between the standard terminal and the calibration terminal.
On the basis of the foregoing embodiments, in this embodiment of the application, after adjusting, according to the first light intensity value, the second light intensity value, and the first fitting value, a third light intensity value acquired by the light sensor of the calibration terminal in the current light source environment, the method further includes:
and adjusting the brightness of the screen of the calibration terminal according to the adjusted third light intensity value.
The brightness of the screen is related to the value of the light intensity value measured by the light sensor, and generally, the larger the light intensity value measured by the light sensor is, the higher the brightness of the screen is, the smaller the light intensity value measured by the light sensor is, and the lower the brightness of the screen is. Therefore, in order to ensure that the user experiences good experience brought by the brightness displayed on the screen of the calibration terminal in the current light source environment, the brightness of the screen of the calibration terminal can be adjusted according to the adjusted third light intensity value, so that the brightness of the screen is matched with the current light source environment when the user uses the calibration terminal. For example, the adjusted third luminance value may be used to adjust the backlight luminance of the screen.
Based on the same technical concept, on the basis of the above embodiments, the present application provides a light intensity value adjusting apparatus, and fig. 9 is a schematic structural diagram of a light intensity value adjusting apparatus provided in some embodiments of the present application, as shown in fig. 9, the apparatus includes:
a first obtaining module 901, configured to obtain a first light intensity value of an optical sensor of a calibration terminal in a first light source environment and a second light intensity value in a second light source environment, where the first light source environment is different from the second light source environment, and the second light source environment includes a screen-lighting environment;
a second obtaining module 902, configured to obtain a first fitting value of the standard terminal in the first light source environment and the second light source environment;
an adjusting module 903, configured to adjust a third light intensity value acquired by the light sensor of the calibration terminal in the current light source environment according to the first light intensity value, the second light intensity value, and the first fitting value.
In a possible implementation manner, the adjusting module 903 is specifically configured to determine, according to the first light intensity value and the second light intensity value, a second fitting value of the calibration terminal in the first light source environment and the second light source environment; determining a fitting ratio between the standard terminal and the calibration terminal according to the first fitting value and the second fitting value; and adjusting the third light intensity value collected by the light sensor of the calibration terminal according to the fitting ratio.
In a possible implementation, the first fitting value of the standard terminal in the first light source environment and the second light source environment is determined according to the fourth light intensity value and the fifth light intensity value; the fourth light intensity value is acquired by the light sensor of the standard terminal under the environment of the first light source, and the fifth light intensity value is acquired by the light sensor of the standard terminal under the environment of the second light source.
In one possible embodiment, in the first light source environment, the light intensity value of the ambient light source is the set light intensity value and the screen emits no light; and/or the white backlight without the ambient light source and the screen has the highest grade under the environment of the second light source.
In a possible implementation manner, the adjusting module 903 is further configured to adjust the brightness of the screen of the calibration terminal according to the adjusted third light intensity value.
Based on the same technical concept, fig. 10 is another schematic structural diagram of the terminal device provided in the embodiment of the present application, as shown in fig. 10, including: one or more than two (including two) processors 1001 and a communication interface 1002.
The processor 1001 has stored therein a computer program which, when executed by the processor 1001, causes the processor 1001 to perform the steps of:
acquiring a first light intensity value of a light sensor of a calibration terminal under a first light source environment and a second light intensity value under a second light source environment, wherein the first light source environment is different from the second light source environment, and the second light source environment comprises a screen luminous environment;
acquiring a first fitting value of the standard terminal under a first light source environment and a second light source environment;
and adjusting a third light intensity value acquired by the light sensor of the calibration terminal in the current light source environment according to the first light intensity value, the second light intensity value and the first fitting value.
In a possible embodiment, the processor 1001 is specifically configured to determine, according to the first light intensity value and the second light intensity value, a second fitting value of the calibration terminal in the first light source environment and the second light source environment; determining a fitting ratio between the standard terminal and the calibration terminal according to the first fitting value and the second fitting value; and adjusting the third light intensity value collected by the light sensor of the calibration terminal according to the fitting ratio.
In a possible implementation, the first fitting value of the standard terminal in the first light source environment and the second light source environment is determined according to the fourth light intensity value and the fifth light intensity value; the fourth light intensity value is acquired by the light sensor of the standard terminal under the environment of the first light source, and the fifth light intensity value is acquired by the light sensor of the standard terminal under the environment of the second light source.
In one possible embodiment, in the first light source environment, the light intensity value of the ambient light source is the set light intensity value and the screen emits no light; and/or the white backlight without the ambient light source and the screen has the highest grade under the environment of the second light source.
In a possible embodiment, the processor 1001 is further configured to adjust the brightness of the screen of the calibration terminal according to the adjusted third light intensity value.
Optionally, the terminal device further comprises a memory 1003, and the memory 1003 may comprise a read-only memory and a random access memory and provides the processor with operation instructions and data. The portion of memory may also include non-volatile random access memory (NVRAM).
In some embodiments, as shown in FIG. 10, memory 1003 stores elements, execution modules or data structures, or a subset thereof, or an expanded set thereof.
As shown in fig. 10, in some embodiments of the present application, the corresponding operation is performed by calling an operation instruction stored in the memory 1003 (the operation instruction may be stored in an operating system).
As shown in fig. 10, a processor 1001, which may also be referred to as a Central Processing Unit (CPU), controls the processing operations of the head-end device.
As shown in fig. 10, the memory 1003 may include a read-only memory and a random access memory, and provides instructions and data to the processor. A portion of the memory 1003 may also include NVRAM. Such as application communication interfaces, and memory, are coupled together by a bus system 1004, where the bus system 1004 may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. For clarity of illustration, the various buses are designated in figure 10 as the bus system 1004.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a computer-readable storage medium, where a computer program executable by a terminal device is stored in the computer-readable storage medium, and when the program runs on the terminal device, the terminal device is caused to implement the method disclosed in the foregoing embodiment when executed.
Since the principle of solving the problem of the computer-readable storage medium is similar to that of the light intensity value adjusting method, the implementation of the computer-readable storage medium can refer to the embodiment of the method, and repeated descriptions are omitted.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A light intensity value adjustment method, characterized by comprising:
acquiring a first light intensity value of a light sensor of a calibration terminal in a first light source environment and a second light intensity value of the light sensor in a second light source environment, wherein the first light source environment is different from the second light source environment, and the second light source environment comprises a screen light-emitting environment;
acquiring a first fitting value of a standard terminal under the first light source environment and the second light source environment;
and adjusting a third light intensity value acquired by the light sensor of the calibration terminal under the current light source environment according to the first light intensity value, the second light intensity value and the first fitting value.
2. The method of claim 1, wherein adjusting the third light intensity value collected by the light sensor of the calibration terminal based on the first light intensity value, the second light intensity value, and the first fit value comprises:
determining a second fitting value of the calibration terminal under the first light source environment and the second light source environment according to the first light intensity value and the second light intensity value;
determining a fitting ratio between the standard terminal and the calibration terminal according to the first fitting value and the second fitting value;
and adjusting the third light intensity value collected by the light sensor of the calibration terminal according to the fitting ratio.
3. The method of claim 1, wherein the first fit value of the standard terminal in the first light source environment and the second light source environment is determined from a fourth light intensity value and a fifth light intensity value;
the fourth light intensity value is acquired by the light sensor of the standard terminal in a first light source environment, and the fifth light intensity value is acquired by the light sensor of the standard terminal in a second light source environment.
4. The method of any of claims 1-3, wherein in the first light source environment, the light intensity value of the ambient light source is a set light intensity value and the screen is unlit; and/or under the environment of the second light source, the white backlight without the ambient light source and the screen has the highest grade.
5. The method according to any one of claims 1-3, wherein after adjusting the third light intensity value collected by the light sensor of the calibration terminal in the current light source environment according to the first light intensity value, the second light intensity value and the first fitted value, the method further comprises:
and adjusting the brightness of the screen of the calibration terminal according to the adjusted third light intensity value.
6. A light intensity value adjusting device is applied to terminal equipment, and is characterized by comprising:
the calibration terminal comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a first light intensity value of an optical sensor of the calibration terminal under a first light source environment and a second light intensity value under a second light source environment, the first light source environment is different from the second light source environment, and the second light source environment comprises a screen luminous environment;
the second obtaining module is used for obtaining a first fitting value of the standard terminal under the first light source environment and the second light source environment;
and the adjusting module is used for adjusting a third light intensity value acquired by the light sensor of the calibration terminal under the current light source environment according to the first light intensity value, the second light intensity value and the first fitting value.
7. The apparatus according to claim 6, wherein the adjusting module is specifically configured to determine a second fitting value of the calibration terminal in the first light source environment and the second light source environment according to the first light intensity value and the second light intensity value; determining a fitting ratio between the standard terminal and the calibration terminal according to the first fitting value and the second fitting value; and adjusting the third light intensity value acquired by the light sensor of the calibration terminal according to the fitting ratio.
8. The apparatus according to claim 6, wherein the adjusting module is further configured to adjust a brightness of a screen of the calibration terminal according to an adjusted third light intensity value after adjusting the third light intensity value collected by the light sensor of the calibration terminal in the current light source environment.
9. A terminal device, characterized in that the terminal device comprises:
a display, a processor, and a memory;
the display is used for displaying a screen display area;
the memory to store the processor-executable instructions;
the processor is configured to execute the instructions to implement the light intensity value adjustment method of any one of claims 1-5.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of the light intensity value adjustment method according to any one of claims 1 to 5.
CN202211314213.2A 2022-10-25 2022-10-25 Light intensity value adjusting method, device, terminal equipment and medium Active CN115512673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211314213.2A CN115512673B (en) 2022-10-25 2022-10-25 Light intensity value adjusting method, device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211314213.2A CN115512673B (en) 2022-10-25 2022-10-25 Light intensity value adjusting method, device, terminal equipment and medium

Publications (2)

Publication Number Publication Date
CN115512673A true CN115512673A (en) 2022-12-23
CN115512673B CN115512673B (en) 2023-09-05

Family

ID=84513069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211314213.2A Active CN115512673B (en) 2022-10-25 2022-10-25 Light intensity value adjusting method, device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN115512673B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070211013A1 (en) * 2006-03-03 2007-09-13 Nec Corporation Light source apparatus, display apparatus, terminal apparatus, and control method thereof
KR100776920B1 (en) * 2007-07-26 2007-11-20 주식회사에이멕스 Camera gain automatic control method for sorting of grain
JP2011106875A (en) * 2009-11-13 2011-06-02 Sharp Corp Optical sensor and display device
CN107367327A (en) * 2017-07-18 2017-11-21 广东欧珀移动通信有限公司 Calibration method, device, mobile terminal and the readable storage medium storing program for executing of optical sensor
CN108172175A (en) * 2018-01-04 2018-06-15 广东小天才科技有限公司 It is a kind of for the bearing calibration of optical sensor, device, equipment and storage medium
CN108257581A (en) * 2017-12-22 2018-07-06 维沃移动通信有限公司 A kind of method of adjustment of light intensity sensing device, mobile terminal and brightness of display screen
CN109859689A (en) * 2019-04-09 2019-06-07 Oppo广东移动通信有限公司 Screen luminance adjustment method and Related product
US20190304379A1 (en) * 2016-12-22 2019-10-03 Dolby Laboratories Licensing Corporation Ambient light-adaptive display management
CN112017615A (en) * 2019-05-31 2020-12-01 华为技术有限公司 Method for calibrating ambient light brightness of electronic equipment and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070211013A1 (en) * 2006-03-03 2007-09-13 Nec Corporation Light source apparatus, display apparatus, terminal apparatus, and control method thereof
KR100776920B1 (en) * 2007-07-26 2007-11-20 주식회사에이멕스 Camera gain automatic control method for sorting of grain
JP2011106875A (en) * 2009-11-13 2011-06-02 Sharp Corp Optical sensor and display device
US20190304379A1 (en) * 2016-12-22 2019-10-03 Dolby Laboratories Licensing Corporation Ambient light-adaptive display management
CN107367327A (en) * 2017-07-18 2017-11-21 广东欧珀移动通信有限公司 Calibration method, device, mobile terminal and the readable storage medium storing program for executing of optical sensor
CN108257581A (en) * 2017-12-22 2018-07-06 维沃移动通信有限公司 A kind of method of adjustment of light intensity sensing device, mobile terminal and brightness of display screen
CN108172175A (en) * 2018-01-04 2018-06-15 广东小天才科技有限公司 It is a kind of for the bearing calibration of optical sensor, device, equipment and storage medium
CN109859689A (en) * 2019-04-09 2019-06-07 Oppo广东移动通信有限公司 Screen luminance adjustment method and Related product
CN112017615A (en) * 2019-05-31 2020-12-01 华为技术有限公司 Method for calibrating ambient light brightness of electronic equipment and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
范伟;叶瑞芳;余卿;: "液晶显示器亮度自动调节系统研究", 现代仪器, no. 06 *

Also Published As

Publication number Publication date
CN115512673B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN111343339B (en) Mobile terminal and image display method thereof
CN111508039A (en) Word processing method of ink screen and communication terminal
CN113223464A (en) Ink screen image display method and ink screen terminal
CN112925596B (en) Mobile terminal and display method of display object thereof
CN113419452B (en) Vehicle, control method thereof and mobile terminal
CN113038141B (en) Video frame processing method and electronic equipment
CN111193874B (en) Image display parameter adjusting method and mobile terminal
CN113055585B (en) Thumbnail display method of shooting interface and mobile terminal
CN112835472A (en) Communication terminal and display method
CN115460355B (en) Image acquisition method and device
CN115512673B (en) Light intensity value adjusting method, device, terminal equipment and medium
CN112799557B (en) Ink screen display control method, terminal and computer readable storage medium
CN114067758B (en) Mobile terminal and image display method thereof
CN113360122B (en) Mobile terminal and text display method thereof
CN111399955B (en) Mobile terminal and interface display method of application program thereof
CN114063945B (en) Mobile terminal and image display method thereof
CN113838437A (en) Method, terminal device and medium for adjusting screen brightness
CN115033199A (en) Mobile terminal and image display method thereof
CN113900740A (en) Method and device for loading multiple list data
CN113641431A (en) Method and terminal equipment for enhancing display of two-dimensional code
CN112004006A (en) Mobile medical terminal and brightness adjusting method thereof
CN113934340A (en) Terminal device and progress bar display method
CN113254132A (en) Application display method and related device
CN115130062A (en) Light sensor data processing method and device, terminal equipment and medium
CN111414142B (en) Mobile terminal and display method of application interface thereof

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
CB02 Change of applicant information

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant