CN109195015A - A kind of video playing control method and device - Google Patents
A kind of video playing control method and device Download PDFInfo
- Publication number
- CN109195015A CN109195015A CN201810952703.2A CN201810952703A CN109195015A CN 109195015 A CN109195015 A CN 109195015A CN 201810952703 A CN201810952703 A CN 201810952703A CN 109195015 A CN109195015 A CN 109195015A
- Authority
- CN
- China
- Prior art keywords
- video
- playback terminal
- target user
- optical image
- judging result
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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/44213—Monitoring of end-user related data
- H04N21/44218—Detecting 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/4223—Cameras
Abstract
The embodiment of the invention provides a kind of video playing control method and devices, are related to technical field of automatic control, wherein the above method includes: the front camera by playback terminal, obtains the optical image of scene locating for playback terminal;Based on the optical image, judges the video whether target user plays in viewing playback terminal, obtain judging result;If judging result is the video that target user plays in viewing playback terminal, control playback terminal plays video, if judging result is the video that target user does not play in viewing playback terminal, control playback terminal stops playing video.When controlling video playing using scheme provided in an embodiment of the present invention, it can realize that the broadcasting to video is controlled according to the actual conditions of viewer.
Description
Technical field
The present invention relates to technical field of automatic control, more particularly to a kind of video playing control method and device.
Background technique
Present people's lives rhythm is getting faster, and is often put by various modes after work
Pine, life of adjusting.For example, people are usually whole using broadcastings such as mobile phone, tablet computer, laptop, desktop computers before sleep
End viewing video, and then achieve the purpose that loosen.
People may progress into sleep state during watching video, in order to guarantee that playback terminal will not be in people
Fall asleep after it is also prolonged play video, people often set timing on playback terminal, to reach timing
Playback terminal actively exits video playing afterwards.
Although being controlled using the broadcasting that video may be implemented in aforesaid way, may be deposited after playback terminal sets timing
In following situations:
Situation one: after people enter sleep state, distance timing terminates also for some time, in this period of time, people
The video that may continue playing wake up;
Situation two: when reaching timing, people do not enter sleep state also, but playback terminal has but exited video and broadcast
It puts.
In view of the foregoing, inventor has found in the implementation of the present invention, is inconvenient to play eventually using aforesaid way
Realize that the broadcasting to video controls according to the actual conditions of viewer in end.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of video playing control method and device, according to the reality of viewer
Border situation realizes that the broadcasting to video controls.Specific technical solution is as follows:
The embodiment of the present invention provides a kind of video playing control method, comprising:
By the front camera of playback terminal, the optical image of scene locating for the playback terminal is obtained;
Based on the optical image, judge that target user whether in the video for watching the playback terminal broadcasting, is sentenced
Disconnected result;
If the judging result is target user in the video for watching the playback terminal broadcasting, the playback terminal is controlled
Video is played, if the judging result is the video that target user does not play in the viewing playback terminal, is broadcast described in control
Terminal is put to stop playing video.
It is described to be based on the optical image in a kind of implementation of the invention, judge target user whether in viewing institute
The video for stating playback terminal broadcasting, obtains judging result, comprising:
Identify in the optical image whether there is target user using face recognition technology;
If there is target user in the optical image, characterization target user is obtained in the viewing playback terminal and plays view
The judging result of frequency;
If there is no target user in the optical image, obtains characterization target user and do not watching the playback terminal institute
Play the judging result of video.
In a kind of implementation of the invention, identifying there is target use in the optical image using face recognition technology
When family, further includes:
The target user in the optical image is detected whether in the video for watching the playback terminal broadcasting;
If the target user in the optical image executes the acquisition table in the video for watching the playback terminal broadcasting
Target user is levied the step of watching the judging result of the played video of playback terminal;
If the video that the target user in the optical image does not play in the viewing playback terminal, obtained described in execution
Target user must be characterized not the step of watching the judging result of the played video of playback terminal.
It is described to identify in the optical image whether there is mesh using face recognition technology in a kind of implementation of the invention
Mark user, comprising:
Using face recognition technology identify in the optical image with the presence or absence of with the face that prestores facial image and match
Region;
If it is, determining there is target user in the optical image;
If it has not, determining there is no target user in the optical image.
In a kind of implementation of the invention, the optical image for obtaining scene locating for playback terminal, comprising:
During playback terminal plays video, the direction state of the playback terminal is monitored;
When monitoring that variable quantity of the direction state of the playback terminal in third preset duration is greater than preset threshold,
Obtain the optical image of scene locating for the playback terminal.
In a kind of implementation of the invention, if the judging result is that target user is not watching the broadcasting
The video of terminal plays controls the playback terminal and stops playing video, comprising:
If the judging result is target user in the video for watching playback terminal broadcasting, sentence described in the acquisition
After disconnected result by duration reach the first preset duration when, in a manner of being intended to stop playing video, adjust the broadcasting
The parameter of terminal plays video;
After obtaining the judging result by duration reach the second preset duration when, control the playback terminal and stop
Play video, wherein second preset duration is greater than first preset duration.
The embodiment of the present invention also provides a kind of video playing control device, comprising:
Image acquiring module obtains scene locating for the playback terminal for the front camera by playback terminal
Optical image;
Judgment module is watched, for being based on the optical image, judges whether target user is watching the playback terminal
The video of broadcasting, obtains judging result;
Playing control module, if being target user in the view for watching the playback terminal broadcasting for the judging result
Frequently, it controls the playback terminal and plays video, if the judging result is that target user does not broadcast in the viewing playback terminal
The video put controls the playback terminal and stops playing video.
In a kind of implementation of the invention, the viewing judgment module, comprising:
Recognition of face submodule, for identifying in the optical image whether there is target user using face recognition technology;
First result obtains submodule, is to obtain characterization target when being for the recognition result in recognition of face submodule
User is in the judging result for watching the played video of playback terminal;
Second result obtain submodule, for the recognition result in recognition of face submodule be it is no when, obtain characterization target
User is not in the judging result for watching the played video of playback terminal.
In a kind of implementation of the invention, the viewing judgment module, further includes:
Detection sub-module is watched, is when being, to detect the optical image for the recognition result in recognition of face submodule
In target user whether in the video watching the playback terminal and playing, if the recognition result of viewing detection sub-module be it is yes,
Trigger first result and obtain submodule, if the recognition result of viewing detection sub-module be it is no, triggering second result obtains
Obtain submodule.
In a kind of implementation of the invention, the recognition of face submodule is specifically used for knowing using face recognition technology
In the not described optical image with the presence or absence of with the human face region that prestores facial image and match, if it is, determining the optics shadow
There is target user as in, if it has not, determining there is no target user in the optical image.
In a kind of implementation of the invention, the image acquiring module, comprising:
Pose monitors submodule, for monitoring the direction shape of the playback terminal during playback terminal plays video
State;
Image capturing submodule, for working as change of the direction state for monitoring the playback terminal in third preset duration
When change amount is greater than preset threshold, the optical image of scene locating for the playback terminal is obtained.
In a kind of implementation of the invention, the playing control module, comprising:
Parameter adjusting submodule, if being that target user is not watching the playback terminal broadcasting for the judging result
Video, after obtaining the judging result by duration reach the first preset duration when, to be intended to stop to play video
Mode, adjust the parameter that the playback terminal plays video;
Stop playing submodule, if being that target user does not play in the viewing playback terminal for the judging result
Video, after obtaining the judging result by duration reach the second preset duration when, control the playback terminal and stop
Play video, wherein second preset duration is greater than first preset duration.
The embodiment of the present invention also provides a kind of electronic equipment, including processor, communication interface, memory and communication bus,
Wherein, processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described video playing control
The step of method.
At the another aspect that the present invention is implemented, the embodiment of the invention also provides a kind of computer readable storage medium, institutes
It states and is stored with instruction in computer readable storage medium, when run on a computer, so that computer execution is any of the above-described
The step of described video playing control method.
At the another aspect that the present invention is implemented, the embodiment of the invention also provides a kind of, and the computer program comprising instruction is produced
Product, when run on a computer, so that computer executes any of the above-described video playing control method.
Video playing control method and device provided in an embodiment of the present invention can pass through the light of scene locating for playback terminal
Image is learned, judges whether target user is watching video, then is based on judging result, the broadcasting of video is controlled, thus according to viewing
The actual conditions of person realize that the broadcasting to video controls.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of flow chart of video playing control method provided in an embodiment of the present invention;
Fig. 2 is another flow chart of video playing control method provided in an embodiment of the present invention;
Fig. 3 is another flow chart of video playing control method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of video playing control device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of video playing control method and devices, below first to relating in the embodiment of the present invention
And concept be illustrated.
Playback terminal, including mobile phone, tablet computer, laptop, desktop computer, game machine, MP4 player, DVD are played
Device etc. can play the terminal device of video.
Optical image is the image obtained by optical device, can be static picture, is also possible to dynamic video.Light
Learning image can be the imaging of visible light, be also possible to the imaging of infrared ray.
Below by specific embodiment, video playing control method provided in an embodiment of the present invention is described in detail.
In order to solve broadcasting control of the prior art inconvenience playback terminal according to the realization of the actual conditions of viewer to video
The technical issues of processed, the embodiment of the present invention provide a kind of video playing control method, and specific technical solution is as follows:
By the front camera of playback terminal, the optical image of scene locating for playback terminal is obtained;
Based on optical image, judges the video whether target user plays in viewing playback terminal, obtain judging result;
If judging result is the video that target user plays in viewing playback terminal, control playback terminal plays video, if
Judging result is the video that target user does not play in viewing playback terminal, and control playback terminal stops playing video.
Video playing control method provided in an embodiment of the present invention can pass through the optics shadow of scene locating for playback terminal
Picture, judges whether target user is watching video, then is based on judging result, the broadcasting of video is controlled, thus according to viewer's
Actual conditions realize that the broadcasting to video controls.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of video playing control method provided in an embodiment of the present invention, including as follows
Step:
Step S101, by the front camera of playback terminal, the optical image of scene locating for playback terminal is obtained.
If playback terminal is mobile terminal, this step can be with are as follows: using the front camera of mobile terminal, to it is mobile eventually
Scene before the screen of end is shot to obtain optical image.Front camera may include: preposition infrared camera, Huo Zheqian
The original set feels camera deeply.
In this step, the optical image of scene locating for the playback terminal can be periodically obtained according to preset frequency.
Step S102, it is based on optical image, the video whether target user plays in viewing playback terminal is judged, is sentenced
Disconnected result.
It, can be by judging whether there is target user before screen, or by judging that the target before screen is used in this step
Whether family sees the direction to screen to judge target user whether in viewing video.If above-mentioned optical image is according to the broadcasting
The screen of terminal shows the direction of content, is shot to the scene before screen, then can be by judging optical image
In whether have face judge target user whether viewing video.
If step S103, judging result is the video that target user plays in viewing playback terminal, control playback terminal is broadcast
Video is put, if judging result is the video that target user does not play in viewing playback terminal, control playback terminal stops playing
Video.
If playback terminal is playing video, and judging result is that target user is watching the video, can be continued
Play the video.
If playback terminal is playing video, and judging result is target user in the viewing video, can be with
Stop playing the video.
If playback terminal is in the state that pause plays video, and judging result is that target user is watching the view
Frequently, can start to play the video.
If playback terminal plays the state of video in pause, and judging result is that target user is not somebody's turn to do in viewing
Video can continue the state for keeping pause to play the video.
Video playing control method provided in an embodiment of the present invention can pass through the optics shadow of scene locating for playback terminal
Picture, judges whether target user is watching video, then is based on judging result, the broadcasting of video is controlled, thus according to viewer's
Actual conditions realize that the broadcasting to video controls.
In a kind of implementation of the invention, in above-mentioned steps S102, it is based on the optical image, whether judges target user
In the video that viewing playback terminal plays, judging result is obtained, is specifically included: using in face recognition technology identification optical image
Whether target user is had.
If identification obtains having target user in optical image, obtains characterization target user and played in viewing playback terminal
The judging result of video obtains characterization target user and is not watching if identification obtains not having target user in optical image
The judging result of the played video of playback terminal.
If optical image is the direction for showing content according to the screen of the playback terminal, the scene before screen is clapped
Take the photograph, then identify whether there is face in the optical image, recognition result can be used to characterize target user whether
The video that viewing playback terminal is played.
Synchronization may be only a people in the viewer of viewing the played video of playback terminal, be also possible to multiple
People.When more people watch video, may exist one or two people see the short time to elsewhere the case where because to guarantee other people
Video can be normally watched, as long as detecting that there are faces in optical image.
In addition, viewer may watch video in more complicated environment, it in this case, may be also around viewer
There can be other personnel to walk about, at this time in above-mentioned optical image other than the face comprising viewer, it is also possible to include it
The face of his personnel identifies in optical image have using face recognition technology based in a kind of this implementation of the invention
After people, can also further determine that whether identified people is viewer, in the case where the artificial viewer identified,
Think the video that target user is played in viewing playback terminal.
In this implementation, by face recognition technology to determine whether there is target user, obtain target user whether
The judging result for the video that viewing playback terminal is played, the feature rich of face, for the identification of face characteristic, than passing through it
The accuracy rate height for the video whether his feature identification target user is played in viewing playback terminal.
Based on above-mentioned implementation, in another implementation of the invention, optics shadow is identified using face recognition technology
Whether there is target user as in, comprising: being identified in optical image using face recognition technology whether there is and prestore facial image
The human face region to match;
If identification obtains the human face region for existing in optical image with prestoring facial image and matching, optics shadow is determined
There is target user as in;If identification obtain in optical image there is no with the human face region that prestores facial image and match,
Determine there is no target user in optical image.
In this implementation, facial image is prestored, can be the owner of playback terminal for unlocking the playback terminal
Facial image can be the facial image of the viewer acquired during playback terminal plays video, can be local picture
The facial image of the related personnel of the owner of the playback terminal of storage is also possible to the facial image obtained from other programs.
This implementation is sentenced by whether there is and prestore facial image the human face region to match in identification optical image
The disconnected video for prestoring the corresponding target user of facial image and whether being played in viewing playback terminal, if the people in optical image,
In the people for watching the video before not being, then it will not be judged as that target user is watching the video.The view is being watched before not being
The people of frequency does not need that control is played the viewing the case where according to target user when seeing to the screen of the playback terminal.This realization
Mode eliminates this erroneous judgement factor, more accurately can control video playing according to the concrete condition of real viewer.
In a kind of implementation of the invention, above-mentioned steps S103 is based on the judging result, and control playback terminal plays view
Frequently, comprising: if the video that judging result characterization target user does not play in viewing playback terminal, is obtaining the judgement knot
After fruit by duration reach the first preset duration when, by be intended to stop play video in a manner of, adjustment playback terminal play
The parameter of video;After obtaining the judging result by duration reach the second preset duration when, control playback terminal stopping broadcast
Put video.
Wherein, the second preset duration is greater than the first preset duration.
It is intended to the mode for stopping playing video, it can be understood as be increasingly closer to the mode for stopping playing video.
Above-mentioned parameter may include: to play luminance parameter, broadcast sound volume parameter etc..
Based on this, in a manner of being intended to stop playing video, adjustment playback terminal plays the parameter of video, can wrap
Include: adjustment plays luminance parameter, so that playing the brightness of the screen of video reduces, or adjustment broadcast sound volume parameter, so that broadcasting
The wave volume for putting video becomes smaller.
In this implementation, obtain after the judging result by duration can be obtained by timer.Sentence obtaining this
When disconnected result, timer opens timing.Obtain after the judging result by duration reach the first preset duration at the time of and reach
At the time of to the second preset duration, determined by timer.Obtain after the judging result by duration reach first it is default when
At the time of at the time of long and reaching the second preset duration, it can also be determined by timer.When obtaining the judging result, timing
Device opening timing.After the first preset duration, timer provides instruction, characterization obtain after the judging result by when be up to
At the time of to the first preset duration.After the second preset duration, timer provides instruction, and characterization passes through after obtaining the judging result
At the time of the duration crossed reaches the second preset duration.
Control playback terminal stops playing video and can be suspending broadcasting, can be further continued for playing at any time, be also possible to move back
It plays out, after exiting broadcasting, it is desirable to replay needs again and restart playing program on playback terminal.
When people watch video using playback terminal before sleep, viewer may be gradually during watching video
Into sleep state.This implementation is obtaining the judging result for the video that target user does not play in viewing playback terminal
After a certain period of time, in a manner of being intended to stop playing video, adjustment playback terminal plays the parameter of video, using a timing
Between after control playback terminal stop play video.In this way control video broadcasting can prevent from being in progress into it is dormant
The video that viewer is played wakes up, while not stopping playing the viewing demand for meeting not yet sleeping viewer, and watching
Person stops playing after may falling asleep.
Fig. 2 show another flow chart of video playing control method provided in an embodiment of the present invention, specifically can wrap
Include following steps:
Step 201 plays video and monitors the direction state of playback terminal.
The direction state of playback terminal can be the direction of the playback terminal, be also possible to the playback terminal relative to absolute
The angular displacement of coordinate system.If playback terminal is relative to absolute coordinate system, there is no rotations, it is believed that the playback terminal
The size of angular displacement is zero.
If above-mentioned playback terminal is mobile terminal, the direction state of mobile terminal is monitored, can be somebody's turn to do by monitoring
The bearing data that gyroscope exports in mobile terminal is realized.
Step 202 judges whether variable quantity of the direction state of playback terminal in third preset duration is greater than default threshold
Value executes step 203, such as if variable quantity of the direction state of playback terminal in third preset duration is greater than preset threshold
Variable quantity of the direction state of fruit playback terminal in third preset duration is not more than preset threshold, executes step 201.
Judge whether variable quantity of the direction state of playback terminal in third preset duration is greater than preset threshold, it is intended to sentence
Whether the direction of disconnected playback terminal quickly changes enough amplitudes.The rotation by a small margin of preset threshold is not achieved, is unsatisfactory for item
Part.The amplitude of preset threshold is slowly had rotated, time-consuming is more than third preset duration, is also unsatisfactory for condition.
Step 203, the optical image for obtaining scene locating for playback terminal.
When playback terminal is mobile terminal, using the front camera of mobile terminal, to being clapped before mobile terminal screen
It takes the photograph, obtains optical image.
Step 204 judges the video whether target user plays in viewing playback terminal, if target user broadcasts in viewing
The video of terminal plays is put, step 201 is executed, if the video that target user does not play in viewing playback terminal, executes step
Rapid 205.
In the embodiment of the present invention, target user can be judged using face recognition technology for acquired optical image
The video whether played in viewing playback terminal.
Step 205 stops playing video.
Method provided in this embodiment, can be when monitoring that playback terminal direction state quickly changes, by playing eventually
The optical image for holding locating scene judges that target user whether in viewing video, then based on judging result, continues to play or suspend
It plays, can be used for coping with the case where emergency case interrupts video-see, improve the usage experience of video viewers.
Video playing control method provided by the above embodiment is illustrated below with reference to a concrete scene.
For example, viewer is multiplied using mobile terminal viewing video, above-mentioned viewer in discovery in commuting course on and off duty
After the subway or bus arrival of seat, pause broadcasting video may be had little time and just got off hastily.If at a time when video is broadcast when getting off
It is put into important segment, viewer may need to watch again, influence usage experience.And in this case, using of the invention real
When applying the scheme control video playing of example offer, which gets off hastily can quickly change the direction shape of the mobile terminal
State triggers the front camera shooting photo of mobile terminal, judges that target user does not regard in viewing according to captured photo
Frequently, video council stops playing, and the viewer would not miss the important segment of video in this way.
Fig. 3 show another flow chart of video playing control method provided in an embodiment of the present invention, specifically can wrap
Include following steps:
Step 301, the optical image for obtaining scene locating for playback terminal.
In the embodiment of the present invention, equipment to being shot before screen can be the front camera of mobile terminal.If
Someone is watching the video that the playback terminal is played, then needing to photograph this people's to the equipment shot before screen
Face.
Step 302 identifies in the optical image whether there is target user using face recognition technology, if it is, executing
Step S303, if it has not, executing step 305.
In the embodiment of the present invention, mesh can be judged whether there is using face recognition technology for acquired optical image
User is marked before the screen of playback terminal.
The video whether target user in step 303, detection optical image plays in viewing playback terminal, if optics
The video that target user in image plays in viewing playback terminal, executes step 304, if the target user in optical image
The video not played in viewing playback terminal, executes step 305.
In the embodiment of the present invention, the video that can feel camera shooting deeply by original judges that viewer at a time, is
The no screen seen to the playback terminal, if viewer does not see the screen to the playback terminal within the time of certain predetermined
Curtain then judges otherwise the target user in optical image does not judge in optical image in the video that viewing playback terminal plays
Target user viewing playback terminal play video.
The embodiment of the present invention can also be realized by common camera, realized and needed in step 301 by common camera
In, it is continuously shot plurality of pictures according to the preset time interval.Obtained picture is shot for step 301, passes through point cloud registering
Technological orientation goes out human eye coordinates, then identifies the state of two eyes.The state of eyes can be divided into eyes-open state and eye closing shape
State.Among the picture being continuously shot, if there is the continuous picture of preset quantity, two human eyes therein are all in eye closing shape
State then judges otherwise the target user in optical image does not judge in optical image in the video that viewing playback terminal plays
Target user viewing playback terminal play video.
For using the concrete scene of playback terminal viewing video before sleep, viewer can usually have been at broadcasting eventually
It before the screen at end, determines whether viewer enters hypnagogic state, needs the view whether played in viewing playback terminal to viewer
Frequency is detected.
Step 304, control playback terminal play video.
In the embodiment of the present invention, based on target user in the judging result for watching the played video of playback terminal, control is broadcast
Terminal plays video is put, broadcasting can be to continue with and execute the present embodiment before in the video of broadcasting, be also possible to start to broadcast
Put the video that a pause plays.
Step 305, control playback terminal stop playing video.
In the embodiment of the present invention, based on target user not in the judging result of viewing the played video of playback terminal, control
Terminal plays video is put in record and broadcast, be can be pause and is played video, can be continued to play at any time again again, is also possible to exit
It plays, after exiting broadcasting, it is desirable to replay needs again and restart playing program on playback terminal.
After the embodiment of the present invention has detected target user in optical image, the target in optical image is continued to test
The video whether user plays in viewing playback terminal, the condition of fine detection, can more accurately determine that target user is
The no video played in viewing playback terminal.
Based on the same inventive concept, the video playing control method provided according to that above embodiment of the present invention, correspondingly, this
Inventive embodiments additionally provide a kind of video playing control device, and structural schematic diagram is as shown in figure 4, specifically include:
Image acquiring module 401 obtains scene locating for the playback terminal for the front camera by playback terminal
Optical image;
Judgment module 402 is watched, for being based on the optical image, judges whether target user is watching the broadcasting eventually
The video played is held, judging result is obtained;
Playing control module 403, if being that target user is watching what the playback terminal played for the judging result
Video controls the playback terminal and plays video, if the judging result is that target user is not watching the playback terminal
The video of broadcasting controls the playback terminal and stops playing video.
Video playing control device provided in an embodiment of the present invention can pass through the optics shadow of scene locating for playback terminal
Picture, judges whether target user is watching video, then is based on judging result, the broadcasting of video is controlled, thus according to viewer's
Actual conditions realize that the broadcasting to video controls.
In a kind of implementation of the invention, the viewing judgment module 402, comprising:
Recognition of face submodule, for identifying in the optical image whether there is target user using face recognition technology;
First result obtains submodule, is to obtain characterization target when being for the recognition result in recognition of face submodule
User is in the judging result for watching the played video of playback terminal;
Second result obtain submodule, for the recognition result in recognition of face submodule be it is no when, obtain characterization target
User is not in the judging result for watching the played video of playback terminal.
In this implementation, by face recognition technology to determine whether there is target user, obtain target user whether
The judging result for the video that viewing playback terminal is played, the feature rich of face, for the identification of face characteristic, than passing through it
The accuracy rate height for the video whether his feature identification target user is played in viewing playback terminal.
In a kind of implementation of the invention, the viewing judgment module 402, further includes:
Detection sub-module is watched, is when being, to detect the optical image for the recognition result in recognition of face submodule
In target user whether in the video watching the playback terminal and playing, if the recognition result of viewing detection sub-module be it is yes,
Trigger first result and obtain submodule, if the recognition result of viewing detection sub-module be it is no, triggering second result obtains
Obtain submodule.
After this implementation has detected target user in optical image, the target continued to test in optical image is used
Whether the video whether family plays in viewing playback terminal, the condition of fine detection, more accurately can determine target user
In the video that viewing playback terminal plays.
In a kind of implementation of the invention, the recognition of face submodule is specifically used for knowing using face recognition technology
In the not described optical image with the presence or absence of with the human face region that prestores facial image and match, if it is, determining the optics shadow
There is target user as in, if it has not, determining there is no target user in the optical image.
This implementation is sentenced by whether there is and prestore facial image the human face region to match in identification optical image
The disconnected video for prestoring the corresponding target user of facial image and whether being played in viewing playback terminal, if the people in optical image,
In the people for watching the video before not being, then it will not be judged as that target user is watching the video.The view is being watched before not being
The people of frequency does not need that control is played the viewing the case where according to target user when seeing to the screen of the playback terminal.This realization
Mode eliminates this erroneous judgement factor, more accurately can control video playing according to the concrete condition of real viewer.
In a kind of implementation of the invention, the image acquiring module 401, comprising:
Pose monitors submodule, for monitoring the direction shape of the playback terminal during playback terminal plays video
State;
Image capturing submodule, for working as change of the direction state for monitoring the playback terminal in third preset duration
When change amount is greater than preset threshold, the optical image of scene locating for the playback terminal is obtained.
This implementation can pass through scene locating for playback terminal when monitoring that playback terminal direction state quickly changes
Optical image, judge that target user whether in viewing video, then is based on judging result, continue to play or suspend to play, can be with
For coping with the case where emergency case interrupts video-see, improve the usage experience of video viewers.
In a kind of implementation of the invention, the playing control module 403, comprising:
Parameter adjusting submodule, if being that target user is not watching the playback terminal broadcasting for the judging result
Video, after obtaining the judging result by duration reach the first preset duration when, to be intended to stop to play video
Mode, adjust the parameter that the playback terminal plays video;
Stop playing submodule, if being that target user does not play in the viewing playback terminal for the judging result
Video, after obtaining the judging result by duration reach the second preset duration when, control the playback terminal and stop
Play video, wherein second preset duration is greater than first preset duration.
When people watch video using playback terminal before sleep, viewer may be gradually during watching video
Into sleep state.This implementation is obtaining the judging result for the video that target user does not play in viewing playback terminal
After a certain period of time, in a manner of being intended to stop playing video, adjustment playback terminal plays the parameter of video, using a timing
Between after control playback terminal stop play video.In this way control video broadcasting can prevent from being in progress into it is dormant
The video that viewer is played wakes up, while not stopping playing the viewing demand for meeting not yet sleeping viewer, and watching
Person stops playing after may falling asleep.
Based on the same inventive concept, the video playing control method provided according to that above embodiment of the present invention, correspondingly, this
Inventive embodiments additionally provide a kind of electronic equipment, as shown in figure 5, including processor 501, communication interface 502, memory 503
With communication bus 504, wherein processor 501, communication interface 502, memory 503 are completed mutual by communication bus 504
Communication,
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes any video in above-described embodiment
The step of control method for playing back.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy
The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also
To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.
Video playing controlling electronic devices provided in an embodiment of the present invention can pass through the optics of scene locating for playback terminal
Image, judges whether target user is watching video, then is based on judging result, the broadcasting of video is controlled, thus according to viewer
Actual conditions realize the broadcasting of video controlled.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can
It reads to be stored with instruction in storage medium, when run on a computer, so that computer executes any view in above-described embodiment
The step of frequency control method for playing back.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it
When running on computers, so that computer executes any video playing control method in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter
Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For electronic equipment, computer readable storage medium and computer program product embodiments, since it is substantially similar to method reality
Example is applied, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (13)
1. a kind of video playing control method characterized by comprising
By the front camera of playback terminal, the optical image of scene locating for the playback terminal is obtained;
Based on the optical image, judge that target user whether in the video for watching the playback terminal broadcasting, obtains judgement knot
Fruit;
If the judging result is target user in the video for watching the playback terminal broadcasting, controls the playback terminal and play
Video controls the broadcasting eventually if the judging result is target user not in the video for watching the playback terminal broadcasting
End stops playing video.
2. judging that target user is the method according to claim 1, wherein described be based on the optical image
The no video played in the viewing playback terminal, obtains judging result, comprising:
Identify in the optical image whether there is target user using face recognition technology;
If there is target user in the optical image, obtains characterization target user and watching the played video of playback terminal
Judging result;
If there is no target user in the optical image, obtains characterization target user and do not played in the viewing playback terminal
The judging result of video.
3. according to the method described in claim 2, it is characterized in that, identifying the optical image using face recognition technology
In when having target user, further includes:
The target user in the optical image is detected whether in the video for watching the playback terminal broadcasting;
If the target user in the optical image executes the acquisition and characterizes mesh in the video for watching the playback terminal broadcasting
User is marked the step of watching the judging result of the played video of playback terminal;
If the target user in the optical image executes the acquisition table not in the video for watching the playback terminal broadcasting
Target user is levied not the step of watching the judging result of the played video of playback terminal.
4. according to the method described in claim 2, it is characterized in that, described identify the optical image using face recognition technology
In whether have target user, comprising:
Using face recognition technology identify in the optical image with the presence or absence of with the human face region that prestores facial image and match;
If it is, determining there is target user in the optical image;
If it has not, determining there is no target user in the optical image.
5. method according to any of claims 1-4, which is characterized in that scene locating for the acquisition playback terminal
Optical image, comprising:
During playback terminal plays video, the direction state of the playback terminal is monitored;
When monitoring that variable quantity of the direction state of the playback terminal in third preset duration is greater than preset threshold, obtain
The optical image of scene locating for the playback terminal.
6. if the method according to claim 1, wherein the judging result is that target user is not seeing
It sees the video that the playback terminal plays, controls the playback terminal and stop playing video, comprising:
If the judging result is target user not in the video for watching the playback terminal broadcasting, the judgement knot is being obtained
After fruit by duration reach the first preset duration when, by be intended to stop play video in a manner of, adjust the playback terminal
Play the parameter of video;
After obtaining the judging result by duration reach the second preset duration when, control the playback terminal and stop playing
Video, wherein second preset duration is greater than first preset duration.
7. a kind of video playing control device characterized by comprising
Image acquiring module obtains the optics of scene locating for the playback terminal for the front camera by playback terminal
Image;
Judgment module is watched, for being based on the optical image, judges whether target user is watching the playback terminal broadcasting
Video, obtain judging result;
Playing control module, if being target user in the video for watching the playback terminal broadcasting, control for the judging result
It makes the playback terminal and plays video, if the judging result is target user not in the view for watching the playback terminal broadcasting
Frequently, the playback terminal is controlled to stop playing video.
8. device according to claim 7, which is characterized in that the viewing judgment module, comprising:
Recognition of face submodule, for identifying in the optical image whether there is target user using face recognition technology;
First result obtains submodule, is to obtain characterization target user when being for the recognition result in recognition of face submodule
In the judging result for watching the played video of playback terminal;
Second result obtain submodule, for the recognition result in recognition of face submodule be it is no when, obtain characterization target user
Not in the judging result for watching the played video of playback terminal.
9. device according to claim 8, which is characterized in that the viewing judgment module, further includes:
Detection sub-module is watched, is when being, to detect in the optical image for the recognition result in recognition of face submodule
Whether target user is in the video for watching the playback terminal broadcasting, if the recognition result of viewing detection sub-module is yes, triggering
First result obtains submodule, if the recognition result of viewing detection sub-module is no, triggering the second result acquisition
Module.
10. device according to claim 8, which is characterized in that
The recognition of face submodule, be specifically used for identifying using face recognition technology in the optical image with the presence or absence of with it is pre-
The human face region that facial image matches is deposited, if it is, determining there is target user in the optical image, if it has not, determining institute
Stating does not have target user in optical image.
11. the device according to any one of claim 7-10, which is characterized in that the image acquiring module, comprising:
Pose monitors submodule, for monitoring the direction state of the playback terminal during playback terminal plays video;
Image capturing submodule, for working as variable quantity of the direction state for monitoring the playback terminal in third preset duration
When greater than preset threshold, the optical image of scene locating for the playback terminal is obtained.
12. device according to claim 7, which is characterized in that the playing control module, comprising:
Parameter adjusting submodule, if being target user not in the view for watching the playback terminal broadcasting for the judging result
Frequently, after obtaining the judging result by duration reach the first preset duration when, to be intended to the side for stopping playing video
Formula adjusts the parameter that the playback terminal plays video;
Stop playing submodule, if being target user not in the view for watching the playback terminal broadcasting for the judging result
Frequently, after obtaining the judging result by duration reach the second preset duration when, control the playback terminal and stop playing
Video, wherein second preset duration is greater than first preset duration.
13. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing
Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810952703.2A CN109195015A (en) | 2018-08-21 | 2018-08-21 | A kind of video playing control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810952703.2A CN109195015A (en) | 2018-08-21 | 2018-08-21 | A kind of video playing control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109195015A true CN109195015A (en) | 2019-01-11 |
Family
ID=64918773
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810952703.2A Pending CN109195015A (en) | 2018-08-21 | 2018-08-21 | A kind of video playing control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109195015A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889901A (en) * | 2019-03-27 | 2019-06-14 | 深圳创维-Rgb电子有限公司 | Control method for playing back, device, equipment and the storage medium of playback terminal |
CN110825449A (en) * | 2019-09-19 | 2020-02-21 | 咪咕音乐有限公司 | Music playing method, electronic equipment and storage medium |
CN111050266A (en) * | 2019-12-20 | 2020-04-21 | 朱凤邹 | Method and system for performing function control based on earphone detection action |
CN111726689A (en) * | 2020-06-30 | 2020-09-29 | 北京奇艺世纪科技有限公司 | Video playing control method and device |
CN112399239A (en) * | 2020-10-28 | 2021-02-23 | 维沃移动通信有限公司 | Video playing method and device |
CN112543358A (en) * | 2019-09-20 | 2021-03-23 | 青岛海尔洗衣机有限公司 | Control method, washing machine, playing terminal and storage medium |
CN112866809A (en) * | 2020-12-31 | 2021-05-28 | 百度在线网络技术(北京)有限公司 | Video processing method and device, electronic equipment and readable storage medium |
CN113132801A (en) * | 2019-12-31 | 2021-07-16 | 中移(苏州)软件技术有限公司 | Video playing control method, device, terminal and storage medium |
CN117692717A (en) * | 2024-01-30 | 2024-03-12 | 利亚德智慧科技集团有限公司 | Breakpoint continuous broadcasting processing method and device for light show, storage medium and electronic equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011706A1 (en) * | 2005-07-11 | 2007-01-11 | Inventec Corporation | Video browsing system and method |
CN103517138A (en) * | 2012-06-18 | 2014-01-15 | 联想(北京)有限公司 | State switching method and electronic apparatus |
CN103618944A (en) * | 2013-11-27 | 2014-03-05 | 乐视网信息技术(北京)股份有限公司 | Method for controlling video and user terminal |
CN105138321A (en) * | 2015-08-04 | 2015-12-09 | 安一恒通(北京)科技有限公司 | Terminal control method and system |
CN106020510A (en) * | 2016-05-17 | 2016-10-12 | 广东欧珀移动通信有限公司 | Control method and device of terminal |
CN106060660A (en) * | 2016-05-31 | 2016-10-26 | 乐视控股(北京)有限公司 | Terminal control method and device |
CN106454456A (en) * | 2016-10-31 | 2017-02-22 | 维沃移动通信有限公司 | Video playing control method and mobile terminal |
CN106792182A (en) * | 2017-02-15 | 2017-05-31 | 广东小天才科技有限公司 | Video playback method, mobile terminal and audio output apparatus |
CN107369305A (en) * | 2017-08-22 | 2017-11-21 | 中原工学院 | A kind of children's vision protection system and its application method |
CN107566898A (en) * | 2017-09-18 | 2018-01-09 | 广东小天才科技有限公司 | Control method, control device and the terminal device of video playback |
CN107613368A (en) * | 2017-09-26 | 2018-01-19 | 珠海市魅族科技有限公司 | Video pause method and apparatus, computer installation and computer-readable recording medium |
-
2018
- 2018-08-21 CN CN201810952703.2A patent/CN109195015A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011706A1 (en) * | 2005-07-11 | 2007-01-11 | Inventec Corporation | Video browsing system and method |
CN103517138A (en) * | 2012-06-18 | 2014-01-15 | 联想(北京)有限公司 | State switching method and electronic apparatus |
CN103618944A (en) * | 2013-11-27 | 2014-03-05 | 乐视网信息技术(北京)股份有限公司 | Method for controlling video and user terminal |
CN105138321A (en) * | 2015-08-04 | 2015-12-09 | 安一恒通(北京)科技有限公司 | Terminal control method and system |
CN106020510A (en) * | 2016-05-17 | 2016-10-12 | 广东欧珀移动通信有限公司 | Control method and device of terminal |
CN106060660A (en) * | 2016-05-31 | 2016-10-26 | 乐视控股(北京)有限公司 | Terminal control method and device |
CN106454456A (en) * | 2016-10-31 | 2017-02-22 | 维沃移动通信有限公司 | Video playing control method and mobile terminal |
CN106792182A (en) * | 2017-02-15 | 2017-05-31 | 广东小天才科技有限公司 | Video playback method, mobile terminal and audio output apparatus |
CN107369305A (en) * | 2017-08-22 | 2017-11-21 | 中原工学院 | A kind of children's vision protection system and its application method |
CN107566898A (en) * | 2017-09-18 | 2018-01-09 | 广东小天才科技有限公司 | Control method, control device and the terminal device of video playback |
CN107613368A (en) * | 2017-09-26 | 2018-01-19 | 珠海市魅族科技有限公司 | Video pause method and apparatus, computer installation and computer-readable recording medium |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889901A (en) * | 2019-03-27 | 2019-06-14 | 深圳创维-Rgb电子有限公司 | Control method for playing back, device, equipment and the storage medium of playback terminal |
CN110825449A (en) * | 2019-09-19 | 2020-02-21 | 咪咕音乐有限公司 | Music playing method, electronic equipment and storage medium |
CN112543358A (en) * | 2019-09-20 | 2021-03-23 | 青岛海尔洗衣机有限公司 | Control method, washing machine, playing terminal and storage medium |
CN112543358B (en) * | 2019-09-20 | 2023-12-01 | 青岛海尔洗衣机有限公司 | Control method, washing machine, playing terminal and storage medium |
CN111050266A (en) * | 2019-12-20 | 2020-04-21 | 朱凤邹 | Method and system for performing function control based on earphone detection action |
CN113132801A (en) * | 2019-12-31 | 2021-07-16 | 中移(苏州)软件技术有限公司 | Video playing control method, device, terminal and storage medium |
CN111726689A (en) * | 2020-06-30 | 2020-09-29 | 北京奇艺世纪科技有限公司 | Video playing control method and device |
CN112399239A (en) * | 2020-10-28 | 2021-02-23 | 维沃移动通信有限公司 | Video playing method and device |
CN112399239B (en) * | 2020-10-28 | 2023-03-10 | 维沃移动通信有限公司 | Video playing method and device |
CN112866809A (en) * | 2020-12-31 | 2021-05-28 | 百度在线网络技术(北京)有限公司 | Video processing method and device, electronic equipment and readable storage medium |
CN117692717A (en) * | 2024-01-30 | 2024-03-12 | 利亚德智慧科技集团有限公司 | Breakpoint continuous broadcasting processing method and device for light show, storage medium and electronic equipment |
CN117692717B (en) * | 2024-01-30 | 2024-05-07 | 利亚德智慧科技集团有限公司 | Breakpoint continuous broadcasting processing method and device for light show, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109195015A (en) | A kind of video playing control method and device | |
US10667007B2 (en) | Automated video content display control using eye detection | |
US20100107184A1 (en) | TV with eye detection | |
JP5263092B2 (en) | Display device and control method | |
US10491826B2 (en) | Method for obtaining panning shot image and electronic device supporting the same | |
US9706179B2 (en) | Projection method and electronic device | |
US7676145B2 (en) | Camera configurable for autonomous self-learning operation | |
CN109167877B (en) | Terminal screen control method and device, terminal equipment and storage medium | |
US20110267374A1 (en) | Information display apparatus and information display method | |
CN103473511B (en) | Media playing method and equipment | |
CN106909221A (en) | Image processing method and device based on VR systems | |
JP2007265125A (en) | Content display | |
CN110266941A (en) | A kind of panorama shooting method and terminal device | |
CN106020510A (en) | Control method and device of terminal | |
CN105657500B (en) | A kind of video playing control method and device | |
EP3104304B1 (en) | Electronic apparatus and method of extracting still images | |
CN105721739B (en) | Anti-shaking system and method for screen image | |
CN105376486A (en) | Mobile terminal and control method thereof | |
WO2016197665A1 (en) | Projection implementation method, projection control device, and projector | |
TWI709130B (en) | Device and method for automatically adjusting display screen | |
CN108398845A (en) | Projection device control method and projection device control device | |
CN112261476B (en) | Child mode monitoring method and system | |
US20140298374A1 (en) | Video device and method for control and monitoring usage of video device | |
CN111147935A (en) | Control method of television, intelligent household control equipment and storage medium | |
WO2016179883A1 (en) | Method and apparatus for rotating display picture of terminal screen |
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 |