CN112020186B - Indoor light adjusting method and device and terminal equipment - Google Patents

Indoor light adjusting method and device and terminal equipment Download PDF

Info

Publication number
CN112020186B
CN112020186B CN201910392690.2A CN201910392690A CN112020186B CN 112020186 B CN112020186 B CN 112020186B CN 201910392690 A CN201910392690 A CN 201910392690A CN 112020186 B CN112020186 B CN 112020186B
Authority
CN
China
Prior art keywords
light intensity
value
intensity value
color value
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910392690.2A
Other languages
Chinese (zh)
Other versions
CN112020186A (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.)
TCL Technology Group Co Ltd
Original Assignee
TCL Technology Group 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 TCL Technology Group Co Ltd filed Critical TCL Technology Group Co Ltd
Priority to CN201910392690.2A priority Critical patent/CN112020186B/en
Publication of CN112020186A publication Critical patent/CN112020186A/en
Application granted granted Critical
Publication of CN112020186B publication Critical patent/CN112020186B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application is suitable for the technical field of intelligent televisions, and provides an indoor light adjusting method, an indoor light adjusting device and terminal equipment, wherein the indoor light adjusting method comprises the following steps: determining a color value of the playing content according to the playing content of the multimedia playing terminal; and adjusting the color value of the target lighting lamp according to the color value. By the method, the adjusted indoor light can better meet the requirement of a user for watching the multimedia playing terminal.

Description

Indoor light adjusting method and device and terminal equipment
Technical Field
The application belongs to the technical field of smart televisions, and particularly relates to an indoor light adjusting method, an indoor light adjusting device, terminal equipment and a computer readable storage medium.
Background
With the increasing living standard of people and the development of the internet, people face computers and mobile phones for a longer time, so that many people are in short sight, under too much eyeball pressure or under visual fatigue, and therefore, if people can be provided with an environment which makes eyes more comfortable to watch television, the mobile phone is a good entertainment activity.
In the prior art, in order to prevent the eyes of a user from being too tired when watching a television, the brightness of the television is changed according to the light intensity of the environment. However, since the adjustable brightness range of the television itself is small, it is difficult to achieve a good viewing brightness.
In view of the above, it is desirable to provide a new method to solve the above technical problems.
Disclosure of Invention
In view of this, embodiments of the present application provide an indoor light adjusting method, an indoor light adjusting device, a terminal device, and a computer-readable storage medium, so as to solve the problem in the prior art that it is difficult to effectively ensure that a viewing effect of a multimedia playing terminal meets a user requirement.
A first aspect of an embodiment of the present application provides an indoor light adjusting method, including:
determining a color value of the playing content according to the playing content of the multimedia playing terminal;
and adjusting the color value of the target lighting lamp according to the color value.
A second aspect of the embodiments of the present application provides an indoor light adjusting device, including:
the color value determining unit is used for determining the color value of the playing content according to the playing content of the multimedia playing terminal;
and the light adjusting unit is used for adjusting the color value of the target lighting lamp according to the color value.
A third aspect of embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method according to the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that:
the color value of the target lighting lamp is adjusted according to the color value determined by the playing content of the multimedia playing terminal, and the adjustment range of the color value of the target lighting lamp is large, so that the refinement of the adjustment result is improved, and the satisfaction degree of watching the playing content by indoor light obtained by the adjusted target lighting lamp by a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described 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 to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of an indoor light adjusting method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an indoor light adjusting device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a terminal device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminal devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the devices described above are not portable communication devices, but rather are desktop computers having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
In the discussion that follows, a terminal device that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal device may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal device supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal device may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
Example (b):
fig. 1 shows a flowchart of an indoor light adjusting method provided in an embodiment of the present application, in this embodiment, a color value is determined according to a playing content of a multimedia playing terminal, and then the color value of a target lighting fixture is adjusted according to the color value, where the multimedia playing terminal includes a television, a projector, a computer, and the like, and this embodiment is mainly described by taking the television as an example, and details are as follows:
step S11, determining the color value of the playing content according to the playing content of the multimedia playing terminal;
for example, in the process of playing a program by a television, the playing content of the television is obtained, and the corresponding colors of different playing contents are different, for example, when the interview type program is played, the corresponding colors are mainly the colors of wearing articles of people in the program, so the colors are relatively single; when the gourmet program is played, the corresponding color is mainly the color of the food or the color of various seasonings, so the color is rich.
Here, the color value corresponds to the tone information of the color.
And step S12, adjusting the color value of the target lighting lamp according to the color value.
The target lighting fixture refers to an indoor lighting fixture.
Specifically, the corresponding relationship between the color value of the playing content and the color value of the target lighting fixture is preset, so that after the color value of the playing content is determined, the color value of the target lighting fixture can be adjusted according to the preset corresponding relationship.
In the embodiment of the application, the color value of the target lighting lamp is adjusted according to the color value determined by the playing content of the multimedia playing terminal, and the adjustment range of the color value of the target lighting lamp is large, so that the refinement of the adjustment result is improved, and the satisfaction of a user watching the playing content under the adjusted target lighting lamp is improved.
In some embodiments, to further improve the satisfaction of the user, before step S12, the method includes:
determining a light intensity value of an indoor environment;
correspondingly, the step S12 specifically includes:
and adjusting the light intensity value and the color value of the target lighting lamp according to the color value and the light intensity value of the indoor environment.
Specifically, the corresponding relationship between the light intensity value of the indoor environment and the light intensity value of the target lighting fixture is preset, so that the light intensity value of the target lighting fixture can be adjusted according to the preset corresponding relationship after the light intensity value of the indoor environment is determined.
In the embodiment, the light intensity value of the target lighting lamp is adjusted by combining the light intensity value of the indoor environment, and the adjustment range of the light intensity value of the target lighting lamp is large, so that the refinement of the adjustment result is improved, and the satisfaction of watching a television under the adjusted indoor lamp by a user is improved.
In this embodiment, whether the light intensity value and the color value of the target lighting fixture can be separately adjusted may be further determined according to actual needs, and if the light intensity value and the color value of the target lighting fixture can be separately adjusted, the light intensity value of the target lighting fixture is adjusted according to the determined light intensity value, and the color value of the target lighting fixture is adjusted according to the determined color value. If the light intensity value and the color value of the target illumination lamp cannot be adjusted separately, calculating the sum of the light intensity value and the color value according to the weight values distributed to the light intensity value and the color value, and further adjusting the light intensity value and the color value of the target illumination lamp according to the calculation result.
In some embodiments, the step S11 includes:
a11, capturing the playing content of the multimedia playing terminal at a preset time to obtain a captured image; specifically, the multimedia playing terminal is intercepted according to a time of a preset period, for example, the playing content of a program currently played by a television is intercepted, so as to obtain a corresponding screenshot image, where the preset period may be, for example, one screenshot per second, one screenshot per minute, one screenshot per hour, or one screenshot of each different type of program according to the program content, and the number of the screenshots per time may be one frame or multiple frames, and may be specifically determined according to the user's requirement, the type of the program, and the like.
A12, determining the program material category to which the screen capture image belongs; the program material category is divided according to the need, for example, into food category, interview category, travel category, news category, finance category, and the like.
A13, determining the color value of the playing content according to the program material category. For example, since different program material categories are associated with different color values in advance, after the program material categories are determined, the corresponding color values can be determined.
In this embodiment, the screenshot image obtained by screenshot is deleted after the color value is determined, so as to reduce the memory occupied by storing the screenshot image.
In some embodiments, the above steps a12 and a13 can be implemented by a trained deep learning network model. For example, the image obtained by screen capture is primarily classified through a multilayer Convolutional Neural Network (CNN) image classification structure in the deep learning network model, the program material category to which the CNN classified image belongs is calculated through a softmax classifier, and then the color value corresponding to the program material category is found through a full connection network in the deep learning network model. The deep learning network is trained in advance through the image labeled with the program subject categories and the optimal color value. Because the program material category to which the playing content belongs and the corresponding color value are determined through the deep learning network model, the accuracy of the determined color value can be improved.
In some embodiments, to improve the accuracy of the determined color value, the a13 is specifically:
and if the determined type of the program material category is more than 1, determining the color value of the playing content according to the program material category to which the most screen capture images belong.
For example, assume that the screen capture results in 3 screen capture images: image 1, image 2 and image 3, the program material category to which image 1 and image 2 belong is food, and the program material category to which image 3 belongs is travel, then the program material categories to which the most images belong are: the food, and thus, the color value is determined according to the food.
In some embodiments, the determining the light intensity value of the indoor environment through the light intensity data of the light sensor disposed on the multimedia playing terminal frame includes:
b1, if only 1 optical sensor is arranged on the frame of the multimedia playing terminal, using the light intensity data detected by the optical sensor as the light intensity value of the current indoor environment;
and B2, if the number of the optical sensors arranged on the frame of the multimedia playing terminal is more than 1, respectively acquiring light intensity data detected by the optical sensors, calculating an average value of the respectively acquired light intensity data, and taking the average value as the light intensity value of the current indoor environment.
In this embodiment, because the light intensity near the multimedia playing terminal has a large influence on the user viewing experience, one or more optical sensors are arranged on the frame of the multimedia playing terminal to acquire indoor light intensity data, so as to ensure that more accurate light intensity data is acquired.
In this embodiment, the color value of the playing content and the light intensity value of the indoor environment may be determined at the same time, or may be executed at different times. However, since a certain amount of resources are consumed when the light intensity data is detected by the light sensor, in order to save resources, it is necessary to determine whether the multimedia playing terminal is started, and if so, the light intensity value of the indoor environment is determined (at this time, the color value of the playing content may or may not be determined), otherwise, the light intensity value of the indoor environment is not determined.
In some embodiments, in order to improve the accuracy of the determined light intensity value, the B1 is specifically: if only 1 optical sensor is arranged on the frame of the multimedia playing terminal, at least 2 light intensity data of the optical sensor are obtained in a first set time period, and the average value of the at least 2 light intensity data is used as the light intensity value of the current indoor environment.
In some embodiments, in order to improve the accuracy of the determined light intensity value, the B2 is specifically: if the number of the optical sensors arranged on the frame of the multimedia playing terminal is larger than 1, respectively obtaining at least 2 light intensity values of the plurality of optical sensors in a second set time period, calculating an average value of at least 2 light intensity data of the plurality of optical sensors, and taking the average value of at least 2 light intensity data of the plurality of optical sensors as the light intensity value of the current indoor environment.
The first setting time period and the second setting time period may be the same or different, and both the first setting time period and the second setting time period are less than a preset time, for example, both are less than 5 seconds.
In some embodiments, in order to quickly obtain the light intensity value of the target lighting fixture corresponding to the light intensity value of the indoor environment, after the determining the light intensity value of the indoor environment, the method includes:
and inputting the light intensity value of the indoor environment into a trained classifier for classification, and determining the classified light intensity value according to a classification result.
For example, the classified light intensity value is determined by a trained softmax classifier, which is trained in advance with the light intensity value of the indoor environment and the optimal light intensity value.
Correspondingly, the adjusting the light intensity value and the color value of the target lighting fixture according to the color value and the light intensity value of the indoor environment specifically includes:
and adjusting the light intensity value and the color value of the target lighting lamp according to the classified light intensity value and the color value.
In some embodiments, in order to avoid discomfort caused by frequent adjustment of the light intensity value and the color value of the target lighting fixture, before the step S11, the method includes:
determining whether a preset interval time is reached;
correspondingly, the step S11 specifically includes:
if the preset interval time is up, the playing content of the multimedia playing terminal is obtained, and the color value of the playing content is determined according to the playing content of the multimedia playing terminal.
In some embodiments, the determining the light intensity value of the indoor environment is specifically: and if the preset interval time is reached, determining the light intensity value of the indoor environment.
In some embodiments, since the playing time durations of different program material categories are usually different, the preset interval time of the embodiment can be dynamically adjusted to ensure that the light intensity value and the color value of the target lighting fixture are adjusted in time while reducing the screen capturing action. Specifically, the preset interval time is related to the program material category to which the screenshot image of the last screen shot belongs.
In some embodiments, since the indoor lamp is usually in the middle of the room, but the multimedia player terminal is not in the middle of the room, and the farther away from the indoor lamp, the obtained light intensity value is smaller, in order to obtain a more accurate light intensity value, after determining the light intensity value of the indoor environment, the method further includes:
modifying the light intensity value of the indoor environment according to the obtained distance between the target lighting lamp and the multimedia playing terminal to obtain a modified light intensity value; specifically, the distance between the target lighting fixture and the multimedia playing terminal may be obtained through user input, or obtained through a distance measuring device disposed on the target lighting fixture and the multimedia playing terminal.
Correspondingly, the adjusting the light intensity value and the color value of the target lighting fixture according to the color value and the light intensity value of the indoor environment specifically includes:
and adjusting the light intensity value and the color value of the target lighting lamp according to the modified light intensity data and the color value.
For example, if the distance between the indoor target lighting fixture and the multimedia playing terminal is greater than the preset distance threshold, a weighted value is determined according to the distance between the target lighting fixture and the multimedia playing terminal, a modified light intensity value is determined according to the weighted value and the light intensity value of the indoor environment, and the light intensity value of the target lighting fixture is adjusted according to the modified light intensity value. Of course, if the distance between the indoor lamp and the television is less than or equal to the preset distance threshold, the light intensity value of the target lighting lamp to be modified is taken as the final light intensity value of the target lighting lamp.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 2 shows a schematic structural diagram of an indoor light adjusting device provided in an embodiment of the present application, and for convenience of description, only a part related to the embodiment of the present application is shown.
This indoor light adjusting device 2 includes: a color value determination unit 21 and a light adjustment unit 22. Wherein:
a color value determining unit 21, configured to determine a color value of the playing content according to the playing content of the multimedia playing terminal;
wherein, different playing contents correspond to different color values, and the color values correspond to the tone information of the colors.
And the light adjusting unit 22 is used for adjusting the color value of the target lighting lamp according to the color value.
The target lighting fixture refers to an indoor lighting fixture.
Specifically, the corresponding relationship between the color value of the playing content and the color value of the target lighting fixture is preset, so that after the color value of the playing content is determined, the color value of the target lighting fixture can be adjusted according to the preset corresponding relationship.
In the embodiment of the application, the color value of the target lighting lamp is adjusted according to the color value determined by the playing content of the multimedia playing terminal, and the adjustment range of the color value of the target lighting lamp is large, so that the refinement of the adjustment result is improved, and the satisfaction of a user watching the playing content under the adjusted target lighting lamp is improved.
In some embodiments, to further improve the satisfaction of the user, the indoor light adjusting device 2 further includes:
a light intensity value determination unit of the indoor environment for determining a light intensity value of the indoor environment;
correspondingly, the light adjusting unit 22 is specifically configured to: and adjusting the light intensity value and the color value of the target lighting lamp according to the color value and the light intensity value of the indoor environment.
In this embodiment, whether the light intensity value and the color value of the target lighting fixture can be separately adjusted may be further determined according to actual needs, and if the light intensity value and the color value of the target lighting fixture can be separately adjusted, the light intensity value of the target lighting fixture is adjusted according to the determined light intensity value, and the color value of the target lighting fixture is adjusted according to the determined color value. If the light intensity value and the color value of the target illumination lamp cannot be adjusted separately, calculating the sum of the light intensity value and the color value according to the weight values distributed to the light intensity value and the color value, and further adjusting the light intensity value and the color value of the target illumination lamp according to the calculation result.
In some embodiments, the color value determination unit 21 includes:
the screen capture module is used for capturing the playing content of the multimedia playing terminal at preset time to obtain a screen capture image; the method includes the steps of intercepting a multimedia playing terminal according to a preset period, for example, intercepting a playing content of a program currently played by a television to obtain a corresponding screenshot image, where the preset period may be, for example, one screenshot per second, one screenshot per minute, one screenshot per hour, or one screenshot of each different type of program according to the program content, and the like, and the number of the screenshots per time may be one frame or multiple frames, and may be specifically determined according to a user's requirement, a program type, and the like.
The affiliated program material category determining module is used for determining the program material category to which the screen capture image belongs;
and the color value determining module is used for determining the color value of the playing content according to the program material category.
In this embodiment, the screenshot image obtained by screenshot is deleted after the color value is determined, so as to reduce the memory occupied by storing the screenshot image.
In some embodiments, the belonging program material category determining module is specifically configured to:
and if the determined type of the program material category is more than 1, determining the color value of the playing content according to the program material category to which the most screen capture images belong.
In some embodiments, the light intensity value determination unit of the indoor environment comprises:
the system comprises a light intensity data acquisition module of a single optical sensor, a light intensity data acquisition module of a multimedia playing terminal and a control module of a multimedia playing terminal, wherein the light intensity data acquisition module is used for taking the light intensity data detected by the optical sensor as the light intensity value of the current indoor environment if only 1 optical sensor is arranged on the frame of the multimedia playing terminal;
and the light intensity data acquisition modules of the multiple light sensors are used for respectively acquiring the light intensity data detected by the multiple light sensors if the number of the light sensors arranged on the frame of the multimedia playing terminal is greater than 1, calculating the average value of the respectively acquired light intensity data, and taking the average value as the light intensity data of the current indoor environment.
In this embodiment, the color value of the playing content and the light intensity value of the indoor environment may be determined at the same time, or may be executed at different times. However, since a certain amount of resources are consumed when the light intensity data is detected by the light sensor, in order to save resources, it is necessary to determine whether the multimedia playing terminal is started, and if so, the light intensity value of the indoor environment is determined (at this time, the color value of the playing content may or may not be determined), otherwise, the light intensity value of the indoor environment is not determined.
In some embodiments, in order to improve the accuracy of the determined light intensity value, the light intensity data acquiring module of the single light sensor specifically includes: if only 1 optical sensor is arranged on the frame of the multimedia playing terminal, at least 2 light intensity data of the optical sensor are obtained in a first set time period, and the average value of the at least 2 light intensity data is used as the light intensity value of the current indoor environment.
In some embodiments, in order to improve the accuracy of the determined light intensity value, the light intensity data acquiring modules of the multiple light sensors are specifically configured to: if the number of the optical sensors arranged on the frame of the multimedia playing terminal is larger than 1, respectively obtaining at least 2 light intensity data of the optical sensors in a second set time period, calculating an average value of the at least 2 light intensity data of the optical sensors, and taking the average value of the at least 2 light intensity data of the optical sensors as a light intensity value of the current indoor environment.
The first setting time period and the second setting time period may be the same or different, and both the first setting time period and the second setting time period are less than a preset time, for example, both are less than 5 seconds.
In some embodiments, in order to quickly obtain the light intensity value of the target lighting fixture corresponding to the light intensity value of the indoor environment, the indoor light adjusting apparatus 2 further includes:
and inputting the light intensity value of the indoor environment into a trained classifier for classification, and determining the classified light intensity value according to a classification result.
Correspondingly, when the light adjusting unit 22 adjusts the light intensity value and the color value of the target lighting fixture according to the color value and the light intensity value of the indoor environment, it is specifically configured to:
and adjusting the light intensity value and the color value of the target lighting lamp according to the classified light intensity value and the color value.
In some embodiments, in order to avoid discomfort caused by frequently adjusting the light intensity value and the color value of the target lighting fixture, the indoor light adjusting device 2 further includes:
a unit for judging whether the preset interval time arrives, which is used for determining whether the preset interval time arrives;
correspondingly, the color value determining unit 21 is specifically configured to:
if the preset interval time is up, the playing content of the multimedia playing terminal is obtained, and the color value of the playing content is determined according to the playing content of the multimedia playing terminal.
In some embodiments, since the playing time lengths of different program material categories are usually different, the preset interval time of the embodiment can be dynamically adjusted to ensure that the indoor light intensity value and color value are adjusted in time while reducing the screen capturing action. Specifically, the preset interval time is related to the program material category to which the image of the last screen shot belongs.
In some embodiments, since the indoor lamp is usually in the middle of the room, but the multimedia player terminal is not in the middle of the room, and the farther away from the indoor lamp, the smaller the light intensity value obtained by the multimedia player terminal, in order to obtain a more accurate light intensity value, the indoor lamp light adjusting device further includes:
and modifying the light intensity value of the indoor environment according to the obtained distance between the target lighting lamp and the multimedia playing terminal to obtain a modified light intensity value.
Correspondingly, when the light intensity value and the color value of the target lighting fixture are adjusted according to the color value and the light intensity value of the indoor environment, the method is specifically configured to:
and adjusting the light intensity value and the color value of the target lighting lamp according to the modified light intensity data and the color value.
For example, if the distance between the indoor target lighting fixture and the multimedia playing terminal is greater than the preset distance threshold, a weighted value is determined according to the distance between the target lighting fixture and the multimedia playing terminal, a modified light intensity value is determined according to the weighted value and the light intensity value of the indoor environment, and the light intensity value of the target lighting fixture is adjusted according to the modified light intensity value. Of course, if the distance between the indoor lamp and the television is less than or equal to the preset distance threshold, the light intensity value of the target lighting lamp to be modified is taken as the final light intensity value of the target lighting lamp.
Fig. 3 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in fig. 3, the terminal device 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32 stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the various method embodiments described above, such as the steps S11-S12 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 21 to 22 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into a color value determination unit and a light adjustment unit, each unit having the following specific functions:
the color value determining unit is used for determining the color value of the playing content according to the playing content of the multimedia playing terminal;
and the light adjusting unit is used for adjusting the color value of the target lighting lamp according to the color value.
The terminal device 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 30, a memory 31. It will be understood by those skilled in the art that fig. 3 is only an example of the terminal device 3, and does not constitute a limitation to the terminal device 3, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may also include an input-output device, a network access device, a bus, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or a memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used for storing the computer program and other programs and data required by the terminal device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (8)

1. An indoor light adjusting method, comprising:
determining the color value of the playing content according to the playing content of the multimedia playing terminal, wherein the color value comprises the following steps: capturing the playing content of the multimedia playing terminal at preset time to obtain a captured image; determining the program material category to which the screen capture image belongs; determining a color value corresponding to the color of the playing content according to the category of the program material; different playing contents have different color values, and the color values refer to tone information corresponding to colors;
determining the light intensity value of the indoor environment through a light sensor arranged on the frame of the multimedia playing terminal;
and adjusting the light intensity value and the color value of the target lighting lamp according to the color value and the light intensity value of the indoor environment.
2. The method of adjusting indoor lighting of claim 1, wherein the determining the color value of the broadcast content according to the program material category comprises:
and if the determined type of the program material category is more than 1, determining the color value of the playing content according to the program material category to which the most screen capture images belong.
3. The method for adjusting indoor light according to claim 1, wherein the determining the light intensity value of the indoor environment through a light sensor disposed on a border of the multimedia player terminal comprises:
if only 1 optical sensor is arranged on the frame of the multimedia playing terminal, the light intensity data detected by the optical sensor is used as the light intensity value of the current indoor environment;
if the number of the optical sensors arranged on the frame of the multimedia playing terminal is larger than 1, respectively acquiring light intensity data detected by the optical sensors, calculating an average value of the respectively acquired light intensity data, and taking the average value as a light intensity value of the current indoor environment.
4. An indoor light adjusting method according to claim 1 or 3, wherein after determining the light intensity value of the indoor environment through the light sensor disposed on the multimedia player terminal frame, the method comprises:
inputting the light intensity value of the indoor environment into a trained classifier for classification, and determining the classified light intensity value according to a classification result;
correspondingly, the adjusting the light intensity value and the color value of the target lighting fixture according to the color value and the light intensity value of the indoor environment specifically includes:
and adjusting the light intensity value and the color value of the target lighting lamp according to the classified light intensity value and the color value.
5. An indoor light adjusting method according to claim 1 or 3, further comprising, after determining the light intensity value of the indoor environment by a light sensor provided on a frame of the multimedia player terminal:
modifying the light intensity value of the indoor environment according to the obtained distance between the target lighting lamp and the multimedia playing terminal to obtain a modified light intensity value;
correspondingly, the adjusting the light intensity value and the color value of the target lighting fixture according to the color value and the light intensity value of the indoor environment specifically includes:
and adjusting the light intensity value and the color value of the target lighting lamp according to the modified light intensity data and the color value.
6. An indoor light adjusting device, comprising:
the color value determining unit is used for determining the color value of the playing content according to the playing content of the multimedia playing terminal;
the system comprises a light intensity value determining unit of the indoor environment, a light intensity value determining unit of the indoor environment and a control unit of the multimedia playing terminal, wherein the light intensity value determining unit is used for determining the light intensity value of the indoor environment through a light sensor arranged on a frame of the multimedia playing terminal;
the light adjusting unit is used for adjusting the light intensity value and the color value of the target lighting lamp according to the color value and the light intensity value of the indoor environment;
the color value determination unit includes:
the screen capture module is used for capturing the playing content of the multimedia playing terminal at preset time to obtain a screen capture image;
the affiliated program material category determining module is used for determining the program material category to which the screen capture image belongs;
a color value determining module, configured to determine a color value corresponding to the color of the playing content according to the category of the program material; different playing contents have different color values, and the color values refer to the tone information corresponding to the colors.
7. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201910392690.2A 2019-05-13 2019-05-13 Indoor light adjusting method and device and terminal equipment Active CN112020186B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910392690.2A CN112020186B (en) 2019-05-13 2019-05-13 Indoor light adjusting method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910392690.2A CN112020186B (en) 2019-05-13 2019-05-13 Indoor light adjusting method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN112020186A CN112020186A (en) 2020-12-01
CN112020186B true CN112020186B (en) 2022-03-18

Family

ID=73500355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910392690.2A Active CN112020186B (en) 2019-05-13 2019-05-13 Indoor light adjusting method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN112020186B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208436A (en) * 2015-08-06 2015-12-30 成都市斯达鑫辉视讯科技有限公司 Method for creating audio-visual environment by set top box (STB)
CN205584407U (en) * 2016-02-26 2016-09-14 深圳市思考力科技有限公司 Playback control device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007521775A (en) * 2004-01-05 2007-08-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Ambient light derived by subsampling video content and mapped via unrendered color space
JPWO2007052395A1 (en) * 2005-10-31 2009-04-30 シャープ株式会社 Viewing environment control device, viewing environment control system, viewing environment control method, data transmission device, and data transmission method
GB2501929B (en) * 2012-05-11 2015-06-24 Sony Comp Entertainment Europe Apparatus and method for augmented reality
JP2013257492A (en) * 2012-06-14 2013-12-26 Sony Corp Control device, display device, control method, illumination control method, and program
CN105163172A (en) * 2015-08-06 2015-12-16 成都市斯达鑫辉视讯科技有限公司 Method for controlling light sensing effect by set top box
CN105872748A (en) * 2015-12-07 2016-08-17 乐视网信息技术(北京)股份有限公司 Lamplight adjusting method and device based on video parameter
CN106793395A (en) * 2016-12-16 2017-05-31 建荣半导体(深圳)有限公司 A kind of method for controlling blue-tooth intelligence light fixture, system and relevant device
JP6805889B2 (en) * 2017-02-28 2020-12-23 東芝ライテック株式会社 Lighting system
US20190069375A1 (en) * 2017-08-29 2019-02-28 Abl Ip Holding Llc Use of embedded data within multimedia content to control lighting
CN109005627A (en) * 2018-05-25 2018-12-14 上海与德科技有限公司 A kind of lamp light control method, device, terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208436A (en) * 2015-08-06 2015-12-30 成都市斯达鑫辉视讯科技有限公司 Method for creating audio-visual environment by set top box (STB)
CN205584407U (en) * 2016-02-26 2016-09-14 深圳市思考力科技有限公司 Playback control device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LED发展应用和色彩管理——湖南卫视热门节目制作体验;陈焕增;《现代电视技术》;20150515;全文 *

Also Published As

Publication number Publication date
CN112020186A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN111654594B (en) Image capturing method, image capturing apparatus, mobile terminal, and storage medium
CN108961157B (en) Picture processing method, picture processing device and terminal equipment
CN108401078B (en) Backlight brightness adjusting method and device, mobile terminal and readable storage medium
CN109118447B (en) Picture processing method, picture processing device and terminal equipment
US10255874B2 (en) Display controlling method and display device
WO2014030888A1 (en) System and method for perceiving images with multimodal feedback
CN111767554B (en) Screen sharing method and device, storage medium and electronic equipment
CN112071267B (en) Brightness adjusting method, brightness adjusting device, terminal equipment and storage medium
CN110246110B (en) Image evaluation method, device and storage medium
CN109086742A (en) scene recognition method, scene recognition device and mobile terminal
CN111142650B (en) Screen brightness adjusting method, screen brightness adjusting device and terminal
CN110618852B (en) View processing method, view processing device and terminal equipment
CN114038370B (en) Display parameter adjustment method and device, storage medium and display equipment
CN110166696B (en) Photographing method, photographing device, terminal equipment and computer-readable storage medium
CN112286411A (en) Display mode control method and device, storage medium and electronic equipment
CN114242023A (en) Display screen brightness adjusting method, display screen brightness adjusting device and electronic equipment
WO2020147007A1 (en) Information pushing method and related product
Yu et al. Color scheme adaptation to enhance user experience on smartphone displays leveraging ambient light
CN106371732B (en) Method for controlling electronic curtain and electronic terminal
WO2019184017A1 (en) Control display method and electronic device
CN107360361B (en) Method and device for shooting people in backlight mode
CN115083354A (en) Backlight adjusting method, device, medium and interactive panel
CN108932704B (en) Picture processing method, picture processing device and terminal equipment
CN112020186B (en) Indoor light adjusting method and device and terminal equipment
CN111213354A (en) Screen brightness adjusting method and terminal

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: 516006 TCL science and technology building, No. 17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province

Applicant after: TCL Technology Group Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District

Applicant before: TCL Corp.

GR01 Patent grant
GR01 Patent grant