CN105208378A - Camera protection method, device and terminal - Google Patents

Camera protection method, device and terminal Download PDF

Info

Publication number
CN105208378A
CN105208378A CN201510607351.3A CN201510607351A CN105208378A CN 105208378 A CN105208378 A CN 105208378A CN 201510607351 A CN201510607351 A CN 201510607351A CN 105208378 A CN105208378 A CN 105208378A
Authority
CN
China
Prior art keywords
camera
running status
state parameter
determining
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510607351.3A
Other languages
Chinese (zh)
Other versions
CN105208378B (en
Inventor
侯恩星
孟德国
黑丽军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510607351.3A priority Critical patent/CN105208378B/en
Publication of CN105208378A publication Critical patent/CN105208378A/en
Application granted granted Critical
Publication of CN105208378B publication Critical patent/CN105208378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention relates to a camera protection method, device and terminal. The camera protection method includes the steps that state parameters of a camera are detected, response is conducted for determining that the state parameters indicate the camera to be in a non-triggering and running state, and a shielding cover is controlled to shield the camera. According to the camera protection method, device and terminal, the state parameters of the camera are detected, the shielding cover can be automatically controlled to shield the camera according to the state parameters of the camera, so that the camera is protected, manual operation is not needed, and it is convenient for a user to use the camera protection device and terminal.

Description

Camera head protecting method, device and terminal
Technical field
The disclosure relates to the communication technology, particularly relates to a kind of camera head protecting method, device and terminal.
Background technology
Camera, as a kind of video input apparatus, is applied on video camera, portable electric appts, automobile, outdoor monitoring equipment widely.Camera is in the process of routine work, and outside, camera lens surface can accumulate dust gradually in long-time sudden and violent leakage, causes the effect of recording a video to be deteriorated gradually.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of camera head protecting method, device and terminal.
According to the first aspect of disclosure embodiment, provide a kind of camera head protecting method, this camera head protecting method comprises:
Detect the state parameter of camera;
Not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.
Optionally, detect the state parameter of camera, comprising:
Detect following at least one the state parameter of camera: inner parameter, external parameter.
Optionally, detect the external parameter of camera, comprising:
Detect the light intensity of surrounding environment;
This camera head protecting method also comprises:
In response to determining that light intensity is less than default light intensity threshold value, determining that state parameter instruction camera is in and not triggering running status.
Optionally, detect the external parameter of camera, comprising:
Whether the coverage interior focusing object detecting camera disappears;
This camera head protecting method also comprises:
In response to determining that focusing object disappears, and within Preset Time camera coverage in do not have other focusing objects to occur, determine that state parameter instruction camera is in and does not trigger running status.
Optionally, detect the external parameter of camera, comprising:
Detect shockproofness;
This camera head protecting method also comprises:
In response to determining that shockproofness is greater than default shockproofness threshold value, determining that state parameter instruction camera is in and not triggering running status.
Optionally, detect the inner parameter of camera, comprising:
Detect the running status of camera;
This camera head protecting method also comprises:
In response to determining that running status instruction camera is in closed condition, determining that state parameter instruction camera is in and not triggering running status.
Optionally, detect the inner parameter of camera, comprising:
Detect the running status of camera;
This camera head protecting method also comprises:
In response to determining that running status instruction camera is in holding state, determining that state parameter instruction camera is in and not triggering running status.
According to the second aspect of disclosure embodiment, provide a kind of camera protection device, this camera protection device comprises:
Detection module, is configured to the state parameter detecting camera;
Control module, being configured to not trigger running status in response to determining that state parameter that detection module detects instruction camera is in, controlling mask and covering camera.
Optionally, detection module comprises at least one submodule following:
First detection sub-module, is configured to the inner parameter detecting camera;
Second detection sub-module, is configured to the external parameter detecting camera.
Optionally, the second detection sub-module comprises:
Light detection sub-module, is configured to the light intensity detecting surrounding environment;
This camera protection device also comprises:
First determination module, is configured in response to determining that the light intensity that light detection sub-module detects is less than default light intensity threshold value, determines that state parameter instruction camera is in and does not trigger running status.
Optionally, described second detection sub-module comprises:
Motion detection submodule, whether the coverage interior focusing object being configured to detect camera disappears;
This camera protection device also comprises:
Second determination module, be configured in response to determining that motion detection submodule detects that focusing object disappears, and within Preset Time camera coverage in do not have other focusing objects to occur, determine that state parameter instruction camera is in and does not trigger running status.
Optionally, the second detection sub-module comprises:
Shock detection submodule, is configured to detect shockproofness;
This camera protection device also comprises:
3rd determination module, is configured in response to determining that the shockproofness that shock detection submodule detects is greater than default shockproofness threshold value, determines that state parameter instruction camera is in and does not trigger running status.
Optionally, the first detection sub-module comprises:
Condition monitoring submodule, is configured to the running status detecting camera;
This camera protection device also comprises:
4th determination module, is configured to, in response to determining that the running status instruction camera that condition monitoring submodule detects is in closed condition, determine that state parameter instruction camera is in and do not trigger running status.
Optionally, the first detection sub-module comprises:
Condition monitoring submodule, is configured to the running status detecting camera;
This camera protection device also comprises:
5th determination module, is configured to, in response to determining that the running status instruction camera that condition monitoring submodule detects is in holding state, determine that state parameter instruction camera is in and do not trigger running status.
According to the third aspect of disclosure embodiment, provide a kind of terminal, wherein, this terminal comprises: camera, mask, processor and memory;
Memory is used for storage of processor executable instruction;
Wherein, processor is configured to:
Detect the state parameter of camera;
Not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Detect the state parameter of camera, not triggering running status in response to determining that this state parameter instruction camera is in, controlling mask and covering camera.By detecting the state parameter of camera, can automatically control mask according to the state parameter of camera and covering camera, to protect camera, not needing manual operation, be user-friendly to.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment.
Fig. 2 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment.
Fig. 3 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment.
Fig. 4 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment.
Fig. 5 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment.
Fig. 6 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment.
Fig. 7 is the block diagram of a kind of camera protection device according to an exemplary embodiment.
Fig. 8 is the block diagram of a kind of camera protection device according to another exemplary embodiment.
Fig. 9 is the block diagram of a kind of camera protection device according to another exemplary embodiment.
Figure 10 is the block diagram according to going back a kind of camera protection device shown in an exemplary embodiment.
Figure 11 is the block diagram of a kind of camera protection device Gen Ju an exemplary embodiment again.
Figure 12 is the block diagram of a kind of camera protection device Gen Ju an exemplary embodiment again.
Figure 13 is the block diagram of a kind of camera protection device Gen Ju an exemplary embodiment again.
Figure 14 is the block diagram of a kind of terminal according to an exemplary embodiment.
Figure 15 is the block diagram of a kind of terminal according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment; the camera head protecting method of the present embodiment is applied in terminal; this terminal configuration has camera and mask; mask is used for covering to protect camera to camera; this terminal can be video camera, mobile phone, computer, monitoring equipment etc.; as shown in Figure 1, this camera head protecting method comprises the following steps.
In step S101, detect the state parameter of camera.
The state parameter of camera comprises following at least one state parameter: inner parameter, external parameter.Wherein, external parameter comprises the motion state etc. of environmental parameter and shot object, environmental parameter such as: the shockproofness that the light intensity of camera surrounding environment, camera are subject to.
In step s 102, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.
Be not suitable in some cases using camera to carry out recording a video or taking pictures, now user can not put down mask usually, or forgets and put down mask.If camera leaks outside for a long time cruelly, camera lens surface can accumulate dust gradually, or camera can be subject to unexpected damage.In current technology, be all that mask manually puts down to cover camera by user.In the present embodiment, whether can be according to the state parameter determination camera of camera and not trigger running status, if the state parameter instruction camera of camera is in do not trigger running status, then do not trigger running status in response to determining that state parameter instruction camera is in, control mask and cover camera, camera is in and does not trigger running status and refer to that user does not use camera to carry out taking pictures or recording a video here.
In the present embodiment, mask can put down to cover camera by terminal automatically.Realize automatically controlling mask to put down, need, at terminal inner, a drive unit is installed, this drive unit can drive mask to move automatically, such as, mask is driven to move downward or move upward, when the state parameter instruction camera of camera is in and does not trigger running status, the control module of terminal is to drive unit control signal, under the effect of this control signal, drive unit is started working and is driven mask motion to cover camera, this drive unit can be motor, this control module can be micro-control module (MicrocontrollerUnit, be called for short: MCU).
The camera head protecting method of the present embodiment, detects the state parameter of camera, not triggering running status, controlling mask and covering camera in response to determining that this state parameter instruction camera is in.By detecting the state parameter of camera, can automatically control mask according to the state parameter of camera and covering camera, to protect camera, not needing manual operation, be user-friendly to.
Fig. 2 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment, and as shown in Figure 2, the camera head protecting method of the present embodiment comprises the following steps:
In step s 201, the light intensity of surrounding environment is detected.
Usually in terminal, be all provided with light sensor, light sensor is used for responding to the power of light, and the light sensor in terminal can be utilized in the present embodiment to detect the light intensity of surrounding environment.
In step S202, in response to determining that light intensity is less than default light intensity threshold value, determining that state parameter instruction camera is in and not triggering running status.
After light sensor detects light intensity, to detect that light intensity sends to the determination module of terminal, determination module is used for determining whether camera is in and does not trigger running status, after determination module receives light intensity, light intensity and the light intensity threshold value preset are compared, determine whether light intensity is less than default light intensity threshold value, if determine that light intensity is less than light intensity threshold value, the dark of surrounding environment is described, be not suitable for taking pictures or recording a video, in response to determining that light intensity is less than default light intensity threshold value, determine that state parameter instruction camera is in and do not trigger running status.
In step S203, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.
The camera head protecting method of the present embodiment; detect the light intensity of surrounding environment; if light intensity is less than default light intensity threshold value; then in response to determining that light intensity is less than default light intensity threshold value; determine that state parameter instruction camera is in and do not trigger running status; then, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.The method of the present embodiment, by detecting the light intensity of surrounding environment, when the light intensity of environment is more secretly not suitable for using camera around, automatically controls mask and covers camera, to protect camera, do not need manual operation, be user-friendly to.
Fig. 3 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment, and as shown in Figure 3, the camera head protecting method of the present embodiment comprises the following steps:
In step S301, whether the coverage interior focusing object detecting camera disappears.
This focusing object can be mobile object, also can be stationary object, and whether the focusing object that can be detected in the coverage of camera by mobile detection method is disappeared.Mobile detection is also motion detection, can detect the existence of focusing object, is usually used in unattended monitoring video recording and automatic alarm.The image collected according to different frame per second by camera can be carried out calculating and comparing according to certain algorithm by CPU, when picture changes, pass by if any people, camera lens is moved, calculate the numeral that draws of comparative result and can exceed threshold value and indication mechanism can make corresponding process automatically, in the coverage that can be detected camera by mobile detection function, whether have focusing object to exist.
The infrared inductor that terminal is arranged can be utilized to carry out mobile detection, infrared inductor is by infrared reflection principle, when certain part of human body or animal bodies is within the scope of infrared induction, the infrared ray that the transmitting tube of infrared inductor sends is picked up gear due to human body or animal and is reflexed to infrared receiver tube, after human body or animal leave infrared induction scope, infrared receiver does not receive the infrared signal reflected.Infrared inductor is connected with the determination module of terminal, determination module is used for determining whether camera is in and does not trigger running status, the infrared signal reflected that infrared receiver receives by infrared inductor sends determination module to, if determination module does not receive the infrared signal that infrared inductor sends in Preset Time, so determination module determines that focusing object disappears.
In step s 302, in response to determining that focusing object disappears, and within Preset Time camera coverage in do not have other focusing objects to occur, determine that state parameter instruction camera is in and does not trigger running status.
In the present embodiment, be not after focusing object disappears, just determine at once not use camera, but the coverage of camera never focusing object appearance within Preset Time, just determine not use camera.Object avoids bringing bad experience to user, such as, user has just converted camera site, or the people in coverage is once away from keyboard, continues shooting or video recording after two minutes, so just need not descend mask, in certain Preset Time, focusing object is never detected in the present embodiment, just determine not use camera, the generation of above-mentioned situation can be avoided, if the time is such as 10 minutes, 20 minutes etc.
In step S303, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.
Determination module is after determining not use camera to carry out recording a video or take pictures, and transmitted control signal to drive unit by control module, under the effect of this control signal, drive unit is started working and driven mask motion to cover camera,
The camera head protecting method of the present embodiment; whether the coverage interior focusing object detecting camera disappears; if focusing object disappears; in response to determining that focusing object disappears; and within Preset Time camera coverage in do not have other focusing objects to occur, determine that state parameter instruction camera is in and does not trigger running status, then; not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.The method of the present embodiment, by detecting the existence of the coverage interior focusing object of camera, after focusing object disappears, and does not have other focusing objects appearance within Preset Time; automatic control mask covers camera; to protect camera, do not need manual operation, be user-friendly to.
Fig. 4 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment, and as shown in Figure 4, the camera head protecting method of the present embodiment comprises the following steps:
In step S401, detect shockproofness.
The shockproofness that the Shock inductor detection camera that terminal is arranged is subject to can be utilized.Shock inductor is connected with the determination module of terminal, and for detecting that shockproofness sends determination module to, determination module will be used for determining whether camera is in and does not trigger running status.
In step S402, in response to determining that shockproofness is greater than default shockproofness threshold value, determining that state parameter instruction camera is in and not triggering running status.
Determination module compares the shockproofness and shockproofness threshold value that detect, determine whether the shockproofness detected is greater than shockproofness threshold value, if determine that shockproofness is greater than shockproofness threshold value, then illustrate that terminal vibrations are strong, be not suitable for video recording or take pictures, determination module, in response to determining that shockproofness is greater than default shockproofness threshold value, is determined that state parameter instruction camera is in and is not triggered running status.
In step S403, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.
After determination module determination camera is in and does not trigger running status, transmitted control signal by the drive unit of control module to terminal, under the effect of this control signal, drive unit is started working and is driven mask motion to cover camera,
The camera head protecting method of the present embodiment; detect shockproofness; if shockproofness is greater than default shockproofness threshold value; in response to determining that shockproofness is greater than default shockproofness threshold value; determine that state parameter instruction camera is in and do not trigger running status; then, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.The method of the present embodiment, by detecting shockproofness, when shockproofness is greater than threshold value, can automatically controls mask and cover camera, to protect camera, not need manual operation, be user-friendly to.
Fig. 5 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment, and as shown in Figure 5, the camera head protecting method of the present embodiment comprises the following steps:
In step S501, detect the running status of camera.
The running status of camera comprises unlatching, closedown, holding state etc.
In step S502, in response to determining that running status instruction camera is in closed condition, determining that state parameter instruction camera is in and not triggering running status.
If detect that camera is in closed condition, so the determination module determination running status instruction camera of terminal is in closed condition, determination module is used for determining whether camera is in and does not trigger running status, in response to determining that running status instruction camera is in closed condition, determination module determination state parameter instruction camera is in and does not trigger running status.
In step S503, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.
After determination module determination state parameter instruction camera is in and does not trigger running status, transmitted control signal to drive unit by control module, under the effect of this control signal, drive unit is started working and is driven mask motion to cover camera,
The camera head protecting method of the present embodiment; detect the running status of camera; if determine that camera is in closed condition; in response to determining that running status instruction camera is in closed condition; determine that state parameter instruction camera is in and do not trigger running status; then, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.The method of the present embodiment, by detecting the running status of camera, after camera is in closed condition, can automatically controls mask and cover camera, to protect camera, not need manual operation, be user-friendly to.
Fig. 6 is the flow chart of a kind of camera head protecting method according to an exemplary embodiment, and as shown in Figure 6, the camera head protecting method of the present embodiment comprises the following steps:
In step s 601, the running status of camera is detected.
The running status of camera comprises unlatching, closedown, holding state etc.
In step S602, in response to determining that running status instruction camera is in holding state, determining that state parameter instruction camera is in and not triggering running status.
If detect that camera is in holding state, so the determination module determination running status instruction camera of terminal is in holding state, determination module is used for determining whether camera is in and does not trigger running status, in response to determining that running status instruction camera is in holding state, determination module determination state parameter instruction camera is in and does not trigger running status.
In step S603, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.
After determination module determination state parameter instruction camera is in and does not trigger running status, transmitted control signal to drive unit by control module, under the effect of this control signal, drive unit is started working and is driven mask motion to cover camera,
The camera head protecting method of the present embodiment; detect the running status of camera; if determine that camera is in holding state; in response to determining that running status instruction camera is in holding state; determine that state parameter instruction camera is in and do not trigger running status; then, not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.The method of the present embodiment, by detecting the running status of camera, after camera is in holding state, can automatically controls mask and cover camera, to protect camera, not need manual operation, be user-friendly to.
Fig. 7 is the block diagram of a kind of camera protection device according to an exemplary embodiment; this camera protection device is applied in terminal; terminal configuration has camera and mask; mask is used for covering to protect camera to camera; as shown in Figure 7, the camera protection device of the present embodiment comprises: detection module 11 and control module 12.
Detection module 11, is configured to the state parameter detecting camera;
Control module 12, being configured to not trigger running status in response to determining that state parameter that detection module 11 detects instruction camera is in, controlling mask and covering camera.
Fig. 8 is the block diagram of a kind of camera protection device according to another exemplary embodiment.As shown in Figure 8, on basis embodiment illustrated in fig. 7, detection module 11 comprises at least one submodule following:
First detection sub-module 111, is configured to the inner parameter detecting camera;
Second detection sub-module 112, is configured to the external parameter detecting camera.
Fig. 9 is the block diagram of a kind of camera protection device according to another exemplary embodiment.As shown in Figure 9, on basis embodiment illustrated in fig. 8, the second detection sub-module 112 comprises: light detection sub-module 1121, and camera protection device also comprises the first determination module 13.
Light detection sub-module 1121, is configured to the light intensity detecting surrounding environment;
First determination module 13, is configured in response to determining that the light intensity that light detection sub-module 1121 detects is less than default light intensity threshold value, determines that state parameter instruction camera is in and does not trigger running status.
Figure 10 is the block diagram of a kind of camera protection device according to another exemplary embodiment.As shown in Figure 10, on basis embodiment illustrated in fig. 8, the second detection sub-module 112 comprises: motion detection submodule 1122, and camera protection device also comprises: the second determination module 14.
Motion detection submodule 1122, whether the coverage interior focusing object being configured to detect camera disappears;
Second determination module 14, be configured in response to determining that motion detection submodule 1122 detects that focusing object disappears, and within Preset Time camera coverage in do not have other focusing objects to occur, determine that state parameter instruction camera is in and does not trigger running status.
Figure 11 is the block diagram according to going back a kind of camera protection device shown in an exemplary embodiment.As shown in figure 11, on basis embodiment illustrated in fig. 8, the second detection sub-module 112 comprises: shock detection submodule 1123, and camera protection device also comprises: the 3rd determination module 15.
Shock detection submodule 1123, is configured to detect shockproofness;
3rd determination module 15, is configured in response to determining that the shockproofness that shock detection submodule 1123 detects is greater than default shockproofness threshold value, determines that state parameter instruction camera is in and does not trigger running status.
Figure 12 is the block diagram of a kind of camera protection device Gen Ju an exemplary embodiment again.As shown in figure 12, on basis embodiment illustrated in fig. 8, the first detection sub-module 111 comprises: condition monitoring submodule 1111, and camera protection device also comprises: the 4th determination module 16.
Condition monitoring submodule 1111, is configured to the running status detecting camera;
4th determination module 16, is configured to, in response to determining that the running status instruction camera that condition monitoring submodule 1111 detects is in closed condition, determine that state parameter instruction camera is in and do not trigger running status.
Figure 13 is the block diagram of a kind of camera protection device Gen Ju an exemplary embodiment again.As shown in figure 13, on basis embodiment illustrated in fig. 8, the first detection sub-module 111 comprises: condition monitoring submodule 1111, and camera protection device also comprises: the 5th determination module 17.
Condition monitoring submodule 1111, is configured to the running status detecting camera;
5th determination module 17, is configured to, in response to determining that the running status instruction camera that condition monitoring submodule 1111 detects is in holding state, determine that state parameter instruction camera is in and do not trigger running status.
About the camera protection device in each embodiment above-mentioned, be wherein described in detail in the concrete mode of modules executable operations and the embodiment of the method for technique effect shown in Fig. 1 to Fig. 6, will not explanation have been elaborated herein.
Figure 14 is the block diagram of a kind of terminal according to an exemplary embodiment, as shown in figure 14, terminal 200 comprises: camera 21, mask 22, processor 23 and memory 24, and camera 21, mask 22 and memory 24 to be connected with processor 23 by system bus and to communicate.
Memory 24 is for storage of processor 23 executable instruction;
Wherein, processor 24 is configured to:
Detect the state parameter of camera 21;
Not triggering running status in response to determining that state parameter instruction camera 21 is in, controlling mask 22 and covering camera 21.
In the present embodiment, processor can be that CPU is (English: CentralProcessingUnit, be called for short: CPU), can also be other general processors, digital signal processor (English: DigitalSignalProcessor, be called for short: DSP), (English: ApplicationSpecificIntegratedCircuit is called for short: ASIC) etc. application-specific integrated circuit (ASIC).The processor etc. of general processor can be microprocessor or this processor also can be any routine, and aforesaid memory can be read-only memory (English: read-onlymemory, abbreviation: ROM), random access memory (English: randomaccessmemory, RAM), flash memory, hard disk or solid state hard disc be called for short:.Step in conjunction with the method disclosed in the embodiment of the present invention can directly be presented as that hardware processor is complete, or hardware in purpose processor and software module combination complete.
Figure 15 is the block diagram of a kind of terminal according to an exemplary embodiment.Such as, terminal 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 15, terminal 800 can comprise following one or more assembly: processing components 802, memory 804, electric power assembly 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation in terminal 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 806 is terminal 800 provide electric power.Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for terminal 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between terminal 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When terminal 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when terminal 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducer, for providing the state estimation of various aspects for terminal 800.Such as, sensor cluster 814 can detect the opening/closing state of terminal 800, the relative positioning of assembly, such as assembly is display and the keypad of terminal 800, the position of all right sense terminals 800 of sensor cluster 814 or terminal 800 1 assemblies changes, the presence or absence that user contacts with terminal 800, the variations in temperature of terminal 800 orientation or acceleration/deceleration and terminal 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, terminal 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of terminal 800.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium; when the instruction in storage medium is performed by the processor of terminal; make terminal can perform a kind of camera head protecting method; terminal configuration has camera and mask; mask is used for covering to protect camera to camera, and camera head protecting method comprises:
Detect the state parameter of camera;
Not triggering running status in response to determining that state parameter instruction camera is in, controlling mask and covering camera.
Optionally, detect the state parameter of camera, comprising:
Detect following at least one the state parameter of camera: inner parameter, external parameter.
Optionally, detect the external parameter of camera, comprising:
Detect the light intensity of surrounding environment;
This camera head protecting method also comprises:
In response to determining that light intensity is less than default light intensity threshold value, determining that state parameter instruction camera is in and not triggering running status.
Optionally, detect the external parameter of camera, comprising:
This camera head protecting method also comprises:
In response to determining that focusing object disappears, and within Preset Time camera coverage in do not have other focusing objects to occur, determine that state parameter instruction camera is in and does not trigger running status.
Optionally, detect the external parameter of camera, comprising:
Detect shockproofness;
This camera head protecting method also comprises:
In response to determining that shockproofness is greater than default shockproofness threshold value, determining that state parameter instruction camera is in and not triggering running status.
Optionally, detect the inner parameter of camera, comprising:
Detect the running status of camera;
This camera head protecting method also comprises:
In response to determining that running status instruction camera is in closed condition, determining that state parameter instruction camera is in and not triggering running status.
Optionally, detect the inner parameter of camera, comprising:
Detect the running status of camera;
This camera head protecting method also comprises:
In response to determining that running status instruction camera is in holding state, determining that state parameter instruction camera is in and not triggering running status.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (15)

1. a camera head protecting method, is characterized in that, described method comprises:
Detect the state parameter of camera;
In response to determining that described state parameter indicates described camera to be in and do not trigger running status, controlling mask and covering described camera.
2. camera head protecting method according to claim 1, is characterized in that, the state parameter of described detection camera, comprising:
Detect following at least one the state parameter of described camera: inner parameter, external parameter.
3. camera head protecting method according to claim 2, is characterized in that, detects the external parameter of described camera, comprising:
Detect the light intensity of surrounding environment;
Described method also comprises:
In response to determining that described light intensity is less than default light intensity threshold value, determine that described state parameter indicates described camera to be in and do not trigger running status.
4. camera head protecting method according to claim 2, is characterized in that, detects the external parameter of described camera, comprising:
Whether the coverage interior focusing object detecting described camera disappears;
Described method also comprises:
In response to determining that described focusing object disappears, and within Preset Time described camera coverage in do not have other focusing objects occur, determine that described state parameter indicates described camera to be in and do not trigger running status.
5. camera head protecting method according to claim 2, is characterized in that, detects the external parameter of described camera, comprising:
Detect shockproofness;
Described method also comprises:
In response to determining that described shockproofness is greater than default shockproofness threshold value, determine that described state parameter indicates described camera to be in and do not trigger running status.
6. camera head protecting method according to claim 2, is characterized in that, detects the inner parameter of described camera, comprising:
Detect the running status of described camera;
Described method also comprises:
In response to determining that described running status indicates described camera to be in closed condition, determine that described state parameter indicates described camera to be in and do not trigger running status.
7. camera head protecting method according to claim 2, is characterized in that, detects the inner parameter of described camera, comprising:
Detect the running status of described camera;
Described method also comprises:
In response to determining that described running status indicates described camera to be in holding state, determine that described state parameter indicates described camera to be in and do not trigger running status.
8. a camera protection device, is characterized in that, comprising:
Detection module, is configured to the state parameter detecting camera;
Control module, is configured to, in response to determining that described state parameter that described detection module detects indicates described camera to be in and do not trigger running status, control mask and cover described camera.
9. camera protection device according to claim 8, is characterized in that, described detection module comprises at least one submodule following:
First detection sub-module, is configured to the inner parameter detecting described camera;
Second detection sub-module, is configured to the external parameter detecting described camera.
10. camera protection device according to claim 9, is characterized in that, described second detection sub-module comprises:
Light detection sub-module, is configured to the light intensity detecting surrounding environment;
Described camera protection device also comprises:
First determination module, is configured to, in response to determining that the light intensity that described light detection sub-module detects is less than default light intensity threshold value, determine that described state parameter indicates described camera to be in and do not trigger running status.
11. camera protection devices according to claim 9, is characterized in that, described second detection sub-module comprises:
Motion detection submodule, whether the coverage interior focusing object being configured to detect described camera disappears;
Described camera protection device also comprises:
Second determination module, be configured in response to determining that described motion detection submodule detects that described focusing object disappears, and within Preset Time described camera coverage in do not have other focusing objects occur, determine that described state parameter indicates described camera to be in and do not trigger running status.
12. camera protection devices according to claim 9, is characterized in that, described second detection sub-module comprises:
Shock detection submodule, is configured to detect shockproofness;
Described camera protection device also comprises:
3rd determination module, is configured to, in response to determining that the described shockproofness that described shock detection submodule detects is greater than default shockproofness threshold value, determine that described state parameter indicates described camera to be in and do not trigger running status.
13. camera protection devices according to claim 9, is characterized in that, described first detection sub-module comprises:
Condition monitoring submodule, is configured to the running status detecting described camera;
Described camera protection device also comprises:
4th determination module, is configured to, in response to determining that the described running status that described condition monitoring submodule detects indicates described camera to be in closed condition, determine that described state parameter indicates described camera to be in and do not trigger running status.
14. camera protection devices according to claim 9, is characterized in that, described first detection sub-module comprises:
Condition monitoring submodule, is configured to the running status detecting described camera;
Described camera protection device also comprises:
5th determination module, is configured to, in response to determining that the described running status that described condition monitoring submodule detects indicates described camera to be in holding state, determine that described state parameter indicates described camera to be in and do not trigger running status.
15. 1 kinds of terminals, is characterized in that, comprising: camera, mask, processor and memory;
Described memory is for storing described processor executable;
Wherein, described processor is configured to:
Detect the state parameter of described camera;
In response to determining that described state parameter indicates described camera to be in and do not trigger running status, controlling described mask and covering described camera.
CN201510607351.3A 2015-09-22 2015-09-22 Camera head protecting method, apparatus and terminal Active CN105208378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510607351.3A CN105208378B (en) 2015-09-22 2015-09-22 Camera head protecting method, apparatus and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510607351.3A CN105208378B (en) 2015-09-22 2015-09-22 Camera head protecting method, apparatus and terminal

Publications (2)

Publication Number Publication Date
CN105208378A true CN105208378A (en) 2015-12-30
CN105208378B CN105208378B (en) 2017-12-12

Family

ID=54955771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510607351.3A Active CN105208378B (en) 2015-09-22 2015-09-22 Camera head protecting method, apparatus and terminal

Country Status (1)

Country Link
CN (1) CN105208378B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425514A (en) * 2016-01-13 2016-03-23 广东小天才科技有限公司 Protection method and apparatus of camera lens, and intelligent device
CN107219914A (en) * 2017-05-31 2017-09-29 广东小天才科技有限公司 A kind of method and device for saving electricity
CN107886654A (en) * 2017-11-03 2018-04-06 深圳怡化电脑股份有限公司 The intelligent keyboard control system and control method of a kind of financial self-service equipment
CN111796545A (en) * 2020-07-20 2020-10-20 艾体威尔电子技术(北京)有限公司 Anti-shock false-triggering safety mechanism system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201181372Y (en) * 2008-03-20 2009-01-14 中兴通讯股份有限公司 Mobile phone cam protecting equipment
CN102547124A (en) * 2012-01-16 2012-07-04 华为终端有限公司 Method and device for photographic processing and mobile equipment
CN202931427U (en) * 2012-09-04 2013-05-08 崔颖 Handset including lens protection cover
CN103945100A (en) * 2014-04-29 2014-07-23 吴小江 Spherical infrared camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201181372Y (en) * 2008-03-20 2009-01-14 中兴通讯股份有限公司 Mobile phone cam protecting equipment
CN102547124A (en) * 2012-01-16 2012-07-04 华为终端有限公司 Method and device for photographic processing and mobile equipment
CN202931427U (en) * 2012-09-04 2013-05-08 崔颖 Handset including lens protection cover
CN103945100A (en) * 2014-04-29 2014-07-23 吴小江 Spherical infrared camera

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425514A (en) * 2016-01-13 2016-03-23 广东小天才科技有限公司 Protection method and apparatus of camera lens, and intelligent device
CN107219914A (en) * 2017-05-31 2017-09-29 广东小天才科技有限公司 A kind of method and device for saving electricity
CN107886654A (en) * 2017-11-03 2018-04-06 深圳怡化电脑股份有限公司 The intelligent keyboard control system and control method of a kind of financial self-service equipment
CN107886654B (en) * 2017-11-03 2020-11-17 深圳怡化电脑股份有限公司 Intelligent keyboard control system and control method of self-service financial equipment
CN111796545A (en) * 2020-07-20 2020-10-20 艾体威尔电子技术(北京)有限公司 Anti-shock false-triggering safety mechanism system
CN111796545B (en) * 2020-07-20 2021-09-14 艾体威尔电子技术(北京)有限公司 Anti-shock false-triggering safety mechanism system

Also Published As

Publication number Publication date
CN105208378B (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN103873684B (en) The application process of flashlight and device
CN105472303A (en) Privacy protection method and apparatus for video chatting
CN105491289A (en) Method and device for preventing photographing occlusion
US10354678B2 (en) Method and device for collecting sounds corresponding to surveillance images
CN104853136A (en) Video communication method and device
CN105117211A (en) Method and device for message prompts
CN106095401A (en) Informing message treatment method and device
CN104298547A (en) Terminal setting method and device
CN104968007A (en) Test method and device of intelligent device
CN104243829A (en) Self-shooting method and self-shooting device
CN105245809A (en) Video recording method and video recording device
CN104111719A (en) Method and device for controlling battery to be disconnected from main equipment
CN105160793A (en) Alarming method and apparatus
CN105446616A (en) Screen display control method, apparatus and device
CN105491236A (en) Terminal unlocking method and device
CN104468971A (en) Method and device for connecting playing source
CN105430715A (en) Method and apparatus for controlling WIFI scanning
CN105282446A (en) Camera management method and device
EP3322227A1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
CN105208378A (en) Camera protection method, device and terminal
CN105979066A (en) Screen lighting-up method and screen lighting-up device
CN104618575A (en) Method and device for approaching detected objects
CN105515952A (en) Multimedia message sending method and device
CN105472157A (en) Method and device for monitoring terminal motion state
CN104063654A (en) Monitoring method and device for application program

Legal Events

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