CN104994279B - A kind of method and terminal for starting wide-angle camera based on the SOT state of termination - Google Patents

A kind of method and terminal for starting wide-angle camera based on the SOT state of termination Download PDF

Info

Publication number
CN104994279B
CN104994279B CN201510378862.2A CN201510378862A CN104994279B CN 104994279 B CN104994279 B CN 104994279B CN 201510378862 A CN201510378862 A CN 201510378862A CN 104994279 B CN104994279 B CN 104994279B
Authority
CN
China
Prior art keywords
terminal
camera
wide
angle camera
specified
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
Application number
CN201510378862.2A
Other languages
Chinese (zh)
Other versions
CN104994279A (en
Inventor
雷辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510378862.2A priority Critical patent/CN104994279B/en
Publication of CN104994279A publication Critical patent/CN104994279A/en
Application granted granted Critical
Publication of CN104994279B publication Critical patent/CN104994279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of method for starting wide-angle camera based on the SOT state of termination, including:When the specified camera of terminal is in running order, judge whether the terminal is in mobile status;When the terminal is in mobile status, the user interface of output prompt message to the terminal, to remind terminal user to choose whether to start the wide-angle camera of the terminal by the prompt message;When the terminal user selects to start the wide-angle camera of the terminal, start the wide-angle camera of the terminal, to be shot by the wide-angle camera to the target reference object.The embodiment of the invention also discloses a kind of terminal.Using the present invention, there is the starting efficiency and interest of the wide-angle camera that can improve terminal, the advantages of strengthening the Consumer's Experience of terminal.

Description

A kind of method and terminal for starting wide-angle camera based on the SOT state of termination
Technical field
The present invention relates to electronic technology field, more particularly to it is a kind of based on the SOT state of termination start wide-angle camera method and Terminal.
Background technology
With the development of the camera technical research of the terminals such as mobile phone or camera, and wide-angle imaging becomes increasingly popular, The terminal device such as mobile phone and camera can possess wide-angle camera, be taken pictures into the wide-angle camera of mobile phone or camera For the hobby of more and more users.
However, in the prior art, when the user of the mobile phone either terminal such as camera is taken pictures using mobile phone or camera, if The wide-angle camera of startup mobile phone or camera is wanted, it is necessary to be opened manually, and in the prior art, mobile phone or camera etc. are eventually End voluntarily can not determine whether startup wide-angle camera according to the demand of present filming scene, more can not be voluntarily according to photographed scene Demand start wide-angle camera, malfunction, poor user experience.
The content of the invention
The embodiment of the present invention provides a kind of method and terminal for starting wide-angle camera based on the SOT state of termination, can improve terminal Wide-angle camera starting efficiency and interest, strengthen the Consumer's Experience of terminal.
The embodiments of the invention provide a kind of method for starting wide-angle camera based on the SOT state of termination, it may include:
When the specified camera of terminal is in running order, judge whether the terminal is in mobile status;
When the terminal is in mobile status, the user interface of output prompt message to the terminal, to pass through The prompt message reminds terminal user to choose whether to start the wide-angle camera of the terminal;
When the terminal user selects to start the wide-angle camera of the terminal, start the wide-angle imaging of the terminal Head, to be shot by the wide-angle camera to the target reference object.
Wherein, methods described also includes:
When the specified camera of terminal is in running order, judge whether the specified camera is in rotary state;
When the specified camera is in rotary state, the user interface of output prompt message to the terminal, To remind terminal user to choose whether to start the wide-angle camera of the terminal by the prompt message.
Wherein, it is described to judge whether the terminal is in mobile status, including:
The mobile status data of the terminal are obtained, the mobile status data include:The moving direction of the terminal, move At least one of dynamic amplitude, translational speed and translational acceleration;
Judge whether the mobile status data of the terminal are more than or equal to default status data threshold value, if judging knot Fruit is yes, then judges that the terminal is in mobile status.
Wherein, it is described to judge whether the specified camera is in rotary state, including:
The rotary state data of the specified camera of the terminal are obtained, the rotary state data include:It is described At least one of rotation direction, rotation amplitude, velocity of rotation and rotation acceleration of terminal;
Judge whether the rotary state data of the specified camera are more than or equal to default status data threshold value, if Judged result is yes, then judges that the specified camera is in rotary state.
Wherein, the terminal includes:Mobile phone, tablet personal computer, personal computer assistant, digital camera, and slr camera At least one of.
The embodiment of the present invention additionally provides a kind of terminal, and it may include:
Judge module, for when the specified camera of terminal is in running order, judging the terminal whether in shifting Dynamic state;
Reminding module, for when the judge module judged result is to be, exporting prompt message to the use of the terminal Family operation interface, to remind terminal user to choose whether to start the wide-angle camera of the terminal by the prompt message;
Starting module, start the end for the prompt message selection that the terminal user exports according to the reminding module During the wide-angle camera at end, start the wide-angle camera of the terminal, to be shot by the wide-angle camera to the target Object is shot.
Wherein, the judge module is additionally operable to:
When the specified camera of terminal is in running order, judge whether the specified camera is in rotary state;
When the specified camera is in rotary state, triggers the reminding module and export prompt message to the terminal User interface, with by the prompt message remind terminal user choose whether to start the wide-angle imaging of the terminal Head.
Wherein, the judge module is specifically used for:
The mobile status data of the terminal are obtained, the mobile status data include:The moving direction of the terminal, move At least one of dynamic amplitude, translational speed and translational acceleration;
Judge whether the mobile status data of the terminal are more than or equal to default status data threshold value, if judging knot Fruit is yes, then judges that the terminal is in mobile status.
Wherein, the judge module is specifically used for:
The rotary state data of the specified camera of the terminal are obtained, the rotary state data include:It is described At least one of rotation direction, rotation amplitude, velocity of rotation and rotation acceleration of terminal;
Judge whether the rotary state data of the specified camera are more than or equal to default status data threshold value, if Judged result is yes, then judges that the specified camera is in rotary state.
Wherein, the terminal includes:Mobile phone, tablet personal computer, personal computer assistant, digital camera, and slr camera At least one of.
Implement the embodiment of the present invention, have the advantages that:
Terminal can judge the terminal when it is determined that the specified camera of terminal is in running order in the embodiment of the present invention Whether mobile status is in.When the terminal is in mobile status, user's operation of exportable prompt message to the terminal Interface, terminal user is reminded to choose whether to start the wide-angle camera of the terminal by the prompt message;When the terminal When user selects to start the wide-angle camera of the terminal, the wide-angle camera of the terminal can be directly initiated, with by described Wide-angle camera is shot to the target reference object.The embodiment of the present invention can determine wide according to the mobile status of terminal Whether is the startup of angle camera, and the manually operated of wide-angle camera is carried out without terminal user, easy to operate, enhances wide-angle and takes the photograph As the interest and efficiency of the startup of head, the Consumer's Experience of terminal is enhanced.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the first embodiment stream of the method provided in an embodiment of the present invention for starting wide-angle camera based on the SOT state of termination Journey schematic diagram;
Fig. 2 is the second embodiment stream of the method provided in an embodiment of the present invention for starting wide-angle camera based on the SOT state of termination Journey schematic diagram;
Fig. 3 is the structural representation of the embodiment of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
In the specific implementation, the terminal described in the embodiment of the present invention may include:Mobile phone, tablet personal computer, notebook computer, Personal computer assistant, digital camera or slr camera etc., above-mentioned terminal are only citings, and non exhaustive, including but not limited to Above-mentioned terminal, is not limited herein.A wide-angle camera, and one are can configure in terminal described in the embodiment of the present invention Or multiple common cameras (any type of camera i.e. in addition to wide-angle camera, concretely terminal configuration can The camera of rotation, hereinafter referred to as rotating camera), it is not limited herein.Wide-angle imaging described in the embodiment of the present invention Head, also referred to as wide-angle lens, it is that a kind of focal length is shorter than standard lens, visual angle is more than standard lens, focal length is longer than fish eye lens, visual angle Less than fish-eye photographic mirror.The basic characteristics of wide-angle lens are that camera lens visual angle is big, and the visual field is broad.From a certain viewing point To scenery scope seen in same viewpoint than human eye much bigger, depth of field length, sizable clear model can be shown Enclose, the transparent effect of picture can be emphasized, be good at exaggeration prospect and show the far and near sense of scenery, this is advantageous to the infection for strengthening picture Power.In photographed scene is specified, terminal user can be shot by wide-angle camera, and appeal and stereovision are had more to obtain Picture.
Below in conjunction with Fig. 1 to Fig. 3 to the side provided in an embodiment of the present invention for starting wide-angle camera based on the SOT state of termination Method and terminal are specifically described.
It is that the first of the method provided in an embodiment of the present invention for starting wide-angle camera based on the SOT state of termination is real referring to Fig. 1 Apply a schematic flow sheet.Method described in the embodiment of the present invention may include step:
S101, when the specified camera of terminal is in running order, judge whether the terminal is in mobile status.
, can before terminal determines to shoot the scenery of current scene to be captured in some feasible embodiments The current state of terminal is determined first, and then can determine the need for starting the wide-angle imaging of terminal according to the current state of terminal Head is shot.In the specific implementation, terminal, which can start it first, specifies camera, wherein, above-mentioned specified camera is concretely The rotating camera configured in terminal either common camera (such as front camera or rear camera of terminal).Terminal It can judge whether the specified camera of terminal is opened by the detection function module built in it, i.e., whether is the specified camera of terminal It is in running order.When terminal determines that it specifies camera in running order, terminal can pass through the specified function built in it Module determines whether present terminal is in mobile status.Specifically, terminal can be obtained eventually by the specified functional module built in it Current mobile status data are held, wherein, above-mentioned mobile status data may include:The moving direction of terminal, mobile range, movement Speed or translational acceleration etc..Wherein, the specified functional module of the above-mentioned mobile status data for obtaining terminal specifically may be used Gravity sensor or gyroscope for terminal etc., are not limited herein.That is, terminal can by the gravity sensor built in it or Person's gyroscope obtains the mobile status data such as moving direction, translational speed, mobile range or the translational acceleration of terminal, and then It can determine whether terminal is in mobile status according to above-mentioned mobile status data.
In some feasible embodiments, in order to avoid the mistake for rocking or the swinging triggering terminal behaviour of terminal unintentionally Make, terminal can preset the status data threshold value for judging whether terminal is in mobile status, and then can be according to above-mentioned status number Determine that terminal is to be in mobile status according to threshold value, be in vibrating state.In the specific implementation, terminal, which acquires it, moves shape After state data, then above-mentioned mobile status data can be compared with default status data threshold value, judge above-mentioned mobile shape Whether state data are more than or equal to above-mentioned default status data threshold value.When terminal judges to learn that above-mentioned mobile status data are big When above-mentioned default status data threshold value, it can determine whether that terminal is in mobile status, otherwise judge that terminal is not at Mobile status, i.e. terminal simply simply may be rocked or swung.For example, when the mobile range of terminal is more than or equal in advance If amplitude threshold when, it may be determined that terminal is in mobile status.Or the mobile range when terminal within a specified time be more than or When person is equal to default amplitude threshold, it may be determined that terminal is in mobile status.It is above-mentioned to judge whether terminal is in mobile status Mode is only citing, and non exhaustive, including but not limited to aforesaid way, is not limited herein.
S102, when the terminal is in mobile status, the user interface of output prompt message to the terminal, with Terminal user is reminded to choose whether to start the wide-angle camera of the terminal by the prompt message.
In some feasible embodiments, terminal determines its current state as that after mobile status, can directly initiate The wide-angle camera of terminal, picture shooting is carried out by above-mentioned wide-angle camera.In the specific implementation, in order to avoid terminal wide-angle is taken the photograph As the startup maloperation of head, terminal determines its current state after mobile status, to can trigger the wide-angle camera of terminal Start and remind.That is, the exportable prompt message of terminal reminds terminal to use to the user interface of terminal by above-mentioned prompt message Family chooses whether to start the wide-angle camera of terminal.Terminal user can according to the actual requirements, or practical application scene determination is The no wide-angle camera for needing to start terminal, and then can determine whether to start eventually by the selection mode that above-mentioned prompt message indicates The wide-angle camera at end.When terminal determines that the mobile status data of above-mentioned terminal are more than or equal to default status data threshold value When, then it can determine that current photographed scene needs wide-angle camera to be shot, to obtain the picture for having more level and depth.If Terminal determines that the mobile status data of above-mentioned terminal are less than default status data threshold value, then can determine that current photographed scene only Common camera is needed to meet to require, without starting the wide-angle camera of terminal.Terminal start its wide-angle camera it Afterwards, then the scenery included in present filming scene can be shot by its wide-angle camera, with obtain it is wider, more The image of depth and level.Terminal reminds terminal user to choose whether to start the wide-angle imaging of terminal by above-mentioned prompt message Head, and then terminal can be avoided to start the maloperation of wide-angle camera, enhance flexibility and accuracy that wide-angle camera starts. Wherein, the user interface of above-mentioned terminal may include:The display screen of terminal, the touch-screen of terminal or touch screen etc., herein It is not limited.
S103, when the terminal user selects to start the wide-angle camera of the terminal, start the wide-angle of the terminal Camera, to be shot by the wide-angle camera to the target reference object.
In some feasible embodiments, when terminal determines that user selects to start the wide-angle camera of terminal, it can open The wide-angle camera of dynamic terminal, is shot by the wide-angle camera of terminal to the target reference object of present filming scene. Specifically, when terminal starts its wide-angle camera, can the control module of the directly wide-angle camera of triggering terminal start terminal Wide-angle camera.After terminal starts wide-angle camera, then taking lens corresponding to current scene to be captured can be switched to Wide-angle camera, and then the shooting of the scenery of present filming scene can be carried out by wide-angle camera.Terminal user is without manually Carry out the unlatching of wide-angle camera, simplify the startup program of wide-angle camera, improve wide-angle camera starting efficiency and Interest, enhance the Consumer's Experience of terminal.
In embodiments of the present invention, terminal can be when it is determined that the specified camera of terminal be in running order, described in judgement Whether terminal is in mobile status.When the terminal is in mobile status, the user of exportable prompt message to the terminal Operation interface, terminal user is reminded to choose whether to start the wide-angle camera of the terminal by the prompt message;When described When terminal user selects to start the wide-angle camera of the terminal, the wide-angle camera of the terminal can be directly initiated, to pass through The wide-angle camera is shot to the target reference object.The embodiment of the present invention can be according to the mobile status of terminal come really Determine wide-angle camera startup whether, carry out the manually operated of wide-angle camera without terminal user, it is easy to operate, enhance wide The interest and efficiency of the startup of angle camera, enhance the Consumer's Experience of terminal.
It is that the second of the method provided in an embodiment of the present invention for starting wide-angle camera based on the SOT state of termination is real referring to Fig. 2 Apply a schematic flow sheet.Method described in the embodiment of the present invention may include step:
S201, when the specified camera of terminal is in running order, obtain the specified camera of the terminal Mobile status data.
S202, judges whether the rotary state data of the specified camera are more than or equal to default status data threshold Value, if the determination result is YES, then perform step S203.
, can before terminal determines to shoot the scenery of current scene to be captured in some feasible embodiments The current state of terminal is determined first, and then can determine the need for starting the wide-angle imaging of terminal according to the current state of terminal Head is shot.In the specific implementation, terminal, which can start it first, specifies camera, wherein, above-mentioned specified camera is concretely The rotating camera configured in terminal either common camera (such as front camera or rear camera of terminal).Terminal It can judge whether the specified camera of terminal is opened by the detection function module built in it, i.e., whether is the specified camera of terminal It is in running order.When terminal determines that it specifies camera in running order, terminal can pass through the specified function built in it Module determines whether present terminal is in mobile status.Specifically, terminal can be obtained eventually by the specified functional module built in it Current mobile status data are held, wherein, above-mentioned mobile status data may include:The moving direction of terminal, mobile range, movement Speed or translational acceleration etc..Wherein, the specified functional module of the above-mentioned mobile status data for obtaining terminal specifically may be used Gravity sensor or gyroscope for terminal etc., are not limited herein.That is, terminal can by the gravity sensor built in it or Person's gyroscope obtains the mobile status data such as moving direction, translational speed, mobile range or the translational acceleration of terminal, and then It can determine whether terminal is in mobile status according to above-mentioned mobile status data.
In some feasible embodiments, in order to avoid the mistake for rocking or the swinging triggering terminal behaviour of terminal unintentionally Make, terminal can preset the status data threshold value for judging whether terminal is in mobile status, and then can be according to above-mentioned status number Determine that terminal is to be in mobile status according to threshold value, be in vibrating state.In the specific implementation, terminal, which acquires it, moves shape After state data, then above-mentioned mobile status data can be compared with default status data threshold value, judge above-mentioned mobile shape Whether state data are more than or equal to above-mentioned default status data threshold value.When terminal judges to learn that above-mentioned mobile status data are big When above-mentioned default status data threshold value, it can determine whether that terminal is in mobile status, otherwise judge that terminal is not at Mobile status, i.e. terminal simply simply may be rocked or swung.For example, when the mobile range of terminal is more than or equal in advance If amplitude threshold when, it may be determined that terminal is in mobile status.Or the mobile range when terminal within a specified time be more than or When person is equal to default amplitude threshold, it may be determined that terminal is in mobile status.It is above-mentioned to judge whether terminal is in mobile status Mode is only citing, and non exhaustive, including but not limited to aforesaid way, is not limited herein.
Further, in some feasible embodiments, terminal determines to clap the scenery of current scene to be captured Before taking the photograph, the current state of the specified camera of terminal can first determine that, and then can be current according to the specified camera of terminal The wide-angle camera that state determines the need for starting terminal is shot.Specified in the specific implementation, terminal can start it first Camera, wherein, rotating camera or common camera that above-mentioned specified camera concretely configures in terminal (such as it is whole The front camera or rear camera at end).Terminal can judge that the specified of terminal is taken the photograph by the detection function module built in it As whether head is opened, i.e. whether the specified camera of terminal is in running order.When terminal determines that it specifies camera to be in work When making state, whether terminal can determine the specified camera of present terminal in rotation shape by the specified functional module built in it State.Specifically, terminal can pass through the current rotary state number of the specified camera of the specified functional module acquisition terminal built in it According to, wherein, above-mentioned rotary state data may include:Rotation direction, rotation amplitude, velocity of rotation or the rotation acceleration of terminal Deng.Wherein, the above-mentioned specified functional module concretely terminal for being used to obtain the rotary state data of the specified camera of terminal Gravity sensor or gyroscope etc., be not limited herein.That is, terminal can pass through the gravity sensor or gyro built in it Instrument obtains the rotary state numbers such as rotation direction, velocity of rotation, rotation amplitude or the rotation acceleration of specified camera of terminal According to, and then can determine whether terminal is in mobile status according to above-mentioned rotary state data.
In some feasible embodiments, in order to avoid the mistake for rocking or the swinging triggering terminal behaviour of terminal unintentionally Make, terminal, which can be preset, judges whether the specified camera of terminal is in the status data threshold value of rotary state, and then can root Determine that the specified camera of terminal is to be in rotary state according to above-mentioned status data threshold value, be in vibrating state.It is specific real , then can be by above-mentioned rotary state data with presetting after terminal acquires the rotary state data that it specifies camera in existing Status data threshold value be compared, judge whether above-mentioned rotary state data are more than or equal to above-mentioned default status data Threshold value.When terminal judges to learn that above-mentioned rotary state data are more than or equal to above-mentioned default status data threshold value, can sentence The specified camera of disconnected terminal is to be in rotary state, otherwise judges that the specified camera of terminal is not in rotary state, i.e., Terminal simply simply may be rocked or swung.For example, when the rotation amplitude of the specified camera of terminal is more than or equal to During default amplitude threshold, it may be determined that the specified camera of terminal is in rotary state.Or when the specified camera of terminal exists When rotation amplitude in specified time is more than or equal to default amplitude threshold, it may be determined that the specified camera of terminal is to be in Rotary state.Whether the mode in rotary state is only citing to the above-mentioned specified camera for judging terminal, and non exhaustive, comprising But aforesaid way is not limited to, is not limited herein.
S203, the user interface of output prompt message to the terminal, to remind terminal by the prompt message User chooses whether to start the wide-angle camera of the terminal.
In some feasible embodiments, terminal determines that it is specified after camera current state is rotary state, The wide-angle camera of terminal can be directly initiated, picture shooting is carried out by above-mentioned wide-angle camera.In the specific implementation, in order to avoid The startup maloperation of terminal wide-angle camera, terminal determine that it specifies camera current state as that after rotary state, can touch The startup for sending out the wide-angle camera of terminal is reminded.That is, the exportable prompt message of terminal to terminal user interface, by upper Stating prompt message reminds terminal user to choose whether to start the wide-angle camera of terminal.Terminal user can according to the actual requirements, or Person's practical application scene determines the need for starting the wide-angle camera of terminal, and then the choosing that can be indicated by above-mentioned prompt message The mode of selecting determines whether to start the wide-angle camera of terminal.When terminal determines that it specifies the rotary state data of camera to be more than Or during equal to default status data threshold value, then can determine that current photographed scene needs wide-angle camera to be shot, with Obtain the picture for having more level and depth.It is default that if terminal determines that the rotary state data of the specified camera of above-mentioned terminal are less than Status data threshold value, then can determine that current photographed scene only needs common camera to meet to require, without start The wide-angle camera of terminal., then can be by its wide-angle camera to present filming scene after terminal starts its wide-angle camera In the scenery that includes shot, to obtain wider, the more image of depth and level.Terminal passes through above-mentioned prompt message Remind terminal user to choose whether to start the wide-angle camera of terminal, and then terminal can be avoided to start the mistake of wide-angle camera and grasped Make, enhance flexibility and the accuracy of wide-angle camera startup.Wherein, the user interface of above-mentioned terminal may include:Eventually The display screen at end, the touch-screen of terminal or touch screen etc., are not limited herein.
S204, when the terminal user selects to start the wide-angle camera of the terminal, start the wide-angle of the terminal Camera, to be shot by the wide-angle camera to the target reference object.
In some feasible embodiments, when terminal determines that user selects to start the wide-angle camera of terminal, it can open The wide-angle camera of dynamic terminal, is shot by the wide-angle camera of terminal to the target reference object of present filming scene. Specifically, when terminal starts its wide-angle camera, can the control module of the directly wide-angle camera of triggering terminal start terminal Wide-angle camera.After terminal starts wide-angle camera, then taking lens corresponding to current scene to be captured can be switched to Wide-angle camera, and then the shooting of the scenery of present filming scene can be carried out by wide-angle camera.Terminal user is without manually Carry out the unlatching of wide-angle camera, simplify the startup program of wide-angle camera, improve wide-angle camera starting efficiency and Interest, enhance the Consumer's Experience of terminal.
In embodiments of the present invention, terminal can be when it is determined that the specified camera of terminal be in running order, according to terminal Mobile status or the rotary state of specified camera of terminal judge whether the terminal is in mobile status.When the end When end is in mobile status, the user interface of exportable prompt message to the terminal, reminded by the prompt message Terminal user chooses whether to start the wide-angle camera of the terminal;When the terminal user selects to start the wide-angle of the terminal During camera, the wide-angle camera of the terminal can be directly initiated, with by the wide-angle camera to the target shooting pair As being shot.Whether the embodiment of the present invention can determine the startup of wide-angle camera according to the mobile status of terminal, without end End subscriber carries out the manually operated of wide-angle camera, easy to operate, enhances the interest and efficiency of the startup of wide-angle camera, Enhance the Consumer's Experience of terminal.
It is the structural representation of the embodiment of terminal provided in an embodiment of the present invention referring to Fig. 3.Institute in the embodiment of the present invention The terminal of description includes:
Judge module 10, for when the specified camera of terminal is in running order, judging whether the terminal is in Mobile status.
Reminding module 20, for when the judge module judged result is to be, exporting prompt message to the terminal User interface, to remind terminal user to choose whether to start the wide-angle camera of the terminal by the prompt message.
Starting module 30, for the terminal user according to starting the prompt message selection that the reminding module exports During the wide-angle camera of terminal, start the wide-angle camera of the terminal, to be clapped by the wide-angle camera the target Object is taken the photograph to be shot.
In some feasible embodiments, above-mentioned judge module 10 is additionally operable to:
When the specified camera of terminal is in running order, judge whether the specified camera is in rotary state;
When the specified camera is in rotary state, triggers the reminding module and export prompt message to the terminal User interface, with by the prompt message remind terminal user choose whether to start the wide-angle imaging of the terminal Head.
In some feasible embodiments, above-mentioned judge module 10 is specifically used for:
The mobile status data of the terminal are obtained, the mobile status data include:The moving direction of the terminal, move At least one of dynamic amplitude, translational speed and translational acceleration;
Judge whether the mobile status data of the terminal are more than or equal to default status data threshold value, if judging knot Fruit is yes, then judges that the terminal is in mobile status:
In some feasible embodiments, above-mentioned judge module 10 is specifically used for:
The rotary state data of the specified camera of the terminal are obtained, the rotary state data include:It is described At least one of rotation direction, rotation amplitude, velocity of rotation and rotation acceleration of terminal;
Judge whether the rotary state data of the specified camera are more than or equal to default status data threshold value, if Judged result is yes, then judges that the specified camera is in rotary state
, can before terminal determines to shoot the scenery of current scene to be captured in some feasible embodiments The current state of terminal is determined first, and then can determine the need for starting the wide-angle imaging of terminal according to the current state of terminal Head is shot.In the specific implementation, terminal, which can start it first, specifies camera, wherein, above-mentioned specified camera is concretely The rotating camera configured in terminal either common camera (such as front camera or rear camera of terminal).Judge Module 10 can judge whether the specified camera of terminal is opened by the detection function module of terminal built-in, i.e., the specified of terminal is taken the photograph As whether head is in running order.When judge module 10 determines that terminal specifies camera in running order, it may be determined that current Whether terminal is in mobile status.Work as specifically, judge module 10 can obtain terminal by the specified functional module of terminal built-in Preceding mobile status data, wherein, above-mentioned mobile status data may include:The moving direction of terminal, mobile range, translational speed Or translational acceleration etc..Wherein, the above-mentioned specified functional module for obtaining the mobile status data of terminal is concretely whole The gravity sensor or gyroscope at end etc., are not limited herein.That is, it is judged that module 10 can pass through the gravity sensor built in it Either gyroscope obtains the mobile status data such as moving direction, translational speed, mobile range or the translational acceleration of terminal, enters And it can determine whether terminal is in mobile status according to above-mentioned mobile status data.
In some feasible embodiments, in order to avoid the mistake for rocking or the swinging triggering terminal behaviour of terminal unintentionally Make, judge module 10 can preset the status data threshold value for judging whether terminal is in mobile status, and then can be according to above-mentioned Status data threshold value determines that terminal is to be in mobile status, is in vibrating state.In the specific implementation, judge module 10 obtains After obtaining its mobile status data, then above-mentioned mobile status data can be compared with default status data threshold value, sentenced Whether above-mentioned mobile status data of breaking are more than or equal to above-mentioned default status data threshold value.When judge module 10 judges to learn When above-mentioned mobile status data are more than or equal to above-mentioned default status data threshold value, it can determine whether that terminal is in mobile status, Otherwise judge that terminal is not at mobile status, i.e. terminal simply simply may be rocked or swung.For example, work as judge module 10 Judge to obtain the mobile range of terminal when being more than or equal to default amplitude threshold, it may be determined that terminal is in mobile status.Or When judge module 10 judge the mobile range of terminal within a specified time be more than or equal to default amplitude threshold when, can be true Determine terminal and be in mobile status.Above-mentioned judge module 10 judges whether the mode in mobile status is only citing to terminal, rather than Exhaustion, including but not limited to aforesaid way, it is not limited herein.
Further, in some feasible embodiments, terminal determines to clap the scenery of current scene to be captured Before taking the photograph, the current state of the specified camera of terminal can first determine that, and then can be current according to the specified camera of terminal The wide-angle camera that state determines the need for starting terminal is shot.In the specific implementation, judge module 10 can start first The specified camera of terminal, wherein, the rotating camera or commonly take the photograph that above-mentioned specified camera concretely configures in terminal As head (such as front camera or rear camera of terminal).Judge module 10 can pass through the detection function mould of terminal built-in Block judges whether the specified camera of terminal is opened, i.e. whether the specified camera of terminal is in running order.Work as judge module When the specified camera of 10 determination terminals is in running order, it may be determined that whether the specified camera of present terminal is in rotation shape State.Specifically, judge module 10 can obtain turn of the specified camera of terminal currently by the specified functional module of terminal built-in Dynamic status data, wherein, above-mentioned rotary state data may include:The rotation direction of terminal, rotation amplitude, velocity of rotation turn Dynamic acceleration etc..Wherein, the above-mentioned specified functional module for obtaining the rotary state data of the specified camera of terminal is specific It can be gravity sensor or gyroscope of terminal etc., not be limited herein.That is, it is judged that module 10 can pass through the weight of terminal built-in Either the rotation direction of the specified camera of gyroscope acquisition terminal, velocity of rotation, rotation amplitude or rotation add force snesor The rotary state data such as speed, and then can determine whether terminal is in mobile status according to above-mentioned rotary state data.
In some feasible embodiments, in order to avoid the mistake for rocking or the swinging triggering terminal behaviour of terminal unintentionally Make, judge module 10, which can be preset, judges whether the specified camera of terminal is in the status data threshold value of rotary state, enters And can determine that terminal is to be in mobile status according to above-mentioned status data threshold value, it is in vibrating state.In the specific implementation, sentence After the rotary state data for the specified camera that disconnected module 10 acquires terminal, then can by above-mentioned rotary state data with it is pre- If status data threshold value be compared, judge whether above-mentioned rotary state data are more than or equal to above-mentioned default status number According to threshold value.When judge module 10 judges to learn that above-mentioned rotary state data are more than or equal to above-mentioned default status data threshold value When, it can determine whether that terminal is in mobile status, otherwise judge that terminal is not at mobile status, i.e. terminal simply may be rocked simply Or swing.For example, when judge module 10 judge terminal specified camera rotation amplitude be more than or equal to it is default During amplitude threshold, it may be determined that terminal is in mobile status.Or when judge module 10 judge the specified camera of terminal is referring to When rotation amplitude in fixing time is more than or equal to default amplitude threshold, it may be determined that terminal is in mobile status.It is above-mentioned to sentence Whether the mode in mobile status is only citing to disconnected terminal, and non exhaustive, including but not limited to aforesaid way, is not limited herein System.
In some feasible embodiments, it is rotary state that judge module 10, which determines that it specifies camera current state, Afterwards, starting module 30 can directly initiate the wide-angle camera of terminal, and picture shooting is carried out by above-mentioned wide-angle camera.Specifically In realization, in order to avoid the startup maloperation of terminal wide-angle camera, judge module 10 determines that it specifies the current shape of camera State is the startup prompting of the wide-angle camera of the triggerable transmission of reminding module 20 terminal after rotary state.That is, reminding module 20 Exportable prompt message reminds terminal user to choose whether to start eventually to the user interface of terminal by above-mentioned prompt message The wide-angle camera at end.Terminal user can according to the actual requirements, or practical application scene determines the need for starting terminal Wide-angle camera, and then can determine whether to start the wide-angle camera of terminal by the selection mode that above-mentioned prompt message indicates. When judge module 10 determines that it specifies the rotary state data of camera to be more than or equal to default status data threshold value, Reminding module 20 then can determine that current photographed scene needs wide-angle camera to be shot, with acquisition more level and depth Picture, and then prompt message can be sent.If judge module 10 determines that the rotary state data of the specified camera of above-mentioned terminal are small In default status data threshold value, reminding module 20 then can determine that current photographed scene only needs common camera to expire Foot requires, without starting the wide-angle camera of terminal, now need not then send prompt message.Starting module 30 starts its wide-angle and taken the photograph As after head, then can be shot by its wide-angle camera to the scenery included in present filming scene, to obtain bigger model Enclose, have more the image of depth and level.Reminding module 20 reminds terminal user to choose whether to start eventually by above-mentioned prompt message The wide-angle camera at end, and then terminal can be avoided to start the maloperation of wide-angle camera, enhance the spirit of wide-angle camera startup Activity and accuracy.Wherein, the user interface of above-mentioned terminal may include:The display screen of terminal, the touch-screen of terminal or Touch screen etc., is not limited herein.
In some feasible embodiments, when terminal determines that user selects to start the wide-angle camera of terminal, start Module 30 can start the wide-angle camera of terminal, the target reference object by the wide-angle camera of terminal to present filming scene Shot.Specifically, when starting module 30 starts its wide-angle camera, can the direct wide-angle camera of triggering terminal control Module starts the wide-angle camera of terminal., then can be by current scene to be captured after starting module 30 starts wide-angle camera Corresponding taking lens switches to wide-angle camera, and then the bat of the scenery of present filming scene can be carried out by wide-angle camera Take the photograph.Unlatching of the terminal user without carrying out wide-angle camera manually, simplifies the startup program of wide-angle camera, improves wide-angle The starting efficiency and interest of camera, enhance the Consumer's Experience of terminal.
In embodiments of the present invention, terminal can be when it is determined that the specified camera of terminal be in running order, according to terminal Mobile status or the rotary state of specified camera of terminal judge whether the terminal is in mobile status.When the end When end is in mobile status, the user interface of exportable prompt message to the terminal, reminded by the prompt message Terminal user chooses whether to start the wide-angle camera of the terminal;When the terminal user selects to start the wide-angle of the terminal During camera, the wide-angle camera of the terminal can be directly initiated, with by the wide-angle camera to the target shooting pair As being shot.Whether the embodiment of the present invention can determine the startup of wide-angle camera according to the mobile status of terminal, without end End subscriber carries out the manually operated of wide-angle camera, easy to operate, enhances the interest and efficiency of the startup of wide-angle camera, Enhance the Consumer's Experience of terminal.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (10)

  1. A kind of 1. method for starting wide-angle camera based on the SOT state of termination, it is characterised in that including:
    When the specified camera of terminal is in running order, judge whether the terminal is in mobile status;
    When the terminal is in mobile status, the user interface of output prompt message to the terminal, with by described Prompt message reminds terminal user to choose whether to start the wide-angle camera of the terminal;
    When the terminal user selects to start the wide-angle camera of the terminal, start the wide-angle camera of the terminal, with Target reference object is shot by the wide-angle camera.
  2. 2. the method as described in claim 1, it is characterised in that methods described also includes:
    When the specified camera of terminal is in running order, judge whether the specified camera is in rotary state;
    When the specified camera is in rotary state, the user interface of output prompt message to the terminal, with logical Crossing the prompt message reminds terminal user to choose whether to start the wide-angle camera of the terminal.
  3. 3. the method as described in claim 1, it is characterised in that it is described to judge whether the terminal is in mobile status, including:
    The mobile status data of the terminal are obtained, the mobile status data include:The moving direction of the terminal, mobile width At least one of degree, translational speed and translational acceleration;
    Judge whether the mobile status data of the terminal are more than or equal to default status data threshold value, if judged result is It is then to judge that the terminal is in mobile status.
  4. 4. method as claimed in claim 2, it is characterised in that described to judge the specified camera whether in rotation shape State, including:
    The rotary state data of the specified camera of the terminal are obtained, the rotary state data include:The terminal At least one of rotation direction, rotation amplitude, velocity of rotation and rotation acceleration;
    Judge whether the rotary state data of the specified camera are more than or equal to default status data threshold value, if judging As a result it is yes, then judges that the specified camera is in rotary state.
  5. 5. the method as described in claim 3 or 4, it is characterised in that the terminal includes:Mobile phone, tablet personal computer, individual calculus Machine aided reason, digital camera, and at least one of slr camera.
  6. A kind of 6. terminal, it is characterised in that including:
    Judge module, for when the specified camera of terminal is in running order, judging the terminal whether in mobile shape State;
    Reminding module, for when the judge module judged result is to be, the user of output prompt message to the terminal to grasp Make interface, to remind terminal user to choose whether to start the wide-angle camera of the terminal by the prompt message;
    Starting module, start the terminal for the prompt message selection that the terminal user exports according to the reminding module During wide-angle camera, start the wide-angle camera of the terminal, to be carried out by the wide-angle camera to target reference object Shooting.
  7. 7. terminal as claimed in claim 6, it is characterised in that the judge module is additionally operable to:
    When the specified camera of terminal is in running order, judge whether the specified camera is in rotary state;
    When the specified camera is in rotary state, triggers the reminding module and export prompt message to the use of the terminal Family operation interface, to remind terminal user to choose whether to start the wide-angle camera of the terminal by the prompt message.
  8. 8. terminal as claimed in claim 6, it is characterised in that the judge module is specifically used for:
    The mobile status data of the terminal are obtained, the mobile status data include:The moving direction of the terminal, mobile width At least one of degree, translational speed and translational acceleration;
    Judge whether the mobile status data of the terminal are more than or equal to default status data threshold value, if judged result is It is then to judge that the terminal is in mobile status.
  9. 9. terminal as claimed in claim 7, it is characterised in that the judge module is specifically used for:
    The rotary state data of the specified camera of the terminal are obtained, the rotary state data include:The terminal At least one of rotation direction, rotation amplitude, velocity of rotation and rotation acceleration;
    Judge whether the rotary state data of the specified camera are more than or equal to default status data threshold value, if judging As a result it is yes, then judges that the specified camera is in rotary state.
  10. 10. terminal as claimed in claim 8 or 9, it is characterised in that the terminal includes:Mobile phone, tablet personal computer, personal meter Calculate machine aided reason, digital camera, and at least one of slr camera.
CN201510378862.2A 2015-06-30 2015-06-30 A kind of method and terminal for starting wide-angle camera based on the SOT state of termination Active CN104994279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510378862.2A CN104994279B (en) 2015-06-30 2015-06-30 A kind of method and terminal for starting wide-angle camera based on the SOT state of termination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510378862.2A CN104994279B (en) 2015-06-30 2015-06-30 A kind of method and terminal for starting wide-angle camera based on the SOT state of termination

Publications (2)

Publication Number Publication Date
CN104994279A CN104994279A (en) 2015-10-21
CN104994279B true CN104994279B (en) 2017-11-24

Family

ID=54306029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510378862.2A Active CN104994279B (en) 2015-06-30 2015-06-30 A kind of method and terminal for starting wide-angle camera based on the SOT state of termination

Country Status (1)

Country Link
CN (1) CN104994279B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959553B (en) * 2016-05-30 2018-12-04 维沃移动通信有限公司 A kind of switching method and terminal of camera
CN111385392B (en) * 2018-12-29 2021-08-24 Oppo广东移动通信有限公司 Face image acquisition method and device, electronic equipment and storage medium
CN110505401A (en) * 2019-08-16 2019-11-26 维沃移动通信有限公司 A kind of camera control method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005252982A (en) * 2004-03-08 2005-09-15 Fuji Photo Film Co Ltd Imaging device
CN101291379A (en) * 2008-06-05 2008-10-22 中兴通讯股份有限公司 Mobile terminal and picture-phone implementing method thereof
CN102938808A (en) * 2012-11-23 2013-02-20 北京小米科技有限责任公司 Information recording method and device of mobile terminal
CN104539836A (en) * 2014-11-25 2015-04-22 深圳市金立通信设备有限公司 Terminal
CN204392356U (en) * 2015-03-12 2015-06-10 王欣东 A kind of mobile phone with multiple different fixed focal length camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005252982A (en) * 2004-03-08 2005-09-15 Fuji Photo Film Co Ltd Imaging device
CN101291379A (en) * 2008-06-05 2008-10-22 中兴通讯股份有限公司 Mobile terminal and picture-phone implementing method thereof
CN102938808A (en) * 2012-11-23 2013-02-20 北京小米科技有限责任公司 Information recording method and device of mobile terminal
CN104539836A (en) * 2014-11-25 2015-04-22 深圳市金立通信设备有限公司 Terminal
CN204392356U (en) * 2015-03-12 2015-06-10 王欣东 A kind of mobile phone with multiple different fixed focal length camera

Also Published As

Publication number Publication date
CN104994279A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
CN109167894B (en) Camera control method and device, mobile terminal and storage medium
CN105049712B (en) A kind of method and terminal for starting terminal wide-angle camera
CN109246452B (en) Virtual gift display method and device
CN108833818B (en) Video recording method, device, terminal and storage medium
US11635873B2 (en) Information display method, graphical user interface, and terminal for displaying media interface information in a floating window
CN104902170B (en) A kind of photographic method and terminal
CN106713768B (en) People's scape image composition method, system and computer equipment
CN105007414B (en) A kind of method and terminal for starting wide-angle camera based on environmental factor
KR20210086705A (en) Operation control method and apparatus, electronic device, and storage medium
CN106416224A (en) Panoramic shooting method, terminal, rotation assembly and panoramic shooting device
CN104994291B (en) A kind of method and terminal starting wide-angle camera based on photographed scene environment
US8908916B2 (en) Control apparatus, control method, and program to search for a subject and automatically perform image-recording
CN107566579A (en) Image pickup method, device, terminal and storage medium
EP2461570A1 (en) Control device, image-capturing system, control method, and program
WO2019183784A1 (en) Method and electronic device for video recording
CN109218614A (en) A kind of automatic photographing method and mobile terminal of mobile terminal
CN104994279B (en) A kind of method and terminal for starting wide-angle camera based on the SOT state of termination
CN108108012A (en) Information interacting method and device
CN104539843A (en) Terminal shooting method
CN104769540A (en) Method and apparatus for swipe shift photo browsing
CN108449592A (en) A kind of image pickup method, device and smart camera
CN116724558A (en) Techniques for capturing video in landscape mode by a handheld device
CN107105165A (en) The switching method and device of a kind of exposal model
WO2021218551A1 (en) Photographing method and apparatus, terminal device, and storage medium
CN108989666A (en) Image pickup method, device, mobile terminal and computer-readable storage medium

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.