CN106940597A - A kind of camera starts control method and mobile terminal - Google Patents
A kind of camera starts control method and mobile terminal Download PDFInfo
- Publication number
- CN106940597A CN106940597A CN201710149914.8A CN201710149914A CN106940597A CN 106940597 A CN106940597 A CN 106940597A CN 201710149914 A CN201710149914 A CN 201710149914A CN 106940597 A CN106940597 A CN 106940597A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- camera
- inclination angle
- screen
- angle value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- 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/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/013—Eye tracking input arrangements
-
- 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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- 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
- G06F3/0488—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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Abstract
Start control method and mobile terminal the invention provides a kind of camera, wherein, camera, which starts control method, to be included:When the acceleration for detecting the mobile terminal is more than the first preset value, the inclination angle value of the mobile terminal is obtained;When meeting preparatory condition in the inclination angle value, and detecting user and watch the screen of the mobile terminal attentively, the enabled instruction that generation control camera module starts;Camera is started according to the enabled instruction, into camera preview interface.It is manually operated that this programme is effectively reduced user, quickly starts camera, it is to avoid miss optimal right moment for camera, so as to lift camera usage experience, solve well put out in the prior art mobile terminal under screen state camera Booting sequence it is cumbersome the problem of.
Description
Technical field
The present invention relates to field of terminal technology, particularly relate to a kind of camera and start control method and mobile terminal.
Background technology
With continuing to develop for mobile terminal, the application of camera is also increasingly popularized, and needs is frequently encountered in life quick
Catch scene during some motion picture.
But, user starts camera in the case where putting out screen state in the prior art, generally needs first to light screen and is unlocked,
Camera applications are found again, could enter camera preview interface.Operating procedure is more, for wanting quickly to catch some motion picture
When user, it is easy to miss optimal right moment for camera, influence the usage experience of user.
The content of the invention
Start control method and mobile terminal it is an object of the invention to provide a kind of camera, screen is put out in solution in the prior art
The problem of camera Booting sequence of mobile terminal is cumbersome under state.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of camera startup control method, applied to movement
Terminal, including:
When the acceleration for detecting the mobile terminal is more than the first preset value, the inclination angle of the mobile terminal is obtained
Angle value;
It is raw when meeting preparatory condition in the inclination angle value, and detecting user and watch the screen of the mobile terminal attentively
The enabled instruction started into control camera module;
Camera is started according to the enabled instruction, into camera preview interface.
Present invention also offers a kind of mobile terminal, including:
Acquisition module, during for being more than the first preset value in the acceleration for detecting the mobile terminal, obtains described move
The inclination angle value of dynamic terminal;
Generation module, watches described mobile whole attentively for meeting preparatory condition in the inclination angle value, and detecting user
During the screen at end, the enabled instruction that generation control camera module starts;
Processing module, for starting camera according to the enabled instruction, into camera preview interface.
The above-mentioned technical proposal of the present invention has the beneficial effect that:
In such scheme, it is pre- by being more than first in the acceleration for detecting mobile terminal that the camera starts control method
If during value, obtaining the inclination angle value of mobile terminal, and preparatory condition is met in inclination angle value, and detect user and watch shifting attentively
During the screen of dynamic terminal, the enabled instruction that generation control camera module starts;And then camera is started according to enabled instruction, into phase
Machine preview interface;It is effectively reduced user manually operated, quickly starts camera, it is to avoid miss optimal right moment for camera, so as to is lifted
Camera usage experience, solves and puts out the camera Booting sequence of mobile terminal under screen state in the prior art and cumbersome ask well
Topic.
Brief description of the drawings
Fig. 1 starts control method schematic flow sheet for the camera of the embodiment of the present invention one;
Fig. 2 starts control method schematic flow sheet for the camera of the embodiment of the present invention two;
Fig. 3 starts control method concrete application schematic flow sheet for the camera of the embodiment of the present invention;
Fig. 4 is the mobile terminal structure schematic diagram of the embodiment of the present invention three;
Fig. 5 is the mobile terminal structure schematic diagram of the embodiment of the present invention four;
Fig. 6 is the mobile terminal structure schematic diagram of the embodiment of the present invention five.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
The present invention be directed to existing technology in put out mobile terminal under screen state camera Booting sequence it is cumbersome the problem of there is provided
A variety of solutions, it is specific as follows:
Embodiment one
As shown in figure 1, the embodiment of the present invention one, which provides a kind of camera, starts control method, mobile terminal is can be applied to, institute
Stating camera startup control method includes:
Step 101:When the acceleration for detecting the mobile terminal is more than the first preset value, the mobile terminal is obtained
Inclination angle value.
When concretely detecting acceleration of the mobile terminal under black state more than the first preset value, institute is obtained
State the inclination angle value of mobile terminal.Wherein, black state, including screen locking blank screen, non-screen locking blank screen, also other forms is black
Screen.
Such as:First preset value is 1 meter per second, when acceleration of the mobile terminal under black state is 2 meter per second, so that it may
To obtain mobile terminal inclination angle value.
Step 102:Preparatory condition is met in the inclination angle value, and detects the screen that user watches the mobile terminal attentively
During curtain, the enabled instruction that generation control camera module starts.
It is corresponding, preparatory condition is met in the inclination angle value, and detect the screen that user watches the mobile terminal attentively
During curtain, screen is lighted, and generate the enabled instruction that control camera module starts.
Such as:Preparatory condition be inclination angle value whether within a preset range;
Preset range can for setting the angle suitably taken pictures, such as 60 degree~120 degree, inclination angle value 60 degree~
When between 120 degree, it is possible to light screen, and generate the enabled instruction that control camera module starts.
Step 103:Camera is started according to the enabled instruction, into camera preview interface.
Namely in the condition in meeting step 102, camera is directly initiated, it is no longer necessary to which user is manually operated.
From the foregoing, it will be observed that the camera that the embodiment of the present invention one is provided starts control method by detecting mobile terminal
Acceleration when being more than the first preset value, obtain the inclination angle value of mobile terminal, and meet preparatory condition in inclination angle value,
And when detecting user and watching the screen of mobile terminal attentively, the enabled instruction that generation control camera module starts;And then according to startup
Instruction starts camera, into camera preview interface;It is effectively reduced user manually operated, quickly starts camera, it is to avoid misses most
Good right moment for camera, so as to lift camera usage experience, solves the phase for putting out mobile terminal under screen state in the prior art well
The problem of machine Booting sequence is cumbersome.
Embodiment two
As shown in Fig. 2 the embodiment of the present invention two, which provides a kind of camera, starts control method, mobile terminal is can be applied to, institute
Stating camera startup control method includes:
Step 201:When the acceleration for detecting the mobile terminal is more than the first preset value, the mobile terminal is obtained
Inclination angle value.
When concretely detecting acceleration of the mobile terminal under black state more than the first preset value, institute is obtained
State the inclination angle value of mobile terminal.
Wherein, black state, including screen locking blank screen, also non-screen locking blank screen, the blank screen of other forms.
Step 202:Preparatory condition is met in the inclination angle value, and detects the screen that user watches the mobile terminal attentively
During curtain, the enabled instruction that generation control camera module starts.
It is corresponding, preparatory condition is met in the inclination angle value, and detect the screen that user watches the mobile terminal attentively
During curtain, screen is lighted, and generate the enabled instruction that control camera module starts.
Step 203:Camera is started according to the enabled instruction, into camera preview interface.
Namely in the condition in meeting step 202, camera is directly initiated, it is no longer necessary to which user is manually operated.
Step 204:No more than (it is less than or equal to) first preset value in the acceleration for detecting the mobile terminal
When, continue to detect whether the acceleration of the mobile terminal is more than first preset value in real time;Or,
Preparatory condition is unsatisfactory in the inclination angle value of the mobile terminal, and/or, it is not detected by user and watches the shifting attentively
During the screen of dynamic terminal, continue to detect whether the acceleration of the mobile terminal is more than first preset value in real time.
Namely when being unsatisfactory for starting the condition of camera, the condition in step 201 and step 202 can in real time be examined
Survey, it is ensured that the promptness that camera starts.
It is preferred that, it is described obtain the mobile terminal inclination angle value the step of include:Obtain the mobile terminal phase
For the first inclination angle value of horizontal direction;And/or obtain second inclination angle of the mobile terminal relative to vertical direction
Angle value.
The judgement of condition is carried out using the first inclination angle value and the second inclination angle value can possess higher accurate
Degree.
It is corresponding, it is described to meet preparatory condition in the inclination angle value, and detect user and watch the mobile terminal attentively
Screen when, include the step of the enabled instruction that generation control camera module starts:Be more than in first inclination angle value or
Equal to the second preset value, and less than or equal to the 3rd preset value, and when detecting user and watching the screen of the mobile terminal attentively,
The enabled instruction that the generation control camera module starts;And/or,
It is more than or equal to the 4th preset value in second inclination angle value, and less than or equal to the 5th preset value, and
When detecting user and watching the screen of the mobile terminal attentively, the enabled instruction that the generation control camera module starts.
It can be appreciated that in the first inclination angle value in the range of taking pictures, and/or, the first inclination angle value is in model of taking pictures
When enclosing interior, the enabled instruction that control camera module starts is produced.
Such as:Second preset value is 65 degree, and the 3rd preset value is 120 degree, and the 4th preset value is 50 degree, and the 5th preset value is
110 degree;
It it is 75 degree in the first inclination angle value of acquisition, when the second inclination angle value is 65 degree, due to the first angle of inclination
Between 65 degree~120 degree (in the range of taking pictures), and the second angle of inclination between 50 degree~110 degree (in scope of taking pictures
It is interior), so, when detecting user and watching the screen of the mobile terminal attentively, it can generate what the control camera module started
Enabled instruction;Or
It it is 75 degree in the first inclination angle value of acquisition, when the second inclination angle value is 45 degree, the first angle of inclination is 65
Degree~120 degree between (in the range of taking pictures), the second angle of inclination not between 50 degree~110 degree (not in the range of taking pictures),
When detecting user and watching the screen of the mobile terminal attentively, it still can generate the startup for controlling the camera module to start and refer to
Order;Or
It it is 60 degree in the first inclination angle value of acquisition, when the second inclination angle value is 65 degree, the first angle of inclination does not exist
Between 65 degree~120 degree (not in the range of taking pictures), the second angle of inclination between 50 degree~110 degree (in the range of taking pictures),
When detecting user and watching the screen of the mobile terminal attentively, it still can generate the startup for controlling the camera module to start and refer to
Order.
Wherein, it is described to detect the step of user watches the screen of the mobile terminal attentively and include:Start front camera to obtain
Obtain the image information currently collected;Determine whether user watches the screen of the mobile terminal attentively according to described image information.
It can be appreciated that determining whether user is look at the screen of the mobile terminal using Visual Trace Technology.
It is described to meet preparatory condition in the inclination angle value in the present embodiment, and detect user and watch the movement attentively
During the screen of terminal, the step of generation controls the enabled instruction of camera module startup can include:It is full in the inclination angle value
During sufficient preparatory condition, start the screen whether front camera detection user watches the mobile terminal attentively;Detecting user's note
Depending on the mobile terminal screen when, the enabled instruction that generation control camera module starts.
From the foregoing, it will be observed that the camera that the embodiment of the present invention two is provided starts control method by detecting mobile terminal
Acceleration when being more than the first preset value, obtain the inclination angle value of mobile terminal, and meet preparatory condition in inclination angle value,
And when detecting user and watching the screen of mobile terminal attentively, the enabled instruction that generation control camera module starts;And then according to startup
Instruction starts camera, into camera preview interface;It is effectively reduced user manually operated, quickly starts camera, it is to avoid misses most
Good right moment for camera, so as to lift camera usage experience, solves the phase for putting out mobile terminal under screen state in the prior art well
The problem of machine Booting sequence is cumbersome;
In addition, when the acceleration for detecting mobile terminal is not more than first preset value, continuing detection movement in real time
Whether the acceleration of terminal is more than first preset value;Or, preparatory condition is unsatisfactory in inclination angle value, and/or, do not examine
When measuring user and watching the screen of mobile terminal attentively, whether the acceleration for continuing detection mobile terminal in real time is more than described first and presets
Value, ensure that the promptness that camera starts;
Judge whether mobile terminal fits relative to inclination angle value horizontally and vertically using mobile terminal
Preferably take pictures, it is possible to increase precision;
Determine whether user watches the screen of mobile terminal attentively using front camera, can be cost-effective, it is easy to actual answer
With.
Start control method to camera provided in an embodiment of the present invention below to be further described.
For above-mentioned technical problem, the embodiment of the present invention provides a kind of camera and starts control method, one of example
Scheme can be with specifically, a kind of put out the quick method for starting camera preview interface under screen state:Put out and detect movement under screen state
When terminal acceleration is more than preset value, calculate mobile terminal is relative to inclination angle value vertically and horizontally, and judgement
It is no within a preset range;If within a preset range, enabling whether front camera detection user eyeball watches screen attentively, if then
Screen is lighted, and enters camera preview interface.It is specific as shown in figure 3, including:
Step 301:Put out and detect mobile terminal acceleration magnitude under screen state in real time.
Step 302:Judge whether acceleration is more than preset value.If so, then performing step 303;Otherwise step 301 is performed.
Step 303:Computing terminal is relative to inclination angle value vertically and horizontally.
Step 304:Judge inclination angle value whether preset range (angle suitably taken pictures of setting, such as 60 degree~
120 degree) in;If within a preset range, performing step 305, step 301 is otherwise performed.
Step 305:Enable whether front camera detection user eyeball watches screen (Visual Trace Technology) attentively, if then holding
Row step 306;Otherwise step 301 is performed.
Step 306:Screen is lighted, and enters camera preview interface.
From the foregoing, it will be observed that to be effectively reduced user manually operated for scheme provided in an embodiment of the present invention, quickly start camera, keep away
Fault-avoidance loses optimal right moment for camera, so as to lift camera usage experience.
Embodiment three
As shown in figure 4, the embodiment of the present invention three provides a kind of mobile terminal, including:
Acquisition module 401, during for being more than the first preset value in the acceleration for detecting the mobile terminal, obtains described
The inclination angle value of mobile terminal.
When concretely detecting acceleration of the mobile terminal under black state more than the first preset value, institute is obtained
State the inclination angle value of mobile terminal.
Wherein, black state, including screen locking blank screen, also non-screen locking blank screen, the blank screen of other forms.
Generation module 402, the movement is watched attentively for meeting preparatory condition in the inclination angle value, and detecting user
During the screen of terminal, the enabled instruction that generation control camera module starts.
It is corresponding, preparatory condition is met in the inclination angle value, and detect the screen that user watches the mobile terminal attentively
During curtain, screen is lighted, and generate the enabled instruction that control camera module starts.
Processing module 403, for starting camera according to the enabled instruction, into camera preview interface.
Namely in the condition in meeting generation module 402, camera is directly initiated, it is no longer necessary to which user is manually operated.
From the foregoing, it will be observed that the mobile terminal that the embodiment of the present invention three is provided is by detecting the acceleration of mobile terminal
During more than the first preset value, the inclination angle value of mobile terminal is obtained, and preparatory condition is met in inclination angle value, and is detected
When user watches the screen of mobile terminal attentively, the enabled instruction that generation control camera module starts;And then started according to enabled instruction
Camera, into camera preview interface;It is effectively reduced user manually operated, quickly starts camera, it is to avoid when misses optimal shooting
Machine, so as to lift camera usage experience, solves the camera startup stream for putting out mobile terminal under screen state in the prior art well
The problem of journey is cumbersome.
It is preferred that, the acquisition module includes:Acquisition submodule, for obtaining the mobile terminal relative to horizontal direction
The first inclination angle value;And/or obtain second inclination angle value of the mobile terminal relative to vertical direction.
The judgement of condition is carried out using the first inclination angle value and the second inclination angle value can possess higher accurate
Degree.
Corresponding, the generation module includes:Submodule is generated, for being more than or equal in first inclination angle value
Second preset value, and less than or equal to the 3rd preset value, and when detecting user and watching the screen of the mobile terminal attentively, generation
The enabled instruction for controlling the camera module to start;And/or,
It is more than or equal to the 4th preset value in second inclination angle value, and less than or equal to the 5th preset value, and
When detecting user and watching the screen of the mobile terminal attentively, the enabled instruction that the generation control camera module starts.
It can be appreciated that in the first inclination angle value in the range of taking pictures, and/or, the first inclination angle value is in model of taking pictures
When enclosing interior, the enabled instruction that control camera module starts is produced.
Wherein, the acquisition module includes:Start submodule, the figure currently collected is obtained for starting front camera
As information;Determination sub-module, for determining whether user watches the screen of the mobile terminal attentively according to described image information.
It can be appreciated that determining whether user is look at the screen of the mobile terminal using Visual Trace Technology.
Further, the mobile terminal also includes:Detection module, for detecting the acceleration of the mobile terminal
No more than first preset value when, continue detect in real time the mobile terminal acceleration whether be more than described first preset
Value;Or,
Preparatory condition is unsatisfactory in the inclination angle value of the mobile terminal, and/or, it is not detected by user and watches the shifting attentively
During the screen of dynamic terminal, continue to detect whether the acceleration of the mobile terminal is more than first preset value in real time.
Namely when being unsatisfactory for starting the condition of camera, the condition in acquisition module 401 and generation module 402 can be entered
Row detection in real time, it is ensured that the promptness that camera starts.
Wherein, above-mentioned camera starts the embodiment for realizing embodiment suitable for the mobile terminal of control method
In, it can also reach identical technique effect.
Example IV
As shown in figure 5, the mobile terminal 500 that the embodiment of the present invention four is provided includes:
At least one processor 501, memory 502, at least one network interface 504 and user interface 503.Mobile terminal
Each component in 500 is coupled by bus system 505.It is understood that bus system 505 be used for realize these components it
Between connection communication.Bus system 505 is in addition to including data/address bus, also including power bus, controlling bus and status signal
Bus.But for the sake of clear explanation, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 502 of system and method described herein be intended to including but not limited to these and it is any its
It is adapted to the memory of type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.Application program 5022, includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 502, specifically, can be application
The program stored in program 5022 or instruction, processor 501 are used for:It is more than first in the acceleration for detecting the mobile terminal
During preset value, the inclination angle value of the mobile terminal is obtained;Preparatory condition is met in the inclination angle value, and detects use
When the screen of the mobile terminal is watched at family attentively, the enabled instruction that generation control camera module starts;Opened according to the enabled instruction
Dynamic camera, into camera preview interface.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501.
Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 502, processor 501 reads the information in memory 502, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software
Described technology.Software code is storable in memory and by computing device.Memory can within a processor or
Realized outside processor.
Alternatively, processor 501 specifically for:Obtain first angle of inclination of the mobile terminal relative to horizontal direction
Value;And/or
Obtain second inclination angle value of the mobile terminal relative to vertical direction.
Alternatively, processor 501 specifically for:It is more than or equal to the second preset value in first inclination angle value, and
Less than or equal to the 3rd preset value, and when detecting user and watching the screen of the mobile terminal attentively, the generation control camera
The enabled instruction that module starts;And/or,
It is more than or equal to the 4th preset value in second inclination angle value, and less than or equal to the 5th preset value, and
When detecting user and watching the screen of the mobile terminal attentively, the enabled instruction that the generation control camera module starts.
Alternatively, processor 501 specifically for:Start front camera and obtain the image information currently collected;According to
Described image information determines whether user watches the screen of the mobile terminal attentively.
Alternatively, processor 501 is additionally operable to:It is not more than described first in the acceleration for detecting the mobile terminal to preset
During value, continue to detect whether the acceleration of the mobile terminal is more than first preset value in real time;Or,
Preparatory condition is unsatisfactory in the inclination angle value of the mobile terminal, and/or, it is not detected by user and watches the shifting attentively
During the screen of dynamic terminal, continue to detect whether the acceleration of the mobile terminal is more than first preset value in real time.
Mobile terminal 500 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
To sum up, the mobile terminal that the embodiment of the present invention four is provided in the acceleration for detecting mobile terminal by being more than
During the first preset value, the inclination angle value of mobile terminal is obtained, and preparatory condition is met in inclination angle value, and detects user
When watching the screen of mobile terminal attentively, the enabled instruction that generation control camera module starts;And then camera is started according to enabled instruction,
Into camera preview interface;It is effectively reduced user manually operated, quickly starts camera, it is to avoid misses optimal right moment for camera, from
And lift camera usage experience, solve well put out in the prior art mobile terminal under screen state camera Booting sequence it is cumbersome
The problem of.
Embodiment five
Specifically, as shown in fig. 6, mobile terminal 600 in the embodiment of the present invention five can be mobile phone, panel computer, individual
Personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input
Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) modules 680 and electricity
Source 690.
Wherein, input block 630 can be used for the numeral or character information for receiving user input, and produce and mobile terminal
The signal input that 600 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 630 can
With including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user uses the operations of any suitable object or annex on contact panel 631 such as finger, stylus), and according to advance
The formula of setting drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller
Two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give the processor 660 again, and the order sent of receiving processor 660 and can be performed.Furthermore, it is possible to using resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block
630 can also include other input equipments 632, and other input equipments 632 can include but is not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for display by the information of user input or be supplied to information and the movement of user
The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection
Measure after the touch operation on or near it, processor 660 is sent to determine the type of touch event, with preprocessor
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone
Various pieces, software program and/or module in first memory 621 are stored in by operation or execution, and call storage
Data in second memory 622, perform the various functions and processing data of mobile terminal 600, so as to mobile terminal 600
Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, processor 660 is used for:It is more than first in the acceleration for detecting the mobile terminal
During preset value, the inclination angle value of the mobile terminal is obtained;Preparatory condition is met in the inclination angle value, and detects use
When the screen of the mobile terminal is watched at family attentively, the enabled instruction that generation control camera module starts;Opened according to the enabled instruction
Dynamic camera, into camera preview interface.
Alternatively, processor 660 specifically for:Obtain first angle of inclination of the mobile terminal relative to horizontal direction
Value;And/or
Obtain second inclination angle value of the mobile terminal relative to vertical direction.
Alternatively, processor 660 specifically for:It is more than or equal to the second preset value in first inclination angle value, and
Less than or equal to the 3rd preset value, and when detecting user and watching the screen of the mobile terminal attentively, the generation control camera
The enabled instruction that module starts;And/or,
It is more than or equal to the 4th preset value in second inclination angle value, and less than or equal to the 5th preset value, and
When detecting user and watching the screen of the mobile terminal attentively, the enabled instruction that the generation control camera module starts.
Alternatively, processor 660 specifically for:Start front camera and obtain the image information currently collected;According to
Described image information determines whether user watches the screen of the mobile terminal attentively.
Alternatively, processor 660 is additionally operable to:It is not more than described first in the acceleration for detecting the mobile terminal to preset
During value, continue to detect whether the acceleration of the mobile terminal is more than first preset value in real time;Or,
Preparatory condition is unsatisfactory in the inclination angle value of the mobile terminal, and/or, it is not detected by user and watches the shifting attentively
During the screen of dynamic terminal, continue to detect whether the acceleration of the mobile terminal is more than first preset value in real time.
It can be seen that, the mobile terminal that the embodiment of the present invention five is provided in the acceleration for detecting mobile terminal by being more than
During the first preset value, the inclination angle value of mobile terminal is obtained, and preparatory condition is met in inclination angle value, and detects user
When watching the screen of mobile terminal attentively, the enabled instruction that generation control camera module starts;And then camera is started according to enabled instruction,
Into camera preview interface;It is effectively reduced user manually operated, quickly starts camera, it is to avoid misses optimal right moment for camera, from
And lift camera usage experience, solve well put out in the prior art mobile terminal under screen state camera Booting sequence it is cumbersome
The problem of.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are make it that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
It should also be noted that, herein, such as first and second or the like relational terms are used merely to one
Entity or operation make a distinction with another entity or operation, and not necessarily require or imply between these entities or operation
There is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to contain
Lid nonexcludability is included, so that process, method, article or terminal device including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or
The intrinsic key element of terminal device.In the absence of more restrictions, the key element limited by sentence "including a ...", and
It is not precluded within the process including the key element, method, article or terminal device and also there is other identical element.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. a kind of camera starts control method, applied to mobile terminal, it is characterised in that including:
When the acceleration for detecting the mobile terminal is more than the first preset value, the angle of inclination of the mobile terminal is obtained
Value;
When meeting preparatory condition in the inclination angle value, and detecting user and watch the screen of the mobile terminal attentively, generation control
The enabled instruction that camera module processed starts;
Camera is started according to the enabled instruction, into camera preview interface.
2. camera according to claim 1 starts control method, it is characterised in that the acquisition mobile terminal inclines
The step of oblique angle angle value, includes:
Obtain first inclination angle value of the mobile terminal relative to horizontal direction;And/or
Obtain second inclination angle value of the mobile terminal relative to vertical direction.
3. camera according to claim 2 starts control method, it is characterised in that described to be met in the inclination angle value
Preparatory condition, and when detecting user and watching the screen of the mobile terminal attentively, the enabled instruction that generation control camera module starts
The step of include:
It is more than or equal to the second preset value in first inclination angle value, and less than or equal to the 3rd preset value, and detect
When watching the screen of the mobile terminal attentively to user, the enabled instruction that the generation control camera module starts;And/or,
It is more than or equal to the 4th preset value in second inclination angle value, and less than or equal to the 5th preset value, and detect
When watching the screen of the mobile terminal attentively to user, the enabled instruction that the generation control camera module starts.
4. camera according to claim 1 starts control method, it is characterised in that described to detect user and watch the shifting attentively
The step of screen of dynamic terminal, includes:
Start front camera and obtain the image information currently collected;
Determine whether user watches the screen of the mobile terminal attentively according to described image information.
5. camera according to claim 1 starts control method, it is characterised in that the camera starts control method and also wrapped
Include:
When the acceleration for detecting the mobile terminal is not more than first preset value, continuation detects described mobile whole in real time
Whether the acceleration at end is more than first preset value;Or,
Preparatory condition is unsatisfactory in the inclination angle value of the mobile terminal, and/or, it is not detected by user and watches described mobile whole attentively
During the screen at end, continue to detect whether the acceleration of the mobile terminal is more than first preset value in real time.
6. a kind of mobile terminal, it is characterised in that including:
Acquisition module, during for being more than the first preset value in the acceleration for detecting the mobile terminal, obtains described mobile whole
The inclination angle value at end;
Generation module, the mobile terminal is watched attentively for meeting preparatory condition in the inclination angle value, and detecting user
During screen, the enabled instruction that generation control camera module starts;
Processing module, for starting camera according to the enabled instruction, into camera preview interface.
7. mobile terminal according to claim 6, it is characterised in that the acquisition module includes:
Acquisition submodule, for obtaining first inclination angle value of the mobile terminal relative to horizontal direction;And/or
Obtain second inclination angle value of the mobile terminal relative to vertical direction.
8. mobile terminal according to claim 7, it is characterised in that the generation module includes:
Submodule is generated, for being more than or equal to the second preset value in first inclination angle value, and less than or equal to the 3rd
Preset value, and when detecting user and watching the screen of the mobile terminal attentively, the startup that the generation control camera module starts
Instruction;And/or,
It is more than or equal to the 4th preset value in second inclination angle value, and less than or equal to the 5th preset value, and detect
When watching the screen of the mobile terminal attentively to user, the enabled instruction that the generation control camera module starts.
9. mobile terminal according to claim 6, it is characterised in that the acquisition module includes:
Start submodule, the image information currently collected is obtained for starting front camera;
Determination sub-module, for determining whether user watches the screen of the mobile terminal attentively according to described image information.
10. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Detection module, during for being not more than first preset value in the acceleration for detecting the mobile terminal, continues real-time
Detect whether the acceleration of the mobile terminal is more than first preset value;Or,
Preparatory condition is unsatisfactory in the inclination angle value of the mobile terminal, and/or, it is not detected by user and watches described mobile whole attentively
During the screen at end, continue to detect whether the acceleration of the mobile terminal is more than first preset value in real time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710149914.8A CN106940597A (en) | 2017-03-14 | 2017-03-14 | A kind of camera starts control method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710149914.8A CN106940597A (en) | 2017-03-14 | 2017-03-14 | A kind of camera starts control method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106940597A true CN106940597A (en) | 2017-07-11 |
Family
ID=59469580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710149914.8A Pending CN106940597A (en) | 2017-03-14 | 2017-03-14 | A kind of camera starts control method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106940597A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107395926A (en) * | 2017-07-25 | 2017-11-24 | 维沃移动通信有限公司 | A kind of photographic method, mobile terminal and computer-readable recording medium |
CN109905595A (en) * | 2018-06-20 | 2019-06-18 | 成都市喜爱科技有限公司 | A kind of method, apparatus, equipment and medium shot and play |
CN110035168A (en) * | 2018-01-11 | 2019-07-19 | 中兴通讯股份有限公司 | Starting method, terminal and the storage medium of front camera |
CN113885708A (en) * | 2021-10-22 | 2022-01-04 | Oppo广东移动通信有限公司 | Screen control method and device of electronic equipment, electronic equipment and storage medium |
CN114296818A (en) * | 2021-12-23 | 2022-04-08 | 展讯通信(天津)有限公司 | Automatic application starting method, equipment terminal and storage medium |
US11627248B2 (en) | 2019-02-03 | 2023-04-11 | Chengdu Sioeye Technology Co., Ltd. | Shooting method for shooting device, and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104516495A (en) * | 2013-09-30 | 2015-04-15 | 中兴通讯股份有限公司 | Method and terminal for quickly entering terminal application |
CN105578007A (en) * | 2015-12-21 | 2016-05-11 | 广东欧珀移动通信有限公司 | Method and device used for mobile terminal, and mobile terminal |
CN105824439A (en) * | 2016-02-24 | 2016-08-03 | 乐视云计算有限公司 | Standby state control method and mobile terminal |
US20160246366A1 (en) * | 2015-01-06 | 2016-08-25 | Sony Corporation | Control method and control apparatus for electronic equipment and electronic equipment |
-
2017
- 2017-03-14 CN CN201710149914.8A patent/CN106940597A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104516495A (en) * | 2013-09-30 | 2015-04-15 | 中兴通讯股份有限公司 | Method and terminal for quickly entering terminal application |
US20160246366A1 (en) * | 2015-01-06 | 2016-08-25 | Sony Corporation | Control method and control apparatus for electronic equipment and electronic equipment |
CN105578007A (en) * | 2015-12-21 | 2016-05-11 | 广东欧珀移动通信有限公司 | Method and device used for mobile terminal, and mobile terminal |
CN105824439A (en) * | 2016-02-24 | 2016-08-03 | 乐视云计算有限公司 | Standby state control method and mobile terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107395926A (en) * | 2017-07-25 | 2017-11-24 | 维沃移动通信有限公司 | A kind of photographic method, mobile terminal and computer-readable recording medium |
CN110035168A (en) * | 2018-01-11 | 2019-07-19 | 中兴通讯股份有限公司 | Starting method, terminal and the storage medium of front camera |
CN109905595A (en) * | 2018-06-20 | 2019-06-18 | 成都市喜爱科技有限公司 | A kind of method, apparatus, equipment and medium shot and play |
US11245838B2 (en) | 2018-06-20 | 2022-02-08 | Chengdu Sioeye Technology Co., Ltd. | Shooting method for shooting device, and electronic equipment |
US11627248B2 (en) | 2019-02-03 | 2023-04-11 | Chengdu Sioeye Technology Co., Ltd. | Shooting method for shooting device, and electronic equipment |
CN113885708A (en) * | 2021-10-22 | 2022-01-04 | Oppo广东移动通信有限公司 | Screen control method and device of electronic equipment, electronic equipment and storage medium |
CN114296818A (en) * | 2021-12-23 | 2022-04-08 | 展讯通信(天津)有限公司 | Automatic application starting method, equipment terminal and storage medium |
CN114296818B (en) * | 2021-12-23 | 2024-03-22 | 展讯通信(天津)有限公司 | Automatic application starting method, equipment terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106940597A (en) | A kind of camera starts control method and mobile terminal | |
CN107181913A (en) | A kind of photographic method and mobile terminal | |
CN105847680B (en) | A kind of camera power consumption control method and mobile terminal | |
CN107272956A (en) | A kind of display methods, mobile terminal and computer-readable recording medium | |
CN107395997A (en) | A kind of image pickup method and mobile terminal | |
CN106648416A (en) | Method for starting application and mobile terminal | |
CN107145348A (en) | A kind of application program split screen processing method and mobile terminal | |
CN107179865A (en) | A kind of page switching method and terminal | |
CN107734156A (en) | A kind of image pickup method and mobile terminal | |
CN107509028A (en) | A kind of image pickup method, mobile terminal and computer-readable recording medium | |
CN107105160A (en) | A kind of method, system and mobile terminal for starting camera | |
CN107172346A (en) | A kind of weakening method and mobile terminal | |
CN106454456A (en) | Video playing control method and mobile terminal | |
CN107302661A (en) | A kind of camera control method and mobile terminal | |
CN107643912A (en) | A kind of information sharing method and mobile terminal | |
CN107346332A (en) | A kind of image processing method and mobile terminal | |
CN107197104A (en) | A kind of camera control method and mobile terminal | |
CN107613193A (en) | A kind of camera control method and mobile terminal | |
CN106354303A (en) | Photographed method of mobile terminal and mobile terminal | |
CN107483821A (en) | A kind of image processing method and mobile terminal | |
CN105955600B (en) | A kind of method and mobile terminal adjusting mobile terminal display interface | |
CN106681628A (en) | Method and terminal for starting application programs | |
CN106850940A (en) | The changing method and mobile terminal of a kind of state | |
CN106911897A (en) | A kind of determination method and mobile terminal for shooting focus | |
CN106791422A (en) | A kind of image processing method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20171109 Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue Applicant after: VIVO MOBILE COMMUNICATION CO., LTD. Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue Applicant before: VIVO MOBILE COMMUNICATION CO., LTD. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170711 |