CN111373728B - Control method and device for camera application - Google Patents
Control method and device for camera application Download PDFInfo
- Publication number
- CN111373728B CN111373728B CN201780097027.9A CN201780097027A CN111373728B CN 111373728 B CN111373728 B CN 111373728B CN 201780097027 A CN201780097027 A CN 201780097027A CN 111373728 B CN111373728 B CN 111373728B
- Authority
- CN
- China
- Prior art keywords
- preset
- mobile terminal
- camera
- photographing mode
- determining
- 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
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000015654 memory Effects 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 14
- 238000013507 mapping Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 6
- 230000002349 favourable effect Effects 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 238000007726 management method Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Images
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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the application discloses a control method and device for camera application. The method comprises the following steps: the method comprises the steps that the mobile terminal detects preset operation aiming at a preset physical key of a home terminal; determining a photographing mode corresponding to the preset operation; and starting the camera of the mobile terminal according to the photographing mode. The embodiment of the application is favorable for improving the speed of the mobile terminal entering the specific photographing mode, and further improving the photographing speed and convenience.
Description
Technical Field
The application relates to the technical field of mobile terminals, in particular to a control method and device for camera application.
Background
Along with the rapid development of the related technology of the smart phone, more and more people use the mobile phone camera to shoot, for example, when shooting a scene, the rear camera can be used, when shooting, the front camera can be used, people flexibly use the mobile phone camera to shoot, and can quickly leave a beautiful scene and recall.
Disclosure of Invention
The embodiment of the application provides a control method and device for camera application, which can improve the speed of a mobile terminal entering a specific photographing mode, and further improve the photographing speed and convenience.
In a first aspect, an embodiment of the present application provides a method for controlling a camera application, including:
detecting a preset operation aiming at a preset physical key of the mobile terminal;
determining a photographing mode corresponding to the preset operation;
and starting the camera of the mobile terminal according to the photographing mode.
In a second aspect, an embodiment of the present application provides an apparatus for camera application, including a detection unit, a determination unit, and an enabling unit, wherein,
the detection unit is used for detecting the preset operation of a preset physical key of the mobile terminal;
the determining unit is used for determining a photographing mode corresponding to the preset operation;
and the starting unit is used for starting the camera of the mobile terminal according to the photographing mode.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, this application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program is to make a computer perform part or all of the steps as described in any one of the methods of the first aspect of this application, and the computer includes a mobile terminal.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package, said computer comprising a mobile terminal.
It can be seen that, in the embodiment of the application, the mobile terminal detects the preset operation of the preset physical key of the terminal; determining a photographing mode corresponding to the preset operation; and starting the camera of the mobile terminal according to the photographing mode. The mobile terminal can flexibly start different photographing modes according to the detected user operation, so that the photographing time of the user waiting for AF focusing can be shortened, and the user interaction operation can be reduced. The embodiment of the application is favorable for improving the speed of the mobile terminal entering the specific photographing mode, and further improving the photographing speed and convenience.
Drawings
Reference will now be made in brief to the accompanying drawings, to which embodiments of the present application relate.
FIG. 1A is a schematic diagram of a program runtime space of a smart phone;
FIG. 1B is a system architecture diagram of an android system;
fig. 2 is a schematic flowchart of a control method for a camera application according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a control method for a camera application disclosed in an embodiment of the present application;
FIG. 4 is a schematic diagram of a volume key of a mobile phone disclosed in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application;
fig. 6 is a block diagram illustrating functional units of a mobile terminal according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a smart phone disclosed in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The Mobile terminal according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal. The operating system related to the embodiment of the invention is a software system which performs unified management on hardware resources and provides a service interface for a user.
As shown in fig. 1A, a current mobile terminal such as a smart phone is generally provided with a program running space, where the program running space includes a user space and an operating system space, where the user space runs one or more application programs, the one or more application programs are third-party application programs installed on the mobile terminal, and the operating system space runs an operating system of the mobile terminal. The mobile terminal can specifically run an Android system, a mobile operating system iOS developed by apple Inc., and the like, and the mobile terminal is not limited herein. As shown in fig. 1B, for example, the mobile terminal runs an Android system, the corresponding user space includes an Application layer (Applications) in the Android system, and the operating system space may include an Application Framework layer (Application Framework) in the Android system, a system Runtime library layer (including system Runtime Libraries and Android Runtime runtimes), and a Linux Kernel layer (Linux Kernel). The application layer comprises various application programs which are directly interacted with the user or service programs which are written by Java language and run in the background. For example, programs that implement common basic functions on smartphones, such as Short Messaging Service (SMS) SMS, phone dialing, picture viewer, calendar, games, maps, World Wide Web (Web) browser, and other applications developed by developers. The application framework layer provides a series of class libraries required by Android application development, can be used for reusing components, and can also realize personalized extension through inheritance. And the system operation library layer is a support of an application program framework and provides services for each component in the Android system. The system operation library layer is composed of a system class library and Android operation. The Android runtime comprises two parts, namely a core library and a Dalvik virtual machine. The Linux kernel layer is used for realizing core functions such as hardware device driving, process and memory management, a network protocol stack, power management, wireless communication and the like.
Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for controlling a camera application according to an embodiment of the present application, where an operating system and one or more application programs are run on the mobile terminal, and as shown in the figure, the controlling of the camera application includes:
s201, the mobile terminal detects a preset operation of a preset physical key for the mobile terminal;
the physical keys refer to a volume up key and a volume down key at the side end of the mobile terminal.
S202, the mobile terminal determines a photographing mode corresponding to the preset operation;
the photographing mode includes a close-range mode and a long-range mode, and the current camera module can perform AF focusing or not perform AF focusing, which is not limited herein.
And S203, the mobile terminal enables the camera of the mobile terminal according to the photographing mode.
It can be seen that, in the embodiment of the application, the mobile terminal detects the preset operation of the preset physical key of the terminal; determining a photographing mode corresponding to the preset operation; and starting the camera of the mobile terminal according to the photographing mode. The mobile terminal can flexibly start different photographing modes according to the detected user operation, so that the time for the user to wait for photographing for AF focusing can be shortened, and the user interaction operation can be reduced. The embodiment of the application is favorable for improving the speed of the mobile terminal entering the specific photographing mode, and further improving the photographing speed and convenience.
In one possible example, the preset operation of the mobile terminal is a continuous multiple pressing operation for the preset physical key, the pressing times of the continuous multiple pressing operation are greater than preset times, and the duration of the continuous multiple pressing operation is less than preset duration; or the preset operation is a continuous single pressing operation aiming at the preset physical key, and the duration of the continuous single pressing operation is longer than the preset duration.
The preset times is three times or more, the preset time is three seconds, and the continuous multi-time pressing operation is to continuously press the volume key up key or the volume key down key for three times or more.
When the conditions are met, pressing the volume key up key to start distant view shooting; pressing the volume key down key starts close-range photographing.
For example, within three seconds, if the user presses the volume key up key of the mobile terminal three times in succession, the terminal automatically receives the signal and starts the distant view photographing mode, and the current light is sufficient, the mobile terminal performs photographing according to the preset ratio of the object distance and the focal distance.
As can be seen, in this example, the mobile terminal determines, through a preset pressing operation, whether the mobile terminal is in the continuous pressing mode or the continuous single-pressing mode; judging whether the pressing operation is invalid or not according to preset duration; and the preset times are used for judging whether the long-range shooting mode or the close-range shooting mode is started, so that the starting speed and the starting mode accuracy of the mobile terminal camera can be accurately improved, and the convenience and the accuracy of the camera configuration can be improved.
In one possible example, the determining, by the mobile terminal, a photographing mode corresponding to the preset operation includes: and inquiring a preset mapping relation aiming at the physical key operation by taking the preset operation as an inquiry identifier, and determining a photographing mode corresponding to the preset operation.
The preset operation may be an operation frequency, an operation duration, and the like, and is not limited herein.
For example, the mapping relationship between the operation of the physical key and the photographing mode is preset by the mobile terminal, and if the mobile terminal detects that the mapping relationship between the preset operation of the user and the photographing mode is the first photographing mode corresponding to the first operation times, the second operation times corresponds to the second photographing mode, and the preset operation times detected by the mobile terminal is the first operation times, the mapping relationship is queried by using the first operation times as the query identifier, and the corresponding photographing mode is determined to be the first photographing mode.
Therefore, in the example, the mobile terminal can accurately determine the photographing mode corresponding to the preset operation through comparing the detected preset operation times with the preset mapping relation one by one, the determination process is simple and efficient, and the convenience and the accuracy of camera control are improved.
In one possible example, the taking a picture by the mobile terminal according to the photographing mode includes: starting the camera; and adjusting the focal length of the camera and the burning position of the OTP (dynamic password).
The camera is a rear camera of the mobile terminal; the rear camera adjusts the focal length according to the detected object distance and a shooting ratio preset in the mobile terminal; and when the photographing mode is determined to be the close shot mode, automatically moving the adjusted focus to the OTP close focus burning position, and when the photographing mode is determined to be the distant shot mode, automatically moving the adjusted focus to the OTP far focus burning position.
For example, within a time lasting for five seconds, continuously pressing a volume key down key of the mobile terminal once, determining that the photographing mode is a close-range photographing mode by the mobile terminal, starting the rear camera and not focusing the camera module, adjusting the focal distance of the camera according to the detected object distance according to a preset ratio to obtain a first focal distance value, and determining the OTP close-focus burning position according to the first focal distance value.
Therefore, in the example, the shooting focal length can be accurately determined according to the shooting mode through the limitation of the preset ratio, the image blurring and blurring caused by overlong or undersize focal length shooting are avoided, and the improvement of the definition and the integrity of the picture shooting of the mobile terminal is facilitated.
In a possible example, after the mobile terminal activates the camera of the mobile terminal according to the photographing mode, the method further includes: and displaying a shooting preview interface on a touch display screen of the mobile terminal, wherein the shooting preview interface comprises a picture of an object to be shot captured by the camera in the determined shooting mode.
When the preset interface is displayed, a user does not need to click a screen for operation, and after the mobile terminal shoots the picture of the object to be shot captured by the preview interface, the image is directly stored in the mobile terminal.
Therefore, in the example, the mobile terminal can determine the photographing mode according to the operation of the physical keys, automatically perform focus adjustment, display clear pictures on the preview interface, automatically store images, reduce user interaction operation, have a simple and clear process, and are beneficial to improving photographing speed and convenience.
Referring to fig. 3, fig. 3 is a schematic flowchart of a method for controlling a camera application according to an embodiment of the present application, and the method is applied to a mobile terminal. As shown in the figure, the method for controlling the application of the present camera includes:
s301, the mobile terminal detects a preset operation of a preset physical key of the mobile terminal.
S302, the mobile terminal queries a preset mapping relation aiming at physical key operation by taking a preset operation as a query identifier, and determines a photographing mode corresponding to the preset operation.
S303, the mobile terminal starts the camera.
S304, the mobile terminal adjusts the focal length of the camera and the position of OTP burning.
S305, the mobile terminal displays a shooting preview interface on a touch display screen of the mobile terminal, wherein the shooting preview interface comprises a picture of an object to be shot captured by the camera in the determined shooting mode.
It can be seen that, in the embodiment of the application, the mobile terminal detects the preset operation of the preset physical key of the terminal; determining a photographing mode corresponding to the preset operation; and starting the camera of the mobile terminal according to the photographing mode. The mobile terminal can flexibly start different photographing modes according to the detected user operation, so that the photographing time of the user waiting for AF focusing can be shortened, and the user interaction operation can be reduced. The embodiment of the application is favorable for improving the speed of the mobile terminal entering the specific photographing mode, and further improving the photographing speed and convenience.
The embodiments of the present application are further described below with reference to specific application scenarios.
As shown in fig. 4, fig. 4 is a schematic diagram of a volume key of a mobile phone. In fig. 4, a is a volume "+" key of the mobile phone, and B is a volume "-" key. Knowing that the distance between the shot object and the mobile phone is 8 meters, a user lifts the mobile phone, continuously presses the A key three times within three seconds, the mobile terminal takes the detected operation as an inquiry identifier, and compares the inquiry identifier with a mapping relation between the operation aiming at the physical key and the shooting mode preset by the mobile terminal one by one, so as to determine that the shooting mode is long shot, and starts a rear camera, and the camera module does not carry out AF focusing, the first focal length is determined according to the known 8 meters according to the preset proportion, then the determined first focal length is determined as the position for OTP long-focus burning, finally, the picture of the camera is displayed on a display screen of the mobile phone and is a clear, complete and proper-proportion picture, the mobile phone automatically shoots, and the shot picture is automatically stored in an album of the mobile phone.
Consistent with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application, where the mobile terminal runs one or more application programs and an operating system, and as shown, the mobile terminal includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are different from the one or more application programs, and the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps;
detecting a preset operation aiming at a preset physical key of the mobile terminal;
determining a photographing mode corresponding to the preset operation;
and starting the camera of the mobile terminal according to the photographing mode.
It can be seen that, in the embodiment of the application, the mobile terminal detects the preset operation of the preset physical key of the terminal; determining a photographing mode corresponding to the preset operation; and starting the camera of the mobile terminal according to the photographing mode. The mobile terminal can flexibly start different photographing modes according to the detected user operation, so that the photographing time of the user waiting for AF focusing can be shortened, and the user interaction operation can be reduced. The embodiment of the application is favorable for improving the speed of the mobile terminal entering the specific photographing mode, and further improving the photographing speed and convenience.
In one possible example, the preset operation is a continuous multiple pressing operation for the preset physical key, the pressing times of the continuous multiple pressing operation are greater than preset times, and the duration of the continuous multiple pressing operation is less than preset duration; or the preset operation is a continuous single pressing operation aiming at the preset physical key, and the duration of the continuous single pressing operation is longer than the preset duration.
In one possible example, in the aspect of determining the photographing mode corresponding to the preset operation, the instructions in the program are specifically configured to perform the following operations: and inquiring a preset mapping relation aiming at the physical key operation by taking the preset operation as an inquiry identifier, and determining a photographing mode corresponding to the preset operation.
In one possible example, in the aspect of taking a picture according to the photographing mode, the instructions in the program are specifically configured to perform the following operations: starting the camera; and adjusting the focal length of the camera and the burning position of the dynamic password OTP.
In a possible example, in terms of after the camera of the mobile terminal is enabled according to the photographing mode, the instructions in the program are further specifically configured to perform the following operations: and displaying a shooting preview interface on a touch display screen of the mobile terminal, wherein the shooting preview interface comprises a picture of an object to be shot captured by the camera in the determined shooting mode.
The scheme of the embodiment of the application is introduced mainly from the perspective of the method-side implementation process. It is to be understood that the mobile terminal, in order to implement the functions, includes a corresponding hardware structure and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the mobile terminal may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 shows a block diagram of a possible functional unit of the control device of the camera application involved in the described embodiment. The control apparatus 600 of the camera application includes: a detection unit 601, a determination unit 6502 and a configuration unit 603, wherein,
the detection unit is used for detecting the preset operation of a preset physical key of the mobile terminal;
the determining unit is used for determining a photographing mode corresponding to the preset operation;
and the starting unit is used for starting the camera of the mobile terminal according to the photographing mode.
It can be seen that, in the embodiment of the application, the mobile terminal detects the preset operation of the preset physical key of the terminal; determining a photographing mode corresponding to the preset operation; and starting the camera of the mobile terminal according to the photographing mode. The mobile terminal can flexibly start different photographing modes according to the detected user operation, so that the photographing time of the user waiting for AF focusing can be shortened, and the user interaction operation can be reduced. The embodiment of the application is favorable for improving the speed of the mobile terminal entering the specific photographing mode, and further improving the photographing speed and convenience.
In one possible example, the preset operation is a continuous multiple pressing operation for the preset physical key, the pressing times of the continuous multiple pressing operation are greater than preset times, and the duration of the continuous multiple pressing operation is less than preset duration; or the preset operation is a continuous single pressing operation aiming at the preset physical key, and the duration of the continuous single pressing operation is longer than the preset duration.
In a possible example, in terms of determining the photographing mode corresponding to the preset operation, the determining unit 602 is specifically configured to: and inquiring a preset mapping relation aiming at the physical key operation by taking the preset operation as an inquiry identifier, and determining a photographing mode corresponding to the preset operation.
In a possible example, in the aspect of taking a photo according to the photographing mode, the enabling unit 603 is specifically configured to: starting the camera; and adjusting the focal length of the camera and the burning position of the dynamic password OTP.
In a possible example, in terms of enabling the camera of the mobile terminal according to the photographing mode, the enabling unit 603 is further specifically configured to: and displaying a shooting preview interface on a touch display screen of the mobile terminal, wherein the shooting preview interface comprises a picture of an object to be shot captured by the camera in the determined shooting mode.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a smart phone 700 according to an embodiment of the present application, where the smart phone 700 includes: casing 710, touch-sensitive display screen 720, mainboard 730, battery 740 and subplate 750, be provided with leading camera 731, processor 732, memory 733, power management chip 734 on mainboard 730, be provided with oscillator 751, integrative sound chamber 752, VOOC flash charging interface 753 and fingerprint identification module 754 on the subplate.
The smart phone 700 can acquire that the mobile terminal detects a preset operation of a preset physical key of the mobile terminal; secondly, determining a photographing mode corresponding to the preset operation; and finally, starting the camera of the mobile terminal according to the photographing mode.
The processor 732 is a control center of the smartphone, connects various parts of the entire smartphone by using various interfaces and lines, and executes various functions and processes data of the smartphone by running or executing software programs and/or modules stored in the memory 733 and calling data stored in the memory 733, thereby integrally monitoring the smartphone. Alternatively, processor 732 may include one or more processing units; preferably, the processor 732 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor may not be integrated into processor 732. The Processor 732 may be, for example, a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The memory 733 may be used to store software programs and modules, and the processor 732 executes various functional applications and data processing of the smart phone by operating the software programs and modules stored in the memory 733. The memory 733 may mainly include a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area; the storage data area may store data created according to the use of the smartphone, and the like. Further, the memory 733 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. The Memory 733 may be, for example, a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as recited in the method embodiments. The computer program product may be a software installation package, said computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the embodiments described herein may be performed by associated hardware as instructed by a program, which may be stored in a computer readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (9)
1. A method of controlling a camera application, comprising:
detecting a preset operation aiming at a preset physical key of the mobile terminal;
determining a photographing mode corresponding to the preset operation;
enabling the camera of the mobile terminal according to the photographing mode, comprising: starting the camera, and adjusting the focal length of the camera and the position of dynamic password OTP burning;
wherein, the focus of adjustment the camera and the position of dynamic password OTP burning record include: and adjusting the focal length according to the detected object distance by using a preset shooting ratio in the mobile terminal, and moving the adjusted focal point to the position for burning the dynamic password OTP according to the shooting mode.
2. The method according to claim 1, wherein the preset operation is a continuous multiple pressing operation for the preset physical key, the pressing times of the continuous multiple pressing operation are greater than preset times, and the duration of the continuous multiple pressing operation is less than preset duration; or,
the preset operation is continuous single pressing operation aiming at the preset physical key, and the duration of the continuous single pressing operation is longer than the preset duration.
3. The method according to claim 1, wherein the determining the photographing mode corresponding to the preset operation comprises:
and inquiring a preset mapping relation aiming at the physical key operation by taking the preset operation as an inquiry identifier, and determining a photographing mode corresponding to the preset operation.
4. The method according to any one of claims 1 to 3, wherein after the camera of the mobile terminal is enabled in the photographing mode, the method further comprises:
and displaying a shooting preview interface on a touch display screen of the mobile terminal, wherein the shooting preview interface comprises a picture of an object to be shot captured by the camera in the determined shooting mode.
5. An apparatus for camera applications, comprising:
the mobile terminal comprises a detection unit, a processing unit and a control unit, wherein the detection unit is used for detecting the preset operation of a preset physical key of the mobile terminal;
the determining unit is used for determining a photographing mode corresponding to the preset operation;
the starting unit is used for starting the camera of the mobile terminal according to the photographing mode;
the starting unit is specifically used for starting the camera and adjusting the focal length of the camera and the position of the dynamic password OTP burning; and the focal length is adjusted according to the detected object distance by a preset shooting ratio in the mobile terminal, and the adjusted focus is moved to the position where the dynamic password OTP is burned according to the shooting mode.
6. The device according to claim 5, wherein the preset operation is a continuous multiple pressing operation for the preset physical key, the pressing times of the continuous multiple pressing operation are greater than a preset number, and the duration of the continuous multiple pressing operation is less than a preset duration; or the preset operation is a continuous single pressing operation aiming at the preset physical key, and the duration of the continuous single pressing operation is longer than the preset duration.
7. The apparatus according to claim 5 or 6, wherein in the aspect of determining the photographing mode corresponding to the preset operation, the determining unit is specifically configured to: and inquiring a preset mapping relation aiming at the physical key operation by taking the preset operation as an inquiry identifier, and determining a photographing mode corresponding to the preset operation.
8. A mobile terminal comprising a processor, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-4.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1 to 4.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/104209 WO2019061223A1 (en) | 2017-09-29 | 2017-09-29 | Camera application control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111373728A CN111373728A (en) | 2020-07-03 |
CN111373728B true CN111373728B (en) | 2022-03-22 |
Family
ID=65903284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780097027.9A Active CN111373728B (en) | 2017-09-29 | 2017-09-29 | Control method and device for camera application |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111373728B (en) |
WO (1) | WO2019061223A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131610A (en) * | 2019-12-18 | 2020-05-08 | 江苏紫米电子技术有限公司 | Control method and device for hotspot function, mobile device and storage medium |
CN111970455B (en) * | 2020-09-14 | 2022-01-11 | Oppo广东移动通信有限公司 | Information prompting method and device, electronic equipment and storage medium |
CN114363502A (en) * | 2020-09-30 | 2022-04-15 | 宝能汽车集团有限公司 | Vehicle, control method and device thereof, and storage medium |
CN115150550A (en) * | 2022-06-20 | 2022-10-04 | 湖北星纪时代科技有限公司 | Photographing processing method and device for terminal, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103402004A (en) * | 2013-07-23 | 2013-11-20 | 广东欧珀移动通信有限公司 | Method for pre-starting multiple cameras of mobile terminal |
CN103533161A (en) * | 2013-10-08 | 2014-01-22 | 锤子科技(北京)有限公司 | Rapid shooting method and device based on mobile equipment and mobile equipment |
US9106820B1 (en) * | 2014-03-18 | 2015-08-11 | Here Global B.V. | Multi-stage trigger for capturing video images |
CN104994277A (en) * | 2015-06-30 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Rapid shooting method and device for mobile communication terminal |
CN105979139A (en) * | 2016-05-31 | 2016-09-28 | 深圳埃蒙克斯科技有限公司 | Mobile terminal and shooting method thereof |
CN106331438A (en) * | 2015-06-24 | 2017-01-11 | 小米科技有限责任公司 | Lens focus method and device, and mobile device |
CN106657785A (en) * | 2016-12-23 | 2017-05-10 | 广东小天才科技有限公司 | operation control method and device for camera |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1642323A (en) * | 2004-01-17 | 2005-07-20 | 上海迪比特实业有限公司 | Method for mobile terminal with pick-up device to quickly regulate pick-up control parameters |
CN103327160A (en) * | 2012-03-19 | 2013-09-25 | 联想(北京)有限公司 | Mobile equipment and photographing and shooting control method thereof |
TWI573458B (en) * | 2014-01-17 | 2017-03-01 | 宏達國際電子股份有限公司 | Electronic apparatus with one switch button and controlling method thereof |
US9350924B2 (en) * | 2014-08-25 | 2016-05-24 | John G. Posa | Portable electronic devices with integrated image/video compositing |
CN105991922A (en) * | 2015-02-13 | 2016-10-05 | 中兴通讯股份有限公司 | Method and device for quickly shooting |
CN105049705B (en) * | 2015-06-19 | 2018-03-27 | 广东欧珀移动通信有限公司 | A kind of screening-mode switching method and user terminal |
CN105100611A (en) * | 2015-07-16 | 2015-11-25 | 努比亚技术有限公司 | Shooting mode switching system and method |
CN106354303B (en) * | 2016-08-23 | 2019-11-19 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal of mobile terminal |
-
2017
- 2017-09-29 CN CN201780097027.9A patent/CN111373728B/en active Active
- 2017-09-29 WO PCT/CN2017/104209 patent/WO2019061223A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103402004A (en) * | 2013-07-23 | 2013-11-20 | 广东欧珀移动通信有限公司 | Method for pre-starting multiple cameras of mobile terminal |
CN103533161A (en) * | 2013-10-08 | 2014-01-22 | 锤子科技(北京)有限公司 | Rapid shooting method and device based on mobile equipment and mobile equipment |
US9106820B1 (en) * | 2014-03-18 | 2015-08-11 | Here Global B.V. | Multi-stage trigger for capturing video images |
CN106331438A (en) * | 2015-06-24 | 2017-01-11 | 小米科技有限责任公司 | Lens focus method and device, and mobile device |
CN104994277A (en) * | 2015-06-30 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | Rapid shooting method and device for mobile communication terminal |
CN105979139A (en) * | 2016-05-31 | 2016-09-28 | 深圳埃蒙克斯科技有限公司 | Mobile terminal and shooting method thereof |
CN106657785A (en) * | 2016-12-23 | 2017-05-10 | 广东小天才科技有限公司 | operation control method and device for camera |
Also Published As
Publication number | Publication date |
---|---|
WO2019061223A1 (en) | 2019-04-04 |
CN111373728A (en) | 2020-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107797868B (en) | Resource adjusting method and device | |
WO2019109868A1 (en) | Resource allocation method and related product | |
CN111373728B (en) | Control method and device for camera application | |
EP3110188A1 (en) | Method and device for accessing operator network | |
CN107995357A (en) | Resource allocation method and device | |
CN107635078B (en) | Game control method and device | |
CN107807852B (en) | Application program performance control method, device and computer readable storage medium | |
JP2017513161A (en) | Transfer processing method and apparatus | |
CN107832142B (en) | Resource allocation method and equipment for application program | |
CN106033397B (en) | Memory buffer area adjusting method, device and terminal | |
EP3780575B1 (en) | Photographing method and terminal device | |
CN106020893B (en) | Using the method and device of installation | |
US20210022069A1 (en) | Method and apparatus for indicating position of cell-defining synchronization signal block and searching for the same, and base station | |
CN105427161A (en) | Monetary exchange rate exchange method and device | |
CN108984339B (en) | Data recovery method and related product | |
RU2752646C1 (en) | Method and device for indication of cellular type | |
CN111756820A (en) | Access processing method and device, electronic equipment and storage medium | |
CN112287317B (en) | User information input method and electronic equipment | |
CN108804258B (en) | Data recovery method and device, mobile terminal and storage medium | |
US10451838B2 (en) | Electronic device and method for autofocusing | |
CN112307229A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN107070816B (en) | Application identification method and device and mobile terminal | |
CN113873603B (en) | Network control method, device and storage medium | |
CN108920591A (en) | Recall video creation method and relevant apparatus | |
CN111324267B (en) | Image display method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |