CN106412430B - Photographic method and device - Google Patents
Photographic method and device Download PDFInfo
- Publication number
- CN106412430B CN106412430B CN201610874225.9A CN201610874225A CN106412430B CN 106412430 B CN106412430 B CN 106412430B CN 201610874225 A CN201610874225 A CN 201610874225A CN 106412430 B CN106412430 B CN 106412430B
- Authority
- CN
- China
- Prior art keywords
- portable terminal
- upright state
- receiving port
- wind
- camera
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
-
- 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
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Studio Devices (AREA)
Abstract
Embodiment of the present invention is related to a kind of photographic method and device, the described method comprises the following steps: step A: incuding upright state judgment means by wind-force and judge whether portable terminal is in upright state, if being in upright state thens follow the steps B;Step B: judging that portable terminal is in whether time of upright state is more than or equal to preset time T, if it is greater than or be equal to preset time T, then camera is opened, into photographing mode.Embodiment of the present invention eliminates user and is unlocked and searches camera icon in numerous application icons and open the operation of camera, saves the operating time, quickly catches a good shot convenient for user, user experience is high.
Description
Technical field
Embodiment of the present invention is related to mobile device shooting technology, more particularly to a kind of photographic method and device.
Background technique
Present portable terminal such as mobile phone, tablet computer etc. all has the function of taking pictures using camera, uses
When family is taken pictures, it usually needs open camera and take pictures, the occasion that cell-phone lock is arranged also needs first to solve mobile phone
Lock opens camera again.
In implementation process of the present invention, inventor has found the prior art, and there are following technical problems: due to the essence in life
Color camera lens is often written in water, user during unlocking or opening camera it some times happens that made thing variable condition,
Even jump out the visual field, it is difficult to hold the opportunity taken pictures.
Summary of the invention
Embodiment of the present invention is able to solve existing mainly solving the technical problems that provide a kind of photographic method and device
User or even jumps out the visual field it some times happens that made thing variable condition during unlocking or opening camera in technology,
It is difficult to the problem of holding the opportunity taken pictures.
In order to solve the above technical problems, in a first aspect, the embodiment of the invention provides a kind of photographic method, the side of taking pictures
Method is used for portable terminal, and the portable terminal includes camera and wind-force incudes upright state judgment means, described to take pictures
Method the following steps are included:
Step A: incuding upright state judgment means by wind-force and judge whether portable terminal is in upright state, if
B is thened follow the steps in upright state;
Step B: judging that portable terminal is in whether time of upright state is more than or equal to preset time T, if
More than or equal to preset time T, then camera is opened, into photographing mode.
Specifically, the wind-force induction upright state judgment means include small-sized fan, receiving port and enter for detecting
The Wind volume detector of receiving port air quantity, it is described to judge whether portable terminal is located by wind-force induction upright state judgment means
Include: in upright state step
Start small-sized fan;
Enter the air quantity of receiving port by Wind volume detector detection and to judge whether the air quantity is more than or equal to default
The value of air quantity judges that portable terminal is in straight if being more than or equal to the value of default air quantity into the air quantity of receiving port
Vertical state.
Specifically, the wind-force induction upright state judgment means include receiving port and enter receiving port air quantity for detecting
Wind volume detector, it is described by wind-force incude upright state judgment means judge whether portable terminal is in upright state
Step includes:
Enter the air quantity of receiving port by Wind volume detector detection and to judge whether the air quantity is more than or equal to default
The value of air quantity judges that portable terminal is in straight if being more than or equal to the value of default air quantity into the air quantity of receiving port
Vertical state.
Further, the portable terminal further includes photosensitive system and flash lamp, and the method is imaged in the unlatching
Head, the step of into photographing mode after it is further comprising the steps of:
Start photosensitive system, judge whether ambient light reaches photograph demand, if reaching photograph demand, directly carries out
Otherwise shooting is opened flash lamp and is shot later.
Further, the method further includes before following step into the step of photographing mode in the unlatching camera
It is rapid:
Judge whether portable terminal receives the operational order in addition to taking pictures, if receiving the behaviour in addition to taking pictures
It instructs, is operated according to operational order, otherwise open camera, into photographing mode;
The method is further comprising the steps of after the step of being shot;
Judge whether portable device is in upright state again, if being in upright state, is shot again, it is no
Then, the main interface of portable device is returned.
Second aspect, the embodiment of the invention provides a kind of camera arrangement, the camera arrangement is used for portable terminal, institute
Stating portable terminal includes camera and wind-force induction upright state judgment means, and the camera arrangement includes:
Condition judgment module: judge whether portable terminal is in straight for incuding upright state judgment means by wind-force
Vertical state, the allocating time judgment module if in upright state;
Time judgment module: for using condition judgment module judge portable terminal be in upright state time whether
Camera is then opened, into photographing mode if it is greater than or equal to preset time T more than or equal to preset time T.
Specifically, the wind-force induction upright state judgment means include being built in inside the portable terminal rear shell
Wind unit and receiving unit, the wind unit include that small-sized fan and the wind for generating small-sized fan transfer out
Air outlet, the receiving unit include receiving port and for detect enter receiving port air quantity Wind volume detector, the outlet air
Mouth and receiving port are oppositely arranged and at least one in the air outlet and receiving port is mobilizable structure, so that portable terminal
When in upright state, the air outlet and receiving port is in face state and portable terminal is in heeling condition
When, the air outlet deviates the receiving port;The condition judgment module includes:
Starting module, for starting small-sized fan;
Air quantity judgment module, for entering the air quantity of receiving port by Wind volume detector detection and whether judging the air quantity
More than or equal to the value of default air quantity, if being more than or equal to the value of default air quantity into the air quantity of receiving port, judge
Portable terminal is in upright state.
Specifically, the wind-force induction upright state judgment means include being built in inside the portable terminal rear shell
Wind unit and receiving unit, the wind unit include air outlet, and the air outlet passes through small on portable terminal end housing
Hole is connected to external environment, the receiving unit include receiving port and for detect enter receiving port air quantity air volume test fill
It sets, the air outlet and receiving port are oppositely arranged and at least one in the air outlet and receiving port is mobilizable structure, with
When portable terminal being made to be in upright state, the air outlet and the receiving port are in face state and portable terminal
When in heeling condition, the air outlet deviates the receiving port;The condition judgment module includes:
Air quantity judgment module, for entering the air quantity of receiving port by Wind volume detector detection and whether judging the air quantity
More than or equal to the value of default air quantity, if being more than or equal to the value of default air quantity into the air quantity of receiving port, judge
Portable terminal is in upright state.
Further, the portable terminal further includes photosensitive system and flash lamp, the camera arrangement further include:
Execution module is shot, for opening camera, starts photosensitive system later into photographing mode, judges extraneous bright
Whether degree reaches photograph demand, if reaching photograph demand, is directly shot, and otherwise opens flash lamp and is clapped later
It takes the photograph.
Further, described device further include:
Operational order module judges whether portable terminal receives before into photographing mode for opening camera
To the operational order in addition to taking pictures, operated if receiving the operational order in addition to taking pictures according to operational order, otherwise
Camera is opened, into photographing mode;
Continuous shooting module, for judging whether portable device is in upright state again after being shot, if place
It in upright state, is then shot again, otherwise, returns to the main interface of portable device.
The third aspect, the embodiment of the present application also provides a kind of electronic equipment, comprising:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
A processor executes, so that at least one described processor is able to carry out following steps:
Step A: incuding upright state judgment means by wind-force and judge whether portable terminal is in upright state, if
B is thened follow the steps in upright state;
Step B: judging that portable terminal is in whether time of upright state is more than or equal to preset time T, if
More than or equal to preset time T, then camera is opened, into photographing mode.
Fourth aspect, the embodiment of the present application also provides a kind of non-volatile computer readable storage medium storing program for executing, the calculating
Machine readable storage medium storing program for executing is stored with computer executable instructions, and the computer executable instructions are as above for executing computer
The method.
5th aspect, the embodiment of the present application also provides a kind of computer program product, the computer program product packet
The computer program being stored on non-volatile computer readable storage medium storing program for executing is included, the computer program includes program instruction,
When described program instruction is computer-executed, the computer is made to execute method as described above.
The beneficial effect of embodiment of the present invention is: embodiment of the present invention passes through the placement status for judging portable terminal
Judge whether user has the idea taken pictures, when portable terminal is in upright state more than certain time, that is, concludes
User wants to take pictures, directly unlatching camera, into photographing mode.When user wants to take pictures, as long as by portable
Formula terminal is in upright state more than certain time, so that it may start camera function automatically, eliminate user be unlocked and
Camera icon is searched in numerous application icons and opens the operation of camera, is saved the operating time, is quickly caught convenient for user
Camera lens is caught, user experience is high.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention
Attached drawing is briefly described.It should be evident that drawings described below is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the flow chart of an embodiment of photographic method of the present invention;
Fig. 2 be photographic method of the present invention by wind-force incude upright state judgment means judge whether portable terminal is located
Flow chart in the upright state the step of;
Fig. 3 is the flow chart of an embodiment of photographic method of the present invention;
Fig. 4 is the structural schematic diagram of an embodiment of camera arrangement of the present invention;
Fig. 5 is the structural schematic diagram of an embodiment of electronic equipment of the present invention.
Specific embodiment
Understand in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with specific embodiment,
And referring to attached drawing, the present invention is described in more detail.
It should be noted that all statements for using " first " and " second " are for differentiation two in the embodiment of the present invention
The non-equal entity of a same names or non-equal parameter, it is seen that " first " " second " only for the convenience of statement, does not answer
It is interpreted as the restriction to the embodiment of the present invention, subsequent embodiment no longer illustrates this one by one.
As shown in Figure 1, embodiment of the present invention provides a kind of photographic method, the photographic method is used for portable terminal
End, the portable terminal include camera and wind-force induction upright state judgment means, and the photographic method includes following step
It is rapid:
Step 101: upright state judgment means being incuded by wind-force and judge whether portable terminal is in upright state, such as
Fruit is in upright state and thens follow the steps 102;
Step 102: judging that portable terminal is in whether time of upright state is more than or equal to preset time T, such as
Fruit is more than or equal to preset time T, then camera is opened, into photographing mode;
Upright state judgment means are incuded by wind-force and judge whether portable terminal is in upright state, if portable
Terminal is not at upright state, then is failure to actuate, and portable terminal still maintains original state, if portable terminal is in straight
Vertical state then further judges that portable terminal is in whether time of upright state is more than or equal to preset time T,
In practical applications, when detecting that portable terminal is in upright state, it is portable to calculate to can star internal clocking system
Formula terminal maintains the time of upright state, then judges whether the time of the maintenance upright state reaches preset time T.If just
Take formula terminal be in upright state time be less than preset time T be then failure to actuate, portable terminal still maintains original state,
Then recycling executes step 101 and step 102, if the time that portable terminal is in upright state is more than or equal in advance
If time T, then open camera, into photographing mode.
Optionally, the movement that take pictures can be executed by user into after photographing mode, it can also be automatic by portable terminal
Execute the movement taken pictures.
In practical applications, the reasonable time can be arbitrarily arranged in preset time T, such as can be 1S, 2S or 3S.
The embodiment judges whether user has the idea taken pictures by judging the placement status of portable terminal,
When portable terminal is in upright state more than certain time, that is, conclude that user wants to take pictures, directly unlatching camera,
Into photographing mode.When user wants to take pictures, as long as it is more than certain time that portable terminal, which is in upright state,
Camera function can be started automatically, user is eliminated and be unlocked and search camera icon in numerous application icons and open
The operation of camera, saves the operating time, quickly catches a good shot convenient for user, and user experience is high.
Specifically, the wind-force incudes upright state judgment means in certain preferred embodiments of the photographic method
It is described to be incuded directly by wind-force including small-sized fan, receiving port and for detecting the Wind volume detector for entering receiving port air quantity
Vertical state judging device judges whether portable terminal is in upright state step and includes:
Step 201: starting small-sized fan;
Step 202: by Wind volume detector detection enter receiving port air quantity and judge the air quantity whether be greater than or
Equal to the value of default air quantity, if being more than or equal to the value of default air quantity into the air quantity of receiving port, portable terminal is judged
End is in upright state.
After small-sized fan starting, wind blows to receiving port by air outlet, enters receiving port by Wind volume detector detection
Air quantity and judge whether the air quantity is more than or equal to the value of default air quantity, if the air quantity into receiving port is greater than or waits
In the value of default air quantity, then judges that portable terminal is in upright state, otherwise, judge that portable terminal is in heeling condition.
In practical applications, the wind-force induction upright state judgment means can use following structures: the wind-force sense
Answering upright state judgment means includes the wind unit and receiving unit being built in inside portable terminal rear shell, the outlet air list
Member includes the air outlet that small-sized fan and the wind for generating small-sized fan transfer out, and the receiving unit includes receiving port
With for detecting the Wind volume detector for entering receiving port air quantity, the air outlet and receiving port is oppositely arranged and the air outlet
It is mobilizable structure at least one in receiving port, when so that portable terminal being in upright state, the air outlet and institute
State that receiving port is in face state and when portable terminal is in heeling condition, the air outlet deviates the receiving port.
It should be noted that described uprightly can be laterally uprightly is also possible to vertical upright, the number of the wind unit
Amount is not limited to one, and the quantity of the receiving unit is also not necessarily limited to one, such as can be a wind unit and a reception
Unit or two wind units and two receiving units.
When having a wind unit and a receiving unit, the wind unit and receiving unit can be in portable terminals
The inside of end rear shell is oppositely arranged above and below, if the rear shell is rectangle, i.e. the length direction along portable terminal rear shell is set
It sets, user can start camera function by the way that portable terminal is in vertical upright state at this time;The wind unit and
Receiving unit can also be oppositely arranged the inside of portable terminal rear shell is left and right, if the rear shell is rectangle, i.e., along portable
The width direction of formula terminal rear shell is arranged, and user can be clapped by the way that portable terminal is in lateral upright state to start at this time
According to function.
When there are two wind unit and two receiving units, the wind unit and receiving unit can be respectively portable
The inside of formula terminal rear shell is oppositely arranged above and below to be oppositely arranged with left and right, and user is either by will be at portable terminal at this time
Portable terminal, which is still in lateral upright state, in vertical upright state can start camera function.Relative to first two side
Case, this scheme is user-friendly, and user experience is more preferable.
At least one in the air outlet and receiving port is mobilizable structure, it can is fixed on for receiving port portable
In the rear shell of terminal, air outlet is movable device, in practical applications, air outlet single-point can be fixed on portable terminal
In rear shell, can with portable terminal rotation or inclination or wave and move, when portable terminal is in upright state,
The air outlet and receiving port are in face state under gravity, described when portable terminal is in heeling condition
Air outlet can deviate from the receiving port.Can certainly be set as using fixed air outlet, receiving port bascule mode or
Person's air outlet and receiving port are all set as the mode of bascule.For comparing, fixed reception mouth, air outlet is set as bascule
Mode is structurally easily achieved, in principle also more rationally.
The principle of embodiment of the present invention is exactly to utilize gravity principle, under gravity the air outlet and receiving port
It can be in face state, received air quantity is bigger when the received air quantity of receiving port deviates compared to air outlet and receiving port at this time, leads to
Cross the upright state for receiving air volume to judge portable terminal.In practical applications, it to air outlet and can connect in advance
The received air quantity of receiving port does multiple test when closing up in face state, then takes a reasonable value as default air quantity
Value.Preferably, value acquirement for presetting air quantity is more smaller than the reasonable value, it is more conducive to the operation of user in this way, does not need
It is very stringent upright to start camera function.
Preferably, the small-sized fan is set to inside the air outlet, and the Wind volume detector is set to described connect
It closes up internal.
Optionally, it can also be only to connect that the air outlet, which can be the hollow cavity at least open at one end being separately provided,
Play the role of the gathering device gathered to wind in small-sized fan wind outlet, compared to the latter, the former scheme gathers wind
Effect is more preferable.It is more conducive to the wind for blowing out small-sized fan and blows to receiving port by the way that air outlet is as much as possible.
Specifically, the wind-force incudes upright state judgment means in certain preferred embodiments of the photographic method
It is described that upright state judgement is incuded by wind-force including receiving port and for detecting the Wind volume detector for entering receiving port air quantity
Device judges whether portable terminal is in upright state step and includes:
Enter the air quantity of receiving port by Wind volume detector detection and to judge whether the air quantity is more than or equal to default
The value of air quantity judges that portable terminal is in straight if being more than or equal to the value of default air quantity into the air quantity of receiving port
Vertical state.
Enter the air quantity of receiving port by Wind volume detector detection and to judge whether the air quantity is more than or equal to default
The value of air quantity judges that portable terminal is in straight if being more than or equal to the value of default air quantity into the air quantity of receiving port
Otherwise vertical state judges that portable terminal is in heeling condition.
In practical applications, the wind-force induction upright state judgment means can use following structures: the wind-force sense
Answering upright state judgment means includes the wind unit and receiving unit being built in inside the portable terminal rear shell, it is described go out
Wind unit includes air outlet, and the air outlet is connected to by the aperture on portable terminal end housing with external environment, the reception
Unit includes receiving port and for detecting the Wind volume detector for entering receiving port air quantity, and the air outlet and receiving port are opposite to be set
It sets and at least one in the air outlet and receiving port is mobilizable structure, when so that portable terminal being in upright state,
The air outlet and the receiving port are in face state and when portable terminal are in heeling condition, and the air outlet is inclined
From the receiving port;
It should be noted that described uprightly can be laterally uprightly is also possible to vertical upright, the number of the wind unit
Amount is not limited to one, and the quantity of the receiving unit is also not necessarily limited to one, such as can be a wind unit and a reception
Unit or two wind units and two receiving units.
When having a wind unit and a receiving unit, the wind unit and receiving unit can be in portable terminals
The inside of end rear shell is oppositely arranged above and below, if the rear shell is rectangle, i.e. the length direction along portable terminal rear shell is set
It sets, user can start camera function by the way that portable terminal is in vertical upright state at this time;The wind unit and
Receiving unit can also be oppositely arranged the inside of portable terminal rear shell is left and right, if the rear shell is rectangle, i.e., along portable
The width direction of formula terminal rear shell is arranged, and user can be clapped by the way that portable terminal is in lateral upright state to start at this time
According to function.
When there are two wind unit and two receiving units, the wind unit and receiving unit can be respectively portable
The inside of formula terminal rear shell is oppositely arranged above and below to be oppositely arranged with left and right, and user is either by will be at portable terminal at this time
Portable terminal, which is still in lateral upright state, in vertical upright state can start camera function.Relative to first two side
Case, this scheme is user-friendly, and user experience is more preferable.
At least one in the air outlet and receiving port is mobilizable structure, it can is fixed on for receiving port portable
In the rear shell of terminal, air outlet is movable device, in practical applications, air outlet single-point can be fixed on portable terminal
In rear shell, can with portable terminal rotation or inclination or wave and move, when portable terminal is in upright state,
The air outlet and receiving port are in face state under gravity, described when portable terminal is in heeling condition
Air outlet can deviate from the receiving port.Can certainly be set as using fixed air outlet, receiving port bascule mode or
Person's air outlet and receiving port are all set as the mode of bascule.For comparing, fixed reception mouth, air outlet is set as bascule
Mode is structurally easily achieved, in principle also more rationally.
The principle of embodiment of the present invention is exactly to utilize gravity principle, and air outlet passes through the aperture on portable terminal end housing
The wind for receiving the natural wind from external environment or artificially blowing, the air outlet and receiving port can be under gravity
Face state, received air quantity is bigger when the received air quantity of receiving port deviates compared to air outlet and receiving port at this time, passes through reception
Air volume judges the upright state of portable terminal.In practical applications, can in advance to air outlet and receiving port at
The received air quantity of receiving port does multiple test when face state, then takes a reasonable value as the value of default air quantity.It is excellent
Choosing, value acquirement for presetting air quantity is more smaller than the reasonable value, it is more conducive to the operation of user in this way, does not need very tight
The upright of lattice can start camera function.
Relative to above scheme, the scheme air quantity for generating wind by small-sized fan is relatively fixed, and accuracy is higher.
Further, in certain preferred embodiments of the photographic method, the portable terminal further includes photosensitive system
System and flash lamp, the photographic method in the unlatching camera, the step of into photographing mode after it is further comprising the steps of:
Start photosensitive system, judge whether ambient light reaches photograph demand, if reaching photograph demand, directly carries out
Otherwise shooting is opened flash lamp and is shot later.
Judge whether ambient light reaches the condition of shooting by photosensitive system, or judges the readability of subject
Whether reach requirement, if having reached the condition of shooting after judgement, without opening flash lamp, is directly shot, if judgement
It is unable to reach the condition of shooting afterwards, then needs to open flash lamp.In practical applications, if open flash lamp can by user Lai
Selection, it can be provided the prompt for whether opening flash lamp is jumped out, if without opening flash lamp, it can be by pressing volume tune
Small key is cancelled, and flash lamp is if desired opened, and can be confirmed by pressing volume enlargement key.It can be automatic by the step
For user setting flash lamp, the operation of user is facilitated, user experience is improved.
Further, in certain preferred embodiments of the photographic method, the method in the unlatching camera, into
It is further comprising the steps of before the step of entering photographing mode:
Judge whether portable terminal receives the operational order in addition to taking pictures, if receiving the behaviour in addition to taking pictures
It instructs, is operated according to operational order, otherwise open camera, into photographing mode;
The step is mainly to prevent user at this time from needing to do other operations other than taking pictures, and abruptly enter mould of taking pictures
Formula, user experience is poor, therefore the step of having added one to judge before entering photographing mode, if user has other operations at this time
Instruction then executes the operational order of user, portable terminal, which operates normally, will not enter photographing mode, such as such as unlocking operation
Fruit judges that the instruction of not user can just enter photographing mode.Setting up for the step further improves the Experience Degree of user.
Further, in certain preferred embodiments of the photographic method, the method the step of being shot it
It is further comprising the steps of afterwards;
Judge whether portable device is in upright state again, if being in upright state, is shot again, it is no
Then, the main interface of portable device is returned.
After taking pictures, it can judge again whether portable device continues the state of being kept upright, if not after continuation of insurance
Hold upright state, then exit shooting software, close camera, into main interface, if continuing the state of being kept upright, again into
Row shooting.The step further improves user experience.
Preferably, after being shot again, upright state can be looped to determine and the step of take pictures until portable terminal
Flexible non-stand-up placement or user carry out other movements.Preferably, all carry out whether ambient light reaches photograph need before taking pictures every time
The judgement asked directly is shot if reaching photograph demand, is otherwise opened flash lamp and is shot later.Preferably, exist
The judgement whether portable terminal receives operational order is all carried out before taking pictures every time, according to behaviour if receiving operational order
Make instruction operation, otherwise takes pictures.
As shown in figure 3, the flow chart of a preferred embodiment for the photographic method, the photographic method includes following
Step:
Step 301: judge whether portable terminal is in upright state, if thening follow the steps 303 in upright state,
Otherwise, step 302 is executed;
Step 302: being failure to actuate, portable terminal operates normally;
Step 303: whether the time for judging that portable terminal is in upright state is more than preset time T, if it exceeds in advance
If time T, 305 are thened follow the steps, it is no to then follow the steps 304;
Step 304: being failure to actuate, portable terminal operates normally;
Step 305: other operational orders for judging whether to receive user (such as unlock or reconcile volume etc. remaining are directed to
The movement of portable terminal), if there is other operational orders, 306 are thened follow the steps, otherwise, executes step 307;
Step 306: executing the operational order, portable terminal operates normally;
Step 307: opening camera and enter photographing mode, open photosensitive system;
Step 308: judge whether ambient light reaches photograph and require, is required if reaching photograph, then follow the steps 309,
Otherwise, step 310 is executed;
Step 309: directly being shot;
Step 310: opening flash lamp, shot;
Step 311: judging whether portable terminal maintains upright state, if maintaining upright state, execute step again
308, it is no to then follow the steps 312;
Step 312: returning to main interface.
Correspondingly, as shown in figure 4, embodiment of the present invention additionally provides a kind of camera arrangement, for above-mentioned portable terminal
End, the camera arrangement include:
Condition judgment module 401: judge whether portable terminal is located for incuding upright state judgment means by wind-force
In upright state, the allocating time judgment module if in upright state;
Time judgment module 402: for judging that portable terminal is in the time of upright state using condition judgment module
Whether it is more than or equal to preset time T, if it is greater than or equal to preset time T, then camera is opened, into mould of taking pictures
Formula.
Specifically, the wind-force incudes upright state judgment means in certain preferred embodiments of the camera arrangement
Including the wind unit and receiving unit being built in inside the portable terminal rear shell, the wind unit includes small-sized fan
The air outlet transferred out with the wind for generating small-sized fan, the receiving unit include receiving port and enter for detecting
The Wind volume detector of receiving port air quantity, the air outlet and receiving port be oppositely arranged and in the air outlet and receiving port at least
One is mobilizable structure, and when so that portable terminal being in upright state, the air outlet and the receiving port are in just
When being in heeling condition to state and portable terminal, the air outlet deviates the receiving port;The condition judgment module
Include:
Starting module, for starting small-sized fan;
Air quantity judgment module, for entering the air quantity of receiving port by Wind volume detector detection and whether judging the air quantity
More than or equal to the value of default air quantity, if being more than or equal to the value of default air quantity into the air quantity of receiving port, judge
Portable terminal is in upright state.
Specifically, the wind-force incudes upright state judgment means in certain preferred embodiments of the camera arrangement
Including the wind unit and receiving unit being built in inside the portable terminal rear shell, the wind unit includes air outlet,
The air outlet is connected to by the aperture on portable terminal end housing with external environment, and the receiving unit includes receiving port and use
Enter the Wind volume detector of receiving port air quantity in detection, the air outlet and receiving port are oppositely arranged and the air outlet and connect
At least one in closing in is mobilizable structure, when so that portable terminal being in upright state, the air outlet and described is connect
When closing in is in heeling condition in face state and portable terminal, the air outlet deviates the receiving port;The shape
State judgment module includes:
Air quantity judgment module, for entering the air quantity of receiving port by Wind volume detector detection and whether judging the air quantity
More than or equal to the value of default air quantity, if being more than or equal to the value of default air quantity into the air quantity of receiving port, judge
Portable terminal is in upright state.
Further, in certain preferred embodiments of the camera arrangement, the portable terminal further includes photosensitive system
System and flash lamp, the camera arrangement further include:
Execution module is shot, for opening camera, starts photosensitive system later into photographing mode, judges extraneous bright
Whether degree reaches photograph demand, if reaching photograph demand, is directly shot, and otherwise opens flash lamp and is clapped later
It takes the photograph.
Further, in certain preferred embodiments of the camera arrangement, described device further include:
Operational order module judges whether portable terminal receives before into photographing mode for opening camera
To the operational order in addition to taking pictures, operated if receiving the operational order in addition to taking pictures according to operational order, otherwise
Camera is opened, into photographing mode;
Further, in certain preferred embodiments of the camera arrangement, described device further include:
Continuous shooting module, for judging whether portable device continues to upright state after being shot, if after
It is continuous to maintain upright state, then it is shot again, otherwise, returns to the main interface of portable device.
It should be noted that the modules for the camera arrangement that embodiment of the present invention provides are for realizing the above-mentioned side of taking pictures
The process step of method, details are not described herein.
It should be noted that the portable terminal includes but is not limited to mobile phone, tablet computer, laptop
Deng.
It referring to figure 5., is the hardware structural diagram of electronic equipment provided by the embodiments of the present application, as shown in figure 5, the electricity
Sub- equipment 500 includes:
One or more processors 501 and memory 502, in Fig. 5 by taking a processor 501 as an example.
Processor 501 can be connected with memory 502 by bus or other modes, to be connected by bus in Fig. 5
For.
Memory 502 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, as the corresponding program instruction of photographic method in the embodiment of the present application/
Module (for example, attached condition judgment module shown in Fig. 4 401 and time judgment module 402).Processor 501 passes through operation storage
Non-volatile software program, instruction and module in memory 502, thereby executing server various function application and
Data processing, i.e. realization above method embodiment server performance optimal control method.
Memory 502 may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;Storage data area, which can be stored, uses created number according to camera arrangement
According to etc..In addition, memory 502 may include high-speed random access memory, it can also include nonvolatile memory, such as extremely
A few disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, memory
502 it is optional include the memory remotely located relative to processor 501, these remote memories can pass through network connection to controlling
Device processed.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 502, when by one or more of processors
When 501 execution, the control method in above-mentioned any means embodiment is executed, for example, executing the method step in Fig. 1 described above
Rapid 101 to step 102, the method and step 201 in Fig. 2 to step 202, and the method and step 301 in Fig. 3 to step 312 realizes figure
The function of module 401-402 in 4.
Method provided by the embodiment of the present application can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present application.
The electronic equipment of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function
Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy
Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function.
The embodiment of the present application provides a kind of non-volatile computer readable storage medium storing program for executing, the computer-readable storage medium
Matter is stored with computer executable instructions, which is executed by one or more processors, such as in Fig. 5
One processor 501 may make said one or multiple processors that the method in above-mentioned any means embodiment, example can be performed
Such as, method and step 101 in Fig. 1 described above is executed to step 102, the method and step 201 in Fig. 2 to step 202, Fig. 3
In method and step 301 to step 312, the function of the module 401-402 in 4.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those of ordinary skill in the art can be understood that each embodiment
The mode of general hardware platform can be added to realize by software, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can
With understand all or part of the process realized in above-described embodiment method be can be instructed by computer program it is relevant hard
Part is completed, and the program can be stored in a computer-readable storage medium, the program is when being executed, it may include as above
State the process of the embodiment of each method.Wherein, the storage medium can be magnetic disk, CD, read-only memory (Read-
Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;At this
It under the thinking of application, can also be combined between the technical characteristic in above embodiments or different embodiment, step can be with
It is realized with random order, and there are many other variations of the different aspect of the application as described above, for simplicity, they do not have
Have and is provided in details;Although the application is described in detail with reference to the foregoing embodiments, the ordinary skill people of this field
Member is it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part of skill
Art feature is equivalently replaced;And these are modified or replaceed, each reality of the application that it does not separate the essence of the corresponding technical solution
Apply the range of a technical solution.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field is included within the scope of the present invention.
Claims (6)
1. a kind of photographic method, which is characterized in that be used for portable terminal, the portable terminal includes camera and wind-force sense
Upright state judgment means are answered, the wind-force induction upright state judgment means include small-sized fan, for producing small-sized fan
Air outlet that raw wind transfers out, receiving port and for detecting the Wind volume detector for entering receiving port air quantity, the outlet air
Mouth and receiving port are oppositely arranged and at least one in the air outlet and receiving port is mobilizable structure, so that portable terminal
When in upright state, the air outlet and receiving port is in face state and portable terminal is in heeling condition
When, the air outlet deviates the receiving port;
The photographic method the following steps are included:
Step A: upright state judgment means are incuded by wind-force and judge whether portable terminal is in upright state, if be in
Upright state thens follow the steps B;
Step B: judging that portable terminal is in whether time of upright state is more than or equal to preset time T, if it is greater than
Or be equal to preset time T, then camera is opened, into photographing mode;
Wherein, described to judge whether portable terminal is in upright state step packet by wind-force induction upright state judgment means
It includes:
Start small-sized fan;
Enter the air quantity of receiving port by Wind volume detector detection and judges whether the air quantity is more than or equal to default air quantity
Value judge that portable terminal is in vertical if being more than or equal to the value of default air quantity into the air quantity of receiving port
State.
2. photographic method according to claim 1, which is characterized in that the portable terminal further includes photosensitive system and sudden strain of a muscle
Light lamp, the method in the unlatching camera, the step of into photographing mode after it is further comprising the steps of:
Start photosensitive system, judges whether ambient light reaches photograph demand, if reaching photograph demand, directly clapped
It takes the photograph, otherwise opens flash lamp and shot later.
3. photographic method according to claim 2, which is characterized in that the method is in the unlatching camera, into bat
It is further comprising the steps of before the step of according to mode:
Judge whether portable terminal receives the operational order in addition to taking pictures, if the operation received in addition to taking pictures refers to
Order is then operated according to operational order, camera is otherwise opened, into photographing mode;
The method is further comprising the steps of after the step of being shot;
Judge whether portable device is in upright state again, if being in upright state, is shot again, otherwise,
Return to the main interface of portable device.
4. a kind of camera arrangement, which is characterized in that be used for portable terminal, the portable terminal includes camera and wind-force sense
Upright state judgment means are answered, the wind-force induction upright state judgment means include being built in the portable terminal rear shell
The wind unit and receiving unit in portion, the wind unit include small-sized fan and the hearsay output for generating small-sized fan
The air outlet gone, the receiving unit include receiving port and for detect enter receiving port air quantity Wind volume detector, it is described
Air outlet and receiving port are oppositely arranged and at least one in the air outlet and receiving port is mobilizable structure, so that portable
When terminal is in upright state, the air outlet and the receiving port are in face state and portable terminal in inclination
When state, the air outlet deviates the receiving port;
The camera arrangement includes:
Condition judgment module: judge whether portable terminal is in vertical for incuding upright state judgment means by wind-force
State, the allocating time judgment module if in upright state;
Time judgment module: for judging that portable terminal is in whether time of upright state is greater than using condition judgment module
Perhaps be equal to preset time T if it is greater than or be equal to preset time T, then camera is opened, into photographing mode;
Wherein, the condition judgment module includes:
Starting module, for starting small-sized fan;
Air quantity judgment module, for entering the air quantity of receiving port by Wind volume detector detection and judging whether the air quantity is greater than
Or the value equal to default air quantity judges portable if being more than or equal to the value of default air quantity into the air quantity of receiving port
Formula terminal is in upright state.
5. camera arrangement according to claim 4, which is characterized in that the portable terminal further includes photosensitive system and sudden strain of a muscle
Light lamp, the camera arrangement further include:
Execution module is shot, for opening camera, starts photosensitive system later into photographing mode, judges that ambient light is
It is no to reach photograph demand, if reaching photograph demand, directly shot, otherwise opens flash lamp and shot later.
6. device according to claim 5, which is characterized in that described device further include:
Operational order module judges whether portable terminal receives before into photographing mode and removes for opening camera
Operational order other than taking pictures is operated according to operational order if receiving the operational order in addition to taking pictures, is otherwise opened
Camera, into photographing mode;
Continuous shooting module, for judging whether portable device is in upright state again after being shot, if in straight
Vertical state, then shot again, otherwise, return to the main interface of portable device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610874225.9A CN106412430B (en) | 2016-09-29 | 2016-09-29 | Photographic method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610874225.9A CN106412430B (en) | 2016-09-29 | 2016-09-29 | Photographic method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106412430A CN106412430A (en) | 2017-02-15 |
CN106412430B true CN106412430B (en) | 2019-06-11 |
Family
ID=59228495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610874225.9A Active CN106412430B (en) | 2016-09-29 | 2016-09-29 | Photographic method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106412430B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106851118A (en) * | 2017-04-05 | 2017-06-13 | 深圳天珑无线科技有限公司 | Camera control method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009117474A2 (en) * | 2008-03-18 | 2009-09-24 | Qualcomm Incorporated | Systems and methods for detecting wind noise using multiple audio sources |
CN103024173A (en) * | 2012-12-11 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method for opening camera based on gravity sensing |
CN104125343A (en) * | 2014-08-11 | 2014-10-29 | 上海斐讯数据通信技术有限公司 | System and method for realizing scrolling of mobile phone scroll bar by accelerated air movement |
CN104683580A (en) * | 2015-02-28 | 2015-06-03 | 凤阳广农信息科技有限公司 | Mobile phone with air speed detecting function |
CN204408452U (en) * | 2015-02-28 | 2015-06-17 | 凤阳广农信息科技有限公司 | With the mobile phone of wind speed measurement function |
-
2016
- 2016-09-29 CN CN201610874225.9A patent/CN106412430B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009117474A2 (en) * | 2008-03-18 | 2009-09-24 | Qualcomm Incorporated | Systems and methods for detecting wind noise using multiple audio sources |
CN103024173A (en) * | 2012-12-11 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method for opening camera based on gravity sensing |
CN104125343A (en) * | 2014-08-11 | 2014-10-29 | 上海斐讯数据通信技术有限公司 | System and method for realizing scrolling of mobile phone scroll bar by accelerated air movement |
CN104683580A (en) * | 2015-02-28 | 2015-06-03 | 凤阳广农信息科技有限公司 | Mobile phone with air speed detecting function |
CN204408452U (en) * | 2015-02-28 | 2015-06-17 | 凤阳广农信息科技有限公司 | With the mobile phone of wind speed measurement function |
Also Published As
Publication number | Publication date |
---|---|
CN106412430A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113794800B (en) | Voice control method and electronic equipment | |
CN104995558B (en) | A kind of method obtaining panoramic picture and terminal | |
CN103257939B (en) | A kind of obtain the method for image, device and equipment | |
CN103327170B (en) | Docking station for android cellphone | |
CN105100249B (en) | Picture transfer control system and its involved safeguard protection respectively held, transmission method | |
CN109496425A (en) | Photographic method, camera arrangement and mobile terminal | |
CN110493538A (en) | Image processing method, device, storage medium and electronic equipment | |
CN107800930A (en) | Image combining method and the electronic equipment for supporting this method | |
CN109089023A (en) | A kind of terminal and control method | |
CN104320579A (en) | Photographing device and method | |
BR112012002919A2 (en) | linked metadata identification system, image search method, and device | |
JP2005051753A (en) | Autonomous camera having exchangeable behaviors | |
CN108647058A (en) | A kind of application program launching method and mobile terminal | |
CN104320585A (en) | Photographing method of mobile terminal, mobile terminal, camera and mobile device | |
CN109241775A (en) | A kind of method for secret protection and terminal | |
CN105068632A (en) | Terminal charging method and device and terminal | |
CN110210271A (en) | A kind of information processing method and terminal device | |
CN106412430B (en) | Photographic method and device | |
CN106354868A (en) | Photographing processing method and device | |
CN107105165A (en) | The switching method and device of a kind of exposal model | |
CN108965697A (en) | A kind of filming control method, terminal and computer readable storage medium | |
CN105933614A (en) | Photographing and camera shooting method and system | |
CN105933689A (en) | Image processing method and electronic device supporting the same | |
CN110267007A (en) | Image processing method, device, server and storage medium | |
CN105847683A (en) | Motion camera one-key sharing system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |