CN112181347A - Screen color temperature adjusting method, device and system, storage medium and electronic equipment - Google Patents

Screen color temperature adjusting method, device and system, storage medium and electronic equipment Download PDF

Info

Publication number
CN112181347A
CN112181347A CN202010929960.1A CN202010929960A CN112181347A CN 112181347 A CN112181347 A CN 112181347A CN 202010929960 A CN202010929960 A CN 202010929960A CN 112181347 A CN112181347 A CN 112181347A
Authority
CN
China
Prior art keywords
color temperature
target
temperature value
value
target electronic
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.)
Pending
Application number
CN202010929960.1A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010929960.1A priority Critical patent/CN112181347A/en
Publication of CN112181347A publication Critical patent/CN112181347A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The disclosure relates to a screen color temperature adjusting method, device and system, a storage medium and an electronic device. The method comprises the following steps: the method comprises the steps that under the condition that target electronic equipment is detected within a preset range of terminal equipment, an environment color temperature value of the target electronic equipment is obtained; determining a target environment color temperature value of the position of the terminal equipment according to the environment color temperature value, and determining a target screen color temperature value from a screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value; and adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value. By adopting the method, the screen color temperature of the terminal equipment can be conveniently and quickly adjusted based on the environmental color temperature of the position of the terminal equipment.

Description

Screen color temperature adjusting method, device and system, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, a storage medium, and an electronic device for adjusting a color temperature of a screen.
Background
At present, the time for using the mobile phone is longer and longer, and the blue light radiated by the mobile phone screen can cause damage to eyes of people in the process of using the mobile phone. As is well known, the light source on the backlight plate of the mobile phone screen generally adopts an LED light source or a fluorescent light source. In order to make the screen have a better image effect, the backlight of the mobile phone screen is brighter, and a large amount of blue light components in the backlight plate light source need to be reserved if the backlight of the mobile phone screen is brighter. However, blue light can penetrate through the lens of the eye to reach the retina, causing optical damage to the retina, generating free radicals, leading to the death of retinal pigment epithelial cells, and causing oxidative lesion of cells in the macular region. That is to say, the larger the color temperature value of the mobile phone screen is, the better the image rendering effect of the screen is, but correspondingly, the more blue light is radiated from the screen, and the more damage to the eyes of the user is.
In the related art, in order to reduce the damage of the blue light radiated from the screen to the eyes of people, people usually adjust the color temperature value of the screen to be low. Specifically, the user can adjust the color temperature value of the screen of the mobile phone down through a color temperature adjustment option in the mobile phone setting. However, this manual adjustment is not quick, and the user does not know the optimal value of the color temperature of the screen of the mobile phone for balancing the rendering effect and reducing blue light in the current situation during the process of manually adjusting the color temperature of the screen.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a screen color temperature adjusting method, device, system, storage medium, and electronic apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided a screen color temperature adjusting method, the method including:
the method comprises the steps that under the condition that target electronic equipment is detected within a preset range of terminal equipment, an environment color temperature value of the target electronic equipment is obtained;
determining a target environment color temperature value of the position of the terminal equipment according to the environment color temperature value, and determining a target screen color temperature value from a screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value;
and adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value.
Optionally, the ambient color temperature value of the target electronic device is detected by a color temperature sensor of the target electronic device; alternatively, the first and second electrodes may be,
the ambient color temperature value of the target electronic device is an illumination color temperature value of the target electronic device.
Optionally, when there is one target electronic device, the determining, according to the environmental color temperature value, a target environmental color temperature value of the location where the terminal device is located includes:
and taking the environmental color temperature value acquired from the target electronic equipment as the target environmental color temperature value.
Optionally, when there are a plurality of target electronic devices, the determining, according to the environmental color temperature value, a target environmental color temperature value of the location where the terminal device is located includes:
selecting two target electronic devices closest to the terminal device from the plurality of target electronic devices;
and determining the target environmental color temperature value according to the distance values between the two target electronic devices and the terminal device and the environmental color temperature values acquired from the two target electronic devices respectively.
Optionally, the determining the target environmental color temperature value according to the distance values between the two target electronic devices and the terminal device and the environmental color temperature values obtained from the two target electronic devices respectively includes:
calculating a sum of the distance values between the two target electronic devices and the terminal device;
taking a ratio of the distance value to the sum value of a first target electronic device as a first color temperature weight value, taking a ratio of the distance value to the sum value of a second target electronic device as a second color temperature weight value, wherein the first target electronic device and the second target electronic device represent the two target electronic devices;
and taking the sum of the product of the first color temperature weight value and the environmental color temperature value obtained from the second target electronic equipment and the product of the second color temperature weight value and the environmental color temperature value obtained from the first target electronic equipment as the target environmental color temperature value.
Determining a target screen color temperature value from a screen color temperature value adjusting interval of the terminal device according to the target environment color temperature value, including:
and determining a screen color temperature value with the minimum absolute value of the difference value between the screen color temperature value and the target environment color temperature value in the screen color temperature value adjusting interval, and taking the screen color temperature value as the target screen color temperature value.
Optionally, the target electronic device is detected by:
scanning Bluetooth signals of all surrounding electronic equipment through the terminal equipment, and determining the distance value between each electronic equipment and the terminal equipment according to the scanned Bluetooth signal intensity of each electronic equipment;
and taking the electronic equipment corresponding to the distance value as the target electronic equipment when the distance value is smaller than or equal to a preset threshold value.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen color temperature adjusting apparatus, the apparatus including:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is configured to acquire an environmental color temperature value of a target electronic device under the condition that the target electronic device is detected within a preset range of a terminal device;
the determining module is configured to determine a target environment color temperature value of the position where the terminal device is located according to the environment color temperature value, and determine a target screen color temperature value from a screen color temperature value adjusting interval of the terminal device according to the target environment color temperature value;
and the adjusting module is configured to adjust the screen color temperature of the terminal equipment according to the target screen color temperature value.
Optionally, the ambient color temperature value of the target electronic device is detected by a color temperature sensor of the target electronic device; alternatively, the first and second electrodes may be,
the ambient color temperature value of the target electronic device is an illumination color temperature value of the target electronic device.
Optionally, the determining module includes:
a first determining sub-module configured to, when the target electronic device is one, take the environmental color temperature value acquired from the target electronic device as the target environmental color temperature value.
Optionally, the determining module includes:
a selection submodule configured to select, when the number of the target electronic devices is plural, two target electronic devices closest to the terminal device from among the plural target electronic devices;
and the second determining submodule is configured to determine the target environmental color temperature value according to the distance values between the two target electronic devices and the terminal device and the environmental color temperature values acquired from the two target electronic devices respectively.
Optionally, the second determining submodule is specifically configured to calculate a sum of the distance values between the two target electronic devices and the terminal device; taking a ratio of the distance value to the sum value of a first target electronic device as a first color temperature weight value, taking a ratio of the distance value to the sum value of a second target electronic device as a second color temperature weight value, wherein the first target electronic device and the second target electronic device represent the two target electronic devices; and taking the sum of the product of the first color temperature weight value and the environmental color temperature value obtained from the second target electronic equipment and the product of the second color temperature weight value and the environmental color temperature value obtained from the first target electronic equipment as the target environmental color temperature value.
Optionally, the determining module includes:
and the third determining submodule is configured to determine a screen color temperature value with the smallest absolute value of the difference value between the target environment color temperature value and the screen color temperature value adjusting interval, and use the screen color temperature value as the target screen color temperature value.
Optionally, the apparatus further comprises a detection module configured to detect the target electronic device by:
scanning Bluetooth signals of all surrounding electronic equipment through the terminal equipment, and determining the distance value between each electronic equipment and the terminal equipment according to the scanned Bluetooth signal intensity of each electronic equipment; and taking the electronic equipment corresponding to the distance value as the target electronic equipment when the distance value is smaller than or equal to a preset threshold value.
According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the screen color temperature adjustment method provided by the first aspect of the present disclosure.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any one of the first aspect of the present disclosure.
According to a fifth aspect of the embodiment of the present disclosure, a screen color temperature adjusting system based on an intelligent home device is provided, which includes a terminal device and an electronic device, wherein the electronic device is an intelligent home electronic device, and the terminal device is in communication connection with the electronic device or is connected with the electronic device through a same local area network;
the electronic equipment is used for determining the environmental color temperature value of the position where the electronic equipment is located;
the terminal equipment is used for acquiring an environment color temperature value of the target electronic equipment under the condition that the target electronic equipment is detected within a preset range;
the terminal equipment is also used for determining a target environment color temperature value of the position where the terminal equipment is located according to the environment color temperature value and determining a target screen color temperature value from a screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value;
and the terminal equipment is also used for adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value.
Optionally, the ambient color temperature value of the location where the electronic device is located is detected by a color temperature sensor of the electronic device; alternatively, the first and second electrodes may be,
and the ambient color temperature value of the position of the electronic equipment is the illumination color temperature value of the electronic equipment.
Optionally, the terminal device is further configured to, when there is one target electronic device, use the environmental color temperature value obtained from the target electronic device as the target environmental color temperature value.
Optionally, the terminal device is further configured to select, when there are a plurality of target electronic devices, two target electronic devices closest to the terminal device from the plurality of target electronic devices; and determining the target environmental color temperature value according to the distance values between the two target electronic devices and the terminal device and the environmental color temperature values acquired from the two target electronic devices respectively.
Optionally, the terminal device is specifically configured to:
calculating a sum of the distance values between the two target electronic devices and the terminal device;
taking a ratio of the distance value to the sum value of a first target electronic device as a first color temperature weight value, taking a ratio of the distance value to the sum value of a second target electronic device as a second color temperature weight value, wherein the first target electronic device and the second target electronic device represent the two target electronic devices;
and taking the sum of the product of the first color temperature weight value and the environmental color temperature value obtained from the second target electronic equipment and the product of the second color temperature weight value and the environmental color temperature value obtained from the first target electronic equipment as the target environmental color temperature value.
Optionally, the terminal device is further configured to determine, from the screen color temperature value adjustment interval, a screen color temperature value whose absolute value of the difference from the target environment color temperature value is the smallest, and use the screen color temperature value as the target screen color temperature value.
Optionally, the terminal device detects the target electronic device by:
scanning Bluetooth signals of all surrounding electronic equipment through the terminal equipment, and determining the distance value between each electronic equipment and the terminal equipment according to the scanned Bluetooth signal intensity of each electronic equipment;
and taking the electronic equipment corresponding to the distance value as the target electronic equipment when the distance value is smaller than or equal to a preset threshold value.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
whether the target electronic equipment exists in the preset range of the terminal equipment is detected, and the environmental color temperature value of the target electronic equipment is obtained under the condition that the target electronic equipment exists in the preset range of the terminal equipment. And obtaining the target environment color temperature value of the position of the terminal equipment according to the environment color temperature value of the target electronic equipment in the preset range of the terminal equipment. And determining a target screen color temperature value from the screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value, and adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value. Compared with the mode that the screen color temperature of the terminal equipment is manually adjusted by a user in the related technology, the method is more convenient and faster. And according to the target environment color temperature value of the position of the terminal equipment, the optimal target screen color temperature value under the current environment can be determined from the screen color temperature value adjusting interval of the terminal equipment, and then the screen color temperature of the terminal equipment can be adjusted according to the determined target screen color temperature value, so that the screen imaging effect of the terminal equipment and the blue light radiation quantity can be balanced. That is to say, by adopting the technical scheme of the disclosure, the damage of the screen to the eyes of the user can be reduced as much as possible on the basis of ensuring the screen imaging effect under the condition of the current ambient color temperature.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a diagram illustrating an implementation environment in accordance with an exemplary embodiment.
Fig. 2 is a flowchart illustrating a screen color temperature adjusting method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of determining a target ambient color temperature value for a location of a terminal device according to an example embodiment.
Fig. 4 is a flowchart illustrating another method of determining a target ambient color temperature value for a location of a terminal device according to an example embodiment.
FIG. 5 is a flow chart illustrating a method of detecting a target electronic device in accordance with one exemplary embodiment.
Fig. 6 is a block diagram illustrating a screen color temperature adjusting apparatus according to an exemplary embodiment.
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
At present, the time for using the mobile phone is longer and longer, and the blue light radiated by the mobile phone screen can cause damage to eyes of people in the process of using the mobile phone. As is well known, the light source on the backlight plate of the mobile phone screen generally adopts an LED light source or a fluorescent light source. In order to make the screen have a better image effect, the backlight of the mobile phone screen is brighter, and a large amount of blue light components in the backlight plate light source need to be reserved if the backlight of the mobile phone screen is brighter. However, blue light can penetrate through the lens of the eye to reach the retina, causing optical damage to the retina, generating free radicals, leading to the death of retinal pigment epithelial cells, and causing oxidative lesion of cells in the macular region. That is to say, the larger the color temperature value of the mobile phone screen is, the better the image rendering effect of the screen is, but correspondingly, the more blue light is radiated from the screen, and the more damage to the eyes of the user is.
In the related art, in order to reduce the damage of the blue light radiated from the screen to the eyes of people, people usually adjust the color temperature value of the screen to be low. Specifically, the user can adjust the color temperature value of the screen of the mobile phone down through a color temperature adjustment option in the mobile phone setting. However, this manual adjustment is not quick, and the user does not know the optimal value of the color temperature of the screen of the mobile phone for balancing the rendering effect and reducing blue light in the current situation during the process of manually adjusting the color temperature of the screen. Specifically, if the color temperature of the screen adjusted by the user is too low, the rendering effect of the screen is poor, and the user is prone to visual fatigue when the color temperature of the screen is greatly different from the color temperature of the environment. If the color temperature of the screen adjusted by the user is larger than the color temperature of the current environment, the color temperature of the screen adjusted by the user does not cause the damage of the blue light of the screen to the eyes to be minimized.
Therefore, the color temperature sensor is added to the mobile phone, the environment color temperature of the mobile phone is detected in real time through the color temperature sensor on the mobile phone, and the screen color temperature of the mobile phone is automatically adjusted according to the environment color temperature of the mobile phone.
However, the method of adding the color temperature sensor to the mobile phone faces the problem that the mobile phone which is already put into use is difficult to recall, and the problem that hardware modification is difficult to be carried out on the produced mobile phone hardware system.
In view of this, the embodiments of the present disclosure provide a method, an apparatus, a system, a storage medium, and an electronic device for adjusting a color temperature of a screen, so as to solve the problems in the related art.
In order to make the technical solutions of the present disclosure easier for those skilled in the art to understand, an application scenario of the present disclosure is first described below.
Referring to fig. 1, the screen color temperature adjusting system based on the smart home devices provided by the embodiment of the present disclosure includes a smart home electronic device 11 and a terminal device 12. The electronic device 11 and the terminal device 12 are connected in communication, or the electronic device 11 and the terminal device 12 are connected in the same local area network, so that the electronic device 11 and the terminal device 12 can perform data interaction.
The terminal device 12 is an electronic device having a display screen and no color temperature sensor, and may be, for example, a PC, a PAD, a mobile phone, a refrigerator, a television, or the like. Note that fig. 1 exemplifies only a smartphone as the terminal device 12.
The smart home electronic device 11 is an electronic device with a color temperature sensor, or the smart home electronic device 11 itself is a lighting device. For example, the smart home electronic device 11 may be a smart television, a smart refrigerator, a smart air conditioner, a desk lamp, a pendant lamp, a color temperature sensor module, a desktop computer with a color temperature sensor, a tablet computer, or the like.
The following provides a detailed description of embodiments of the present disclosure.
Fig. 2 is a flowchart illustrating a screen color temperature adjusting method for use in a terminal device having a screen, as shown in fig. 2, according to an exemplary embodiment, the method including the following steps.
In step S11, when the target electronic device is detected within the preset range of the terminal device, the ambient color temperature value of the target electronic device is obtained.
Wherein the preset range is set according to the application scenario of the present disclosure. For example, when the application scene of the present disclosure is a smart home scene of a user, the preset range may be set according to a room size of the user, for example, to be 2 meters, 2.5 meters, and the like. For another example, when the application scenario of the present disclosure is a smart home experience hall scenario, the preset range may be set according to a field size of the experience hall, for example, set to 10 meters, 15 meters, and so on. It should be noted that, when the application scene is an intelligent home scene, the electronic device is any intelligent home product with a color temperature sensor, or an intelligent lighting device, such as an illumination lamp, a refrigerator, an air conditioner, and the like. The terminal equipment is a mobile terminal, a computer and the like, and can also be an intelligent household product which is provided with a display screen but not provided with a color temperature sensor.
It is worth mentioning that, in the smart home scene, by setting the size of the preset range, the terminal device and the detected target electronic device can be devices in the same room, and the environmental color temperatures of the environments of the terminal device and the target electronic device are basically the same under the condition that the terminal device and the target electronic device are in the same room.
Therefore, in a possible case, the environmental color temperature value acquired from the target electronic device may be directly used as the target environmental color temperature value.
In addition, since the smart home product may be a lighting product, it may also be a non-lighting product. Therefore, optionally, the ambient color temperature value of the target electronic device is detected by a color temperature sensor of the target electronic device; or, the ambient color temperature value of the target electronic device is an illumination color temperature value of the target electronic device.
Specifically, in the case where the target electronic device is provided with a color temperature sensor, the ambient color temperature value of the target electronic device may be detected by the color temperature sensor on the target electronic device. When the target electronic device is a lighting product, the ambient color temperature value of the target electronic device is the lighting color temperature value of the target electronic device. The lighting device may be a pendant, a desk lamp, or the like.
In another implementation, the environmental color temperature value of the target electronic device may also be an environmental color temperature value obtained by the target electronic device from another electronic device. For example, the other electronic device may be a stand-alone color temperature sensor communicatively coupled to the target electronic device.
In addition, the manner in which the terminal device obtains the ambient color temperature value of the target electronic device may specifically be that the terminal device obtains the ambient color temperature value broadcasted from the local area network to the target electronic device. Or after the terminal device establishes communication connection with the target electronic device, the terminal device directly obtains the environmental color temperature value from the target electronic device. The present disclosure is not limited to the specific embodiments.
In step S12, a target ambient color temperature value of the location of the terminal device is determined according to the ambient color temperature value, and a target screen color temperature value is determined from a screen color temperature value adjustment interval of the terminal device according to the target ambient color temperature value.
Since the terminal device and the detected target electronic device are devices in the same room by setting the value of the preset range, the environmental color temperature of the environment in which the terminal device and the target electronic device are located is substantially the same in the case that the terminal device and the target electronic device are in the same room. Therefore, the target environmental color temperature value of the position where the terminal device is located can be determined according to the environmental color temperature value of the target electronic device.
After the target environment color temperature value of the position of the terminal equipment is determined, the screen color temperature value adjusting range of the terminal equipment is also determined. The reason is that the screen color temperature value adjustment range of each electronic device is limited, and the allowable screen color temperature value adjustment intervals of different electronic devices are different according to different manufacturers of the electronic devices. Therefore, after the target environmental color temperature value of the position where the terminal device is located is determined, the target screen color temperature value of the terminal device needs to be determined according to the screen color temperature value adjustment interval allowed to be adjusted by the terminal device.
For example, the screen color temperature value which is the same as the target environmental color temperature value of the position where the terminal device is located may be selected from the screen color temperature value adjustment interval of the terminal device as the target screen color temperature value of the terminal device. For another example, the screen color temperature value closest to the target ambient color temperature value of the location of the terminal device may also be selected from the screen color temperature value adjustment interval of the terminal device as the target screen color temperature value of the terminal device. For another example, a screen color temperature value larger than the target ambient color temperature value by a preset value may be selected from the screen color temperature value adjustment interval of the terminal device as the target screen color temperature value of the terminal device.
It should be understood that, in the case that the screen color temperature value is not less than the ambient color temperature value, the screen display effect of the terminal device is better. Under the condition that the color temperature of the screen is uniform with the color temperature of the environment, the visual fatigue of a user can be effectively reduced.
In step S13, the screen color temperature of the terminal device is adjusted according to the target screen color temperature value.
It should be noted that, after the screen color temperature of the terminal device is adjusted according to the target screen color temperature value, when the screen of the terminal device is in the wake-up state, the screen color temperature value is the target screen color temperature value.
By adopting the method, whether the target electronic equipment exists in the preset range of the terminal equipment is detected, and the environmental color temperature value of the target electronic equipment is obtained under the condition that the target electronic equipment exists in the preset range of the terminal equipment. And obtaining the target environment color temperature value of the position of the terminal equipment according to the environment color temperature value of the target electronic equipment in the preset range of the terminal equipment. And determining a target screen color temperature value from the screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value, and adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value. Compared with the mode that the screen color temperature of the terminal equipment is manually adjusted by a user in the related technology, the method is more convenient and faster. And according to the target environment color temperature value of the position of the terminal equipment, the optimal target screen color temperature value under the current environment can be determined from the screen color temperature value adjusting interval of the terminal equipment, and then the screen color temperature of the terminal equipment can be adjusted according to the determined target screen color temperature value, so that the screen imaging effect of the terminal equipment and the blue light radiation quantity can be balanced. That is to say, by adopting the technical scheme of the disclosure, the harm of the screen to the eyes of the user can be reduced as much as possible on the basis of ensuring the screen imaging effect in the current environment.
In addition, the screen color temperature can be timely adjusted in response to the change of the environmental color temperature by adopting the mode. When the user uses the terminal equipment for a long time, the harm of the terminal equipment to the eyes of the user is reduced.
It should be further noted that, if the terminal device is a mobile terminal, the screen color temperature of the mobile terminal can be automatically adjusted by the above technical scheme without modifying the mobile terminal by hardware.
In one possible scenario, one or more target electronic devices may exist within a preset range of the terminal device. Therefore, when there is one target electronic device, the target environmental color temperature value of the location where the terminal device is located may be determined as follows:
and taking the environmental color temperature value acquired from the target electronic equipment as the target environmental color temperature value.
Specifically, when only one target electronic device is in the preset range of the terminal device, the target electronic device environmental color temperature value is directly used as the target environmental color temperature value.
And in the case that there are a plurality of target electronic devices, the target environmental color temperature value of the location where the terminal device is located may be determined through the steps shown in fig. 3:
in step S21, two target electronic devices closest to the terminal device are selected from the plurality of target electronic devices.
In step S22, the target ambient color temperature value is determined according to the distance values between the two target electronic devices and the terminal device, respectively, and the ambient color temperature values obtained from the two target electronic devices, respectively.
It should be understood that the closer the target electronic device is to the terminal device, the closer the ambient color temperature of the location where the target electronic device is located is to the ambient color temperature of the location where the terminal device is located. Therefore, when a plurality of target electronic devices are detected within a preset range of the terminal device, in order to reduce the amount of calculation, only two target electronic devices closest to the terminal device among the plurality of target electronic devices may be selected, and the target environmental color temperature value of the position where the terminal device is located may be determined according to the distance values between the two target electronic devices and the terminal device, and the environmental color temperature values respectively obtained from the two target electronic devices.
Optionally, referring to fig. 4, determining the target ambient color temperature value according to the distance values between the two target electronic devices and the terminal device, and the ambient color temperature values obtained from the two target electronic devices, may specifically include the following steps:
in step S31, a sum of the distance values between the two target electronic devices and the terminal device is calculated.
For example, it is assumed that the two target electronic devices are respectively 2 meters and 4 meters away from the terminal device. The sum is 6 meters.
In step S32, a ratio of the distance value to the sum value of a first target electronic device is used as a first color temperature weight value, and a ratio of the distance value to the sum value of a second target electronic device is used as a second color temperature weight value, where the first target electronic device and the second target electronic device characterize the two target electronic devices.
Specifically, one of the two target electronic devices is used as a first target electronic device, and the other is used as a second target electronic device. Assume that the distance between the first target electronic device and the terminal device is 2 meters, and the distance between the second target electronic device and the terminal device is 4 meters. Then the first color temperature weight value is the ratio 1/3 of the distance value 2 to the sum 6 of the first target electronic device. The ratio 2/3 of the distance value 4 of the second target electronic device to the sum value 6.
In step S33, the sum of the product of the first color temperature weight value and the ambient color temperature value acquired from the second target electronic device and the product of the second color temperature weight value and the ambient color temperature value acquired from the first target electronic device is taken as the target ambient color temperature value.
After the first color temperature weight value and the second color temperature weight value are determined, a target environment color temperature value at the position of the terminal device can be calculated according to the environment color temperature value obtained from the first target electronic device and the environment color temperature value obtained from the second target electronic device.
For example, assume that the first color temperature weight value is 1/3, the second color temperature weight value 2/3, the ambient color temperature value obtained from the first target electronic device is 30K, and the ambient color temperature value obtained from the second target electronic device is 60K. Then, through the above-mentioned step S32, the product of the first color temperature weight value 1/3 and the ambient color temperature value 60K acquired from the second target electronic device is obtained as 20K, and the product of the second color temperature weight value 2/3 and the ambient color temperature value 30K acquired from the first target electronic device is obtained as 20K. And the sum of 20K and 20K is 40K, namely the target environment color temperature value at the position of the terminal equipment is 40K.
By adopting the method, the influence of the environmental color temperatures of the two target electronic devices on the environmental color temperature of the position of the terminal device can be calculated through the environmental color temperature values of the two target electronic devices closest to the terminal device, so that the target environmental color temperature value of the position of the terminal device can be obtained.
And the target ambient color temperature value may also be determined based on the ambient color temperature values of all the target electronic devices and the distance value between each target electronic device and the terminal device, without considering the amount of calculation. In one embodiment, the color temperature weight of each target electronic device may still be determined based on a ratio relationship between the distance value between each target electronic device and the terminal device, so as to determine the target ambient color temperature value of the location where the terminal device is located.
In another embodiment, the layout conditions of each target electronic device and the terminal device are calculated according to the distance value between each target electronic device and the terminal device, and then the target environment color temperature value of the position of the terminal device is determined based on the geometric relationship.
Optionally, in the step S12, the determining a target screen color temperature value from a screen color temperature value adjustment interval of the terminal device according to the target environment color temperature value may specifically include:
and determining a screen color temperature value with the minimum absolute value of the difference value between the screen color temperature value and the target environment color temperature value in the screen color temperature value adjusting interval, and taking the screen color temperature value as the target screen color temperature value. Namely, the screen color temperature value closest to the target environment color temperature value is determined from the screen color temperature value adjusting interval, and the screen color temperature value is taken as the target screen color temperature value.
For example, if the screen color temperature value adjustment interval is 3000K to 7000K and the target ambient color temperature value is 3500K, the screen color temperature value with the smallest absolute value of the difference between the screen color temperature value adjustment interval 3000K to 7000K and the target ambient color temperature value 3500K is 3500K.
Further illustratively, assuming that the screen color temperature value adjustment interval is 3000K to 7000K and the target ambient color temperature value is 2500K, the screen color temperature value having the smallest absolute value of the difference from the target ambient color temperature value 2500K in the screen color temperature value adjustment interval 3000K to 7000K is 3000K.
Further, for example, assuming that the screen color temperature value adjustment interval is 3000K to 4000K and the target ambient color temperature value is 4500K, the screen color temperature value having the smallest absolute value of the difference between the screen color temperature value adjustment interval 3000K to 4000K and the target ambient color temperature value 4500K is 4000K.
In this way, according to the target ambient color temperature value of the position where the terminal device is located, the target screen color temperature value closest to the target ambient color temperature value can be determined from the screen color temperature value adjustment interval of the terminal device, the screen color temperature of the terminal device can be adjusted to the color temperature closest to the ambient color temperature according to the target screen color temperature value, and the color temperature value closest to the ambient color temperature is the optimal screen color temperature value of the terminal device in the current environment. By minimizing the difference between the target screen color temperature value of the terminal device and the ambient color temperature, the problem caused by too low or too high screen color temperature compared with the ambient color temperature can be avoided. And the damage of the screen to the eyes of the user can be reduced as much as possible on the basis of ensuring the screen imaging effect in the current environment.
And an implementable implementation mode can appropriately enlarge the target screen color temperature value under the condition that a user needs a better rendering effect. Similarly, under the condition that the user needs to reduce the damage of the screen to the eyes, the target screen color temperature value can be properly reduced. That is, the target screen color temperature value determined by the above method may be appropriately enlarged or reduced based on the user's desire tendency.
Optionally, any method in the foregoing embodiments of the present disclosure may detect the target electronic device by a method as shown in fig. 5:
in step S41, the terminal device scans bluetooth signals of surrounding electronic devices, and determines the distance value between each electronic device and the terminal device according to the scanned bluetooth signal strength of each electronic device.
It will be understood by those skilled in the art that, in the case where the terminal device does not establish a bluetooth communication connection with each electronic device, the terminal device may also actively scan bluetooth signals of electronic devices around the terminal device. And according to the scanned Bluetooth signal intensity of each electronic device, the distance value between each electronic device and the terminal device can be determined. The larger the Bluetooth signal intensity value is, the smaller the distance between the electronic device and the terminal device is.
The specific implementation of determining the distance value between the terminal device and the electronic device according to the bluetooth signal strength of the electronic device scanned by the terminal device may be similar to the algorithm for calculating the distance based on the bluetooth device power and the bluetooth signal strength in the related art.
In step S42, when the distance value is smaller than or equal to a preset threshold, the electronic device corresponding to the distance value is taken as the target electronic device.
For each electronic device, the target electronic device in the preset range of the terminal device can be determined according to the distance value between the electronic device and the terminal device and the preset distance value corresponding to the preset range.
By adopting the method, the distance value between the terminal device and each electronic device is determined based on the Bluetooth signal intensity of each electronic device scanned by the terminal device, so that the target electronic device in the preset range of the terminal device is determined.
According to an implementation mode, WIFI signals of all surrounding electronic devices can be scanned through the terminal device, and the distance between each electronic device and the terminal device is determined based on the WIFI signal strength of each electronic device.
In another implementation, in the case that each of the electronic devices and the terminal device has a GPS module, the distance information between the terminal device and each of the electronic devices may be determined according to GPS positioning information of each of the electronic devices and the terminal device.
Fig. 6 is a block diagram illustrating a screen color temperature adjusting apparatus according to an exemplary embodiment. Referring to fig. 6, the apparatus includes an acquisition module 510, a determination module 520, and an adjustment module 530.
The obtaining module 510 is configured to obtain an ambient color temperature value of a target electronic device when the target electronic device is detected within a preset range of a terminal device;
the determining module 520 is configured to determine a target ambient color temperature value of the location of the terminal device according to the ambient color temperature value, and determine a target screen color temperature value from a screen color temperature value adjusting interval of the terminal device according to the target ambient color temperature value;
the adjusting module 530 is configured to adjust the screen color temperature of the terminal device according to the target screen color temperature value.
By adopting the device, whether the target electronic equipment exists in the preset range of the terminal equipment is detected, and the environmental color temperature value of the target electronic equipment is obtained under the condition that the target electronic equipment exists in the preset range of the terminal equipment. And obtaining the target environment color temperature value of the position of the terminal equipment according to the environment color temperature value of the target electronic equipment in the preset range of the terminal equipment. And determining a target screen color temperature value from the screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value, and adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value. Compared with the mode that the screen color temperature of the terminal equipment is manually adjusted by a user in the related technology, the method is more convenient and faster. And according to the target environment color temperature value of the position of the terminal equipment, the optimal target screen color temperature value under the current environment can be determined in the screen color temperature value adjusting interval of the terminal equipment, and then the screen color temperature of the terminal equipment can be adjusted according to the determined target screen color temperature value, so that the screen imaging effect of the terminal equipment and the screen blue light radiation amount can be balanced. That is to say, by adopting the technical scheme of the disclosure, the harm of the screen to the eyes of the user can be reduced as much as possible on the basis of ensuring the screen imaging effect in the current environment.
Optionally, the ambient color temperature value of the target electronic device is detected by a color temperature sensor of the target electronic device; alternatively, the first and second electrodes may be,
the ambient color temperature value of the target electronic device is an illumination color temperature value of the target electronic device.
Optionally, the determining module 520 includes:
a first determining sub-module configured to, when the target electronic device is one, take the environmental color temperature value acquired from the target electronic device as the target environmental color temperature value.
Optionally, the determining module 520 includes:
a selection submodule configured to select two target electronic devices closest to the terminal device from among the plurality of target electronic devices;
and the second determining submodule is configured to determine the target environmental color temperature value according to the distance values between the two target electronic devices and the terminal device and the environmental color temperature values acquired from the two target electronic devices respectively.
Optionally, the second determining submodule is specifically configured to calculate a sum of the distance values between the two target electronic devices and the terminal device; taking a ratio of the distance value to the sum value of a first target electronic device as a first color temperature weight value, taking a ratio of the distance value to the sum value of a second target electronic device as a second color temperature weight value, wherein the first target electronic device and the second target electronic device represent the two target electronic devices; and taking the sum of the product of the first color temperature weight value and the environmental color temperature value obtained from the second target electronic equipment and the product of the second color temperature weight value and the environmental color temperature value obtained from the first target electronic equipment as the target environmental color temperature value.
Optionally, the determining module 520 further includes:
and the third determining submodule is configured to determine a screen color temperature value with the smallest absolute value of the difference value between the target environment color temperature value and the screen color temperature value adjusting interval, and use the screen color temperature value as the target screen color temperature value.
Optionally, the apparatus further comprises a detection module configured to detect the target electronic device by:
scanning Bluetooth signals of all surrounding electronic equipment through the terminal equipment, and determining the distance value between each electronic equipment and the terminal equipment according to the scanned Bluetooth signal intensity of each electronic equipment; and taking the electronic equipment corresponding to the distance value as the target electronic equipment when the distance value is smaller than or equal to a preset threshold value.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the screen color temperature adjusting method provided by the present disclosure.
Fig. 7 is a block diagram illustrating an electronic device 800 for screen color temperature adjustment according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the screen color temperature adjustment method described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 806 provide power to the various components of the electronic device 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the screen color temperature adjustment method described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the screen color temperature adjustment method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned screen color temperature adjusting method when executed by the programmable apparatus.
The embodiment of the disclosure also provides a screen color temperature adjusting system based on the smart home device, which is similar to that shown in fig. 1, and includes a terminal device and an electronic device, wherein the electronic device is the smart home electronic device, and the terminal device is in communication connection with the electronic device or is connected with the electronic device through the same local area network;
the electronic equipment is used for determining the environmental color temperature value of the position where the electronic equipment is located;
the terminal equipment is used for acquiring an environment color temperature value of the target electronic equipment under the condition that the target electronic equipment is detected within a preset range;
the terminal equipment is also used for determining a target environment color temperature value of the position where the terminal equipment is located according to the environment color temperature value and determining a target screen color temperature value from a screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value;
and the terminal equipment is also used for adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value.
By adopting the screen color temperature adjusting system based on the intelligent home equipment, under the intelligent home scene, the terminal equipment detects whether the target electronic equipment exists in the preset range of the terminal equipment, and under the condition that the target electronic equipment exists in the preset range of the terminal equipment, the environmental color temperature value of the target electronic equipment is obtained. And obtaining the target environment color temperature value of the position of the terminal equipment according to the environment color temperature value of the target electronic equipment in the preset range of the terminal equipment. And determining a target screen color temperature value from the screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value, and adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value. Compared with the mode that the screen color temperature of the terminal equipment is manually adjusted by a user in the related technology, the mode of the method is more convenient and faster. And according to the target environment color temperature value of the position of the terminal equipment, the optimal target screen color temperature value under the current environment can be determined from the screen color temperature value adjusting interval of the terminal equipment, and then the screen color temperature of the terminal equipment can be adjusted according to the determined target screen color temperature value, so that the screen imaging effect of the terminal equipment and the blue light radiation quantity can be balanced. That is to say, by adopting the technical scheme of the present disclosure, in an intelligent home scene, the terminal device determines the ambient color temperature condition of the environment where the terminal device is located based on the ambient color temperature value of the intelligent home electronic device, and further determines the optimal screen color temperature value of the terminal device in the current environment. And adjusting the screen color temperature of the terminal equipment according to the determined optimal screen color temperature value can ensure the imaging effect of the terminal screen and can also reduce the damage of the terminal screen to the eyes of the user to the greatest extent.
Optionally, the ambient color temperature value of the location where the electronic device is located is detected by a color temperature sensor of the electronic device; alternatively, the first and second electrodes may be,
and the ambient color temperature value of the position of the electronic equipment is the illumination color temperature value of the electronic equipment.
Optionally, the terminal device is further configured to, when there is one target electronic device, use the environmental color temperature value obtained from the target electronic device as the target environmental color temperature value.
Optionally, the terminal device is further configured to select, when there are a plurality of target electronic devices, two target electronic devices closest to the terminal device from the plurality of target electronic devices; and are
And determining the target environmental color temperature value according to the distance values between the two target electronic devices and the terminal device and the environmental color temperature values acquired from the two target electronic devices respectively.
Optionally, the terminal device is specifically configured to:
calculating a sum of the distance values between the two target electronic devices and the terminal device;
taking a ratio of the distance value to the sum value of a first target electronic device as a first color temperature weight value, taking a ratio of the distance value to the sum value of a second target electronic device as a second color temperature weight value, wherein the first target electronic device and the second target electronic device represent the two target electronic devices;
and taking the sum of the product of the first color temperature weight value and the environmental color temperature value obtained from the second target electronic equipment and the product of the second color temperature weight value and the environmental color temperature value obtained from the first target electronic equipment as the target environmental color temperature value.
Optionally, the terminal device is further configured to determine, from the screen color temperature value adjustment interval, a screen color temperature value whose absolute value of the difference from the target environment color temperature value is the smallest, and use the screen color temperature value as the target screen color temperature value.
Optionally, the terminal device detects the target electronic device by:
scanning Bluetooth signals of all surrounding electronic equipment through the terminal equipment, and determining the distance value between each electronic equipment and the terminal equipment according to the scanned Bluetooth signal intensity of each electronic equipment;
and taking the electronic equipment corresponding to the distance value as the target electronic equipment when the distance value is smaller than or equal to a preset threshold value.
With regard to the system in the above-described embodiment, the specific manner in which each device performs the operations has been described in detail in the embodiment related to the method, and will not be elaborated upon here.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. A screen color temperature adjustment method, the method comprising:
the method comprises the steps that under the condition that target electronic equipment is detected within a preset range of terminal equipment, an environment color temperature value of the target electronic equipment is obtained;
determining a target environment color temperature value of the position of the terminal equipment according to the environment color temperature value, and determining a target screen color temperature value from a screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value;
and adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value.
2. The method of claim 1, wherein the ambient color temperature value of the target electronic device is detected by a color temperature sensor of the target electronic device; alternatively, the first and second electrodes may be,
the ambient color temperature value of the target electronic device is an illumination color temperature value of the target electronic device.
3. The method according to claim 2, wherein when there is one target electronic device, the determining a target ambient color temperature value of the location where the terminal device is located according to the ambient color temperature value includes:
and taking the environmental color temperature value acquired from the target electronic equipment as the target environmental color temperature value.
4. The method according to claim 2, wherein when there are a plurality of target electronic devices, the determining a target ambient color temperature value of the location where the terminal device is located according to the ambient color temperature value includes:
selecting two target electronic devices closest to the terminal device from the plurality of target electronic devices;
and determining the target environmental color temperature value according to the distance values between the two target electronic devices and the terminal device and the environmental color temperature values acquired from the two target electronic devices respectively.
5. The method according to claim 4, wherein the determining the target ambient color temperature value according to the distance values between the two target electronic devices and the terminal device, respectively, and the ambient color temperature values obtained from the two target electronic devices, respectively, comprises:
calculating a sum of the distance values between the two target electronic devices and the terminal device;
taking a ratio of the distance value to the sum value of a first target electronic device as a first color temperature weight value, taking a ratio of the distance value to the sum value of a second target electronic device as a second color temperature weight value, wherein the first target electronic device and the second target electronic device represent the two target electronic devices;
and taking the sum of the product of the first color temperature weight value and the environmental color temperature value obtained from the second target electronic equipment and the product of the second color temperature weight value and the environmental color temperature value obtained from the first target electronic equipment as the target environmental color temperature value.
6. The method according to any one of claims 1 to 5, wherein the determining a target screen color temperature value from a screen color temperature value adjustment interval of the terminal device according to the target environmental color temperature value comprises:
and determining a screen color temperature value with the minimum absolute value of the difference value between the screen color temperature value and the target environment color temperature value in the screen color temperature value adjusting interval, and taking the screen color temperature value as the target screen color temperature value.
7. The method of claim 6, wherein the target electronic device is detected by:
scanning Bluetooth signals of all surrounding electronic equipment through the terminal equipment, and determining the distance value between each electronic equipment and the terminal equipment according to the scanned Bluetooth signal intensity of each electronic equipment;
and taking the electronic equipment corresponding to the distance value as the target electronic equipment when the distance value is smaller than or equal to a preset threshold value.
8. A screen color temperature adjusting system based on intelligent home equipment is characterized by comprising terminal equipment and electronic equipment, wherein the electronic equipment is the intelligent home electronic equipment, and the terminal equipment is in communication connection with the electronic equipment, or the terminal equipment and the electronic equipment are connected with the same local area network;
the electronic equipment is used for determining the environmental color temperature value of the position where the electronic equipment is located;
the terminal equipment is used for acquiring an environment color temperature value of the target electronic equipment under the condition that the target electronic equipment is detected within a preset range;
the terminal equipment is also used for determining a target environment color temperature value of the position where the terminal equipment is located according to the environment color temperature value and determining a target screen color temperature value from a screen color temperature value adjusting interval of the terminal equipment according to the target environment color temperature value;
and the terminal equipment is also used for adjusting the screen color temperature of the terminal equipment according to the target screen color temperature value.
9. The system of claim 8, wherein the ambient color temperature value of the location of the electronic device is detected by a color temperature sensor of the electronic device; alternatively, the first and second electrodes may be,
and the ambient color temperature value of the position of the electronic equipment is the illumination color temperature value of the electronic equipment.
10. The system according to claim 9, wherein the terminal device is further configured to use the environmental color temperature value obtained from the target electronic device as the target environmental color temperature value if there is one target electronic device.
11. The system according to claim 9, wherein the terminal device is further configured to select two target electronic devices closest to the terminal device from the plurality of target electronic devices if the plurality of target electronic devices are provided; and are
And determining the target environmental color temperature value according to the distance values between the two target electronic devices and the terminal device and the environmental color temperature values acquired from the two target electronic devices respectively.
12. The system according to claim 11, wherein the terminal device is specifically configured to:
calculating a sum of the distance values between the two target electronic devices and the terminal device;
taking a ratio of the distance value to the sum value of a first target electronic device as a first color temperature weight value, taking a ratio of the distance value to the sum value of a second target electronic device as a second color temperature weight value, wherein the first target electronic device and the second target electronic device represent the two target electronic devices;
and taking the sum of the product of the first color temperature weight value and the environmental color temperature value obtained from the second target electronic equipment and the product of the second color temperature weight value and the environmental color temperature value obtained from the first target electronic equipment as the target environmental color temperature value.
13. The system according to any one of claims 8 to 12, wherein the terminal device is further configured to determine a screen color temperature value with a smallest absolute value of a difference value from the target ambient color temperature value from the screen color temperature value adjustment interval, and use the screen color temperature value as the target screen color temperature value.
14. The system of claim 13, wherein the terminal device detects the target electronic device by:
scanning Bluetooth signals of all surrounding electronic equipment through the terminal equipment, and determining the distance value between each electronic equipment and the terminal equipment according to the scanned Bluetooth signal intensity of each electronic equipment;
and taking the electronic equipment corresponding to the distance value as the target electronic equipment when the distance value is smaller than or equal to a preset threshold value.
15. A screen color temperature adjustment apparatus, comprising:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is configured to acquire an environmental color temperature value of a target electronic device under the condition that the target electronic device is detected within a preset range of a terminal device;
the determining module is configured to determine a target environment color temperature value of the position where the terminal device is located according to the environment color temperature value, and determine a target screen color temperature value from a screen color temperature value adjusting interval of the terminal device according to the target environment color temperature value;
and the adjusting module is configured to adjust the screen color temperature of the terminal equipment according to the target screen color temperature value.
16. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 7.
17. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 7.
CN202010929960.1A 2020-09-07 2020-09-07 Screen color temperature adjusting method, device and system, storage medium and electronic equipment Pending CN112181347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010929960.1A CN112181347A (en) 2020-09-07 2020-09-07 Screen color temperature adjusting method, device and system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010929960.1A CN112181347A (en) 2020-09-07 2020-09-07 Screen color temperature adjusting method, device and system, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112181347A true CN112181347A (en) 2021-01-05

Family

ID=73925861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010929960.1A Pending CN112181347A (en) 2020-09-07 2020-09-07 Screen color temperature adjusting method, device and system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112181347A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070087447A (en) * 2006-02-23 2007-08-28 엠텍비젼 주식회사 Method and device for detecting color temperature
JP2012037776A (en) * 2010-08-09 2012-02-23 Canon Inc Graphic display device, control method and program for the same
CN104517585A (en) * 2013-09-29 2015-04-15 联想(北京)有限公司 Method and device for adjusting display screen
CN105898542A (en) * 2015-12-08 2016-08-24 乐视移动智能信息技术(北京)有限公司 Display screen brightness adjustment and data transmission method, device and system
US20160381761A1 (en) * 2015-06-24 2016-12-29 Industrial Technology Research Institute Lighting apparatus of adjustable color temperature and a method for adjusting color temperature thereof
CN107452315A (en) * 2017-08-04 2017-12-08 广东欧珀移动通信有限公司 Color temperature adjusting method, device, mobile terminal and electric terminal, system
CN111163305A (en) * 2019-12-30 2020-05-15 深圳Tcl新技术有限公司 Screen adjusting method, device and equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070087447A (en) * 2006-02-23 2007-08-28 엠텍비젼 주식회사 Method and device for detecting color temperature
JP2012037776A (en) * 2010-08-09 2012-02-23 Canon Inc Graphic display device, control method and program for the same
CN104517585A (en) * 2013-09-29 2015-04-15 联想(北京)有限公司 Method and device for adjusting display screen
US20160381761A1 (en) * 2015-06-24 2016-12-29 Industrial Technology Research Institute Lighting apparatus of adjustable color temperature and a method for adjusting color temperature thereof
CN105898542A (en) * 2015-12-08 2016-08-24 乐视移动智能信息技术(北京)有限公司 Display screen brightness adjustment and data transmission method, device and system
CN107452315A (en) * 2017-08-04 2017-12-08 广东欧珀移动通信有限公司 Color temperature adjusting method, device, mobile terminal and electric terminal, system
CN111163305A (en) * 2019-12-30 2020-05-15 深圳Tcl新技术有限公司 Screen adjusting method, device and equipment and readable storage medium

Similar Documents

Publication Publication Date Title
KR101873658B1 (en) Method and device for adjusting colour temperature
EP3277057B1 (en) Light emission control method and device
US9691332B2 (en) Method and device for adjusting backlight brightness
CN106843666B (en) method and device for adjusting display interface
JP2020504629A (en) Indoor light intensity adjustment method and device
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN107677377B (en) Method and device for determining color temperature
CN111901459A (en) Color temperature adjusting method, device, terminal and storage medium
CN111131596B (en) Screen brightness adjusting method and device
CN109005360B (en) Light supplementing method and device for shooting environment and computer readable storage medium
CN108597456B (en) Backlight brightness adjusting method and device
CN111355843A (en) Brightness adjusting method and device, mobile terminal and storage medium
CN112905141A (en) Screen display method and device and computer storage medium
CN113241044B (en) Screen brightness adjusting method, device, equipment and storage medium
CN112181347A (en) Screen color temperature adjusting method, device and system, storage medium and electronic equipment
CN106775246B (en) Screen brightness adjusting method and device
CN114500860B (en) Method for eliminating light source flicker, device for eliminating light source flicker and storage medium
CN114187874B (en) Brightness adjusting method, device and storage medium
CN112037719B (en) Screen brightness adjusting method and device
CN112086075A (en) Screen display parameter adjusting method and device and storage medium
CN111314550A (en) Display control method and device, mobile terminal and storage medium
CN114078458B (en) Brightness adjusting method, brightness adjusting device and computer readable storage medium
CN111355839B (en) Screen display method and device
CN112752010B (en) Shooting method, device and medium
WO2023221051A1 (en) Backlight adjustment method and apparatus, device and storage medium

Legal Events

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