CN106713757B - Shooting control method and mobile terminal - Google Patents

Shooting control method and mobile terminal Download PDF

Info

Publication number
CN106713757B
CN106713757B CN201611262661.7A CN201611262661A CN106713757B CN 106713757 B CN106713757 B CN 106713757B CN 201611262661 A CN201611262661 A CN 201611262661A CN 106713757 B CN106713757 B CN 106713757B
Authority
CN
China
Prior art keywords
mobile terminal
change value
induction coil
inductance change
shooting
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
Application number
CN201611262661.7A
Other languages
Chinese (zh)
Other versions
CN106713757A (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611262661.7A priority Critical patent/CN106713757B/en
Publication of CN106713757A publication Critical patent/CN106713757A/en
Application granted granted Critical
Publication of CN106713757B publication Critical patent/CN106713757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/663Remote control of cameras or camera parts, e.g. by remote control devices for controlling interchangeable camera parts based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

A method for controlling photographing and a mobile terminal, the method comprising: when the mobile terminal is detected to be in a shooting mode, detecting whether the mobile terminal is in a cross-screen shooting mode or not through a set induction coil; when the mobile terminal is detected to be in a horizontal screen shooting mode, acquiring an inductance change value of the held mobile terminal through a set induction coil; determining a shooting instruction corresponding to the obtained inductance change value; and controlling the mobile terminal to execute the operation corresponding to the determined shooting instruction. The embodiment of the invention avoids the defects of mechanical keys and improves the user experience.

Description

Shooting control method and mobile terminal
Technical Field
The present invention relates to, but not limited to, intelligent terminal technologies, and in particular, to a method for controlling shooting and a mobile terminal.
Background
When a user needs to shoot in a transverse screen shooting mode of the mobile terminal, the mobile terminal firstly needs to be switched to the transverse screen shooting mode by means of data acquired by a gyroscope sensor and a gravity sensor, and then shooting is carried out according to the operation of the user on a mechanical key (a power key or a volume adding key).
Because the waterproof, dustproof effect of mechanical button is not good, consequently, even shoot with the help of mechanical button also can't bring better experience for the user.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a method for controlling shooting and a mobile terminal, which can avoid the defect of mechanical key pressing and improve user experience.
In order to achieve the object of the present application, an embodiment of the present invention provides a mobile terminal, including: the device comprises a detection module, a processing module, a determination module and a control module; wherein,
the detection module is used for notifying the processing module when the mobile terminal to which the detection module belongs is in a shooting mode;
the processing module is used for receiving the notification from the detection module and detecting whether the mobile terminal to which the processing module belongs is in a transverse screen shooting mode or not through the arranged induction coil; when the mobile terminal to which the mobile terminal belongs is detected to be in a horizontal screen shooting mode, acquiring an inductance change value of the held mobile terminal to which the mobile terminal belongs through a set induction coil;
the determining module is used for determining a shooting instruction corresponding to the obtained inductance change value;
and the control module is used for controlling the mobile terminal to which the control module belongs to execute the operation corresponding to the determined shooting instruction.
Optionally, the mobile terminal further includes a preset module, configured to set a plurality of induction coils inside a metal frame of the mobile terminal to which the preset module belongs.
Optionally, the step of detecting, by the processing module, whether the mobile terminal to which the processing module belongs is in the landscape shooting mode by using the set induction coil includes:
acquiring an inductance change value touching each set induction coil within a preset time length;
comparing the obtained inductance change value of each induction coil with a preset effective threshold value;
when the obtained inductance change value of the induction coil is larger than or equal to the preset effective threshold value, acquiring the position information of the induction coil;
forming the obtained position information of all the induction coils into distribution information of the induction coils during holding, and matching the distribution information with preset transverse screen shooting mode matching information;
and when the matching is passed, determining that the mobile terminal of the mobile terminal is in the transverse screen shooting mode.
Optionally, the mobile terminal further includes a setting storage module, configured to preset and store the landscape shooting mode matching information.
Optionally, the mobile terminal further includes a setting module, configured to set a correspondence between different inductance variation value ranges and the shooting instruction; accordingly, the number of the first and second electrodes,
the determining module is specifically configured to:
determining the range of the inductance change value where the obtained inductance change value is located;
searching a shooting instruction corresponding to the determined inductance change value range in the corresponding relation;
taking the found shooting instruction as a shooting instruction corresponding to the obtained inductance change value;
wherein the shooting instruction includes: focusing or shooting.
The embodiment of the invention also provides a method for controlling shooting, which comprises the following steps:
when the mobile terminal is detected to be in a shooting mode, detecting whether the mobile terminal is in a cross-screen shooting mode or not through a set induction coil;
when the mobile terminal is detected to be in a horizontal screen shooting mode, acquiring an inductance change value of the held mobile terminal through a set induction coil;
determining a shooting instruction corresponding to the obtained inductance change value;
and controlling the mobile terminal to execute the operation corresponding to the determined shooting instruction.
Optionally, the method further comprises, before: and arranging a plurality of induction coils on the inner side of the metal frame of the mobile terminal.
Optionally, the detecting, by the set induction coil, whether the mobile terminal is in the landscape shooting mode includes:
acquiring an inductance change value touching each set induction coil within a preset time length;
comparing the obtained inductance change value of each induction coil with a preset effective threshold value;
when the obtained inductance change value of the induction coil is larger than or equal to the preset effective threshold value, acquiring the position information of the induction coil;
forming the obtained position information of all the induction coils into distribution information of the induction coils during holding, and matching the distribution information with preset transverse screen shooting mode matching information;
and when the matching is passed, determining that the mobile terminal is in a transverse screen shooting mode.
Optionally, before the matching the distribution information with the preset cross-screen shooting mode matching information, the method further includes: and presetting and storing the matching information of the horizontal screen shooting mode.
Optionally, before determining the shooting instruction corresponding to the obtained inductance change value, after obtaining the inductance change value held by the mobile terminal through the set induction coil, the method further includes: setting corresponding relations between different inductance variation value ranges and shooting instructions; accordingly, the number of the first and second electrodes,
the determining of the shooting instruction corresponding to the obtained inductance change value includes:
determining the range of the inductance change value where the obtained inductance change value is located;
searching a shooting instruction corresponding to the determined inductance change value range in the corresponding relation;
taking the found shooting instruction as a shooting instruction corresponding to the obtained inductance change value;
wherein the shooting instruction includes: focusing or shooting.
Compared with the related art, the technical scheme of the application comprises the following steps: when the mobile terminal is detected to be in a shooting mode, detecting whether the mobile terminal is in a cross-screen shooting mode or not through a set induction coil; when the mobile terminal is detected to be in a horizontal screen shooting mode, acquiring an inductance change value of the held mobile terminal through a set induction coil; determining a shooting instruction corresponding to the obtained inductance change value; and controlling the mobile terminal to execute the operation corresponding to the determined shooting instruction. The embodiment of the invention avoids the defects of mechanical keys and improves the user experience.
Other aspects will be apparent upon reading and understanding the attached drawings and detailed description.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a schematic diagram of the operating principle of an induction coil according to an embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of the position distribution of the induction coil according to the embodiment of the present invention;
FIG. 5 is a schematic diagram of a human-machine interface implemented in accordance with the present invention;
FIG. 6 is a flowchart of a method for controlling photographing according to an embodiment of the present invention;
fig. 7 is a flowchart of a method of controlling photographing according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
A mobile terminal implementing various embodiments of the present application will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art 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 moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present application.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) Data broadcasting systemA digital broadcasting system of terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 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 audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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 identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 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 and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present application can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
Based on the above mobile terminal hardware structure, various embodiments of the present application are provided.
An Alternating Current (AC) magnetic field is generated when an AC current flows through the inductor. If a conductive material, such as a piece of metal, is placed near the inductor, circulating currents (eddy currents) are induced on the surface of the conductor under the influence of the magnetic field. As shown in fig. 2, the eddy current generated is a function of the size of the conductor and the distance from the induction coil, and the magnetic field generated by the eddy current itself will oppose the magnetic field generated by the induction coil, which effect is equivalent to a set of coupled inductances, where the induction coil inductance is the primary inductance and the eddy current in the conductor represents the secondary inductance. Wherein the coupling relationship between the two inductances is a function of the inductance of the induction coil and the resistivity, distance, size and shape of the proximity conductor, wherein the resistance and inductance of the secondary inductance caused by eddy currents can be modeled as resistance and inductance components related to the distance on the primary side (induction coil). In accordance with the above principle, the present inventors have found that if the induction coil is disposed inside the metal bezel of the mobile terminal, the coupled inductance effect as described above is formed. When external force touches the frame/rear cover at the corresponding position of the induction coil, the frame/rear cover can generate micro deformation, the deformation can lead d in the equivalent model to be reduced, due to the coupling inductance effect, the primary inductance and the secondary inductance can be changed, the change of the primary inductance can be fed back through the induction coil, and the touch operation of the external force can be identified.
Fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention, as shown in fig. 3, including: a detection module 30, a processing module 31, a determination module 32 and a control module 33. Wherein,
a detection module 30, configured to notify the processing module 31 when detecting that the mobile terminal to which the mobile terminal belongs is in the shooting mode.
The processing module 31 is configured to receive the notification from the detecting module 30, and detect whether the mobile terminal to which the processing module belongs is in the landscape shooting mode through the set induction coil; when the mobile terminal to which the mobile terminal belongs is detected to be in the transverse screen shooting mode, the inductance change value of the held mobile terminal to which the mobile terminal belongs is obtained through the set induction coil.
In practical applications, the processing module 31 may include one or more inductance-to-digital converters (digital converters for Inductive Sensing) and one or more induction coils connected to each inductance-to-digital converter; the inductance digital converter reads inductance change values of one or more induction coils connected with the inductance digital converter and converts the read inductance change values into voltage or current, so that whether the mobile terminal to which the inductance digital converter belongs is in a cross-screen shooting mode or not is determined, and the inductance change value held by the mobile terminal is obtained. The chip adopted by the inductance-to-digital converter can be an LDC1614 of TI, an LDC1612 or the like. It should be noted that, as long as the inductance digital converter can read the inductance change value of the induction coil connected thereto and convert the read inductance change value into a voltage or a current (which can be recognized by the processor), the description is omitted.
And a determining module 32, configured to determine a shooting instruction corresponding to the obtained inductance change value.
And the control module 33 is configured to control the mobile terminal to which the mobile terminal belongs to execute an operation corresponding to the determined shooting instruction.
Optionally, the mobile terminal according to the embodiment of the present invention further includes a preset module 34, configured to set a plurality of induction coils inside a metal frame of the mobile terminal to which the preset module belongs.
Here, the induction coil is set in the embodiment of the present invention, which is mainly used for determining whether the mobile terminal is in the landscape shooting mode, so that the distribution setting of the induction coil can be performed based on the holding habit of the user.
As shown in fig. 4, a schematic diagram of the position distribution of the induction coils provided in the embodiment of the present invention includes the induction coils provided in a linear uniform arrangement manner at the upper end and the lower end of the inner side of the left frame of the mobile terminal, and the induction coils provided in a linear uniform arrangement manner at the upper end and the lower end of the inner side of the right frame of the mobile terminal.
It should be noted that, in the embodiment of the present invention, the upper end portion and the lower end portion of the inner side of the left frame of the mobile terminal refer to the top and the bottom of the left frame of the mobile terminal, respectively, and the upper end portion and the lower end portion of the inner side of the right frame of the mobile terminal refer to the top and the bottom of the right frame of the mobile terminal, respectively.
As shown in fig. 4, the upper end portion of the inner side of the right frame of the mobile terminal according to the embodiment of the present invention includes a region (a region within a dashed-line frame) whose distance from the upper frame of the mobile terminal is less than or equal to a preset length; the upper end part of the inner side of the left frame of the mobile terminal comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length; the lower end part of the inner side of the right frame of the mobile terminal comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length; the lower end part of the inner side of the left frame of the mobile terminal in the embodiment of the invention comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length.
The preset length of the embodiment of the invention may be 1 cm, or 1.5 cm, or 2 cm.
The preset length in the embodiment of the present invention may be one length value or different length values; for example, the upper end of the inner side of the right frame of the mobile terminal corresponds to a preset length L1, the upper end of the inner side of the left frame of the mobile terminal corresponds to a preset length L2, the lower end of the inner side of the right frame of the mobile terminal corresponds to a preset length L3, and the lower end of the inner side of the left frame of the mobile terminal corresponds to a preset length L4.
In addition to the above-mentioned arrangement of the induction coils in a straight line and uniform arrangement, one induction coil may be arranged at every preset interval on the upper end portion and the lower end portion of the inner side of the left frame of the mobile terminal, and one induction coil may be arranged at every preset interval on the upper end portion and the lower end portion of the inner side of the right frame of the mobile terminal.
The processing module 31 for detecting whether the mobile terminal to which the processing module belongs is in the landscape shooting mode through the set induction coil includes:
acquiring an inductance change value touching each set induction coil within a preset time length;
comparing the obtained inductance change value of each induction coil with a preset effective threshold value;
when the obtained inductance change value of the induction coil is larger than or equal to a preset effective threshold value, acquiring the position information of the induction coil;
forming the obtained position information of all induction coils into distribution information of the induction coils during holding, and matching the distribution information with preset transverse screen shooting mode matching information;
and when the matching is passed, determining that the mobile terminal of the mobile terminal is in the transverse screen shooting mode.
The preset duration may be a default value set by a system of the mobile terminal, or may be set by a user according to a requirement of the user through a human-computer interface, as shown in fig. 5. For example, 0 second may be set, 10 milliseconds may be set, 25 milliseconds may be set, 50 milliseconds may be set, and 100 milliseconds may be set.
The processing module 31 of the embodiment of the invention compares the obtained inductance change value of each induction coil with the preset effective threshold value, thereby avoiding the problem of false triggering caused by false touch.
The preset effective threshold in the embodiment of the present invention may be one threshold, or each induction coil corresponds to one threshold, for example, N (greater than or equal to 1) induction coils, which are induction coil 1, induction coil 2, induction coil … …, and induction coil N, and the corresponding thresholds are threshold 1, threshold 2, threshold … …, and threshold N in sequence. The data can be correspondingly stored in a table form, as shown in table 1.
Different preset validation thresholds may be set according to the region in which the induction coil is disposed, for example, the induction coil disposed at the lower end portion of the inner side of the left frame corresponds to threshold 1, the induction coil disposed at the upper end portion of the inner side of the left frame corresponds to threshold 2, the induction coil disposed at the lower end portion of the inner side of the right frame corresponds to threshold 3, and the induction coil disposed at the upper end portion of the inner side of the right frame corresponds to threshold 4, as shown in table 2.
Optionally, the mobile terminal according to the embodiment of the present invention further includes a setting storage module 35, configured to preset and store the cross-screen shooting mode matching information.
The transverse screen shooting mode matching information comprises the following information: the lower end of the inner side of the left frame, the upper end of the inner side of the left frame, the lower end of the inner side of the right frame and the upper end of the inner side of the right frame. That is, when the touch operation of the induction coil, which is greater than or equal to the preset effective threshold value, is detected at the lower end part of the inner side of the left frame, the upper end part of the inner side of the left frame, the lower end part of the inner side of the right frame and the upper end part of the inner side of the right frame within the preset time length, the horizontal screen shooting mode is determined.
Optionally, the mobile terminal according to the embodiment of the present invention further includes a setting module 36, configured to set a corresponding relationship between different inductance variation value ranges and a shooting instruction; accordingly, the number of the first and second electrodes,
the determining module 32 is specifically configured to:
determining the range of the inductance change value where the obtained inductance change value is located;
searching a shooting instruction corresponding to the determined inductance change value range in the corresponding relation;
taking the found shooting instruction as a shooting instruction corresponding to the obtained inductance change value;
wherein the shooting instruction includes: focusing or shooting.
The inductance variation value range comprises a first range and a second range; wherein the first range is greater than the second range. The second range can be set to correspond to focusing, and the first range can be set to correspond to shooting; or setting the first range to correspond to focusing and setting the second range to correspond to shooting.
In a preferred embodiment, another apparatus for controlling photographing in the preferred embodiment includes: a presetting module 34, a setting storage module 35, a setting module 36, a detection module 30, a processing module 31, a determination module 32 and a control module 33. Wherein,
the presetting module 34 is configured to set a plurality of induction coils inside a metal frame of the mobile terminal to which the presetting module belongs.
Here, the induction coil is set in the embodiment of the present invention, which is mainly used for determining whether the mobile terminal is in the landscape shooting mode, so that the distribution setting of the induction coil can be performed based on the holding habit of the user.
As shown in fig. 4, a schematic diagram of the position distribution of the induction coils provided in the embodiment of the present invention includes the induction coils provided in a linear uniform arrangement manner at the upper end and the lower end of the inner side of the left frame of the mobile terminal, and the induction coils provided in a linear uniform arrangement manner at the upper end and the lower end of the inner side of the right frame of the mobile terminal.
It should be noted that, in the embodiment of the present invention, the upper end portion and the lower end portion of the inner side of the left frame of the mobile terminal refer to the top and the bottom of the left frame of the mobile terminal, respectively, and the upper end portion and the lower end portion of the inner side of the right frame of the mobile terminal refer to the top and the bottom of the right frame of the mobile terminal, respectively.
As shown in fig. 4, the upper end portion of the inner side of the right frame of the mobile terminal according to the embodiment of the present invention includes a region (a region within a dashed-line frame) whose distance from the upper frame of the mobile terminal is less than or equal to a preset length; the upper end part of the inner side of the left frame of the mobile terminal comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length; the lower end part of the inner side of the right frame of the mobile terminal comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length; the lower end part of the inner side of the left frame of the mobile terminal in the embodiment of the invention comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length.
The preset length of the embodiment of the invention may be 1 cm, or 1.5 cm, or 2 cm.
The preset length in the embodiment of the present invention may be one length value or different length values; for example, the upper end of the inner side of the right frame of the mobile terminal corresponds to a preset length L1, the upper end of the inner side of the left frame of the mobile terminal corresponds to a preset length L2, the lower end of the inner side of the right frame of the mobile terminal corresponds to a preset length L3, and the lower end of the inner side of the left frame of the mobile terminal corresponds to a preset length L4.
In addition to the above-mentioned arrangement of the induction coils in a straight line and uniform arrangement, one induction coil may be arranged at every preset interval on the upper end portion and the lower end portion of the inner side of the left frame of the mobile terminal, and one induction coil may be arranged at every preset interval on the upper end portion and the lower end portion of the inner side of the right frame of the mobile terminal.
And the storage module 35 is arranged and used for presetting and storing the matching information of the horizontal screen shooting mode.
The transverse screen shooting mode matching information comprises the following information: the lower end of the inner side of the left frame, the upper end of the inner side of the left frame, the lower end of the inner side of the right frame and the upper end of the inner side of the right frame. That is, when the touch operation of the induction coil, which is greater than or equal to the preset effective threshold value, is detected at the lower end part of the inner side of the left frame, the upper end part of the inner side of the left frame, the lower end part of the inner side of the right frame and the upper end part of the inner side of the right frame within the preset time length, the horizontal screen shooting mode is determined.
And the setting module 36 is used for setting the corresponding relation between different inductance change value ranges and shooting instructions.
Wherein the shooting instruction includes: focusing or shooting.
The inductance variation value range comprises a first range and a second range; wherein the first range is greater than the second range. The second range can be set to correspond to focusing, and the first range can be set to correspond to shooting; or setting the first range to correspond to focusing and setting the second range to correspond to shooting.
A detection module 30, configured to notify the processing module 31 when detecting that the mobile terminal to which the mobile terminal belongs is in the shooting mode.
The processing module 31 is configured to receive the notification from the detecting module 30, and detect whether the mobile terminal to which the processing module belongs is in the landscape shooting mode through the set induction coil; when the mobile terminal to which the mobile terminal belongs is detected to be in the transverse screen shooting mode, the inductance change value of the held mobile terminal to which the mobile terminal belongs is obtained through the set induction coil.
The processing module 31 for detecting whether the mobile terminal to which the processing module belongs is in the landscape shooting mode through the set induction coil includes:
acquiring an inductance change value touching each set induction coil within a preset time length;
comparing the obtained inductance change value of each induction coil with a preset effective threshold value;
when the obtained inductance change value of the induction coil is larger than or equal to a preset effective threshold value, acquiring the position information of the induction coil;
forming the obtained position information of all induction coils into distribution information of the induction coils during holding, and matching the distribution information with preset transverse screen shooting mode matching information;
and when the matching is passed, determining that the mobile terminal of the mobile terminal is in the transverse screen shooting mode.
The preset duration may be a default value set by a system of the mobile terminal, or may be set by a user according to a requirement of the user through a human-computer interface, as shown in fig. 5. For example, 0 second may be set, 10 milliseconds may be set, 25 milliseconds may be set, 50 milliseconds may be set, and 100 milliseconds may be set.
The processing module 31 of the embodiment of the invention compares the obtained inductance change value of each induction coil with the preset effective threshold value, thereby avoiding the problem of false triggering caused by false touch.
The preset effective threshold in the embodiment of the present invention may be one threshold, or each induction coil corresponds to one threshold, for example, N (greater than or equal to 1) induction coils, which are induction coil 1, induction coil 2, induction coil … …, and induction coil N, and the corresponding thresholds are threshold 1, threshold 2, threshold … …, and threshold N in sequence. The data can be correspondingly stored in a table form, as shown in table 1.
Different preset validation thresholds may be set according to the region in which the induction coil is disposed, for example, the induction coil disposed at the lower end portion of the inner side of the left frame corresponds to threshold 1, the induction coil disposed at the upper end portion of the inner side of the left frame corresponds to threshold 2, the induction coil disposed at the lower end portion of the inner side of the right frame corresponds to threshold 3, and the induction coil disposed at the upper end portion of the inner side of the right frame corresponds to threshold 4, as shown in table 2.
And a determining module 32, configured to determine a shooting instruction corresponding to the obtained inductance change value.
The determining module 32 is specifically configured to:
determining the range of the inductance change value where the obtained inductance change value is located;
searching a shooting instruction corresponding to the determined inductance change value range in the corresponding relation;
and taking the searched shooting instruction as a shooting instruction corresponding to the obtained inductance change value.
And the control module 33 is configured to control the mobile terminal to which the mobile terminal belongs to execute an operation corresponding to the determined shooting instruction.
For the mobile terminal shown in fig. 3, the present application provides a corresponding method as shown in fig. 6.
Fig. 6 is a flowchart of a method for controlling shooting according to an embodiment of the present invention, as shown in fig. 6, including:
step 600: when the mobile terminal is detected to be in the shooting mode, whether the mobile terminal is in the transverse screen shooting mode or not is detected through the set induction coil.
Optionally, before the method according to the embodiment of the present invention, the method further includes: a plurality of induction coils are arranged on the inner side of a metal frame of the mobile terminal.
Here, the induction coil is set in the embodiment of the present invention, which is mainly used for determining whether the mobile terminal is in the landscape shooting mode, so that the distribution setting of the induction coil can be performed based on the holding habit of the user.
As shown in fig. 4, a schematic diagram of the position distribution of the induction coils provided in the embodiment of the present invention includes the induction coils provided in a linear uniform arrangement manner at the upper end and the lower end of the inner side of the left frame of the mobile terminal, and the induction coils provided in a linear uniform arrangement manner at the upper end and the lower end of the inner side of the right frame of the mobile terminal.
It should be noted that, in the embodiment of the present invention, the upper end portion and the lower end portion of the inner side of the left frame of the mobile terminal refer to the top and the bottom of the left frame of the mobile terminal, respectively, and the upper end portion and the lower end portion of the inner side of the right frame of the mobile terminal refer to the top and the bottom of the right frame of the mobile terminal, respectively.
As shown in fig. 4, the upper end portion of the inner side of the right frame of the mobile terminal according to the embodiment of the present invention includes a region (a region within a dashed-line frame) whose distance from the upper frame of the mobile terminal is less than or equal to a preset length; the upper end part of the inner side of the left frame of the mobile terminal comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length; the lower end part of the inner side of the right frame of the mobile terminal comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length; the lower end part of the inner side of the left frame of the mobile terminal in the embodiment of the invention comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length.
The preset length of the embodiment of the invention may be 1 cm, or 1.5 cm, or 2 cm.
The preset length in the embodiment of the present invention may be one length value or different length values; for example, the upper end of the inner side of the right frame of the mobile terminal corresponds to a preset length L1, the upper end of the inner side of the left frame of the mobile terminal corresponds to a preset length L2, the lower end of the inner side of the right frame of the mobile terminal corresponds to a preset length L3, and the lower end of the inner side of the left frame of the mobile terminal corresponds to a preset length L4.
In addition to the above-mentioned arrangement of the induction coils in a straight line and uniform arrangement, one induction coil may be arranged at every preset interval on the upper end portion and the lower end portion of the inner side of the left frame of the mobile terminal, and one induction coil may be arranged at every preset interval on the upper end portion and the lower end portion of the inner side of the right frame of the mobile terminal.
The embodiment of the invention, which detects whether the mobile terminal is in the landscape shooting mode through the set induction coil, comprises the following steps:
acquiring an inductance change value touching each set induction coil within a preset time length;
comparing the obtained inductance change value of each induction coil with a preset effective threshold value;
when the obtained inductance change value of the induction coil is larger than or equal to a preset effective threshold value, acquiring the position information of the induction coil;
forming the obtained position information of all induction coils into distribution information of the induction coils during holding, and matching the distribution information with preset transverse screen shooting mode matching information;
and when the matching is passed, determining that the mobile terminal is in a transverse screen shooting mode.
The preset duration may be a default value set by a system of the mobile terminal, or may be set by a user according to a requirement of the user through a human-computer interface, as shown in fig. 5. For example, 0 second may be set, 10 milliseconds may be set, 25 milliseconds may be set, 50 milliseconds may be set, and 100 milliseconds may be set.
According to the embodiment of the invention, the processing module compares the obtained inductance change value of each induction coil with the preset effective threshold value, so that the problem of false triggering caused by false touch is avoided.
The preset effective threshold in the embodiment of the present invention may be one threshold, or each induction coil corresponds to one threshold, for example, N (greater than or equal to 1) induction coils, which are induction coil 1, induction coil 2, induction coil … …, and induction coil N, and the corresponding thresholds are threshold 1, threshold 2, threshold … …, and threshold N in sequence. The data can be correspondingly stored in a table form, as shown in table 1.
For example, the induction coil provided at the lower end portion inside the left frame corresponds to the threshold 1, the induction coil provided at the upper end portion inside the left frame corresponds to the threshold 2, the induction coil provided at the lower end portion inside the right frame corresponds to the threshold 3, and the induction coil provided at the upper end portion inside the right frame corresponds to the threshold 4, as shown in table 2.
Induction coil 1 Threshold value 1
Induction coil 2 Threshold value 2
…… ……
Induction coil N-1 Threshold value N-1
Induction coil N Threshold value N
TABLE 1
The induction coil is arranged in the region Threshold value
Lower end portion of inner side of left frame Threshold value 1
Upper end of inner side of left frame Threshold value 2
Lower end part of inner side of right frame Threshold value 3
Upper end portion of inner side of right frame Threshold value 4
TABLE 2
Optionally, before matching the distribution information with preset cross-screen shooting mode matching information, the method in the embodiment of the present invention further includes: and presetting and storing the matching information of the horizontal screen shooting mode.
The transverse screen shooting mode matching information comprises the following information: the lower end of the inner side of the left frame, the upper end of the inner side of the left frame, the lower end of the inner side of the right frame and the upper end of the inner side of the right frame. That is, when the touch operation of the induction coil, which is greater than or equal to the preset effective threshold value, is detected at the lower end part of the inner side of the left frame, the upper end part of the inner side of the left frame, the lower end part of the inner side of the right frame and the upper end part of the inner side of the right frame within the preset time length, the horizontal screen shooting mode is determined.
Step 601: when the mobile terminal is detected to be in the transverse screen shooting mode, the inductance change value of the held mobile terminal is obtained through the set induction coil.
In practical applications, whether the mobile terminal is in a landscape shooting mode or not and an inductance change value of the held mobile terminal can be obtained through one or more inductance Digital converters (Digital Converter for inductive Sensing) and one or more induction coils connected with each inductance Digital Converter; the inductance digital converter reads inductance change values of one or more induction coils connected with the inductance digital converter and converts the read inductance change values into voltage or current, so that whether the mobile terminal is in a transverse screen shooting mode or not is determined, and the inductance change value held by the mobile terminal is obtained. The chip adopted by the inductance-to-digital converter can be an LDC1614 of TI, an LDC1612 or the like. It should be noted that, as long as the inductance digital converter can read the inductance change value of the induction coil connected thereto and convert the read inductance change value into a voltage or a current (which can be recognized by the processor), the description is omitted.
Step 602: and determining a shooting instruction corresponding to the obtained inductance change value.
Optionally, before determining the shooting instruction corresponding to the obtained inductance change value, after obtaining the inductance change value held by the mobile terminal through the set induction coil, the method in the embodiment of the present invention further includes: setting corresponding relations between different inductance variation value ranges and shooting instructions; accordingly, the number of the first and second electrodes,
determining a photographing instruction corresponding to the obtained inductance change value includes:
determining the range of the inductance change value where the obtained inductance change value is located;
searching a shooting instruction corresponding to the determined inductance change value range in the corresponding relation;
taking the found shooting instruction as a shooting instruction corresponding to the obtained inductance change value;
wherein the shooting instruction includes: focusing or shooting.
The inductance variation value range comprises a first range and a second range; wherein the first range is greater than the second range. The second range can be set to correspond to focusing, and the first range can be set to correspond to shooting; or setting the first range to correspond to focusing and setting the second range to correspond to shooting. It should be noted that the inductance variation values included in the second range are all greater than the preset effective threshold.
Step 603: and controlling the mobile terminal to execute the operation corresponding to the determined shooting instruction.
In this application embodiment, whether the induction coil through setting up detects mobile terminal and is in horizontal screen shooting mode, combines to acquire the inductance variation value that mobile terminal was held through the induction coil who sets up, controls the operation that the shooting instruction that mobile terminal execution determined corresponds to the drawback of mechanical button has been avoided, has promoted user experience.
The present application provides a method corresponding to the mobile terminal in the preferred embodiment, as shown in fig. 7.
Fig. 7 is a flowchart of a method for controlling photographing according to another embodiment of the present invention, as shown in fig. 7, including:
step 700: a plurality of induction coils are arranged on the inner side of a metal frame of the mobile terminal.
Here, the induction coil is set in the embodiment of the present invention, which is mainly used for determining whether the mobile terminal is in the landscape shooting mode, so that the distribution setting of the induction coil can be performed based on the holding habit of the user.
As shown in fig. 4, a schematic diagram of the position distribution of the induction coils provided in the embodiment of the present invention includes the induction coils provided in a linear uniform arrangement manner at the upper end and the lower end of the inner side of the left frame of the mobile terminal, and the induction coils provided in a linear uniform arrangement manner at the upper end and the lower end of the inner side of the right frame of the mobile terminal.
It should be noted that, in the embodiment of the present invention, the upper end portion and the lower end portion of the inner side of the left frame of the mobile terminal refer to the top and the bottom of the left frame of the mobile terminal, respectively, and the upper end portion and the lower end portion of the inner side of the right frame of the mobile terminal refer to the top and the bottom of the right frame of the mobile terminal, respectively.
As shown in fig. 4, the upper end portion of the inner side of the right frame of the mobile terminal according to the embodiment of the present invention includes a region (a region within a dashed-line frame) whose distance from the upper frame of the mobile terminal is less than or equal to a preset length; the upper end part of the inner side of the left frame of the mobile terminal comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length; the lower end part of the inner side of the right frame of the mobile terminal comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length; the lower end part of the inner side of the left frame of the mobile terminal in the embodiment of the invention comprises a region (a region in a dashed line frame) with the distance from the upper frame of the mobile terminal being less than or equal to the preset length.
The preset length of the embodiment of the invention may be 1 cm, or 1.5 cm, or 2 cm.
The preset length in the embodiment of the present invention may be one length value or different length values; for example, the upper end of the inner side of the right frame of the mobile terminal corresponds to a preset length L1, the upper end of the inner side of the left frame of the mobile terminal corresponds to a preset length L2, the lower end of the inner side of the right frame of the mobile terminal corresponds to a preset length L3, and the lower end of the inner side of the left frame of the mobile terminal corresponds to a preset length L4.
In addition to the above-mentioned arrangement of the induction coils in a straight line and uniform arrangement, one induction coil may be arranged at every preset interval on the upper end portion and the lower end portion of the inner side of the left frame of the mobile terminal, and one induction coil may be arranged at every preset interval on the upper end portion and the lower end portion of the inner side of the right frame of the mobile terminal.
Step 701: and presetting and storing the matching information of the horizontal screen shooting mode.
The transverse screen shooting mode matching information comprises the following information: the lower end of the inner side of the left frame, the upper end of the inner side of the left frame, the lower end of the inner side of the right frame and the upper end of the inner side of the right frame. That is, when the touch operation of the induction coil, which is greater than or equal to the preset effective threshold value, is detected at the lower end part of the inner side of the left frame, the upper end part of the inner side of the left frame, the lower end part of the inner side of the right frame and the upper end part of the inner side of the right frame within the preset time length, the horizontal screen shooting mode is determined.
Step 702: and setting corresponding relations between different inductance change value ranges and shooting instructions.
Wherein the shooting instruction includes: focusing or shooting.
The inductance variation value range comprises a first range and a second range; wherein the first range is greater than the second range. The second range can be set to correspond to focusing, and the first range can be set to correspond to shooting; or setting the first range to correspond to focusing and setting the second range to correspond to shooting. It should be noted that the inductance variation values included in the second range are all greater than the preset effective threshold.
Step 703: whether the mobile terminal is in a photographing mode is detected. When detecting that the mobile terminal is in the shooting mode, proceeding to step 704; otherwise, step 703 is continued.
Step 704: whether the mobile terminal is in a transverse screen shooting mode or not is detected through the arranged induction coil. When detecting that the mobile terminal is in the landscape shooting mode, turning to step 705; otherwise, the flow is ended.
The embodiment of the invention, which detects whether the mobile terminal is in the landscape shooting mode through the set induction coil, comprises the following steps:
acquiring an inductance change value touching each set induction coil within a preset time length;
comparing the obtained inductance change value of each induction coil with a preset effective threshold value;
when the obtained inductance change value of the induction coil is larger than or equal to a preset effective threshold value, acquiring the position information of the induction coil;
forming the obtained position information of all induction coils into distribution information of the induction coils during holding, and matching the distribution information with preset transverse screen shooting mode matching information;
and when the matching is passed, determining that the mobile terminal is in a transverse screen shooting mode.
The preset duration may be a default value set by a system of the mobile terminal, or may be set by a user according to a requirement of the user through a human-computer interface, as shown in fig. 5. For example, 0 second may be set, 10 milliseconds may be set, 25 milliseconds may be set, 50 milliseconds may be set, and 100 milliseconds may be set.
According to the embodiment of the invention, the processing module compares the obtained inductance change value of each induction coil with the preset effective threshold value, so that the problem of false triggering caused by false touch is avoided.
The preset effective threshold in the embodiment of the present invention may be one threshold, or each induction coil corresponds to one threshold, for example, N (greater than or equal to 1) induction coils, which are induction coil 1, induction coil 2, induction coil … …, and induction coil N, and the corresponding thresholds are threshold 1, threshold 2, threshold … …, and threshold N in sequence. The data can be correspondingly stored in a table form, as shown in table 1.
For example, the induction coil provided at the lower end portion inside the left frame corresponds to the threshold 1, the induction coil provided at the upper end portion inside the left frame corresponds to the threshold 2, the induction coil provided at the lower end portion inside the right frame corresponds to the threshold 3, and the induction coil provided at the upper end portion inside the right frame corresponds to the threshold 4, as shown in table 2.
Step 705: and acquiring the inductance change value of the held mobile terminal through the set induction coil.
Step 706: and determining a shooting instruction corresponding to the obtained inductance change value.
The step of determining the shooting instruction corresponding to the obtained inductance change value according to the embodiment of the invention comprises the following steps:
determining the range of the inductance change value where the obtained inductance change value is located;
searching a shooting instruction corresponding to the determined inductance change value range in the corresponding relation;
and taking the searched shooting instruction as a shooting instruction corresponding to the obtained inductance change value.
Step 707: and controlling the mobile terminal to execute the operation corresponding to the determined shooting instruction.
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-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by a program instructing associated hardware (e.g., a processor) to perform the steps, and the program may be stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in hardware, for example, by an integrated circuit to implement its corresponding function, or in software, for example, by a processor executing a program/instruction stored in a memory to implement its corresponding function. The present invention is not limited to any specific form of combination of hardware and software.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A mobile terminal, comprising: the device comprises a detection module, a processing module, a determination module and a control module; wherein,
the detection module is used for notifying the processing module when the mobile terminal to which the detection module belongs is in a shooting mode;
the processing module is used for receiving the notification from the detection module and detecting whether the mobile terminal to which the processing module belongs is in a transverse screen shooting mode or not through induction coils arranged at the upper end part and the lower end part of the inner sides of the left frame and the right frame of the mobile terminal; when the mobile terminal to which the mobile terminal belongs is detected to be in the transverse screen shooting mode, acquiring an inductance change value of the held mobile terminal to which the mobile terminal belongs through the set induction coil;
the determining module is used for determining a shooting instruction corresponding to the obtained inductance change value;
the control module is used for controlling the mobile terminal to which the control module belongs to execute the operation corresponding to the determined shooting instruction;
the processing module is used for detecting whether the mobile terminal to which the processing module belongs is in a transverse screen shooting mode through the set induction coil, and the processing module comprises:
acquiring an inductance change value touching each set induction coil within a preset time length;
comparing the obtained inductance change value of each induction coil with a preset effective threshold value;
when the obtained inductance change value of the induction coil is larger than or equal to the preset effective threshold value, acquiring the position information of the induction coil;
forming the obtained position information of all the induction coils into distribution information of the induction coils during holding, and matching the distribution information with preset transverse screen shooting mode matching information;
and when the matching is passed, determining that the mobile terminal of the mobile terminal is in the transverse screen shooting mode.
2. The mobile terminal according to claim 1, wherein the mobile terminal further comprises a presetting module, configured to set a plurality of induction coils inside a metal frame of the mobile terminal to which the mobile terminal belongs.
3. The mobile terminal according to claim 1, wherein the mobile terminal further comprises a setting storage module for presetting and storing landscape shooting mode matching information.
4. The mobile terminal according to claim 1, wherein the mobile terminal further comprises a setting module, configured to set a correspondence between different inductance variation value ranges and the shooting instruction; accordingly, the number of the first and second electrodes,
the determining module is specifically configured to:
determining the range of the inductance change value where the obtained inductance change value is located;
searching a shooting instruction corresponding to the determined inductance change value range in the corresponding relation;
taking the found shooting instruction as a shooting instruction corresponding to the obtained inductance change value;
wherein the shooting instruction includes: focusing or shooting.
5. A method of controlling shooting, comprising:
when the mobile terminal is detected to be in a shooting mode, detecting whether the mobile terminal is in a transverse screen shooting mode or not through induction coils arranged at the upper end part and the lower end part of the inner sides of the left frame and the right frame of the mobile terminal;
when the mobile terminal is detected to be in a horizontal screen shooting mode, acquiring an inductance change value of the held mobile terminal through the set induction coil;
determining a shooting instruction corresponding to the obtained inductance change value;
controlling the mobile terminal to execute the operation corresponding to the determined shooting instruction;
whether the mobile terminal is in the cross screen shooting mode or not through the set induction coil comprises the following steps:
acquiring an inductance change value touching each set induction coil within a preset time length;
comparing the obtained inductance change value of each induction coil with a preset effective threshold value;
when the obtained inductance change value of the induction coil is larger than or equal to the preset effective threshold value, acquiring the position information of the induction coil;
forming the obtained position information of all the induction coils into distribution information of the induction coils during holding, and matching the distribution information with preset transverse screen shooting mode matching information;
and when the matching is passed, determining that the mobile terminal is in a transverse screen shooting mode.
6. The method of claim 5, further comprising, prior to the method: and arranging a plurality of induction coils on the inner side of the metal frame of the mobile terminal.
7. The method according to claim 5, wherein before the matching the distribution information with the preset landscape shooting mode matching information, the method further comprises: and presetting and storing the matching information of the horizontal screen shooting mode.
8. The method according to claim 5, wherein before determining the shooting instruction corresponding to the obtained inductance change value, after obtaining the inductance change value held by the mobile terminal through the set induction coil, the method further comprises: setting corresponding relations between different inductance variation value ranges and shooting instructions; accordingly, the number of the first and second electrodes,
the determining of the shooting instruction corresponding to the obtained inductance change value includes:
determining the range of the inductance change value where the obtained inductance change value is located;
searching a shooting instruction corresponding to the determined inductance change value range in the corresponding relation;
taking the found shooting instruction as a shooting instruction corresponding to the obtained inductance change value;
wherein the shooting instruction includes: focusing or shooting.
CN201611262661.7A 2016-12-30 2016-12-30 Shooting control method and mobile terminal Active CN106713757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611262661.7A CN106713757B (en) 2016-12-30 2016-12-30 Shooting control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611262661.7A CN106713757B (en) 2016-12-30 2016-12-30 Shooting control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106713757A CN106713757A (en) 2017-05-24
CN106713757B true CN106713757B (en) 2020-04-14

Family

ID=58905676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611262661.7A Active CN106713757B (en) 2016-12-30 2016-12-30 Shooting control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106713757B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540718A (en) * 2018-04-08 2018-09-14 Oppo广东移动通信有限公司 Image pickup method, device, mobile terminal and storage medium
CN109194820A (en) * 2018-08-04 2019-01-11 瑞声科技(新加坡)有限公司 A kind of image pickup method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662582A (en) * 2012-03-31 2012-09-12 华为终端有限公司 Control method of mobile terminal and mobile terminal
EP2860954A1 (en) * 2013-10-11 2015-04-15 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN105183327A (en) * 2015-07-30 2015-12-23 努比亚技术有限公司 Terminal and terminal operation method
CN105739806A (en) * 2016-05-06 2016-07-06 京东方科技集团股份有限公司 Touch display panel, driving method of touch display panel and display device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160239138A1 (en) * 2015-02-17 2016-08-18 Htc Corporation Mobile device, press detection method and computer-readable recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662582A (en) * 2012-03-31 2012-09-12 华为终端有限公司 Control method of mobile terminal and mobile terminal
EP2860954A1 (en) * 2013-10-11 2015-04-15 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN105183327A (en) * 2015-07-30 2015-12-23 努比亚技术有限公司 Terminal and terminal operation method
CN105739806A (en) * 2016-05-06 2016-07-06 京东方科技集团股份有限公司 Touch display panel, driving method of touch display panel and display device

Also Published As

Publication number Publication date
CN106713757A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN104660913B (en) Focus adjustment method and apparatus
CN104284085A (en) Electronic device and method of operating the same
CN106775402A (en) A kind of mobile terminal and its method for realizing control
CN106959779B (en) Device and method for reducing touch screen error report points
CN106778176B (en) Information processing method and mobile terminal
CN104836900A (en) Mobile terminal unlocking method and mobile terminal
CN106527799B (en) Method and device for preventing key from being misoperated
CN105162960A (en) Photographing device and method of frameless mobile terminal
CN105357367A (en) Keystroke identification device and method based on pressure sensor
CN106873867A (en) A kind of method of mobile terminal and control screen
CN106850919A (en) A kind of control method and mobile terminal
CN106713757B (en) Shooting control method and mobile terminal
CN106873766B (en) A kind of method and mobile terminal for realizing paging file control
CN105245724A (en) Mobile terminal and incoming call processing method thereof
CN106713566B (en) A kind of mobile terminal and control method
CN107071095A (en) A kind of method of mobile terminal and the singlehanded pattern switching of control
CN109063623B (en) Fingerprint identification method, equipment and computer storage medium
KR20150065045A (en) Terminal and image photographing method
CN106878544A (en) A kind of mobile terminal and the method for control call
CN106132182A (en) Printed circuit board, mobile terminal, mobile terminal shielding frame and preparation method
CN106791151A (en) A kind of method that mobile terminal and control shoot
CN105147260A (en) Method and device for prompting pulse beating intensity
CN106936984A (en) A kind of mobile terminal and control method
CN106911896B (en) Image processing device and method
CN106791413B (en) Image acquisition device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant