CN111757577B - Indicating lamp brightness adjusting method and device, intelligent equipment and readable storage medium - Google Patents

Indicating lamp brightness adjusting method and device, intelligent equipment and readable storage medium Download PDF

Info

Publication number
CN111757577B
CN111757577B CN202010610596.2A CN202010610596A CN111757577B CN 111757577 B CN111757577 B CN 111757577B CN 202010610596 A CN202010610596 A CN 202010610596A CN 111757577 B CN111757577 B CN 111757577B
Authority
CN
China
Prior art keywords
brightness
time period
indicator
working state
adjusting
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
CN202010610596.2A
Other languages
Chinese (zh)
Other versions
CN111757577A (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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202010610596.2A priority Critical patent/CN111757577B/en
Publication of CN111757577A publication Critical patent/CN111757577A/en
Application granted granted Critical
Publication of CN111757577B publication Critical patent/CN111757577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The embodiment of the invention discloses a method and a device for adjusting the brightness of an indicator light, intelligent equipment and a readable storage medium, wherein the method comprises the following steps: determining the current working state of the intelligent equipment according to the running state of a power management module of the intelligent equipment with an indicator light; detecting current ambient light through a light sensing module of the intelligent device; acquiring the current system time of the intelligent equipment; and adjusting the brightness of the indicator light according to the working state, the ambient light and the system time. According to the technical scheme, on one hand, the brightness of the indicating lamp of the intelligent equipment is adjusted timely according to different time periods, the watching experience of a user is improved, and the watching demand of the user is met; on the other hand, the consumption of electric energy can be effectively reduced.

Description

Indicating lamp brightness adjusting method and device, intelligent device and readable storage medium
Technical Field
The invention relates to the field of intelligent equipment control, in particular to an indicating lamp brightness adjusting method and device, an intelligent device and a readable storage medium.
Background
With the development of network access technology, the application of home terminal equipment is more and more popular, the functional requirements are more and more extensive, and status indicator lamps for controlling various functions are more and more, such as a USB indicator lamp, a WAN indicator lamp, a DSL indicator lamp, a LAN indicator lamp, a VoIP indicator lamp, a WLAN indicator lamp, a power indicator lamp, and the like. The more the pilot lamp that each functional module was shown in control, the more electric energy that consumes in unit interval, simultaneously, this pilot lamp will be working always as long as functional module is in the operation, if the night user had a rest and the user was opening terminal equipment and downloaded data at all times, the long-time illumination of status indicator lamp must influence the bedroom environment and disturb the user and have a rest this moment, reduces user's experience degree.
Disclosure of Invention
In view of the above problems, the present invention provides an indicator light brightness adjusting method, apparatus, intelligent device and readable storage medium.
One embodiment of the invention provides a method for adjusting the brightness of an indicator light, which comprises the following steps:
determining the current working state of the intelligent equipment according to the running state of a power management module of the intelligent equipment with an indicator light;
detecting current ambient light through a light sensing module of the intelligent device;
acquiring the current system time of the intelligent equipment;
and adjusting the brightness of the indicator light according to the working state, the ambient light and the system time.
The method for adjusting the brightness of the indicator light according to the embodiment, where the current working state of the intelligent device is determined according to the running state of the power management module of the intelligent device with the indicator light, includes:
when the running state of the power management module is full-power running, the current working state of the intelligent equipment is a normal working state;
when the running state of the power management module is charged waiting or suspended to a memory, the current working state of the intelligent equipment is a first standby state;
and when the running state of the power management module is the suspended hard disk, the current working state of the intelligent equipment is a second standby state.
The method for adjusting the brightness of the indicator light according to the embodiment includes:
when the working state is a normal working state or a first standby state, calculating the ideal brightness of the indicator lamp for the daytime time period according to an ambient light and indicator lamp brightness adjusting formula;
determining a current time period according to the system time;
and if the current time period is the daytime time period, adjusting the brightness of the indicator lamp according to the ideal brightness.
The method for adjusting the brightness of the indicator light according to the working state, the ambient light and the system time comprises the following steps:
when the working state is a normal working state or a first standby state, calculating the ideal brightness of the indicator lamp for the daytime time period according to the ambient light and indicator lamp brightness adjusting formula;
determining a current time period according to the system time;
if the current time period is the night time period, multiplying the ideal brightness by a preset first attenuation coefficient to obtain first standard brightness;
and adjusting the brightness of the indicator lamp according to the first standard brightness.
The method for adjusting the brightness of the indicator light according to the working state, the ambient light and the system time comprises the following steps:
when the working state is a normal working state or a first standby state, calculating the ideal brightness of the indicator lamp for the daytime period according to the ambient light and indicator lamp brightness adjusting formula; determining a current time period according to the system time; if the current time period is the late night time period, multiplying the ideal brightness by a preset second attenuation coefficient to obtain second standard brightness; and adjusting the brightness of the indicator lamp according to the second standard brightness.
In the method for adjusting the brightness of the indicator light according to the embodiment, the formula for adjusting the brightness of the ambient light and the indicator light is as follows:
Figure BDA0002560812570000031
B min <L ambient <B max ,L indicator represents the ideal brightness of the indicator light for the daytime period, L ambient Represents said ambient light, A indicator,initial Represents the minimum brightness of the indicator light for daylight time, A indicator,end Representing the maximum brightness of the indicator light for daylight time, B min Represents the lower limit value in the regulating range, B max Represents an upper limit value in the adjustment range.
The method for adjusting the brightness of the indicator light according to the embodiment, wherein the adjusting the brightness of the indicator light according to the operating state, the ambient light and the system time, includes:
and when the running state is a second standby state, controlling the indicator lamp to be turned off.
Another embodiment of the present invention provides an indicator brightness adjusting apparatus, including:
the working state determining unit is used for determining the current working state of the intelligent equipment according to the running state of a power management module of the intelligent equipment with an indicator light;
the ambient light acquisition unit is used for acquiring current ambient light through a light sensing module of the intelligent equipment;
the system time acquisition unit is used for acquiring the current system time of the intelligent equipment;
and the indicating lamp brightness adjusting unit is used for adjusting the brightness of the indicating lamp according to the working state, the ambient light and the system time.
The above embodiments relate to a smart device, including a memory for storing a computer program and a processor for executing the computer program to enable the smart device to perform the method for adjusting the brightness of an indicator light according to the above embodiments.
The above embodiments relate to a readable storage medium storing a computer program which, when run on a processor, executes the method for adjusting the brightness of an indicator light according to the above embodiments.
The method comprises the steps of determining the current working state of the intelligent equipment according to the running state of a power management module of the intelligent equipment with an indicator light; detecting current ambient light through a light sensing module of the intelligent device; acquiring the current system time of the intelligent equipment; and adjusting the brightness of the indicator light according to the working state, the ambient light and the system time. According to the technical scheme, on one hand, the brightness of the indicating lamp of the intelligent equipment is adjusted timely according to different time periods, the watching experience of a user is improved, and the impression requirement of the user is met; on the other hand, the consumption of electric energy can be effectively reduced.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 is a schematic flow chart illustrating a method for adjusting the brightness of an indicator light according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a method for adjusting the brightness of an indicator light during the daytime according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a method for adjusting the brightness of the indicator light during the night time period according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a method for adjusting the brightness of the indicator light during the late-night time period according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram illustrating an indicator brightness adjusting apparatus according to an embodiment of the present invention.
Main element symbols:
1-indicator light brightness adjusting device; 100-a working state determination unit; 200-an ambient light acquisition unit; 300-a system time acquisition unit; 400-indicator light brightness adjustment unit.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Example 1
In this embodiment, referring to fig. 1, it is shown that the method for adjusting the brightness of the indicator light includes the following steps:
step S100: and determining the current working state of the intelligent equipment according to the running state of a power management module of the intelligent equipment with the indicator lamp.
The intelligent device can control the running state of the intelligent device through the power management module of the intelligent device. The Power Management module of a typical smart device has six states, i.e., S0 to S5, for advanced Configuration and Power Management interfaces (acpi), (advanced Configuration and Power Management interfaces), respectively, which represent the following meanings: s0-in fact, the working state is the usual working state, all devices are fully opened, and the power consumption generally exceeds 80W; s1-also called charged waiting POS (Power on suspend), when the CPU is closed by the CPU clock controller, other parts still work normally, the power consumption is below 30W; (some CPU cooling software actually uses the working principle); s2-at this time, the CPU is in the stop operation state, the bus clock is also closed, but the other devices are still running; s3, namely, the power consumption is not more than 10W when the power consumption is suspended to a memory STR (suspend to RAM); s4, also called as suspended to hard disk state STD (suspend to disk), when the main power supply of the system is turned off, but the hard disk is still electrified and can be woken up; s5 — this state is the most fragile, i.e. all devices connected to the power supply are turned off, i.e. shut down, and the power consumption is 0.
The most common is the S3 state, namely suspend to memory str (suspend to ram) mode. As the name implies, the STR stores the working state data of the system before entering the STR into the memory. In the STR state, the power supply still continues to supply power to the most necessary devices such as the memory and the like to ensure that data is not lost, and other devices are all in the off state, so that the power consumption of the system is extremely low. Once we press the Power button (host Power switch), the system wakes up, reads data from memory and restores to the previous STR operating state. The memory has a very fast read/write speed, so we feel that the time spent entering and leaving the STR state is only a few seconds; the principle of the S4 state, namely, suspend to hard disk std (suspend to disk) is the same as STR, except that the data is stored in the hard disk. Because the read-write speed of the hard disk is much slower than that of the memory, the hard disk is not as fast as STR when used.
Further, when the operation state of the power management module is full-power operation, the current operation state of the intelligent device is a normal operation state. I.e. S0 corresponding to the advanced configuration and power management interface ACPI, the power consumption of each functional module of the smart device is generally over 80W in the fully-open operating state.
Further, when the running state of the power management module is an electrified waiting state or a suspended memory, the current working state of the intelligent device is a first standby state. Corresponding S1 to S3, S1 in the ACPI of the advanced configuration and power management interface-charged waiting POS (Power on suspend), wherein except that the CPU is closed by a CPU clock controller, other parts still work normally, and the power consumption is generally below 30W; s2-at this time, the CPU is in the stop operation state, the bus clock is also closed, but the other devices are still running; s3, suspend to memory STR (suspend to RAM), where the Power consumption does not exceed 10W, STR stores the working state data of the system before entering STR into the memory, in STR state, the Power supply still supplies Power to the most necessary devices such as memory to ensure that the data is not lost, and other devices are all in off state, the Power consumption of the system is very low, once the Power button (host Power switch) is pressed, the system is waken up, reads data from the memory and recovers to the working state before STR, the read-write speed of the memory is very fast, so the time spent on entering and leaving STR state is only a few seconds.
Further, when the running state of the power management module is the suspended hard disk, the current working state of the intelligent device is a second standby state. I.e., the corresponding S4-suspend to hard disk state std (suspend to disk) in the advanced configuration and power management interface ACPI, when the system main power is off, but the hard disk is still powered and can be woken up.
Step S200: and detecting the current ambient light through a light sensing module of the intelligent equipment.
The light sensing module is used for acquiring brightness information of ambient light, can accurately identify the brightness of the ambient environment of the intelligent device, and generally comprises a brightness sensor, also called a light sensor. It should be understood that the ambient light brightness information detected by the light sensing module may include: and periodically acquiring the ambient light brightness information detected by the light sensing module in real time or at preset time intervals. Further, the light sensing module may detect the ambient light brightness information in real time, periodically detect the ambient light brightness information at preset time intervals, and detect the ambient light brightness information within a preset time range.
Step S300: and acquiring the current system time of the intelligent equipment.
The system time is the clock of the software system. The software reads the hardware time when starting, and then runs independently. Independent of hardware time, possess information such as time zone, daylight saving time. The system time uses two time management methods due to different systems:
local time, only Windows is currently in use. Windows considers that the hardware time is the local time, so the time in the mainboard can be directly taken as the current time. The "correct" time is also written to the motherboard after the time is set or synchronized, i.e., the time displayed in the operating system is the same as the time displayed in the BIOS.
A universal time UTC (local time in london), UNIX systems such as Linux and Mac are mostly used, and the local time is obtained after the UTC adds and subtracts time zones. The UNIX system considers that the hardware time is UTC standard time, that is, the hardware time is regarded as UTC, the time displayed in the operating system is converted from the hardware time (plus-minus time zone), that is, the time displayed in the operating system is different from the time displayed in the BIOS by a corresponding time zone, for example, if the beijing time is UTC +8, the time displayed in the system is hardware time + 8.
Furthermore, if the intelligent device is connected to the internet, the current time of the place where the intelligent device is located can be obtained through the network.
Step S400: and adjusting the brightness of the indicator light according to the working state, the ambient light and the system time.
Exemplarily, referring to fig. 2, the method for adjusting the brightness of the indicator light during the daytime includes the following steps:
step S411: and when the working state is a normal working state or a first standby state, calculating the ideal brightness of the indicator lamp for the daytime period according to the ambient light and indicator lamp brightness adjusting formula.
The normal working state of the intelligent device comprises a full-power running state, namely a corresponding S0 state in an advanced configuration and power management interface ACPI; the first standby state of the smart device includes the corresponding S1, S2, and S3 states in the advanced configuration and power management interface ACPI.
The ideal brightness of the indicator light for the daytime period may be calculated according to the following ambient light and indicator light brightness adjustment formula:
Figure BDA0002560812570000091
B min <L ambient <B max ,L indicator represents the ideal brightness of the indicator light for the daytime period, L ambient Represents ambient light, A indicator,initial Represents the minimum brightness of the indicator light for the time of day, A indicator,end Representing the maximum brightness of the indicator light for daylight time, B min Represents the range of regulationLower limit of (B) max Represents an upper limit value in the adjustment range.
Exemplarily, the minimum ambient light B in the adjustment range min 80LUX, maximum ambient light B in the range of adjustment max 80LUX, and initial luminance a indicator,initial When the ambient light obtained by the light sensing module is 320LUX, the ideal luminance L for the daytime period can be calculated by using the ambient light and indicator luminance adjustment formula indicator =70LUX。
For example, if the ambient light obtained by the light sensing module is less than or equal to 80LUX, the brightness of the indicator light may be adjusted to be the minimum brightness in the current time period according to the current time period, for example, when the current time period is the daytime time period, the brightness of the indicator light may be adjusted to be the minimum brightness 65LUX in the daytime time period; if the ambient light obtained by the light sensing module is greater than or equal to 800LUX, the brightness of the indicator light may be adjusted to be the maximum brightness in the current time period according to the current time period, for example, when the current time period is the daytime time period, the brightness of the indicator light may be adjusted to be the maximum brightness of 85LUX in the daytime time period.
Step S412: and determining the current time period according to the system time.
Am6:00-pm18:00 can be set as the daytime time period, and if the system time is taken between am6:00-pm18:00, the current time period is the daytime time period.
Step S413: and if the current time period is the daytime time period, adjusting the brightness of the indicator lamp according to the ideal brightness.
When the previous time period is the daytime time period, the ideal brightness L for the daytime time period can be calculated according to the ambient light and indicator light brightness adjusting formula indicator Adjust the brightness of the indicator light to 70 LUX.
Exemplarily, referring to fig. 3, the method for adjusting the brightness of the indicator light during the night time period includes the following steps:
step S411: and when the working state is a normal working state or a first standby state, calculating the ideal brightness of the indicator lamp for the daytime period according to the ambient light and indicator lamp brightness adjusting formula.
The normal working state of the intelligent equipment comprises an S0 state corresponding to an advanced configuration and power management interface ACPI; the first standby state of the smart device includes the corresponding S1, S2, and S3 states in the advanced configuration and power management interface ACPI.
Exemplarily, the minimum ambient light B in the adjustment range min 80LUX, maximum ambient light B in the range of adjustment max When the ambient light acquired by the light sensing module is equal to or less than 80LUX, the brightness of the indicator light may be adjusted to be the minimum brightness in the current time period according to the current time period, for example, when the current time period is a night time period, the brightness of the indicator light may be adjusted to be 58.5LUX which is the minimum brightness in the night time period; if the ambient light obtained by the light sensing module is greater than or equal to 800LUX, the brightness of the indicator light may be adjusted to be the maximum brightness in the current time period according to the current time period, for example, when the current time period is the night time period, the brightness of the indicator light may be adjusted to be the maximum brightness of 76.5LUX in the night time period.
When the ambient light acquired by the light sensing module is in the range of 80LUX to 800LUX, the ideal brightness of the indicator lamp for the daytime period can be calculated according to the ambient light and the indicator lamp brightness adjustment formula.
Step S412: and determining the current time period according to the system time.
The pm18:00-00:00 may be set as the evening time period, and if the system time is between pm18:00-00:00, the current time period is the evening time period.
Step S414: and if the current time period is the night time period, multiplying the ideal brightness by a preset first attenuation coefficient to obtain first standard brightness.
Exemplarily, the preceding time period is a night time period, and the ideal brightness L for the day time period indicator When 70LUX, the ideal luminance L can be obtained indicator The first attenuation coefficient 90% is multiplied by 70LUX to obtain a first standard luminance 63 LUX.
Step S415: and adjusting the brightness of the indicator lamp according to the first standard brightness.
The brightness of the indicator lamp may be adjusted to 63LUX using the first standard brightness 63 LUX.
Exemplarily, referring to fig. 4, the method for adjusting the brightness of the indicator light in the late-night time period includes the following steps:
step S411: and when the working state is a normal working state or a first standby state, calculating the ideal brightness of the indicator lamp for the daytime period according to the ambient light and indicator lamp brightness adjusting formula.
It can be understood that the normal operation state of the intelligent device includes S0 state corresponding to the advanced configuration and power management interface ACPI; the first standby state of the smart device includes the corresponding S1, S2, and S3 states in the advanced configuration and power management interface ACPI.
Exemplarily, the minimum ambient light B in the adjustment range min 80LUX, maximum ambient light B in the range of adjustment max When the ambient light acquired by the light sensing module is equal to or less than 80LUX, the brightness of the indicator light may be adjusted to be the minimum brightness in the current time period according to the current time period, for example, when the current time period is a late-night time period, the brightness of the indicator light may be adjusted to be 52LUX which is the minimum brightness in the late-night time period; if the ambient light obtained by the light sensing module is greater than or equal to 800LUX, the brightness of the indicator light may be adjusted to be the maximum brightness in the current time period according to the current time period, for example, when the current time period is a late night time period, the brightness of the indicator light may be adjusted to be the maximum brightness 68LUX in a late night time period.
And when the ambient light acquired by the light sensation module is in the range of 80 LUX-800 LUX, calculating the ideal brightness of the indicator lamp for the daytime period according to the ambient light and the indicator lamp brightness adjusting formula.
Step S412: and determining the current time period according to the system time.
The 00:00-am6:00 may be set as the late night time period, and if the acquired system time is between 00:00-am6:00, the current time period is the late night time period.
Step S416: and if the current time period is the late night time period, multiplying the ideal brightness by a preset second attenuation coefficient to obtain second standard brightness.
Exemplarily, the preceding time period is a night time period, and the ideal brightness L for the day time period indicator When 70LUX, the ideal luminance L can be obtained indicator 70LUX is multiplied by a preset second attenuation coefficient of 80% to obtain a second standard luminance 56 LUX.
Step S417: and adjusting the brightness of the indicator lamp according to the second standard brightness.
The brightness of the indicator light may be adjusted to 56LUX using a second standard brightness of 56 LUX.
It is understood that the dimming range of the indicator lamp in the daytime period is 65LUX to 85LUX, the dimming range of the indicator lamp in the nighttime period is 58.5LUX to 76.5LUX, and the dimming range of the indicator lamp in the late night period is 52LUX to 68 LUX. In each time period, when the intelligent equipment is in a normal working state and the brightness of the indicator light is adjusted to the maximum value, even if the intensity of the ambient light is continuously increased, the brightness of the indicator light is kept at the maximum value and is not changed any more, so that the situation that the user watches and uses the intelligent television is influenced by over-bright of the indicator light is avoided; even if the ambient light intensity continues to increase, the brightness of the indicator lamp is kept at the minimum value and is not changed any more, so that the indicator lamp is too dark, the display of the indicator lamp is not easy to be perceived by a user, and the user ignores the indication prompt of the indicator lamp.
In addition, the use condition of the intelligent television in each time period is considered, under the same ambient light, the brightness of the indicating lamp in the night time period is reduced by 10% compared with that in the day time period, and the brightness of the indicating lamp in the late night time period is reduced by 20% compared with that in the day time period, so that the brightness of the indicating lamp is adjusted according to different time periods, and the watching experience of a user is improved.
Further, when the operation state is the second standby state, i.e. S4-suspended to hard disk state std (suspend to disk) corresponding to the advanced configuration and power management interface ACPI, the system main power is turned off, but the hard disk is still charged and can be woken up. It should be understood that when the smart device is in the suspend to hard disk state STD, the indicator light may be controlled to go off.
The method comprises the steps of determining the current working state of the intelligent equipment according to the running state of a power management module of the intelligent equipment with an indicator light; detecting current ambient light through a light sensing module of the intelligent device; acquiring the current system time of the intelligent equipment; and adjusting the brightness of the indicator light according to the working state, the ambient light and the system time. According to the technical scheme, on one hand, the brightness of the indicating lamp of the intelligent device is timely adjusted according to different time periods, the watching experience of a user is improved, and the feeling requirement of the user is met; on the other hand, the consumption of electric energy can be effectively reduced.
Example 2
In the present embodiment, referring to fig. 5, it is shown that an indicator brightness adjustment device 1 includes an operating state determination unit 100, an ambient light acquisition unit 200, a system time acquisition unit 300, and an indicator brightness adjustment unit 400.
The operating state determining unit 100 is configured to determine a current operating state of the intelligent device according to an operating state of a power management module of the intelligent device with an indicator light; an ambient light obtaining unit 200, configured to obtain current ambient light through a light sensing module of the smart device; a system time obtaining unit 300, configured to obtain a current system time of the smart device; and an indicator light brightness adjusting unit 400 for adjusting the brightness of the indicator light according to the working state, the ambient light and the system time.
The indicator light brightness adjusting apparatus in this embodiment is configured to perform the indicator light brightness adjusting method according to the foregoing embodiment by using the working state determining unit 100, the ambient light obtaining unit 200, the system time obtaining unit 300, and the indicator light brightness adjusting unit 400 cooperatively, and the implementation and the beneficial effects related to the foregoing embodiment are also applicable in this embodiment, and are not described again here.
It should be understood that the above embodiments relate to a smart device, which includes a memory for storing a computer program and a processor for executing the computer program to enable the smart device to execute the method for adjusting the brightness of the indicator light according to the above embodiments.
The intelligent equipment comprises an intelligent television, an intelligent refrigerator, an intelligent air conditioner, an intelligent washing machine and other intelligent equipment with an indicator lamp.
It should be understood that the above-described embodiments are a readable storage medium storing a computer program which, when run on a processor, performs the indicator light brightness adjustment method described in the above-described embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (6)

1. A method for adjusting the brightness of an indicator light is characterized by comprising the following steps:
determining the current working state of the intelligent equipment according to the running state of a power management module of the intelligent equipment with an indicator light;
detecting current ambient light through a light sensing module of the intelligent device;
acquiring the current system time of the intelligent equipment;
adjusting the brightness of the indicator light according to the working state, the ambient light and the system time;
the determining the current working state of the intelligent device according to the running state of the power management module of the intelligent device with the indicator lamp comprises the following steps:
when the running state of the power management module is full-power running, the current working state of the intelligent equipment is a normal working state;
when the running state of the power management module is charged waiting or suspended to a memory, the current working state of the intelligent equipment is a first standby state;
when the running state of the power management module is the suspended hard disk, the current working state of the intelligent equipment is a second standby state;
the adjusting the brightness of the indicator light according to the working state, the ambient light and the system time comprises:
when the working state is a normal working state or a first standby state, calculating the ideal brightness of the indicator lamp for the daytime time period according to an ambient light and indicator lamp brightness adjusting formula;
determining a current time period according to the system time;
if the current time period is the daytime time period, the brightness of the indicator lamp is adjusted according to the ideal brightness;
if the current time period is the night time period, multiplying the ideal brightness by a preset first attenuation coefficient to obtain first standard brightness; adjusting the brightness of the indicator light according to the first standard brightness;
if the current time period is the late night time period, multiplying the ideal brightness by a preset second attenuation coefficient to obtain second standard brightness; and adjusting the brightness of the indicator lamp according to the second standard brightness.
2. The method for adjusting the brightness of an indicator light according to claim 1, wherein the ambient light and indicator light brightness adjustment formula is as follows:
Figure P_220810154154326_326154001
L indicator representing the ideal brightness of the indicator light for the daytime period,L ambient is representative of the ambient light in question,A indicator,initial representing the minimum brightness of the indicator light for daylight hours,A indicator,end representing the indicator light needleFor the maximum brightness during the time of day,B min represents a lower limit value in the adjustment range,B max represents an upper limit value in the adjustment range.
3. The method for adjusting the brightness of the indicator light according to claim 1, wherein the adjusting the brightness of the indicator light according to the operating state, the ambient light and the system time comprises:
and when the running state is a second standby state, controlling the indicator lamp to be turned off.
4. An indicator light brightness adjustment device, characterized in that the device comprises:
the working state determining unit is used for determining the current working state of the intelligent equipment according to the running state of a power management module of the intelligent equipment with an indicator light;
the ambient light acquisition unit is used for acquiring current ambient light through a light sensing module of the intelligent equipment;
the system time acquisition unit is used for acquiring the current system time of the intelligent equipment;
the indicating lamp brightness adjusting unit is used for adjusting the brightness of the indicating lamp according to the working state, the ambient light and the system time;
the working state determining unit is specifically configured to determine that the current working state of the intelligent device is a normal working state when the running state of the power management module is full-power running; when the running state of the power management module is charged waiting or suspended to a memory, the current working state of the intelligent equipment is a first standby state; when the running state of the power management module is the suspended hard disk, the current working state of the intelligent equipment is a second standby state;
the indicating lamp brightness adjusting unit is specifically used for calculating the ideal brightness of the indicating lamp for the daytime time period according to an ambient light and indicating lamp brightness adjusting formula when the working state is a normal working state or a first standby state; determining a current time period according to the system time; if the current time period is the daytime time period, the brightness of the indicator light is adjusted according to the ideal brightness; if the current time period is the night time period, multiplying the ideal brightness by a preset first attenuation coefficient to obtain first standard brightness; adjusting the brightness of the indicator light according to the first standard brightness; if the current time period is the late night time period, multiplying the ideal brightness by a preset second attenuation coefficient to obtain second standard brightness; and adjusting the brightness of the indicator lamp according to the second standard brightness.
5. A smart device comprising a memory for storing a computer program and a processor for executing the computer program to enable the smart device to perform the indicator light brightness adjustment method of any one of claims 1 to 3.
6. A readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the indicator light brightness adjustment method of any one of claims 1 to 3.
CN202010610596.2A 2020-06-29 2020-06-29 Indicating lamp brightness adjusting method and device, intelligent equipment and readable storage medium Active CN111757577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010610596.2A CN111757577B (en) 2020-06-29 2020-06-29 Indicating lamp brightness adjusting method and device, intelligent equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010610596.2A CN111757577B (en) 2020-06-29 2020-06-29 Indicating lamp brightness adjusting method and device, intelligent equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111757577A CN111757577A (en) 2020-10-09
CN111757577B true CN111757577B (en) 2022-09-13

Family

ID=72678229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010610596.2A Active CN111757577B (en) 2020-06-29 2020-06-29 Indicating lamp brightness adjusting method and device, intelligent equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111757577B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326029B (en) * 2021-05-13 2024-03-22 深圳恒之源技术股份有限公司 LED lamp brightness adjusting method, system and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108962192A (en) * 2018-08-08 2018-12-07 歌尔科技有限公司 Screen luminance adjustment method, intelligent wearable device and storage medium
CN109874205A (en) * 2017-12-04 2019-06-11 杭州海康机器人技术有限公司 Lamplight brightness adjusting method, device, storage medium and the equipment of unmanned vehicle

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831044A (en) * 2011-06-15 2012-12-19 鸿富锦精密工业(深圳)有限公司 Control system and method of power state indicating lamp
CN103246342B (en) * 2012-02-10 2016-03-02 联想(北京)有限公司 Electronic equipment and method for managing power supply thereof
CN103200733B (en) * 2013-02-19 2016-12-28 中兴通讯股份有限公司 A kind of method and device of automatic control terminal device state indicator lamp
CN103957625A (en) * 2014-04-14 2014-07-30 四川长虹电器股份有限公司 Method for adjusting brightness of indicator lamp
CN204394293U (en) * 2015-01-28 2015-06-17 广东美的厨房电器制造有限公司 Baking box electric stove platform assembly
CN104754827A (en) * 2015-03-06 2015-07-01 小米科技有限责任公司 Equipment state indicator lamp control method and equipment state indicator lamp control device
CN105636318A (en) * 2016-01-17 2016-06-01 苏黎 Control method for luminance of electronic equipment indicator lamp and electronic equipment
TWM523811U (en) * 2016-02-05 2016-06-11 矽創電子股份有限公司 Indication lamp with automatic brightness adjustment function and electronic including the same
CN105825838A (en) * 2016-04-28 2016-08-03 乐视控股(北京)有限公司 Brightness controlling method and apparatus
CN110636358A (en) * 2018-06-25 2019-12-31 深圳Tcl新技术有限公司 Standby lamp control method, smart television and storage medium
CN110519889B (en) * 2019-09-10 2024-04-02 上海尹莱仕光电科技有限公司 Intelligent dimming device and method for outdoor indicator lamp

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109874205A (en) * 2017-12-04 2019-06-11 杭州海康机器人技术有限公司 Lamplight brightness adjusting method, device, storage medium and the equipment of unmanned vehicle
CN108962192A (en) * 2018-08-08 2018-12-07 歌尔科技有限公司 Screen luminance adjustment method, intelligent wearable device and storage medium

Also Published As

Publication number Publication date
CN111757577A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
US7454632B2 (en) Reducing computing system power through idle synchronization
US8316254B2 (en) Power-saving effect apparatus and method based on power-saving parameters and power-saving amounts
TWI386791B (en) Transitioning a computing platform to a low power system state
US20100241888A1 (en) Information processing apparatus and power-saving setting method
EP1734436A1 (en) Automatically controlling processor mode of multi-core processor
US20110131427A1 (en) Power management states
CN106125885A (en) System and method for power management
CN104111850B (en) A kind of method and system for reducing micro-control unit MCU power consumptions
CN111757577B (en) Indicating lamp brightness adjusting method and device, intelligent equipment and readable storage medium
US9134784B2 (en) Predictive power state transitions for information handling devices
JP2000039937A (en) Computer system and its power-saving control method
CN104246655A (en) Information processing device, information processing method, and program
CN107066073B (en) Control method and electronic equipment
CN101149637A (en) Computer system electricity-saving state power management method
CN105547491B (en) A kind of automatic power-saving method of telescope-type laser ranging thermal imaging system
CN112948312B (en) Chip control method and device, intelligent terminal and computer readable storage medium
KR20150021378A (en) Apparatus and method for power saving of computer system
US20120091823A1 (en) Mobile storage device and method for managing power consumption of the mobile storage device
JP5117583B2 (en) Information processing apparatus and power saving effect display method
WO2023115917A1 (en) Method and apparatus for controlling air conditioner, and air conditioner
CN201607688U (en) Computer power-saving equipment and computer power-saving system
KR20230014320A (en) Control method for entering power saving mode of computer
CN1322396C (en) Method for auto-power-off according to user&#39;s habit
JP2008197812A (en) Information processor
TWI547854B (en) A displaying method, a system and an electronic device of a waking-up interface and a sleeping interface.

Legal Events

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