Standby lamp control method, smart television and storage medium

文档序号:1675915 发布日期:2019-12-31 浏览:27次 中文

阅读说明:本技术 一种待机灯控制方法、智能电视及存储介质 (Standby lamp control method, smart television and storage medium ) 是由 蒋明珠 于 2018-06-25 设计创作,主要内容包括:本发明公开了一种待机灯控制方法、智能电视及存储介质,所述方法包括:当检测到智能电视进入待机模式时,控制待机灯点亮,并获取当前时区值;将当前时区值与预设的深夜时间段进行对比,判断当前时区值是否处于深夜时间段;当判断当前时区值处于深夜时间段时,控制待机灯进入熄灭状态,当判断当前时区值不处于深夜时间段时,则待机灯依旧处于点亮状态。本发明通过判断当前时间是否处于深夜时间段来控制智能电视待机灯的亮灭,控制待机灯在深夜状态时自动进入熄灭状态,避免影响用户在夜间休息,同时降低了智能电视的待机功耗。(The invention discloses a standby lamp control method, a smart television and a storage medium, wherein the method comprises the following steps: when the intelligent television is detected to enter a standby mode, controlling a standby lamp to be turned on, and acquiring a current time zone value; comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period; and when the current time zone value is judged not to be in the late night time period, the standby lamp is still in the lighting state. The method and the device control the on-off of the standby lamp of the intelligent television by judging whether the current time is in the late night time period or not, and control the standby lamp to automatically enter the off state when the standby lamp is in the late night state, so that the influence on the rest of a user at night is avoided, and meanwhile, the standby power consumption of the intelligent television is reduced.)

1. A standby lamp control method, characterized in that the standby lamp control method comprises:

when the intelligent television is detected to enter a standby mode, controlling a standby lamp to be turned on, and acquiring a current time zone value;

comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period;

and when the current time zone value is judged not to be in the late night time period, the standby lamp is still in the lighting state.

2. The standby lamp control method according to claim 1, wherein when it is detected that the smart television enters the standby mode, controlling the standby lamp to be turned on, and before obtaining the current time zone value further comprises:

when the startup operation of the intelligent television is detected, the intelligent television acquires a current time zone value from a network or a code stream and stores the current time zone value in a system.

3. The standby lamp control method according to claim 1, wherein when it is detected that the smart television enters the standby mode, controlling the standby lamp to be turned on, and acquiring the current time zone value specifically comprises:

when detecting that a user controls the intelligent television to enter a standby mode through a standby key, controlling a standby lamp to be turned on, and enabling the intelligent television to enter a standby state;

and the intelligent television acquires the current time zone value stored in the system and sends the current time zone value to the single chip microcomputer.

4. The standby lamp control method according to claim 3, wherein the comparing the current time zone value with the preset late-night time period and the determining whether the current time zone value is in the late-night time period specifically comprises:

the single chip microcomputer defines a time period in a late night state corresponding to each global time zone as a late night time period in advance;

and comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period.

5. The method as claimed in claim 4, wherein the controlling the standby lamp to enter the off state when the current time zone value is determined to be in the late-night time period, and the standby lamp to remain in the on state when the current time zone value is not determined to be in the late-night time period specifically comprises:

when the current time zone value is judged to be in the late night time period, the standby lamp is controlled to enter a turned-off state, and the single chip microcomputer is still in a working state at the moment;

and when the current time zone value is judged not to be in the late night time period, the standby lamp is still controlled to be in the lighting state.

6. The method for controlling a standby lamp according to claim 5, wherein when the current time zone value is determined to be in the late-night time period, controlling the standby lamp to enter a turn-off state, and after the single chip microcomputer is still in the working state, the method further comprises:

and when the single chip microcomputer detects that the current time zone value is not in the late night time period again after a period of time, the standby lamp is controlled to enter a lighting state from a turning-off state.

7. The method for controlling a standby lamp according to claim 5, wherein when the current time zone value is determined to be in the late-night time period, controlling the standby lamp to enter a turn-off state, and after the single chip microcomputer is still in the working state, the method further comprises:

when the standby lamp is in an off state and the intelligent television detects that a remote controller is performing key operation, the standby lamp is controlled to enter an on state from the off state.

8. The standby lamp control method according to claim 1, wherein the late-night time period is 0:00-5:00 at night in each region.

9. An intelligent television, characterized in that the intelligent television comprises: a memory, a processor and a standby lamp control program stored on said memory and executable on said processor, said standby lamp control program when executed by said processor implementing the steps of the standby lamp control method according to any of claims 1-8.

10. A storage medium storing a standby lamp control program, the standby lamp control program, when executed by a processor, implementing the steps of the standby lamp control method according to any one of claims 1 to 8.

Technical Field

The invention relates to the technical field of computer application, in particular to a standby lamp control method, an intelligent television and a storage medium.

Background

At present, the goods quantity of smart televisions is more and more, more and more customers select the standby when not watching the television, the standby lamp can be always on during the standby, but a new problem is caused, more and more customers complain that the standby lamp is very bright after sleeping and having a rest at night, because no light exists in the room at the moment, a standby lamp at the moment is on and also can give people a very bright feeling, and the standby lamp is in the bright state for a long time and can bring the following defects: firstly, the normal rest of the user can be influenced; secondly, the standby lamp is lighted for a long time and wastes electricity.

Accordingly, the prior art is yet to be improved and developed.

Disclosure of Invention

The invention aims to solve the technical problem that the standby lamp control method, the intelligent television and the storage medium are provided to solve the technical defects in the prior art, and aims to control the standby lamp of the intelligent television to be turned on and off by judging whether the current time is in the late-night time period or not, control the standby lamp to automatically enter a turned-off state when the standby lamp is in the late-night state, avoid influencing the rest of a user at night, and simultaneously reduce the standby power consumption of the intelligent television.

The technical scheme adopted by the invention for solving the technical problem is as follows:

a standby lamp control method, wherein the standby lamp control method comprises:

when the intelligent television is detected to enter a standby mode, controlling a standby lamp to be turned on, and acquiring a current time zone value;

comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period;

and when the current time zone value is judged not to be in the late night time period, the standby lamp is still in the lighting state.

The standby lamp control method includes, when it is detected that the smart television enters a standby mode, controlling the standby lamp to be turned on, and before obtaining a current time zone value:

when the startup operation of the intelligent television is detected, the intelligent television acquires a current time zone value from a network or a code stream and stores the current time zone value in a system.

The standby lamp control method includes the steps that when the fact that the intelligent television enters the standby mode is detected, the standby lamp is controlled to be turned on, and the obtaining of the current time zone value specifically includes:

when detecting that a user controls the intelligent television to enter a standby mode through a standby key, controlling a standby lamp to be turned on, and enabling the intelligent television to enter a standby state;

and the intelligent television acquires the current time zone value stored in the system and sends the current time zone value to the single chip microcomputer.

The standby lamp control method, wherein comparing the current time zone value with a preset late-night time period and judging whether the current time zone value is in the late-night time period specifically includes:

the single chip microcomputer defines a time period in a late night state corresponding to each global time zone as a late night time period in advance;

and comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period.

The standby lamp control method, wherein when the current time zone value is determined to be in the late-night time period, controlling the standby lamp to enter a turn-off state, and when the current time zone value is determined not to be in the late-night time period, the standby lamp still being in a turn-on state specifically includes:

when the current time zone value is judged to be in the late night time period, the standby lamp is controlled to enter a turned-off state, and the single chip microcomputer is still in a working state at the moment;

and when the current time zone value is judged not to be in the late night time period, the standby lamp is still controlled to be in the lighting state.

The standby lamp control method, wherein when the current time zone value is judged to be in the late night time period, the standby lamp is controlled to enter a turned-off state, and at the moment, the single chip microcomputer still comprises the following steps:

and when the single chip microcomputer detects that the current time zone value is not in the late night time period again after a period of time, the standby lamp is controlled to enter a lighting state from a turning-off state.

The standby lamp control method, wherein when the current time zone value is judged to be in the late night time period, the standby lamp is controlled to enter a turned-off state, and at the moment, the single chip microcomputer still comprises the following steps:

when the standby lamp is in an off state and the intelligent television detects that a remote controller is performing key operation, the standby lamp is controlled to enter an on state from the off state.

The standby lamp control method is characterized in that the late-night time period is 0:00-5:00 at night in each region.

An intelligent television, wherein the intelligent television comprises: a memory, a processor and a standby lamp control program stored on said memory and executable on said processor, said standby lamp control program when executed by said processor implementing the steps of the standby lamp control method as described above.

A storage medium, wherein the storage medium stores a standby lamp control program, which when executed by a processor implements the steps of the standby lamp control method as described above.

The invention discloses a standby lamp control method, a smart television and a storage medium, wherein the method comprises the following steps: when the intelligent television is detected to enter a standby mode, controlling a standby lamp to be turned on, and acquiring a current time zone value; comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period; and when the current time zone value is judged not to be in the late night time period, the standby lamp is still in the lighting state. The method and the device control the on-off of the standby lamp of the intelligent television by judging whether the current time is in the late night time period or not, and control the standby lamp to automatically enter the off state when the standby lamp is in the late night state, so that the influence on the rest of a user at night is avoided, and meanwhile, the standby power consumption of the intelligent television is reduced.

Drawings

FIG. 1 is a flow chart of a preferred embodiment of a standby lamp control method of the present invention;

FIG. 2 is a flowchart of step S10 in the preferred embodiment of the standby lamp control method of the present invention;

FIG. 3 is a flowchart of step S20 in the preferred embodiment of the standby lamp control method of the present invention;

FIG. 4 is a flowchart of step S30 in the preferred embodiment of the standby lamp control method of the present invention;

fig. 5 is a schematic operating environment diagram of a smart tv according to a preferred embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

As shown in fig. 1, a standby lamp control method according to a preferred embodiment of the present invention is a standby lamp control method, where the standby lamp control method includes the following steps:

and step S10, when the intelligent television is detected to enter the standby mode, controlling the standby lamp to be turned on, and acquiring the current time zone value.

Specifically, the method further includes, before the step S10: after the smart television is shipped to all parts of the world, the smart television acquires a current time zone value from a network or a code stream and stores the current time zone value in a system in the normal television watching process of a user; and when the user presses the standby key to enter the standby mode, the standby lamp is lightened, and the current time zone value stored in the intelligent television system is acquired.

Fig. 2 is a flowchart of step S10 in the standby lamp control method according to the present invention.

As shown in fig. 2, the step S10 includes:

s11, when it is detected that the user controls the smart television to enter a standby mode through a standby key, controlling a standby lamp to be turned on, and enabling the smart television to enter a standby state;

and S12, the intelligent television acquires the current time zone value stored in the system and sends the current time zone value to the single chip microcomputer.

Step S20, comparing the current time zone value with a preset late-night time period, and determining whether the current time zone value is in the late-night time period.

Specifically, a group of late-night time periods in a late-night state corresponding to each global time zone are preset in the single chip microcomputer, the late-night time periods are when a person is in a deep sleep stage, and at the moment, any light display can cause certain influence on sleep of the person, so that the on-off state of a standby lamp of the smart television needs to be controlled, and then the current time zone value needs to be compared with the preset late-night time period to judge whether the current time zone value is in the late-night time period.

The late-night time period is preferably 0:00-5:00 at night in each region (each country), and may be set according to local user habits.

Please refer to fig. 3, which is a flowchart of step S20 in the standby lamp control method according to the present invention.

As shown in fig. 3, the step S20 includes:

s21, the single chip microcomputer defines the time period in the late night state corresponding to each global time zone as the late night time period in advance;

and S22, comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period.

And step S30, when the current time zone value is judged to be in the late night time period, controlling the standby lamp to enter a turn-off state, and when the current time zone value is judged not to be in the late night time period, controlling the standby lamp to be in a turn-on state.

Specifically, if the current time in the current time zone value is in the late-night time period, the standby lamp is controlled to be in the off state for a long time, so that the standby power consumption is reduced, otherwise, the standby lamp is still set to be in the on state, namely the standby lamp is always on in the daytime, and a user can know whether the smart television is in the standby state at any time; at night, the standby lamp can be automatically turned off at night, so that the power consumption of the standby lamp is reduced, and a user does not feel the standby lamp and does not influence the use of the user.

Please refer to fig. 4, which is a flowchart of step S30 in the standby lamp control method according to the present invention.

As shown in fig. 4, the step S30 includes:

s31, when the current time zone value is judged to be in the late night time period, the standby lamp is controlled to enter a turned-off state, and the single chip microcomputer is still in a working state at the moment;

and S32, when the current time zone value is judged not to be in the late night time period, controlling the standby lamp to be in the lighting state.

Further, when the current time zone value is judged to be in the late-night time period, the standby lamp is controlled to enter the off state, and at the moment, the single chip microcomputer still comprises the following steps: when the single chip microcomputer detects that the current time zone value is not in the late-night time period again after a period of time, the standby lamp is controlled to enter the lighting state from the off state, namely the time of the late-night time period passes, and the standby lamp of the intelligent television is controlled to enter the lighting state again, so that the operation of a user is facilitated.

In addition, when judging that the current time zone value is in the late night time period, the standby lamp is controlled to enter a turned-off state, and at the moment, the single chip microcomputer still comprises the following components after being in a working state: when the standby lamp is in an off state, when the intelligent television detects that the remote controller performs key operation, the standby lamp is controlled to enter a lighting state from the off state, namely when the standby lamp is in the off state, if the situation that the user presses the remote controller is detected at the moment, the situation that the user has a demand for watching the intelligent television is indicated, then the standby lamp is controlled to enter the lighting state from the off state, the operation of the user is facilitated, and after the intelligent television is started, the standby lamp is controlled to be turned off.

The invention solves the problems that the standby power consumption is larger because the standby lamp is always on after the smart television is in standby at night, and the normal rest of a client is indirectly influenced because the standby lamp is always on, improves the satisfaction degree of the client, saves energy, reduces consumption and improves the product quality.

As shown in fig. 5, based on the above standby lamp control method, the present invention also provides a smart television, which includes a processor 10, a memory 20 and a display 30. Fig. 5 shows only some of the components of the smart television, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.

The storage 20 may be an internal storage unit of the smart tv in some embodiments, for example, a hard disk or a memory of the smart tv. In other embodiments, the memory 20 may also be an external storage device of the Smart tv, such as a plug-in hard disk provided on the Smart tv, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and so on. Further, the memory 20 may also include both an internal storage unit and an external storage device of the smart tv. The memory 20 is used for storing application software installed in the smart television and various types of data, such as program codes for installing the smart television. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a standby lamp control program 40, and the standby lamp control program 40 can be executed by the processor 10 to implement the standby lamp control method of the present application.

The processor 10 may be a Central Processing Unit (CPU), a microprocessor or other data Processing chip in some embodiments, and is used for running program codes stored in the memory 20 or Processing data, such as executing the standby lamp control method.

The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used for displaying information on the smart television and for displaying a visual user interface. The components 10-30 of the smart television communicate with each other via a system bus.

In one embodiment, when the processor 10 executes the standby lamp control program 40 in the memory 20, the following steps are implemented:

when the intelligent television is detected to enter a standby mode, controlling a standby lamp to be turned on, and acquiring a current time zone value;

comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period;

and when the current time zone value is judged not to be in the late night time period, the standby lamp is still in the lighting state.

When detecting that the smart television enters the standby mode, controlling the standby lamp to be turned on, and before acquiring the current time zone value, the method further comprises:

when the startup operation of the intelligent television is detected, the intelligent television acquires a current time zone value from a network or a code stream and stores the current time zone value in a system.

When detecting that the smart television enters the standby mode, controlling the standby lamp to be turned on, and acquiring the current time zone value specifically includes:

when detecting that a user controls the intelligent television to enter a standby mode through a standby key, controlling a standby lamp to be turned on, and enabling the intelligent television to enter a standby state;

and the intelligent television acquires the current time zone value stored in the system and sends the current time zone value to the single chip microcomputer.

The comparing the current time zone value with the preset late-night time period and the judging whether the current time zone value is in the late-night time period specifically include:

the single chip microcomputer defines a time period in a late night state corresponding to each global time zone as a late night time period in advance;

and comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period.

The controlling the standby lamp to enter the off state when the current time zone value is judged to be in the late-night time period, and the standby lamp still being in the on state when the current time zone value is judged not to be in the late-night time period specifically includes:

when the current time zone value is judged to be in the late night time period, the standby lamp is controlled to enter a turned-off state, and the single chip microcomputer is still in a working state at the moment;

and when the current time zone value is judged not to be in the late night time period, the standby lamp is still controlled to be in the lighting state.

When judging that the current time zone value is in the late night time period, controlling the standby lamp to enter a turned-off state, wherein the singlechip still comprises the following components after being in a working state:

and when the single chip microcomputer detects that the current time zone value is not in the late night time period again after a period of time, the standby lamp is controlled to enter a lighting state from a turning-off state.

When judging that the current time zone value is in the late night time period, controlling the standby lamp to enter a turned-off state, wherein the singlechip still comprises the following components after being in a working state:

when the standby lamp is in an off state and the intelligent television detects that a remote controller is performing key operation, the standby lamp is controlled to enter an on state from the off state.

The invention also provides a storage medium, wherein the storage medium stores a standby lamp control program, and the standby lamp control program realizes the steps of the standby lamp control method when being executed by a processor; as described above.

In summary, the present invention provides a standby lamp control method, a smart television and a storage medium, where the method includes: when the intelligent television is detected to enter a standby mode, controlling a standby lamp to be turned on, and acquiring a current time zone value; comparing the current time zone value with a preset late night time period, and judging whether the current time zone value is in the late night time period; and when the current time zone value is judged not to be in the late night time period, the standby lamp is still in the lighting state. The method and the device control the on-off of the standby lamp of the intelligent television by judging whether the current time is in the late night time period or not, and control the standby lamp to automatically enter the off state when the standby lamp is in the late night state, so that the influence on the rest of a user at night is avoided, and meanwhile, the standby power consumption of the intelligent television is reduced.

Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.

It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:音视频同步播放的方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类