[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107333067A - The control method and terminal of a kind of camera - Google Patents

The control method and terminal of a kind of camera Download PDF

Info

Publication number
CN107333067A
CN107333067A CN201710661409.1A CN201710661409A CN107333067A CN 107333067 A CN107333067 A CN 107333067A CN 201710661409 A CN201710661409 A CN 201710661409A CN 107333067 A CN107333067 A CN 107333067A
Authority
CN
China
Prior art keywords
camera
slide
camera head
default
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710661409.1A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710661409.1A priority Critical patent/CN107333067A/en
Publication of CN107333067A publication Critical patent/CN107333067A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides a kind of control method of camera and terminal, wherein, the control method of camera includes:The enabled instruction of default camera head is obtained, starts default camera head;During the default camera head is started, the slide on terminal screen is obtained;According to the slide, the corresponding target camera of the slide is switched to, the target camera is one in the multiple camera.This programme starts default camera head by obtaining the enabled instruction of default camera head;During the default camera head is started, the slide on terminal screen is obtained;According to the slide, the corresponding target camera of the slide is switched to, the target camera is one in the multiple camera;Allow users to according to current shooting demand, corresponding camera is opened clicking on camera icon followed by different sliding actions, it is simple to operate, reach the quick purpose for opening the desired camera opened of user.

Description

The control method and terminal of a kind of camera
Technical field
The present invention relates to field of terminal technology, the control method and terminal of a kind of camera are particularly related to.
Background technology
Current mobile terminal typically has front camera and rear camera configuration, is carried out opening camera in use, before for opening Putting camera or rear camera has following processing mode:
Mode one:To it is last close camera when state remember, open it is last used preposition or after Put after camera, opening, if not the camera of needs, then switch.
Mode two:User is distinguished using desktop icons, and preposition or rearmounted shooting is opened respectively using two app icons Head.
But, the poor user experience of aforesaid way one, user is that the demand based on new scene opens camera, is opening shooting Acquiescence opens the state before last close during head, if be not inconsistent with user's new demand, needs by clicking on switching, operating cost When.
Such scheme two is made a distinction by way of increasing icon, causes user's desktop icons various, reduces equipment division Skill sense, and be not convenient to use, using being required for user to make a distinction two app icons while adding the mistake of user every time Operating rate.
From the foregoing, it will be observed that when opening preposition or rear camera scheme operating cost in the prior art, being not convenient to use.
The content of the invention
It is an object of the invention to provide a kind of control method of camera and terminal, solution opens preposition in the prior art Or rear camera scheme operating cost when, the problem of of being not convenient to use.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of control method of camera, applied to The terminal of multiple cameras, including:
The enabled instruction of default camera head is obtained, starts default camera head;
During the default camera head is started, the slide on terminal screen is obtained;
According to the slide, the corresponding target camera of the slide is switched to, the target camera is One in the multiple camera.
The embodiment of the present invention additionally provides a kind of terminal, with multiple cameras, including:
First processing module, the enabled instruction for obtaining default camera head starts default camera head;
First acquisition module, for during the default camera head is started, obtaining the slide on terminal screen;
First handover module, for according to the slide, switching to the corresponding target camera of the slide, The target camera is one in the multiple camera.
The embodiment of the present invention additionally provides a kind of terminal, including:Memory, processor and store on a memory and can be The computer program run on processor, realizes the control of above-mentioned camera during computer program described in the computing device Step in method.
The embodiment of the present invention additionally provides a kind of computer program, is realized described in computing device during computer program above-mentioned Camera control method.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, including instruction, when the instruction is being calculated When being run on machine so that computer performs the control method of above-mentioned camera.
The above-mentioned technical proposal of the present invention has the beneficial effect that:
In such scheme, the control method of the camera starts acquiescence by obtaining the enabled instruction of default camera head Camera;During the default camera head is started, the slide on terminal screen is obtained;According to the slide, The corresponding target camera of the slide is switched to, the target camera is one in the multiple camera;Make User is obtained can accordingly to be taken the photograph to open followed by different sliding actions clicking on camera icon according to current shooting demand It is simple to operate as head, reach the quick purpose for opening the desired camera opened of user.
Brief description of the drawings
Fig. 1 is the control method schematic flow sheet of the camera of the embodiment of the present invention;
Fig. 2 is the control method application flow schematic diagram one of the camera of the embodiment of the present invention;
Fig. 3 is the control method application flow schematic diagram two of the camera of the embodiment of the present invention;
Fig. 4 is the terminal structure schematic diagram one of the embodiment of the present invention;
Fig. 5 is the terminal structure schematic diagram two of the embodiment of the present invention;
Fig. 6 is the terminal structure schematic diagram three of the embodiment of the present invention.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
The present invention is directed in existing technology when opening preposition or rear camera scheme operating cost, be not convenient to use Problem is there is provided a kind of control method of camera, applied to the terminal with multiple cameras, as shown in figure 1, including:
Step 11:The enabled instruction of default camera head is obtained, starts default camera head.
Wherein, enabled instruction can refer to pressing operation or other touching operations, or phonetic order, herein not It is construed as limiting.
Step 12:During the default camera head is started, the slide on terminal screen is obtained.
The preparation of default camera head startup can substantially be carried out by starting default camera head, not on terminal interface The picture that camera is obtained is presented.
Start for camera than faster terminal, in pressing operation and integral slide, default camera head can be with Refer to all cameras of terminal;
Start slow terminal for camera, there can also be following scheme:
In pressing operation and slide independent mutually, default camera head can refer to a camera.
Step 13:According to the slide, the corresponding target camera of the slide is switched to, the target is taken the photograph It is one in the multiple camera as head.
Wherein, there is one-to-one relationship, or many-to-one corresponding relation between slide and camera;Slide behaviour Work can be distinguished with sliding force, and the pattern that can also be formed with sliding is distinguished, and is not limited thereto.
The camera of the terminal includes front camera and rear camera;It is described to switch to the slide correspondence Target camera the step of include:Switch to front camera or rear camera.
The control method of the camera provided in an embodiment of the present invention is opened by obtaining the enabled instruction of default camera head Dynamic default camera head;During the default camera head is started, the slide on terminal screen is obtained;Slided according to described Operation, switches to the corresponding target camera of the slide, and the target camera is one in the multiple camera It is individual;Allow users to according to current shooting demand, phase is opened clicking on camera icon followed by different sliding actions The camera answered, it is simple to operate, reach the quick purpose for opening the desired camera opened of user.
Specifically, the enabled instruction for obtaining default camera head, the step of starting default camera head includes:Detecting After the pressing operation of camera icon, the enabled instruction of default camera head is obtained, starts default camera head;
It is corresponding, described during the default camera head is started, the step of obtaining the slide on terminal screen Including:If the pressure value of the pressing operation is more than or equal to the first predetermined threshold value, starting the default camera head process In, obtain the slide on terminal screen.
This operation be in order to easily facilitate the use of user, pressing operation pressure value be less than the first predetermined threshold value when, Camera can be started according to common mode.
Further, the step that the slide on terminal screen is obtained during the default camera head is started Suddenly include:During the default camera head is started, in display interface display reminding information;Obtain and institute is directed on terminal screen State the slide of prompt message generation.
Prompt message therein can prompt the user on how that operation can open corresponding camera, such as:Slide to the right, Start front camera;The use of user can be so easily facilitated, Consumer's Experience is lifted.
It is described according to the slide in the present embodiment, switch to the corresponding target camera of the slide Step includes:Obtain the distance between the original position of the slide and camera icon on the screen;According to institute Distance is stated, the corresponding target camera of the slide is switched to.
Refer specifically to, when distance meets preparatory condition, switch to the corresponding target camera of the slide.Can be more Specially:It is more than or equal to the 4th predetermined threshold value in the distance, and during less than or equal to five predetermined threshold values, switches to described The corresponding target camera of slide.
It is described to start the default camera head mistake in order to improve in the degree of accuracy that user opens camera, the present embodiment Cheng Zhong, the step of obtaining the slide on terminal screen includes:During the default camera head is started, the end is obtained The angle of inclination at end;When being more than or equal to the second predetermined threshold value at the angle of inclination and being less than or equal to three predetermined threshold values, Obtain the slide on terminal screen.
The heeling condition that mobile phone is presently in can be judged specifically by sensor, when angle meets the requirements, is just sentenced Break as triggered as normal, be otherwise judged as false triggering.In the case of false triggering, subsequent operation is not performed.
The control method to the camera provided in an embodiment of the present invention is further described below.
Scheme provided in an embodiment of the present invention can be moved specifically by the gesture in identification default camera head opening procedure Make to open the camera needed to use ---
User can set flicking camera icon, in default camera head opening process, and additional slip gesture is selected Preposition or rear camera, such as flicking+upper sliding opening front camera are opened, rear camera is opened in flicking+downslide, and is clicked on Position and the initial point position of slip gesture need to meet specific distance.
It is, affix cunning or downslide action after camera icon of the user on screen is clicked on, terminal pass through detection User clicks on icon and additional sliding action, and the original position of additional sliding action needs to meet apart from bar with click location Part, could start corresponding camera, as shown in Figure 2:
Step 21:Detect user and click on camera icon, start default camera head.
The camera icon clicked on is detected, and records position of the clicking operation in screen, while starting default camera Head.
Step 22:Detection user, which clicks on to whether there is after camera icon, follows sliding action.
In many cases, clicking on application needs the time (the startup time of default camera head) of a loading, in loading During can not perform the instruction of user.It can judge whether that generation follows sliding action within the load time.If in adding Obtained during load and follow action, then may be considered the action for the APP, and be not false triggering.
Meanwhile, this follows the original position of sliding action to need the position with clicking operation in preset distance, otherwise It is considered maloperation.
Step 23:The sliding action clicked on and followed according to user opens corresponding camera.
If fricton-tight action after user clicks on, the camera that user used last time is opened;
Make if user clicks on camera icon followed by upper slide, open front camera;
If user clicks on camera icon and acted followed by downslide, rear camera is opened.
In this scenario, option is provided during camera is set to user, user can set according to personal habits and picture mark position Put different glide directions (up and down) to open preposition or rear camera respectively, such as:Slide up the preposition shooting of opening Head is sliding to the right to open rear camera;It is sliding to the left to open front camera, it is sliding to the right to open rear camera;It is sliding to the left to open Rear camera, slides up opening front camera;
By such scheme, user can click on camera icon followed by different slips according to current shooting demand Act to open corresponding camera, it is simple to operate, reach the quick purpose for opening the desired camera opened of user.
Further, if terminal use can detect the touch module of touch pressure, can such scheme additional cunning Increase the pressing dynamics that user clicks on icon on the basis of gesture of starting, to open corresponding camera, as shown in Figure 3:
Step 31:Receive the operation that user clicks on camera icon;
Step 32:User is calculated to touch the pressure of icon and contrasted with default threshold value;
Pressure when user clicks on camera icon can be differentiated using touch-control pressure detecting system default threshold, it is light to differentiate Press and press again;
User can also be placed on screen difference individually for camera pressing adjustment weight threshold value to adapt to camera icon Position.
Step 33:Pattern is determined according to touch pressure.
When pressure is more than default threshold value, start default camera head, and detected whether slide.Subsequently with reference to upper State scheme (scheme shown in Fig. 2) execution.
When pressure is less than default threshold value, do not start follow-up slip detection, camera is opened in normal fashion and (is opened Dynamic default camera head, and use default camera head collection image).
By the above-mentioned means, when the touch module that terminal is used has pressure detecting function, user directly can pass through difference Dynamics clicks on pressing and slides the preposition or rear camera of selection opening to trigger, convenient and swift.
Further, in order to improve the probability that user opens target camera, it can also handle in the following manner:
When user, which slides or detected pressure, opens camera, judge that mobile phone is presently in by sensor skewed State, is in general all to pick up mobile phone can just open camera, now angle meets the requirements, and is just judged as triggered as normal, otherwise It is judged as false triggering.In the case of false triggering, subsequent operation is not performed and (does not perform the operation for starting default camera head, and Fig. 2 Shown subsequent operation).
The embodiment of the present invention additionally provides a kind of terminal, with multiple cameras, as shown in figure 4, including:
First processing module 41, the enabled instruction for obtaining default camera head starts default camera head;
First acquisition module 42, for during the default camera head is started, obtaining the slip behaviour on terminal screen Make;
First handover module 43, for according to the slide, switching to the corresponding target shooting of the slide Head, the target camera is one in the multiple camera.
The terminal provided in an embodiment of the present invention starts default camera by obtaining the enabled instruction of default camera head Head;During the default camera head is started, the slide on terminal screen is obtained;According to the slide, switching To the corresponding target camera of the slide, the target camera is one in the multiple camera;So that with Family can open corresponding shooting according to current shooting demand clicking on camera icon followed by different sliding actions Head, it is simple to operate, reach the quick purpose for opening the desired camera opened of user.
Specifically, the first processing module includes:First processing submodule, for detecting for camera icon Pressing operation after, obtain default camera head enabled instruction, start default camera head;
Corresponding, first acquisition module includes:First acquisition submodule, if the pressure value for the pressing operation More than or equal to the first predetermined threshold value, then during the default camera head is started, the slide on terminal screen is obtained.
Further, first acquisition module includes:First display sub-module, for starting the default camera head During, in display interface display reminding information;Second acquisition submodule, for obtaining on terminal screen for the prompting letter Cease the slide produced.
Wherein, first handover module includes:3rd acquisition submodule, the start bit for obtaining the slide The distance between put with the camera icon on the screen;First switching submodule, for according to the distance, switching to institute State the corresponding target camera of slide.
In order to improve in the degree of accuracy that user opens camera, the present embodiment, first acquisition module includes:4th obtains Submodule is taken, for during the default camera head is started, obtaining the angle of inclination of the terminal;5th obtains submodule Block, for the angle of inclination be more than or equal to the second predetermined threshold value and less than or equal to three predetermined threshold values when, obtain eventually Hold the slide on screen.
Wherein, the described of the control method of above-mentioned camera realizes embodiment suitable for the embodiment of the terminal, Identical technique effect can be reached.
The embodiment of the present invention additionally provides a kind of terminal, as shown in figure 5, the terminal 500 includes:
At least one processor 501, memory 502, at least one network interface 504 and user interface 503.Terminal 500 In each component be coupled by bus system 505.It is understood that bus system 505 is used to realize between these components Connection communication.Bus system 505 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal are total Line.But for the sake of clear explanation, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 502 of system and method described herein be intended to including but not limited to these and it is any its It is adapted to the memory of type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 5022, includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 502, specifically, can be application The program stored in program 5022 or instruction, processor 501 are used for:The enabled instruction of default camera head is obtained, starts acquiescence and takes the photograph As head;During the default camera head is started, the slide on terminal screen is obtained;According to the slide, cut The corresponding target camera of the slide is shifted to, the target camera is one in the multiple camera.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 502, processor 501 reads the information in memory 502, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software Described technology.Software code is storable in memory and by computing device.Memory can within a processor or Realized outside processor.
Alternatively, processor 501 specifically for:After the pressing operation for camera icon is detected, acquiescence is obtained The enabled instruction of camera, starts default camera head;If the pressure value of the pressing operation is more than or equal to the first predetermined threshold value, Then during the default camera head is started, the slide on terminal screen is obtained.
Alternatively, processor 501 specifically for:During the default camera head is started, show and carry in display interface Show information;Obtain the slide produced on terminal screen for the prompt message.
Alternatively, processor 501 specifically for:Obtain the original position of the slide and the shooting on the screen The distance between Head icon;According to the distance, the corresponding target camera of the slide is switched to.
Alternatively, processor 501 specifically for:During the default camera head is started, inclining for the terminal is obtained Rake angle;When being more than or equal to the second predetermined threshold value at the angle of inclination and being less than or equal to three predetermined threshold values, obtain eventually Hold the slide on screen.
Terminal 500 can realize each process that terminal is realized in previous embodiment, to avoid repeating, no longer go to live in the household of one's in-laws on getting married here State.
To sum up, the terminal provided in an embodiment of the present invention starts acquiescence by obtaining the enabled instruction of default camera head Camera;During the default camera head is started, the slide on terminal screen is obtained;According to the slide, The corresponding target camera of the slide is switched to, the target camera is one in the multiple camera;Make User is obtained can accordingly to be taken the photograph to open followed by different sliding actions clicking on camera icon according to current shooting demand It is simple to operate as head, reach the quick purpose for opening the desired camera opened of user.
The embodiment of the present invention additionally provides a kind of terminal, specifically, as shown in fig. 6, the terminal 600 in the embodiment of the present invention Can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer Deng.
Terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input block 630th, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) modules 680 and power supply 690。
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and produce and terminal 600 User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 630 can be with Including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation (ratio of the user on or near it Such as user uses the operation of finger, any suitable object of stylus or annex on contact panel 631), and according to setting in advance Fixed formula drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller two Individual part.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then Give the processor 660, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to using resistance-type, electricity The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630 Other input equipments 632 can also be included, other input equipments 632 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 640 can be used for the information and terminal for showing the information inputted by user or being supplied to user 600 various menu interfaces.Display unit 640 may include display panel 641, optionally, can use LCD or organic light emission two The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection Measure after the touch operation on or near it, processor 660 is sent to determine the type of touch event, with preprocessor 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of terminal 600, utilizes each of various interfaces and connection whole mobile phone Part, by operation or performs and is stored in software program and/or module in first memory 621, and calls and be stored in the Data in two memories 622, perform the various functions and processing data of terminal 600, so as to carry out overall prison to terminal 600 Control.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, processor 660 is used for:The enabled instruction of default camera head is obtained, starts default camera Head;During the default camera head is started, the slide on terminal screen is obtained;According to the slide, switching To the corresponding target camera of the slide, the target camera is one in the multiple camera.
Alternatively, processor 660 specifically for:After the pressing operation for camera icon is detected, acquiescence is obtained The enabled instruction of camera, starts default camera head;If the pressure value of the pressing operation is more than or equal to the first predetermined threshold value, Then during the default camera head is started, the slide on terminal screen is obtained.
Alternatively, processor 660 specifically for:During the default camera head is started, show and carry in display interface Show information;Obtain the slide produced on terminal screen for the prompt message.
Alternatively, processor 660 specifically for:Obtain the original position of the slide and the shooting on the screen The distance between Head icon;According to the distance, the corresponding target camera of the slide is switched to.
Alternatively, processor 660 specifically for:During the default camera head is started, inclining for the terminal is obtained Rake angle;When being more than or equal to the second predetermined threshold value at the angle of inclination and being less than or equal to three predetermined threshold values, obtain eventually Hold the slide on screen.
It can be seen that, the terminal provided in an embodiment of the present invention starts acquiescence by obtaining the enabled instruction of default camera head Camera;During the default camera head is started, the slide on terminal screen is obtained;According to the slide, The corresponding target camera of the slide is switched to, the target camera is one in the multiple camera;Make User is obtained can accordingly to be taken the photograph to open followed by different sliding actions clicking on camera icon according to current shooting demand It is simple to operate as head, reach the quick purpose for opening the desired camera opened of user.
The embodiment of the present invention additionally provides a kind of terminal, including:Memory, processor and store on a memory and can be The computer program run on processor, realizes the control of above-mentioned camera during computer program described in the computing device Step in method.
The embodiment of the present invention additionally provides a kind of computer program, is realized described in computing device during computer program above-mentioned Camera control method.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, including instruction, when the instruction is being calculated When being run on machine so that computer performs the control method of above-mentioned camera.
It should be noted that this many functional part described in this description is all referred to as module/submodule, so as to more Plus especially emphasize the independence of its implementation.
In the embodiment of the present invention, module/submodule can be realized with software, so as to by various types of computing devices. For example, the executable code module of a mark can include the one or more physics or logic of computer instruction Block, for example, it can be built as object, process or function.Nevertheless, the executable code of institute's mark module need not It is physically located together, but can includes being stored in different instructions in different positions, is combined when in these command logics When together, its regulation purpose for constituting module and realizing the module.
In fact, executable code module can be the either many bar instructions of individual instructions, and it can even be distributed On multiple different code segments, it is distributed among distinct program, and is distributed across multiple memory devices.Similarly, grasp Making data can be identified in module, and can be realized according to any appropriate form and be organized in any appropriate class In the data structure of type.The peration data can be collected as individual data collection, or can be distributed on diverse location (being included in different storage device), and only can be present at least in part as electronic signal in system or network.
When module can be realized using software, it is contemplated that the level of existing hardware technique, it is possible to implemented in software Module, in the case where not considering cost, those skilled in the art can build corresponding hardware circuit realize correspondence Function, the hardware circuit includes conventional ultra-large integrated (VLSI) circuit or gate array and such as logic core The existing semiconductor of piece, transistor etc either other discrete elements.Module can also use programmable hardware device, such as Field programmable gate array, programmable logic array, programmable logic device etc. are realized.
Above-described is the preferred embodiment of the present invention, it should be pointed out that come for the ordinary person of the art Say, under the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications should also be regarded For protection scope of the present invention.

Claims (11)

1. a kind of control method of camera, applied to the terminal with multiple cameras, it is characterised in that including:
The enabled instruction of default camera head is obtained, starts default camera head;
During the default camera head is started, the slide on terminal screen is obtained;
According to the slide, the corresponding target camera of the slide is switched to, the target camera is described One in multiple cameras.
2. the control method of camera according to claim 1, it is characterised in that the startup of the acquisition default camera head Instruction, the step of starting default camera head includes:
After the pressing operation for camera icon is detected, the enabled instruction of default camera head is obtained, starts default camera Head;
It is described during the default camera head is started, the step of obtaining the slide on terminal screen includes:
If the pressure value of the pressing operation is more than or equal to the first predetermined threshold value, starting the default camera head process In, obtain the slide on terminal screen.
3. the control method of camera according to claim 1, it is characterised in that described to start the default camera head During, the step of obtaining the slide on terminal screen includes:
During the default camera head is started, in display interface display reminding information;
Obtain the slide produced on terminal screen for the prompt message.
4. the control method of camera according to claim 1, it is characterised in that described according to the slide, cuts The step of shifting to the slide corresponding target camera includes:
Obtain the distance between the original position of the slide and camera icon on the screen;
According to the distance, the corresponding target camera of the slide is switched to.
5. the control method of camera according to claim 1, it is characterised in that described to start the default camera head During, the step of obtaining the slide on terminal screen includes:
During the default camera head is started, the angle of inclination of the terminal is obtained;
When being more than or equal to the second predetermined threshold value at the angle of inclination and being less than or equal to three predetermined threshold values, end panel is obtained Slide on curtain.
6. a kind of terminal, with multiple cameras, it is characterised in that including:
First processing module, the enabled instruction for obtaining default camera head starts default camera head;
First acquisition module, for during the default camera head is started, obtaining the slide on terminal screen;
First handover module, it is described for according to the slide, switching to the corresponding target camera of the slide Target camera is one in the multiple camera.
7. terminal according to claim 6, it is characterised in that the first processing module includes:
First processing submodule, for after the pressing operation for camera icon is detected, obtaining opening for default camera head Dynamic instruction, starts default camera head;
First acquisition module includes:
First acquisition submodule, if the pressure value for the pressing operation is more than or equal to the first predetermined threshold value, is starting During the default camera head, the slide on terminal screen is obtained.
8. terminal according to claim 6, it is characterised in that first acquisition module includes:
First display sub-module, for during the default camera head is started, in display interface display reminding information;
Second acquisition submodule, for obtaining the slide produced on terminal screen for the prompt message.
9. terminal according to claim 6, it is characterised in that first handover module includes:
Between 3rd acquisition submodule, the camera icon in original position and the screen for obtaining the slide Distance;
First switching submodule, for according to the distance, switching to the corresponding target camera of the slide.
10. terminal according to claim 6, it is characterised in that first acquisition module includes:
4th acquisition submodule, for during the default camera head is started, obtaining the angle of inclination of the terminal;
5th acquisition submodule, for more than or equal to the second predetermined threshold value and pre- less than or equal to the 3rd at the angle of inclination If during threshold value, obtaining the slide on terminal screen.
11. a kind of terminal, it is characterised in that including:Memory, processor and storing can be transported on a memory and on a processor Capable computer program, realizes taking the photograph as described in any one of claim 1 to 5 during computer program described in the computing device Step in the control method of picture head.
CN201710661409.1A 2017-08-04 2017-08-04 The control method and terminal of a kind of camera Pending CN107333067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710661409.1A CN107333067A (en) 2017-08-04 2017-08-04 The control method and terminal of a kind of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710661409.1A CN107333067A (en) 2017-08-04 2017-08-04 The control method and terminal of a kind of camera

Publications (1)

Publication Number Publication Date
CN107333067A true CN107333067A (en) 2017-11-07

Family

ID=60225338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710661409.1A Pending CN107333067A (en) 2017-08-04 2017-08-04 The control method and terminal of a kind of camera

Country Status (1)

Country Link
CN (1) CN107333067A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132711A (en) * 2018-01-11 2018-06-08 广东小天才科技有限公司 Playing progress bar control method and electronic equipment
CN110620911A (en) * 2019-09-24 2019-12-27 北京迈格威科技有限公司 Video stream processing method and device of camera and terminal equipment
CN108989560B (en) * 2018-07-16 2020-07-28 维沃移动通信有限公司 Screen switching control method in shooting mode, terminal device and storage medium
CN112738407A (en) * 2021-01-06 2021-04-30 富盛科技股份有限公司 Method and device for controlling multiple cameras
CN112752012A (en) * 2019-10-30 2021-05-04 珠海市魅族科技有限公司 Camera starting method and device, electronic equipment and storage medium
CN114245012A (en) * 2021-12-14 2022-03-25 深圳唐恩科技有限公司 Multi-machine live broadcast switching method, system and equipment
US11412132B2 (en) 2018-07-27 2022-08-09 Huawei Technologies Co., Ltd. Camera switching method for terminal, and terminal
CN115150551A (en) * 2022-06-20 2022-10-04 湖北星纪时代科技有限公司 Photographing processing method and device for terminal, electronic equipment and storage medium
CN115150550A (en) * 2022-06-20 2022-10-04 湖北星纪时代科技有限公司 Photographing processing method and device for terminal, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140211062A1 (en) * 2013-01-25 2014-07-31 Htc Corporation Electronic device and camera switching method thereof
CN104182173A (en) * 2014-08-15 2014-12-03 小米科技有限责任公司 Camera switching method and device
CN106534679A (en) * 2016-11-04 2017-03-22 上海传英信息技术有限公司 Camera switching method and mobile terminal
CN106572299A (en) * 2016-10-31 2017-04-19 北京小米移动软件有限公司 Camera switching-on method and device
CN106933620A (en) * 2017-02-14 2017-07-07 珠海市魅族科技有限公司 A kind of filming control method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140211062A1 (en) * 2013-01-25 2014-07-31 Htc Corporation Electronic device and camera switching method thereof
CN104182173A (en) * 2014-08-15 2014-12-03 小米科技有限责任公司 Camera switching method and device
CN106572299A (en) * 2016-10-31 2017-04-19 北京小米移动软件有限公司 Camera switching-on method and device
CN106534679A (en) * 2016-11-04 2017-03-22 上海传英信息技术有限公司 Camera switching method and mobile terminal
CN106933620A (en) * 2017-02-14 2017-07-07 珠海市魅族科技有限公司 A kind of filming control method and system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132711A (en) * 2018-01-11 2018-06-08 广东小天才科技有限公司 Playing progress bar control method and electronic equipment
CN108989560B (en) * 2018-07-16 2020-07-28 维沃移动通信有限公司 Screen switching control method in shooting mode, terminal device and storage medium
US11595566B2 (en) 2018-07-27 2023-02-28 Huawei Technologies Co., Ltd. Camera switching method for terminal, and terminal
US11412132B2 (en) 2018-07-27 2022-08-09 Huawei Technologies Co., Ltd. Camera switching method for terminal, and terminal
US11785329B2 (en) 2018-07-27 2023-10-10 Huawei Technologies Co., Ltd. Camera switching method for terminal, and terminal
CN110620911A (en) * 2019-09-24 2019-12-27 北京迈格威科技有限公司 Video stream processing method and device of camera and terminal equipment
CN110620911B (en) * 2019-09-24 2021-06-22 北京迈格威科技有限公司 Video stream processing method and device of camera and terminal equipment
CN112752012A (en) * 2019-10-30 2021-05-04 珠海市魅族科技有限公司 Camera starting method and device, electronic equipment and storage medium
CN112738407A (en) * 2021-01-06 2021-04-30 富盛科技股份有限公司 Method and device for controlling multiple cameras
CN112738407B (en) * 2021-01-06 2022-08-30 富盛科技股份有限公司 Method and device for controlling multiple cameras
CN114245012A (en) * 2021-12-14 2022-03-25 深圳唐恩科技有限公司 Multi-machine live broadcast switching method, system and equipment
CN114245012B (en) * 2021-12-14 2024-03-22 深圳唐恩科技有限公司 Multi-machine live broadcast switching method, system and equipment
CN115150550A (en) * 2022-06-20 2022-10-04 湖北星纪时代科技有限公司 Photographing processing method and device for terminal, electronic equipment and storage medium
CN115150551A (en) * 2022-06-20 2022-10-04 湖北星纪时代科技有限公司 Photographing processing method and device for terminal, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107333067A (en) The control method and terminal of a kind of camera
US11128802B2 (en) Photographing method and mobile terminal
CN105824559B (en) False touch recognition and processing method and electronic equipment
US9838524B2 (en) Apparatus and method for controlling operation of mobile terminal
CN102221957B (en) Electronic equipment and operation control method thereof
CN105511781B (en) Start the method, apparatus and user equipment of application program
EP3907635A1 (en) Method and device for starting application based on fingerprint recognition
CN106648416A (en) Method for starting application and mobile terminal
CN108595074A (en) Status bar operating method, device and computer readable storage medium
CN107181913A (en) A kind of photographic method and mobile terminal
CN107179865A (en) A kind of page switching method and terminal
CN106648382B (en) A kind of picture browsing method and mobile terminal
CN106980457A (en) Operating method of touch panel and touch screen terminal
US20140104170A1 (en) Method of performing keypad input in a portable terminal and apparatus
CN106874046B (en) Application program operation method and mobile terminal
CN106911897B (en) A kind of determination method and mobile terminal shooting focus
US10334409B2 (en) SMS message processing method for mobile terminal and mobile terminal
CN106959797B (en) A kind of setting method and mobile terminal notifying footmark
CN107193482A (en) The operating method and mobile terminal of a kind of mobile terminal screen
CN106060397B (en) A kind of screening-mode switching method and mobile terminal
CN107665140A (en) A kind of display methods and mobile terminal of application program shortcut
CN107368249A (en) A kind of touch control operation recognition methods, device and mobile terminal
EP3757831B1 (en) Fingerprint event processing method, apparatus, and terminal
CN107390917A (en) A kind of display methods, device, mobile terminal and the storage medium of touch-control bar
CN108124064B (en) Key response method of mobile terminal and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107