WO2017143664A1 - Control method and apparatus for digital zoom and computer storage medium - Google Patents

Control method and apparatus for digital zoom and computer storage medium Download PDF

Info

Publication number
WO2017143664A1
WO2017143664A1 PCT/CN2016/081660 CN2016081660W WO2017143664A1 WO 2017143664 A1 WO2017143664 A1 WO 2017143664A1 CN 2016081660 W CN2016081660 W CN 2016081660W WO 2017143664 A1 WO2017143664 A1 WO 2017143664A1
Authority
WO
WIPO (PCT)
Prior art keywords
digital zoom
pressing
parameter
zoom operation
operation item
Prior art date
Application number
PCT/CN2016/081660
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 WO2017143664A1 publication Critical patent/WO2017143664A1/en

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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • 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/67Focus control based on electronic image sensor signals

Definitions

  • the present invention relates to the field of camera control technologies for mobile terminals, and in particular, to a digital zoom control method and apparatus, and a computer storage medium.
  • the digital zoom function is often used when taking pictures using a mobile terminal such as a mobile phone.
  • the current use of the digital zoom function has certain inconveniences, such as: when adjusting the digital zoom parameters, the user must hold the mobile phone with one hand, and the other hand uses two fingers to swipe the screen to perform the digital zoom operation.
  • the existing method for controlling the digital zoom of the camera is that the user cannot adjust the digital zoom parameter quickly and conveniently during the process of pressing the screen with one hand, and can only operate with the two hands, which is used by the user. It is inconvenient to lose, thus losing the convenience of one-handed operation.
  • Embodiments of the present invention are desirable to provide a digital zoom control method and apparatus, and a computer storage medium, which can quickly and conveniently adjust digital zoom parameters by one-hand operation, thereby improving the experience of using the mobile terminal.
  • Embodiments of the present invention provide a digital zoom control method, where the method includes:
  • the pressing parameter includes: a pressure value and a pressing position.
  • the comparing the detected pressing parameter with a preset corresponding parameter, and determining to be a valid pressing operation includes:
  • the digital zoom operation item includes: a digital zoom enlargement interface and/or a digital zoom reduction interface.
  • the determining a digital zoom operation item corresponding to the detected pressing parameter includes:
  • the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
  • the performing a digital zoom operation corresponding to the digital zoom operation item is implemented by sending a message to a photographing application.
  • the embodiment of the invention further provides a digital zoom control device, the device comprising:
  • a pressure collecting module configured to collect a pressing parameter of the pressing screen
  • the digital zoom determination module is configured to compare the collected pressing parameter with a preset corresponding parameter, and determine that the digital zoom operation item corresponding to the collected pressing parameter is determined when the effective pressing operation is performed;
  • the digital zoom control module is configured to perform a digital zoom operation corresponding to the digital zoom operation item.
  • the pressing parameter includes: a pressure value and a pressing position.
  • the digital zoom determination module compares the collected compression parameters with preset corresponding parameters, and determines that the effective pressing operation includes:
  • the digital zoom operation item includes: a digital zoom enlargement interface and/or a digital zoom reduction interface.
  • the digital zoom determination module determines the digital zoom operation item corresponding to the collected pressing parameter, including:
  • the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
  • the digital zoom control module performs a digital zoom operation corresponding to the digital zoom operation item, and is implemented by sending a message to the photographing application.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the digital zoom control method according to the embodiment of the invention.
  • the method and device for controlling digital zoom provided by the embodiment of the present invention, and a computer storage medium, detecting a pressing parameter of a pressing screen, comparing the detected pressing parameter with a preset corresponding parameter, and determining that the pressing operation is effective, Determining a digital zoom operation item corresponding to the detected pressing parameter, and performing a digital zoom operation corresponding to the digital zoom operation item.
  • the pressure sensor can be used to trigger the digital zoom operation item corresponding to different pressing parameters, so that the user can quickly and conveniently adjust the digital zoom parameter and improve the mobile terminal.
  • the experience is used to achieve the effect of one-hand operation; and the method is applicable to all mobile terminals, and the technology is simple to implement and low in cost, thereby facilitating user operation.
  • FIG. 1 is a schematic flowchart of an implementation method of a digital zoom control method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a system for implementing a digital zoom control method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a first embodiment of digital zoom determination according to the present invention.
  • FIG. 4 is a schematic diagram of a second embodiment of digital zoom determination according to the present invention.
  • FIG. 5 is a schematic structural diagram of a digital zoom control device according to an embodiment of the present invention.
  • the mobile terminal may include, but is not limited to, a mobile device such as a mobile phone, a tablet, or a palmtop computer.
  • the implementation process of the digital zoom control method in the embodiment of the present invention includes the following steps:
  • Step 101 Detect a pressing parameter of pressing the screen.
  • the pressing parameter includes a pressure value and a pressing position.
  • the mobile terminal in the embodiment of the present invention is provided with a display screen and a touch screen, and the mobile terminal can display a user interaction interface related to the camera function, such as a camera function interface and a video function interface, on the display screen.
  • a pressure sensor in the mobile terminal, and the pressure sensor is connected to the signal processing circuit, when the user clicks on the screen on the preview interface of the camera application of the mobile terminal, the pressure sensor and the signal processing circuit can detect the pressure when the user presses the screen. Value and press position.
  • the pressure value and the pressing position may be triggered by the pressure sensor in the mobile terminal system by default, or may be set by the user according to actual application requirements.
  • the corresponding digital zoom operation can be performed only when the pressure value and the pressing position of the user pressing the screen reach the requirements.
  • the pressure value may be the maximum pressure value when the screen is clicked, or may be the average value of the pressure obtained by sampling in the preset time period.
  • the signal processing circuit of the mobile terminal samples the pressure signal 10 times within 1 ms, and the terminal The processor calculates a pressure average value within 1 ms according to the pressure value of the above 10 samples, and uses the pressure average value as a pressure value that detects that the user presses the screen action within 1 ms.
  • Step 102 Compare the detected pressing parameter with a preset corresponding parameter, and determine that the digital zoom operation item corresponding to the detected pressing parameter is determined when the effective pressing operation is determined.
  • the comparing the detected pressing parameter with a preset corresponding parameter, and determining to be a valid pressing operation includes:
  • the determining the digital zoom operation item corresponding to the detected pressing parameter comprises:
  • the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
  • the digital zoom operation item includes: a digital zoom enlargement interface and/or a digital zoom reduction interface.
  • Step 103 Perform a digital zoom operation corresponding to the digital zoom operation item.
  • the digital zoom operation corresponding to the digital zoom operation item may be performed.
  • the form is implemented by sending a message to the camera application.
  • a system flow for implementing a digital zoom control method in an embodiment of the present invention includes the following steps:
  • Step 201 In the preview interface of the mobile terminal photographing application, the user clicks on the screen;
  • Step 202 The pressure collection module detects a pressing parameter of pressing the screen, and records a pressing parameter at this time;
  • the pressing parameter comprises: a pressure value and a pressing position.
  • Step 203 The pressure collection module sends the recorded pressure value and the pressed position to the digital zoom determination module;
  • Step 204 The digital zoom determination module compares the received pressure value with a preset pressure threshold. If the preset pressure threshold is reached, step 205 is performed, otherwise, the next step is not performed;
  • Step 205 The digital zoom determination module compares the received pressing position with a preset pressing position. If the pressing position requirement is met, step 206 is performed; otherwise, the waiting is continued;
  • Step 206 The digital zoom determination module determines a corresponding digital zoom operation item type according to the received pressure value and the pressed position.
  • Step 207 The digital zoom determination module sends the determined digital zoom operation item to the digital zoom control module.
  • Step 208 The digital zoom control module performs a digital zoom operation corresponding to the digital zoom operation item.
  • the digital zoom control module performs a digital zoom operation corresponding to the digital zoom operation item, and can be implemented by sending a message to the photographing application.
  • the user can quickly and conveniently adjust the digital zoom parameters with one-hand operation.
  • the cost is small, and the user experience is considerable.
  • the digital zoom operation item corresponding to the different pressing position may be determined according to the corresponding relationship between the different pressing positions of the default or custom setting and the digital zoom operation item, for example, when the upper left half of the screen is pressed, the digital zoom enlargement interface is activated. Operation; when pressing the lower left part of the screen, the operation of starting the digital zoom reduction interface is shown in Figure 3.
  • the corresponding digital zoom operation item is determined according to the difference value of the difference in the pressure values, for example, the pressing pressure is increased on the basis of the pressure value of the initial pressing, and then the operation of performing the digital zoom amplification interface is determined; the pressure at the initial pressing When the pressing pressure is reduced on the basis of the value, it is determined that the operation of the digital zoom reduction interface is performed, as shown in FIG.
  • the pressure value and the pressing position of the digital zoom operation may be defaulted by the mobile terminal or set by the user.
  • the mobile terminal provides no less than one interface to set the pressure value and the pressing position corresponding to the digital zoom operation item, that is, the mobile terminal provides no less than one interface to adjust the pressure value and the pressing position, for example, when the digital zoom operation can be adjusted. Press the pressure value and the pressing position of the screen and set the parameters of the digital zoom operation item.
  • the embodiment of the present invention further provides a digital zoom control device.
  • the device includes a pressure acquisition module 51, a digital zoom determination module 52, and a digital zoom control module 53.
  • the pressure collecting module 51 is configured to collect a pressing parameter of the pressing screen
  • the digital zoom determination module 52 is configured to compare the collected pressing parameter with a preset corresponding parameter, and determine that the digital zoom operation item corresponding to the collected pressing parameter is determined when the effective pressing operation is determined;
  • the digital zoom control module 53 is configured to perform a digital change corresponding to the digital zoom operation item Focus operation.
  • the pressing parameter includes: a pressure value and a pressing position
  • the digital zoom operation item includes: a digital zoom enlargement interface and/or a digital zoom reduction interface.
  • the digital zoom determination module 52 compares the collected compression parameters with preset corresponding parameters, and determines that the effective pressing operation includes:
  • the digital zoom determination module 52 determines a digital zoom operation item corresponding to the collected pressing parameter, including:
  • the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
  • the digital zoom control module performs a digital zoom operation corresponding to the digital zoom operation item, and is implemented in the form of sending a message to the photographing application.
  • the pressure collection module 51, the digital zoom determination module 52, and the digital zoom control module 53 may each be a central processing unit (CPU) located on a mobile terminal having a touch screen, and a microprocessor (MPU, Micro Processor Unit), Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA).
  • CPU central processing unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the embodiment of the present invention detects a pressing parameter of the pressing screen, compares the detected pressing parameter with a preset corresponding parameter, and determines that the digital zoom operation item corresponding to the detected pressing parameter is determined when the effective pressing operation is performed. Performing a digital zoom operation corresponding to the digital zoom operation item.
  • the pressure sensor can be used to trigger different pressing parameters in one-hand operation.
  • the digital zoom operation item corresponding to the number allows the user to quickly and conveniently adjust the digital zoom parameter, thereby improving the use experience of the mobile terminal, thereby achieving the effect of one-hand operation; and the method is applicable to all mobile terminals, and the technology is simple to implement. The cost is low, which makes the operation more convenient for the user.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • the above integrated unit of the present invention is implemented in the form of a software functional module and Separate products can also be stored on a computer readable storage medium when sold or used.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
  • the technical solution of the embodiment of the present invention can use a pressure sensor to trigger a digital zoom operation item corresponding to different pressing parameters in a single-hand operation, so that the user can quickly and conveniently adjust the digital zoom parameter to improve the experience of using the mobile terminal.
  • a pressure sensor to trigger a digital zoom operation item corresponding to different pressing parameters in a single-hand operation, so that the user can quickly and conveniently adjust the digital zoom parameter to improve the experience of using the mobile terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Lens Barrels (AREA)
  • Telephone Function (AREA)

Abstract

A control method and apparatus for digital zoom and a computer storage medium. The method comprises: detecting a pressing parameter for pressing a screen; comparing the detected pressing parameter with a pre-set corresponding parameter, and when it is determined that the detected pressing parameter is a valid pressing operation, determining a digital zoom operation item corresponding to the detected pressing parameter; and executing a digital zoom operation corresponding to the digital zoom operation item.

Description

一种数码变焦的控制方法、装置和计算机存储介质Digital zoom control method, device and computer storage medium 技术领域Technical field
本发明涉及移动终端摄像控制技术领域,尤其涉及一种数码变焦的控制方法、装置和计算机存储介质。The present invention relates to the field of camera control technologies for mobile terminals, and in particular, to a digital zoom control method and apparatus, and a computer storage medium.
背景技术Background technique
目前,移动终端与人们的生活越来越紧密,在日常生活中,智能手机、平板电脑等已随处可见。随着各种应用软件的开发,移动终端的功能越来越强大,例如,可以用这些移动终端来进行拍照、摄影、上网、游戏等等。其中,在使用移动终端如手机进行拍照时,经常会用到数码变焦功能。但是,目前使用数码变焦功能有一定的不便,如:在调整数码变焦参数时,用户必须一手持手机,另一手用两指划动屏幕来执行数码变焦操作。因此,现有的控制摄像头数码变焦的方法,是无法让用户通过单手在按压屏幕的过程中,快速、便捷地调整数码变焦参数,而只能使用双手配合进行操作,这给用户的使用带来一定不便,从而失去了单手操作的便捷性。At present, mobile terminals and people's lives are getting closer and closer. In daily life, smartphones and tablets are everywhere. With the development of various application software, the functions of mobile terminals are becoming more and more powerful. For example, these mobile terminals can be used for photographing, photography, surfing, games, and the like. Among them, the digital zoom function is often used when taking pictures using a mobile terminal such as a mobile phone. However, the current use of the digital zoom function has certain inconveniences, such as: when adjusting the digital zoom parameters, the user must hold the mobile phone with one hand, and the other hand uses two fingers to swipe the screen to perform the digital zoom operation. Therefore, the existing method for controlling the digital zoom of the camera is that the user cannot adjust the digital zoom parameter quickly and conveniently during the process of pressing the screen with one hand, and can only operate with the two hands, which is used by the user. It is inconvenient to lose, thus losing the convenience of one-handed operation.
发明内容Summary of the invention
本发明实施例期望提供一种数码变焦的控制方法、装置和计算机存储介质,能够通过单手操作实现数码变焦参数快速、便捷地调整,提升对移动终端的使用体验。Embodiments of the present invention are desirable to provide a digital zoom control method and apparatus, and a computer storage medium, which can quickly and conveniently adjust digital zoom parameters by one-hand operation, thereby improving the experience of using the mobile terminal.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种数码变焦的控制方法,所述方法包括:Embodiments of the present invention provide a digital zoom control method, where the method includes:
检测按压屏幕的按压参数;Detecting a pressing parameter of the pressing screen;
将所述检测到的按压参数与预设的对应参数进行比较,判定为有效按 压操作时,确定所述检测到的按压参数对应的数码变焦操作项;Comparing the detected pressing parameter with a preset corresponding parameter, and determining that the pressing parameter is valid Determining, according to the pressing operation, a digital zoom operation item corresponding to the detected pressing parameter;
执行所述数码变焦操作项对应的数码变焦操作。Performing a digital zoom operation corresponding to the digital zoom operation item.
作为一种实施方式,所述按压参数包括:压力值和按压位置。As an embodiment, the pressing parameter includes: a pressure value and a pressing position.
作为一种实施方式,所述将所述检测到的按压参数与预设的对应参数进行比较,判定为有效按压操作,包括:As an implementation manner, the comparing the detected pressing parameter with a preset corresponding parameter, and determining to be a valid pressing operation, includes:
将所述检测到的压力值与预设的压力门限值进行比较,同时将所述检测到的按压位置与预设的按压位置进行比较,若当前按压的压力值达到所述压力门限值,且当前的按压位置符合按压位置要求,则判定当前的按压操作为有效按压操作。Comparing the detected pressure value with a preset pressure threshold value, and comparing the detected pressing position with a preset pressing position, if the currently pressed pressure value reaches the pressure threshold value And the current pressing position meets the pressing position requirement, and it is determined that the current pressing operation is a valid pressing operation.
作为一种实施方式,所述数码变焦操作项包括:数码变焦放大界面和/或数码变焦缩小界面。As an implementation manner, the digital zoom operation item includes: a digital zoom enlargement interface and/or a digital zoom reduction interface.
作为一种实施方式,所述确定所述检测到的按压参数对应的数码变焦操作项,包括:As an embodiment, the determining a digital zoom operation item corresponding to the detected pressing parameter includes:
根据默认的或自定义设置的不同按压位置与数码变焦操作的对应关系,确定不同的按压位置对应的数码变焦操作项;Determining a digital zoom operation item corresponding to different pressing positions according to a corresponding relationship between different pressing positions of the default or custom setting and the digital zoom operation;
或者,根据压力值的不同变化差值确定对应的数码变焦操作项。Alternatively, the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
作为一种实施方式,所述执行所述数码变焦操作项对应的数码变焦操作,采用向拍照应用发送消息的形式实现。As an implementation manner, the performing a digital zoom operation corresponding to the digital zoom operation item is implemented by sending a message to a photographing application.
本发明实施例还提供了一种数码变焦的控制装置,所述装置包括:The embodiment of the invention further provides a digital zoom control device, the device comprising:
压力采集模块,配置为采集按压屏幕的按压参数;a pressure collecting module configured to collect a pressing parameter of the pressing screen;
数码变焦判定模块,配置为将所述采集到的按压参数与预设的对应参数进行比较,判定为有效按压操作时,确定所述采集到的按压参数对应的数码变焦操作项;The digital zoom determination module is configured to compare the collected pressing parameter with a preset corresponding parameter, and determine that the digital zoom operation item corresponding to the collected pressing parameter is determined when the effective pressing operation is performed;
数码变焦控制模块,配置为执行所述数码变焦操作项对应的数码变焦操作。 The digital zoom control module is configured to perform a digital zoom operation corresponding to the digital zoom operation item.
作为一种实施方式,所述按压参数包括:压力值和按压位置。As an embodiment, the pressing parameter includes: a pressure value and a pressing position.
作为一种实施方式,所述数码变焦判定模块将所述采集到的按压参数与预设的对应参数进行比较,判定为有效按压操作,包括:As an embodiment, the digital zoom determination module compares the collected compression parameters with preset corresponding parameters, and determines that the effective pressing operation includes:
将所述采集到的压力值与预设的压力门限值进行比较,同时将所述采集到的按压位置与预设的按压位置进行比较,若当前按压的压力值达到所述压力门限值,且当前的按压位置符合按压位置要求,则判定当前的按压操作为有效按压操作。Comparing the collected pressure value with a preset pressure threshold value, and comparing the collected pressing position with a preset pressing position, if the currently pressed pressure value reaches the pressure threshold value And the current pressing position meets the pressing position requirement, and it is determined that the current pressing operation is a valid pressing operation.
作为一种实施方式,所述数码变焦操作项包括:数码变焦放大界面和/或数码变焦缩小界面。As an implementation manner, the digital zoom operation item includes: a digital zoom enlargement interface and/or a digital zoom reduction interface.
作为一种实施方式,所述数码变焦判定模块确定所述采集到的按压参数对应的数码变焦操作项,包括:As an embodiment, the digital zoom determination module determines the digital zoom operation item corresponding to the collected pressing parameter, including:
根据默认的或自定义设置的不同按压位置与数码变焦操作项的对应关系,确定不同的按压位置对应的数码变焦操作项;Determining a digital zoom operation item corresponding to different pressing positions according to a corresponding relationship between different pressing positions of the default or custom settings and the digital zoom operation item;
或者,根据压力值的不同变化差值确定对应的数码变焦操作项。Alternatively, the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
作为一种实施方式,所述数码变焦控制模块执行所述数码变焦操作项对应的数码变焦操作,采用向拍照应用发送消息的形式实现。As an implementation manner, the digital zoom control module performs a digital zoom operation corresponding to the digital zoom operation item, and is implemented by sending a message to the photographing application.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的数码变焦的控制方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the digital zoom control method according to the embodiment of the invention.
本发明实施例所提供的数码变焦的控制方法、装置和计算机存储介质,检测按压屏幕的按压参数,将所述检测到的按压参数与预设的对应参数进行比较,判定为有效按压操作时,确定所述检测到的按压参数对应的数码变焦操作项,执行所述数码变焦操作项对应的数码变焦操作。如此,能够在单手操作的情况下,利用压力传感器触发不同按压参数对应的数码变焦操作项,可以让用户快速、便捷地调整数码变焦参数,提升对移动终端的 使用体验,从而达到单手操作的效果;并且,该方法适用于所有移动终端,技术实现简单,成本低,从而更加方便用户的操作。The method and device for controlling digital zoom provided by the embodiment of the present invention, and a computer storage medium, detecting a pressing parameter of a pressing screen, comparing the detected pressing parameter with a preset corresponding parameter, and determining that the pressing operation is effective, Determining a digital zoom operation item corresponding to the detected pressing parameter, and performing a digital zoom operation corresponding to the digital zoom operation item. In this way, in the case of one-hand operation, the pressure sensor can be used to trigger the digital zoom operation item corresponding to different pressing parameters, so that the user can quickly and conveniently adjust the digital zoom parameter and improve the mobile terminal. The experience is used to achieve the effect of one-hand operation; and the method is applicable to all mobile terminals, and the technology is simple to implement and low in cost, thereby facilitating user operation.
附图说明DRAWINGS
图1为本发明实施例数码变焦的控制方法的实现流程示意图;FIG. 1 is a schematic flowchart of an implementation method of a digital zoom control method according to an embodiment of the present invention; FIG.
图2为本发明实施例具体实现数码变焦的控制方法的***流程示意图;2 is a schematic flowchart of a system for implementing a digital zoom control method according to an embodiment of the present invention;
图3为本发明数码变焦判定实施例一的示意图;3 is a schematic diagram of a first embodiment of digital zoom determination according to the present invention;
图4为本发明数码变焦判定实施例二的示意图;4 is a schematic diagram of a second embodiment of digital zoom determination according to the present invention;
图5为本发明实施例数码变焦的控制装置的组成结构示意图。FIG. 5 is a schematic structural diagram of a digital zoom control device according to an embodiment of the present invention.
具体实施方式detailed description
为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明。The embodiments of the present invention are described in detail with reference to the accompanying drawings.
在本发明实施例中,所述移动终端可以包括但不限于手机、平板、掌上电脑等移动设备。In the embodiment of the present invention, the mobile terminal may include, but is not limited to, a mobile device such as a mobile phone, a tablet, or a palmtop computer.
如图1所示,本发明实施例中数码变焦的控制方法的实现流程,包括以下步骤:As shown in FIG. 1, the implementation process of the digital zoom control method in the embodiment of the present invention includes the following steps:
步骤101:检测按压屏幕的按压参数。Step 101: Detect a pressing parameter of pressing the screen.
这里,所述按压参数包括:压力值和按压位置。Here, the pressing parameter includes a pressure value and a pressing position.
本发明实施例中的移动终端均设置有显示屏和触摸屏,移动终端能够将与摄像头功能相关的用户交互界面,如拍照功能界面、录像功能界面等,显示在显示屏上。通过在移动终端中内置压力传感器,且该压力传感器连接信号处理电路,当在移动终端拍照应用的预览界面上,用户点击屏幕时,可以通过上述压力传感器和信号处理电路检测用户按压屏幕时的压力值和按压位置。 The mobile terminal in the embodiment of the present invention is provided with a display screen and a touch screen, and the mobile terminal can display a user interaction interface related to the camera function, such as a camera function interface and a video function interface, on the display screen. By incorporating a pressure sensor in the mobile terminal, and the pressure sensor is connected to the signal processing circuit, when the user clicks on the screen on the preview interface of the camera application of the mobile terminal, the pressure sensor and the signal processing circuit can detect the pressure when the user presses the screen. Value and press position.
这里,所述压力值和按压位置可以由移动终端***中的压力传感器默认触发,也可以由用户根据实际应用需求自行设置触发。但是,只有当用户按压屏幕的压力值和按压位置均达到要求时,才能执行相应的数码变焦操作。Here, the pressure value and the pressing position may be triggered by the pressure sensor in the mobile terminal system by default, or may be set by the user according to actual application requirements. However, the corresponding digital zoom operation can be performed only when the pressure value and the pressing position of the user pressing the screen reach the requirements.
其中,所述压力值可以是点击屏幕时的最大压力值,也可以是预设时间段内采样得到的压力的平均值,例如,移动终端的信号处理电路在1ms内采样压力信号10次,终端处理器根据上述10次采样的压力值,计算得到1ms内的压力平均值,并将该压力平均值作为检测到用户按压屏幕动作在1ms内的压力值。The pressure value may be the maximum pressure value when the screen is clicked, or may be the average value of the pressure obtained by sampling in the preset time period. For example, the signal processing circuit of the mobile terminal samples the pressure signal 10 times within 1 ms, and the terminal The processor calculates a pressure average value within 1 ms according to the pressure value of the above 10 samples, and uses the pressure average value as a pressure value that detects that the user presses the screen action within 1 ms.
步骤102:将所述检测到的按压参数与预设的对应参数进行比较,判定为有效按压操作时,确定所述检测到的按压参数对应的数码变焦操作项。Step 102: Compare the detected pressing parameter with a preset corresponding parameter, and determine that the digital zoom operation item corresponding to the detected pressing parameter is determined when the effective pressing operation is determined.
这里,所述将所述检测到的按压参数与预设的对应参数进行比较,判定为有效按压操作,包括:Here, the comparing the detected pressing parameter with a preset corresponding parameter, and determining to be a valid pressing operation, includes:
将所述检测到的压力值与预设的压力门限值进行比较,同时将所述检测到的按压位置与预设的按压位置进行比较,若当前按压的压力值达到所述压力门限值,且当前的按压位置符合按压位置要求,则判定当前的按压操作为有效按压操作。Comparing the detected pressure value with a preset pressure threshold value, and comparing the detected pressing position with a preset pressing position, if the currently pressed pressure value reaches the pressure threshold value And the current pressing position meets the pressing position requirement, and it is determined that the current pressing operation is a valid pressing operation.
所述确定所述检测到的按压参数对应的数码变焦操作项,包括:The determining the digital zoom operation item corresponding to the detected pressing parameter comprises:
根据默认的或自定义设置的不同按压位置与数码变焦操作项的对应关系,确定不同的按压位置对应的数码变焦操作项;Determining a digital zoom operation item corresponding to different pressing positions according to a corresponding relationship between different pressing positions of the default or custom settings and the digital zoom operation item;
或者,根据压力值的不同变化差值确定对应的数码变焦操作项。Alternatively, the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
这里,所述数码变焦操作项包括:数码变焦放大界面和/或数码变焦缩小界面。Here, the digital zoom operation item includes: a digital zoom enlargement interface and/or a digital zoom reduction interface.
步骤103:执行所述数码变焦操作项对应的数码变焦操作。Step 103: Perform a digital zoom operation corresponding to the digital zoom operation item.
这里,所述执行所述数码变焦操作项对应的数码变焦操作,可以采用 向拍照应用发送消息的形式实现。Here, the digital zoom operation corresponding to the digital zoom operation item may be performed. The form is implemented by sending a message to the camera application.
如图2所示,本发明实施例中具体实现数码变焦的控制方法的***流程,包括以下步骤:As shown in FIG. 2, a system flow for implementing a digital zoom control method in an embodiment of the present invention includes the following steps:
步骤201:在移动终端拍照应用的预览界面,用户点击屏幕;Step 201: In the preview interface of the mobile terminal photographing application, the user clicks on the screen;
步骤202:压力采集模块检测到按压屏幕的按压参数,并记录此时的按压参数;Step 202: The pressure collection module detects a pressing parameter of pressing the screen, and records a pressing parameter at this time;
其中,所述按压参数包括:压力值和按压位置。Wherein, the pressing parameter comprises: a pressure value and a pressing position.
步骤203:压力采集模块将记录的压力值和按压位置下发给数码变焦判定模块;Step 203: The pressure collection module sends the recorded pressure value and the pressed position to the digital zoom determination module;
步骤204:数码变焦判定模块将接收到的压力值与预设的压力门限值进行比较,如果达到预设的压力门限值,则执行步骤205,否则丢弃,不执行下一步操作;Step 204: The digital zoom determination module compares the received pressure value with a preset pressure threshold. If the preset pressure threshold is reached, step 205 is performed, otherwise, the next step is not performed;
步骤205:数码变焦判定模块将接收到的按压位置与预设的按压位置进行比较,如果符合按压位置要求,则执行步骤206,否则继续等待;Step 205: The digital zoom determination module compares the received pressing position with a preset pressing position. If the pressing position requirement is met, step 206 is performed; otherwise, the waiting is continued;
步骤206:数码变焦判定模块根据接收到的压力值、按压位置确定对应的数码变焦操作项类型;Step 206: The digital zoom determination module determines a corresponding digital zoom operation item type according to the received pressure value and the pressed position.
步骤207:数码变焦判定模块将确定的数码变焦操作项下发给数码变焦控制模块;Step 207: The digital zoom determination module sends the determined digital zoom operation item to the digital zoom control module.
步骤208:数码变焦控制模块执行数码变焦操作项对应的数码变焦操作。Step 208: The digital zoom control module performs a digital zoom operation corresponding to the digital zoom operation item.
其中,数码变焦控制模块执行数码变焦操作项对应的数码变焦操作,可以采用向拍照应用发送消息的形式实现。The digital zoom control module performs a digital zoom operation corresponding to the digital zoom operation item, and can be implemented by sending a message to the photographing application.
下面对本发明实施例提供的数码变焦判定的技术方案做进一步地详细介绍:The technical solution of the digital zoom determination provided by the embodiment of the present invention is further described in detail below:
在本发明实施例中,通过对数码变焦操作划分不同压力值和按压位置, 利用压力传感器触发不同压力值和按压位置对应的数码变焦操作项,可以让用户在单手操作的情况下,快速、便捷地调整数码变焦参数。采用本发明的方法,成本小,带来的用户体验可观。In the embodiment of the present invention, by dividing the digital zoom operation into different pressure values and pressing positions, Using the pressure sensor to trigger digital zoom operation items corresponding to different pressure values and pressing positions, the user can quickly and conveniently adjust the digital zoom parameters with one-hand operation. By adopting the method of the invention, the cost is small, and the user experience is considerable.
具体地,可以根据默认的或自定义设置的不同按压位置与数码变焦操作项的对应关系,确定不同的按压位置对应的数码变焦操作项,例如,按压屏幕左上半部分时,启动数码变焦放大界面的操作;按压屏幕左下半部分时,启动数码变焦缩小界面的操作,如图3所示。Specifically, the digital zoom operation item corresponding to the different pressing position may be determined according to the corresponding relationship between the different pressing positions of the default or custom setting and the digital zoom operation item, for example, when the upper left half of the screen is pressed, the digital zoom enlargement interface is activated. Operation; when pressing the lower left part of the screen, the operation of starting the digital zoom reduction interface is shown in Figure 3.
也可以设定按压特定的位置,如拍照按钮等,根据按压的压力值的不同来执行不同的数码变焦操作。具体地,根据压力值的不同变化差值确定对应的数码变焦操作项,例如,在初始按压的压力值的基准上增加按压压力,则判定为执行数码变焦放大界面的操作;在初始按压的压力值的基准上减小按压压力,则判定为执行数码变焦缩小界面的操作,如图4所示。It is also possible to set a specific position to be pressed, such as a photographing button, etc., and perform different digital zoom operations depending on the pressure value of the pressing. Specifically, the corresponding digital zoom operation item is determined according to the difference value of the difference in the pressure values, for example, the pressing pressure is increased on the basis of the pressure value of the initial pressing, and then the operation of performing the digital zoom amplification interface is determined; the pressure at the initial pressing When the pressing pressure is reduced on the basis of the value, it is determined that the operation of the digital zoom reduction interface is performed, as shown in FIG.
其中,执行数码变焦操作的压力值和按压位置,可以是移动终端默认的,或者是用户自定义设置的。另外,移动终端提供不少于一个界面来设置数码变焦操作项对应的压力值和按压位置,即:移动终端提供不少于一个界面来调节压力值和按压位置,例如,可以调节数码变焦操作时按压屏幕的压力值和按压位置,并设定为数码变焦操作项的参数。The pressure value and the pressing position of the digital zoom operation may be defaulted by the mobile terminal or set by the user. In addition, the mobile terminal provides no less than one interface to set the pressure value and the pressing position corresponding to the digital zoom operation item, that is, the mobile terminal provides no less than one interface to adjust the pressure value and the pressing position, for example, when the digital zoom operation can be adjusted. Press the pressure value and the pressing position of the screen and set the parameters of the digital zoom operation item.
为实现上述方法,本发明实施例还提供了一种数码变焦的控制装置,如图5所示,该装置包括压力采集模块51、数码变焦判定模块52、数码变焦控制模块53;其中,In order to achieve the above method, the embodiment of the present invention further provides a digital zoom control device. As shown in FIG. 5, the device includes a pressure acquisition module 51, a digital zoom determination module 52, and a digital zoom control module 53.
压力采集模块51,配置为采集按压屏幕的按压参数;The pressure collecting module 51 is configured to collect a pressing parameter of the pressing screen;
数码变焦判定模块52,配置为将所述采集到的按压参数与预设的对应参数进行比较,判定为有效按压操作时,确定所述采集到的按压参数对应的数码变焦操作项;The digital zoom determination module 52 is configured to compare the collected pressing parameter with a preset corresponding parameter, and determine that the digital zoom operation item corresponding to the collected pressing parameter is determined when the effective pressing operation is determined;
数码变焦控制模块53,配置为执行所述数码变焦操作项对应的数码变 焦操作。The digital zoom control module 53 is configured to perform a digital change corresponding to the digital zoom operation item Focus operation.
这里,所述按压参数包括:压力值和按压位置;所述数码变焦操作项包括:数码变焦放大界面和/或数码变焦缩小界面。Here, the pressing parameter includes: a pressure value and a pressing position; and the digital zoom operation item includes: a digital zoom enlargement interface and/or a digital zoom reduction interface.
作为一种实施方式,所述数码变焦判定模块52将所述采集到的按压参数与预设的对应参数进行比较,判定为有效按压操作,包括:As an embodiment, the digital zoom determination module 52 compares the collected compression parameters with preset corresponding parameters, and determines that the effective pressing operation includes:
将所述采集到的压力值与预设的压力门限值进行比较,同时将所述采集到的按压位置与预设的按压位置进行比较,若当前按压的压力值达到所述压力门限值,且当前的按压位置符合按压位置要求,则判定当前的按压操作为有效按压操作。Comparing the collected pressure value with a preset pressure threshold value, and comparing the collected pressing position with a preset pressing position, if the currently pressed pressure value reaches the pressure threshold value And the current pressing position meets the pressing position requirement, and it is determined that the current pressing operation is a valid pressing operation.
所述数码变焦判定模块52确定所述采集到的按压参数对应的数码变焦操作项,包括:The digital zoom determination module 52 determines a digital zoom operation item corresponding to the collected pressing parameter, including:
根据默认的或自定义设置的不同按压位置与数码变焦操作项的对应关系,确定不同的按压位置对应的数码变焦操作项;Determining a digital zoom operation item corresponding to different pressing positions according to a corresponding relationship between different pressing positions of the default or custom settings and the digital zoom operation item;
或者,根据压力值的不同变化差值确定对应的数码变焦操作项。Alternatively, the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
这里,所述数码变焦控制模块执行所述数码变焦操作项对应的数码变焦操作,采用向拍照应用发送消息的形式实现。Here, the digital zoom control module performs a digital zoom operation corresponding to the digital zoom operation item, and is implemented in the form of sending a message to the photographing application.
在实际应用中,所述压力采集模块51、数码变焦判定模块52、数码变焦控制模块53均可由位于具有触摸屏的移动终端上的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。In a practical application, the pressure collection module 51, the digital zoom determination module 52, and the digital zoom control module 53 may each be a central processing unit (CPU) located on a mobile terminal having a touch screen, and a microprocessor (MPU, Micro Processor Unit), Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA).
本发明实施例检测按压屏幕的按压参数,将所述检测到的按压参数与预设的对应参数进行比较,判定为有效按压操作时,确定所述检测到的按压参数对应的数码变焦操作项,执行所述数码变焦操作项对应的数码变焦操作。如此,能够在单手操作的情况下,利用压力传感器触发不同按压参 数对应的数码变焦操作项,可以让用户快速、便捷地调整数码变焦参数,提升对移动终端的使用体验,从而达到单手操作的效果;并且,该方法适用于所有移动终端,技术实现简单,成本低,从而更加方便用户的操作。The embodiment of the present invention detects a pressing parameter of the pressing screen, compares the detected pressing parameter with a preset corresponding parameter, and determines that the digital zoom operation item corresponding to the detected pressing parameter is determined when the effective pressing operation is performed. Performing a digital zoom operation corresponding to the digital zoom operation item. In this way, the pressure sensor can be used to trigger different pressing parameters in one-hand operation. The digital zoom operation item corresponding to the number allows the user to quickly and conveniently adjust the digital zoom parameter, thereby improving the use experience of the mobile terminal, thereby achieving the effect of one-hand operation; and the method is applicable to all mobile terminals, and the technology is simple to implement. The cost is low, which makes the operation more convenient for the user.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个***,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为 独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above integrated unit of the present invention is implemented in the form of a software functional module and Separate products can also be stored on a computer readable storage medium when sold or used. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例的技术方案能够在单手操作的情况下,利用压力传感器触发不同按压参数对应的数码变焦操作项,可以让用户快速、便捷地调整数码变焦参数,提升对移动终端的使用体验,从而达到单手操作的效果;并且,该方法适用于所有移动终端,技术实现简单,成本低,从而更加方便用户的操作。 The technical solution of the embodiment of the present invention can use a pressure sensor to trigger a digital zoom operation item corresponding to different pressing parameters in a single-hand operation, so that the user can quickly and conveniently adjust the digital zoom parameter to improve the experience of using the mobile terminal. Thereby achieving the effect of one-hand operation; and the method is applicable to all mobile terminals, the technology is simple to implement, and the cost is low, thereby making the operation more convenient for the user.

Claims (13)

  1. 一种数码变焦的控制方法,所述方法包括:A method of controlling a digital zoom, the method comprising:
    检测按压屏幕的按压参数;Detecting a pressing parameter of the pressing screen;
    将所述检测到的按压参数与预设的对应参数进行比较,判定为有效按压操作时,确定所述检测到的按压参数对应的数码变焦操作项;Comparing the detected pressing parameter with a preset corresponding parameter, and determining that the effective pressing operation determines a digital zoom operation item corresponding to the detected pressing parameter;
    执行所述数码变焦操作项对应的数码变焦操作。Performing a digital zoom operation corresponding to the digital zoom operation item.
  2. 根据权利要求1所述的方法,其中,所述按压参数包括:压力值和按压位置。The method of claim 1 wherein said pressing parameters comprise: a pressure value and a pressing position.
  3. 根据权利要求2所述的方法,其中,所述将所述检测到的按压参数与预设的对应参数进行比较,判定为有效按压操作,包括:The method according to claim 2, wherein the comparing the detected pressing parameter with a preset corresponding parameter and determining to be a valid pressing operation comprises:
    将所述检测到的压力值与预设的压力门限值进行比较,同时将所述检测到的按压位置与预设的按压位置进行比较,若当前按压的压力值达到所述压力门限值,且当前的按压位置符合按压位置要求,则判定当前的按压操作为有效按压操作。Comparing the detected pressure value with a preset pressure threshold value, and comparing the detected pressing position with a preset pressing position, if the currently pressed pressure value reaches the pressure threshold value And the current pressing position meets the pressing position requirement, and it is determined that the current pressing operation is a valid pressing operation.
  4. 根据权利要求2所述的方法,其中,所述数码变焦操作项包括:数码变焦放大界面和/或数码变焦缩小界面。The method of claim 2, wherein the digital zoom operation item comprises: a digital zoom enlargement interface and/or a digital zoom reduction interface.
  5. 根据权利要求4所述的方法,其中,所述确定所述检测到的按压参数对应的数码变焦操作项,包括:The method of claim 4, wherein the determining the digital zoom operation item corresponding to the detected pressing parameter comprises:
    根据默认的或自定义设置的不同按压位置与数码变焦操作的对应关系,确定不同的按压位置对应的数码变焦操作项;Determining a digital zoom operation item corresponding to different pressing positions according to a corresponding relationship between different pressing positions of the default or custom setting and the digital zoom operation;
    或者,根据压力值的不同变化差值确定对应的数码变焦操作项。Alternatively, the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
  6. 根据权利要求1所述的方法,其中,所述执行所述数码变焦操作项对应的数码变焦操作,采用向拍照应用发送消息的形式实现。The method according to claim 1, wherein said performing a digital zoom operation corresponding to said digital zoom operation item is implemented in the form of transmitting a message to a photographing application.
  7. 一种数码变焦的控制装置,所述装置包括:A digital zoom control device, the device comprising:
    压力采集模块,配置为采集按压屏幕的按压参数; a pressure collecting module configured to collect a pressing parameter of the pressing screen;
    数码变焦判定模块,配置为将所述采集到的按压参数与预设的对应参数进行比较,判定为有效按压操作时,确定所述采集到的按压参数对应的数码变焦操作项;The digital zoom determination module is configured to compare the collected pressing parameter with a preset corresponding parameter, and determine that the digital zoom operation item corresponding to the collected pressing parameter is determined when the effective pressing operation is performed;
    数码变焦控制模块,配置为执行所述数码变焦操作项对应的数码变焦操作。The digital zoom control module is configured to perform a digital zoom operation corresponding to the digital zoom operation item.
  8. 根据权利要求7所述的装置,其中,所述按压参数包括:压力值和按压位置。The apparatus of claim 7, wherein the pressing parameter comprises: a pressure value and a pressing position.
  9. 根据权利要求8所述的装置,其中,所述数码变焦判定模块将所述采集到的按压参数与预设的对应参数进行比较,判定为有效按压操作,包括:The device according to claim 8, wherein the digital zoom determination module compares the collected pressing parameters with preset corresponding parameters, and determines that the effective pressing operation comprises:
    将所述采集到的压力值与预设的压力门限值进行比较,同时将所述采集到的按压位置与预设的按压位置进行比较,若当前按压的压力值达到所述压力门限值,且当前的按压位置符合按压位置要求,则判定当前的按压操作为有效按压操作。Comparing the collected pressure value with a preset pressure threshold value, and comparing the collected pressing position with a preset pressing position, if the currently pressed pressure value reaches the pressure threshold value And the current pressing position meets the pressing position requirement, and it is determined that the current pressing operation is a valid pressing operation.
  10. 根据权利要求8所述的装置,其中,所述数码变焦操作项包括:数码变焦放大界面和/或数码变焦缩小界面。The apparatus of claim 8, wherein the digital zoom operation item comprises: a digital zoom enlargement interface and/or a digital zoom reduction interface.
  11. 根据权利要求10所述的装置,其中,所述数码变焦判定模块确定所述采集到的按压参数对应的数码变焦操作项,包括:The device of claim 10, wherein the digital zoom determination module determines a digital zoom operation item corresponding to the collected press parameter, comprising:
    根据默认的或自定义设置的不同按压位置与数码变焦操作项的对应关系,确定不同的按压位置对应的数码变焦操作项;Determining a digital zoom operation item corresponding to different pressing positions according to a corresponding relationship between different pressing positions of the default or custom settings and the digital zoom operation item;
    或者,根据压力值的不同变化差值确定对应的数码变焦操作项。Alternatively, the corresponding digital zoom operation item is determined according to the difference in the difference in pressure values.
  12. 根据权利要求7所述的装置,其中,所述数码变焦控制模块执行所述数码变焦操作项对应的数码变焦操作,采用向拍照应用发送消息的形式实现。The apparatus according to claim 7, wherein said digital zoom control module performs a digital zoom operation corresponding to said digital zoom operation item, and is implemented in the form of transmitting a message to a photographing application.
  13. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执 行指令,所述计算机可执行指令用于执行权利要求1至6任一项所述的数码变焦的控制方法。 A computer storage medium storing computer executable in the computer storage medium A line instruction for executing the digital zoom control method according to any one of claims 1 to 6.
PCT/CN2016/081660 2016-02-23 2016-05-11 Control method and apparatus for digital zoom and computer storage medium WO2017143664A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610098464.XA CN107105149A (en) 2016-02-23 2016-02-23 The control method and device of a kind of Digital Zoom
CN201610098464.X 2016-02-23

Publications (1)

Publication Number Publication Date
WO2017143664A1 true WO2017143664A1 (en) 2017-08-31

Family

ID=59658913

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081660 WO2017143664A1 (en) 2016-02-23 2016-05-11 Control method and apparatus for digital zoom and computer storage medium

Country Status (2)

Country Link
CN (1) CN107105149A (en)
WO (1) WO2017143664A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140194161A1 (en) * 2013-01-07 2014-07-10 O2Micro Inc. Apparatus for manipulating a mobile terminal device
CN103941991A (en) * 2013-01-21 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment
CN204883488U (en) * 2015-07-17 2015-12-16 瑞声声学科技(深圳)有限公司 Portable terminal
CN105208277A (en) * 2015-09-29 2015-12-30 努比亚技术有限公司 Mobile terminal and camera focusing processing method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414231B (en) * 2007-10-17 2011-09-21 鸿富锦精密工业(深圳)有限公司 Touch screen apparatus and image display method thereof
CN103220468A (en) * 2013-04-25 2013-07-24 陈灿斌 Handheld type digital equipment
CN105094428A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Intelligent terminal and processing method for preventing intelligent terminal against misoperation
CN105094613B (en) * 2015-08-03 2017-10-20 努比亚技术有限公司 Terminal control mechanism and method
CN105120162B (en) * 2015-08-27 2019-04-16 Oppo广东移动通信有限公司 A kind of camera method of controlling rotation and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140194161A1 (en) * 2013-01-07 2014-07-10 O2Micro Inc. Apparatus for manipulating a mobile terminal device
CN103941991A (en) * 2013-01-21 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment
CN204883488U (en) * 2015-07-17 2015-12-16 瑞声声学科技(深圳)有限公司 Portable terminal
CN105208277A (en) * 2015-09-29 2015-12-30 努比亚技术有限公司 Mobile terminal and camera focusing processing method thereof

Also Published As

Publication number Publication date
CN107105149A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
KR101836340B1 (en) Method and device for realizing touch button and fingerprint identification, and terminal device
US9696767B2 (en) Command recognition method including determining a hold gesture and electronic device using the method
WO2016023340A1 (en) Camera switching method and device
CN104252292B (en) Display method and mobile terminal
WO2017032086A1 (en) Photograph capturing control method and terminal
EP3057295B1 (en) Mobile terminal and method for starting shooting of mobile terminal
CN104537365B (en) Touch key-press and fingerprint recognition implementation method, device and terminal device
WO2016110143A1 (en) Touch keys and method for implementing fingerprint recognition, apparatus, and terminal device
WO2017020486A1 (en) Control method and device for adjusting photographing function, and apparatus
WO2018027501A1 (en) Terminal, touch response method, and device
CN106484284B (en) Method and device for switching single-hand mode
CN103220432A (en) Mobile terminal and call on-off control method thereof
CN104601918A (en) Video recording method and device
WO2018133387A1 (en) Fingerprint identification method and device
WO2014183529A1 (en) Mobile terminal talk mode switching method, device and storage medium
WO2017084220A1 (en) Photography processing method and apparatus, and terminal
WO2012159568A1 (en) Touch control method, device, and electronic device
WO2017140109A1 (en) Pressure detection method and apparatus
WO2018036107A1 (en) Method, device and apparatus for controlling terminal
JP2016053940A (en) Touch imaging method and touch terminal thereof
WO2017140108A1 (en) Pressure detection method and apparatus
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
CN113037999A (en) Shooting method and device, mobile terminal and storage medium
RU2609138C2 (en) Method, device and terminal to handover call
WO2015123888A1 (en) Image zoom method and device

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16891118

Country of ref document: EP

Kind code of ref document: A1