WO2017161827A1 - Method for adjusting focus of camera and terminal - Google Patents

Method for adjusting focus of camera and terminal Download PDF

Info

Publication number
WO2017161827A1
WO2017161827A1 PCT/CN2016/096765 CN2016096765W WO2017161827A1 WO 2017161827 A1 WO2017161827 A1 WO 2017161827A1 CN 2016096765 W CN2016096765 W CN 2016096765W WO 2017161827 A1 WO2017161827 A1 WO 2017161827A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
user
touch area
edge touch
operation information
Prior art date
Application number
PCT/CN2016/096765
Other languages
French (fr)
Chinese (zh)
Inventor
索浩森
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
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 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017161827A1 publication Critical patent/WO2017161827A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method and a terminal for adjusting a focal length of a camera.
  • the current mainstream mobile phones are touch screen mobile phones, and the user operates the mobile phone by clicking or sliding the function keys on the screen.
  • the camera function is a standard function in the current mobile phone. When using the camera function, the user often needs to adjust the focal length to achieve certain shooting effects.
  • the embodiments of the present application provide a method and a terminal for adjusting the focal length of a camera, which are used to solve the problem that the user cannot accurately and quickly adjust the focal length to an ideal position in the prior art, and the operation cost is high.
  • the embodiment of the present application provides a method for adjusting a focal length of a camera, where the method includes:
  • the camera focus is adjusted on the terminal according to the operation information of the user in the edge touch area of the terminal, and specifically includes:
  • the camera focal length on the terminal is adjusted according to a preset focus adjustment rule and the operation information.
  • the method further includes: before acquiring the operation information of the user in the edge touch area of the terminal, the method further includes:
  • Obtaining operation information of the user in the edge touch area of the terminal including:
  • the method further includes: detecting a current handheld state of the user, the handheld state comprising: a left hand grip and a right hand grip;
  • the effective area is the edge touch area on the left side when the terminal is in a portrait state
  • the effective area is the edge touch area on the right side of the terminal when the terminal is in a portrait state.
  • the effective area is an edge touch area of any one of the four sides of the terminal.
  • the operation information of the user in the edge touch area of the terminal includes:
  • the operation information of the user in the edge touch area of the terminal is obtained; and the camera focal length on the terminal is adjusted according to the operation information of the user in the edge touch area of the terminal.
  • the application realizes the purpose of adjusting the focal length of the camera accurately and quickly by one-hand operation, which facilitates the operation of the user, reduces the operation cost of the user, and improves the operation. Efficiency.
  • the embodiment of the present application further provides a terminal, where the terminal includes:
  • the acquiring module is configured to acquire operation information of the user in an edge touch area of the terminal during the process of acquiring the image by the terminal;
  • an adjustment module configured to adjust a camera focal length on the terminal according to operation information of the user in an edge touch area of the terminal acquired by the acquiring module.
  • the terminal further includes:
  • a detecting module configured to detect whether the operation information is a specified operation of focus adjustment
  • the adjustment module is specifically configured to:
  • the camera focal length on the terminal is adjusted according to a preset focus adjustment rule and the operation information.
  • the detection module is further specifically configured to:
  • the acquiring module acquires the operation information of the user in the edge touch area of the terminal, detecting whether the terminal is in a horizontal screen state or a vertical screen state, to obtain a detection result;
  • the obtaining module is specifically configured to:
  • the detecting module is further configured to: when the screen display state is a vertical screen display, detecting a current handheld state of the user, where the handheld state includes: a left hand grip and a right hand grip;
  • the effective area is the edge touch area on the left side when the terminal is in a portrait state
  • the effective area is the edge touch area on the right side of the terminal when the terminal is in a portrait state.
  • the effective area is an edge touch area of any one of the four sides of the terminal.
  • the operation information of the user in the edge touch area of the terminal includes:
  • the operation information of the user in the edge touch area of the terminal is obtained by the acquiring module, and the operation information of the user in the edge touch area of the terminal acquired by the acquiring module is Adjusting the camera focal length on the terminal.
  • the application can accurately and quickly adjust the focal length of the camera by one-hand operation, which is convenient for the user's operation, reduces the operation cost of the user, and improves the operation efficiency.
  • FIG. 1 is a flow chart of a method for adjusting a focal length of a camera in an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a terminal in an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of hardware of an electronic device for performing a method for adjusting a focal length of a camera according to an embodiment of the present application.
  • the word “if” as used herein may be interpreted as “when” or “when” or “in response to determining” or “in response to detecting.”
  • the phrase “if determined” or “if detected (conditions or events stated)” may be interpreted as “when determined” or “in response to determination” or “when detected (stated condition or event) “Time” or “in response to a test (condition or event stated)”.
  • the embodiment of the present application provides a method for adjusting the focal length of the camera by using a one-handed operation.
  • the embodiment of the present application provides a method for adjusting the focal length of the camera, as shown in FIG. 1 , which is provided by the embodiment of the present application.
  • Schematic diagram of a method of the method the method may include the following steps:
  • step 101 during the process of acquiring an image by the terminal, the operation information of the user in the edge touch area of the terminal is obtained.
  • the process of acquiring an image by the terminal may be a process of taking a picture or taking a picture through a camera in the terminal.
  • the terminals involved in the embodiments of the present application may include, but are not limited to, a personal computer (PC), a personal digital assistant (PDA), a wireless handheld device, a tablet computer, and a tablet computer.
  • PC personal computer
  • PDA personal digital assistant
  • a mobile phone, an MP3 player, an MP4 player, etc., and the terminal has a function of acquiring an image.
  • Edge touch provides touch input through the edge or border of the terminal to track the tapping, sliding or pressing of the finger on the edge of the terminal to control the mobile phone.
  • the edge touch area of the terminal may be an area that the user's thumb can reach on the side of the terminal when the user naturally holds the terminal, and the other side of the terminal is the other four sides except the front and the back.
  • the edge touch area of the terminal can be implemented by using a physical button, a virtual button, a sensor, or a screen.
  • the edge touch area of the terminal can be implemented by using the edge screen of the curved screen.
  • the capacitance of the contact changes, so that the frequency of the oscillator connected to the capacitor changes, and the touch position can be determined by measuring the frequency change of the oscillator. Further, operation information of the user in the edge touch area of the terminal can be acquired.
  • the edge touch area can benefit Implemented with physical buttons, virtual buttons, or sensors. If there is a physical button for adjusting the volume on the edge of the terminal, the physical button for adjusting the volume in the terminal is taken as an example.
  • the terminal When the user presses the physical button for adjusting the volume, the terminal will obtain whether the user is pressed on the button for adjusting the volume or Pressing on the button for adjusting the low volume, thereby obtaining the operation information of the user in the touch area of the edge of the terminal; if there is a virtual button having a certain function on the edge of the terminal, taking the virtual button on the terminal as an example, and When the virtual button is a capacitive virtual button, the terminal determines the virtual button on which the user touches by the capacitance of the capacitive virtual button.
  • the finger and the electrode in the capacitive virtual button forms a capacitor
  • the terminal determines the position touched by the user by detecting the change of the capacitance, and can determine which virtual button the user touches, and can obtain the operation information of the user in the edge touch area of the terminal;
  • There is a functioning sensor on the edge of the terminal to sense the terminal For example, when the sensor is a pressure sensor, when the user presses the pressure sensor, a semiconductor deformation pressure is formed on the surface of the sheet of the pressure sensor, and the piezoelectric deformation effect is generated by pressing the thin skin to convert the impedance change into an electrical signal.
  • the terminal After the terminal obtains the electrical signal, it can determine which pressure sensor is pressed by the user, or at which position on the pressure sensor, to determine which function of the pressure sensor is pressed by the user, thereby obtaining the user's Operation information of the edge touch area of the terminal. Further, the sensor having a certain function on the edge of the terminal may also be a light sensor.
  • the method further includes:
  • the terminal since the handheld mode of the terminal in the horizontal screen state and the handheld mode of the vertical screen state are different, and thus the operation mode is different, it is necessary to first determine whether the terminal is in a horizontal screen state or a vertical screen state, and the terminal is determined. Whether it is horizontal screen display or vertical screen display can be determined by the size of the wide height of the image displayed on the screen. When the width of the image is greater than the height, the terminal determines that it is a horizontal screen display. When the width of the image is less than the height, the terminal determines that The horizontal screen display can also be determined by the gyroscope, and the gyroscope can accurately obtain the rotation and deflection actions of the terminal.
  • the gyroscope determines whether the terminal is a horizontal screen or a vertical screen by measuring the rotation and deflection of the terminal, and of course,
  • the gravity sensor determines that when a gravity block changes direction due to gravity, the piezoelectric crystal under the gravity block receives a change in resistance, thereby determining the direction of gravity, and determining whether the terminal is a horizontal screen or a vertical screen according to the direction of gravity. .
  • the detection result is a horizontal screen state or a vertical screen state.
  • Obtaining operation information of the user in the edge touch area of the terminal including:
  • the area that the user's finger can naturally reach is different from the operation mode. Therefore, after determining the detection result, it is necessary to determine the edge touch area of the terminal device.
  • the effective area only the operation in the effective area can achieve the purpose of adjusting the camera focal length.
  • the effective area of the edge screen is the click or contact of the user's thumb when the user naturally holds the terminal.
  • the edge area of the screen if there is a physical button for adjusting the volume on the edge of the terminal, when the touch area of the terminal is used to obtain the operation information of the user by using the physical button for adjusting the volume, the effective area is a physical button for adjusting the volume; if the edge of the terminal exists A virtual button with a certain function, when the virtual touch button is used to obtain the operation information of the user in the touch area of the edge of the terminal, the effective area is the area where the virtual key is located; if there is a sensor with a certain function on the edge of the terminal, the edge of the terminal touches When the control area uses the sensor to obtain the operation information of the user, the effective area is the area where the sensor is located.
  • the method further includes: detecting a current handheld state of the user, the handheld state comprising: a left hand grip and a right hand grip.
  • the user when the screen is displayed in the vertical screen, the user may be the left hand or the right hand, and in different handheld states, the area that the user can touch when performing the one-hand operation is different, such as: the current handheld of the user.
  • the state is left hand grip
  • the user can flexibly use the left thumb, and the left thumb can touch the touch area of the left edge of the terminal;
  • the current handheld state of the user is the right hand grip
  • the user can flexibly use
  • the right thumb is touched by the right thumb, and the right edge touch area of the terminal is touched. Therefore, it is necessary to detect whether the user is currently holding the left hand grip or the right hand grip.
  • the current user's current state of the user can be detected according to the number of fingers on both sides of the left and right edges of the user.
  • the purpose of the present application is to determine the current handheld state of the user, and thus the current handheld state of the user is detected.
  • the methods are all within the scope of protection of the present application.
  • the effective area is the edge touch area on the left side when the terminal is in a portrait state
  • the effective area is the edge touch area on the right side of the terminal when the terminal is in a portrait state.
  • edge touch areas that the user can touch when the left hand grip and the right hand grip are different are different, so the effective areas of the left hand grip and the right hand grip are also different.
  • the effective area is an edge touch area of any one of the four sides of the terminal.
  • the screen display state is a horizontal screen display, the state in which the user holds the device is special, the user can hold the device in both hands, and the four sides of the device that the user can touch at this time, the four devices of the terminal device
  • the side surface can be an effective area, but in order to avoid the operation error caused by the unnecessary operation and the additional focus adjustment caused by the erroneous operation, one of the four side surfaces can be determined as the effective area according to the preset effective area rule. The specific choice of which side is the effective area can be determined according to actual needs.
  • the operation information of the user in the edge touch area of the terminal includes:
  • the edge touch area may be the side of the terminal, the edge of the screen, or some physical buttons
  • the user realizes the camera focal length by sliding up and down the edge touch area. Adjusting; when the edge touch area is the side of the terminal, the edge of the screen, and the edge touch area is divided into two parts, a part of the area is to make the focal length larger, and the other part is to make the focal length smaller, and the user presses according to his own needs.
  • One area is used to achieve the purpose of adjusting the focal length; when the edge touch area is some physical button of the terminal, the user can adjust the focal length of the camera by pressing the physical button.
  • Step 102 Adjust a camera focal length on the terminal according to operation information of the user in an edge touch area of the terminal.
  • the user can adjust the camera focal length on the terminal by performing operations on the edge touch area of the terminal.
  • the camera focal length on the terminal Make adjustments including:
  • the camera focal length on the terminal is adjusted according to a preset focus adjustment rule and the operation information.
  • the specified operation of the focus adjustment is to determine whether the operation of the user in the active area can trigger the adjustment of the camera focal length. If the specified operation of the focus adjustment is to slide up and down in the effective area, after the terminal obtains the operation information, it is determined whether the operation is sliding up or down, and if the operation information is sliding up or down, the device can According to the direction of the sliding, how to adjust the camera focal length is adjusted according to the preset focus adjustment rule when adjusting the camera focal length. If the preset focal length adjustment rule is: when sliding along the edge touch area, the sliding distance is When the zoom lens is zoomed in, the focal length of the camera becomes smaller as the sliding distance becomes larger. If the acquired operation information is upward sliding, the terminal increases the focal length of the camera. If the acquired operation information is sliding down, the terminal will reduce the camera focal length.
  • the specific preset focus adjustment rule can be determined according to actual needs.
  • the operation information of the user in the edge touch area of the terminal is obtained; and the camera focal length on the terminal is obtained according to the obtained operation information of the user in the edge touch area of the terminal.
  • the application can accurately and quickly adjust the focal length of the camera by one-hand operation, which is convenient for the user's operation, reduces the operation cost of the user, and improves the operation efficiency.
  • the embodiment of the present application further provides an embodiment of the terminal 20 for implementing the steps and methods in the foregoing method embodiments.
  • FIG. 2 which is a functional block diagram of the terminal 20 provided by the embodiment of the present application, the terminal 20 includes:
  • the obtaining module 21 is configured to acquire operation information of the user in an edge touch area of the terminal 20 during the process of acquiring the image by the terminal 20;
  • the adjusting module 22 is configured to adjust the camera focal length on the terminal 20 according to the operation information of the user in the edge touch area of the terminal 20 acquired by the acquiring module.
  • the terminal 20 further includes:
  • a detecting module configured to detect whether the operation information is a specified operation of focus adjustment
  • the adjustment module is specifically configured to:
  • the camera focal length on the terminal 20 is adjusted according to a preset focus adjustment rule and the operation information.
  • the detecting module is further specifically configured to:
  • the acquiring module acquires the operation information of the user in the edge touch area of the terminal 20, detecting whether the terminal 20 is in a horizontal screen state or a vertical screen state, to obtain a detection result;
  • the obtaining module is specifically configured to:
  • the detecting module is further configured to: when the screen display state is a vertical screen display, detecting a current handheld state of the user, where the handheld state includes: a left hand grip and a right hand grip;
  • the effective area is the edge touch area on the left side of the terminal 20 in a portrait state
  • the effective area is the edge touch area on the right side of the terminal 20 when in the portrait state.
  • the effective area is an edge touch area of any one of the four sides of the terminal 20.
  • the operation information of the user in the edge touch area of the terminal 20 includes:
  • the operation information of the user in the edge touch area of the terminal 20 is obtained by the acquiring module, and the adjustment module acquires the touch area of the user at the edge of the terminal 20 according to the acquisition module.
  • the camera information is adjusted on the terminal 20 by operating information. This application can accurately and quickly adjust the focal length of the camera by one-hand operation, which is convenient for the user. The operation reduces the operation cost of the user and improves the operation efficiency.
  • An embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions that can perform the method of adjusting a camera focal length in any of the above-described embodiments.
  • FIG. 3 is a schematic diagram of a hardware structure of an electronic device 30 for adjusting a camera focal length according to an embodiment of the present application. As shown in FIG. 3, the device includes:
  • the one or more processors 31 and the memory 32, the processor 31 and the memory 32 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • One processor 31 is taken as an example in FIG.
  • the memory 32 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, as in the method for adjusting the camera focal length in the embodiment of the present application.
  • Program instructions/modules eg, acquisition module 21, adjustment module 22 shown in FIG. 2).
  • the processor 31 performs various functional applications and data processing of the electronic device 30 by executing non-volatile software programs, instructions, and modules stored in the memory 32, that is, a method of adjusting the camera focal length by the above method embodiments.
  • the memory 32 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store operation information of the user at an edge touch area of the electronic device 30, and the like. .
  • memory 32 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 32 may optionally include memory remotely located relative to processor 31, which may be connected to a terminal 20 that adjusts the camera's focal length via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the one or more modules are stored in the memory 32, and when executed by the one or more processors 31, perform a method of adjusting a camera focal length in any of the above method embodiments, for example, performing the above described map
  • the method steps 101 to 102 in 1 implement the functions of the modules 21-22 in FIG. 2.
  • the above product can perform the method provided by the embodiment of the present application, and has the corresponding function module of the execution method. Blocks and benefits. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
  • the electronic device 30 of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the device embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located in one place. Or it can be distributed to at least two network elements. Some or all of the modules may be selected according to actual needs to achieve the objectives of the embodiments of the present application. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for adjusting the focus of a camera and a terminal. The method: in a process in which a terminal is capturing an image, acquiring operation information of a user at an edge touch area of the terminal (101); and adjusting the focus of a camera on the terminal (102), thus allowing the user to adjust the focus of the camera by means of an operation with respect to an edge of the terminal. The method and terminal achieve the goal of allowing the user to adjust accurately and quickly the focus by means of a one-handed operation, thus facilitating operation for the user, reducing operating costs for the user, and increasing operational efficiency.

Description

一种调节相机焦距的方法和终端Method and terminal for adjusting camera focal length
本申请要求于2016年3月25日提交中国专利局,申请号为2016101804381,发明名称为“一种调节相机焦距的方法和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 2016101804381, filed on March 25, 2016, the entire disclosure of which is incorporated herein by reference. In the application.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种调节相机焦距的方法和终端。The present application relates to the field of communications technologies, and in particular, to a method and a terminal for adjusting a focal length of a camera.
背景技术Background technique
当前主流手机都是触屏手机,用户通过对屏幕上的功能按键进行点击或滑动来实现对手机的操作。The current mainstream mobile phones are touch screen mobile phones, and the user operates the mobile phone by clicking or sliding the function keys on the screen.
拍照功能是当前手机中的标配功能,用户在使用拍照功能时往往需要调节焦距来实现某些拍摄效果。The camera function is a standard function in the current mobile phone. When using the camera function, the user often needs to adjust the focal length to achieve certain shooting effects.
在实现本申请的过程中,发明人发现现有技术至少存在如下问题:In the process of implementing the present application, the inventors found that the prior art has at least the following problems:
随着技术的发展和用户的需求手机触摸屏变的越来越大,在用户进行拍照时,如果用户通过单手来调节焦距,那么用户无法准确、快速的将焦距调节到理想的位置,给用户带来了操作上的不便,如果用户采用双手操作,会造成操作成本的增加。With the development of technology and the needs of users, the touch screen of mobile phones has become larger and larger. When the user takes pictures, if the user adjusts the focal length with one hand, the user cannot accurately and quickly adjust the focal length to the ideal position, and give the user It brings inconvenience in operation, and if the user operates with both hands, it will increase the operating cost.
发明内容Summary of the invention
有鉴于此,本申请实施例提供一种调节相机焦距的方法和终端,用以解决现有技术中用户无法准确、快速的将焦距调节到理想的位置,操作成本较高的问题。In view of this, the embodiments of the present application provide a method and a terminal for adjusting the focal length of a camera, which are used to solve the problem that the user cannot accurately and quickly adjust the focal length to an ideal position in the prior art, and the operation cost is high.
为实现上述申请目的,一方面,本申请实施例提供了一种调节相机焦距的方法,所述方法包括:In order to achieve the above application, in one aspect, the embodiment of the present application provides a method for adjusting a focal length of a camera, where the method includes:
在终端采集图像过程中,获取用户在所述终端的边缘触控区域的操作信息;Obtaining operation information of the user in the edge touch area of the terminal during the process of acquiring the image by the terminal;
根据所述用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节。 Adjusting a camera focal length on the terminal according to operation information of the user at an edge touch area of the terminal.
其中,根据用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节,具体包括:The camera focus is adjusted on the terminal according to the operation information of the user in the edge touch area of the terminal, and specifically includes:
检测所述操作信息是否为焦距调节的指定操作;Detecting whether the operation information is a specified operation of focus adjustment;
如果检测出所述操作信息是焦距调节的指定操作,根据预设的焦距调节规则和所述操作信息对所述终端上相机焦距进行调节。If it is detected that the operation information is a specified operation of the focus adjustment, the camera focal length on the terminal is adjusted according to a preset focus adjustment rule and the operation information.
其中,在获取用户在所述终端的边缘触控区域的操作信息之前,所述方法还包括:The method further includes: before acquiring the operation information of the user in the edge touch area of the terminal, the method further includes:
检测所述终端是横屏状态还是竖屏状态,以获得检测结果;Detecting whether the terminal is in a horizontal screen state or a vertical screen state to obtain a detection result;
获取用户在所述终端的边缘触控区域的操作信息,包括:Obtaining operation information of the user in the edge touch area of the terminal, including:
根据所述检测结果,获取所述用户在所述终端的边缘触控区域上的有效区域的操作信息。Obtaining, according to the detection result, operation information of the effective area of the user on the edge touch area of the terminal.
其中,当所述屏幕显示状态为竖屏显示时,所述方法还包括:检测所述用户当前的手持状态,所述手持状态包括:左手持握和右手持握;Wherein, when the screen display state is a vertical screen display, the method further includes: detecting a current handheld state of the user, the handheld state comprising: a left hand grip and a right hand grip;
若检测到所述用户当前的手持状态为左手持握,所述有效区域为所述终端在竖屏状态时左侧的所述边缘触控区域;If the current handheld state of the user is detected as a left hand grip, the effective area is the edge touch area on the left side when the terminal is in a portrait state;
若检测到所述用户当前的持握状态为右手持握,所述有效区域为所述终端在竖屏状态时右侧的所述边缘触控区域。If it is detected that the current grip state of the user is a right hand grip, the effective area is the edge touch area on the right side of the terminal when the terminal is in a portrait state.
其中,若所述屏幕显示状态为横屏显示,所述有效区域为所述终端的四个侧面中任意一侧边缘触控区域。Wherein, if the screen display state is a horizontal screen display, the effective area is an edge touch area of any one of the four sides of the terminal.
所述用户在所述终端的边缘触控区域的操作信息包括:The operation information of the user in the edge touch area of the terminal includes:
所述用户在所述终端的边缘触控区域的滑动操作;或者,a sliding operation of the user in an edge touch area of the terminal; or
所述用户在所述终端的边缘触控区域的点击操作;或者,Clicking operation of the user in the edge touch area of the terminal; or
所述用户在所述终端的边缘触控区域的按压操作。The pressing operation of the user in the edge touch area of the terminal.
本申请实施例在终端采集图像过程中,获取用户在终端的边缘触控区域的操作信息;根据所述用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节。本申请实现了通过单手操作就可以准确、快速的对相机焦距进行调节的目的,方便了用户的操作,降低了用户的操作成本,提高了操 作效率。In the process of acquiring an image by the terminal, the operation information of the user in the edge touch area of the terminal is obtained; and the camera focal length on the terminal is adjusted according to the operation information of the user in the edge touch area of the terminal. . The application realizes the purpose of adjusting the focal length of the camera accurately and quickly by one-hand operation, which facilitates the operation of the user, reduces the operation cost of the user, and improves the operation. Efficiency.
为实现上述申请目的,另一方面,本申请实施例还提供一种终端,所述终端包括:To achieve the above application, on the other hand, the embodiment of the present application further provides a terminal, where the terminal includes:
获取模块,在终端采集图像过程中,用于获取用户在所述终端的边缘触控区域的操作信息;The acquiring module is configured to acquire operation information of the user in an edge touch area of the terminal during the process of acquiring the image by the terminal;
调节模块,用于根据所述获取模块获取的所述用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节。And an adjustment module, configured to adjust a camera focal length on the terminal according to operation information of the user in an edge touch area of the terminal acquired by the acquiring module.
其中,所述终端,还包括:The terminal further includes:
检测模块,用于检测所述操作信息是否为焦距调节的指定操作;a detecting module, configured to detect whether the operation information is a specified operation of focus adjustment;
所述调节模块,具体用于:The adjustment module is specifically configured to:
如果检测出所述操作信息是焦距调节的指定操作,根据预设的焦距调节规则和所述操作信息对所述终端上相机焦距进行调节。If it is detected that the operation information is a specified operation of the focus adjustment, the camera focal length on the terminal is adjusted according to a preset focus adjustment rule and the operation information.
其中,所述检测模块,还具体用于:The detection module is further specifically configured to:
在所述获取模块获取所述用户在所述终端的边缘触控区域的操作信息之前,检测所述终端是横屏状态还是竖屏状态,以获得检测结果;Before the acquiring module acquires the operation information of the user in the edge touch area of the terminal, detecting whether the terminal is in a horizontal screen state or a vertical screen state, to obtain a detection result;
所述获取模块,具体用于:The obtaining module is specifically configured to:
根据所述检测结果,获取所述用户在所述终端的边缘触控区域上的有效区域的操作信息。Obtaining, according to the detection result, operation information of the effective area of the user on the edge touch area of the terminal.
其中,所述检测模块,还具体用于:当所述屏幕显示状态为竖屏显示时,检测所述用户当前的手持状态,所述手持状态包括:左手持握和右手持握;The detecting module is further configured to: when the screen display state is a vertical screen display, detecting a current handheld state of the user, where the handheld state includes: a left hand grip and a right hand grip;
若检测到所述用户当前的手持状态为左手持握,所述有效区域为所述终端在竖屏状态时左侧的所述边缘触控区域;If the current handheld state of the user is detected as a left hand grip, the effective area is the edge touch area on the left side when the terminal is in a portrait state;
若检测到所述用户当前的持握状态为右手持握,所述有效区域为所述终端在竖屏状态时右侧的所述边缘触控区域。If it is detected that the current grip state of the user is a right hand grip, the effective area is the edge touch area on the right side of the terminal when the terminal is in a portrait state.
其中,若所述屏幕显示状态为横屏显示,所述有效区域为所述终端的四个侧面中任意一侧边缘触控区域。 Wherein, if the screen display state is a horizontal screen display, the effective area is an edge touch area of any one of the four sides of the terminal.
所述用户在所述终端的边缘触控区域的操作信息包括:The operation information of the user in the edge touch area of the terminal includes:
所述用户在所述终端的边缘触控区域的滑动操作;或者,a sliding operation of the user in an edge touch area of the terminal; or
所述用户在所述终端的边缘触控区域的点击操作;或者,Clicking operation of the user in the edge touch area of the terminal; or
所述用户在所述终端的边缘触控区域的按压操作。The pressing operation of the user in the edge touch area of the terminal.
本申请实施例在终端采集图像过程中,通过获取模块获取用户在终端的边缘触控区域的操作信息;调节模块根据获取模块获取的所述用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节。本申请通过单手操作就可以准确、快速的对相机焦距进行调节的目的,方便了用户的操作,降低了用户的操作成本,提高了操作效率。In the embodiment of the present application, the operation information of the user in the edge touch area of the terminal is obtained by the acquiring module, and the operation information of the user in the edge touch area of the terminal acquired by the acquiring module is Adjusting the camera focal length on the terminal. The application can accurately and quickly adjust the focal length of the camera by one-hand operation, which is convenient for the user's operation, reduces the operation cost of the user, and improves the operation efficiency.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1为本申请实施例中的一种调节相机焦距的方法流程图;1 is a flow chart of a method for adjusting a focal length of a camera in an embodiment of the present application;
图2为本申请实施例中的一种终端的结构示意图;2 is a schematic structural diagram of a terminal in an embodiment of the present application;
图3为本申请实施例提供的执行调节相机焦距的方法的电子设备的硬件结构示意图。FIG. 3 is a schematic structural diagram of hardware of an electronic device for performing a method for adjusting a focal length of a camera according to an embodiment of the present application.
具体实施方式detailed description
为了更好的理解本申请的技术方案,下面结合附图对本申请实施例进行详细描述。For a better understanding of the technical solutions of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。It should be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。 The terms used in the embodiments of the present application are for the purpose of describing particular embodiments only, and are not intended to limit the application. The singular forms "a", "the", and "the"
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting." Similarly, depending on the context, the phrase "if determined" or "if detected (conditions or events stated)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event) "Time" or "in response to a test (condition or event stated)".
本申请实施例为让用户通过单手操作就能准确、快速的调节相机焦距,本申请实施例提出了一种调节相机焦距的方法,具体如图1所示,其为本申请实施例所提供的方法的流程示意图,所述方法可包括以下步骤:The embodiment of the present application provides a method for adjusting the focal length of the camera by using a one-handed operation. The embodiment of the present application provides a method for adjusting the focal length of the camera, as shown in FIG. 1 , which is provided by the embodiment of the present application. Schematic diagram of a method of the method, the method may include the following steps:
步骤101,在终端采集图像过程中,获取用户在所述终端的边缘触控区域的操作信息。In step 101, during the process of acquiring an image by the terminal, the operation information of the user in the edge touch area of the terminal is obtained.
具体的,所述终端采集图像的过程可以为通过所述终端中的相机进行拍照或摄像的过程。Specifically, the process of acquiring an image by the terminal may be a process of taking a picture or taking a picture through a camera in the terminal.
需要说明的是,本申请实施例中所涉及的终端可以包括但不限于个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等,且所述终端具有采集图像的功能。It should be noted that the terminals involved in the embodiments of the present application may include, but are not limited to, a personal computer (PC), a personal digital assistant (PDA), a wireless handheld device, a tablet computer, and a tablet computer. A mobile phone, an MP3 player, an MP4 player, etc., and the terminal has a function of acquiring an image.
边缘触控是通过终端边缘或边框提供触控输入,跟踪手指在终端边缘上的轻击、滑动或按压,实现对手机的控制。Edge touch provides touch input through the edge or border of the terminal to track the tapping, sliding or pressing of the finger on the edge of the terminal to control the mobile phone.
终端的边缘触控区域可以为用户自然持握所述终端时,用户的拇指在终端的侧面能够达到的区域,终端的侧面是除所述正面和背面的其他四个侧面。The edge touch area of the terminal may be an area that the user's thumb can reach on the side of the terminal when the user naturally holds the terminal, and the other side of the terminal is the other four sides except the front and the back.
本申请实施例中,终端的边缘触控区域可以利用物理按键、虚拟按键、传感器或者屏幕实现。In the embodiment of the present application, the edge touch area of the terminal can be implemented by using a physical button, a virtual button, a sensor, or a screen.
例如,若终端使用了曲面屏幕,则终端的边缘触控区域可以利用曲面屏幕的边缘屏幕实现。以电容式触摸屏为例进行说明,当用户手指触摸在边缘触摸屏上时,触点的电容就会发生变化,使得与电容相连的振荡器频率发生变化,通过测量振荡器频率变化可以确定触摸位置,进而能够获取到用户在所述终端的边缘触控区域的操作信息。For example, if the terminal uses a curved screen, the edge touch area of the terminal can be implemented by using the edge screen of the curved screen. Taking a capacitive touch screen as an example, when the user touches the edge touch screen, the capacitance of the contact changes, so that the frequency of the oscillator connected to the capacitor changes, and the touch position can be determined by measuring the frequency change of the oscillator. Further, operation information of the user in the edge touch area of the terminal can be acquired.
或者,又例如,对于没有使用曲面屏幕的终端,其的边缘触控区域可以利 用物理按键、虚拟按键或者传感器实现。如果终端边缘上存在调节音量的物理按键,以终端中调节音量的物理按键为例进行说明,当用户手指按压调节音量的物理按键时,终端会获得用户是按压在了调高音量的按键上还是按压在了调低音量的按键上,从而获取到用户在所述终端的边缘触控区域的操作信息;如果终端边缘上存在具有一定功能的虚拟按键,以终端上的虚拟按键为例,并且所述虚拟按键是电容式虚拟按键时,终端通过电容式虚拟按键的电容量来判断用户触摸在哪个虚拟按键上,具体的,用户接触到电容式虚拟按键时手指会与电容式虚拟按键中的电极片形成电容,终端通过侦测电容量的变化来确定用户触摸的位置就可以确定出用户触摸在了哪个虚拟按键上,进而能够获取到用户在所述终端的边缘触控区域的操作信息;如果终端边缘上存在具有一定功能的传感器,以终端上的传感器为例,并且所述传感器是压力传感器时,当用户按压到压力传感器时,在压力传感器的薄片表面形成半导体变形压力,通过按压使薄皮变形产生压电阻抗效果,使阻抗的变化转换成电信号,终端获得电信号后就可以确定出用户在哪个压力传感器上进行的按压,或在压力传感器上哪个位置进行的按压,从而确定用户对哪个功能的压力传感器进行的按压,进而能够获取到用户在所述终端的边缘触控区域的操作信息。进一步地,终端边缘上存在具有一定功能的传感器还可以为光感应器。Or, for example, for a terminal that does not use a curved screen, its edge touch area can benefit Implemented with physical buttons, virtual buttons, or sensors. If there is a physical button for adjusting the volume on the edge of the terminal, the physical button for adjusting the volume in the terminal is taken as an example. When the user presses the physical button for adjusting the volume, the terminal will obtain whether the user is pressed on the button for adjusting the volume or Pressing on the button for adjusting the low volume, thereby obtaining the operation information of the user in the touch area of the edge of the terminal; if there is a virtual button having a certain function on the edge of the terminal, taking the virtual button on the terminal as an example, and When the virtual button is a capacitive virtual button, the terminal determines the virtual button on which the user touches by the capacitance of the capacitive virtual button. Specifically, when the user touches the capacitive virtual button, the finger and the electrode in the capacitive virtual button The chip forms a capacitor, and the terminal determines the position touched by the user by detecting the change of the capacitance, and can determine which virtual button the user touches, and can obtain the operation information of the user in the edge touch area of the terminal; There is a functioning sensor on the edge of the terminal to sense the terminal For example, when the sensor is a pressure sensor, when the user presses the pressure sensor, a semiconductor deformation pressure is formed on the surface of the sheet of the pressure sensor, and the piezoelectric deformation effect is generated by pressing the thin skin to convert the impedance change into an electrical signal. After the terminal obtains the electrical signal, it can determine which pressure sensor is pressed by the user, or at which position on the pressure sensor, to determine which function of the pressure sensor is pressed by the user, thereby obtaining the user's Operation information of the edge touch area of the terminal. Further, the sensor having a certain function on the edge of the terminal may also be a light sensor.
在获取用户在所述终端的边缘触控区域的操作信息之前,所述方法还包括:Before acquiring the operation information of the user in the edge touch area of the terminal, the method further includes:
检测所述终端是横屏状态还是竖屏状态,以获得检测结果。It is detected whether the terminal is in a landscape state or a portrait state to obtain a detection result.
具体的,由于终端的横屏状态下的手持方式和竖屏状态的手持方式是不同的,进而会造成操作方式的不同,因此需要先确定出终端是横屏状态还是竖屏状态,在确定终端是横屏显示还是竖屏显示时可以通过屏幕显示图像的宽高度的大小来确定,当图像的宽度大于高度时终端确定此时为横屏显示,当图像的宽度小于高度时终端确定此时为横屏显示,还可以通过陀螺仪来确定,陀螺仪可以精确的获取终端的转动和偏转动作,陀螺仪通过对终端的转动和偏转的测量来确定终端是横屏还是竖屏,当然还可以通过重力感应器来确定,当一个重力块因为重力原因改变方向,重力块下面的压电晶体接收到了电阻的变化,由此来判断重力的方向,根据重力的方向来确定终端是横屏还竖屏。Specifically, since the handheld mode of the terminal in the horizontal screen state and the handheld mode of the vertical screen state are different, and thus the operation mode is different, it is necessary to first determine whether the terminal is in a horizontal screen state or a vertical screen state, and the terminal is determined. Whether it is horizontal screen display or vertical screen display can be determined by the size of the wide height of the image displayed on the screen. When the width of the image is greater than the height, the terminal determines that it is a horizontal screen display. When the width of the image is less than the height, the terminal determines that The horizontal screen display can also be determined by the gyroscope, and the gyroscope can accurately obtain the rotation and deflection actions of the terminal. The gyroscope determines whether the terminal is a horizontal screen or a vertical screen by measuring the rotation and deflection of the terminal, and of course, The gravity sensor determines that when a gravity block changes direction due to gravity, the piezoelectric crystal under the gravity block receives a change in resistance, thereby determining the direction of gravity, and determining whether the terminal is a horizontal screen or a vertical screen according to the direction of gravity. .
所述检测结果为横屏状态或竖屏状态。 The detection result is a horizontal screen state or a vertical screen state.
获取用户在所述终端的边缘触控区域的操作信息,包括:Obtaining operation information of the user in the edge touch area of the terminal, including:
根据所述检测结果,获取所述用户在所述终端的边缘触控区域上的有效区域的操作信息。Obtaining, according to the detection result, operation information of the effective area of the user on the edge touch area of the terminal.
具体的,终端在横屏状态或竖屏状态时用户手指自然能够到达的区域和进行的操作方式时不同的,因此,在确定出检测结果后,需要再确定出终端设备的边缘触控区域上的有效区域,只有在有效区域中的操作才可以实现调节相机焦距的目的。Specifically, when the terminal is in the horizontal screen state or the vertical screen state, the area that the user's finger can naturally reach is different from the operation mode. Therefore, after determining the detection result, it is necessary to determine the edge touch area of the terminal device. The effective area, only the operation in the effective area can achieve the purpose of adjusting the camera focal length.
例如:若终端使用了曲面屏幕,在终端的边缘触控区域利用曲面屏幕的边缘屏幕实现获取用户的操作信息时,边缘屏幕的有效区域为用户自然持握终端时用户拇指能够点击或接触到的屏幕边缘区域;若终端边缘上存在调节音量的物理按键,在终端的边缘触控区域利用调节音量的物理按键实现获取用户的操作信息时,有效区域为调节音量的物理按键;若终端边缘上存在具有一定功能的虚拟按键,在终端的边缘触控区域利用虚拟按键实现获取用户的操作信息时,有效区域为虚拟按键所在的区域;若终端边缘上存在具有一定功能的传感器,在终端的边缘触控区域利用传感器实现获取用户的操作信息时,有效区域为传感器所在的区域。For example, if the terminal uses a curved screen, when the edge touch area of the terminal utilizes the edge screen of the curved screen to obtain the operation information of the user, the effective area of the edge screen is the click or contact of the user's thumb when the user naturally holds the terminal. The edge area of the screen; if there is a physical button for adjusting the volume on the edge of the terminal, when the touch area of the terminal is used to obtain the operation information of the user by using the physical button for adjusting the volume, the effective area is a physical button for adjusting the volume; if the edge of the terminal exists A virtual button with a certain function, when the virtual touch button is used to obtain the operation information of the user in the touch area of the edge of the terminal, the effective area is the area where the virtual key is located; if there is a sensor with a certain function on the edge of the terminal, the edge of the terminal touches When the control area uses the sensor to obtain the operation information of the user, the effective area is the area where the sensor is located.
当所述屏幕显示状态为竖屏显示时,所述方法还包括:检测所述用户当前的手持状态,所述手持状态包括:左手持握和右手持握。When the screen display state is a vertical screen display, the method further includes: detecting a current handheld state of the user, the handheld state comprising: a left hand grip and a right hand grip.
具体的,在竖屏显示时,用户可以是左手持物或右手持握,并且在不同的手持状态下,用户在进行单手操作时能够触碰到的区域是不同的,如:用户当前的手持状态为左手持握时,用户能够灵活运用的是左拇指,并且用左拇指能够触碰到的是终端的左侧边缘触控区域;用户当前的手持状态为右手持握时,用户能够灵活运用的是右拇指,并且用右拇指能够触碰到的是终端的右侧边缘触控区域,因此需要检测出用户当前是左手持握还是右手持握。Specifically, when the screen is displayed in the vertical screen, the user may be the left hand or the right hand, and in different handheld states, the area that the user can touch when performing the one-hand operation is different, such as: the current handheld of the user. When the state is left hand grip, the user can flexibly use the left thumb, and the left thumb can touch the touch area of the left edge of the terminal; when the current handheld state of the user is the right hand grip, the user can flexibly use The right thumb is touched by the right thumb, and the right edge touch area of the terminal is touched. Therefore, it is necessary to detect whether the user is currently holding the left hand grip or the right hand grip.
其中,在检测用户当前手持状态时可以根据用户握持终端左右边缘两侧的手指数量来检测当前用户的持握状态,本申请的目的是为了确定用户当前手持状态,因此检测用户当前手持状态的方法均属于本申请的保护范围。The current user's current state of the user can be detected according to the number of fingers on both sides of the left and right edges of the user. The purpose of the present application is to determine the current handheld state of the user, and thus the current handheld state of the user is detected. The methods are all within the scope of protection of the present application.
若检测到所述用户当前的手持状态为左手持握,所述有效区域为所述终端在竖屏状态时左侧的所述边缘触控区域; If the current handheld state of the user is detected as a left hand grip, the effective area is the edge touch area on the left side when the terminal is in a portrait state;
若检测到所述用户当前的持握状态为右手持握,所述有效区域为所述终端在竖屏状态时右侧的所述边缘触控区域。If it is detected that the current grip state of the user is a right hand grip, the effective area is the edge touch area on the right side of the terminal when the terminal is in a portrait state.
具体的,左手持握和右手持握时用户能够触碰到的边缘触控区域是不同的,因此左手持握和右手持握的有效区域也是不同的。Specifically, the edge touch areas that the user can touch when the left hand grip and the right hand grip are different are different, so the effective areas of the left hand grip and the right hand grip are also different.
若屏幕显示状态为横屏显示,有效区域为所述终端的四个侧面中任意一侧边缘触控区域。If the screen display state is a horizontal screen display, the effective area is an edge touch area of any one of the four sides of the terminal.
具体的,由于屏幕显示状态为横屏显示时,此时用户握持设备的状态比较特殊,用户可以双手握持设备,此时用户能够触碰到的设备的四个侧面,终端设备的四个侧面都可以为有效区域,但是为了避多余的操作引起的操作错误和误操作引起的额外的焦距调节,可以根据预设的有效区域规则确定四个侧面中的一个侧面边缘触控区域为有效区域,具体选择哪个侧面为有效区域可以根据实际需求确定。Specifically, since the screen display state is a horizontal screen display, the state in which the user holds the device is special, the user can hold the device in both hands, and the four sides of the device that the user can touch at this time, the four devices of the terminal device The side surface can be an effective area, but in order to avoid the operation error caused by the unnecessary operation and the additional focus adjustment caused by the erroneous operation, one of the four side surfaces can be determined as the effective area according to the preset effective area rule. The specific choice of which side is the effective area can be determined according to actual needs.
所述用户在所述终端的边缘触控区域的操作信息包括:The operation information of the user in the edge touch area of the terminal includes:
所述用户在所述终端的边缘触控区域的滑动操作;或者,a sliding operation of the user in an edge touch area of the terminal; or
所述用户在所述终端的边缘触控区域的点击操作;或者,Clicking operation of the user in the edge touch area of the terminal; or
所述用户在所述终端的边缘触控区域的按压操作。The pressing operation of the user in the edge touch area of the terminal.
具体的,由于边缘触控区域可以是终端的侧面、屏幕边缘或某些实体按键,当边缘触控区域是终端的侧面、屏幕边缘时,用户通过在边缘触控区域上下滑动来实现相机焦距的调节;当边缘触控区域是终端的侧面、屏幕边缘时,且边缘触控区域分成两部分区域,一部分区域是使焦距变大,另一部分是使焦距变小,用户根据自身的需求通过按压其中的一个区域来实现调节焦距的目的;当边缘触控区域是终端的某些实体按键时,用户可以通过对实体按键的按压来实现对相机焦距的调节。Specifically, since the edge touch area may be the side of the terminal, the edge of the screen, or some physical buttons, when the edge touch area is the side of the terminal and the edge of the screen, the user realizes the camera focal length by sliding up and down the edge touch area. Adjusting; when the edge touch area is the side of the terminal, the edge of the screen, and the edge touch area is divided into two parts, a part of the area is to make the focal length larger, and the other part is to make the focal length smaller, and the user presses according to his own needs. One area is used to achieve the purpose of adjusting the focal length; when the edge touch area is some physical button of the terminal, the user can adjust the focal length of the camera by pressing the physical button.
步骤102,根据所述用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节。Step 102: Adjust a camera focal length on the terminal according to operation information of the user in an edge touch area of the terminal.
具体的,用户通过在终端的边缘触控区域上进行操作就可以对终端上的相机焦距进行调剂。Specifically, the user can adjust the camera focal length on the terminal by performing operations on the edge touch area of the terminal.
根据用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距 进行调节,具体包括:According to the operation information of the user in the touch area of the edge of the terminal, the camera focal length on the terminal Make adjustments, including:
检测所述操作信息是否为焦距调节的指定操作;Detecting whether the operation information is a specified operation of focus adjustment;
如果检测出所述操作信息是焦距调节的指定操作,根据预设的焦距调节规则和所述操作信息对所述终端上相机焦距进行调节。If it is detected that the operation information is a specified operation of the focus adjustment, the camera focal length on the terminal is adjusted according to a preset focus adjustment rule and the operation information.
具体的,焦距调节的指定操作是了判断用户在有效区域中的操作是否可以触发调节相机焦距。如果焦距调节的指定操作是在有效区域内向上滑动和向下滑动,在终端获取操作信息后,判断操作是否为向上滑动或向下滑动,如果操作信息是向上滑动或向下滑动,设备就可以根据滑动的方向确定如何调节相机焦距,在调节相机焦距时还要根据预设的焦距调剂规则进行调节,如果预设的焦距调节规则是:当沿边缘触控区域向上滑动时随着滑动距离的变大相机焦距随之变大;当沿边缘触控区域向下滑动时随着滑动距离的变大相机焦距随之变小,如果获取的操作信息为向上滑动,那么终端将相机焦距调大,如果获取的操作信息为向下滑动,那么终端将相机焦距调小。具体的预设的焦距调节规则可以根据实际需要进行确定。Specifically, the specified operation of the focus adjustment is to determine whether the operation of the user in the active area can trigger the adjustment of the camera focal length. If the specified operation of the focus adjustment is to slide up and down in the effective area, after the terminal obtains the operation information, it is determined whether the operation is sliding up or down, and if the operation information is sliding up or down, the device can According to the direction of the sliding, how to adjust the camera focal length is adjusted according to the preset focus adjustment rule when adjusting the camera focal length. If the preset focal length adjustment rule is: when sliding along the edge touch area, the sliding distance is When the zoom lens is zoomed in, the focal length of the camera becomes smaller as the sliding distance becomes larger. If the acquired operation information is upward sliding, the terminal increases the focal length of the camera. If the acquired operation information is sliding down, the terminal will reduce the camera focal length. The specific preset focus adjustment rule can be determined according to actual needs.
本申请实施例在终端采集图像过程中,获取用户在终端的边缘触控区域的操作信息;根据获取的所述用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节。本申请通过单手操作就可以准确、快速的对相机焦距进行调节的目的,方便了用户的操作,降低了用户的操作成本,提高了操作效率。In the process of acquiring an image by the terminal, the operation information of the user in the edge touch area of the terminal is obtained; and the camera focal length on the terminal is obtained according to the obtained operation information of the user in the edge touch area of the terminal. Make adjustments. The application can accurately and quickly adjust the focal length of the camera by one-hand operation, which is convenient for the user's operation, reduces the operation cost of the user, and improves the operation efficiency.
本申请实施例进一步给出实现上述方法实施例中各步骤及方法的终端20实施例,如图2所述,其为本申请实施例所提供的终端20的功能方块图,该终端20包括:The embodiment of the present application further provides an embodiment of the terminal 20 for implementing the steps and methods in the foregoing method embodiments. As shown in FIG. 2, which is a functional block diagram of the terminal 20 provided by the embodiment of the present application, the terminal 20 includes:
获取模块21,在终端20采集图像过程中,用于获取用户在所述终端20的边缘触控区域的操作信息;The obtaining module 21 is configured to acquire operation information of the user in an edge touch area of the terminal 20 during the process of acquiring the image by the terminal 20;
调节模块22,用于根据所述获取模块获取的所述用户在所述终端20的边缘触控区域的操作信息,对所述终端20上相机焦距进行调节。The adjusting module 22 is configured to adjust the camera focal length on the terminal 20 according to the operation information of the user in the edge touch area of the terminal 20 acquired by the acquiring module.
所述终端20,还包括:The terminal 20 further includes:
检测模块,用于检测所述操作信息是否为焦距调节的指定操作; a detecting module, configured to detect whether the operation information is a specified operation of focus adjustment;
所述调节模块,具体用于:The adjustment module is specifically configured to:
如果检测出所述操作信息是焦距调节的指定操作,根据预设的焦距调节规则和所述操作信息对所述终端20上相机焦距进行调节。If it is detected that the operation information is a specified operation of the focus adjustment, the camera focal length on the terminal 20 is adjusted according to a preset focus adjustment rule and the operation information.
所述检测模块,还具体用于:The detecting module is further specifically configured to:
在所述获取模块获取所述用户在所述终端20的边缘触控区域的操作信息之前,检测所述终端20是横屏状态还是竖屏状态,以获得检测结果;Before the acquiring module acquires the operation information of the user in the edge touch area of the terminal 20, detecting whether the terminal 20 is in a horizontal screen state or a vertical screen state, to obtain a detection result;
所述获取模块,具体用于:The obtaining module is specifically configured to:
根据所述检测结果,获取所述用户在所述终端20的边缘触控区域上的有效区域的操作信息。Obtaining, according to the detection result, operation information of the effective area of the user on the edge touch area of the terminal 20.
所述检测模块,还具体用于:当所述屏幕显示状态为竖屏显示时,检测所述用户当前的手持状态,所述手持状态包括:左手持握和右手持握;The detecting module is further configured to: when the screen display state is a vertical screen display, detecting a current handheld state of the user, where the handheld state includes: a left hand grip and a right hand grip;
若检测到所述用户当前的手持状态为左手持握,所述有效区域为所述终端20在竖屏状态时左侧的所述边缘触控区域;If the current handheld state of the user is detected as a left hand grip, the effective area is the edge touch area on the left side of the terminal 20 in a portrait state;
若检测到所述用户当前的持握状态为右手持握,所述有效区域为所述终端20在竖屏状态时右侧的所述边缘触控区域。If it is detected that the current grip state of the user is a right hand grip, the effective area is the edge touch area on the right side of the terminal 20 when in the portrait state.
若所述屏幕显示状态为横屏显示,所述有效区域为所述终端20的四个侧面中任意一侧边缘触控区域。If the screen display state is a horizontal screen display, the effective area is an edge touch area of any one of the four sides of the terminal 20.
所述用户在所述终端20的边缘触控区域的操作信息包括:The operation information of the user in the edge touch area of the terminal 20 includes:
所述用户在所述终端20的边缘触控区域的滑动操作;或者,a sliding operation of the user in an edge touch area of the terminal 20; or
所述用户在所述终端20的边缘触控区域的点击操作;或者,Click operation of the user in the edge touch area of the terminal 20; or
所述用户在所述终端20的边缘触控区域的按压操作。The pressing operation of the user in the edge touch area of the terminal 20.
由于本申请实施例中的各单元能够执行图1所示的方法,本申请实施例未详细描述的部分,可参考对图1的相关说明。Since the units in the embodiment of the present application can perform the method shown in FIG. 1 , the parts that are not described in detail in the embodiments of the present application may refer to the related description of FIG. 1 .
本申请实施例在终端20采集图像过程中,通过获取模块获取用户在终端20的边缘触控区域的操作信息;调节模块根据获取模块获取的所述用户在所述终端20的边缘触控区域的操作信息,对所述终端20上相机焦距进行调节。本申请通过单手操作就可以准确、快速的对相机焦距进行调节的目的,方便了用户 的操作,降低了用户的操作成本,提高了操作效率。In the embodiment of the present application, the operation information of the user in the edge touch area of the terminal 20 is obtained by the acquiring module, and the adjustment module acquires the touch area of the user at the edge of the terminal 20 according to the acquisition module. The camera information is adjusted on the terminal 20 by operating information. This application can accurately and quickly adjust the focal length of the camera by one-hand operation, which is convenient for the user. The operation reduces the operation cost of the user and improves the operation efficiency.
本申请实施例提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的调节相机焦距的方法。An embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions that can perform the method of adjusting a camera focal length in any of the above-described embodiments.
图3是本申请实施例提供的调节相机焦距的方法的电子设备30的硬件结构示意图,如图3所示,该设备包括:FIG. 3 is a schematic diagram of a hardware structure of an electronic device 30 for adjusting a camera focal length according to an embodiment of the present application. As shown in FIG. 3, the device includes:
一个或多个处理器31以及存储器32,处理器31和存储器32可以通过总线或者其他方式连接,图3中以通过总线连接为例。The one or more processors 31 and the memory 32, the processor 31 and the memory 32 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
图3中以一个处理器31为例。One processor 31 is taken as an example in FIG.
存储器32作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的调节相机焦距的方法对应的程序指令/模块(例如,附图2所示的获取模块21、调节模块22)。处理器31通过运行存储在存储器32中的非易失性软件程序、指令以及模块,从而执行电子设备30的各种功能应用以及数据处理,即实现上述方法实施例调节相机焦距的方法。The memory 32 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, as in the method for adjusting the camera focal length in the embodiment of the present application. Program instructions/modules (eg, acquisition module 21, adjustment module 22 shown in FIG. 2). The processor 31 performs various functional applications and data processing of the electronic device 30 by executing non-volatile software programs, instructions, and modules stored in the memory 32, that is, a method of adjusting the camera focal length by the above method embodiments.
存储器32可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储用户在电子设备30的边缘触控区域的操作信息等。此外,存储器32可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器32可选包括相对于处理器31远程设置的存储器,这些远程存储器可以通过网络连接至调节相机焦距的终端20。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 32 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store operation information of the user at an edge touch area of the electronic device 30, and the like. . Moreover, memory 32 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 32 may optionally include memory remotely located relative to processor 31, which may be connected to a terminal 20 that adjusts the camera's focal length via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个模块存储在所述存储器32中,当被所述一个或者多个处理器31执行时,执行上述任意方法实施例中的调节相机焦距的方法,例如,执行以上描述的图1中的方法步骤101至步骤102,实现图2中的模块21-22的功能。The one or more modules are stored in the memory 32, and when executed by the one or more processors 31, perform a method of adjusting a camera focal length in any of the above method embodiments, for example, performing the above described map The method steps 101 to 102 in 1 implement the functions of the modules 21-22 in FIG. 2.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模 块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above product can perform the method provided by the embodiment of the present application, and has the corresponding function module of the execution method. Blocks and benefits. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
本申请实施例的电子设备30以多种形式存在,包括但不限于:The electronic device 30 of the embodiment of the present application exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)其他具有数据交互功能的电子装置。(4) Other electronic devices with data interaction functions.
(5)照相机、摄像机等拍照设备。(5) Cameras, cameras, and other camera equipment.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到至少两个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located in one place. Or it can be distributed to at least two network elements. Some or all of the modules may be selected according to actual needs to achieve the objectives of the embodiments of the present application. Those of ordinary skill in the art can understand and implement without deliberate labor.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present application. range.

Claims (12)

  1. 一种调节相机焦距的方法,其特征在于,所述方法包括:A method of adjusting a focal length of a camera, the method comprising:
    在终端采集图像过程中,获取用户在所述终端的边缘触控区域的操作信息;Obtaining operation information of the user in the edge touch area of the terminal during the process of acquiring the image by the terminal;
    根据所述用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节。Adjusting a camera focal length on the terminal according to operation information of the user at an edge touch area of the terminal.
  2. 如权利要求1所述方法,其特征在于,所述根据用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节,包括:The method according to claim 1, wherein the adjusting the camera focal length on the terminal according to the operation information of the user in the edge touch area of the terminal comprises:
    检测所述操作信息是否为焦距调节的指定操作;Detecting whether the operation information is a specified operation of focus adjustment;
    如果检测出所述操作信息是焦距调节的指定操作,根据预设的焦距调节规则和所述操作信息对所述终端上相机焦距进行调节。If it is detected that the operation information is a specified operation of the focus adjustment, the camera focal length on the terminal is adjusted according to a preset focus adjustment rule and the operation information.
  3. 如权利要求1所述方法,其特征在于,在所述获取用户在所述终端的边缘触控区域的操作信息之前,所述方法还包括:The method of claim 1, wherein before the obtaining the operation information of the user in the edge touch area of the terminal, the method further comprises:
    检测所述终端是横屏状态还是竖屏状态,以获得检测结果;Detecting whether the terminal is in a horizontal screen state or a vertical screen state to obtain a detection result;
    获取用户在所述终端的边缘触控区域的操作信息,包括:Obtaining operation information of the user in the edge touch area of the terminal, including:
    根据所述检测结果,获取所述用户在所述终端的边缘触控区域上的有效区域的操作信息。Obtaining, according to the detection result, operation information of the effective area of the user on the edge touch area of the terminal.
  4. 如权利要求3所述方法,其特征在于,当所述屏幕显示状态为竖屏显示时,所述方法还包括:检测所述用户当前的手持状态,所述手持状态包括:左手持握和右手持握;The method of claim 3, wherein when the screen display state is a vertical screen display, the method further comprises: detecting a current handheld state of the user, the handheld state comprising: a left hand grip and a right hand Holding
    若检测到所述用户当前的手持状态为左手持握,所述有效区域为所述终端在竖屏状态时左侧的所述边缘触控区域;If the current handheld state of the user is detected as a left hand grip, the effective area is the edge touch area on the left side when the terminal is in a portrait state;
    若检测到所述用户当前的持握状态为右手持握,所述有效区域为所述终端在竖屏状态时右侧的所述边缘触控区域。If it is detected that the current grip state of the user is a right hand grip, the effective area is the edge touch area on the right side of the terminal when the terminal is in a portrait state.
  5. 如权利要求3所述方法,其特征在于,若所述屏幕显示状态为横屏显 示,所述有效区域为所述终端的四个侧面中任意一侧边缘触控区域。The method of claim 3, wherein if the screen display state is a horizontal screen display The effective area is an edge touch area of any one of the four sides of the terminal.
  6. 如权利要求1所述方法,其特征在于,所述用户在所述终端的边缘触控区域的操作信息包括:The method according to claim 1, wherein the operation information of the user in the edge touch area of the terminal comprises:
    所述用户在所述终端的边缘触控区域的滑动操作;或者,a sliding operation of the user in an edge touch area of the terminal; or
    所述用户在所述终端的边缘触控区域的点击操作;或者,Clicking operation of the user in the edge touch area of the terminal; or
    所述用户在所述终端的边缘触控区域的按压操作。The pressing operation of the user in the edge touch area of the terminal.
  7. 一种终端,其特征在于,所述终端包括:A terminal, wherein the terminal comprises:
    获取模块,在终端采集图像过程中,用于获取用户在所述终端的边缘触控区域的操作信息;The acquiring module is configured to acquire operation information of the user in an edge touch area of the terminal during the process of acquiring the image by the terminal;
    调节模块,用于根据所述获取模块获取的所述用户在所述终端的边缘触控区域的操作信息,对所述终端上相机焦距进行调节。And an adjustment module, configured to adjust a camera focal length on the terminal according to operation information of the user in an edge touch area of the terminal acquired by the acquiring module.
  8. 如权利要求7所述终端,其特征在于,所述终端,还包括:The terminal according to claim 7, wherein the terminal further comprises:
    检测模块,用于检测所述操作信息是否为焦距调节的指定操作;a detecting module, configured to detect whether the operation information is a specified operation of focus adjustment;
    所述调节模块,具体用于:The adjustment module is specifically configured to:
    如果检测出所述操作信息是焦距调节的指定操作,根据预设的焦距调节规则和所述操作信息对所述终端上相机焦距进行调节。If it is detected that the operation information is a specified operation of the focus adjustment, the camera focal length on the terminal is adjusted according to a preset focus adjustment rule and the operation information.
  9. 如权利要求7所述终端,其特征在于,所述检测模块,还具体用于:The terminal according to claim 7, wherein the detecting module is further configured to:
    在所述获取模块获取所述用户在所述终端的边缘触控区域的操作信息之前,检测所述终端是横屏状态还是竖屏状态,以获得检测结果;Before the acquiring module acquires the operation information of the user in the edge touch area of the terminal, detecting whether the terminal is in a horizontal screen state or a vertical screen state, to obtain a detection result;
    所述获取模块,具体用于:The obtaining module is specifically configured to:
    根据所述检测结果,获取所述用户在所述终端的边缘触控区域上的有效区域的操作信息。Obtaining, according to the detection result, operation information of the effective area of the user on the edge touch area of the terminal.
  10. 如权利要求9所述终端,其特征在于,所述检测模块,还具体用于:当所述屏幕显示状态为竖屏显示时,检测所述用户当前的手持状态,所述手持状态包括:左手持握和右手持握;The terminal according to claim 9, wherein the detecting module is further configured to: when the screen display state is a vertical screen display, detecting a current handheld state of the user, the handheld state comprising: a left hand Holding and holding the right hand;
    若检测到所述用户当前的手持状态为左手持握,所述有效区域为所述终端 在竖屏状态时左侧的所述边缘触控区域;If it is detected that the current handheld state of the user is a left hand grip, the effective area is the terminal The edge touch area on the left side in the portrait state;
    若检测到所述用户当前的持握状态为右手持握,所述有效区域为所述终端在竖屏状态时右侧的所述边缘触控区域。If it is detected that the current grip state of the user is a right hand grip, the effective area is the edge touch area on the right side of the terminal when the terminal is in a portrait state.
  11. 如权利要求9所述终端,其特征在于,若所述屏幕显示状态为横屏显示,所述有效区域为所述终端的四个侧面中任意一侧边缘触控区域。The terminal according to claim 9, wherein if the screen display state is a horizontal screen display, the effective area is an edge touch area of any one of the four sides of the terminal.
  12. 如权利要求7所述终端,其特征在于,所述用户在所述终端的边缘触控区域的操作信息包括:The terminal according to claim 7, wherein the operation information of the user in the edge touch area of the terminal comprises:
    所述用户在所述终端的边缘触控区域的滑动操作;或者,a sliding operation of the user in an edge touch area of the terminal; or
    所述用户在所述终端的边缘触控区域的点击操作;或者,Clicking operation of the user in the edge touch area of the terminal; or
    所述用户在所述终端的边缘触控区域的按压操作。 The pressing operation of the user in the edge touch area of the terminal.
PCT/CN2016/096765 2016-03-25 2016-08-25 Method for adjusting focus of camera and terminal WO2017161827A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610180438.1 2016-03-25
CN201610180438.1A CN105867654A (en) 2016-03-25 2016-03-25 Method for adjusting focal length of camera and terminal

Publications (1)

Publication Number Publication Date
WO2017161827A1 true WO2017161827A1 (en) 2017-09-28

Family

ID=56624843

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096765 WO2017161827A1 (en) 2016-03-25 2016-08-25 Method for adjusting focus of camera and terminal

Country Status (2)

Country Link
CN (1) CN105867654A (en)
WO (1) WO2017161827A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867654A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Method for adjusting focal length of camera and terminal
CN106657768A (en) * 2016-10-31 2017-05-10 珠海市魅族科技有限公司 Method and device for adjusting local length of lens
CN106506943A (en) * 2016-10-31 2017-03-15 珠海市魅族科技有限公司 A kind of lens focus control method and device
CN107426500B (en) * 2017-08-07 2021-04-06 深圳传音控股股份有限公司 Camera focusing method and device of mobile terminal and mobile terminal
CN107562359A (en) * 2017-09-05 2018-01-09 广东欧珀移动通信有限公司 Acquisition parameters adjusting method, device and terminal
CN112987958B (en) * 2019-12-16 2024-04-19 北京小米移动软件有限公司 Touch signal processing method and device
CN113552994A (en) * 2020-04-23 2021-10-26 华为技术有限公司 Touch operation method and device
CN111948896B (en) * 2020-08-15 2022-01-07 陈蜀乔 Naked eye 3D local holographic display method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110087963A1 (en) * 2009-10-09 2011-04-14 At&T Mobility Ii Llc User Interface Control with Edge Finger and Motion Sensing
CN104182164A (en) * 2013-05-27 2014-12-03 赛龙通信技术(深圳)有限公司 Electronic device and method for operating interface through side frame
CN104731478A (en) * 2015-03-24 2015-06-24 广东欧珀移动通信有限公司 Single-hand operation method and device of intelligent terminal
CN104866135A (en) * 2015-04-27 2015-08-26 努比亚技术有限公司 Method and device for inputting numeric characters through frame of touch screen
CN105867654A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Method for adjusting focal length of camera and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110087963A1 (en) * 2009-10-09 2011-04-14 At&T Mobility Ii Llc User Interface Control with Edge Finger and Motion Sensing
CN104182164A (en) * 2013-05-27 2014-12-03 赛龙通信技术(深圳)有限公司 Electronic device and method for operating interface through side frame
CN104731478A (en) * 2015-03-24 2015-06-24 广东欧珀移动通信有限公司 Single-hand operation method and device of intelligent terminal
CN104866135A (en) * 2015-04-27 2015-08-26 努比亚技术有限公司 Method and device for inputting numeric characters through frame of touch screen
CN105867654A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Method for adjusting focal length of camera and terminal

Also Published As

Publication number Publication date
CN105867654A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017161827A1 (en) Method for adjusting focus of camera and terminal
WO2017161825A1 (en) Scrolling screenshot use method and terminal
WO2017161803A1 (en) Method and terminal for adjusting settings
AU2014307237B2 (en) Method and apparatus for recognizing grip state in electronic device
JP5858155B2 (en) Method for automatically switching user interface of portable terminal device, and portable terminal device
US20180114046A1 (en) Electronic apparatus
US20170329484A1 (en) Method for Zooming In/Out Picture of Handheld Electronic Device, Method for Switching Played Content of Handheld Electronic Device, and Apparatus
WO2017161826A1 (en) Functional control method and terminal
WO2018027501A1 (en) Terminal, touch response method, and device
WO2016112699A1 (en) Method and device for switching display mode
RU2679539C2 (en) Method and device for determining terminal operation mode
CN109361794B (en) Zoom control method and device of mobile terminal, storage medium and mobile terminal
KR101403472B1 (en) Information processing method, method for driving image collection unit and electrical device
WO2021063099A1 (en) Photographing method and electronic device
WO2017161817A1 (en) Control method for terminal and terminal
CN108415641B (en) Icon processing method and mobile terminal
WO2017161824A1 (en) Method and device for controlling terminal
KR20140131061A (en) Method of operating touch screen and electronic device thereof
WO2015123971A1 (en) Input method and apparatus
WO2017012501A1 (en) Method and terminal for adjusting screen display direction
CN111177137B (en) Method, device, equipment and storage medium for data deduplication
US20150077437A1 (en) Method for Implementing Electronic Magnifier and User Equipment
WO2017075896A1 (en) Method and device for exchanging icon locations
WO2017161814A1 (en) Control method for terminal and terminal
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16895176

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16895176

Country of ref document: EP

Kind code of ref document: A1