CN110989913A - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN110989913A
CN110989913A CN201911155834.9A CN201911155834A CN110989913A CN 110989913 A CN110989913 A CN 110989913A CN 201911155834 A CN201911155834 A CN 201911155834A CN 110989913 A CN110989913 A CN 110989913A
Authority
CN
China
Prior art keywords
camera
touch input
screen
target area
electronic device
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
CN201911155834.9A
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 CN201911155834.9A priority Critical patent/CN110989913A/en
Publication of CN110989913A publication Critical patent/CN110989913A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Abstract

The embodiment of the invention provides a control method and electronic equipment, wherein the electronic equipment is provided with a first camera and a second camera, at least one of the first camera and the second camera is an off-screen camera, and the method comprises the following steps: receiving a first touch input acting on a target area on a screen under the condition that a first camera is in a working state, wherein the target area is an area corresponding to a camera under the screen on the screen; and responding to the first touch input, and starting the second camera. In the embodiment of the invention, the user can control the camera by only performing touch input on the target area on the screen of the electronic equipment, so that the operation steps are simplified, the camera is more conveniently used by the user, and the use experience of the user is improved.

Description

Control method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a control method and electronic equipment.
Background
With the continuous progress of electronic device technology, how to increase the screen occupation ratio of the screen of the electronic device becomes an important research direction. In order to realize 'full screen' electronic equipment, a camera technology under a screen is provided. In the prior art, for an electronic device adopting an off-screen camera technology, a user uses a camera to take pictures, record videos and the like through touch operation on a screen.
The mode of using the camera through touch operation is relatively complex in process, and generally, the front camera and the rear camera need to be selected for use first, and then the mode of the camera is selected. This method has too many operation steps, resulting in inconvenience for the user to use the camera.
Disclosure of Invention
The embodiment of the invention provides a control method and electronic equipment, and solves the problem that a user cannot conveniently use a camera due to the fact that the existing method has too many steps for operating the camera.
According to a first aspect of the embodiments of the present invention, there is provided a control method applied to an electronic device, where the electronic device has a first camera and a second camera, and at least one of the first camera and the second camera is an off-screen camera, the method including:
receiving a first touch input acting on a target area on a screen under the condition that the first camera is in a working state, wherein the target area is an area corresponding to the camera under the screen on the screen;
and responding to the first touch input, and starting the second camera.
According to a second aspect of the embodiments of the present invention, there is provided an electronic apparatus, wherein the electronic apparatus has a first camera and a second camera, and at least one of the first camera and the second camera is an under-screen camera, the electronic apparatus including:
the first receiving module is used for receiving a first touch input acting on a target area on a screen under the condition that the first camera is in a working state, wherein the target area is an area on the screen corresponding to the camera under the screen;
and the starting module is used for responding to the first touch input and starting the second camera.
According to a third aspect of embodiments of the present invention, there is provided an electronic device, including a processor, a memory, and a program stored on the memory and executable on the processor, the program implementing the steps of the control method according to the first aspect when executed by the processor.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of the control method according to the first aspect.
In the embodiment of the invention, the user can control the camera by only performing touch input on the target area on the screen of the electronic equipment, so that the operation steps are simplified, the camera is more conveniently used by the user, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a control method according to an embodiment of the present invention;
fig. 2a is a schematic view of an application scenario provided in the embodiment of the present invention;
fig. 2b is a second schematic view of an application scenario provided by the embodiment of the present invention;
FIG. 3a is a second flowchart of a control method according to an embodiment of the present invention;
fig. 3b is a third schematic view of an application scenario provided by the embodiment of the present invention;
FIG. 3c is a fourth schematic diagram of an application scenario provided by the embodiment of the present invention;
FIG. 3d is a third schematic flow chart illustrating a control method according to the embodiment of the present invention;
fig. 3e is a fifth schematic view of an application scenario provided by the embodiment of the present invention;
FIG. 4 is a fifth flowchart illustrating a control method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Herein, relational terms such as "first" and "second", and the like, are used solely to distinguish one from another of like names, and do not imply a relationship or order between the names.
In the embodiment of the present invention, the electronic device may be a Mobile phone, a tablet Computer, a notebook Computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like.
In the embodiment of the invention, the electronic equipment adopts the under-screen camera technology, and when the camera is required to be used, light can penetrate through the area on the screen opposite to the camera, so that the camera can normally acquire images; when the camera does not need to be used, the area can perform normal screen display and receive touch operation. It will be appreciated that the off-screen camera may be referred to as a front-facing camera, since it is disposed below the screen when it is.
An embodiment of the present invention provides a control method, where an execution main body of the method is an electronic device, and the electronic device is provided with a first camera and a second camera, where at least one of the first camera and the second camera is an off-screen camera, and considering that a photographing or video recording function of the electronic device needs to be both front and rear, in the following embodiments, a description is given by taking a scene in which one of the first camera and the second camera is an off-screen camera and the other is a rear camera as an example.
Referring to fig. 1, the method comprises the following specific steps:
step 101: receiving a first touch input acting on a target area on a screen under the condition that a first camera is in a working state;
in the embodiment of the present invention, the first camera being in the working state may refer to a front camera of the electronic device, that is, the camera under the screen being in the working state, or may refer to a rear camera of the electronic device being in the working state, where the target area is an area on the screen corresponding to the camera under the screen.
Alternatively, the target area may be displayed as a callout on the screen. For example: referring to fig. 2a, a target area, i.e., a white circular icon as in fig. 2a, may be displayed when the screen is in a screen-rest state, and referring to fig. 2b, a target area, i.e., a black circular icon as in fig. 2b, may also be displayed when the screen is in a screen-bright state. Of course, if the overall display effect of the full screen is considered, the target area may be selected not to be displayed in a labeling manner.
Step 102: responding to the first touch input, and starting a second camera;
in an embodiment of the present invention, the gesture of the first touch input may include: click, double click, long press and the like, and when a user performs first touch input on a target area, a second camera is started.
Optionally, the method further comprises: in response to the first touch input, the first camera is closed, so that switching between the first camera and the second camera is realized, and it can be understood that the electronic device can close the first camera first and then open the second camera, and the electronic device can also close the first camera and open the second camera simultaneously, and can also open the second camera first and then close the first camera. The sequence of opening the second camera and closing the first camera is not particularly limited in the embodiments of the present invention. For example: when the under-screen camera is in a working state, a user performs first touch input in a target area, the electronic equipment closes the under-screen camera and starts the rear camera to realize switching of the front camera and the rear camera.
In some embodiments, after the second camera is started according to the gesture action of the first touch input, the working mode of the second camera is determined, that is, the user can control the second camera to start and enter the working mode required by the user based on the first touch input of different gesture actions, so that the user only needs to perform one operation on the fixed position, and the switching of the camera and the selection of the working mode of the camera can be completed.
In the embodiment of the present invention, there is a corresponding relationship between the gesture motion of the first touch input and the working mode after the second camera is started, where the corresponding relationship may be pre-stored in the electronic device, and the corresponding relationship may be set by the user according to the operation habit of the user, and this is not specifically limited in the embodiment of the present invention.
Optionally, in response to the first touch input, starting the second camera includes:
starting the second camera and controlling the working mode of the second camera to be a photographing mode under the condition that the gesture of the first touch input is taken as the first gesture;
and under the condition that the gesture of the first touch input is taken as a second gesture, starting the second camera, and controlling the working mode of the second camera to be a video recording mode.
Further, in consideration that in the actual application process, a user has a use requirement for different working modes of the same camera, after the second camera is started in response to the first touch input, the method further includes: receiving a second touch input acting on the target area; and responding to the second touch input, and controlling the second camera to switch between a photographing mode and a video recording mode.
In the embodiment of the invention, the gesture action of the second touch input is different from that of the first touch input, so that the electronic equipment can be prevented from misjudging the touch input of the user for switching the working mode as the touch input for switching the camera.
Specifically, when the user needs to switch the working mode of the currently used camera, a second touch input may be performed in the target area, for example: the user uses the rear camera, the used working mode is a photographing mode, and if the user wants to perform rear video recording, second touch input can be performed on the target area, so that the electronic equipment automatically switches the working mode of the rear camera to a video recording mode.
Therefore, no matter the camera is switched or the working mode of the camera is switched, the user can realize the switching by performing touch input in the target area, so that the operation steps are reduced, and the operation mode is simplified.
In the embodiment of the invention, the user can control the camera by only performing touch input on the target area on the screen of the electronic equipment, so that the operation steps are simplified, the camera is more conveniently used by the user, and the use experience of the user is improved.
The method of the embodiment of the present invention is described below with reference to an actual application scenario. It should be noted that, in the following example, the first touch input includes a first gesture and a second gesture, where the first gesture is a single click, the second gesture is a double click, and the gesture of the second touch input is a long press.
Example one, switching between a first camera and a second camera;
referring to fig. 3a, the specific steps of the method are as follows:
step 311: receiving a first touch input acting on a target area on a screen under the condition that the first camera is in a working state, and then executing step 312 or step 313;
step 312: starting the second camera and controlling the working mode of the second camera to be a photographing mode under the condition that the gesture of the first touch input is used as click;
in the embodiment of the present invention, referring to fig. 3b, taking the first camera as the off-screen camera and the second camera as the rear camera as an example, when the user clicks and clicks the target area, the electronic device switches to the rear shooting mode.
Step 313: starting the second camera and controlling the working mode of the second camera to be a video recording mode under the condition that the gesture of the first touch input is a double-click press;
in the embodiment of the present invention, referring to fig. 3c, taking the first camera as the off-screen camera and the second camera as the rear camera as an example, when the user clicks and clicks the target area, the electronic device switches to the rear video recording mode.
Example two, the working mode of the second camera is switched;
referring to fig. 3d, the specific steps of the method are as follows:
step 321: receiving a first touch input acting on a target area on a screen under the condition that the first camera is in a working state, and then executing step 312 or step 313;
step 322: starting the second camera under the condition that the gesture of the first touch input is used as click, controlling the working mode of the second camera to be a photographing mode, and then executing step 324;
step 323: starting the second camera under the condition that the gesture of the first touch input is a double-click press, controlling the working mode of the second camera to be a video recording mode, and then executing step 324;
the description of step 321 to step 323 can refer to the description of step 311 to step 313 in fig. 3a, and will not be described herein again.
Step 324: receiving a long press acting on a target area;
step 325: and controlling the second camera to switch between a photographing mode and a video recording mode.
In the embodiment of the present invention, referring to fig. 3e, after the second camera is started, the user presses the target area for a long time, and the electronic device controls the second camera to switch between the video recording mode and the photographing mode, specifically, if the camera is in the photographing mode at this time, the camera is switched to the video recording mode; if the camera is in the video recording mode at this time, the camera is switched to the photographing mode.
Further, in practical applications, the above examples one and two can be used in combination with each other, for example: the user can quickly enter a post-shooting mode through single click or double click; in the using process, a user can flexibly switch the photographing mode and the video recording mode by long pressing.
Because each gesture action is operated in the target area, the user only needs to remember the gesture action corresponding to each function, and the operation and learning cost of the user can be effectively reduced. In addition, for the operation of fixed position, compare in need in the existing mode and click the controlling part of different positions, improve operating efficiency for camera operating speed.
Referring to fig. 4, an execution subject of the method is an electronic device, the electronic device has a first camera and a second camera, at least one of the first camera and the second camera is an off-screen camera, and the method includes the following specific steps:
step 401: receiving a first touch input acting on a target area on a screen under the condition that a first camera is in a working state;
the description of step 401 may refer to the description of step 101 in fig. 1, and is not repeated here.
Step 402: determining the action area of the first touch input in the target area;
step 403: judging whether the proportion of the active area to the total area of the target area reaches a preset proportion, if so, executing a step 404, otherwise, returning to the step 401;
in the embodiment of the invention, because the first touch input is a touch input acting on the screen, in an actual application process, a user may mistakenly touch the target area when performing other touch operations, and the mistaken touch operation may be the same as the gesture action of the first touch input, so that the electronic device mistakenly judges to start a corresponding camera function.
Considering that the general false touches occur at the edge of the target area, the action area of the false touch operation is relatively smaller than that of the first touch input performed by the user for using the camera, so a preset ratio can be stored in advance, for example: 60%, 70%, and the like, the electronic device may determine that the touch input is the first touch input corresponding to the control camera only when the area occupied by the received touch input in the target area reaches the preset ratio.
Step 404: responding to the first touch input, and starting a second camera;
the description of step 404 may refer to the description of step 102 in fig. 1, and will not be repeated here.
In the embodiment of the invention, in order to avoid misjudgment of the electronic equipment caused by mistouch operation, after the first touch input is received, the acting area proportion of the touch input is carried out, and the control accuracy and the safety of the camera through the first touch input are ensured.
Referring to fig. 5, an embodiment of the present invention provides an electronic device 500, where at least one camera of the electronic device 500 is located in a screen of the electronic device, and the electronic device 500 includes:
a first receiving module 501, configured to receive a first touch input acting on a target area on a screen when the first camera is in a working state, where the target area is an area on the screen corresponding to the off-screen camera;
a starting module 502, configured to start the second camera in response to the first touch input.
Optionally, the electronic device 500 further includes:
a closing module 503, configured to close the first camera.
Optionally, the starting module 502 includes:
the first starting unit 5021 is used for starting the second camera and controlling the working mode of the second camera to be a photographing mode under the condition that the gesture of the first touch input is used as a first gesture;
the second starting unit 5022 is configured to start the second camera and control a working mode of the second camera to be a video recording mode when the gesture of the first touch input is the second gesture.
Optionally, the electronic device 500 further includes:
a second receiving module 504, configured to receive a second touch input applied to the target area, where a gesture of the second touch input is different from that of the first touch input;
and a control module 505, configured to control the second camera to switch between a photographing mode and a video recording mode in response to the second touch input.
Optionally, the electronic device 500 further includes:
a determining module 506, configured to determine an effective area of the first touch input in the target region, and instruct the starting module to start the second camera in response to the first touch input when a ratio of the effective area to a total area of the target region reaches a preset ratio.
In the embodiment of the invention, the user can control the camera by only performing touch input on the target area on the screen of the electronic equipment, so that the operation steps are simplified, the camera is more conveniently used by the user, and the use experience of the user is improved.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in the figure, the electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The user input unit 607 is configured to receive a first touch input acting on a target area on a screen when the first camera is in a working state, where the target area is an area on the screen corresponding to the off-screen camera; a processor 610, configured to respond to the first touch input, start the second camera.
Therefore, the user can complete the control of the camera by only performing touch input on the target area on the screen of the electronic equipment, the operation steps are simplified, the user can use the camera more conveniently, and the user use experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements each process of the above account management method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A control method is applied to electronic equipment, and is characterized in that the electronic equipment is provided with a first camera and a second camera, at least one of the first camera and the second camera is an under-screen camera, and the method comprises the following steps:
receiving a first touch input acting on a target area on a screen under the condition that the first camera is in a working state, wherein the target area is an area corresponding to the camera under the screen on the screen;
and responding to the first touch input, and starting the second camera.
2. The method of claim 1, further comprising:
and responding to the first touch input, and closing the first camera.
3. The method of claim 1, wherein the activating the second camera in response to the first touch input comprises:
starting the second camera and controlling the working mode of the second camera to be a photographing mode under the condition that the gesture of the first touch input is taken as a first gesture;
and starting the second camera and controlling the working mode of the second camera to be a video recording mode under the condition that the gesture of the first touch input is taken as a second gesture.
4. The method of claim 1, wherein after the activating the second camera in response to the first touch input, the method further comprises:
receiving a second touch input acting on the target area, wherein the gesture action of the second touch input is different from that of the first touch input;
and responding to the second touch input, and controlling the second camera to switch between a photographing mode and a video recording mode.
5. The method of claim 1, wherein prior to the activating the second camera in response to the first touch input, the method further comprises:
determining the action area of the first touch input in the target area;
responding to the first touch input, starting the second camera, specifically comprising:
and under the condition that the proportion of the action area to the total area of the target area reaches a preset proportion, responding to the first touch input and starting the second camera.
6. An electronic device, wherein the electronic device has a first camera and a second camera, at least one of the first camera and the second camera being an under-screen camera, the electronic device comprising:
the first receiving module is used for receiving a first touch input acting on a target area on a screen under the condition that the first camera is in a working state, wherein the target area is an area on the screen corresponding to the camera under the screen;
and the starting module is used for responding to the first touch input and starting the second camera.
7. The electronic device of claim 6, further comprising:
and the closing module is used for responding to the first touch input and closing the first camera.
8. The electronic device of claim 6, wherein the activation module comprises:
the first starting unit is used for starting the second camera and controlling the working mode of the second camera to be a photographing mode under the condition that the gesture motion of the first touch input is taken as a first gesture;
and the second starting unit is used for starting the second camera and controlling the working mode of the second camera to be a video recording mode under the condition that the gesture motion of the first touch input is taken as a second gesture.
9. The electronic device of claim 6, further comprising:
a second receiving module, configured to receive a second touch input applied to the target area, where a gesture of the second touch input is different from that of the first touch input;
and the control module is used for responding to the second touch input and controlling the second camera to switch between a photographing mode and a video recording mode.
10. The electronic device of claim 8, further comprising:
the determining module is used for determining the action area of the first touch input in the target area;
the starting module is further configured to respond to the first touch input and start the second camera under the condition that the proportion of the action area to the total area of the target area reaches a preset proportion.
11. An electronic device comprising a processor, a memory and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the control method according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the control method according to any one of claims 1 to 5.
CN201911155834.9A 2019-11-22 2019-11-22 Control method and electronic equipment Pending CN110989913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911155834.9A CN110989913A (en) 2019-11-22 2019-11-22 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911155834.9A CN110989913A (en) 2019-11-22 2019-11-22 Control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110989913A true CN110989913A (en) 2020-04-10

Family

ID=70085879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911155834.9A Pending CN110989913A (en) 2019-11-22 2019-11-22 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110989913A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722321A (en) * 2012-05-22 2012-10-10 中兴通讯股份有限公司 Method and device for switching between double cameras
CN103167179A (en) * 2013-03-12 2013-06-19 广东欧珀移动通信有限公司 Method for rapidly starting photographing function and mobile device
CN105049705A (en) * 2015-06-19 2015-11-11 广东欧珀移动通信有限公司 Shooting mode switching method and user terminal
CN106874044A (en) * 2017-01-20 2017-06-20 维沃移动通信有限公司 A kind of camera changing method and mobile terminal
CN106933620A (en) * 2017-02-14 2017-07-07 珠海市魅族科技有限公司 A kind of filming control method and system
CN108595093A (en) * 2018-04-27 2018-09-28 Oppo广东移动通信有限公司 Camera control method, device, storage medium and electronic equipment
US20180292967A1 (en) * 2012-09-19 2018-10-11 Samsung Electronics Co., Ltd. System and method for displaying information on transparent display device
CN109151296A (en) * 2017-06-19 2019-01-04 北京小米移动软件有限公司 Electronic equipment, switching method and device, computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722321A (en) * 2012-05-22 2012-10-10 中兴通讯股份有限公司 Method and device for switching between double cameras
US20180292967A1 (en) * 2012-09-19 2018-10-11 Samsung Electronics Co., Ltd. System and method for displaying information on transparent display device
CN103167179A (en) * 2013-03-12 2013-06-19 广东欧珀移动通信有限公司 Method for rapidly starting photographing function and mobile device
CN105049705A (en) * 2015-06-19 2015-11-11 广东欧珀移动通信有限公司 Shooting mode switching method and user terminal
CN106874044A (en) * 2017-01-20 2017-06-20 维沃移动通信有限公司 A kind of camera changing method and mobile terminal
CN106933620A (en) * 2017-02-14 2017-07-07 珠海市魅族科技有限公司 A kind of filming control method and system
CN109151296A (en) * 2017-06-19 2019-01-04 北京小米移动软件有限公司 Electronic equipment, switching method and device, computer readable storage medium
CN108595093A (en) * 2018-04-27 2018-09-28 Oppo广东移动通信有限公司 Camera control method, device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN109343759B (en) Screen-turning display control method and terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN110837327B (en) Message viewing method and terminal
CN108334272B (en) Control method and mobile terminal
CN111290810B (en) Image display method and electronic equipment
CN109407949B (en) Display control method and terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN109508136B (en) Display method of application program and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN107992342B (en) Application configuration changing method and mobile terminal
CN109889757B (en) Video call method and terminal equipment
WO2020020213A1 (en) Information input method and terminal
CN111124223A (en) Application interface switching method and electronic equipment
CN110795189A (en) Application starting method and electronic equipment
CN108762641B (en) Text editing method and terminal equipment
CN111061446A (en) Display method and electronic equipment
CN108021315B (en) Control method and mobile terminal
CN108388459B (en) Message display processing method and mobile terminal
CN111246105B (en) Photographing method, electronic device, and computer-readable storage medium
CN110647506B (en) Picture deleting method and terminal equipment

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: 20200410