CN109729431A - The method for secret protection and terminal device of video - Google Patents
The method for secret protection and terminal device of video Download PDFInfo
- Publication number
- CN109729431A CN109729431A CN201811603683.4A CN201811603683A CN109729431A CN 109729431 A CN109729431 A CN 109729431A CN 201811603683 A CN201811603683 A CN 201811603683A CN 109729431 A CN109729431 A CN 109729431A
- Authority
- CN
- China
- Prior art keywords
- video
- picture frame
- secret protection
- thread
- described image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a kind of method for secret protection of video and terminal devices, to solve the video because needing user to choose setting access authority manually, cumbersome problem.This method comprises: detecting whether the trigger condition for meeting video secret protection;If meeting the trigger condition of video secret protection, according to the preset picture frame for obtaining Rule video;Whether detection described image frame meets video secret protection condition;If described image frame meets video secret protection condition, access authority is arranged to the video.
Description
Technical field
The present embodiments relate to terminal device technical field more particularly to the method for secret protection and terminal of a kind of video
Equipment.
Background technique
It is become increasingly popular With the fast development of internet with all kinds of Video Applications, the personal privacy protection of video obtains
Extensive concern, not revealing privacy while guaranteeing Video Applications is the hot issue studied at present.Access right is arranged to video
Limit can play the role of secret protection, however, how to determine which video needs that access right is arranged for a large amount of video
Limit, it is a problem which video, which does not need setting access authority,.In the related technology, it generally requires user and chooses manually and need to set
The video of access authority is set, and then access authority is added to the video that user chooses, it is cumbersome.
Summary of the invention
The embodiment of the present invention provides the method for secret protection and terminal device of a kind of video, to solve because needing user manual
Choose the video of setting access authority, cumbersome problem.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, a kind of method for secret protection of video is provided, this method comprises:
Detect whether the trigger condition for meeting video secret protection;
If meeting the trigger condition of video secret protection, according to the preset picture frame for obtaining Rule video;
Whether detection described image frame meets video secret protection condition;
If described image frame meets video secret protection condition, access authority is arranged to the video.
Second aspect provides a kind of terminal device, which includes:
Detection module, for detecting whether meeting the trigger condition of video secret protection;
Picture frame obtains module, if the trigger condition for meeting video secret protection, according to preset acquisition rule
Obtain the picture frame of video;
Detection module, for detecting whether described image frame meets video secret protection condition;
Access authority setup module, if meeting video secret protection condition for described image frame, to the video
Access authority is set.
The third aspect provides a kind of terminal device, which includes processor, memory and be stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
The step of method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, stores meter on the computer readable storage medium
Calculation machine program, the step of method as described in relation to the first aspect is realized when the computer program is executed by processor.
In embodiments of the present invention, if the trigger condition for meeting video secret protection can obtain the picture frame of video,
If picture frame, which meets video secret protection condition, access authority is arranged to video, solve because needing user to choose manually
Need the video of access authority, cumbersome problem.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the method for secret protection flow diagram for the video that one embodiment of the present of invention provides;
Fig. 2 be another embodiment of the present invention provides video method for secret protection flow diagram;
Fig. 3 is that the list of videos in the method for secret protection for the video that one embodiment of the present of invention provides shows signal
Figure;
Fig. 4 is the method for secret protection flow diagram for the video that yet another embodiment of the present invention provides;
Fig. 5 is the terminal device structural schematic diagram that one embodiment of the present of invention provides;
A kind of hardware structural diagram of Fig. 6 terminal device of each embodiment to realize the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
As shown in Figure 1, one embodiment of the present of invention provides a kind of method for secret protection 100 of video, including walk as follows
It is rapid:
S102: the trigger condition for meeting video secret protection is detected whether;
If meeting the trigger condition of video secret protection, S104 is thened follow the steps;
If being unsatisfactory for the trigger condition of video secret protection, terminate process.
S104: according to the preset picture frame for obtaining Rule video.
The method for secret protection of video provided in an embodiment of the present invention can be applied in terminal device, and terminal device is being transported
During row, the trigger condition for whether meeting video secret protection can be detected, if it is satisfied, the image of video can be obtained
Frame;If conditions are not met, can then terminate process.
Above-mentioned video not only may include local video, can also include video related to user in Internet application,
Such as the video etc. that user uploads in short Video Applications.
Optionally, in one embodiment, above-mentioned trigger condition can be video and be playing, correspondingly, step
The implementation procedure of S102 and S104 is as follows: if detecting that video is playing, playing according to preset acquisition Rule
The picture frame of video.
Optionally, in one embodiment, above-mentioned trigger condition, which can be, is recording generation video, correspondingly, step
The implementation procedure of rapid S102 and S104 is as follows: generation video is being recorded if detected, according to preset acquisition Rule
The picture frame recorded.
Optionally, in one embodiment, above-mentioned trigger condition can be displaying list of videos, correspondingly, step
The implementation procedure of S102 and S104 is as follows: if detecting the list of videos of displaying, according to described in preset acquisition Rule
The picture frame of the corresponding video of list of videos.
In above-mentioned several way of example, sentence to be accurately realized to whether video needs that access authority is arranged
It is fixed, theoretically, each of available video of step S104 picture frame and the detection for carrying out subsequent step.
Simultaneously, it is contemplated that many video contents have continuity, have similitude, video in multiple continuous picture frames
Tolerable frame-skipping;In addition, executing consumed resource to save the embodiment, step S104 is in the picture frame for obtaining video
When can according to preset acquisition Rule, such as: every 10 frame extracts a picture frame, and either, every five seconds execution once obtains
Take the operation of the picture frame of video;Either, it is extracted at random for the picture frame in video.
The embodiment of the present invention here it is shown that abovementioned steps S104 several specific implementations.It should be understood, of course, that step
S104 can also realize in other manners, the embodiment of the present invention to this with no restriction.
S106: whether detection described image frame meets video secret protection condition;
If described image frame meets video secret protection condition, S108 is thened follow the steps;
If described image frame is unsatisfactory for video secret protection condition, terminate process.
S108: access authority is arranged to the video.
Typically, the individual video of user's self-timer, user relatives, such as sons and daughters at long video, these videos are used
Family is generally undesirable arbitrarily to be consulted by others, therefore, the embodiment can by include user's face or user relatives face
Video be determined as it being the video for needing to be arranged access authority.Specifically, step S106 can carry out the picture frame got
Face datection, if in picture frame including face, and face and default face successful match, it is determined that video, which needs to add, visits
It asks permission, and then access authority is arranged to video.The default face mentioned at this, not only can be the face of user, also
It can be the face of relatives, friend of user etc..
In view of some indecency video users do not expect arbitrarily to be consulted by others yet, therefore, which opens can also be by one
A little indecency video judgements are the videos for needing to be arranged access authority.Therefore, step S106 can carry out the picture frame got
Human testing can carry out the classification of skin area and non-skin region if in picture frame including human body to human body, if
The accounting of skin area is greater than or equal to preset value in the human body namely human body is exposed excessive, it is determined that video needs to add
Access authority, and then access authority is arranged to video.
In a specific embodiment, it is contemplated that the indecency video of user oneself is more undesirable to be seen by others, therefore,
The implementation, which is opened, can also be determined as it being the video for needing to be arranged access authority for the indecency video of user oneself.Therefore, step
S106 can carry out human testing to the picture frame that gets, if in picture frame including human body, the face of human body and default
Face successful match, and the accounting of skin area is greater than or equal to preset value in the human body namely human body is exposed excessive, then really
Determine video and need to add access authority, and then access authority is arranged to video.
After determining that picture frame meets video secret protection condition by above-mentioned numerous embodiments, step can be passed through
Access authority is arranged to video in S108.
In a specific example, video setting access authority can be and move into video in secrecy box, access is protected
It needs to carry out authentication (such as fingerprint recognition, face recognition) to user when the resources such as the video in close case, only to identity
The user being verified just has the access authority of video in secrecy box.
In the embodiment, if described image frame is unsatisfactory for video secret protection condition, the video can not be set
Access authority is set, namely terminates process.
It optionally, in a specific embodiment, can also include as follows before access authority being set to the video
Step:
It shows the confirmation option for the video and cancels option;
Wherein, if including: the input for receiving user and being directed to the confirmation option to video setting access authority,
Or user is not received by preset duration for the input for cancelling option, access authority is arranged to the video.Such as
Fruit receives user for the input for cancelling option, then can terminate process, access authority not be arranged to video.
The method for secret protection of video provided in an embodiment of the present invention, if meeting the trigger condition of video secret protection i.e.
The picture frame of video can be obtained, if picture frame meets video secret protection condition and access authority can be arranged to video, is solved
The video of access authority is needed because needing user to choose manually, cumbersome problem.
If that mentions in the step S102 and S104 of above-mentioned embodiment detects that video is playing, according to preset
Obtain Rule play video picture frame include: open first object thread, by the first object thread according to
The preset picture frame for obtaining the video that Rule plays, wherein the first object thread and the thread of video playing are not
Together, it can avoid obtaining because of execution picture frame in this way and whether judgement picture frame meet view caused by video secret protection condition
Frequency plays phenomena such as Caton, improves user experience.
If generation video is being recorded in detecting for mentioning in above-mentioned embodiment, according to preset acquisition Rule
The picture frame recorded includes: to open the second subject thread, by second subject thread according to preset acquisition rule
Obtain the picture frame recorded, wherein second subject thread is different with the generation thread of video is recorded, and can keep away in this way
Exempt to obtain and determine whether picture frame meets video record Caton etc. caused by video secret protection condition because executing picture frame
Phenomenon improves user experience.
If that mentions in above-mentioned embodiment detects the list of videos of displaying, according to preset acquisition Rule institute
The picture frame for stating the corresponding video of list of videos includes: to open third subject thread, by the third subject thread according to pre-
If obtain Rule described in the corresponding video of list of videos picture frame, wherein the third subject thread and show view
The thread of frequency list is different.It is can avoid in this way because executing picture frame acquisition and determining whether picture frame meets video privacy and protect
List of videos caused by guard strip part shows phenomena such as Caton, improves user experience.Optionally, in order to economize on resources, the embodiment
According to the corresponding video of preset acquisition Rule list of videos picture frame, specifically can be and obtain video surface plot
Picture.
Cover image at this can be the frame image in the video of user's selection;It is also possible to going through based on user
History plays the corresponding picture frame in position that recording played arrives;It can also be a frame image etc. for system default.
As shown in Fig. 2, a specific embodiment of the invention provides a kind of method for secret protection 200 of video.The implementation
Example can be applied in terminal device, subsequent to be illustrated so that terminal device is mobile phone as an example in mobile phone.
Before the embodiment executes, the secret protection of video is opened in the places such as user can be arranged in mobile phone, booting guides
Function (namely the step premise for executing the embodiment) can guide user using face identification functions before unlatching, and then acquire
The face characteristic of user is prepared for the video secret protection condition that whether meets in subsequent step.
The embodiment specifically comprises the following steps:
Is S202: if video is playing, the privacy protection function for detecting video opened?
S206 is then jumped to if on,;
If do not opened, S204 is jumped to.
In the embodiment, user, which clicks arbitrary local video, can carry out video playing.
The embodiment is also applied for recording the embodiment for generating video, correspondingly, above-mentioned steps S202 may is that as
Is fruit, which detects, recording generation video, and the privacy protection function for detecting video is opened?
S204: it issues to open and remind, to remind user to open the privacy protection function of video.
If user response is reminded in above-mentioned unlatching, the privacy protection function of video is opened, then can execute step S206;
If user is not turned on the privacy protection function of video, process can be terminated.
In the embodiment, the privacy protection function of video can be background service A, can specifically pass through Android
Service is realized.
S206: intermittence obtains the picture frame of the video played.
The embodiment every N milliseconds, can go the current image frame of the video (or video recording) of capture play, then will crawl
Picture frame be transferred to background service A.
The value of N can be customized freely, if being set as 0, each picture frame for representing video requires to grab, for section
About resource, in general, N can go 10 or 20.
S208: do you judge that picture frame meets video secret protection condition?
If so, thening follow the steps S210;
If it is not, then S206 is continued to execute, until video playing terminates or record a video to terminate.
Background service A can open first object thread when receiving the picture frame of crawl, and the picture frame of crawl is carried out
Recognition of face, if in picture frame including face, and face and default face successful match, it is determined that video, which needs to add, visits
Ask permission, the default face mentioned at this not only can be the face of user, can also be relatives, friend of user etc.
Face.
First object thread is different with the thread of video playing in the embodiment, can avoid obtaining because executing picture frame in this way
Phenomena such as whether picture frame meets video playing Caton caused by video secret protection condition taken and determined, user's body is improved
It tests.
S210: the prompt information for whether needing that video is moved into secrecy box issued.
Specifically, when video is identified contains privacy of user, a floating window can be shown at the top of video to inquire use
Whether family needs the video moving into secrecy box.User clicks confirmation and then moves into, and clicks and does not ring again after cancelling the then video
Answer the privacy protection function (i.e. the step S202 of the embodiment is no longer executed) of video.User does not click confirmation and cancellation, after 3s
System executes step S212 automatically, i.e., the video is moved into secrecy box to protect privacy of user (if video recording behavior, to tie in video recording
Shu Houzai moves into secrecy box).
S212: video is moved into and protects secrecy box.
In the embodiment, needing to carry out user authentication when accessing the resources such as the video in secrecy box, (such as fingerprint is known
Not, face recognition etc.), only just there is to the user that authentication passes through the access authority of video in secrecy box.
The method for secret protection of video provided in an embodiment of the present invention, if meeting the trigger condition of video secret protection i.e.
The picture frame of video can be obtained, if picture frame meets video secret protection condition and access authority can be arranged to video, is solved
The video of access authority is needed because needing user to choose manually, cumbersome problem.
In view of having the place that can much browse local video list, such as the view that file management, system carry in mobile phone
Frequency manager etc., it is specific as shown in Figure 3.
The corresponding video of list of videos is more, to solve the video because needing user to choose setting access authority manually, behaviour
Make cumbersome problem, as shown in figure 4, a specific embodiment of the invention provides a kind of method for secret protection 400 of video, it should
Embodiment can be applied in terminal device, subsequent to be illustrated so that terminal device is mobile phone as an example in mobile phone.
Before the embodiment executes, the secret protection of video is opened in the places such as user can be arranged in mobile phone, booting guides
Function (namely the step premise for executing the embodiment) can guide user using face identification functions before unlatching, and then acquire
The face characteristic of user is prepared for the video secret protection condition that whether meets in subsequent step.
The embodiment specifically comprises the following steps:
Is S402: if detecting the list of videos of displaying, the privacy protection function for detecting video opened?
S406 is then jumped to if on,;
If do not opened, S404 is jumped to.
In the embodiment, user may browse through list of videos in places such as the included Video Managers of file management, system.
S404: it issues to open and remind, to remind user to open the privacy protection function of video.
If user response is reminded in above-mentioned unlatching, the privacy protection function of video is opened, then can execute step S406;
If user is not turned on the privacy protection function of video, process can be terminated.
In the embodiment, the privacy protection function of video can be background service B, can specifically pass through Android
Service is realized.
S406: for each of list of videos video, the cover image of video is obtained.
Cover image at this can be the frame image in the video of user's selection;It is also possible to going through based on user
History plays the corresponding picture frame in position that recording played arrives;It can also be a frame image etc. for system default.
The embodiment can be directed to each video (for a specific video, can position is I) in list of videos,
When respectively showing specific video information, the cover image of video is transferred to background service B, and add registration monitor
L。
S408: do you judge that image meets video secret protection condition?
If so, thening follow the steps S410;
If it is not, then return step S406, until the video in list of videos all complete by judgement.
In the step, background service B, which is opened, to carry out face knowledge to the image that video I is transmitted with the second subject thread
Not, if in image including face, and face and default face successful match, it is determined that video needs to add access authority,
The default face mentioned at this, not only can be the face of user, can also be the face of relatives, friend of user etc..
The thread that the second subject thread and list of videos are shown in the embodiment is different, can avoid because executing image in this way
It obtains and determines whether image meets phenomena such as list of videos caused by video secret protection condition shows Caton, improve user
Experience.
S410: the prompt information for whether needing that video is moved into secrecy box issued.
The embodiment can be for each of list of videos video, when video is identified contains privacy of user, clothes
Business B calls all monitor I (needing to guarantee in UI thread) injected, I to be called back in list items then in list items
Add a button " moving into safe cabinet ".
User clicks " moving into safe cabinet ", and the automatic step S412 video that executes will be moved into safe cabinet, Yong Huwu
Operation, then can terminate process.
S412: video is moved into and protects secrecy box.
The method for secret protection of video provided in an embodiment of the present invention, if meeting the trigger condition of video secret protection i.e.
The picture frame of video can be obtained, if picture frame meets video secret protection condition and access authority can be arranged to video, is solved
The video of access authority is needed because needing user to choose manually, cumbersome problem.
It, can when judging whether picture frame meets video secret protection condition in the S208 and S408 of above-mentioned two embodiment
To carry out the recognition of face of plural number by the multiple faces of typing respectively.The relatives of user oneself, child etc. can answer in this way
Privacy is protected with this programme.
Combine Fig. 1 to Fig. 4 that the method for secret protection of video according to an embodiment of the present invention is described in detail above.Below will
Terminal device according to an embodiment of the present invention is described in detail in conjunction with Fig. 5, Fig. 5 is terminal device 500 according to an embodiment of the present invention
Structural schematic diagram.As shown in figure 5, terminal device 500 includes:
Detection module 502 can be used for detecting whether meeting the trigger condition of video secret protection;
Picture frame obtains module 504 and obtains if can be used for meeting the trigger condition of video secret protection according to preset
Take the picture frame of Rule video;
Detection module 502, can be also used for whether detection described image frame meets video secret protection condition;
Access authority setup module 506, if video secret protection condition can be met with described image frame, to the view
Frequency setting access authority.
The terminal device of video provided in an embodiment of the present invention can obtain if meeting the trigger condition of video secret protection
Take the picture frame of video, if picture frame meet video secret protection condition can to video be arranged access authority, solve because
User is needed to choose the video for needing access authority, cumbersome problem manually.
Optionally, as one embodiment, described image frame obtains module 504, specifically can be used for
If detecting that video is playing, according to the picture frame for the video that preset acquisition Rule plays;Or
Generation video is being recorded if detected, the picture frame recorded according to preset acquisition Rule;Or
If detecting the list of videos of displaying, according to the corresponding video of list of videos described in preset acquisition Rule
Picture frame.
Optionally, as one embodiment, described image frame obtains the picture frame packet that module 504 obtains the video played
It includes: opening first object thread, the picture frame of the video played is obtained by the first object thread, wherein described first
Subject thread is different with the thread of video playing;Or
It includes: to open the second subject thread that described image frame, which obtains module 504 and obtains the picture frame recorded, passes through institute
It states the second subject thread and obtains the picture frame recorded, wherein second subject thread and the thread for recording generation video
It is different;Or
It includes: unlatching third that described image frame, which obtains module 504 and obtains the picture frame of the corresponding video of the list of videos,
Subject thread obtains the picture frame of the corresponding video of the list of videos by the third subject thread, wherein the third
Subject thread is different with the thread of list of videos is shown.
Optionally, as one embodiment, described image frame meets video secret protection condition, including it is following at least it
One:
It include face in described image frame, and the face and default face successful match;And
It include human body in described image frame, and the accounting of skin area is greater than or equal to preset value in the human body.
Optionally, as one embodiment, the terminal device 500, further includes:
Display module (not shown) can be used for showing the confirmation option for the video and cancel option;
Wherein, if the access authority setup module 506 includes: to receive user to video setting access authority
For the input of the confirmation option, or user is not received by preset duration and is directed to the input for cancelling option, it is right
Access authority is arranged in the video.
Terminal device 500 according to an embodiment of the present invention is referred to the secret protection of the video of the corresponding embodiment of the present invention
The process of method 100-400, also, each unit/module and other above-mentioned operation and/or functions in the terminal device 500
Corresponding process in method for secret protection 100-400 in order to realize above-mentioned video respectively, for sake of simplicity, details are not described herein.
A kind of hardware structural diagram of Fig. 6 terminal device of each embodiment to realize the present invention, the terminal device 600
Including but not limited to: radio frequency unit 601, audio output unit 603, input unit 604, sensor 605, is shown network module 602
Show the components such as unit 606, user input unit 607, interface unit 608, memory 609, processor 610 and power supply 611.
It will be understood by those skilled in the art that terminal device structure shown in Fig. 6 does not constitute the restriction to terminal device, terminal is set
Standby may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention
In embodiment, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear
Wear equipment and pedometer etc..
Wherein, processor 610 can be used for detecting whether meeting the trigger condition of video secret protection;If meeting view
The trigger condition of frequency secret protection, according to the preset picture frame for obtaining Rule video;Whether full detect described image frame
Sufficient video secret protection condition;If described image frame meets video secret protection condition, access right is arranged to the video
Limit.
In the embodiment of the present invention, if the trigger condition for meeting video secret protection can obtain the picture frame of video, such as
Fruit picture frame, which meets video secret protection condition, access authority is arranged to video, and solving needs because needing user to choose manually
Want the video of access authority, cumbersome problem.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 610 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 603 can be received by radio frequency unit 601 or network module 602 or in memory 609
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also provide and end
The relevant audio output of specific function that end equipment 600 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 603 includes loudspeaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor
(Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be deposited
Storage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Mike
Wind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 601 is converted in the case where telephone calling model.
Terminal device 600 further includes at least one sensor 605, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 6061, and proximity sensor can close when terminal device 600 is moved in one's ear
Display panel 6061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrap
Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 6061.
User input unit 607 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 607 include touch panel 6071 and
Other input equipments 6072.Touch panel 6071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 6071 or in touch panel 6071
Neighbouring operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receiving area
It manages the order that device 610 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments
6072.Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it
On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touching
The type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 6, touch panel 6071 and display
Panel 6061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 6071 and display panel 6061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 608 is the interface that external device (ED) is connect with terminal device 600.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 600 or can be used in 600 He of terminal device
Data are transmitted between external device (ED).
Memory 609 can be used for storing software program and various data.Memory 609 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 609 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 609, and calls and is stored in storage
Data in device 609 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Terminal device 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611
Can be logically contiguous by power-supply management system and processor 610, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 610, and memory 609 is stored in
On memory 609 and the computer program that can run on the processor 610, the computer program are executed by processor 610
Each process of the method for secret protection embodiment 100-400 of the above-mentioned video of Shi Shixian, and identical technical effect can be reached, it is
It avoids repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize the method for secret protection embodiment 100-400's of above-mentioned video when being executed by processor
Each process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, described computer-readable
Storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (12)
1. a kind of method for secret protection of video characterized by comprising
Detect whether the trigger condition for meeting video secret protection;
If meeting the trigger condition of video secret protection, according to the preset picture frame for obtaining Rule video;
Whether detection described image frame meets video secret protection condition;
If described image frame meets video secret protection condition, access authority is arranged to the video.
2. the method as described in claim 1, which is characterized in that if the trigger condition for meeting video secret protection, is pressed
Include: according to the preset picture frame for obtaining Rule video
If detecting that video is playing, according to the picture frame for the video that preset acquisition Rule plays;Or
Generation video is being recorded if detected, the picture frame recorded according to preset acquisition Rule;Or
If detecting the list of videos of displaying, according to the figure of the corresponding video of list of videos described in preset acquisition Rule
As frame.
3. method according to claim 2, which is characterized in that
The picture frame for obtaining the video played includes: to open first object thread, is obtained by the first object thread
The picture frame of the video of broadcasting, wherein the first object thread is different with the thread of video playing;Or
The picture frame recorded that obtains includes: to open the second subject thread, is obtained just by second subject thread
In the picture frame of recording, wherein second subject thread is different with the generation thread of video is recorded;Or
The picture frame for obtaining the corresponding video of the list of videos includes: to open third subject thread, passes through the third
Subject thread obtains the picture frame of the corresponding video of the list of videos, wherein the third subject thread and displaying video column
The thread of table is different.
4. method as described in any one of claims 1 to 3, which is characterized in that described image frame meets video secret protection item
Part, including at least one following:
It include face in described image frame, and the face and default face successful match;And
It include human body in described image frame, and the accounting of skin area is greater than or equal to preset value in the human body.
5. method as claimed in claim 4, which is characterized in that before access authority is arranged to the video, the method is also
Include:
It shows the confirmation option for the video and cancels option;
Wherein, if including: the input for receiving user and being directed to the confirmation option to video setting access authority, or
It is not received by user in preset duration for the input for cancelling option, access authority is arranged to the video.
6. a kind of terminal device characterized by comprising
Detection module, for detecting whether meeting the trigger condition of video secret protection;
Picture frame obtains module, if the trigger condition for meeting video secret protection, according to preset acquisition Rule
The picture frame of video;
Detection module, for detecting whether described image frame meets video secret protection condition;
Access authority setup module is arranged the video if meeting video secret protection condition for described image frame
Access authority.
7. terminal device as claimed in claim 6, which is characterized in that described image frame obtains module, is used for
If detecting that video is playing, according to the picture frame for the video that preset acquisition Rule plays;Or
Generation video is being recorded if detected, the picture frame recorded according to preset acquisition Rule;Or
If detecting the list of videos of displaying, according to the figure of the corresponding video of list of videos described in preset acquisition Rule
As frame.
8. terminal device as claimed in claim 7, which is characterized in that
It includes: to open first object thread that described image frame, which obtains module and obtains the picture frame of the video played, passes through described the
One subject thread obtains the picture frame of the video played, wherein the first object thread is different with the thread of video playing;Or
It includes: to open the second subject thread that described image frame, which obtains module and obtains the picture frame recorded, passes through described second
Subject thread obtains the picture frame recorded, wherein second subject thread is different with the generation thread of video is recorded;Or
It includes: to open third score that described image frame, which obtains module and obtains the picture frame of the corresponding video of the list of videos,
Journey obtains the picture frame of the corresponding video of the list of videos by the third subject thread, wherein the third score
Journey is different with the thread of list of videos is shown.
9. such as the described in any item terminal devices of claim 6 to 8, which is characterized in that described image frame meets video privacy guarantor
Guard strip part, including at least one following:
It include face in described image frame, and the face and default face successful match;And
It include human body in described image frame, and the accounting of skin area is greater than or equal to preset value in the human body.
10. terminal device as claimed in claim 9, which is characterized in that further include:
Display module, for showing the confirmation option and cancellation option that are directed to the video;
Wherein, if the access authority setup module includes: to receive user for institute to video setting access authority
The input of confirmation option is stated, or is not received by user for the input for cancelling option, to the view in preset duration
Frequency setting access authority.
11. a kind of terminal device characterized by comprising memory, processor and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in video method for secret protection the step of.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes that the privacy of the video as described in any one of claims 1 to 5 is protected when the computer program is executed by processor
The step of maintaining method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811603683.4A CN109729431B (en) | 2018-12-26 | 2018-12-26 | Video privacy protection method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811603683.4A CN109729431B (en) | 2018-12-26 | 2018-12-26 | Video privacy protection method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109729431A true CN109729431A (en) | 2019-05-07 |
CN109729431B CN109729431B (en) | 2021-02-09 |
Family
ID=66297240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811603683.4A Active CN109729431B (en) | 2018-12-26 | 2018-12-26 | Video privacy protection method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109729431B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111343402A (en) * | 2020-02-17 | 2020-06-26 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN112181556A (en) * | 2020-09-21 | 2021-01-05 | 北京字跳网络技术有限公司 | Terminal control processing method and device, electronic equipment and storage medium |
WO2023024729A1 (en) * | 2021-08-25 | 2023-03-02 | 京东方科技集团股份有限公司 | Device configuration method, electronic device, and computer-readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105007395A (en) * | 2015-07-22 | 2015-10-28 | 深圳市万姓宗祠网络科技股份有限公司 | Privacy processing method for continuously recording video |
CN105389516A (en) * | 2015-11-09 | 2016-03-09 | 小米科技有限责任公司 | Sensitive picture reminding method and apparatus |
KR101621723B1 (en) * | 2015-02-13 | 2016-05-19 | 경일대학교산학협력단 | Apparatus for processing picture adapted to protect privacy based on face recognition, method thereof and computer recordable medium storing the method |
CN106326773A (en) * | 2016-08-29 | 2017-01-11 | 广东欧珀移动通信有限公司 | Method and device for photo encryption management as well as terminal |
CN107172344A (en) * | 2017-04-07 | 2017-09-15 | 北京安云世纪科技有限公司 | Shooting file memory method, device and the mobile terminal of a kind of mobile terminal |
CN108052835A (en) * | 2017-12-14 | 2018-05-18 | 广东欧珀移动通信有限公司 | Record screen document play-back method, device and terminal |
-
2018
- 2018-12-26 CN CN201811603683.4A patent/CN109729431B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101621723B1 (en) * | 2015-02-13 | 2016-05-19 | 경일대학교산학협력단 | Apparatus for processing picture adapted to protect privacy based on face recognition, method thereof and computer recordable medium storing the method |
CN105007395A (en) * | 2015-07-22 | 2015-10-28 | 深圳市万姓宗祠网络科技股份有限公司 | Privacy processing method for continuously recording video |
CN105389516A (en) * | 2015-11-09 | 2016-03-09 | 小米科技有限责任公司 | Sensitive picture reminding method and apparatus |
CN106326773A (en) * | 2016-08-29 | 2017-01-11 | 广东欧珀移动通信有限公司 | Method and device for photo encryption management as well as terminal |
CN107172344A (en) * | 2017-04-07 | 2017-09-15 | 北京安云世纪科技有限公司 | Shooting file memory method, device and the mobile terminal of a kind of mobile terminal |
CN108052835A (en) * | 2017-12-14 | 2018-05-18 | 广东欧珀移动通信有限公司 | Record screen document play-back method, device and terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111343402A (en) * | 2020-02-17 | 2020-06-26 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN111343402B (en) * | 2020-02-17 | 2022-07-29 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN112181556A (en) * | 2020-09-21 | 2021-01-05 | 北京字跳网络技术有限公司 | Terminal control processing method and device, electronic equipment and storage medium |
CN112181556B (en) * | 2020-09-21 | 2024-04-19 | 北京字跳网络技术有限公司 | Terminal control processing method and device, electronic equipment and storage medium |
WO2023024729A1 (en) * | 2021-08-25 | 2023-03-02 | 京东方科技集团股份有限公司 | Device configuration method, electronic device, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109729431B (en) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271121A (en) | A kind of application display method and mobile terminal | |
CN108958684A (en) | Throw screen method and mobile terminal | |
CN109388304A (en) | A kind of screenshotss method and terminal device | |
CN110536008A (en) | A kind of throwing screen method and mobile terminal | |
CN110308885A (en) | A kind of throwing screen method and mobile terminal | |
CN110213440A (en) | A kind of images share method and terminal | |
CN109284150A (en) | A kind of method and terminal starting application program | |
CN108280337A (en) | A kind of message protection method and mobile terminal | |
CN109407948A (en) | A kind of interface display method and mobile terminal | |
CN109729431A (en) | The method for secret protection and terminal device of video | |
CN110233933A (en) | A kind of call method and terminal device | |
CN108664288A (en) | A kind of image interception method and mobile terminal | |
CN108011887A (en) | A kind of account management method and equipment | |
CN108416203A (en) | A kind of unlocking screen method and mobile terminal | |
CN109753331A (en) | A kind of information preview method and mobile terminal | |
CN109166164A (en) | A kind of generation method and terminal of expression picture | |
CN108664818A (en) | A kind of unlock control method and device | |
CN108008892A (en) | The method and terminal that a kind of function enables | |
CN107908983A (en) | A kind of method and mobile terminal for controlling mobile terminal screen | |
CN110457921A (en) | Right management method and terminal device | |
CN110210206A (en) | A kind of right management method and terminal | |
CN109992941A (en) | A kind of right management method and terminal device | |
CN109815679A (en) | Right management method and mobile terminal | |
CN107908941A (en) | The operating method and mobile terminal of application program | |
CN108540642A (en) | The operating method and mobile terminal of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |