CN112333541A - Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium - Google Patents

Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium Download PDF

Info

Publication number
CN112333541A
CN112333541A CN202010452143.1A CN202010452143A CN112333541A CN 112333541 A CN112333541 A CN 112333541A CN 202010452143 A CN202010452143 A CN 202010452143A CN 112333541 A CN112333541 A CN 112333541A
Authority
CN
China
Prior art keywords
display terminal
state
weight value
preset
target user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010452143.1A
Other languages
Chinese (zh)
Other versions
CN112333541B (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 TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202010452143.1A priority Critical patent/CN112333541B/en
Publication of CN112333541A publication Critical patent/CN112333541A/en
Application granted granted Critical
Publication of CN112333541B publication Critical patent/CN112333541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/441Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card
    • H04N21/4415Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card using biometric characteristics of the user, e.g. by voice recognition or fingerprint scanning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver

Abstract

The invention discloses a method for controlling the startup and shutdown of a display terminal, which comprises the following steps: when a target user is detected, acquiring a voice instruction and presetting the state of a display terminal; when the preset display terminal is in a closed state, acquiring a current time point, and executing an operation of opening the preset display terminal according to the current time point and a voice instruction; and when the preset display terminal is in an open state, acquiring the activity state of the target user, and executing the operation of closing the preset display terminal according to the activity state and the voice instruction. The invention also discloses a display terminal on-off control device, equipment and a readable storage medium. The invention determines the current time point, the voice instruction and the state of the target user through the preset device, and determines to execute the startup and shutdown operation according to the current time point, the voice instruction and the state of the target user without a special television, so the display terminal startup and shutdown control method has universality and realizes the automation of the startup and shutdown of the display terminal.

Description

Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium
Technical Field
The invention relates to the field of household appliance control, in particular to a method, a device, equipment and a readable storage medium for controlling the on and off of a display terminal.
Background
With the continuous maturity of internet of things technology, smart homes have been developed rapidly, and more families now use smart devices that can access internet of things networks, for example, smart televisions, smart sound boxes, smart cameras, and the like.
The existing method for switching on and off the television comprises controlling the on and off of the television through voice and manually switching on and off the television through a remote control device. However, the television is controlled to be turned on and off by voice, and a special smart television (supporting a voice interaction function) is required, so that the television is not popular, and the television cannot be turned on and off manually by a remote control device, and the automation of the television turning on and off cannot be realized.
Disclosure of Invention
The invention mainly aims to provide a method for controlling the on and off of a display terminal, and aims to solve the technical problems that in the existing method for switching on and off a television, a special intelligent television is needed for controlling the on and off of the television through voice, the television is not popularized, and the television is manually switched on and off through a remote control device, and the automation of the television on and off cannot be realized.
In addition, in order to achieve the above object, the present invention further provides a method for controlling the power on and power off of a display terminal, where the method for controlling the power on and power off of the display terminal includes the following steps:
when a target user is detected, acquiring a voice instruction and presetting the state of a display terminal;
when the preset display terminal is in a closed state, acquiring a current time point, and executing an operation of opening the preset display terminal according to the current time point and the voice instruction;
and when the preset display terminal is in an open state, acquiring the activity state of the target user, and executing the operation of closing the preset display terminal according to the activity state and the voice instruction.
Optionally, the step of executing an operation of turning on a preset display terminal according to the current time point and the voice instruction includes:
acquiring a historical time period of a preset display terminal in a starting state, and determining a first time weight value according to the current time point and the historical time period;
determining a voice weight value according to the voice instruction;
and taking the sum of the first time weighted value and the voice weighted value as a first weighted value, and if the first weighted value is greater than a first preset threshold value, executing an operation of starting a preset display terminal.
Optionally, the step of obtaining a historical time period in which the preset display terminal is in the power-on state, and determining a first time weight value according to the current time point and the historical time period includes:
acquiring all historical time periods, and determining a target historical time period closest to the current time point and a target historical time point of the target historical time period;
judging whether the current time point belongs to the target historical time period or not;
if the current time point belongs to the target historical time period, determining a first time weight value according to the time difference between the current time point and the target historical time point;
and if the current time point does not belong to the target historical time period, determining a first time weight value according to the time distance between the current time point and the target historical time period.
Optionally, the step of executing, according to the active state and the voice instruction, an operation of closing the preset display terminal includes:
determining a state weight value according to the activity state, and summing a voice weight value corresponding to the voice instruction with the state weight value;
and if the sum of the voice weight value and the state weight value is greater than a second preset threshold value, executing the operation of closing the preset display terminal.
Optionally, the step of acquiring the activity state of the target user when the preset display terminal is in an on state includes:
when the preset display terminal is in an open state, acquiring an eye picture of the target user in real time through a preset camera device;
when all the black pixels of the eye picture are converted into gray pixels, calculating the total length of first time for the black pixels to continuously disappear;
if the total length of the first time is less than the preset time, judging that the activity state of the target user is a watching state;
and if the total length of the first time is greater than or equal to the preset time, judging that the activity state of the target user is a non-watching state.
Optionally, after the step of calculating a first total time length for which black pixels disappear continuously when all black pixels of the eye picture are changed into gray pixels, the method includes:
determining a second time weight value according to the total length of the first time, and summing the voice weight value corresponding to the voice instruction and the second time weight value;
and if the sum of the voice weight value and the second time weight value is greater than a third preset threshold, executing an operation of closing a preset display terminal.
In addition, in order to achieve the above object, the present invention provides a display terminal on/off control apparatus, including:
the acquisition module is used for acquiring a voice instruction and the state of a preset display terminal when a target user is detected;
the first execution module is used for acquiring a current time point when the preset display terminal is in a closed state, and executing the operation of opening the preset display terminal according to the current time point and the voice instruction;
and the second execution module is used for acquiring the activity state of the target user when the preset display terminal is in an open state, and executing the operation of closing the preset display terminal according to the activity state and the voice instruction.
In addition, to achieve the above object, the present invention further provides a display terminal on/off control device, including: the display terminal on-off control method comprises a memory, a processor and a display terminal on-off control program which is stored on the memory and can run on the processor, wherein the display terminal on-off control program realizes the steps of the display terminal on-off control method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having a display terminal power on/off control program stored thereon, where the display terminal power on/off control program, when executed by a processor, implements the steps of the display terminal power on/off control method as described above.
The embodiment of the invention provides a method, a device and equipment for controlling the startup and shutdown of a display terminal and a readable storage medium. In the embodiment of the invention, when the preset biological recognition device detects the target user, the display terminal on-off control program acquires the voice instruction sent by the target user and the state of the television, if the television is in the off state, the display terminal on-off control program further acquires the time point of detecting the target user, namely the current time point, and then determines whether to execute the operation of turning on the television according to the current time point and the voice instruction sent by the target user; if the television is in the starting state, the display terminal startup and shutdown control program further acquires the activity state and the voice instruction of the target user, and further determines whether to execute the operation of starting the television according to the activity state of the target user and the voice instruction sent by the target user. In the embodiment, the current time point, the voice instruction and the state of the target user are determined through the information acquired by the preset biological recognition device and the intelligent sound box, and the on-off operation is determined according to the current time point, the voice instruction and the state of the target user without a special television.
Drawings
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a display terminal on/off control device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart illustrating a first embodiment of a method for controlling the power on/off of a display terminal according to the present invention;
fig. 3 is a flowchart illustrating a second embodiment of a method for controlling the power on/off of a display terminal according to the present invention;
fig. 4 is a flowchart illustrating a third embodiment of a method for controlling the power on/off of a display terminal according to the present invention;
fig. 5 is a flowchart illustrating a fourth embodiment of a method for controlling the power on/off of a display terminal according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The embodiment of the invention discloses that a terminal on-off control terminal (called terminal, equipment or terminal equipment) can be equipment with an information processing function (namely, provided with a processor) such as a smart television, a smart phone, a personal computer and the like; the device can also comprise a device with a camera shooting function or a voice recognition function, such as a color camera, an infrared camera, an intelligent sound box and the like; devices with information and data storage capabilities (with databases), such as (cloud) servers, may also be included.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a display terminal power on/off control program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a display terminal power on/off control program stored in the memory 1005, and when the display terminal power on/off control program is executed by the processor, the processor implements the operations in the display terminal power on/off control method provided in the following embodiments.
Based on the hardware structure of the equipment, the embodiment of the startup and shutdown control method of the display terminal is provided.
Referring to fig. 2, in a first embodiment of the display terminal power on/off control method of the present invention, the display terminal power on/off control method includes:
and step S10, when the target user is detected, acquiring the voice instruction and presetting the state of the display terminal.
The on-off control method of the display terminal in the embodiment is applied to an on-off control device of the display terminal, wherein the on-off control device of the display terminal comprises equipment with an information processing function (namely, equipment with a processor) such as a smart television, a smart phone, a personal computer and the like; the device can also comprise a device with a camera shooting function or a voice recognition function, such as a color camera, an infrared camera, an intelligent sound box and the like; devices with information and data storage capabilities (with databases), such as (cloud) servers, may also be included.
The display terminal startup and shutdown control method in the embodiment is applied to an intelligent home scene, and intelligent devices such as an intelligent television, an intelligent door lock with a biological recognition (human face or fingerprint and the like) function, an intelligent sound box with a voice recognition function or an intelligent mobile phone in an intelligent home environment are connected with one another through the internet of things or other communication networks, data are mutually transmitted, and information is shared. The target user in this embodiment refers to a host of a house having the smart home environment, that is, a person having information stored in the server database, where the stored information includes information that can identify a specific person, such as face information and fingerprint information. The preset display terminal in this embodiment may be a television, or a projector connected to a video playing device, or a device having a display function and an audio and video playing function, such as an intelligent screen, and the following embodiments are exemplified by a television. The states of the display terminal include an off state and an on state, and it is known that the states of the display terminal may further include a standby (sleep) state and a power saving state.
And step S20, when the preset display terminal is in a closed state, acquiring a current time point, and executing the operation of opening the preset display terminal according to the current time point and the voice instruction.
This embodiment provides a specific application scenario, when a target user wants to enter an intelligent home environment, a smart door lock detects the target user through a face recognition method, at this time, a display terminal on-off control program acquires a state of a television and a time (i.e. a current time in this embodiment) when the target user enters the intelligent home environment, a smart speaker acquires a voice instruction sent by the target user through a voice recognition method, if the state of the television is an off state, it is determined whether to turn on the television through analysis of a current time point and the voice instruction, for example, a historical time period when the television is in an on state is further acquired, if the current time point is not in the historical time period, i.e. the television is in the off state in a historical record, this may indicate a habit of the user watching a television, in this case, if the intelligent sound box does not acquire a voice instruction of the target user about starting the television, the display terminal on-off control program judges that the target user does not want to watch the television at the current time point; if the current time point is in the historical time period and the intelligent sound box also acquires the voice instruction about turning on the television set by the target user, the display terminal on-off control program judges that the current time point of the target user wants to watch the television set, and further the display terminal on-off control program automatically executes the operation of turning on the television set, so that the situation that the current time point is not in the historical time period but the intelligent sound box acquires the voice instruction of the target user or the situation that the current time point is in the historical time period but the intelligent sound box does not acquire the voice instruction of the target user exists and the situation that the situation is two, the display terminal on-off control method in the embodiment passes, sets a time weight value according to the relationship between the current time point and the historical time period, sets a voice weight value according to the content of the voice instruction and comprehensively judges whether the target user wants to watch the television according to the time weight value and the voice weight value, and executing the corresponding operation of turning on the television.
And step S30, when the preset display terminal is in an open state, acquiring the activity state of the target user, and executing the operation of closing the preset display terminal according to the activity state and the voice instruction.
If the state of the television is an on state, acquiring an active state (including a watching state and a non-watching state) of a target user through a camera, and determining whether to turn off the television through a voice instruction sent to the active state and the target user, for example, further acquiring a total time of the target user in the non-watching state, and if the total time of the target user in the non-watching state continuously is longer than a certain value, indicating that the target user watches the television, in this case, if the smart speaker acquires the voice instruction about turning off the television of the target user, the display terminal on-off control program will determine that the target user does not want to watch the television, and further, the display terminal on-off control program will automatically execute the operation of turning off the television; and if the total time of the target user in the non-watching state is not more than a certain numerical value and the intelligent sound box does not acquire the voice instruction of the target user about turning off the television, judging that the target user currently wants to watch the television by the display terminal on-off control program. In this embodiment, the display terminal on/off control method is to set a state weight value according to the total duration of the target user in the non-viewing state, set a voice weight value according to the content of the voice instruction, and comprehensively judge whether the target user wants to turn off the television according to the time weight value and the state weight value, and execute a corresponding operation of turning off the television.
In this embodiment, when the preset biometric identification device detects the target user, the display terminal on-off control program will acquire the voice command sent by the target user and the state of the television, and if the television is in the off state, the display terminal on-off control program will further acquire the time point when the target user is detected, that is, the current time point, and then determine whether to execute the operation of turning on the television according to the current time point and the voice command sent by the target user; if the television is in the starting state, the display terminal startup and shutdown control program further acquires the activity state and the voice instruction of the target user, and further determines whether to execute the operation of starting the television according to the activity state of the target user and the voice instruction sent by the target user. In the embodiment, the current time point, the voice instruction and the state of the target user are determined through the information acquired by the preset biological recognition device and the intelligent sound box, and the on-off operation is determined according to the current time point, the voice instruction and the state of the target user without a special television.
Further, referring to fig. 3, on the basis of the above embodiment of the present invention, a second embodiment of the method for controlling the on/off of the display terminal according to the present invention is provided.
This embodiment is a step of the first embodiment, which is a refinement of step S20, and the difference between this embodiment and the above-described embodiment of the present invention is:
step S21, obtaining a historical time period of a preset display terminal in a power-on state, and determining a first time weight value according to the current time point and the historical time period.
The historical time period in this embodiment is a period of one week or one month, according to the time that the target user watches the television most in the past time period, because the shorter the past time period is, the less representative the selected historical time period is, in this embodiment, a month is taken as an example, as shown in table 1, table 1 is a time period that the television is in an on state every day in the past month, as can be seen from table 1, the historical time period that the television is in an on state is 07:00-08:00,19:00-21:00, and the determination of the historical time period can be statistically selected by using an existing discrete mathematical method, and the determination method and the specific determination time period are not limited.
Date Time period when television is in on state
No. 3/month No. 1 06:59-08:05 13:00-14:03 19:03-21:04
No. 3/month No. 2 07:02-08:00 19:03-21:04
No. 3/month 06:58-08:01 18:55-21:00
…… …………
No. 3/month No. 31 06:55-08:03 19:01-21:08
TABLE 1
Given that the historical time period of the television in the on state is 07:00-08:00,19:00-21:00, if the current time point is 15:30, that is, the current time point is not within the historical time period, a time weight value (i.e., a first time weight value in this embodiment) may be determined, if the current time point is 20:30, that is, the current time is within the historical time period, a time weight value may be determined, for example, if the current time point is not within the historical time period, the corresponding first time weight value is 20, and if the current time point is within the historical time period, the corresponding first time weight value is 80.
And step S22, determining a voice weight value according to the voice instruction.
According to the relationship between the current time point and the historical time period, after the first time weight value is determined, the display terminal on-off control program further determines the voice weight value according to a voice instruction sent by a target user, and therefore when the television is in an off state, the display terminal on-off control program acquires voice information of the user through the intelligent sound box or the intelligent mobile phone and screens the voice information related to the television on, for example, voice instructions indicating the television on such as 'i want to watch the television', 'turn on the television', and 'play movies', and the like, and determines different voice weight values according to different voice contents, for example, the voice weight value corresponding to the voice instruction 'turn on the television' is 100.
Step S23, taking a sum of the first time weight value and the voice weight value as a first weight value, and if the first weight value is greater than a first preset threshold, executing an operation of turning on a preset display terminal.
After the first time weight value and the voice weight value are determined, a sum of the first time weight value and the voice weight value is calculated, and the sum is used as the first weight value, for example, if the first time weight value is 20 and the voice weight value is 100, the first weight value is 120, and if the first preset threshold value is 100, the first weight value is greater than the first preset threshold value, in this case, the display terminal on-off control program will turn on the television, that is, the operation of turning on the preset display terminal is executed. It is known that if the first time weighting value is 80 (the current time point is within the historical time period), and the voice weighting value is 0 (no voice command is acquired), the first weighted value is 80 and is smaller than the first preset threshold, but the current time point is in the historical time period, which indicates that the user has a great possibility of watching the television and only forgets to send a voice instruction, in this case, the display terminal on-off control program can also output a prompt message, the method prompts a user to send a voice instruction to turn on the television, specifically, the output prompt message can be in a voice form, the content of the output prompt message can be 'owner, whether to turn on the television', within a period of time after the prompt message is output, if a voice command about turning on the television set by the target user is received, and directly executing the operation of turning on the television, and if the operation is not received, maintaining the turning-off state of the television.
Specifically, the step S21 is a step of refining, including:
and b1, acquiring all historical time periods, and determining the target historical time period closest to the current time point and the target historical time point of the target historical time period.
The target history time point in this embodiment is a time point that is the median of the target history time period and best meets the desire of the target user to watch the television. In this embodiment, a specific application scenario is given, and if all the historical time periods of the television in the on state are 07:00-08:00 and 19:00-21:00, as shown in table 2, table 2 is a corresponding relationship between the current time point and the first time weight value when all the historical time periods of the television in the on state are 07:00-08:00 and 19:00-21: 00.
Current point in time 06:00 06:06 06:12 …… 06:48 06:54 07:00
First time weight value 0 7 14 …… 56 63 70
Current point in time 07:03 …… 07:27 07:30 07:33 …… 09:00
First time weight value 71 …… 79 80 79 …… 0
Current point in time 18:00 18:06 18:12 …… 18:48 18:54 19:00
First time weight value 0 7 14 …… 56 63 70
Current point in time 19:06 …… 19:54 20:00 20:06 …… 22:00
First time weight value 71 …… 79 80 79 …… 0
TABLE 2
And b2, judging whether the current time point belongs to the target historical time period.
Therefore, after the current time is determined, the display terminal power on/off control program will determine the dependency relationship between the current time and the target history time period closest to the current time, that is, determine whether the current time is included in the target history time period, and the purpose of the determination is to determine whether the current time is included in the target history time period, and is not included in the target history time period, corresponding to two different first time weight value determination schemes, and whether the current time is included in the target history time period, which indicates different television watching intentions of the target user, and this also conforms to the actual application scenario.
Step b3, if the current time point belongs to the target historical time period, determining a first time weight value according to the time difference between the current time point and the target historical time point.
As can be seen from table 2, if the current time point is 08:30, it is determined that the target history time period closest to the current time point is 07:00-08:00, and it is determined that the current time point does not belong to the target history time period, the time distance between the current time point and the target history time period is 30 minutes, as can be seen from table 2, the first time weight value corresponding to 08:30 is 35, the first time weight value corresponding to 09:00 is 0, and the first time weight value corresponding to the time point in the time period of 09:00-18:00 is 0.
Step b4, if the current time point does not belong to the target historical time period, determining a first time weight value according to the time distance between the current time point and the target historical time period.
It is known that, if the current time point is 19:30, the target history time period closest to the current time point is determined to be 19:00-21:00 (the distance is 0), and it is determined that the current time point belongs to the target history time period, the target history time point of the target history time period is 20:00, the time difference between the current time point and the target history time point is 30 minutes, as can be seen from table 2, the first time weight value corresponding to 19:30 is 75, in this embodiment, the first time weight value is determined such that, if the current time point does not belong to the history time period, the corresponding first time weight value is small, which also indicates that the probability of the target user watching the television at the current time point is low, that is, the intention of the target user watching the television at the current time point is low, and, if the current time point belongs to the history time period, the corresponding first time weight value is large, which also indicates that the probability of the target user watching the television at, and the closer the current time point is to the median of the historical time period, the higher the probability that the target user watches the television is, that is, the higher the intention of the target user to watch the television at the current time point is, the rule for giving the weight value accords with the basic idea realized by the on-off control method of the display terminal, and the specific value of the first time weight value can be manually adjusted by the target user (the target user can indirectly adjust the first time weight value by adjusting the first preset threshold value).
In this embodiment, when the television is in the off state, the operation of turning on the television is executed according to the current time point when the target user enters the smart home environment, the voice instruction sent by the target user, and the historical time period when the television is in the on state, so that the automatic process of turning on the television according to the acquired information related to the target user is realized.
Further, referring to fig. 4, a third embodiment of the method for controlling the on/off of the display terminal according to the present invention is provided on the basis of the above-mentioned embodiment of the present invention.
The present embodiment is a step of obtaining the activity state refinement of the target user when the preset display terminal is in the on state in step S30 in the first embodiment, and the difference between the present embodiment and the above embodiment of the present invention is that:
and step S31, when the preset display terminal is in an open state, acquiring the eye picture of the target user in real time through a preset camera device.
The preset camera in this embodiment refers to a device having a camera function, such as a color camera, which has a function of recognizing colors of pixels in a video image as known. When a target user is in an intelligent home environment and the state of the television is in an on state, the display terminal on-off control program obtains an eye picture of the target user in real time through the color camera, specifically, a picture area with the characteristics of pixel distribution of human eye parts is used as the eye picture of the target user by performing pixel analysis on the whole picture obtained by the color camera.
In step S32, when all the black pixels of the eye image are changed to gray pixels, the total length of the first time during which the black pixels disappear continuously is calculated.
It is noted that, when the eyes of the target user are open, the color camera can only acquire the black pixels of the image of the eye region of the target user, and when the eyes of the target user are closed or the image of the eyes of the target user cannot be captured, the color camera can only acquire the gray pixels, and the black pixels of the image of the eyes cannot be acquired, that is, the black pixels of the image of the eyes are all converted into the gray pixels, which indicates that the target user is not watching the television.
Step S33, if the total first time is less than a preset time, determining that the activity state of the target user is the viewing state.
Step S34, if the total first time is greater than or equal to a preset time, determining that the activity state of the target user is a non-viewing state.
It can be known that, if the preset time is 60 minutes, and the calculated first total time length is 70 minutes, the first total time length is greater than the preset time, in this case, the intention of the target user to watch the television is obviously very low, and the display terminal on-off control program determines that the target user has very low intention to watch the television, and the target user is in a non-watching state; and if the preset time is 60 minutes, the calculated total first time is 30 minutes, and the total first time is less than the preset time, in this case, the target user is in a watching state according to the intention of watching the television. It is understood that the method of obtaining the black pixels of the eye image of the target user includes, but is not limited to, using a color camera, and the preset time is not limited.
Specifically, steps subsequent to step S32 include:
step c1, according to the total length of the first time, determining a second time weight value, and summing the voice weight value corresponding to the voice instruction and the second time weight value.
It can be known that the first total time length represents the total time length of the target user in the non-viewing state, and the longer the first total time length is, the lower the viewing willingness of the corresponding target user is, and accordingly, table 3 is introduced, where table 3 is a corresponding relationship between the total time length of the target user in the non-viewing state and the second time weight value.
As can be seen from table 3, if the first total time length is 0, it indicates that the color camera can capture the black pixels of the eye image of the target user all the time, the corresponding target user activity state is the watching state, and the corresponding second time weight value is 0, and it is known that, when the first total time length is 10 (minutes), the corresponding second time weight value is still 0 because, considering that the target user cannot be in the capturing range of the color camera all the time while watching tv, if the target user leaves the capturing range of the color camera for a short time, it should not be determined that the target user has a desire not to watch tv, therefore, when the first total time length is in the range of 0 to 10, the corresponding second time weight value is not changed, and the specific time can be flexibly adjusted.
Total length of first time 0 10 20 …… 40 50 60
Second time weighted value 0 0 16 …… 48 64 80
TABLE 3
It should be noted that, after determining the second time weight value according to the total length of the first time, the display terminal on/off control program further determines the voice weight value according to the voice instruction sent by the target user, and it is known that, when the television is in the on state, the display terminal on/off control program acquires the voice information of the user through the smart speaker or the smart phone, and filters the voice information related to turning off the television from the voice information, for example, the voice instruction indicating turning off the television, such as "turn off the television", "i want to rest", and "turn on the sleep mode", and determines different voice weight values according to the difference of the voice contents, for example, the voice weight value corresponding to the voice instruction "turn off the television" is 100.
And c2, if the sum of the voice weight value and the second time weight value is greater than a third preset threshold, executing an operation of closing a preset display terminal.
It should be noted that, after the second time weight value and the voice weight value are determined, the sum of the second time weight value and the voice weight value is calculated, and the sum is used as the second weight value, for example, if the first time weight value is 48 and the voice weight value is 80, the second weight value is 128, and if the third preset threshold is 100, the second weight value is greater than the first preset threshold, in this case, the display terminal on-off control program will turn off the television, that is, perform an operation of turning on the preset display terminal. It is noted that, if the second time weighted value is 80 (the time that the target user is in the non-watching state is longer) and the voice weighted value is 0 (no voice instruction is obtained), the second weighted value is 80, which is smaller than the third preset threshold, but the time that the target user is in the non-watching state is longer, which indicates that the possibility that the user is not watching the television is relatively high, but the target user forgets to send the voice instruction, in this case, the display terminal on-off control program may further output the prompt information to prompt the user to send the voice instruction to turn off the television, specifically, the output prompt information may be in the form of voice, the content of the output prompt information may be "owner" and whether to continue watching the television ", and if the voice instruction about turning off the television is received by the target user within a period of time after the output prompt information, the operation of turning off the television is directly performed, if not, the opening state of the television is maintained.
In this embodiment, by acquiring the eye image of the target user, whether the target user is in the watching state or the non-watching state is determined, and then the operation of turning off the television can be executed according to the state of the target user, thereby realizing an automatic process of turning off the television according to the state of the target user.
Further, referring to fig. 5, a fourth embodiment of the method for controlling the on/off of the display terminal according to the present invention is provided on the basis of the above-mentioned embodiment of the present invention.
This embodiment is also the step of the first embodiment, in which step S30 is executed to perform detailed operation of closing the preset display terminal according to the active state and the voice instruction, and the difference between this embodiment and the above-mentioned embodiment of the present invention is that:
step S35, determining a state weight value according to the activity state, and summing the voice weight value corresponding to the voice instruction and the state weight value.
As can be seen, the active state includes a watching state and a non-watching state, and the method for turning off the television according to the weight values may further include that the watching state and the non-watching state correspond to two different weight values (i.e., state weight values), the voice weight value is determined by obtaining a voice instruction of the target user, and then the state weight value and the voice weight value are summed, and whether to perform an operation of turning off the television is determined according to the state and the voice instruction of the target user.
Step S36, if the sum of the voice weight value and the state weight value is greater than a second preset threshold, executing an operation of closing the preset display terminal.
It should be noted that, after the first state weight value and the voice weight value are determined, the sum of the state weight value and the voice weight value is calculated, and the sum is compared with the second preset threshold, for example, if the weight value corresponding to the watching state is 20, the weight value corresponding to the non-watching state is 80, the weight value corresponding to the voice instruction is 100, the third preset threshold is 100, and if the target user is in the watching state and the weight value corresponding to the voice instruction is 100, the sum of the state weight value and the voice weight value is 120, which is greater than the third preset threshold, in this case, the display terminal on-off control program will turn off the television, that is, perform the operation of turning off the preset display terminal; if the target user is in a non-watching state and the voice instruction is not detected, that is, the weight value corresponding to the voice instruction is 0, the sum of the state weight value and the voice weight value is 80, and is smaller than a third preset threshold, in this case, the display terminal power on/off control program does not execute the operation of closing the preset display terminal.
In the embodiment, the operation of turning off the television can be executed according to the state of the target user and the voice instruction by determining the activity state of the target user, so that the automatic process of turning off the television according to the activity state of the target user and the voice instruction is realized.
In addition, an embodiment of the present invention further provides a display terminal on/off control device, where the display terminal on/off control device includes:
the acquisition module is used for acquiring a voice instruction and the state of a preset display terminal when a target user is detected;
the first execution module is used for acquiring a current time point when the preset display terminal is in a closed state, and executing the operation of opening the preset display terminal according to the current time point and the voice instruction;
and the second execution module is used for acquiring the activity state of the target user when the preset display terminal is in an open state, and executing the operation of closing the preset display terminal according to the activity state and the voice instruction.
Optionally, the first execution module includes:
the first obtaining unit is used for obtaining a historical time period when a preset display terminal is in a starting state, and determining a first time weight value according to the current time point and the historical time period;
the first determining unit is used for determining a voice weight value according to the voice instruction;
and the first execution unit is used for taking the sum of the first time weighted value and the voice weighted value as a first weighted value, and if the first weighted value is greater than a first preset threshold value, executing the operation of starting a preset display terminal.
Optionally, the first obtaining unit includes:
the second acquisition unit is used for acquiring all historical time periods, and determining a target historical time period closest to the current time point and a target historical time point of the target historical time period;
the judging unit is used for judging whether the current time point belongs to the target historical time period or not;
a second determining unit, configured to determine a first time weight value according to a time difference between the current time point and the target historical time point if the current time point belongs to the target historical time period;
and the third determining unit is used for determining a first time weight value according to the time distance between the current time point and the target historical time period if the current time point does not belong to the target historical time period.
Optionally, the second execution module includes:
the first summing unit is used for determining a state weight value according to the activity state and summing the voice weight value corresponding to the voice instruction and the state weight value;
and the second execution unit is used for executing the operation of closing the preset display terminal if the sum of the voice weight value and the state weight value is greater than a second preset threshold value.
Optionally, the second execution module further includes:
the third acquisition unit is used for acquiring the eye image of the target user in real time through a preset camera device when the preset display terminal is in an open state;
the eye image processing device comprises a first calculating unit, a second calculating unit and a processing unit, wherein the first calculating unit is used for calculating the total length of first time for continuously disappearing black pixels when all the black pixels of the eye image are converted into gray pixels;
the first judging unit is used for judging that the activity state of the target user is a watching state if the total length of the first time is less than the preset time;
and the second judging unit is used for judging that the activity state of the target user is a non-watching state if the total length of the first time is greater than or equal to the preset time.
Optionally, the display terminal power on/off control device further includes:
the second summation unit is used for determining a second time weight value according to the total length of the first time, and summing the voice weight value corresponding to the voice instruction and the second time weight value;
and the third execution unit is used for executing the operation of closing the preset display terminal if the sum of the voice weight value and the second time weight value is greater than a third preset threshold value.
The method executed by each program module can refer to each embodiment of the method of the present invention, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a tablet computer, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A display terminal startup and shutdown control method is characterized by comprising the following steps:
when a target user is detected, acquiring a voice instruction and presetting the state of a display terminal;
when the preset display terminal is in a closed state, acquiring a current time point, and executing an operation of opening the preset display terminal according to the current time point and the voice instruction;
and when the preset display terminal is in an open state, acquiring the activity state of the target user, and executing the operation of closing the preset display terminal according to the activity state and the voice instruction.
2. The method for controlling the power on and off of the display terminal according to claim 1, wherein the step of executing the operation of turning on the preset display terminal according to the current time point and the voice command comprises:
acquiring a historical time period of a preset display terminal in a starting state, and determining a first time weight value according to the current time point and the historical time period;
determining a voice weight value according to the voice instruction;
and taking the sum of the first time weighted value and the voice weighted value as a first weighted value, and if the first weighted value is greater than a first preset threshold value, executing an operation of starting a preset display terminal.
3. The method for controlling the power on and off of the display terminal according to claim 2, wherein the step of obtaining a historical time period in which the preset display terminal is in the power-on state, and determining the first time weight value according to the current time point and the historical time period comprises:
acquiring all historical time periods, and determining a target historical time period closest to the current time point and a target historical time point of the target historical time period;
judging whether the current time point belongs to the target historical time period or not;
if the current time point belongs to the target historical time period, determining a first time weight value according to the time difference between the current time point and the target historical time point;
and if the current time point does not belong to the target historical time period, determining a first time weight value according to the time distance between the current time point and the target historical time period.
4. The method for controlling the power on and power off of the display terminal according to claim 1, wherein the step of executing the operation of turning off the preset display terminal according to the active state and the voice command comprises:
determining a state weight value according to the activity state, and summing a voice weight value corresponding to the voice instruction with the state weight value;
and if the sum of the voice weight value and the state weight value is greater than a second preset threshold value, executing the operation of closing the preset display terminal.
5. The method for controlling the power on and off of the display terminal according to claim 1, wherein the step of acquiring the activity status of the target user when the preset display terminal is in an on state comprises:
when the preset display terminal is in an open state, acquiring an eye picture of the target user in real time through a preset camera device;
when all the black pixels of the eye picture are converted into gray pixels, calculating the total length of first time for the black pixels to continuously disappear;
if the total length of the first time is less than the preset time, judging that the activity state of the target user is a watching state;
and if the total length of the first time is greater than or equal to the preset time, judging that the activity state of the target user is a non-watching state.
6. The method for controlling on/off of a display terminal according to claim 5, wherein the step of calculating the total length of the first time for which the black pixels disappear continuously when all the black pixels of the eye picture are changed into the gray pixels comprises:
determining a second time weight value according to the total length of the first time, and summing the voice weight value corresponding to the voice instruction and the second time weight value;
and if the sum of the voice weight value and the second time weight value is greater than a third preset threshold, executing an operation of closing a preset display terminal.
7. A display terminal on-off control device, characterized by comprising:
the acquisition module is used for acquiring a voice instruction and the state of a preset display terminal when a target user is detected;
the first execution module is used for acquiring a current time point when the preset display terminal is in a closed state, and executing the operation of opening the preset display terminal according to the current time point and the voice instruction;
and the second execution module is used for acquiring the activity state of the target user when the preset display terminal is in an open state, and executing the operation of closing the preset display terminal according to the activity state and the voice instruction.
8. The utility model provides a display terminal power on and off control equipment which characterized in that, display terminal power on and off control equipment includes: a memory, a processor and a display terminal power on/off control program stored on the memory and executable on the processor, the display terminal power on/off control program when executed by the processor implementing the steps of the display terminal power on/off control method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a display terminal power on/off control program that, when executed by a processor, implements the steps of the display terminal power on/off control method according to any one of claims 1 to 6.
CN202010452143.1A 2020-05-25 2020-05-25 Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium Active CN112333541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010452143.1A CN112333541B (en) 2020-05-25 2020-05-25 Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010452143.1A CN112333541B (en) 2020-05-25 2020-05-25 Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN112333541A true CN112333541A (en) 2021-02-05
CN112333541B CN112333541B (en) 2022-12-13

Family

ID=74302912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010452143.1A Active CN112333541B (en) 2020-05-25 2020-05-25 Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN112333541B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038214A (en) * 2021-03-03 2021-06-25 深圳创维-Rgb电子有限公司 Standby control method, terminal device and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105318489A (en) * 2014-06-26 2016-02-10 广东美的制冷设备有限公司 Terminal control method and system
CN105791983A (en) * 2014-12-16 2016-07-20 上海天脉聚源文化传媒有限公司 Method and system for controlling smart television
CN106016607A (en) * 2016-05-26 2016-10-12 北京云知声信息技术有限公司 Air conditioner control method and device
CN107613350A (en) * 2017-09-15 2018-01-19 成都晓懋科技有限公司 A kind of Intelligent television control method
CN108124180A (en) * 2017-12-27 2018-06-05 深圳Tcl新技术有限公司 TV control method, mobile terminal and computer readable storage medium
CN108670150A (en) * 2018-05-23 2018-10-19 佛山市顺德区美的洗涤电器制造有限公司 Sound control method, device and the readable storage medium storing program for executing of drawer dishwasher
CN110647073A (en) * 2019-09-19 2020-01-03 康佳集团股份有限公司 Internet of things-based electric appliance switch control method and system and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105318489A (en) * 2014-06-26 2016-02-10 广东美的制冷设备有限公司 Terminal control method and system
CN105791983A (en) * 2014-12-16 2016-07-20 上海天脉聚源文化传媒有限公司 Method and system for controlling smart television
CN106016607A (en) * 2016-05-26 2016-10-12 北京云知声信息技术有限公司 Air conditioner control method and device
CN107613350A (en) * 2017-09-15 2018-01-19 成都晓懋科技有限公司 A kind of Intelligent television control method
CN108124180A (en) * 2017-12-27 2018-06-05 深圳Tcl新技术有限公司 TV control method, mobile terminal and computer readable storage medium
CN108670150A (en) * 2018-05-23 2018-10-19 佛山市顺德区美的洗涤电器制造有限公司 Sound control method, device and the readable storage medium storing program for executing of drawer dishwasher
CN110647073A (en) * 2019-09-19 2020-01-03 康佳集团股份有限公司 Internet of things-based electric appliance switch control method and system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038214A (en) * 2021-03-03 2021-06-25 深圳创维-Rgb电子有限公司 Standby control method, terminal device and readable storage medium
CN113038214B (en) * 2021-03-03 2022-07-12 深圳创维-Rgb电子有限公司 Standby control method, terminal device and readable storage medium

Also Published As

Publication number Publication date
CN112333541B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN108132805B (en) Voice interaction method and device and computer readable storage medium
US20190327526A1 (en) Device setting adjustment based on content recognition
RU2652452C2 (en) Device and method for network status information representation
CN104935661A (en) Household appliances control method, device, router and terminal
EP3905179A1 (en) Product recommendation method, product recommendation system and storage medium
WO2020192222A1 (en) Method and device for intelligent analysis of user context and storage medium
CN105653505A (en) Method and device for regulating character display
CN110572702B (en) Standby control method, smart television and computer-readable storage medium
CN111163305A (en) Screen adjusting method, device and equipment and readable storage medium
CN112532885B (en) Anti-shake method and device and electronic equipment
CN108829481B (en) Presentation method of remote controller interface based on control electronic equipment
US20190373318A1 (en) Method and device for adjusting an intelligent system, and a computer readable storage medium
CN112333541B (en) Method, device and equipment for controlling startup and shutdown of display terminal and readable storage medium
US9392320B1 (en) Adaptive battery life enhancer
CN111372139A (en) Image parameter adjusting method, television and storage medium
CN112333502A (en) Intelligent television display method, intelligent television and computer readable storage medium
CN108389553B (en) Backlight control method, apparatus and computer readable storage medium
CN103905837A (en) Image processing method and device and terminal
CN113691874A (en) Television-based film watching dynamic adjustment method and device, intelligent terminal and medium
CN112799622A (en) Application control method and device and electronic equipment
CN109544441B (en) Image processing method and device, and skin color processing method and device in live broadcast
CN112328068A (en) Method, device and readable storage medium for reducing power consumption of display device
CN111951787A (en) Voice output method, device, storage medium and electronic equipment
CN114038370B (en) Display parameter adjustment method and device, storage medium and display equipment
CN112040314B (en) User setting method based on face recognition, television and storage medium

Legal Events

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