CN109168086A - A kind of control method of video playback apparatus, system and readable storage medium storing program for executing - Google Patents

A kind of control method of video playback apparatus, system and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109168086A
CN109168086A CN201811026349.7A CN201811026349A CN109168086A CN 109168086 A CN109168086 A CN 109168086A CN 201811026349 A CN201811026349 A CN 201811026349A CN 109168086 A CN109168086 A CN 109168086A
Authority
CN
China
Prior art keywords
viewer
playback apparatus
video playback
information
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811026349.7A
Other languages
Chinese (zh)
Inventor
杨思阳
陈克林
宋开旭
刘杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
QIANDONGNAN NATIONAL POLYTECHNIC
Original Assignee
QIANDONGNAN NATIONAL POLYTECHNIC
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 QIANDONGNAN NATIONAL POLYTECHNIC filed Critical QIANDONGNAN NATIONAL POLYTECHNIC
Priority to CN201811026349.7A priority Critical patent/CN109168086A/en
Publication of CN109168086A publication Critical patent/CN109168086A/en
Pending legal-status Critical Current

Links

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/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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42203Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Abstract

The invention discloses a kind of control method of video playback apparatus, system and readable storage medium storing program for executing, the method includes the steps: the ambient image information before obtaining television set;Whether there is viewer before judging television set according to the ambient image information, if there is viewer, judge whether the viewer feels sleepy or fall asleep, obtains judging result;The set-top box and television set are controlled according to the judging result, and reminds the viewer;The system comprises: set-top box and control device for television set and video playback apparatus;The read/write memory medium includes memory;It breaks away, feel sleepy or sleeping and set-top box and television set is caused to be kept on all this avoid viewer is busy while watching tv, waste electric energy also influences user's rest.The present invention can analyze automatically according to the environment scene before the television set and automatically control the switch of the set-top box and television set, save electric energy, and facilitate control set-top box and television set.

Description

A kind of control method of video playback apparatus, system and readable storage medium storing program for executing
Technical field
The present invention relates to household appliance control technologies, more specifically, be related to a kind of control method of video playback apparatus, System and readable storage medium storing program for executing.
Background technique
With the proposition of smart home concept, smart home device is popularized, we live more and more convenient.Set-top box, Nowadays television set has been popularized, but main usage mode is manual controller mode, manual switch machine, manual volume tune at present Section etc..Mode of operation is single, not intelligence, cannot interact, is not energy saving enough.User often occurs busy breaking away, violating in viewing Tired, sleeping situation etc., and set-top box, television set are kept on all, waste electric energy also influences user's rest.
Summary of the invention
The purpose of the present invention is to solve users while watching tv, due to the busy feelings for breaking away, feeling sleepy, falling asleep Condition and set-top box, television set are kept on all, waste electric energy the problems such as also influencing user's rest, provide set-top box and television set Control method, system and readable storage medium storing program for executing.
The purpose of the present invention is achieved through the following technical solutions: providing a kind of controlling party of video playback apparatus Method, system and readable storage medium storing program for executing.
In a first aspect, providing a kind of control method of video playback apparatus, the video playback apparatus includes: set-top box And television set, the method includes the steps:
Ambient image information before obtaining video playback apparatus;
Whether there is viewer before judging video playback apparatus according to the ambient image information, if there is viewer, judges Whether the viewer feels sleepy or falls asleep, and obtains judging result;
The video playback apparatus is controlled according to the judging result, and reminds the viewer.
Preferably, it is described television set is judged according to the ambient image information before whether have viewer, if there is viewer, Judge whether the viewer feels sleepy or fall asleep, obtaining judging result includes:
The ambient image information is identified, if recognizing face information, is judged as the video playback apparatus Before have viewer.
Preferably, it is described video playback apparatus is judged according to the ambient image information before whether have viewer, if there is sight The person of seeing, then judge whether the viewer feels sleepy or fall asleep, and obtains judging result and includes:
The face information is identified, obtain eyes opening information, and by the eyes aperture and it is awake when eye Eyeball aperture is compared;
If the eyes aperture is smaller or without aperture, judges that the viewer has felt sleepy or fallen asleep.
Preferably, it is described video playback apparatus is judged according to the ambient image information before whether have viewer, if there is sight The person of seeing, then judge whether the viewer feels sleepy or fall asleep, and obtains judging result and includes:
The face information is identified, eyes is obtained and blinks several information, and by the eyes blink several information and it is awake when Eyes blink number be compared;
If the eyes blink number comparatively fast or blink number without eyes, judge that the viewer has felt sleepy or fallen asleep.
Preferably, described that the video playback apparatus is controlled according to the judging result, and remind the viewer to include:
Ambient temperature and humidity information is obtained, the ambient temperature and humidity information and preset ambient temperature and humidity information are compared Compared with;
If the ambient temperature and humidity is not in the preset range, according to viewer described in the temperature and humidity information reminding It takes a good rest.
Preferably, the method also includes:
The voice messaging for obtaining viewer maps corresponding phonetic control command according to the voice messaging;
The video playback apparatus is controlled according to the phonetic control command.
Second aspect provides a kind of control system of video playback apparatus, comprising: video playback apparatus control device, Video playback apparatus;
Wherein, the video playback apparatus includes: set-top box and television set;
The video playback apparatus control device includes:
Microcontroller, for handling the control centre for analyzing information and being whole system;Specifically, knowing for image Not and feature extraction, temperature and humidity computer compare, SPI communication, I2C communication, serial communication, voice read judge control, voice Decoding, the output of infrared signal coding, timing etc. are read in output, infrared signal.
Image capture module, for obtaining the ambient image information before video playback apparatus;
Infrared signal transmitting and receiving module, for transmitting and receiving infrared signal and control video playback apparatus;
Speech recognition synthesis module is known for obtaining the control voice messaging of viewer, and to the voice messaging Not.
Preferably, the microcontroller includes:
Recognition of face judgment module, the facial information of viewer for identification, and judge whether there is viewer;
Eye recognition judgment module, eyes opening information and eyes blink several information for identification, and whether judge viewer It feels sleepy or falls asleep;
Infrared signal conversion module, for control instruction to be converted into infrared signal;
Voice reading judges control module, for reading the voice content of speech recognition synthesis module acquisition and judging root It is instructed according to the voice content match control.
Preferably, the set-top box and control device for television set further include:
Temperature and humidity acquisition module for obtaining ambient temperature and humidity information, and the ambient temperature and humidity information is issued described Microcontroller is calculated and is compared;
The third aspect, also provides a kind of readable storage medium storing program for executing, including memory, and the memory is stored at least one finger Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or Described instruction collection is loaded by the processor and is executed the control method to realize the video playback apparatus.
Bring of the present invention is the utility model has the advantages that obtain the ambient image information before video playback apparatus;According to the environment map Whether there is viewer before judging video playback apparatus as information, if there is viewer, judges whether the viewer feels sleepy;If hair It is tired, then the video playback apparatus is controlled, and the viewer is reminded to take a good rest.This avoid viewers in viewing TV When it is busy break away, feel sleepy or sleeping and video playback apparatus is caused to be kept on all, waste electric energy also influences user's rest. The present invention can analyze automatically according to the environment scene before the video playback apparatus and automatically control the video and broadcast The switch for putting equipment has saved electric energy, and video playback apparatus is easy to control.
Detailed description of the invention
Fig. 1 is the control method flow chart in the embodiment of the present invention;
Fig. 2 is the control device module map in the embodiment of the present invention;
Fig. 3 is the micro-controller module figure in the embodiment of the present invention;
Fig. 4 is the control system schematic diagram in the embodiment of the present invention.
Wherein: 21, recognition of face judgment module;22, eye recognition judgment module;23, infrared signal conversion module;24, Voice reading judges control module;25, temperature and humidity comparison module;101, television set;102, set-top box;200, control device; 201, power module;202, temperature and humidity acquisition module;203, image capture module;204, camera;205, infrared emission receives Device;206, infrared signal transmitting and receiving module;207, microcontroller;208, speech recognition synthesis module;209, loudspeaker; 210, sound pick-up;211, Temperature Humidity Sensor.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.Not In the case where conflict, the feature in following embodiment and embodiment be can be combined with each other.
Provide the control method, system and readable storage medium storing program for executing of set-top box and television set.
In a first aspect, as shown in Figure 1, provide a kind of control method of video playback apparatus, the video playback apparatus It include: set-top box 102 and television set 101, the method includes the steps:
11, the ambient image information before video playback apparatus is obtained;Specifically, automatic by camera certain interval of time Ambient image before shooting video playback apparatus, and send the ambient image to microcontroller and carry out identification acquisition environment Image information.
12, whether there is viewer before judging video playback apparatus according to the ambient image information, if there is viewer, sentence Whether the viewer of breaking feels sleepy or falls asleep, and obtains judging result;Specifically, the recognition of face by the microcontroller is sentenced Disconnected module carries out recognition of face to ambient image, judges that the ambient image information has viewing if recognizing face information Person, that is to say, that there is viewer seeing TV before video playback apparatus;The first judging result is obtained, if the first judgement knot Fruit is no viewer, then controls the video playback apparatus and close.If first judging result is when having viewer, further , then eye recognition is carried out to the face information, the eye information of the viewer recognized, the eye information includes eyes Aperture and eyes blink number, if the eyes aperture is smaller or without aperture, illustrates that the viewer has felt sleepy or fallen asleep, obtains Take the second judging result.
13, the machine video playback apparatus is controlled according to the judging result, and reminds the viewer.Specifically, working as Second judging result is that the viewer has felt sleepy, then is rested by speech recognition synthesis module voice reminder viewer; If second judging result is that the viewer has fallen asleep, the video playback apparatus is closed, and obtain current environment Temperature and humidity information, according to being that temperature and humidity information judges whether to remind sleeping viewer.
In embodiments of the present invention, it is described video playback apparatus is judged according to the ambient image information before whether have viewing Person judges whether the viewer feels sleepy or fall asleep if there is viewer, obtains judging result and includes:
The ambient image information is identified, if recognizing face information, is judged as the video playback apparatus Before have viewer.Specifically, sentencing if identifying the facial information of viewer by recognition of face in the ambient image Environment before disconnected video playback apparatus has viewer, and the viewer is seeing TV, then needs to judge the viewer It is whether sleepy or fall asleep, the video playback apparatus is controlled further according to judging result.
In an embodiment of the present invention, the ambient image information is identified, if identifying less than face information, There is no viewer or the viewer there is no TV is being seen before being then judged as the video playback apparatus, then sentences described Disconnected result is sent to infrared signal conversion module, and the judging result is converted into infrared control signal and controls the video playing Equipment.Specifically, if not watching TV after delay appropriate without viewer or viewer passes through infrared emission The video playback apparatus is automatically closed in construction module;The delay time can according to need preset and saved it is described pre- If the time.
In embodiments of the present invention, it is described video playback apparatus is judged according to the ambient image information before whether have viewing Person judges whether the viewer feels sleepy or fall asleep if there is viewer, obtains judging result and includes:
The face information is identified, obtain eyes opening information, and by the eyes aperture and it is awake when eye Eyeball aperture is compared;If the eyes aperture is smaller or without aperture, judges that the viewer has felt sleepy or fallen asleep.
Specifically, being further carried out eye recognition after having viewer before judging video playback apparatus, the sight is judged Whether the person of seeing is sleepy or falls asleep, and blinks number judges whether the viewer is clear by the eyes aperture and eyes that identify viewer Wake up, by the eyes aperture recognized and it is awake when eyes aperture compare, if the eyes opening ratio regain consciousness when eye Eyeball aperture is longer less than 20% time, then it is assumed that viewer is sleepy, executes voice operation program at once, and pass through voice Inform viewer's rest.
In embodiments of the present invention, it is described video playback apparatus is judged according to the ambient image information before whether have viewing Person judges whether the viewer feels sleepy or fall asleep if there is viewer, obtains judging result and includes:
The face information is identified, eyes is obtained and blinks several information, and by the eyes blink several information and it is awake when Eyes blink number be compared;
If the eyes blink number comparatively fast or blink number without eyes, judge that the viewer has felt sleepy or fallen asleep.
Specifically, if the eyes blink several information than it is awake when blink several more, judge that the viewer has felt sleepy, Viewer's rest is then reminded by speech recognition synthesis module.If eyes without number is blinked, judge that the viewer has fallen asleep, The video playback apparatus is controlled according to this result to close.
In embodiments of the present invention, described that the video playback apparatus is controlled according to the judging result, and described in prompting Viewer includes:
Ambient temperature and humidity information is obtained, the ambient temperature and humidity information and preset ambient temperature and humidity information are compared Compared with;
If the ambient temperature and humidity is not in the preset range, according to viewer described in the temperature and humidity information reminding It takes a good rest.
Specifically, acquiring current environment temperature and humidity information, the environment when recognizing the viewer and feeling sleepy or fall asleep Temperature and humidity information includes: temperature value and humidity value, and judges whether current environment temperature and humidity value is more than preset value, if super Preset value is crossed, then closes the video playback apparatus, and wakes up speech recognition synthesis module, issues and reminds voice reminder viewer It takes a good rest.If being not above preset value, the video playback apparatus is closed, but does not wake up speech recognition synthesis module. It can guarantee that viewer will not be sick after sleeping in this way.
In a kind of possible embodiment of the present invention, the temperature and humidity value of current environment can also be inquired by voice command, and Current environment temperature and humidity value is broadcasted by the loudspeaker of speech recognition synthesis module, provides reference of wearing the clothes for user.
In embodiments of the present invention, the method also includes:
The voice messaging for obtaining viewer maps corresponding phonetic control command according to the voice messaging;
The video playback apparatus is controlled according to the phonetic control command.
Specifically, after the microcontroller receives the voice content that the speech recognition synthesis module is sent, Judge that judgement is compared with default voice content in the voice content by control module by voice reading, if meeting item Part, for example meet " opening television set ", " shutdown television set ", " volume is turned up ", " reducing volume ", " reducing brightness " etc., then will The phonetic control command face code is converted into infrared control information, and issues corresponding process coding by infrared transmission module Infrared signal, and control video playback apparatus and make correct response.
Second aspect, as shown in figure 4, providing a kind of control system of video playback apparatus, comprising: video playback apparatus Control device 200 and video playback apparatus
Wherein, the video playback apparatus includes: set-top box 102 and television set 101;
As shown in Fig. 2, the video playback apparatus control device 200 includes:
Microcontroller 207, for handling the control centre for analyzing information and being whole system;Specifically, being used for image Identification and feature extraction, temperature and humidity computer compare, SPI communication, I2C communication, serial communication, voice read judge control, language Decoding, the output of infrared signal coding, timing etc. are read in sound output, infrared signal.Wherein, the microcontroller 207 is STM32F103 chip, the STM32F103 chip are provided with GPIO mouthfuls and functional circuit;The functional circuit includes: that SPI connects Mouth, IR infrared coding-decoding device, AD acquisition module, USB interface, I2C interface and UART interface;For supporting control device 200 When not working, device power consumption is reduced into low-power consumption mode.
Further, the microcontroller 207, after receiving ambient image every time, by call image processing program, Voice operation program, 202 program of temperature and humidity acquisition module and infrared processing routine are handled, and then control the machine top Box 102 and television set 101.
Image capture module 203, for obtaining the ambient image information before television set 101;Wherein, described image acquires mould Block 203 is camera 204, and the camera 204 can be OV2640 colour imagery shot, has 2,000,000 pixels and 1600*1200 Resolution ratio.
Infrared signal transmitting and receiving module 206, infrared signal and the control video playing are set for transmitting and receiving It is standby;Wherein, the infrared signal transmitting and receiving module 206 is infrared emission receiver 205, the infrared emission receiver 205 It needs to carry out with video playback apparatus remote controler before use to code, includes switch key, volume key to code key, to obtain use Family remote controller key value;That is the infrared signal transceiver is equivalent to the remote control instead of video playback apparatus Device.When the control device 200, which detects, to be needed to adjust volume, then volume adjustment letter is issued automatically by infrared transmission module Number, adjust video playback apparatus volume;When needing to be switched on or shut down, then switching on and shutting down signal is issued automatically, closes the video Playback equipment.
Speech recognition synthesis module 208 is carried out for obtaining the control voice messaging of viewer, and to the voice messaging Identification.Wherein, the speech recognition synthesis module 208 includes: sound pick-up 210, voice recognition chip and loudspeaker 209;Institute It states sound pick-up 210 and is also possible to microphone or microphone, the voice recognition chip is.When the sound pick-up 210 collects use The voice messaging at family, and the voice messaging is identified by the voice recognition chip XFS5152CE, identify voice Content, and voice content is issued by microcontroller 207 by UART interface.The loudspeaker 209 is mounted on the set-top box 102 sides.
Further, the control system of the video playback apparatus further include: power module 201, the power module 201 There is power supply speed orchestration to provide 12V DC power supply, it is internal that 12V is depressured into 5V and 3.3V to microcontroller 207, Image Acquisition mould Block 203, Temperature Humidity Sensor 211, speech recognition synthesis module 208, infrared signal transmitting and receiving module 206 provide work electricity Source.
In embodiments of the present invention, as shown in figure 3, the microcontroller 207 includes:
Recognition of face judgment module 21, the facial information of viewer for identification, and judge whether there is viewer;Specifically , if identifying the facial information of viewer by recognition of face in the ambient image, judge video playback apparatus Preceding environment has viewer, and the viewer is seeing TV, then needing further judge whether viewer is sleepy Or fall asleep, the video playback apparatus is controlled further according to judging result.If do not known in the ambient image It is clipped to face information, then illustrates that there is no viewers or the viewer not to see electricity before the video playback apparatus Depending on the judging result is then sent to infrared signal conversion module 23, the judging result is converted into infrared control signal Control the video playback apparatus.
Eye recognition judgment module 22, eyes opening information and eyes blink several information for identification, and judge that viewer is It is no to feel sleepy or fall asleep;Specifically, when the face recognition module recognizes the face information of viewer, to the face information Eye recognition is carried out, number is blinked by the eyes aperture and eyes that identify viewer and judges whether the viewer regains consciousness, will be identified To eye information with it is awake when eye information compare, if the eyes aperture when eyes opening ratio is awake is less than 20% time is longer, and number of winks is obviously more, then it is assumed that and viewer is sleepy, executes voice operation program at once, And it needs to rest by voice informing user.
Infrared signal conversion module 23, for control instruction to be converted into infrared signal;Specifically, the infrared signal turns Phonetic control command can be converted into infrared control instruction by mold changing block 23, and the infrared letter is issued in infrared control instruction Number sending/receiving module and then pass through set-top box 102 and television set 101 described in infrared control.When microcontroller 207 detects When having felt sleepy or fallen asleep to the viewer, the judging result can also be converted into infrared control and instruct and then control the view Frequency playback equipment.
Voice reading judges control module 24, for reading the voice content of the acquisition of speech recognition synthesis module 208 and sentencing It is completely cured and is instructed according to the voice content match control.Specifically, being closed when the microcontroller 207 receives the speech recognition At module 208 send voice content after, by the voice reading judge control module 24 by the voice content in advance If judgement is compared in voice content, if meeting condition, for example meets " opening television set ", " shutdown television set ", " sound is turned up Amount ", " reducing volume ", " reducing brightness " etc. then issue the corresponding infrared signal by coding by infrared transmission module, and It controls the video playback apparatus and makes correct response.
Further, further include temperature and humidity comparison module 25, be used for more collected ambient temperature and humidity value, that is, temperature and humidity Preset value.
In embodiments of the present invention, the video playback apparatus control device 200 further include:
Temperature and humidity acquisition module 202 issues institute for obtaining ambient temperature and humidity information, and by the ambient temperature and humidity information The temperature and humidity in microcontroller 207 is stated to be calculated and compared;Wherein, the temperature and humidity acquisition module 202 includes DHT11 temperature Humidity sensor 211.Ambient temperature and humidity value is acquired after monitoring that viewer is sleeping, judges current environment for microcontroller 206 Whether temperature and humidity is more than preset value, and preset value if more than, then used voice mentions while closing the video playback apparatus The viewer that wakes up rests.If being not above preset value, it is only to close the video playback apparatus, does not wake viewer.
The third aspect also provides a kind of readable storage medium storing program for executing, including memory, and the memory is stored at least one finger Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or Described instruction collection is loaded by the processor and is executed the control method to realize the set-top box and television set.Specifically, institute It states memory and is at least stored with image processing program, voice operation program, temperature and humidity acquisition module program and infrared processing journey Sequence.Also it is stored with default phonetic control command and corresponding infrared signal control instruction.
The concrete operating principle and process of each module of the video playback apparatus control device 200 are as follows:
1), video playback apparatus voice control;Such as: booting, shutdown, adjusting volume, adjusting brightness etc..
When needing to open machine video playback apparatus, " opening television set " is only needed.Control device receives voice control When instruction, for example, acquiring voice by sound pick-up 210, and synthesized by speech recognition synthesis module 208, such as speech recognition Chip XFS5152CE identifies voice content, and is compared with preset content in microcontroller 207, " beats if meeting condition Open television set ", then infrared processing routine is executed, infrared signal transmitting and receiving module 206 is waken up, sends out it by voice content requirement Correct infrared remote-controlled signal is to video playback apparatus out, after video playback apparatus receives infrared starting-up signal, from standby mode Return to normal operating conditions.Other phonetic order implementation procedures are identical, and only different instruction corresponds to different infrared remote-controlled signals, Video playback apparatus makes different responses.
3), user feels sleepy prompting.
In control device course of normal operation, 204 separated in time automatic camera of camera, and the figure that will be shot every time As being sent to microcontroller 207 by communication interface, after microcontroller 207 receives image every time, image processing program is called, And eyes aperture when regaining consciousness with initial time compares, if identifying, eyes aperture is longer less than 20% time, and blinks Number is obviously more, then it is assumed that viewer is sleepy, executes voice operation program at once, and need by voice informing user Rest.
4), the sleeping automatic stand-by of user.
Eyes after microcontroller 207 receives image every time, when calling image processing program, and regaining consciousness with initial time Aperture compares, if identifying, eyes aperture long-time is acted less than 20%, and without blink, then it is assumed that viewer has fallen asleep. Temperature and humidity acquisition module program is called at once, reads current environment temperature and humidity value, if temperature and humidity value is less than program preset value, directly It connects and closes the video playback apparatus, program volume is avoided to influence user's rest.If temperature and humidity value is greater than program preset value, indicate Current environmental temperature is low or temperature is lower and humidity is larger, then executes voice operation program, and wake user by playing music, Voice prompting is normally rested.
5), environment temperature monitors intelligent reminding.
The application uses DHT11 temperature sensor, and acquires ambient temperature and humidity value after monitoring that viewer is sleeping, and confession is micro- Controller 206 judges whether current environment temperature and humidity is more than preset value, to determine whether that this is waken.Or receiving voice command " present temperature and humidity is how many? " when acquire temperature and humidity value, and by speech recognition synthesis module 208, broadcast current temperature and humidity value. Reference of wearing the clothes is provided for user.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that A specific embodiment of the invention is only limited to these instructions.General technical staff of the technical field of the invention is come It says, without departing from the inventive concept of the premise, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to this hair Bright protection scope.

Claims (10)

1. a kind of control method of video playback apparatus, the video playback apparatus include: set-top box and television set, feature exists In, the method includes the steps:
Ambient image information before obtaining video playback apparatus;
Whether there is viewer before judging video playback apparatus according to the ambient image information, if there is viewer, described in judgement Whether viewer feels sleepy or falls asleep, and obtains judging result;
The video playback apparatus is controlled according to the judging result, and reminds the viewer.
2. the control method of a kind of set-top box according to claim 1 and television set, which is characterized in that described according to institute Whether have viewer, if there is viewer, whether judge the viewer if stating before ambient image information judges video playback apparatus It feels sleepy or falls asleep, obtaining judging result includes:
Identify, if recognizing face information, have before being judged as the video playback apparatus to the ambient image information Viewer.
3. the control method of a kind of set-top box according to claim 2 and television set, which is characterized in that described according to institute Whether have viewer, if there is viewer, whether judge the viewer if stating before ambient image information judges video playback apparatus It feels sleepy or falls asleep, obtaining judging result includes:
The face information is identified, obtain eyes opening information, and by the eyes aperture with it is awake when eyes open Degree is compared;
If the eyes aperture is smaller or without aperture, judges that the viewer has felt sleepy or fallen asleep.
4. the control method of a kind of set-top box according to claim 2 and television set, which is characterized in that described according to institute Whether have viewer, if there is viewer, whether judge the viewer if stating before ambient image information judges video playback apparatus It feels sleepy or falls asleep, obtaining judging result includes:
The face information is identified, eyes is obtained and blinks several information, and by the eyes blink several information and it is awake when eye Eyeball blinks number and is compared;
If the eyes blink number comparatively fast or blink number without eyes, judge that the viewer has felt sleepy or fallen asleep.
5. a kind of control method of machine video playback apparatus according to claim 1, which is characterized in that described according to Judging result controls the machine video playback apparatus, and reminds the viewer to include:
Ambient temperature and humidity information is obtained, the ambient temperature and humidity information is compared with preset ambient temperature and humidity information;
If the ambient temperature and humidity not in the preset range, pays attention to according to viewer described in the temperature and humidity information reminding Rest.
6. a kind of control method of video playback apparatus according to claim 1, which is characterized in that the method is also wrapped It includes:
The voice messaging for obtaining viewer maps corresponding phonetic control command according to the voice messaging;
The video playback apparatus is controlled according to the phonetic control command.
7. a kind of control system of video playback apparatus characterized by comprising video playback apparatus control device and view Frequency playback equipment;
Wherein, the video playback apparatus includes: set-top box and television set;
The machine video playback apparatus control device includes:
Microcontroller, for handling the control centre for analyzing information and being whole system;
Image capture module, for obtaining the ambient image information before video playback apparatus;
Infrared signal transmitting and receiving module, for transmitting and receiving infrared signal and the control video playback apparatus;
Speech recognition synthesis module is identified for obtaining the control voice messaging of viewer, and to the voice messaging.
8. a kind of control system of video playback apparatus according to claim 7, which is characterized in that the microcontroller Include:
Recognition of face judgment module, the facial information of viewer for identification, and judge whether there is viewer;
Eye recognition judgment module, eyes opening information and eyes blink several information for identification, and judge whether viewer feels sleepy Or it is sleeping;
Infrared signal conversion module, for control instruction to be converted into infrared signal;
Voice reading judges control module, for reading the voice content of speech recognition synthesis module acquisition and judging according to institute Predicate sound content matching control instruction.
9. a kind of control system of video playback apparatus according to claim 7, which is characterized in that the video playing is set Standby control device further include:
Temperature and humidity acquisition module for obtaining ambient temperature and humidity information, and the ambient temperature and humidity information is issued described miniature Controller is calculated and is compared.
10. a kind of readable storage medium storing program for executing, which is characterized in that including memory, the memory is stored at least one instruction, extremely Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or described Instruction set is loaded as the microcontroller in claim 7-9 and is executed to realize the machine as described in any one of claims 1 to 6 The control method of video playback apparatus.
CN201811026349.7A 2018-09-04 2018-09-04 A kind of control method of video playback apparatus, system and readable storage medium storing program for executing Pending CN109168086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811026349.7A CN109168086A (en) 2018-09-04 2018-09-04 A kind of control method of video playback apparatus, system and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811026349.7A CN109168086A (en) 2018-09-04 2018-09-04 A kind of control method of video playback apparatus, system and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109168086A true CN109168086A (en) 2019-01-08

Family

ID=64894170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811026349.7A Pending CN109168086A (en) 2018-09-04 2018-09-04 A kind of control method of video playback apparatus, system and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109168086A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324694A (en) * 2019-06-11 2019-10-11 福建天泉教育科技有限公司 Video broadcasting method, storage medium
CN112584249A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Multimedia file playing control method and device
CN112863032A (en) * 2019-11-28 2021-05-28 比亚迪汽车工业有限公司 Gate control method and device, storage medium and electronic equipment
CN113630650A (en) * 2021-10-12 2021-11-09 深圳佳力拓科技有限公司 Digital television playing method and device based on audio and video switching and computer equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998499A (en) * 2017-04-28 2017-08-01 张青 It is capable of the intelligent TV set and its control system and control method of intelligent standby
CN107613368A (en) * 2017-09-26 2018-01-19 珠海市魅族科技有限公司 Video pause method and apparatus, computer installation and computer-readable recording medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998499A (en) * 2017-04-28 2017-08-01 张青 It is capable of the intelligent TV set and its control system and control method of intelligent standby
CN107613368A (en) * 2017-09-26 2018-01-19 珠海市魅族科技有限公司 Video pause method and apparatus, computer installation and computer-readable recording medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324694A (en) * 2019-06-11 2019-10-11 福建天泉教育科技有限公司 Video broadcasting method, storage medium
CN110324694B (en) * 2019-06-11 2022-06-07 福建天泉教育科技有限公司 Video playing method and storage medium
CN112584249A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Multimedia file playing control method and device
CN112863032A (en) * 2019-11-28 2021-05-28 比亚迪汽车工业有限公司 Gate control method and device, storage medium and electronic equipment
CN113630650A (en) * 2021-10-12 2021-11-09 深圳佳力拓科技有限公司 Digital television playing method and device based on audio and video switching and computer equipment
CN113630650B (en) * 2021-10-12 2022-08-09 深圳佳力拓科技有限公司 Digital television playing method and device based on audio and video switching and computer equipment

Similar Documents

Publication Publication Date Title
CN109168086A (en) A kind of control method of video playback apparatus, system and readable storage medium storing program for executing
WO2020192400A1 (en) Playback terminal playback control method, apparatus, and device, and computer readable storage medium
CN101860704B (en) Display device for automatically closing image display and realizing method thereof
CN108600809A (en) A kind of control method of smart television, device, storage medium and smart television
CN105528228A (en) Apparatus and method for automatically closing applications
CN105700363A (en) Method and system for waking up smart home equipment voice control device
CN106998499A (en) It is capable of the intelligent TV set and its control system and control method of intelligent standby
CN105791935A (en) Television control method and apparatus thereof
CN104349193A (en) Automatic power-off set-top box based on sleep recognition
US20170286745A1 (en) Electronic device and screen adjusting method based on condition of user's eye
CN103517138A (en) State switching method and electronic apparatus
CN101917566A (en) Method for intelligently controlling televisions based on human face analysis
WO2023065849A1 (en) Screen brightness adjustment method and apparatus for electronic device, and electronic device
CN110099305A (en) A kind of TV and control system of intelligent recognition different user viewing TV duration
CN111447497A (en) Intelligent playing device and energy-saving control method thereof
CN109782620A (en) Intelligent curtain and its control method, device and computer readable storage medium
CN108419130A (en) A kind of method and system that multimedia equipment volume is intelligently adjusted
CN115552916A (en) Refresh rate adjusting method and electronic equipment
CN105025175A (en) Display device and display control method
CN113867163A (en) Intelligent household scene switching method and device, intelligent terminal and storage medium
CN208890971U (en) A kind of control device and system of video playback apparatus
CN103019381B (en) Control the method for display screen automatic backlight
CN107592570A (en) Screen method for closing, device, equipment and the storage medium of video playback apparatus
CN106527657A (en) Method and device for automatic switching-off of VR equipment
CN109856800A (en) Display control method, device and the split type AR glasses of split type AR glasses

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190108

WD01 Invention patent application deemed withdrawn after publication