CN108197554B - Camera starting method, mobile terminal and computer readable storage medium - Google Patents
Camera starting method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108197554B CN108197554B CN201711462585.9A CN201711462585A CN108197554B CN 108197554 B CN108197554 B CN 108197554B CN 201711462585 A CN201711462585 A CN 201711462585A CN 108197554 B CN108197554 B CN 108197554B
- Authority
- CN
- China
- Prior art keywords
- camera
- screen
- mobile terminal
- face
- starting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a camera starting method, a mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: detecting a starting signal of a photographing application; when receiving a starting signal of a photographing application, opening a front camera and a rear camera to detect face information; when only one camera detects the face information, the camera which detects the face information is kept on and the camera which does not detect the face information is closed. When the photographing application is started, the invention recognizes whether the user is ready to perform self-photographing or not and determines the starting direction of the camera by detecting the face signal, thereby being capable of more intelligently meeting the photographing requirement of the user.
Description
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a method for starting a camera, a mobile terminal, and a computer readable storage medium.
Background
The mobile terminal, or called mobile communication terminal, refers to a computer device that can be used in mobile, and broadly includes a mobile phone, a notebook, a tablet computer, a POS machine, and even includes a vehicle-mounted computer. But in most cases refers to cell phones or smart phones with multiple application functions and tablet computers. With the development of networks and technologies toward increasingly broadband, the mobile communications industry will move toward the true mobile information age. On the other hand, with the rapid development of integrated circuit technology, the processing power of mobile terminals has been in possession of a great deal of processing power, and mobile terminals are changing from simple telephony tools to an integrated information processing platform. This also adds more room for development to the mobile terminal.
The mobile terminal, in particular the intelligent mobile terminal, has the following characteristics.
(1) In hardware systems, mobile terminals often include a central processing unit, a memory, an input unit, and an output unit, that is, the mobile terminals are microcomputer devices having communication functions. In addition, the mobile terminal may have various input modes such as a keyboard, a mouse, a touch screen, a microphone, a camera, and the like, and may perform adjustment input as needed. Meanwhile, the mobile terminal often has various output modes, such as a receiver, a display screen and the like, and can be adjusted according to the needs.
(2) In a software architecture, the Mobile terminal must be provided with an operating system, such as Windows Mobile, symbian, palm, android, iOS, etc. Meanwhile, the operating systems are more and more open, and personalized application software developed based on the open operating system platforms is layered endlessly, such as an address book, a calendar, a notepad, a calculator, various games and the like, so that the demands of personalized users are met to a great extent.
(3) In terms of communication capability, the mobile terminal has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby facilitating the use of users. The mobile terminal can support GSM, WCDMA, CDMA2000, TDSCDMA, wi-Fi, wiMAX and the like, thereby being suitable for networks with various systems, supporting not only voice service but also various wireless data service.
(4) In terms of function use, the mobile terminal is more focused on humanization, individualization and multifunctionality. With the development of computer technology, the mobile terminal enters a mode of 'centering on people' from a mode of 'centering on equipment', and embedded computing, control technology, artificial intelligence technology, biological authentication technology and the like are integrated, so that the aim of taking the person as a root is fully reflected. Due to the development of software technology, the mobile terminal can adjust the settings according to personal demands, so that the mobile terminal is more personalized. Meanwhile, the mobile terminal integrates a plurality of software and hardware, and the functions are more and more powerful.
The double-screen mobile terminal is an intelligent mobile terminal with two screens newly proposed based on the intelligent terminal, and has a brand-new use mode:
1. an extension mode, in which two screens are spliced together to provide an oversized display screen, and in which the contents of the two screens are connected together, much like a tablet computer;
2. in the dual screen mode, two screens can independently run different applications, such as one screen chat and one screen movie watching. Even it enables two people to play a multiplayer game on a single phone.
3. Mirror mode, both screens display the same content. In this mode, two persons can share one content at the same time.
When the mobile terminal performs photographing operation, the general camera is started and defaults to be a rear camera for photographing, but because of the popularity of self-photographing, people can perform self-photographing every day, the camera needs to be switched firstly to realize self-photographing. Under the double-screen mobile terminal, in the non-unfolding state of the screen, one side of the camera is shielded by the auxiliary screen, so that the method of shooting by the rear camera by default is not suitable for the double-screen camera. The setting mode is a conventional setting mode, actual use of a user is not considered, so that the user often needs to switch the camera when starting the camera, and humanization is not realized.
Disclosure of Invention
The invention mainly aims to provide a camera starting method, a mobile terminal and a computer readable storage medium, and aims to solve the problem that the existing camera starting mode of a mobile terminal, particularly a double-screen mobile terminal, is not humanized.
In order to achieve the above object, the present invention provides a method for starting a camera, which includes the following steps:
detecting a starting signal of a photographing application;
when receiving a starting signal of a photographing application, opening a front camera and a rear camera to detect face information;
when only one camera detects the face information, the camera which detects the face information is kept on and the camera which does not detect the face information is closed.
Further, the method includes the steps of, when only one camera detects the face information, keeping the camera that detects the face information on and closing the camera that does not detect the face information, then:
when the two cameras detect the face information, the distance between the camera and the face on the corresponding side is judged, the camera on one side close to the face is started, and the camera on the other side is closed.
Further, the method includes the steps of, when only one camera detects the face information, keeping the camera that detects the face information on and closing the camera that does not detect the face information, then:
when the two cameras detect the face information, judging the distance between the camera and the face on the corresponding side, and when the distance is within a set distance range, keeping the camera detecting the face open and closing the other camera; otherwise, the camera detecting the face is closed and the other camera is kept open.
Further, the method includes the steps of, when only one camera detects the face information, keeping the camera that detects the face information on and closing the camera that does not detect the face information, then:
when only one camera detects the face information, detecting the distance between the face and the camera at the corresponding side, and when the distance is within a set distance range, keeping the camera detecting the face open and closing the other camera; otherwise, the camera detecting the face is closed and the other camera is kept open.
Further, the set distance range is 50CM or less, 30CM or more.
Further, the method includes the steps of, when only one camera detects the face information, keeping the camera that detects the face information on and closing the camera that does not detect the face information, then:
the photographing signal is detected and the image is displayed on a screen on which the photographing application is started.
Further, the shooting signal is any one of a pressing signal of an operation area at the edge of the screen and a shooting button clicking signal on the screen for starting a shooting application.
Further, the screen for starting the photographing application is a first screen or a second screen.
In addition, to achieve the above object, the present invention also proposes a mobile terminal including: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor performs the steps of the method of any of the preceding claims.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, on which a camera start program is stored, the camera start program implementing the steps of the camera start method described in any one of the above when executed by a processor.
According to the camera starting method, the mobile terminal and the computer readable storage medium, whether the user needs to perform self-timer or not is judged by recognizing the distance between the camera and the face of the user, if the user needs to perform self-timer, the camera opposite to the face is kept on, the camera can be a front camera or a rear camera, and the other camera is closed, so that the camera of the mobile terminal meets the user requirements more intelligently, operation steps are reduced, and user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a schematic diagram of a wireless communication system of the mobile terminal shown in fig. 1;
FIG. 3 is a schematic flow chart of a method for starting a camera according to the present invention;
fig. 4 is a schematic flow chart of another method for starting a camera according to the present invention;
fig. 5 is a schematic flow chart of a still another method for starting a camera according to the present invention;
fig. 6 is a schematic flow chart of a camera starting method according to another embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 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. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (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 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
Example 1
A first embodiment of the present invention provides a method for starting a camera, as shown in FIG. 3, the method includes the following steps:
s11, detecting a starting signal of a photographing application;
the photographing application is an application program executing a photographing function, the application program calls a camera of the mobile terminal, and a signal for starting the application program is a signal for starting the application program and opening the application program in the foreground.
S12, when receiving a starting signal of a photographing application, opening a front camera and a rear camera to detect face information;
after the photographing application program is started, the cameras on the two sides of the mobile terminal are started in an associated mode and face information is detected.
S13, when only one camera detects the face information, the camera which detects the face information is kept on and the camera which does not detect the face information is closed.
If only one camera of the cameras at the two sides detects a face signal, the camera which detects the face information is directly kept, and the camera at the other side is closed, namely, if the front camera detects the face, the front camera is kept open and the rear camera is closed, and if the rear camera detects the face, the rear camera is kept open and the front camera is closed.
The main advantage of this setting method is that the camera that directly keeps detecting the face signal opens to guarantee no matter what side the user wants to use the camera to carry out the selfie, can directly get into the selfie, and need not the camera and switch over to suitable camera again manually after opening the default camera, consequently for the user who like the selfie in essence, reduced operating procedure, improved user experience.
When only one camera detects the face information, detecting the distance between the face and the camera at the corresponding side, and when the distance is within a set distance range, keeping the camera detecting the face open and closing the other camera; otherwise, the camera detecting the face is closed and the other camera is kept open. The set distance range is less than or equal to 50CM and greater than or equal to 30CM, namely when the distance between the face of the user and the camera of the mobile terminal is between 30CM and 50CM, the camera detecting the face signal is started and the camera on the other side is closed for the optimal distance of self-shooting, and otherwise, the camera detecting the face is closed and the other camera is kept open.
When the mobile terminal is a dual-screen mobile terminal, because both screens can start a photographing program, the imaging display of photographing needs to be selected, so that the system needs to detect a photographing signal and display imaging on the screen of starting a photographing application, namely, on which screen to start the photographing application, and on which screen to display a photograph. The shooting signal is any one of a pressing signal of an operation area at the edge of the screen and a shooting button clicking signal on the screen for starting a shooting application.
The screen for starting the photographing application is a first screen or a second screen. The first screen and the second screen are two screens of the double-screen mobile terminal.
The dual-screen mobile terminal refers to a smart phone having two screens at the same time. The two screens of the double-screen mobile terminal are generally one main screen and the other auxiliary screen, different application programs are respectively displayed, mobile exchange can be carried out on the application programs between the double screens, the main screen and the auxiliary screen are respectively connected with the terminal body through signal bands, and the main screen and the auxiliary screen are in default setting or user setting.
The design purpose of the double-screen mobile terminal is to meet different experience demands of consumers, the operation of the consumers can be facilitated, and the experience interests of the consumers when using the smart phone are improved. In the dual-screen mobile terminal, two screens are independent and display preset function buttons. For example, the dual screen mode may run different applications on two screens of A, B, such as a-screen for phoenix news, B-screen chat. The method well solves the multi-task operation requirement of the current user and omits the back and forth switching between two applications. The main screen is fixedly connected with the terminal body, and the auxiliary screen is connected with the terminal body through a sliding structure. For example, the main screen is in front of the mobile terminal, the auxiliary screen is behind the mobile terminal, the front main screen is fixedly connected with the mobile terminal, the rear auxiliary screen is connected with the mobile terminal body through a sliding structure, and when needed, the auxiliary screen can be slid out of the mobile terminal body, so that a user can see the auxiliary screen on the front side of the mobile terminal, and even the auxiliary screen can be slid to be parallel to the main screen.
The main screen is fixedly connected with the terminal body, and the auxiliary screen is connected with the terminal body through a folding structure. For example, the main screen is fixedly connected with the mobile terminal body in front, and the auxiliary screen is connected with the side surface of the mobile terminal through a flexible connecting component or in a hinged mode, and can be arranged on the main screen to be overlapped with the main screen after being folded, and can also be arranged on the back of the mobile terminal to be overlapped with the back of the mobile terminal. When needed, the auxiliary screen is unfolded at the side of the mobile terminal, so that a user can watch the main screen and the auxiliary screen simultaneously.
The main screen and the auxiliary screen can be both in sliding connection with the mobile terminal body, for example, the main screen is connected with the mobile terminal body through a sliding structure, the auxiliary screen is also connected with the mobile terminal body through a sliding structure, the main screen and the auxiliary screen can be simultaneously arranged on the front surface of the mobile terminal, the main screen can also be arranged on the front surface of the terminal, and the auxiliary screen is arranged on the back surface of the mobile terminal.
The sliding structure is a sliding rail and a sliding block embedded on the sliding rail, and the sliding rail and the sliding block are respectively arranged on the mobile terminal body and the screen.
The main screen is fixedly connected with the mobile terminal, the auxiliary screen is connected with the main screen through a rotary folding structure, for example, the auxiliary screen is connected with the main screen through a rotary folding structure, the auxiliary screen can be unfolded in a rotary mode, can be folded on the main screen in a rotary mode and is overlapped with the main screen, and the rotary folding structure is arranged above, below or on the left side and the right side of the main screen.
When a user uses an application program on any one screen of the mobile terminal, the screen being used is a first screen, and the rest of the screens are on a second screen. The first screen and the second screen are relative concepts and the first screen may be a primary screen or a secondary screen.
According to the camera starting method, the camera which needs to perform self-shooting is judged by automatically identifying the facial information of the user, and then the camera which detects the facial signal is kept on and the camera which does not detect the facial signal is kept off, so that the switching times of the camera in self-shooting are reduced, and the user experience is improved.
Example two
A second embodiment of the present invention provides a method for starting a camera, as shown in FIG. 4, the method includes the following steps:
s21, detecting a starting signal of a photographing application;
s22, when receiving a starting signal of a photographing application, opening a front camera and a rear camera to detect face information;
s23, when the two cameras detect the face information, judging the distance between the camera and the face on the corresponding side, starting the camera on the side close to the face, and closing the camera on the other side.
Because the mobile terminal is in different environments when photographing, when the two-side cameras of the mobile terminal are opened to detect face signals, the two-side cameras can detect the face signals, the mobile terminal needs to identify whether a user needs to photograph other people or not currently, and the mobile terminal preferentially identifies the self-photographing requirement of the user, so that the face signals are detected, the camera on one side close to the face is opened, the camera on the other side is closed, and when the user needs to photograph other people, the camera is switched.
According to the camera starting method, through automatic recognition of facial information of a user, if faces are detected on two sides, the camera with the camera close to the face is judged and kept on, and the camera with the camera far from the face is closed, so that the user requirement of self-shooting is preferably met.
Example III
A third embodiment of the present invention provides a method for starting a camera, as shown in FIG. 5, the method includes the following steps:
s31, detecting a starting signal of a photographing application;
s32, when receiving a starting signal of a photographing application, opening a front camera and a rear camera to detect face information;
s33, when only one camera detects the face information, the camera which detects the face information is kept on and the camera which does not detect the face information is closed;
when one camera detects a face signal, the camera is preferentially responded to be opened and the other side camera is closed based on the design concept of preferentially responding to the self-timer.
S34, when the two cameras detect the face information, judging the distance between the camera and the corresponding side face, and when the distance is within a set distance range, keeping the camera detecting the face open and closing the other camera; otherwise, the camera detecting the face is closed and the other camera is kept open.
The set distance range is less than or equal to 50CM and greater than or equal to 30CM; when the mobile terminal is a dual-screen mobile terminal, it is necessary to identify whether the screen on which the photographing application is started is a first screen or a second screen, and display the photographed picture on the first screen or the second screen on which the photographing application is started, so that it is necessary to detect a photographing signal and display an image on the screen on which the photographing application is started. The shooting signal is any one of a pressing signal of an operation area at the edge of the screen and a shooting button clicking signal on the screen for starting a shooting application.
The screen for starting the photographing application is a first screen or a second screen. The first screen and the second screen are
The dual-screen mobile terminal refers to a smart phone having two screens at the same time. The two screens of the double-screen mobile terminal are generally one main screen and the other auxiliary screen, different application programs are respectively displayed, mobile exchange can be carried out on the application programs between the double screens, the main screen and the auxiliary screen are respectively connected with the terminal body through signal bands, and the main screen and the auxiliary screen are in default setting or user setting.
The design purpose of the double-screen mobile terminal is to meet different experience demands of consumers, the operation of the consumers can be facilitated, and the experience interests of the consumers when using the smart phone are improved. In the dual-screen mobile terminal, two screens are independent and display preset function buttons. For example, the dual screen mode may run different applications on two screens of A, B, such as a-screen for phoenix news, B-screen chat. The method well solves the multi-task operation requirement of the current user and omits the back and forth switching between two applications. The main screen is fixedly connected with the terminal body, and the auxiliary screen is connected with the terminal body through a sliding structure. For example, the main screen is in front of the mobile terminal, the auxiliary screen is behind the mobile terminal, the front main screen is fixedly connected with the mobile terminal, the rear auxiliary screen is connected with the mobile terminal body through a sliding structure, and when needed, the auxiliary screen can be slid out of the mobile terminal body, so that a user can see the auxiliary screen on the front side of the mobile terminal, and even the auxiliary screen can be slid to be parallel to the main screen.
The main screen is fixedly connected with the terminal body, and the auxiliary screen is connected with the terminal body through a folding structure. For example, the main screen is fixedly connected with the mobile terminal body in front, and the auxiliary screen is connected with the side surface of the mobile terminal through a flexible connecting component or in a hinged mode, and can be arranged on the main screen to be overlapped with the main screen after being folded, and can also be arranged on the back of the mobile terminal to be overlapped with the back of the mobile terminal. When needed, the auxiliary screen is unfolded at the side of the mobile terminal, so that a user can watch the main screen and the auxiliary screen simultaneously.
The main screen and the auxiliary screen can be both in sliding connection with the mobile terminal body, for example, the main screen is connected with the mobile terminal body through a sliding structure, the auxiliary screen is also connected with the mobile terminal body through a sliding structure, the main screen and the auxiliary screen can be simultaneously arranged on the front surface of the mobile terminal, the main screen can also be arranged on the front surface of the terminal, and the auxiliary screen is arranged on the back surface of the mobile terminal.
The sliding structure is a sliding rail and a sliding block embedded on the sliding rail, and the sliding rail and the sliding block are respectively arranged on the mobile terminal body and the screen.
The main screen is fixedly connected with the mobile terminal, the auxiliary screen is connected with the main screen through a rotary folding structure, for example, the auxiliary screen is connected with the main screen through a rotary folding structure, the auxiliary screen can be unfolded in a rotary mode, can be folded on the main screen in a rotary mode and is overlapped with the main screen, and the rotary folding structure is arranged above, below or on the left side and the right side of the main screen.
When a user uses an application program on any one screen of the mobile terminal, the screen being used is a first screen, and the rest of the screens are on a second screen. The first screen and the second screen are relative concepts and the first screen may be a primary screen or a secondary screen.
According to the camera starting method, the face signals are recognized, the distance between the camera and the face is recognized, the camera on one side of the face and the mobile terminal, which is kept in the camera shooting range, is kept open, the camera on the other side is closed, the self-shooting requirement of a user is intelligently recognized, and the user experience is improved.
Implement four
A fourth embodiment of the present invention provides a method for starting a camera, as shown in fig. 6, the method includes the following steps:
s41, detecting a starting signal of a photographing application;
s42, when receiving a starting signal of a photographing application, opening a front camera and a rear camera to detect face information;
s43, when only one camera detects the face information, the camera which detects the face information is kept on and the camera which does not detect the face information is closed;
s44, detecting a shooting signal and displaying imaging on a screen of a shooting application.
The shooting signal is any one of a pressing signal of an operation area at the edge of the screen and a shooting button clicking signal on the screen for starting a shooting application. The screen for starting the photographing application is a first screen or a second screen, and the photographed picture is displayed on the first screen or the second screen for starting the photographing application. The first screen or the second screen is two screens of the double-screen mobile terminal.
The dual-screen mobile terminal refers to a smart phone having two screens at the same time. The two screens of the double-screen mobile terminal are generally one main screen and the other auxiliary screen, different application programs are respectively displayed, mobile exchange can be carried out on the application programs between the double screens, the main screen and the auxiliary screen are respectively connected with the terminal body through signal bands, and the main screen and the auxiliary screen are in default setting or user setting.
The design purpose of the double-screen mobile terminal is to meet different experience demands of consumers, the operation of the consumers can be facilitated, and the experience interests of the consumers when using the smart phone are improved. In the dual-screen mobile terminal, two screens are independent and display preset function buttons. For example, the dual screen mode may run different applications on two screens of A, B, such as a-screen for phoenix news, B-screen chat. The method well solves the multi-task operation requirement of the current user and omits the back and forth switching between two applications. The main screen is fixedly connected with the terminal body, and the auxiliary screen is connected with the terminal body through a sliding structure. For example, the main screen is in front of the mobile terminal, the auxiliary screen is behind the mobile terminal, the front main screen is fixedly connected with the mobile terminal, the rear auxiliary screen is connected with the mobile terminal body through a sliding structure, and when needed, the auxiliary screen can be slid out of the mobile terminal body, so that a user can see the auxiliary screen on the front side of the mobile terminal, and even the auxiliary screen can be slid to be parallel to the main screen.
The main screen is fixedly connected with the terminal body, and the auxiliary screen is connected with the terminal body through a folding structure. For example, the main screen is fixedly connected with the mobile terminal body in front, and the auxiliary screen is connected with the side surface of the mobile terminal through a flexible connecting component or in a hinged mode, and can be arranged on the main screen to be overlapped with the main screen after being folded, and can also be arranged on the back of the mobile terminal to be overlapped with the back of the mobile terminal. When needed, the auxiliary screen is unfolded at the side of the mobile terminal, so that a user can watch the main screen and the auxiliary screen simultaneously.
The main screen and the auxiliary screen can be both in sliding connection with the mobile terminal body, for example, the main screen is connected with the mobile terminal body through a sliding structure, the auxiliary screen is also connected with the mobile terminal body through a sliding structure, the main screen and the auxiliary screen can be simultaneously arranged on the front surface of the mobile terminal, the main screen can also be arranged on the front surface of the terminal, and the auxiliary screen is arranged on the back surface of the mobile terminal.
The sliding structure is a sliding rail and a sliding block embedded on the sliding rail, and the sliding rail and the sliding block are respectively arranged on the mobile terminal body and the screen.
The main screen is fixedly connected with the mobile terminal, the auxiliary screen is connected with the main screen through a rotary folding structure, for example, the auxiliary screen is connected with the main screen through a rotary folding structure, the auxiliary screen can be unfolded in a rotary mode, can be folded on the main screen in a rotary mode and is overlapped with the main screen, and the rotary folding structure is arranged above, below or on the left side and the right side of the main screen.
When a user uses an application program on any one screen of the mobile terminal, the screen being used is a first screen, and the rest of the screens are on a second screen. The first screen and the second screen are relative concepts and the first screen may be a primary screen or a secondary screen.
According to the camera starting method, the distance between the camera and the face and the screen for starting the photographing application are recognized, the camera on the other side of the face and the mobile terminal, which is kept in the photographing range, is kept open, the camera on the other side of the face and the mobile terminal is closed, the photographed picture is displayed on the screen for starting photographing, the self-photographing requirement of a user is intelligently recognized, and the user experience is improved.
Example five
A fifth embodiment of the present invention provides a mobile terminal having a structure as the mobile terminal 100 shown in fig. 1, including: a memory 109, a processor 110 and a computer program stored on the memory 109 and executable on the processor 110, which when executed by the processor, performs the steps of the method of any one of the first, second, third and fourth embodiments.
Example six
A sixth embodiment of the present invention provides a computer readable storage medium, where a camera start program is stored, where the camera start program, when executed by a processor, implements the steps of the camera start method described in any one of the first embodiment, the second embodiment, the third embodiment, and the fourth embodiment.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Claims (7)
1. A camera start-up method, the method comprising the steps of:
detecting a starting signal of a photographing application;
when receiving a starting signal of a photographing application, opening a front camera and a rear camera to detect face information;
when only one camera detects the face information, detecting the distance between the face and the camera at the corresponding side, and when the distance is within a set distance range, keeping the camera detecting the face open and closing the other camera; otherwise, closing the camera which detects the face and keeping the other camera open;
when the two cameras detect the face information, judging the distance between the camera and the face on the corresponding side, and when the distance is within a set distance range, keeping the camera detecting the face open and closing the other camera; otherwise, the camera detecting the face is closed and the other camera is kept open.
2. The camera starting method according to claim 1, wherein the set distance range is 50CM or less and 30CM or more.
3. The camera start-up method of claim 1, wherein the photographing signal is detected and the image is displayed on a screen on which the photographing application is started.
4. A camera starting method according to claim 3, wherein the shooting signal is any one of a pressing signal of an edge operation area of a screen and a shooting button click signal on the screen for starting a shooting application.
5. The camera startup method according to claim 4, wherein the screen on which the photographing application is started is a first screen or a second screen.
6. A mobile terminal, the mobile terminal comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method according to any one of claims 1 to 5.
7. A computer readable storage medium, wherein a camera start-up program is stored on the computer readable storage medium, which when executed by a processor, implements the steps of the camera start-up method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711462585.9A CN108197554B (en) | 2017-12-28 | 2017-12-28 | Camera starting method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711462585.9A CN108197554B (en) | 2017-12-28 | 2017-12-28 | Camera starting method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108197554A CN108197554A (en) | 2018-06-22 |
CN108197554B true CN108197554B (en) | 2023-06-02 |
Family
ID=62585677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711462585.9A Active CN108197554B (en) | 2017-12-28 | 2017-12-28 | Camera starting method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108197554B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109286720A (en) * | 2018-08-01 | 2019-01-29 | 维沃移动通信有限公司 | A kind of the main screen selection method and device of multi-screen mobile terminal |
CN109819168B (en) * | 2019-01-31 | 2020-09-01 | 维沃移动通信有限公司 | Camera starting method and mobile terminal |
CN112752012A (en) * | 2019-10-30 | 2021-05-04 | 珠海市魅族科技有限公司 | Camera starting method and device, electronic equipment and storage medium |
CN111526232B (en) * | 2020-05-13 | 2021-07-06 | 青岛海信移动通信技术股份有限公司 | Camera control method based on double-screen terminal and double-screen terminal |
CN111787228A (en) * | 2020-07-23 | 2020-10-16 | 惠州Tcl移动通信有限公司 | Shooting method, shooting device, storage medium and mobile terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014071840A1 (en) * | 2012-11-12 | 2014-05-15 | 小米科技有限责任公司 | Method and device for taking photo and video |
CN104168418A (en) * | 2014-06-30 | 2014-11-26 | 宇龙计算机通信科技(深圳)有限公司 | Image acquisition device, image acquisition method and terminal |
CN106550194A (en) * | 2016-12-26 | 2017-03-29 | 珠海格力电器股份有限公司 | Photographing method and device and mobile terminal |
CN106803891A (en) * | 2017-03-13 | 2017-06-06 | 奇酷互联网络科技(深圳)有限公司 | Control the method and mobile terminal of camera |
CN107124558A (en) * | 2017-06-06 | 2017-09-01 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and its photographic method |
CN107277427A (en) * | 2017-05-16 | 2017-10-20 | 广州视源电子科技股份有限公司 | Method and device for automatically selecting camera picture and audio/video system |
CN107368150A (en) * | 2017-06-30 | 2017-11-21 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135350A (en) * | 2017-03-31 | 2017-09-05 | 宇龙计算机通信科技(深圳)有限公司 | Image pickup method, filming apparatus and terminal |
CN107124552A (en) * | 2017-05-26 | 2017-09-01 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer-readable recording medium |
-
2017
- 2017-12-28 CN CN201711462585.9A patent/CN108197554B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014071840A1 (en) * | 2012-11-12 | 2014-05-15 | 小米科技有限责任公司 | Method and device for taking photo and video |
CN104168418A (en) * | 2014-06-30 | 2014-11-26 | 宇龙计算机通信科技(深圳)有限公司 | Image acquisition device, image acquisition method and terminal |
CN106550194A (en) * | 2016-12-26 | 2017-03-29 | 珠海格力电器股份有限公司 | Photographing method and device and mobile terminal |
CN106803891A (en) * | 2017-03-13 | 2017-06-06 | 奇酷互联网络科技(深圳)有限公司 | Control the method and mobile terminal of camera |
CN107277427A (en) * | 2017-05-16 | 2017-10-20 | 广州视源电子科技股份有限公司 | Method and device for automatically selecting camera picture and audio/video system |
CN107124558A (en) * | 2017-06-06 | 2017-09-01 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and its photographic method |
CN107368150A (en) * | 2017-06-30 | 2017-11-21 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108197554A (en) | 2018-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108197554B (en) | Camera starting method, mobile terminal and computer readable storage medium | |
CN112004173B (en) | Bluetooth headset switching method, mobile terminal and computer readable storage medium | |
CN108989552B (en) | Screen lighting method, dual-screen mobile terminal and computer-readable storage medium | |
CN108512625B (en) | Anti-interference method for camera, mobile terminal and storage medium | |
CN108958936B (en) | Application program switching method, mobile terminal and computer readable storage medium | |
CN109886228B (en) | Optical fingerprint unlocking device and mobile terminal | |
CN109890022B (en) | Data transmission control method, mobile terminal and computer readable storage medium | |
CN107566734B (en) | Intelligent control method, terminal and computer readable storage medium for portrait photographing | |
CN109144705B (en) | Application management method, mobile terminal and computer readable storage medium | |
CN109471579B (en) | Terminal screen information layout adjustment method and device, mobile terminal and storage medium | |
CN109542325B (en) | Double-sided screen touch method, double-sided screen terminal and readable storage medium | |
CN112000410B (en) | Screen projection control method, device and computer readable storage medium | |
CN112040065A (en) | Holding state prompting method, mobile terminal and computer storage medium | |
CN109389394B (en) | Multi-screen payment control method, equipment and computer readable storage medium | |
CN109711830B (en) | Quick display method and device for two-dimension code payment, mobile terminal and storage medium | |
CN112888084B (en) | Full-band communication method and device and mobile terminal | |
CN109684020B (en) | Theme switching method, device and computer readable storage medium | |
CN109711850B (en) | Secure payment method, device and computer readable storage medium | |
CN107728789B (en) | Starting method of one-hand operation mode, terminal and storage medium | |
CN116301380A (en) | Display method, foldable device and storage medium | |
CN112578978B (en) | Window switching control method, device and computer readable storage medium | |
CN112887195B (en) | Voice calling method, voice calling device and computer readable storage medium | |
CN112947831B (en) | Screen-throwing reverse control method, mobile terminal and computer readable storage medium | |
CN115277922A (en) | Processing method, intelligent terminal and storage medium | |
CN110087013B (en) | Video chat method, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |