CN105843524B - Camera control method, device and mobile terminal for mobile terminal - Google Patents
Camera control method, device and mobile terminal for mobile terminal Download PDFInfo
- Publication number
- CN105843524B CN105843524B CN201610162607.9A CN201610162607A CN105843524B CN 105843524 B CN105843524 B CN 105843524B CN 201610162607 A CN201610162607 A CN 201610162607A CN 105843524 B CN105843524 B CN 105843524B
- Authority
- CN
- China
- Prior art keywords
- user
- mobile terminal
- light sensation
- proximity sensor
- sensation hole
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000035807 sensation Effects 0.000 claims abstract description 145
- 230000000903 blocking effect Effects 0.000 claims abstract description 70
- 238000001514 detection method Methods 0.000 claims abstract description 45
- 230000006870 function Effects 0.000 claims description 20
- 238000012216 screening Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 3
- 230000005611 electricity Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 239000004984 smart glass Substances 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of camera control method, device and mobile terminal for mobile terminal, wherein camera control method is the following steps are included: when mobile terminal is in screen lock state, and detection user blocks operation to the light sensation hole of proximity sensor;Judge user operates whether meet preset condition to the blocking for light sensation hole of proximity sensor;And if user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor, opens the camera of mobile terminal.The camera control method of the embodiment of the present invention, reduces user's operation, saves user operation time, improves convenience, improves the usage experience of user.
Description
Technical field
The present invention relates to mobile terminal manufacturing technology fields, more particularly to a kind of camera control side for mobile terminal
Method, device and mobile terminal.
Background technique
Mobile terminal (such as mobile phone, tablet computer) has become the portable tool of people, the function of taking pictures of mobile terminal
One of most common function of user can also be increasingly becomed.However, user is using mobile terminal when being taken pictures, due to mobile terminal
It may be to be in screen lock state, therefore user needs first to be unlocked mobile terminal, is then turned on camera and takes pictures, not only grasps
Make complexity, and since the speed that user opens camera is not fast enough, often leads to miss the scene taken pictures.
Summary of the invention
The purpose of the present invention is intended to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of camera control method for mobile terminal, the camera
Control method makes user without can quickly open camera and be shot, be subtracted under the premise of being unlocked screen operator
Lack user's operation, saved user operation time, improved convenience, improves the usage experience of user.
Second object of the present invention is to propose a kind of camera control apparatus for mobile terminal.
Third object of the present invention is to propose a kind of mobile terminal.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of camera control side for mobile terminal
Method, comprising the following steps: when mobile terminal is in screen lock state, detection user blocks behaviour to the light sensation hole of proximity sensor
Make;Judge the user operates whether meet preset condition to the blocking for light sensation hole of proximity sensor;And if the user
Preset condition is met to the operation of blocking in the light sensation hole of proximity sensor, then opens the camera of the mobile terminal.
Camera control method provided in this embodiment, when mobile terminal is in screen lock state, detection user is to mobile whole
Operation is blocked in the light sensation hole of proximity sensor on end, is being detected when blocking operation and meeting preset condition of user, is being opened and move
The camera of dynamic terminal, so that user is without can quickly open camera and be clapped under the premise of being unlocked screen operator
It takes the photograph, reduces user's operation, save user operation time, improve convenience, improve the usage experience of user.
In addition, the camera control method of the above embodiment of the present invention can also have the following additional technical features: at this
It is described to judge user operates whether meet default item to the blocking for light sensation hole of proximity sensor in one embodiment of invention
Part, comprising: whether the number for judging that the light intensity in the light sensation hole reaches preset strength value is more than preset times, if the light
The number that the light intensity in sense hole reaches preset strength value is more than preset times, then judges the user to the light of proximity sensor
The operation of blocking in sense hole meets preset condition.Thus, it is possible to further increase the recognition accuracy that identification user blocks operation.
In one embodiment of the invention, described to judge whether user blocks operation to the light sensation hole of proximity sensor
Meet preset condition, comprising: the number that the light intensity in the judgement light sensation hole within a preset time reaches preset strength value is
No is more than preset times, if it is more than default that the light intensity in the light sensation hole, which reaches the number of preset strength value, within a preset time
Number then judges that the user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.Thus, it is possible to further
Improve the recognition accuracy that identification user blocks operation.
In one embodiment of the invention, described to judge whether user blocks operation to the light sensation hole of proximity sensor
Meet preset condition, comprising: whether the duration for judging that the light intensity in the light sensation hole reaches preset strength value is more than pre-
If the time, if the light intensity in the light sensation hole reach preset strength value duration be more than preset time, judgement described in
User meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.It is hidden thus, it is possible to further increase identification user
Keep off the recognition accuracy of operation.
Further, in one embodiment of the invention, in the detection user to the light sensation hole of proximity sensor
Before blocking operation, further includes: obtain user selection operation in system set interface, and according to the selection operation control
The detection function that operation is blocked described in system opens or closes.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of camera control dress for mobile terminal
It sets, comprising: detection module detects user to the light sensation hole of proximity sensor for when mobile terminal be in screen lock state
Block operation;Judgment module, for judge the user to the light sensation hole of proximity sensor block operation whether meet it is default
Condition;And first control module, for meeting default item to the operation of blocking in the light sensation hole of proximity sensor as the user
When part, the camera of the mobile terminal is opened.
Camera control apparatus provided in this embodiment, when mobile terminal is in screen lock state, detection user is to mobile whole
Operation is blocked in the light sensation hole of proximity sensor on end, is being detected when blocking operation and meeting preset condition of user, is being opened and move
The camera of dynamic terminal, so that user is without can quickly open camera and be clapped under the premise of being unlocked screen operator
It takes the photograph, reduces user's operation, save user operation time, improve convenience, improve the usage experience of user.
In addition, the camera control apparatus of the above embodiment of the present invention can also have the following additional technical features: at this
In one embodiment of invention, the judgment module is also used to: judging that the light intensity in the light sensation hole reaches preset strength value
Number whether be more than preset times, if the number that the light intensity in the light sensation hole reaches preset strength value is more than default time
Number, then judge that the user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.Thus, it is possible to further mention
Height identification user blocks the recognition accuracy of operation.
In one embodiment of the invention, the judgment module is also used to: judging the light sensation hole within a preset time
Light intensity reach whether the number of preset strength value is more than preset times, if the light in the light sensation hole within a preset time
The number that intensity reaches preset strength value is more than preset times, then judges the user blocking to the light sensation hole of proximity sensor
Operation meets preset condition.Thus, it is possible to further increase the recognition accuracy that identification user blocks operation.
In one embodiment of the invention, the judgment module is also used to: judging that the light intensity in the light sensation hole reaches
Whether the duration to preset strength value is more than preset time, if the light intensity in the light sensation hole reaches preset strength value
Duration is more than preset time, then judges that the user meets default item to the operation of blocking in the light sensation hole of proximity sensor
Part.Thus, it is possible to further increase the recognition accuracy that identification user blocks operation.
Further, in one embodiment of the invention, camera control apparatus further include: module is obtained, for obtaining
User selection operation in system set interface;Second control module, for controlling the screening according to the selection operation
The detection function of gear operation opens or closes.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of mobile terminal, including with next or more
A component: processor, memory, power circuit, multimedia component, audio component, the interface of input/output (I/O), sensor
Component and communication component;Wherein, the circuit board is placed in the space interior that the shell surrounds, the processor and institute
Memory is stated to be arranged on the circuit board;The power circuit, for each circuit or the device confession for the mobile terminal
Electricity;The memory is for storing executable program code;The processor is held by what is stored in the reading memory
Line program code runs program corresponding with the executable program code, for executing following steps: working as mobile terminal
When in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor;Judge the user to close sensing
Block whether operation meets preset condition in the light sensation hole of device;And if the user blocking to the light sensation hole of proximity sensor
Operation meets preset condition, then opens the camera of the mobile terminal.
Mobile terminal provided in this embodiment detects user on mobile terminal when mobile terminal is in screen lock state
Operation is blocked in the light sensation hole of proximity sensor, is detecting when blocking operation and meeting preset condition of user, open it is mobile eventually
The camera at end, so that user is without can quickly open camera and be shot, be subtracted under the premise of being unlocked screen operator
Lack user's operation, saved user operation time, improved convenience, improves the usage experience of user.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart of the camera control method according to an embodiment of the invention for mobile terminal;
Fig. 2 is the flow chart of the camera control method for mobile terminal accord to a specific embodiment of that present invention;
Fig. 3 is the flow chart of the camera control method for mobile terminal accord to a specific embodiment of that present invention;
Fig. 4 is the flow chart of the camera control method for mobile terminal accord to a specific embodiment of that present invention;
Fig. 5 is the flow chart of the camera control method in accordance with another embodiment of the present invention for mobile terminal;
Fig. 6 is the structural schematic diagram of the camera control apparatus for mobile terminal of the application one embodiment;
Fig. 7 is the structural schematic diagram of the camera control apparatus for mobile terminal of the application another embodiment;And
Fig. 8 is the structural schematic diagram of the mobile terminal of the application one embodiment.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
The camera control method for mobile terminal, the device proposed according to embodiments of the present invention is described with reference to the accompanying drawings
And mobile terminal.
Fig. 1 is the flow chart of the camera control method according to an embodiment of the invention for mobile terminal.
As shown in Figure 1, the camera control method for being used for mobile terminal includes:
S101, when mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor.
Wherein, mobile terminal may include but be not limited to smart phone, tablet computer, personal digital assistant, wearable set
Standby to wait smart machines, wearable smart machine may include but be not limited to smart glasses, smart watches, Intelligent bracelet etc..
Specifically, there is proximity sensor on usual mobile terminal, for detecting the mobile letter of user or user's finger
Breath, the working principle of proximity sensor is constantly to launch outward infrared light, is emitted when there is shelter to shelter from proximity sensor
Infrared light when, have infrared light reflection partially or completely to proximity sensor.Thus, it is possible to be connect according to proximity sensor
The mobile message of infrared energy signal detection user or user's finger that the infrared light of receipts is reflected by shelter.
Therefore, when mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor.
S102, judges user operates whether meet preset condition to the blocking for light sensation hole of proximity sensor.
Specifically, it realizes to pass through user to the operation of blocking in the light sensation hole of proximity sensor in mobile terminal screen locking shape
Camera is quickly opened under state, is needed to preset in mobile terminal and is opened the preset condition of camera, wherein preset condition can be with
Be to default in mobile terminal system, be also possible to what user was arranged in the terminal according to demand, the present embodiment to this not
It is restricted.
For example, the light sensation hole that preset condition can be proximity sensor is blocked by user's finger.That is, when detecting
When user shelters from close to the light sensation hole of proximity sensor, judge that the operation of blocking of user meets preset condition.
S103 opens mobile terminal if user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor
Camera.
Specifically, when judging that user when blocking operation and meeting preset condition, then opens the light sensation hole of proximity sensor
The camera of mobile terminal.
Camera control method provided in this embodiment, when mobile terminal is in screen lock state, detection user is to mobile whole
Operation is blocked in the light sensation hole of proximity sensor on end, is being detected when blocking operation and meeting preset condition of user, is being opened and move
The camera of dynamic terminal, so that user is without can quickly open camera and be clapped under the premise of being unlocked screen operator
It takes the photograph, reduces user's operation, save user operation time, improve convenience, improve the usage experience of user.
Fig. 2 is the flow chart of the camera control method for mobile terminal accord to a specific embodiment of that present invention.
As shown in Fig. 2, the camera control method for being used for mobile terminal includes:
S201, when mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor.
Wherein, mobile terminal may include but be not limited to smart phone, tablet computer, personal digital assistant, wearable set
Standby to wait smart machines, wearable smart machine may include but be not limited to smart glasses, smart watches, Intelligent bracelet etc..
Specifically, there is proximity sensor on usual mobile terminal, for detecting the mobile letter of user or user's finger
Breath, the working principle of proximity sensor is constantly to launch outward infrared light, is emitted when there is shelter to shelter from proximity sensor
Infrared light when, have infrared light reflection partially or completely to proximity sensor.Thus, it is possible to be connect according to proximity sensor
The mobile message of infrared energy signal detection user or user's finger that the infrared light of receipts is reflected by shelter.
Therefore, when mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor.
S202, whether the number for judging that the light intensity in light sensation hole reaches preset strength value is more than preset times, if light sensation
The number that the light intensity in hole reaches preset strength value is more than preset times, then judges user to the light sensation hole of proximity sensor
It blocks operation and meets preset condition.
Specifically, if being only the light sensation hole detected user and whether blocked proximity sensor, light sensation has been blocked in user
Camera is switched on when hole, it is likely that will appear maloperation.For this purpose, by judging that the light intensity in light sensation hole reaches in the embodiment
Whether the number to preset strength value is more than preset times to judge that user's blocks whether operation meets preset condition, thus may be used
To improve recognition accuracy.
Therefore, if the number that the light intensity in light sensation hole reaches preset strength value is more than preset times, judge user couple
The operation of blocking in the light sensation hole of proximity sensor meets preset condition.
It should be noted that in order to effectively the camera due to caused by user misoperation be avoided to open by mistake the case where opening, it can
Preset preset strength value and preset times.Preset strength value can be configured according to practical situations.For example, user
The proximity values of light intensity are full scale 1023 when blocking operation, and certain preset strength value is also possible to other numerical value.Also
It is to say, when user uses mobile terminal, is placed on mobile terminal if sheltering from light sensation hole or user with clothes unintentionally
In pocket, the light intensity of the light returned will not generally reach preset strength value, therefore, only when user's deliberately low coverage
When from sheltering from light sensation hole completely, it is full scale 1023 that the light intensity of the light of return, which can just meet proximity values, is just sentenced at this time
Disconnected is effectively to block operation, the occurrence of so as to avoid maloperation.
Preset times can be to be defaulted in mobile terminal system, is also possible to what user was arranged according to demand.For example, such as
Fruit detects that user is blocked the number in light sensation hole and reached 2 times, and detects that light intensity is full amount when blocking light sensation hole 2 times
Journey 1023 then judges that user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.
S203 opens mobile terminal if user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor
Camera.
Specifically, when judging that user when blocking operation and meeting preset condition, then opens the light sensation hole of proximity sensor
The camera of mobile terminal.
Camera control method provided in this embodiment, when mobile terminal is in screen lock state, detection user is to mobile whole
Operation is blocked in the light sensation hole of proximity sensor on end, and is judging that the light intensity in light sensation hole reaches the number of preset strength value
When more than preset times, the camera of mobile terminal is opened, so that the recognition accuracy that identification user blocks operation is further increased,
So that user is without can quickly open camera and be shot, reduce user under the premise of being unlocked screen operator
Operation, further improves the usage experience of user.
Fig. 3 is the flow chart of the camera control method for mobile terminal accord to a specific embodiment of that present invention.
As shown in figure 3, the camera control method for being used for mobile terminal includes:
S301, when mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor.
Wherein, mobile terminal may include but be not limited to smart phone, tablet computer, personal digital assistant, wearable set
Standby to wait smart machines, wearable smart machine may include but be not limited to smart glasses, smart watches, Intelligent bracelet etc..
Specifically, there is proximity sensor on usual mobile terminal, for detecting the mobile letter of user or user's finger
Breath, the working principle of proximity sensor is constantly to launch outward infrared light, is emitted when there is shelter to shelter from proximity sensor
Infrared light when, have infrared light reflection partially or completely to proximity sensor.Thus, it is possible to be connect according to proximity sensor
The mobile message of infrared energy signal detection user or user's finger that the infrared light of receipts is reflected by shelter.
Therefore, when mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor.
S302 judges that the light intensity in light sensation hole within a preset time reaches whether the number of preset strength value is more than default
Number judges to use if the number that the light intensity in light sensation hole reaches preset strength value within a preset time is more than preset times
Family meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.
Specifically, in order to further increase recognition accuracy, by judging light sensation hole within a preset time in the embodiment
Light intensity reach the number of preset strength value whether be more than preset times judge user block operation whether meet it is pre-
If condition.
It should be noted that in order to effectively the camera due to caused by user misoperation be avoided to open by mistake the case where opening, it can
Preset preset strength value, preset times and preset time.Preset strength value can be configured according to practical situations.
For example, the proximity values of light intensity are full scale 1023 when user blocks operation, certain preset strength value is also possible to others
Numerical value.That is, when user uses mobile terminal, if sheltering from light sensation hole or user with clothes unintentionally will move
Dynamic terminal is placed in pocket, and the light intensity of the light returned will not generally reach preset strength value, therefore, only when with
When family deliberately closely shelters from light sensation hole completely, it is full scale that the light intensity of the light of return, which can just meet proximity values,
1023, just judgement is effectively to block operation at this time, the occurrence of so as to avoid maloperation.
Preset times can be to be defaulted in mobile terminal system, is also possible to what user was arranged according to demand, such as 2
It is secondary, 3 inferior.For example, if detect that user is blocked the number in light sensation hole and reached 2 times, and detect 2 times when blocking light sensation hole
Light intensity is full scale 1023, then judges that user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.
Preset time can be to be defaulted in mobile terminal system, is also possible to what user was arranged according to demand, for example, 2
Second, 3 seconds etc..For example, if detect that user is blocked the number in light sensation hole and reached 2 times, and detect 2 times when blocking light sensation hole
Light intensity is full scale 1023, and blocking light sensation hole for user 2 times was carried out in 3 seconds, then judges that user passes to close
The operation of blocking in the light sensation hole of sensor meets preset condition.
S303 opens mobile terminal if user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor
Camera.
Specifically, when judging that user when blocking operation and meeting preset condition, then opens the light sensation hole of proximity sensor
The camera of mobile terminal.
Camera control method provided in this embodiment, when mobile terminal is in screen lock state, detection user is to mobile whole
Operation is blocked in the light sensation hole of proximity sensor on end, and the light intensity in judgement light sensation hole within a preset time reaches default
When the number of intensity value is more than preset times, the camera of mobile terminal is opened, so that further increasing identification user blocks operation
Recognition accuracy so that user without be unlocked screen operator under the premise of, can quickly open camera and be clapped
It takes the photograph, reduces user's operation, further improve the usage experience of user.
Fig. 4 is the flow chart of the camera control method for mobile terminal accord to a specific embodiment of that present invention.
As shown in figure 4, the camera control method for being used for mobile terminal includes:
S401, when mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor.
Wherein, mobile terminal may include but be not limited to smart phone, tablet computer, personal digital assistant, wearable set
Standby to wait smart machines, wearable smart machine may include but be not limited to smart glasses, smart watches, Intelligent bracelet etc..
Specifically, there is proximity sensor on usual mobile terminal, for detecting the mobile letter of user or user's finger
Breath, the working principle of proximity sensor is constantly to launch outward infrared light, is emitted when there is shelter to shelter from proximity sensor
Infrared light when, have infrared light reflection partially or completely to proximity sensor.Thus, it is possible to be connect according to proximity sensor
The mobile message of infrared energy signal detection user or user's finger that the infrared light of receipts is reflected by shelter.
Therefore, when mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor.
S402, whether the duration for judging that the light intensity in light sensation hole reaches preset strength value is more than preset time, if
The duration that the light intensity in light sensation hole reaches preset strength value is more than preset time, then judges user to proximity sensor
The operation of blocking in light sensation hole meets preset condition.
Specifically, in order to further increase recognition accuracy, by judging that the light intensity in light sensation hole reaches in the embodiment
Whether the duration to preset strength value is more than preset time to judge that user's blocks whether operation meets preset condition.
It should be noted that in order to effectively the camera due to caused by user misoperation be avoided to open by mistake the case where opening, it can
Preset preset strength value, preset times and preset time.Preset strength value can be configured according to practical situations.
For example, the proximity values of light intensity are full scale 1023 when user blocks operation, certain preset strength value is also possible to others
Numerical value.That is, when user uses mobile terminal, if sheltering from light sensation hole or user with clothes unintentionally will move
Dynamic terminal is placed in pocket, and the light intensity of the light returned will not generally reach preset strength value, therefore, only when with
When family deliberately closely shelters from light sensation hole completely, it is full scale that the light intensity of the light of return, which can just meet proximity values,
1023, just judgement is effectively to block operation at this time, the occurrence of so as to avoid maloperation.
Preset times can be to be defaulted in mobile terminal system, is also possible to what user was arranged according to demand, such as 2
It is secondary, 3 inferior.For example, if detect that user is blocked the number in light sensation hole and reached 2 times, and detect 2 times when blocking light sensation hole
Light intensity is full scale 1023, then judges that user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.
Preset time can be to be defaulted in mobile terminal system, is also possible to what user was arranged according to demand, for example, 1
Second, 2 seconds etc..For example, if detect when user blocks light sensation hole that light intensity is full scale 1023, and user blocks light sensation hole
Duration be more than 2 seconds, then judge that user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.
S403 opens mobile terminal if user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor
Camera.
Specifically, when judging that user when blocking operation and meeting preset condition, then opens the light sensation hole of proximity sensor
The camera of mobile terminal.
Camera control method provided in this embodiment, when mobile terminal is in screen lock state, detection user is to mobile whole
Operation is blocked in the light sensation hole of proximity sensor on end, and the light intensity in judgement light sensation hole within a preset time reaches default
When the number of intensity value is more than preset times, the camera of mobile terminal is opened, so that further increasing identification user blocks operation
Recognition accuracy so that user without be unlocked screen operator under the premise of, can quickly open camera and be clapped
It takes the photograph, reduces user's operation, further improve the usage experience of user.
Fig. 5 is the flow chart of the camera control method in accordance with another embodiment of the present invention for mobile terminal.
As shown in figure 5, the camera control method for being used for mobile terminal includes:
S501 obtains user's selection operation in system set interface, and the inspection of operation is blocked according to selection operation control
Brake opens or closes.
Specifically, it provides to be turned on or off in the system set interface of mobile terminal and behaviour is blocked by detection user
Make the control of unlatching camera function, user can choose the screening being turned on or off by detecting user by clicking the control
The function of camera is opened in gear operation.
S502, when mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor.
Wherein, mobile terminal may include but be not limited to smart phone, tablet computer, personal digital assistant, wearable set
Standby to wait smart machines, wearable smart machine may include but be not limited to smart glasses, smart watches, Intelligent bracelet etc..
Specifically, there is proximity sensor on usual mobile terminal, for detecting the mobile letter of user or user's finger
Breath, the working principle of proximity sensor is constantly to launch outward infrared light, is emitted when there is shelter to shelter from proximity sensor
Infrared light when, have infrared light reflection partially or completely to proximity sensor.Thus, it is possible to be connect according to proximity sensor
The mobile message of infrared energy signal detection user or user's finger that the infrared light of receipts is reflected by shelter.
Therefore, when mobile terminal is in screen lock state, if user, which selects to open, blocks operation by detection user
The function of opening camera then detects user and blocks operation to the light sensation hole of proximity sensor.
S503, judges user operates whether meet preset condition to the blocking for light sensation hole of proximity sensor.
Specifically, it realizes to pass through user to the operation of blocking in the light sensation hole of proximity sensor in mobile terminal screen locking shape
Camera is quickly opened under state, is needed to preset in mobile terminal and is opened the preset condition of camera, wherein preset condition can be with
Be to default in mobile terminal system, be also possible to what user was arranged in the terminal according to demand, the present embodiment to this not
It is restricted.
For example, the light sensation hole that preset condition can be proximity sensor is blocked by user's finger.That is, when detecting
When user shelters from close to the light sensation hole of proximity sensor, judge that the operation of blocking of user meets preset condition.
S504 opens mobile terminal if user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor
Camera.
Specifically, when judging that user when blocking operation and meeting preset condition, then opens the light sensation hole of proximity sensor
The camera of mobile terminal.
Camera control method provided in this embodiment, user can be turned on or off logical by the setting of system set interface
The function of blocking operation and open camera of detection user is crossed, and then when opening the function and mobile terminal is in screen lock state,
Detection user blocks operation to the light sensation hole of proximity sensor on mobile terminal, meets in advance in the operation of blocking for detecting user
If when condition, opening the camera of mobile terminal so that user without be unlocked screen operator under the premise of, can be quick
It opens camera to be shot, reduces user's operation, save user operation time, improve convenience, improve user's
Usage experience.
In order to realize above-described embodiment, the application also proposes a kind of camera control apparatus for mobile terminal.
Fig. 6 is the structural schematic diagram of the camera control apparatus for mobile terminal of the application one embodiment.
As shown in fig. 6, the camera control apparatus includes: detection module 100, judgment module 200 and the first control module
300。
Specifically, detection module 100 is used for when mobile terminal is in screen lock state, detects user to proximity sensor
Block operation in light sensation hole.
Judgment module 200 is used to judge user to operate whether meet default item to the blocking for light sensation hole of proximity sensor
Part.
First control module 300 is used to meet preset condition to the operation of blocking in the light sensation hole of proximity sensor as user
When, open the camera of mobile terminal.
It should be noted that the aforementioned camera for being also applied for the embodiment to the explanation of camera control method embodiment
Control device, details are not described herein again.
Camera control apparatus provided in this embodiment, when mobile terminal is in screen lock state, detection user is to mobile whole
Operation is blocked in the light sensation hole of proximity sensor on end, is being detected when blocking operation and meeting preset condition of user, is being opened and move
The camera of dynamic terminal, so that user is without can quickly open camera and be clapped under the premise of being unlocked screen operator
It takes the photograph, reduces user's operation, save user operation time, improve convenience, improve the usage experience of user.
In one embodiment of the invention, judgment module 200 is also used to judge that the light intensity in light sensation hole reaches default
Whether the number of intensity value is more than preset times, if the number that the light intensity in light sensation hole reaches preset strength value is more than default time
Number, then judge that user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.Thus, it is possible to further increase knowledge
Other user blocks the recognition accuracy of operation.
In one embodiment of the invention, judgment module 200 is also used to judge the light in light sensation hole within a preset time
Whether the number that intensity reaches preset strength value is more than preset times, if the light intensity in light sensation hole reaches pre- within a preset time
If the number of intensity value is more than preset times, then judge that user meets default item to the operation of blocking in the light sensation hole of proximity sensor
Part.Thus, it is possible to further increase the recognition accuracy that identification user blocks operation.
In one embodiment of the invention, judgment module 200 is also used to judge that the light intensity in light sensation hole reaches default
Whether the duration of intensity value is more than preset time, if the duration that the light intensity in light sensation hole reaches preset strength value is super
Preset time is crossed, then judges that user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor.Thus, it is possible into one
Step improves the recognition accuracy that identification user blocks operation.
Fig. 7 is the structural schematic diagram of the camera control apparatus for mobile terminal of the application another embodiment.
As shown in fig. 7, the camera control apparatus include: detection module 100, judgment module 200, the first control module 300,
Obtain module 400 and the second control module 500.
Module 400 is obtained for obtaining user's selection operation in system set interface.
The detection function that second control module 500 is used to block operation according to selection operation control opens or closes.
It should be noted that the aforementioned camera for being also applied for the embodiment to the explanation of camera control method embodiment
Control device, details are not described herein again.
Camera control apparatus provided in this embodiment, user can be turned on or off logical by the setting of system set interface
The function of blocking operation and open camera of detection user is crossed, and then when opening the function and mobile terminal is in screen lock state,
Detection user blocks operation to the light sensation hole of proximity sensor on mobile terminal, meets in advance in the operation of blocking for detecting user
If when condition, opening the camera of mobile terminal so that user without be unlocked screen operator under the premise of, can be quick
It opens camera to be shot, reduces user's operation, save user operation time, improve convenience, improve user's
Usage experience.
In order to realize above-described embodiment, the application also proposes a kind of mobile terminal.
Fig. 8 is the structural schematic diagram of the mobile terminal of the application one embodiment.Wherein, mobile terminal 1000 can be hand
The mobile devices such as machine.
Referring to Fig. 8, mobile terminal 1000 may include following one or more components: processor 1001, memory 1002,
Power circuit 1003, multimedia component 1004, audio component 1005, the interface 1006 of input/output (I/O), sensor module
1007 and communication component 1008.
The power circuit 1003, for each circuit or the device power supply for the mobile terminal;The memory
1002 for storing executable program code;The processor 1001 is executable by storing in the reading memory 1002
Program code runs program corresponding with the executable program code, for executing following steps:
When mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor;
Judge user operates whether meet preset condition to the blocking for light sensation hole of proximity sensor;And
If user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor, the phase of mobile terminal is opened
Machine.
It should be noted that the aforementioned movement for being also applied for the embodiment to the explanation of camera control method embodiment
Terminal, realization principle is similar, and details are not described herein again.
The mobile terminal of the embodiment of the present application detects user on mobile terminal when mobile terminal is in screen lock state
Operation is blocked in the light sensation hole of proximity sensor, is detecting when blocking operation and meeting preset condition of user, open it is mobile eventually
The camera at end, so that user is without can quickly open camera and be shot, be subtracted under the premise of being unlocked screen operator
Lack user's operation, saved user operation time, improved convenience, improves the usage experience of user.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Claims (5)
1. a kind of camera control method for mobile terminal, which comprises the following steps:
When mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor;
Judge the user operates whether meet preset condition to the blocking for light sensation hole of proximity sensor, wherein described in judgement
Whether the duration that the light intensity in light sensation hole reaches preset strength value is more than preset time, if the light in the light sensation hole is strong
The duration that degree reaches preset strength value is more than preset time, then judges screening of the user to the light sensation hole of proximity sensor
Gear operation meets preset condition, and the preset strength value is that the proximity values of light intensity are full scale;And
If the user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor, the mobile terminal is opened
Camera.
2. camera control method as described in claim 1, which is characterized in that in the detection user to the light of proximity sensor
Sense hole block operation before, further includes:
User selection operation in system set interface is obtained, and blocks operation according to selection operation control
Detection function opens or closes.
3. a kind of camera control apparatus for mobile terminal characterized by comprising
Detection module detects user's blocking to the light sensation hole of proximity sensor for when mobile terminal be in screen lock state
Operation;
Judgment module, for judging the user operates whether meet preset condition to the blocking for light sensation hole of proximity sensor,
Wherein, whether the duration that the judgment module judges that the light intensity in the light sensation hole reaches preset strength value is more than default
Time judges the use if the duration that the light intensity in the light sensation hole reaches preset strength value is more than preset time
Family meets preset condition to the operation of blocking in the light sensation hole of proximity sensor, and the preset strength value is the proximity values of light intensity
For full scale;And
First control module, for when the user is to the light sensation hole of proximity sensor when blocking operation and meeting preset condition,
Open the camera of the mobile terminal.
4. camera control apparatus as claimed in claim 3, which is characterized in that further include:
Module is obtained, for obtaining user selection operation in system set interface;And
Second control module, the detection function for blocking operation according to selection operation control open or close.
5. a kind of mobile terminal, which is characterized in that include one or more of the following components: processor, memory, power circuit,
Multimedia component, audio component, the interface of input/output (I/O), sensor module and communication component;Wherein, circuit board
It is placed in the space interior that shell surrounds, the processor and the memory are arranged on the circuit board;The power supply electricity
Road, for each circuit or the device power supply for the mobile terminal;The memory is for storing executable program code;Institute
Processor is stated by reading the executable program code stored in the memory to run and the executable program code pair
The program answered, for executing following steps:
When mobile terminal is in screen lock state, detection user blocks operation to the light sensation hole of proximity sensor;
Judge the user operates whether meet preset condition to the blocking for light sensation hole of proximity sensor, wherein described in judgement
Whether the duration that the light intensity in light sensation hole reaches preset strength value is more than preset time, if the light in the light sensation hole is strong
The duration that degree reaches preset strength value is more than preset time, then judges screening of the user to the light sensation hole of proximity sensor
Gear operation meets preset condition, and the preset strength value is that the proximity values of light intensity are full scale;And
If the user meets preset condition to the operation of blocking in the light sensation hole of proximity sensor, the mobile terminal is opened
Camera.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610162607.9A CN105843524B (en) | 2016-03-21 | 2016-03-21 | Camera control method, device and mobile terminal for mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610162607.9A CN105843524B (en) | 2016-03-21 | 2016-03-21 | Camera control method, device and mobile terminal for mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105843524A CN105843524A (en) | 2016-08-10 |
CN105843524B true CN105843524B (en) | 2019-03-05 |
Family
ID=56587832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610162607.9A Expired - Fee Related CN105843524B (en) | 2016-03-21 | 2016-03-21 | Camera control method, device and mobile terminal for mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105843524B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293481B (en) * | 2016-08-24 | 2020-05-08 | Tcl移动通信科技(宁波)有限公司 | Method and system for detecting standby of mobile terminal based on ambient light |
CN106686305B (en) * | 2016-12-22 | 2020-09-15 | 南昌黑鲨科技有限公司 | Image processing method of electronic equipment and electronic equipment |
CN107484045B (en) * | 2017-08-30 | 2019-05-17 | 广东虹勤通讯技术有限公司 | A kind of functions expanding device and its control method suitable for terminal |
CN109710158B (en) * | 2017-10-25 | 2021-01-08 | 康烁 | Man-machine interaction method, system and device applied to intelligent equipment |
CN111090473A (en) * | 2019-07-29 | 2020-05-01 | 广东小天才科技有限公司 | Dictation starting method based on electronic equipment and electronic equipment |
CN111930296A (en) * | 2020-08-05 | 2020-11-13 | 维沃移动通信有限公司 | Electronic equipment control method and device and electronic equipment |
CN112118389A (en) * | 2020-08-14 | 2020-12-22 | 深圳传音控股股份有限公司 | Control method, terminal and readable storage medium |
CN114020382A (en) * | 2021-10-29 | 2022-02-08 | 杭州逗酷软件科技有限公司 | Execution method, electronic equipment and computer storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868821A (en) * | 2012-09-20 | 2013-01-09 | 广东欧珀移动通信有限公司 | Screen activating and unlocking method for mobile terminal |
CN102957803A (en) * | 2012-11-15 | 2013-03-06 | 广东欧珀移动通信有限公司 | Mobile terminal program operating method and mobile terminal |
CN103049209A (en) * | 2012-12-31 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for starting phone camera in screen extinguishing state of mobile phone |
CN103888571A (en) * | 2014-03-19 | 2014-06-25 | 上海斐讯数据通信技术有限公司 | Intelligent device and control method for turning off alarm in intelligent device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9292045B2 (en) * | 2013-02-15 | 2016-03-22 | Apple Inc. | Apparatus and method for automatically activating a camera application based on detecting an intent to capture a photograph or a video |
-
2016
- 2016-03-21 CN CN201610162607.9A patent/CN105843524B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868821A (en) * | 2012-09-20 | 2013-01-09 | 广东欧珀移动通信有限公司 | Screen activating and unlocking method for mobile terminal |
CN102957803A (en) * | 2012-11-15 | 2013-03-06 | 广东欧珀移动通信有限公司 | Mobile terminal program operating method and mobile terminal |
CN103049209A (en) * | 2012-12-31 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for starting phone camera in screen extinguishing state of mobile phone |
CN103888571A (en) * | 2014-03-19 | 2014-06-25 | 上海斐讯数据通信技术有限公司 | Intelligent device and control method for turning off alarm in intelligent device |
Also Published As
Publication number | Publication date |
---|---|
CN105843524A (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105843524B (en) | Camera control method, device and mobile terminal for mobile terminal | |
CN104503691B (en) | Apparatus control method, device and intelligent terminal | |
CN110555333B (en) | Fingerprint identification method, electronic device and storage medium | |
US8862079B2 (en) | Mobile device and method for controlling the same | |
EP2695033B1 (en) | Devices and methods for providing access to internal component | |
CN106415569B (en) | Display device and its control method | |
CN107797739A (en) | Mobile terminal and its display control method, device and computer-readable recording medium | |
CN104320579A (en) | Photographing device and method | |
CN101893994A (en) | Intelligent screen lock method and terminal | |
CN106250152B (en) | Mobile terminal control method and device and mobile terminal | |
US20150100804A1 (en) | Information Processing Method and Electronic Apparatus | |
CN108881711A (en) | Realize that the power in multisensor camera device reduces by on-demand sensor activation | |
CN109267289A (en) | The control method and its device of device for clothing processing, electronic equipment, storage medium | |
CN106254765A (en) | Zoom processing method, device and the terminal unit of dual camera | |
CN107360324A (en) | Terminal searching prompting method and device, terminal and storage medium | |
CN110244894A (en) | A kind of control method of screen locking, device, handheld terminal and storage medium | |
CN113012656A (en) | Display screen control method, intelligent household appliance and storage medium | |
CN108989638A (en) | Imaging device and its control method, electronic device and computer readable storage medium | |
CN105869552B (en) | A kind of detection method of display screen, detection device and terminal | |
CN107422978A (en) | gesture unlocking method, device, terminal and storage medium | |
CN109085962A (en) | A kind of display control method and terminal | |
CN113282359A (en) | Application reminding method and device and electronic equipment | |
US20150339028A1 (en) | Responding to User Input Gestures | |
CN107690033A (en) | Mobile terminal, call processing method, terminal device and storage medium | |
CN107864274B (en) | Control method, device, mobile terminal and the storage medium of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523859 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190305 |