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

CN105872359A - Method and device for switching cameras - Google Patents

Method and device for switching cameras Download PDF

Info

Publication number
CN105872359A
CN105872359A CN201610179773.XA CN201610179773A CN105872359A CN 105872359 A CN105872359 A CN 105872359A CN 201610179773 A CN201610179773 A CN 201610179773A CN 105872359 A CN105872359 A CN 105872359A
Authority
CN
China
Prior art keywords
terminal
switching
camera
user
touch area
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
CN201610179773.XA
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610179773.XA priority Critical patent/CN105872359A/en
Publication of CN105872359A publication Critical patent/CN105872359A/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
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a method and device for switching cameras. On one hand, in the embodiment of the invention, switching of cameras used by a terminal is completed through operation information of a user in the edge touch area of the terminal in the image acquisition process of the terminal, such that the user can realize switching of the cameras by operating the edge of the terminal. According to the technical scheme provided in the embodiment of the invention, the problem that the switching efficiency is relatively low due to the fact that switching of the cameras cannot be realized in a video shooting mode and the cameras are switched by clicking a touch screen button in the prior art can be solved.

Description

Method and device for switching cameras
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for switching cameras.
[ background of the invention ]
In the prior art, the current mainstream terminal is provided with two cameras, and a user can realize the switching between the two cameras by clicking a camera switching button on a screen.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the existing camera switching mode completely depends on a camera switching button in a terminal screen, the button can be displayed only in a photographing mode of the terminal, and if a user needs to perform other types of image acquisition, such as video shooting and the like, the camera switching button is not displayed on the screen of the terminal, so that the camera switching cannot be realized. Moreover, in the prior art, the mode of switching the camera by clicking the touch screen button is not favorable for the user to perform one-hand operation, which results in lower switching efficiency.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a method and an apparatus for switching a camera, so as to solve the problems in the prior art that camera switching cannot be implemented in a video shooting mode, and switching efficiency is low due to camera switching by clicking a touch screen button.
In one aspect of the embodiments of the present invention, a method for switching cameras is provided, including:
in the process of acquiring an image by a terminal, acquiring operation information of a user in an edge touch area of the terminal;
and switching the camera used by the terminal for collecting the image according to the operation information of the user in the edge touch area of the terminal.
The above aspect and any possible implementation manner further provide an implementation manner, where the operation information of the user in the edge touch area of the terminal includes:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
The above aspect and any possible implementation manner further provide an implementation manner, where switching a camera used by the terminal to acquire an image according to operation information of the user in an edge touch area of the terminal includes:
detecting whether the operation information is a designated operation for switching the camera;
and if the operation information is detected to be the designated operation of camera switching, switching the camera used by the terminal for collecting the image.
The above aspect and any possible implementation manner further provide an implementation manner for switching a camera used by the terminal to acquire an image, including:
switching a first camera used by the terminal for collecting the image into a second camera; or,
and switching a second camera used for acquiring the image by the terminal into a first camera.
The above-described aspects and any possible implementations further provide an implementation, and the method further includes:
and if the operation information is detected not to be the designated operation of camera switching, continuing to use the camera currently used by the terminal to acquire the image.
In the method, the terminal acquires the image, and acquires the operation information of the user in the edge touch area of the terminal; and switching the camera used by the terminal for collecting the image according to the operation information of the user in the edge touch area of the terminal. Therefore, the invention can realize the switching of the camera by utilizing the edge touch area, does not depend on a camera switching button any more, can switch the camera even in a video shooting mode, and solves the problem that the camera switching cannot be realized in the video shooting mode in the prior art. Moreover, the invention realizes the switching of the cameras by utilizing the edge touch area, realizes the aim of switching the cameras only through simple operation of the user on the edge of the terminal, is convenient for the user to operate by one hand, and improves the operation efficiency, thereby improving the switching efficiency of the cameras and solving the problem of lower switching efficiency caused by clicking a touch screen button to switch the cameras in the prior art.
In order to achieve the above object, in another aspect, an embodiment of the present invention further provides an apparatus for switching a camera, where the apparatus includes:
the acquisition module is used for acquiring operation information of a user in an edge touch area of the terminal in the process of acquiring an image by the terminal;
and the switching module is used for switching the camera used by the terminal for collecting the image according to the operation information of the user in the edge touch area of the terminal.
The above aspect and any possible implementation manner further provide an implementation manner, where the operation information of the user in the edge touch area of the terminal includes:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the switching module is specifically configured to:
detecting whether the operation information is a designated operation for switching the camera;
and if the operation information is detected to be the designated operation of camera switching, switching the camera used by the terminal for collecting the image.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the switching module is configured to, when switching a camera used by the terminal to acquire an image, specifically:
switching a first camera used by the terminal for collecting the image into a second camera; or,
and switching a second camera used for acquiring the image by the terminal into a first camera.
The above-described aspect and any possible implementation further provide an implementation, where the switching module is further configured to:
and if the operation information is detected not to be the designated operation of camera switching, continuing to use the camera currently used by the terminal to acquire the image.
In the embodiment of the invention, in the process of acquiring the image by the terminal, an acquisition module in the terminal acquires the operation information of a user in the edge touch area of the terminal; and a switching module in the terminal switches the camera used by the terminal for collecting the image according to the operation information of the user in the edge touch area of the terminal. Therefore, the invention can realize the switching of the camera by utilizing the edge touch area, does not depend on a camera switching button any more, can switch the camera even in a video shooting mode, and solves the problem that the camera switching cannot be realized in the video shooting mode in the prior art. Moreover, the invention realizes the switching of the cameras by utilizing the edge touch area, realizes the aim of switching the cameras only through simple operation of the user on the edge of the terminal, is convenient for the user to operate by one hand, and improves the operation efficiency, thereby improving the switching efficiency of the cameras and solving the problem of lower switching efficiency caused by clicking a touch screen button to switch the cameras in the prior art.
[ description of the drawings ]
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a first embodiment of a method for switching cameras according to an embodiment of the present invention;
fig. 2 is an exemplary diagram of an edge touch area of a terminal according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a second embodiment of a method for switching cameras according to the present invention;
fig. 4 is a schematic structural diagram of a camera switching device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all 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 invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, etc. may be used to describe cameras in embodiments of the present invention, these cameras should not be limited to these terms. These terms are only used to distinguish the cameras from one another. For example, a first camera may also be referred to as a second camera, and similarly, a second camera may also be referred to as a first camera, without departing from the scope of embodiments of the present invention.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Example one
An embodiment of the present invention provides a method for switching cameras, please refer to fig. 1, which is a schematic flow chart of a first embodiment of the method for switching cameras provided in the embodiment of the present invention, and as shown in the figure, the method includes the following steps:
s101, acquiring operation information of a user in an edge touch area of a terminal in the process of acquiring an image by the terminal.
Specifically, the process of acquiring the image by the terminal may include a process of taking a picture or taking a video by using a camera in the terminal.
It should be noted that the terminal according to the embodiments of the present invention may include, but is not limited to, a Personal Computer (PC), a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like, and the terminal has a function of capturing an image.
In the embodiment of the present invention, the operation information of the user in the edge touch area of the terminal may include, but is not limited to:
sliding operation of a user in an edge touch area of the terminal; or,
clicking operation of a user in an edge touch area of the terminal; or,
and pressing the touch area at the edge of the terminal by the user.
It is understood that the edge touch refers to providing a touch input through an edge or a frame of the terminal, and tracking a tap, a slide or a press of a finger on the edge of the terminal to realize control of the terminal.
Referring to fig. 2, which is an exemplary diagram of an edge touch area of a terminal according to an embodiment of the present invention, as shown in fig. 2, the edge touch area of the terminal may be an area that can be reached by a thumb of a user on a side surface of the terminal when the user naturally holds the terminal, and the side surface of the terminal may include four side surfaces other than a front surface and a back surface.
In the embodiment of the invention, the edge touch area of the terminal can be realized by using a physical key, a virtual key, a sensor or a screen.
For example, if the terminal uses a curved screen, the edge touch area of the terminal may be implemented by using an edge screen of the curved screen. By taking a capacitive touch screen as an example for explanation, when a user touches the edge touch screen with a finger, the capacitance of an electric shock changes, so that the frequency of an oscillator connected with the capacitance changes, the touch position can be determined by measuring the frequency change of the oscillator, and further, the operation information of the user in the edge touch area of the terminal can be acquired.
Alternatively, for another example, for a terminal that does not use a curved screen, its edge touch area may be implemented using physical keys, virtual keys, or sensors.
For example, if a physical key for adjusting the volume exists on the edge of the terminal, which is described by taking the physical key for adjusting the volume in the terminal as an example, when a finger of a user presses the physical key for adjusting the volume, the terminal may obtain whether the user presses the key for increasing the volume or presses the key for decreasing the volume.
For another example, if a virtual key with a certain function exists on the edge of the terminal, and the virtual key is a capacitive virtual key, the terminal determines on which virtual key the user touches through the capacitance of the capacitive virtual key. Specifically, when a user touches the capacitive virtual key, a finger and an electrode plate in the capacitive virtual key form a capacitor, and the terminal determines the position touched by the user by detecting the change of the capacitor, so that which virtual key the user touches can be determined, and further, the operation information of the user in the edge touch area of the terminal can be acquired.
For example, if a sensor with a certain function exists on the edge of the terminal, taking the sensor on the terminal as a pressure sensor as an example, when a user presses the pressure sensor, a semiconductor deformation pressure is formed on the surface of a sheet of the pressure sensor, the sheet is deformed by pressing to generate a piezoelectric impedance effect, the change of impedance is converted into an electric signal, and after the terminal obtains the electric signal, the terminal can determine the pressure on which pressure sensor the user presses or the position on the pressure sensor, so that the user can determine the function of the pressure sensor pressed by the user, and further the operation information of the user in the edge touch area of the terminal can be acquired. In addition, the sensor with certain function on the edge of the terminal can also be a light sensor.
Specifically, the operation information of the user in the edge touch area of the terminal is obtained, that is, the operation information of the effective area of the user in the edge touch area of the terminal is obtained, and only the operation in the effective area can realize the purpose of switching the camera.
For example, if the terminal uses the curved screen, when the edge touch area of the terminal uses the edge screen of the curved screen to obtain the operation information of the user, the effective area of the edge screen is the edge area of the screen that the thumb of the user can click or contact when the user naturally holds the terminal. For example, if a physical key for adjusting the volume exists on the edge of the terminal, when the operation information of the user is acquired in the edge touch area of the terminal by using the physical key for adjusting the volume, the effective area is the physical key for adjusting the volume; if a virtual key with a certain function exists on the edge of the terminal, when the virtual key is used for acquiring the operation information of a user in the edge touch area of the terminal, the effective area is the area where the virtual key is located; if a sensor with a certain function exists on the edge of the terminal, when the sensor is used in the edge touch area of the terminal to acquire the operation information of the user, the effective area is the area where the sensor is located.
Specifically, since the edge touch area may be a side surface of the terminal, a screen edge, or some physical keys, when the edge touch area is a side surface of the terminal or a screen edge, the user realizes switching of the camera by sliding up and down in the edge touch area; when the edge touch area is the side face of the terminal and the edge of the screen, the edge touch area is divided into two partial areas, one partial area is used for triggering the terminal to be switched into the first camera, the other partial area is used for triggering the terminal to be switched into the second camera, and a user can press one area to achieve the purpose of switching the cameras according to the self requirement; when the edge touch area is some entity keys of the terminal, the user can switch the camera by pressing the entity keys.
And S102, switching a camera used for acquiring the image by the terminal according to the operation information of the user in the edge touch area of the terminal.
Specifically, a user can switch the camera on the terminal by operating on the edge touch area of the terminal.
According to the operation information of a user in the edge touch area of the terminal, the camera used for acquiring the image by the terminal is switched, and the method specifically comprises the following steps:
detecting whether the operation information is a designated operation for switching the camera;
and if the operation information is detected to be the designated operation of camera switching, switching the camera used by the terminal for collecting the image.
Specifically, the designated operation of switching the cameras is to determine whether the user's operation in the active area can trigger switching the cameras.
For example, if the preset designated operation of switching the camera is to slide upwards in the effective area, after the terminal acquires the operation information, whether the operation of the user in the edge touch area of the terminal is to slide upwards is judged according to the operation information, and if the operation of the user in the edge touch area of the terminal is to slide upwards is judged according to the operation information, the terminal can switch the camera according to the preset rule of switching the camera. The specific preset rule for switching the cameras can be determined according to actual needs.
The following description will be given by taking an example in which the terminal has at least two cameras, where the at least two cameras at least include a first camera and a second camera, that is, the first camera and the second camera are any two cameras in the at least two cameras. For example, switching the camera used by the terminal to acquire the image may include, but is not limited to:
switching a first camera used by a terminal for collecting images into a second camera; or,
and switching a second camera used for acquiring the image by the terminal into the first camera.
Or if the operation of the user in the edge touch area of the terminal is judged not to be upwards sliding according to the operation information, the camera currently used by the terminal is continuously used for collecting the image, namely, the action of switching the camera is not executed.
For example, if the designated operation of switching the camera is to slide upwards in the effective area, after the terminal acquires the operation information, whether the operation is to slide upwards is judged, and whether the operation is to slide downwards is judged according to the operation information, the terminal does not switch the camera according to the preset rule of switching the camera, and still uses the currently used camera to acquire the image.
In the method, the terminal acquires the image, and acquires the operation information of the user in the edge touch area of the terminal; and switching the camera used for acquiring the image by the terminal according to the operation information of the user in the edge touch area of the terminal. The method and the device solve the problem that the camera switching cannot be conveniently and effectively realized in the process of acquiring the image by the terminal by the user in the prior art, realize the purpose of switching the camera only through simple operation of the user on the edge of the terminal, facilitate the operation of the user, improve the operation efficiency and improve the shooting experience of the user.
Example two
Based on the method for switching cameras provided in the first embodiment, taking the example that the terminal acquires the capacitive signal corresponding to the operation information of the edge touch area of the terminal, please refer to fig. 3, which is a schematic flow diagram of a second embodiment of the method for switching cameras provided in the first embodiment of the present invention, and the second embodiment is a specific implementation method of the first embodiment. As shown in fig. 3, the method comprises the steps of:
s301, in the process of acquiring images by the terminal, converting a capacitance signal generated when a user operates in an edge touch area of the terminal into a binary signal.
Specifically, in the process of acquiring an image by the terminal, when a user operates in the edge touch area of the terminal, the edge touch area of the terminal generates a capacitance signal corresponding to the operation information of the user.
Specifically, the operation information of the user in the edge touch area of the terminal includes:
sliding operation of a user in an edge touch area of the terminal; or,
clicking operation of a user in an edge touch area of the terminal; or,
and pressing the touch area at the edge of the terminal by the user.
For example, if the terminal uses a curved-surface screen of a capacitive touch screen, when a finger of a user touches the edge touch screen, the capacitance of the contact changes, and thus a capacitance signal of the user in an edge touch area of the terminal can be acquired. If a capacitive virtual key with a certain function exists on the edge of the terminal, when a user touches the capacitive virtual key, a finger and an electrode plate in the capacitive virtual key form a capacitor, the change of capacitance corresponding to different virtual keys is different, and then the terminal acquires a capacitance signal of the user in an edge touch area of the terminal by detecting the change of the capacitance.
Specifically, after acquiring a capacitance signal generated when a user operates in an edge touch area of the terminal, the terminal converts the acquired capacitance signal into a binary signal. The capacitance signal generated when the user operates in the edge touch area of the terminal is converted into a binary signal, and a specific conversion rule can be determined according to actual needs.
S302, the binary signal is compared with a binary signal corresponding to the designated operation of switching the camera.
Specifically, in the embodiment of the present invention, a binary signal for switching the camera needs to be preset in advance, where the preset binary signal corresponds to a designated operation for switching the camera. For example, if the preset operation of switching the camera is to slide upwards in the effective area of the edge touch area of the terminal, the terminal acquires a capacitance signal corresponding to the upwards slide of the user in the effective area, and converts the capacitance signal into a binary signal according to a certain conversion rule.
Specifically, a binary signal converted from a capacitance signal generated when a user operates in the edge touch area of the terminal is compared with a preset binary signal of the switching camera, so as to determine whether the user operates in the effective area of the edge touch area of the terminal to trigger the switching camera.
And S303, if the binary signal is the same as the binary signal corresponding to the designated operation of switching the camera, switching the camera used for acquiring the image by the terminal.
Specifically, a binary signal converted from a capacitance signal generated when a user operates in an edge touch area of the terminal is compared with a preset binary signal for switching the camera, so as to obtain a comparison result; if the comparison result shows that the two binary signals are the same, which indicates that the operation of the user in the effective area of the edge touch area of the terminal is the same as the specified operation of switching the camera, the switching camera can be triggered to switch the camera used for acquiring the image by the terminal.
The following description will be given by taking an example in which the terminal has at least two cameras, where the at least two cameras at least include a first camera and a second camera, that is, the first camera and the second camera are any two cameras in the at least two cameras. For example, switching the camera used by the terminal to acquire the image may include, but is not limited to:
switching a first camera used by a terminal for collecting images into a second camera; or,
and switching a second camera used for acquiring the image by the terminal into the first camera.
Or if the comparison result shows that the two binary signals are different, which indicates that the operation of the user in the effective area of the edge touch area of the terminal is different from the specified operation of switching the camera, the switching of the camera cannot be triggered, and the camera currently used by the terminal is continuously used for collecting images, that is, the action of switching the camera is not executed.
In the method, the terminal acquires the image, and acquires the operation information of the user in the edge touch area of the terminal; and switching the camera used for acquiring the image by the terminal according to the operation information of the user in the edge touch area of the terminal. The method and the device solve the problem that the camera switching cannot be conveniently and effectively realized in the process of acquiring the image by the terminal by the user in the prior art, realize the purpose of switching the camera only through simple operation of the user on the edge of the terminal, facilitate the operation of the user, improve the operation efficiency and improve the shooting experience of the user.
EXAMPLE III
An embodiment of an apparatus for implementing the steps and methods in the foregoing method embodiments is further provided in the embodiments of the present invention, and please refer to fig. 4, which is a schematic structural diagram of a camera switching apparatus provided in the embodiments of the present invention, where the apparatus includes:
the acquiring module 401 is configured to acquire operation information of a user in an edge touch area of a terminal in a process of acquiring an image by the terminal;
a switching module 402, configured to switch a camera used by the terminal to acquire an image according to operation information of the user in an edge touch area of the terminal.
Specifically, the operation information of the user in the edge touch area of the terminal includes:
sliding operation of a user in an edge touch area of the terminal; or,
clicking operation of a user in an edge touch area of the terminal; or,
and pressing the touch area at the edge of the terminal by the user.
Specifically, the switching module 402 is specifically configured to:
detecting whether the operation information is a designated operation for switching the camera;
and if the detected operation information is the designated operation of camera switching, switching the camera used by the terminal for collecting the image.
Specifically, when the switching module 402 is used to switch the camera used by the terminal to acquire the image, it is specifically configured to:
switching a first camera used by a terminal for collecting images into a second camera; or,
and switching a second camera used for acquiring the image by the terminal into the first camera.
Specifically, the switching module 402 is further configured to:
and if the operation information is detected not to be the designated operation of camera switching, continuing to use the camera currently used by the terminal to acquire the image.
Since the units in the embodiment of the present invention can perform the methods shown in fig. 1 and fig. 2, reference may be made to the related description of fig. 1 and fig. 2 for parts of the embodiment of the present invention that are not described in detail.
In the embodiment of the invention, in the process of acquiring the image by the terminal, an acquisition module in the terminal acquires the operation information of a user in the edge touch area of the terminal; and a switching module in the terminal switches the camera used for acquiring the image by the terminal according to the operation information of the user in the edge touch area of the terminal. The method and the device solve the problem that the camera switching cannot be conveniently and effectively realized in the process of acquiring the image by the terminal by the user in the prior art, realize the purpose of switching the camera only through simple operation of the user on the edge of the terminal, facilitate the operation of the user, improve the operation efficiency and improve the shooting experience of the user.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: ROM, RAM, a magnetic disk, or various media that can store program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on at least two network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for switching cameras, the method comprising:
in the process of acquiring an image by a terminal, acquiring operation information of a user in an edge touch area of the terminal;
and switching the camera used by the terminal for collecting the image according to the operation information of the user in the edge touch area of the terminal.
2. The method according to claim 1, wherein the operation information of the user in the edge touch area of the terminal comprises:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
3. The method according to claim 1, wherein switching a camera used by the terminal to collect an image according to the operation information of the user in the edge touch area of the terminal comprises:
detecting whether the operation information is a designated operation for switching the camera;
and if the operation information is detected to be the designated operation of camera switching, switching the camera used by the terminal for collecting the image.
4. The method according to claim 1 or 3, wherein switching the camera used by the terminal to acquire the image comprises:
switching a first camera used by the terminal for collecting the image into a second camera; or,
and switching a second camera used for acquiring the image by the terminal into a first camera.
5. The method of claim 3, further comprising:
and if the operation information is detected not to be the designated operation of camera switching, continuing to use the camera currently used by the terminal to acquire the image.
6. An apparatus for switching a camera, the apparatus comprising:
the acquisition module is used for acquiring operation information of a user in an edge touch area of the terminal in the process of acquiring an image by the terminal;
and the switching module is used for switching the camera used by the terminal for collecting the image according to the operation information of the user in the edge touch area of the terminal.
7. The apparatus of claim 6, wherein the operation information of the user in the edge touch area of the terminal comprises:
sliding operation of the user in an edge touch area of the terminal; or,
clicking operation of the user in an edge touch area of the terminal; or,
and the user presses the edge touch area of the terminal.
8. The apparatus of claim 6, wherein the switching module is specifically configured to:
detecting whether the operation information is a designated operation for switching the camera;
and if the operation information is detected to be the designated operation of camera switching, switching the camera used by the terminal for collecting the image.
9. The apparatus according to claim 6 or 8, wherein the switching module is configured to, when switching the camera used by the terminal to acquire the image, specifically:
switching a first camera used by the terminal for collecting the image into a second camera; or,
and switching a second camera used for acquiring the image by the terminal into a first camera.
10. The apparatus of claim 8, wherein the switching module is further configured to:
and if the operation information is detected not to be the designated operation of camera switching, continuing to use the camera currently used by the terminal to acquire the image.
CN201610179773.XA 2016-03-25 2016-03-25 Method and device for switching cameras Pending CN105872359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610179773.XA CN105872359A (en) 2016-03-25 2016-03-25 Method and device for switching cameras

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610179773.XA CN105872359A (en) 2016-03-25 2016-03-25 Method and device for switching cameras

Publications (1)

Publication Number Publication Date
CN105872359A true CN105872359A (en) 2016-08-17

Family

ID=56625967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610179773.XA Pending CN105872359A (en) 2016-03-25 2016-03-25 Method and device for switching cameras

Country Status (1)

Country Link
CN (1) CN105872359A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017161803A1 (en) * 2016-03-25 2017-09-28 乐视控股(北京)有限公司 Method and terminal for adjusting settings

Citations (5)

* Cited by examiner, † Cited by third party
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
US20140211062A1 (en) * 2013-01-25 2014-07-31 Htc Corporation Electronic device and camera switching method thereof
CN103995666A (en) * 2014-04-30 2014-08-20 小米科技有限责任公司 Method and device for setting work mode
CN104182173A (en) * 2014-08-15 2014-12-03 小米科技有限责任公司 Camera switching method and device
CN105072336A (en) * 2015-07-31 2015-11-18 小米科技有限责任公司 Control method, apparatus and device for adjusting photographing function

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
CN103402004A (en) * 2013-07-23 2013-11-20 广东欧珀移动通信有限公司 Method for pre-starting multiple cameras of mobile terminal
CN103995666A (en) * 2014-04-30 2014-08-20 小米科技有限责任公司 Method and device for setting work mode
CN104182173A (en) * 2014-08-15 2014-12-03 小米科技有限责任公司 Camera switching method and device
CN105072336A (en) * 2015-07-31 2015-11-18 小米科技有限责任公司 Control method, apparatus and device for adjusting photographing function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017161803A1 (en) * 2016-03-25 2017-09-28 乐视控股(北京)有限公司 Method and terminal for adjusting settings

Similar Documents

Publication Publication Date Title
WO2018027501A1 (en) Terminal, touch response method, and device
KR101455145B1 (en) User touch operation mode adaptive method and device
EP3211514A1 (en) Touch signal-based mobile terminal operation method, system and mobile terminal
CN105867732A (en) Method and terminal for display mode switching
CN105867813A (en) Method for switching page and terminal
CN105867654A (en) Method for adjusting focal length of camera and terminal
CN105867810A (en) Menu switching method and terminal
EP3043293A1 (en) Method and device for realizing touch button and fingerprint identification, and terminal device
WO2017161803A1 (en) Method and terminal for adjusting settings
CN105892907A (en) Use method of rolling screen capture, and terminal
CN105867916A (en) Terminal control method and device
CN105843543A (en) Function control method and terminal
CN105868607A (en) Terminal control method and device
CN105892927A (en) Mobile terminal control method and device
CN105930077A (en) Method and device for adjusting size of objects displayed by screens
CN103268151B (en) A kind of data processing equipment and the method starting specific function thereof
CN105867816A (en) Method for adjusting page and terminal
CN105867684A (en) Object controlling method and device
CN105824564A (en) Method for using function of return key and terminal
CN105824565A (en) Terminal control method and terminal
CN105892909A (en) Information checking method and terminal
CN105930156A (en) Terminal control method and terminal
CN105867814A (en) Terminal unlocking method and terminal
CN105843545A (en) Screenshot function use method and terminal
US20180004402A1 (en) Method for Scaling Down Effective Display Area of Screen, and Mobile Terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160817