Embodiment
Some vocabulary is used among specification and claims to censure specific component, the skill in art
Art personnel are, it is to be appreciated that manufacturer may call same component with different nouns.Present specification and claims
Not in a manner of the difference of title is used as and distinguishes component, but it is used as the base of differentiation with the difference of component functionally
It is accurate.The present invention is described in detail with reference to the accompanying drawings and examples.
Fig. 1 is the flow chart of the method for the automatic diminution video window of first embodiment of the invention.If it is noted that have
Substantially the same result, method of the invention are not limited with the flow order shown in Fig. 1.As shown in figure 1, this method includes
Following steps:
Step S101:When user carries out video calling by mobile terminal, mobile terminal week is obtained at predetermined time intervals
The image information on side.
In step S101, mobile terminal can include such as mobile phone, smart phone, notebook computer, individual number
The equipment such as word assistant (PDA), tablet personal computer (PAD).Wherein, mobile terminal periphery finding a view for the front camera of mobile terminal
Scope.In the present embodiment, when user by mobile terminal carry out video calling when, at predetermined time intervals by mobile terminal before
Put the image information in the viewfinder range of camera acquisition front camera.
Step S102:Judge whether mobile terminal periphery has the third party outside user to add according to image information, if so,
Step S103 is performed, otherwise performs step S104.
In step s 102, when the quantity for the face that can recognize that in image information is more than two width, then confirm mobile whole
End periphery has the third party outside user to add.
Step S103:It is automatic to reduce video window to remind user.
In step s 103, when step S102 judges that mobile terminal periphery has the third party outside user to add, automatically
Reduce video window reminds user to have the third party outside user under the table watching video calling content and resistance attentively to reach
The third party outside user is hindered to continue to watch the purpose of video calling content attentively.
Preferably, while automatic diminution video window is performed to remind the operation of user, can also carry out movement
The image information of terminal, peripheral is stored in the operation in the photograph album of mobile terminal, to facilitate subsequent user to know outside user
Whom three people are.
Step S104:Keep video window constant.
In step S104, when step S102 judges that mobile terminal periphery does not have the third party outside user to add,
When i.e. mobile terminal periphery only has the video window that user is look at mobile terminal, keep video window constant.
Above as can be seen that the present invention by when user by mobile terminal carry out video calling when, at predetermined time intervals
Obtain the image information on mobile terminal periphery;Judge whether mobile terminal periphery has the third party outside user according to image information
Add;It is automatic to reduce video window to remind user if mobile terminal periphery has the third party outside user to add.By upper
Mode is stated, privacy compromised probability when the present invention can reduce user video call, user video call is improved so as to reach
Security purpose.
Fig. 2 is the flow chart of the method for the automatic diminution video window of second embodiment of the invention.If it is noted that have
Substantially the same result, method of the invention are not limited with the flow order shown in Fig. 2.As shown in Fig. 2 this method includes
Following steps:
Step S201:When user carries out video calling by mobile terminal, mobile terminal week is obtained at predetermined time intervals
The image information on side.
In step s 201, mobile terminal can include such as mobile phone, smart phone, notebook computer, individual number
The equipment such as word assistant (PDA), tablet personal computer (PAD).Wherein, mobile terminal periphery finding a view for the front camera of mobile terminal
Scope.
In the present embodiment, when user carries out video calling by mobile terminal, at predetermined time intervals by mobile terminal
Front camera obtain front camera viewfinder range in image information.
Step S202:The biological information of face is extracted from image information.
In step S202, the biological information of face can include shape of face information, dimension information, pupil information, face
Portion's characteristic information etc. has the information of identification, wherein, facial feature information can include double-edged eyelid, bang, Zhi Deng faces spy
Sign.
It will be understood to those skilled in the art that if mobile terminal periphery only has user, can only be carried from image information
The biological information of the face of user is taken out, if there is the third party outside user on mobile terminal periphery, from image information
The biological information of the face of the third party outside user and user can be extracted simultaneously.
Step S203:Judge the biological information of face that extracts and default biological information whether phase
Match somebody with somebody, if it is not, then performing step S204, otherwise perform step S205.
In step S203, default biological information obtains according to following manner:Obtain the image of the face of user
Information, from the image information of the face of user extract user face biological information and preserve in the terminal with
Form default biological information.
In the present embodiment, default biological information can include user's face feature different from ordinary people, example
Such as:Double-edged eyelid, bang, mole etc., so as to more quickly determine that the biological information of the face extracted whether be
The biological information of the face of user.
In the present embodiment, judge the biological information of face that extracts and default biological information whether phase
Matching, its essence are exactly to determine whether the third party outside user in the viewfinder range of front camera.That is, work as
When the biological information of the face extracted does not match that with default biological information, it is determined that mobile terminal periphery has
The third party outside user adds;When the biological information of the face extracted matches with default biological information
When, it is determined that there was only user in mobile terminal periphery.
In the present embodiment, judge the biological information of face that extracts and default biological information whether phase
The specific method of matching can be the matching algorithm based on characteristics of image, matching algorithm based on gradation of image etc..
Step S204:It is automatic to reduce video window to remind user.
In step S204, biological information and default biological characteristic when the face that step S203 judgements extract
Information do not match that, namely when there is the video window that the third party outside user is look at mobile terminal on mobile terminal periphery,
It is automatic to reduce video window to remind user.
Step S205:Keep video window constant.
In step S205, biological information and default biological characteristic when the face that step S203 judgements extract
Information match, namely when mobile terminal periphery only has the video window that user is look at mobile terminal, keep video window
It is constant.
Above as can be seen that the present invention by when user by mobile terminal carry out video calling when, at predetermined time intervals
Obtain the image information on mobile terminal periphery;The biological information of face is extracted according to image information;Judge the people extracted
Whether the biological information of face matches with default biological information;It is automatic to reduce video window if not matching that
To remind user.By the above-mentioned means, privacy compromised probability when the present invention can reduce user video call, so as to reach
Improve the purpose of the security of user video call.
Fig. 3 is the flow chart of the method for the automatic diminution video window of third embodiment of the invention.If it is noted that have
Substantially the same result, method of the invention are not limited with the flow order shown in Fig. 3.As shown in figure 3, this method includes
Following steps:
Step S301:There is provided one and interface is set, so that user input diminution video window function institute on interface is set is right
The parameter answered.
In step S301, reduce video window function and be provided with a setting interface, reduce video window work(for inputting
Parameter corresponding to energy, the parameter includes the default concern time, reduce after video window default size and predeterminated position, with
And default biological information etc..
In the present embodiment, reduce video window function in the form of background process to exist, it will be rear Yi Dan opened
Platform is run always.Wherein, the video call function of mobile terminal and diminution video window function can be independently of each other, it is necessary to respectively
Open;It can also be after video call function is opened, automatically turn on and reduce video window function.
Step S302:When user carries out video calling by mobile terminal, mobile terminal week is obtained at predetermined time intervals
The image information on side.
In step s 302, mobile terminal can include such as mobile phone, smart phone, notebook computer, individual number
The equipment such as word assistant (PDA), tablet personal computer (PAD).Wherein, mobile terminal periphery finding a view for the front camera of mobile terminal
Scope.
In the present embodiment, when user carries out video calling by mobile terminal, at predetermined time intervals by mobile terminal
Front camera obtain front camera viewfinder range in image information.
Step S303:The biological information of face is extracted from image information.
In step S303, the biological information of face can include shape of face information, dimension information, pupil information, face
Portion's characteristic information etc. has the information of identification, wherein, facial feature information can include double-edged eyelid, bang, Zhi Deng faces spy
Sign.
It will be understood to those skilled in the art that if mobile terminal periphery only has user, can only be carried from image information
The biological information of the face of user is taken out, if there is the third party outside user on mobile terminal periphery, from image information
The biological information of the face of the third party outside user and user can be extracted simultaneously.
Step S304:Judge the biological information of face that extracts and default biological information whether phase
Match somebody with somebody, if it is not, performing step S305, otherwise perform step S309.
In step s 304, default biological information obtains according to following manner:Obtain the image of the face of user
Information, from the image information of the face of user extract user face biological information and preserve in the terminal with
Form default biological information.
In the present embodiment, default biological information can include user's face feature different from ordinary people, example
Such as:Double-edged eyelid, bang, mole etc., so as to more quickly determine that the biological information of the face extracted whether be
The face of user.
In the present embodiment, judge the biological information of face that extracts and default biological information whether phase
Matching, its essence are exactly to determine whether the third party outside user in the viewfinder range of front camera.That is, work as
When the biological information of the face extracted does not match that with default biological information, it is determined that mobile terminal periphery has
The third party outside user adds;When the biological information of the face extracted matches with default biological information
When, it is determined that there was only user in mobile terminal periphery.
In the present embodiment, judge the biological information of face that extracts and default biological information whether phase
The specific method of matching can be the matching algorithm based on characteristics of image, matching algorithm based on gradation of image etc..
Step S305:Whether there is pupil information in the biological information for the face for judging to extract, if so, performing step
S306, otherwise perform step S309.
In step S305, biological information and default biological characteristic when the face that step S304 judgements extract
When information mismatches, it is determined that mobile terminal periphery has the third party outside user to add, and now, determines whether what is extracted
Whether the biological information of face has pupil information.
In the present embodiment, whether the biological information for the face for judging to extract has pupil information, and its essence is exactly
Judge whether the eyes of the third party outside user watch the video window of mobile terminal attentively.That is, as the people extracted
The biological information of face has pupil information, it is determined that the eye gaze of the third party outside user the video window of mobile terminal
Mouthful;When the biological information of the face extracted does not have pupil information, it is determined that the eye gaze of the third party outside user
Other places outside video window.
Step S306:Obtain the duration for the video window for watching mobile terminal attentively.
In step S306, when having pupil information in the biological information for the face for judging to extract in step S305
When, the duration of the video window of mobile terminal is watched in further acquisition attentively.
The step of duration for obtaining the video window for watching mobile terminal attentively, includes:Passed through with n (n≤4) second frequency
Front camera catches the two field picture on mobile terminal periphery;Why by front camera catch image frequency setting be less than
It is that the frequency normally blinked based on the mankind is 5 seconds/time, carrying out picture catching with the frequency of 4 seconds or lower can subtract equal to 4 seconds
The error blinked less;Two field picture is parsed, if it is judged that the pupil letter of the third party outside above-mentioned user is not present in certain two field picture
Breath, then confirm that the third party outside user has not been absorbed in the video window of mobile terminal;Finally, obtain in the absence of above-mentioned
The frame number of the two field picture of the pupil information of the third party outside user, it is the video window that can be watched attentively mobile terminal according to frame number
The duration of mouth.
Step S307:Judge whether the duration exceedes the default concern time, if so, performing step S308, otherwise perform
Step S309.
In step S307, the default concern time can be set according to actual conditions, such as can be 3 seconds, 5 seconds etc.
Deng.In the present embodiment, when the duration exceeding the default concern time, it is determined that the third party outside user is absorbed in movement
The video window of terminal;When the duration being not above the default concern time, it is determined that the third party outside user is only
Accidentally see the video window of mobile terminal.
Step S308:It is automatic to reduce video window to remind user.
In step S208, when judging that the duration exceedes the predetermined concern time in step S207, then illustrate user it
The outer third party is paying close attention to the video calling content of user, and now, the automatic video window that reduces reminds user to have user to reach
Outside the third party under the table watching video calling content attentively and hindering the third party outside user to continue to watch video attentively and lead to
Talk about the purpose of content.
The automatic operation for reducing video window specifically includes:According to default size video window is reduced automatically and in default position
The video window after display is reduced is put, wherein, default size can be 1/2,1/4 etc. of original video window, predeterminated position
It can be marginal position of mobile terminal etc..
Preferably, when judging that the duration exceedes the predetermined concern time in step S207, can also carry out will be mobile whole
The image information of end periphery is stored in the operation in the photograph album of mobile terminal, to facilitate subsequent user to know the outside user the 3rd
Whom people is.
Step S309:Keep video window constant.
In step S309, biological information and default biological characteristic when the face that step S304 judgements extract
During information match or when there is no pupil information in the biological information of the step S305 faces for judging to extract or work as
Step S307 judges that the duration for the video window that the third party outside user watches mobile terminal attentively is not above default pass
When noting the time, it is determined that mobile terminal periphery only has the video window that user is look at mobile terminal, now keeps video window
Mouth is constant.
Above as can be seen that the present invention by when user by mobile terminal carry out video calling when, at predetermined time intervals
Obtain the image information on mobile terminal periphery;Judge whether mobile terminal periphery has the third party outside user according to image information
Add;If mobile terminal periphery has the third party outside user to add, determine whether the third party outside user is absorbed in
In the video window of mobile terminal;If the third party outside user is absorbed in the video window of mobile terminal, automatic reduce regards
Frequency window is to remind user.By the above-mentioned means, the present invention can improve the automatic accuracy for reducing video window, used improving
Ensure Experience Degree of the user to the video call function of mobile terminal while the security of family video calling.
Referring to Fig. 4, Fig. 4 is the structural representation of the embodiment of mobile terminal one of the present invention.
In the present embodiment, mobile terminal 300 includes processor 21 and camera circuit 22, and processor 21 couples camera
Circuit 22.Camera circuit 22 is used for the image information for obtaining mobile terminal periphery, and processor 21 is used for according to camera circuit
The image information on the 22 mobile terminal peripheries obtained is responded and handled, and realizes the automatic diminution that above-described embodiment is illustrated
The method of video window.
Referring to Fig. 5, Fig. 5 is the structural representation of the embodiment of inventive memory device one.
In the present embodiment, storage device 400 is had program stored therein data 401, and routine data 401 can be performed to realize
The method for the automatic diminution video window that above-described embodiment is illustrated, is just repeated no more herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can
To realize by another way.For example, device embodiments described above are schematical, for example, the module or
The division of unit, it is a kind of division of logic function, can there is other dividing mode, such as multiple units or group when actually realizing
Part can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown
Or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, device or unit it is indirect
Coupling or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of present embodiment according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
It is each that equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention
The all or part of step of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this
The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, it is included within the scope of the present invention.