CN107562359A - Shooting parameter adjustment method, device and terminal - Google Patents
Shooting parameter adjustment method, device and terminal Download PDFInfo
- Publication number
- CN107562359A CN107562359A CN201710791892.5A CN201710791892A CN107562359A CN 107562359 A CN107562359 A CN 107562359A CN 201710791892 A CN201710791892 A CN 201710791892A CN 107562359 A CN107562359 A CN 107562359A
- Authority
- CN
- China
- Prior art keywords
- touch
- terminal
- edge
- area
- touch operation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种拍摄参数调节方法、装置及终端,属于人机交互领域。所述方法包括:显示相机应用程序的用户界面;接收作用于终端的边缘触控区域上的触控操作;根据所述触控操作调节所述相机应用程序的拍摄参数;可以解决用户单手操作终端时无法调节相机应用程序的拍摄参数的问题;由于用户可以通过单手对边缘触控区域执行触控操作来实现对拍摄参数的调节,因此,提高了调节拍摄参数的便捷性。
The present application discloses a shooting parameter adjustment method, device and terminal, which belongs to the field of human-computer interaction. The method includes: displaying a user interface of a camera application; receiving a touch operation on an edge touch area of a terminal; adjusting the shooting parameters of the camera application according to the touch operation; the problem that the user cannot adjust the shooting parameters of the camera application when operating the terminal with one hand can be solved; since the user can adjust the shooting parameters by performing a touch operation on the edge touch area with one hand, the convenience of adjusting the shooting parameters is improved.
Description
技术领域technical field
本申请实施例涉及人机交互领域,特别涉及一种拍摄参数调节方法、装置及终端。The embodiments of the present application relate to the field of human-computer interaction, and in particular to a shooting parameter adjustment method, device and terminal.
背景技术Background technique
终端通过安装的相机应用程序实现拍照、摄像等功能。相机应用程序在前台运行时,在用户界面中显示有拍摄参数调节选项,终端通过接收作用于该拍摄参数调节选项上的触控操作来调节拍摄参数。The terminal realizes functions such as taking pictures and recording videos through the installed camera application program. When the camera application is running in the foreground, a shooting parameter adjustment option is displayed in the user interface, and the terminal adjusts the shooting parameter by receiving a touch operation acting on the shooting parameter adjustment option.
若终端中安装的触摸显示屏的尺寸过大,在用户单手对触摸显示屏进行操作时,可能无法触及用户界面中显示的拍摄参数调节选项,此时,无法实现对拍摄参数的调节。If the size of the touch screen installed in the terminal is too large, when the user operates the touch screen with one hand, the shooting parameter adjustment options displayed in the user interface may not be touched, and at this time, the shooting parameter adjustment cannot be realized.
发明内容Contents of the invention
本申请实施例提供的拍摄参数调节方法、装置及终端,可以解决用户单手操作终端时无法调节相机应用程序的拍摄参数的问题。所述技术方案如下:The shooting parameter adjustment method, device, and terminal provided in the embodiments of the present application can solve the problem that the shooting parameter of the camera application program cannot be adjusted when the user operates the terminal with one hand. Described technical scheme is as follows:
第一方面,提供了一种拍摄参数调节方法,所述方法包括:In a first aspect, a shooting parameter adjustment method is provided, the method comprising:
显示相机应用程序的用户界面;display the user interface of the camera application;
接收作用于终端的边缘触控区域上的触控操作;receiving a touch operation acting on the edge touch area of the terminal;
根据所述触控操作调节所述相机应用程序的拍摄参数。adjusting shooting parameters of the camera application program according to the touch operation.
第二方面,提供了一种拍摄参数调节装置,所述装置包括:In a second aspect, a shooting parameter adjustment device is provided, the device comprising:
显示单元,用于显示相机应用程序的用户界面;a display unit for displaying a user interface of the camera application;
接收单元,用于接收作用于终端的边缘触控区域上的触控操作;a receiving unit, configured to receive a touch operation acting on the edge touch area of the terminal;
调节单元,用于根据所述触控操作调节所述相机应用程序的拍摄参数。An adjustment unit, configured to adjust shooting parameters of the camera application program according to the touch operation.
第三方面,提供了一种终端,所述终端包括处理器、与所述处理器相连的存储器,以及存储在所述存储器上的程序指令,所述处理器执行所述程序指令时实现第一方面提供的拍摄参数调节方法。In a third aspect, a terminal is provided. The terminal includes a processor, a memory connected to the processor, and program instructions stored in the memory. When the processor executes the program instructions, the first The shooting parameter adjustment method provided by the aspect.
第四方面,一种计算机可读介质,其上存储有程序指令,所述程序指令被处理器执行时实现第一方面提供的拍摄参数调节方法的步骤。In a fourth aspect, a computer-readable medium stores program instructions thereon, and when the program instructions are executed by a processor, the steps of the shooting parameter adjustment method provided in the first aspect are implemented.
本申请实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present application are:
通过根据第一触控区域接收到的触控操作来调节拍摄参数;可以解决用户单手操作终端时无法调节相机应用程序的拍摄参数的问题;由于用户可以通过单手对边缘触控区域执行触控操作来实现对拍摄参数的调节,因此,提高了调节拍摄参数的便捷性。By adjusting the shooting parameters according to the touch operation received by the first touch area; it can solve the problem that the user cannot adjust the shooting parameters of the camera application when operating the terminal with one hand; since the user can perform touch on the edge touch area with one hand Control operation is used to realize the adjustment of shooting parameters, therefore, the convenience of adjusting shooting parameters is improved.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1A至图2是本申请一个实施例提供的终端的结构方框图;FIG. 1A to FIG. 2 are structural block diagrams of a terminal provided by an embodiment of the present application;
图3A至图3F是本申请一个示例性实施例提供的终端的外观示意图;3A to 3F are schematic appearance diagrams of a terminal provided by an exemplary embodiment of the present application;
图4是本申请一个实施例提供的拍摄参数调节方法的流程图;Fig. 4 is a flowchart of a shooting parameter adjustment method provided by an embodiment of the present application;
图5是本申请一个实施例提供的相机应用程序的用户界面的示意图;FIG. 5 is a schematic diagram of a user interface of a camera application provided by an embodiment of the present application;
图6是本申请一个实施例提供的拍摄参数调节的示意图;Fig. 6 is a schematic diagram of shooting parameter adjustment provided by an embodiment of the present application;
图7是本申请一个实施例提供的拍摄参数调节装置的结构方框图。Fig. 7 is a structural block diagram of an apparatus for adjusting shooting parameters provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
参考图1A,其示出了本申请一个示例性实施例提供的终端100的结构方框图。该终端100可以是手机、平板电脑、笔记本电脑和电子书等。本申请中的终端100可以包括一个或多个如下部件:处理器110、存储器120和触摸显示屏130。Referring to FIG. 1A , it shows a structural block diagram of a terminal 100 provided by an exemplary embodiment of the present application. The terminal 100 may be a mobile phone, a tablet computer, a notebook computer, an e-book, and the like. The terminal 100 in this application may include one or more of the following components: a processor 110 , a memory 120 and a touch display 130 .
处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏130所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. 100's of various functions and processing data. Optionally, the processor 110 may use at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable LogicArray, PLA). implemented in the form of hardware. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface and application programs, etc.; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch screen 130 ; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 110, but implemented by a single chip.
可选地,处理器110执行存储器120中的程序指令时实现下述各个方法实施例提供的拍摄参数调节方法。Optionally, when the processor 110 executes the program instructions in the memory 120, the shooting parameter adjustment methods provided in the following method embodiments are implemented.
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端100的使用所创建的数据(比如音频数据、电话本)等。The memory 120 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data created according to the use of the terminal 100 (such as audio data, phonebook) and the like.
以操作系统为安卓(Android)系统为例,存储器120中存储的程序和数据如图1B所示,存储器120中存储有Linux内核层220、系统运行库层240、应用框架层260和应用层280。Linux内核层220为终端100的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层240通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层240中还提供有安卓运行时库(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层260提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层280中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。Taking the operating system as an Android system as an example, the programs and data stored in the memory 120 are as shown in Figure 1B, and the memory 120 is stored with a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260 and an application layer 280 . The Linux kernel layer 220 provides underlying drivers for various hardware of the terminal 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and so on. The system runtime layer 240 provides main feature support for the Android system through some C/C++ libraries. For example, the SQLite library provides database support, the OpenGL/ES library provides 3D drawing support, and the Webkit library provides browser kernel support. An Android Runtime library (Android Runtime) is also provided in the system runtime library layer 240, which mainly provides some core libraries and can allow developers to use the Java language to write Android applications. The application framework layer 260 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content providers, Package management, call management, resource management, location management. There is at least one application program running in the application layer 280, and these application programs can be contact programs, SMS programs, clock programs, camera applications, etc. Communication programs, photo beautification programs, etc.
以操作系统为IOS系统为例,存储器120中存储的程序和数据如图2所示,IOS系统包括:核心操作系统层320(Core OS layer)、核心服务层340(Core Services layer)、媒体层360(Media layer)、可触摸层380(Cocoa Touch Layer)。核心操作系统层320包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层340的程序框架所使用。核心服务层340提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层360为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层380为应用程序开发提供了各种常用的界面相关的框架,可触摸层380负责用户在终端100上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。Taking the operating system as the IOS system as an example, the programs and data stored in the memory 120 are as shown in Figure 2, and the IOS system includes: a core operating system layer 320 (Core OS layer), a core service layer 340 (Core Services layer), a media layer 360 (Media layer), touchable layer 380 (Cocoa Touch Layer). The core operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to hardware for use by the program frameworks located in the core service layer 340 . The core service layer 340 provides system services and/or program frameworks required by applications, such as foundation framework, account framework, advertisement framework, data storage framework, network connection framework, geographic location framework, exercise framework and so on. The media layer 360 provides audio-visual interfaces for applications, such as interfaces related to graphics and images, interfaces related to audio technology, interfaces related to video technology, and wireless playback (AirPlay) interfaces of audio and video transmission technologies. The touchable layer 380 provides various commonly used interface-related frameworks for application development, and the touchable layer 380 is responsible for the user's touch interaction operation on the terminal 100 . Such as local notification service, remote push service, advertisement framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit framework, map framework and so on.
在图2所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层340中的基础框架和可触摸层380中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。In the framework shown in FIG. 2 , frameworks related to most applications include but not limited to: the basic framework in the core service layer 340 and the UIKit framework in the touchable layer 380 . The basic framework provides many basic object classes and data types, and provides the most basic system services for all applications, regardless of UI. The class provided by the UIKit framework is a basic UI class library for creating a touch-based user interface. iOS applications can provide UI based on the UIKit framework, so it provides the infrastructure of the application for building user interfaces, drawing , Handle and user interaction events, respond to gestures, and more.
触摸显示屏130用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏130通常设置在终端130的前面板。触摸显示屏130可被设计成为全面屏、曲面屏或异型屏。触摸显示屏130还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本实施例对此不加以限定。其中:The touch display screen 130 is used to receive a user's touch operation on or near it using any suitable object such as a finger or a touch pen, and to display user interfaces of various application programs. The touch display screen 130 is usually arranged on the front panel of the terminal 130 . The touch display screen 130 can be designed as a full screen, a curved screen or a special-shaped screen. The touch display screen 130 can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment. in:
全面屏full screen
全面屏可以是指触摸显示屏130占用终端100的前面板的屏占比超过阈值(比如80%或90%或95%)的屏幕设计。屏占比的一种计算方式为:(触摸显示屏130的面积/终端100的前面板的面积)*100%;屏占比的另一种计算方式为:(触摸显示屏130中实际显示区域的面积/终端100的前面板的面积)*100%;屏占比的再一种计算方式为:(触摸显示屏130的对角线/在终端100的前面板的对角线)*100%。示意性的如图3A所示的例子中,终端100的前面板上近乎所有区域均为触摸显示屏130,在终端100的前面板40上,除中框41所产生的边缘之外的其它区域,全部为触摸显示屏130。该触摸显示屏130的四个角可以是直角或者圆角。The full screen may refer to a screen design in which the screen-to-body ratio occupied by the touch display screen 130 on the front panel of the terminal 100 exceeds a threshold (such as 80% or 90% or 95%). One calculation method of the screen-to-body ratio is: (area of the touch screen 130/area of the front panel of the terminal 100)*100%; another calculation method of the screen-to-body ratio is: (the actual display area in the touch screen 130 area/area of the front panel of the terminal 100)*100%; another calculation method of the screen-to-body ratio is: (diagonal line of the touch screen 130/diagonal line of the front panel of the terminal 100)*100% . In the schematic example shown in FIG. 3A , almost all areas on the front panel of the terminal 100 are touch display screens 130 , and on the front panel 40 of the terminal 100 , other areas except the edge generated by the middle frame 41 , all of which are touch screens 130 . The four corners of the touch display screen 130 may be right angles or rounded corners.
全面屏还可以是将至少一种前面板部件集成在触摸显示屏130内部或下层的屏幕设计。可选地,该至少一种前面板部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,将传统终端的前面板上的其他部件集成在触摸显示屏130的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏130中每个显示像素中的黑色区域中。由于将至少一种前面板部件集成在了触摸显示屏130的内部,所以全面屏具有更高的屏占比。The full screen may also be a screen design in which at least one front panel component is integrated inside or under the touch display screen 130 . Optionally, the at least one front panel component includes: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like. In some embodiments, other components on the front panel of the traditional terminal are integrated into all or part of the area of the touch display 130, for example, after splitting the photosensitive element in the camera into multiple photosensitive pixels, each photosensitive Pixels are integrated in the black area of each display pixel in the touch display screen 130 . Since at least one front panel component is integrated inside the touch display screen 130 , the full screen has a higher screen-to-body ratio.
当然在另外一些实施例中,也可以将传统终端的前面板上的前面板部件设置在终端100的侧边或背面,比如将超声波指纹传感器设置在触摸显示屏130的下方、将骨传导式的听筒设置在终端130的内部、将摄像头设置成位于终端的侧边且可插拔的结构。Of course, in some other embodiments, the front panel components on the front panel of the traditional terminal can also be arranged on the side or back of the terminal 100, for example, the ultrasonic fingerprint sensor is arranged under the touch screen 130, the bone conduction The handset is disposed inside the terminal 130, and the camera is disposed on a side of the terminal in a pluggable structure.
在一些可选的实施例中,当终端100采用全面屏时,终端100的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器120,该边缘触控传感器120用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器120可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器120上施加操作,对终端100中的应用程序进行控制。In some optional embodiments, when the terminal 100 adopts a full screen, a single side of the middle frame of the terminal 100, or two sides (such as left and right sides), or four sides (such as Edge touch sensors 120 are arranged on the upper, lower, left, and right sides), and the edge touch sensors 120 are used to detect touch operations, click operations, press operations, and slide operations of the user on the middle frame. at least one action. The edge touch sensor 120 may be any one of a touch sensor, a heat sensor, a pressure sensor, and the like. The user can perform operations on the edge touch sensor 120 to control the application programs in the terminal 100 .
曲面屏curved screen
曲面屏是指触摸显示屏130的屏幕区域不处于一个平面内的屏幕设计。一般的,曲面屏至少存在这样一个截面:该截面呈弯曲形状,且曲面屏在沿垂直平行于该截面的任意平面方向上的投影为平面的屏幕设计。其中,该弯曲形状可以是U型。可选地,曲面屏是指至少一个侧边是弯曲形状的屏幕设计方式。可选地,曲面屏是指触摸显示屏130的至少一个侧边延伸覆盖至终端100的中框上。由于触摸显示屏130的侧边延伸覆盖至终端100的中框,也即将原本不具有显示功能和触控功能的中框覆盖为可显示区域和/或可操作区域,从而使得曲面屏具有了更高的屏占比。可选地,如图3B所示的例子中,曲面屏是指左右两个侧边42是弯曲形状的屏幕设计;或者,曲面屏是指上下两个侧边是弯曲形状的屏幕设计;或者,曲面屏是指上、下、左、右四个侧边均为弯曲形状的屏幕设计。在可选的实施例中,曲面屏采用具有一定柔性的触摸屏材料制备。The curved screen refers to a screen design in which the screen area of the touch display 130 is not in a plane. Generally, the curved screen has at least one cross section: the cross section is curved, and the projection of the curved screen on any plane direction perpendicular to the cross section is a planar screen design. Wherein, the curved shape may be U-shaped. Optionally, the curved screen refers to a screen design in which at least one side is curved. Optionally, the curved screen means that at least one side of the touch display screen 130 extends to cover the middle frame of the terminal 100 . Since the side of the touch display screen 130 extends to cover the middle frame of the terminal 100, that is, the middle frame that originally does not have a display function and a touch function is covered as a displayable area and/or an operable area, so that the curved screen has more features. High screen-to-body ratio. Optionally, in the example shown in FIG. 3B , the curved screen refers to a screen design in which the left and right sides 42 are curved; or, the curved screen refers to a screen design in which the upper and lower sides are curved; or, A curved screen refers to a screen design in which the upper, lower, left, and right sides are curved. In an optional embodiment, the curved screen is made of a touch screen material with certain flexibility.
异型屏Shaped screen
异型屏是外观形状为不规则形状的触摸显示屏,不规则形状不是矩形或圆角矩形。可选地,异型屏是指在矩形或圆角矩形的触摸显示屏130上设置有凸起、缺口和/或挖孔的屏幕设计。可选地,该凸起、缺口和/或挖孔可以位于触摸显示屏130的边缘、屏幕中央或两者均有。当凸起、缺口和/或挖孔设置在一条边缘时,可以设置在该边缘的中间位置或两端;当凸起、缺口和/或挖孔设置在屏幕中央时,可以设置在屏幕的上方区域、左上方区域、左侧区域、左下方区域、下方区域、右下方区域、右侧区域、右上方区域中的一个或多个区域中。当设置在多个区域中时,凸起、缺口和挖孔可以集中分布,也可以分散分布;可以对称分布,也可以不对称分布。可选地,该凸起、缺口和/或挖孔的数量也不限。A shaped screen is a touch display screen with an irregular appearance, and the irregular shape is not a rectangle or a rounded rectangle. Optionally, the special-shaped screen refers to a screen design in which protrusions, notches and/or holes are provided on the rectangular or rounded rectangular touch display screen 130 . Optionally, the protrusion, notch and/or hole can be located on the edge of the touch display screen 130, in the center of the screen or both. When the protrusion, notch and/or digging hole is set on one edge, it can be set in the middle or both ends of the edge; when the protrusion, notch and/or digging hole is set in the center of the screen, it can be set on the top of the screen region, upper left region, left region, lower left region, lower region, lower right region, right region, upper right region. When arranged in multiple regions, the protrusions, notches and digging holes can be distributed in a concentrated manner or in a dispersed manner; they can be distributed symmetrically or asymmetrically. Optionally, the number of the protrusions, notches and/or holes is not limited.
由于异型屏将触摸显示屏的上额区和/或下额区覆盖为可显示区域和/或可操作区域,使得触摸显示屏在终端的前面板上占据更多的空间,所以异型屏也具有更大的屏占比。在一些实施例中,缺口和/或挖孔中用于容纳至少一种前面板部件,该前面板部件包括摄像头、指纹传感器、接近光传感器、距离传感器、听筒、环境光亮度传感器、物理按键中的至少一种。Since the special-shaped screen covers the upper forehead area and/or the lower forehead area of the touch display screen as a displayable area and/or an operable area, the touch display screen occupies more space on the front panel of the terminal, so the special-shaped screen also has Larger screen-to-body ratio. In some embodiments, the notch and/or the hole is used to accommodate at least one front panel component, the front panel component includes a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, an earpiece, an ambient light sensor, a physical button, etc. at least one of .
示例性的,该缺口可以设置在一个或多个边缘上,该缺口可以是半圆形缺口、直角矩形缺口、圆角矩形缺口或不规则形状缺口。示意性的如图3C所示的例子中,异型屏可以是在触摸显示屏130的上边缘的中央位置设置有半圆形缺口43的屏幕设计,该半圆形缺口43所空出的位置用于容纳摄像头、距离传感器(又称接近传感器)、听筒、环境光亮度传感器中的至少一种前面板部件;示意性的如图3D所示,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半圆形缺口44的屏幕设计,该半圆形缺口44所空出的位置用于容纳物理按键、指纹传感器、麦克风中的至少一种部件;示意性的如图3E所示的例子中,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半椭圆形缺口45的屏幕设计,同时在终端100的前面板上还形成有一个半椭圆型缺口,两个半椭圆形缺口围合成一个椭圆形区域,该椭圆形区域用于容纳物理按键或者指纹识别模组;示意性的如图3F所示的例子中,异型屏可以是在触摸显示屏130中的上半部中设置有至少一个小孔45的屏幕设计,该小孔45所空出的位置用于容纳摄像头、距离传感器、听筒、环境光亮度传感器中的至少一种前面板部件。Exemplarily, the notch can be provided on one or more edges, and the notch can be a semicircular notch, a right-angled rectangular notch, a rounded rectangular notch or an irregular-shaped notch. In the schematic example shown in FIG. 3C , the special-shaped screen may be a screen design in which a semicircular notch 43 is provided at the center of the upper edge of the touch display 130, and the position vacated by the semicircular notch 43 is used for It is used to accommodate at least one front panel component of a camera, a distance sensor (also known as a proximity sensor), an earpiece, and an ambient light brightness sensor; as shown schematically in FIG. A screen design with a semicircular notch 44 in the central position, the position vacated by the semicircular notch 44 is used to accommodate at least one of the physical buttons, fingerprint sensor, and microphone; schematically shown in Figure 3E In an example, the special-shaped screen may be a screen design in which a semi-elliptical notch 45 is provided at the center of the lower edge of the touch display 130, and at the same time, a semi-elliptical notch is formed on the front panel of the terminal 100, and two semi-elliptical notches are formed. Shaped gaps form an elliptical area, which is used to accommodate physical buttons or fingerprint recognition modules; in the example shown in Figure 3F, the special-shaped screen can be in the upper half of the touch display screen 130 The screen design is provided with at least one small hole 45, and the position vacated by the small hole 45 is used to accommodate at least one front panel component among the camera, the distance sensor, the earpiece, and the ambient light brightness sensor.
除此之外,本领域技术人员可以理解,上述附图所示出的终端100的结构并不构成对终端100的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端100中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 100 shown in the above drawings does not constitute a limitation on the terminal 100, and the terminal may include more or less components than those shown in the figure, or combine some components, or different component arrangements. For example, the terminal 100 also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wireless Fidelity, WiFi) module, a power supply, and a Bluetooth module, which will not be repeated here.
可选地,本申请提供的各个实施例的执行主体为图1A至图2所示的终端,该终端安装有触摸显示屏。Optionally, each embodiment provided by the present application is executed by the terminal shown in FIG. 1A to FIG. 2 , and the terminal is installed with a touch screen.
图4是本申请的一个示例性实施例示出的拍摄参数调节方法的流程图。该方法包括以下几个步骤。Fig. 4 is a flowchart of a shooting parameter adjustment method shown in an exemplary embodiment of the present application. The method includes the following steps.
步骤401,显示相机应用程序的用户界面。Step 401, displaying the user interface of the camera application.
可选地,相机应用程序是指具有拍照功能的应用程序,该相机应用程序可以不仅仅具有拍照功能,还可以具有其它功能,比如:即时通信功能、电子交易功能、网页浏览功能等。Optionally, the camera application program refers to an application program with a camera function. The camera application program may not only have a camera function, but may also have other functions, such as an instant messaging function, an electronic transaction function, and a web page browsing function.
相机应用程序在前台运行时,终端显示该相机应用程序的用户界面。When the camera application is running in the foreground, the terminal displays the user interface of the camera application.
可选地,相机应用程序的用户界面包括相机应用程序通过摄像头采集到的图像、拍照选项等。当然,相机应用程序的用户界面还可以包括其它信息,本实施例在此不再一一列举。Optionally, the user interface of the camera application program includes images collected by the camera application program through the camera, camera options, and the like. Of course, the user interface of the camera application program may also include other information, which will not be listed here in this embodiment.
参考图5所示的相机应用程序的用户界面501,该用户界面501包括摄像头采集到的图像502和拍照选项503。Referring to the user interface 501 of the camera application program shown in FIG. 5 , the user interface 501 includes an image 502 captured by the camera and a camera option 503 .
步骤402,接收作用于终端的边缘触控区域上的触控操作。Step 402, receiving a touch operation on the edge touch area of the terminal.
可选地,终端包括四个边缘区域,分别为:上边缘区域、下边缘区域、左边缘区域和右边缘区域。终端中存在至少一个边缘区域具有触控功能,本实施例中,具有触控功能的边缘区域为边缘触控区域。Optionally, the terminal includes four edge areas, which are: an upper edge area, a lower edge area, a left edge area, and a right edge area. There is at least one edge area with a touch function in the terminal, and in this embodiment, the edge area with a touch function is an edge touch area.
可选地,边缘触控区域中设置有触摸传感器,该触摸传感器用于实时或定时地检测是否存在触控操作(或称触摸信号)。当触摸传感器检测出存在触控操作时,将该触控操作对应的触摸事件发送至终端中的处理器,此时,终端中的处理器可以感知到该触控操作。Optionally, a touch sensor is disposed in the edge touch area, and the touch sensor is used to detect whether there is a touch operation (or a touch signal) in real time or periodically. When the touch sensor detects that there is a touch operation, it sends a touch event corresponding to the touch operation to the processor in the terminal, and at this time, the processor in the terminal can sense the touch operation.
可选地,边缘触控区域中设置有热力传感器,该热力传感器用于实时或定时检测是否存在热源接近。当触摸传感器检测出存在热源接近时,将对应的接近事件发送至终端中的处理器,此时,终端中的处理器根据该接近事件确定存在触控操作。Optionally, a thermal sensor is provided in the edge touch area, and the thermal sensor is used to detect whether there is a heat source approaching in real time or periodically. When the touch sensor detects that a heat source is approaching, a corresponding proximity event is sent to the processor in the terminal, and at this time, the processor in the terminal determines that there is a touch operation according to the proximity event.
可选地,边缘触控区域中设置有压力传感器,该压力传感器用于实时或定时检测是否存在按压操作。当触摸传感器检测出存在按压操作时,将对应的按压事件发送至终端中的处理器,此时,终端中的处理器根据该按压事件确定存在触控操作。Optionally, a pressure sensor is provided in the edge touch area, and the pressure sensor is used to detect whether there is a pressing operation in real time or periodically. When the touch sensor detects that there is a pressing operation, it sends a corresponding pressing event to the processor in the terminal, and at this time, the processor in the terminal determines that there is a touch operation according to the pressing event.
步骤403,根据触控操作调节相机应用程序的拍摄参数。Step 403, adjusting shooting parameters of the camera application program according to the touch operation.
其中,拍摄参数用于调节相机应用程序拍摄得到的图像的效果。Wherein, the shooting parameter is used to adjust the effect of the image captured by the camera application program.
可选地,本实施例中,拍摄参数为焦距、感光度和白平衡中的一种。Optionally, in this embodiment, the shooting parameter is one of focal length, sensitivity and white balance.
其中,焦距(也称为焦长)是指摄像头的透镜中心到光聚集的焦点的距离。感光度用于衡量成像器件对于光的灵敏程度。白平衡是用于衡量曲面屏显示的图像中红、绿、蓝三基色混合后生成的白色精确度的指标。Among them, the focal length (also referred to as focal length) refers to the distance from the lens center of the camera to the focal point where light gathers. Sensitivity is used to measure the sensitivity of imaging devices to light. White balance is an index used to measure the accuracy of white produced by mixing the three primary colors of red, green and blue in the image displayed on the curved screen.
在一个示例中,触控操作为作用于边缘触控区域上的滑动操作。此时,终端根据触控操作调节相机应用程序的拍摄参数,包括:根据触控操作在边缘触控区域上的滑动方向确定调节拍摄参数的调节方向,调节方向包括放大(或称增大、增加等)拍摄参数和缩小(或称减小、降低等)拍摄参数;根据触控操作在边缘触控区域上的滑动距离确定调节拍摄参数的调节尺度;根据调节方向和调节尺度调节拍摄参数。In one example, the touch operation is a sliding operation on the edge touch area. At this time, the terminal adjusts the shooting parameters of the camera application according to the touch operation, including: determining the adjustment direction for adjusting the shooting parameters according to the sliding direction of the touch operation on the edge touch area, and the adjustment direction includes zooming in (or increasing, increasing etc.) shooting parameters and shrinking (or reducing, lowering, etc.) shooting parameters; determining the adjustment scale for adjusting the shooting parameters according to the sliding distance of the touch operation on the edge touch area; adjusting the shooting parameters according to the adjustment direction and the adjustment scale.
其中,滑动操作是指触摸时长超过第一时长,且在触摸时长内滑动距离存在变化的触控操作。示意性地,第一时长为500ms或者1s等,本实施例不对第一时长的取值作限定。Wherein, the sliding operation refers to a touch operation in which the touch duration exceeds the first duration and the sliding distance changes within the touch duration. Schematically, the first duration is 500ms or 1s, etc., and this embodiment does not limit the value of the first duration.
其中,调节尺度是指放大或缩小的拍摄参数的数值。Wherein, the adjustment scale refers to the numerical value of the shooting parameter that is enlarged or reduced.
示意性地,触控操作的滑动距离与调节尺度呈正相关关系,即,触控操作的滑动距离越大,调节尺度越大;触控操作的滑动距离越小,调节尺度越小。Schematically, the sliding distance of the touch operation is positively correlated with the adjustment scale, that is, the larger the sliding distance of the touch operation, the larger the adjustment scale; the smaller the sliding distance of the touch operation, the smaller the adjustment scale.
当然,在实际实现时,触控操作的滑动距离与调节尺度之间也可以呈负相关关系。Of course, in actual implementation, there may also be a negative correlation between the sliding distance of the touch operation and the adjustment scale.
示意性地,当边缘触控区域位于终端的左侧边区域和/或右侧边区域时,若触控操作的滑动方向为向上,则调节方向为放大拍摄参数;若触控操作的滑动方向为向下,则调节方向为缩小拍摄参数。Schematically, when the edge touch area is located in the left side area and/or right side area of the terminal, if the sliding direction of the touch operation is upward, the adjustment direction is to zoom in on the shooting parameter; if the sliding direction of the touch operation is is down, the adjustment direction is to reduce the shooting parameters.
当然,在实际实现时,也可以实现为若触控操作的滑动方向为向下,则调节方向为放大拍摄参数;若触控操作的滑动方向为向上,则调节方向为缩小拍摄参数。Of course, in actual implementation, it can also be realized that if the sliding direction of the touch operation is downward, the adjustment direction is to enlarge the shooting parameter; if the sliding direction of the touch operation is upward, the adjustment direction is to zoom out the shooting parameter.
示意性地,当边缘触控区域位于终端的上侧边区域和/或下侧边区域时,若触控操作的滑动方向为向右,则调节方向为放大拍摄参数;若触控操作的滑动方向为向左,则调节方向为缩小拍摄参数。Schematically, when the edge touch area is located on the upper side area and/or the lower side area of the terminal, if the sliding direction of the touch operation is to the right, the adjustment direction is to zoom in on the shooting parameters; if the sliding direction of the touch operation is If the direction is to the left, then the adjustment direction is to zoom out the shooting parameters.
当然,在实际实现时,也可以实现为若触控操作的滑动方向为向左,则调节方向为放大拍摄参数;若触控操作的滑动方向为向右,则调节方向为缩小拍摄参数。Of course, in actual implementation, it can also be realized that if the sliding direction of the touch operation is to the left, the adjustment direction is to enlarge the shooting parameter; if the sliding direction of the touch operation is to the right, the adjustment direction is to zoom out the shooting parameter.
参考图6,假设拍摄参数为焦距,终端接收到作用于边缘触控区域上的触控操作600,该触控操作600的触摸位置位于左侧边的边缘触控区域,该触控操作600的滑动方向为向上,则终端根据该触控操作600的滑动距离放大焦距(图中加粗方框表示)。Referring to FIG. 6 , assuming that the shooting parameter is the focal length, the terminal receives a touch operation 600 acting on the edge touch area. The touch position of the touch operation 600 is located in the left edge touch area. The touch operation 600 If the sliding direction is upward, the terminal zooms in on the focal length according to the sliding distance of the touch operation 600 (indicated by a bold box in the figure).
在另一个示例中,触控操作为作用于边缘触控区域上的长按操作。此时,终端根据触控操作调节相机应用程序的拍摄参数,包括:通过压力传感器采集触控操作在边缘触控区域上的压力信息;将拍摄参数调节至该压力信息指示的拍摄参数。In another example, the touch operation is a long press operation on the edge touch area. At this time, the terminal adjusts the shooting parameters of the camera application according to the touch operation, including: collecting pressure information of the touch operation on the edge touch area through the pressure sensor; and adjusting the shooting parameters to the shooting parameters indicated by the pressure information.
其中,长按操作是指触摸时长超过第二时长,且在触摸时长内滑动距离固定不变的触控操作。示意性地,第二时长为500ms或者1s等,第二时长可以与第一时长相等;或者,也可以与第一时长不等,本实施例不对第二时长的取值作限定。Wherein, the long press operation refers to a touch operation in which the touch duration exceeds the second duration and the sliding distance is constant within the touch duration. Schematically, the second duration is 500 ms or 1 s, etc., and the second duration may be equal to or different from the first duration, and this embodiment does not limit the value of the second duration.
在这种实现方式中,边缘触控区域中设置有压力传感器,该压力传感器用于在触摸传感器采集到触控操作时,采集该触控操作的压力信息。In this implementation manner, a pressure sensor is disposed in the edge touch area, and the pressure sensor is used to collect pressure information of the touch operation when the touch sensor collects the touch operation.
可选地,压力传感器仅设置在边缘触控区域对应的位置,这样,可以简化终端的内部结构。Optionally, the pressure sensor is only disposed at a position corresponding to the edge touch area, so that the internal structure of the terminal can be simplified.
可选地,终端中存储有压力信息与拍摄参数之间的对应关系,终端通过压力传感器采集到触控操作的压力信息后,从该对应关系中查找触控操作的压力信息对应的拍摄参数。Optionally, the terminal stores the correspondence between the pressure information and the shooting parameters. After the terminal collects the pressure information of the touch operation through the pressure sensor, it searches for the shooting parameters corresponding to the pressure information of the touch operation from the correspondence.
综上所述,本实施例提供的拍摄参数调节方法,通过根据边缘触控区域接收到的触控操作来调节拍摄参数;可以解决用户单手操作终端时无法调节相机应用程序的拍摄参数的问题;由于用户可以通过单手对边缘触控区域执行触控操作来实现对拍摄参数的调节,因此,提高了调节拍摄参数的便捷性。To sum up, the shooting parameter adjustment method provided in this embodiment adjusts the shooting parameters according to the touch operation received by the edge touch area; it can solve the problem that the shooting parameters of the camera application cannot be adjusted when the user operates the terminal with one hand ; Since the user can adjust the shooting parameters by performing a touch operation on the edge touch area with one hand, the convenience of adjusting the shooting parameters is improved.
可选地,在移动终端包括至少两个边缘区域时,若每个边缘触控区域对应的触摸传感器都处于开启状态,消耗终端的电量较多。本实施例中,在步骤402之前,还会确定终端对应的握持方式,并启动至少两个边缘触控区域中与该握持方式相对应的边缘触控区域的触控功能。Optionally, when the mobile terminal includes at least two edge areas, if the touch sensor corresponding to each edge touch area is turned on, the terminal consumes more power. In this embodiment, before step 402, the corresponding holding mode of the terminal is also determined, and the touch function of the edge touch area corresponding to the holding mode among at least two edge touch areas is activated.
其中,触控功能是指响应触控操作的功能。本实施例中,触控功能是指响应触控操作来调节拍摄参数的功能。Wherein, the touch function refers to a function responding to a touch operation. In this embodiment, the touch function refers to a function of adjusting shooting parameters in response to a touch operation.
可选地,本实施例中,握持方式包括右手握持和左手握持。Optionally, in this embodiment, the holding manner includes right-hand holding and left-hand holding.
可选地,终端确定握持方式包括但不限于以下几种方式:Optionally, the terminal determines the holding method including but not limited to the following methods:
第一种方式:终端在接收到作用于中央触控区域上的触控操作时,根据该触控操作的触摸方向确定握持方式。The first way: when the terminal receives a touch operation acting on the central touch area, it determines the holding mode according to the touch direction of the touch operation.
中央触控区域是指终端的触摸显示屏中除边缘触控区域之外的区域。The central touch area refers to the area of the touch display screen of the terminal other than the edge touch area.
其中,触摸方向可以是根据触控操作对应的触摸区域的形状确定的,该触摸区域的形状根据触控操作的坐标确定。Wherein, the touch direction may be determined according to the shape of the touch area corresponding to the touch operation, and the shape of the touch area is determined according to the coordinates of the touch operation.
示意性地,当触摸方向为向左倾斜时,则握持方式为右手握持;当触摸方向为向右倾斜时,则握持方式为左手握持。Schematically, when the touch direction is inclined to the left, the holding mode is right-hand holding; when the touching direction is inclined to the right, the holding mode is left-hand holding.
第二种方式:终端在接收到作用于中央触控区域上的触控操作时,根据该触控操作的指纹信息确定握持方式。The second way: when the terminal receives a touch operation acting on the central touch area, it determines the holding mode according to the fingerprint information of the touch operation.
此时,中央触控区域对应的位置设置有指纹传感器,该指纹传感器用于采集触控操作的指纹信息。At this time, a fingerprint sensor is provided at a position corresponding to the central touch area, and the fingerprint sensor is used to collect fingerprint information of the touch operation.
示意性地,当指纹信息与右手指纹的指纹模板相匹配时,确定握持方式为右手握持;当指纹信息与左手指纹的指纹模板相匹配时,确定握持方式为左手握持。Schematically, when the fingerprint information matches the fingerprint template of the right-hand fingerprint, it is determined that the holding method is right-hand holding; when the fingerprint information matches the fingerprint template of the left-hand fingerprint, it is determined that the holding method is left-hand holding.
第三种方式:终端先开启右手握持对应的边缘触控区域的触摸传感器,检测该边缘触控区域是否接收到触控操作,若未接收到触控操作,则确定握持方式为左手握持,此时,关闭右手握持对应的边缘触控区域的触摸传感器,开启左手握持对应的边缘触控区域的触摸传感器;若接收到触控操作,则确定握持方式右手握持,保持开启右手握持对应的边缘触控区域的触摸传感器的状态不变。The third method: the terminal first turns on the touch sensor of the corresponding edge touch area held by the right hand, and detects whether the edge touch area receives a touch operation. If no touch operation is received, it determines that the holding mode is the left hand At this time, turn off the touch sensor of the corresponding edge touch area held by the right hand, and turn on the touch sensor of the corresponding edge touch area held by the left hand; The state of the touch sensor in the edge touch area corresponding to the right hand grip remains unchanged.
可选地,基于同样的原理,终端也可以先开启左手握持对应的边缘触控区域的触摸传感器来判断握持方式。Optionally, based on the same principle, the terminal may first turn on the touch sensor of the corresponding edge touch area held by the left hand to determine the holding manner.
当然,终端也可以通过其他方式确定握持方式,本实施例在此不再一一列举。Certainly, the terminal may also determine the holding manner in other manners, which are not listed here in this embodiment.
可选地,握持方式对应的边缘触控区域包括如下几种场景:Optionally, the edge touch area corresponding to the holding mode includes the following scenarios:
第一种场景:终端的显示模式为正竖屏模式,且终端包括位于左侧边的左边缘触控区域和位于右侧边的右边缘触控区域。此时,当握持方式为右手握持时,右手握持对应的边缘触控区域是右边缘触控区域;当握持方式为左手握持时,左手握持对应的边缘触控区域是左边缘触控区域。Scenario 1: The display mode of the terminal is a portrait mode, and the terminal includes a left edge touch area on the left side and a right edge touch area on the right side. At this time, when the grip is held by the right hand, the edge touch area corresponding to the right hand is the right edge touch area; when the grip is left-handed, the edge touch area corresponding to the left hand is the left Edge touch area.
第二种场景:终端的显示模式为倒竖屏模式,且终端包括位于左侧边的左边缘触控区域和位于右侧边的右边缘触控区域。此时,当握持方式为右手握持时,右手握持对应的边缘触控区域是左边缘触控区域;当握持方式为左手握持时,左手握持对应的边缘触控区域是右边缘触控区域。The second scenario: the display mode of the terminal is an inverted portrait mode, and the terminal includes a left edge touch area on the left side and a right edge touch area on the right side. At this time, when the grip is held by the right hand, the edge touch area corresponding to the right hand is the left edge touch area; when the grip is the left hand, the edge touch area corresponding to the left hand is the right Edge touch area.
第三种场景:终端的显示模式为正横屏模式,且终端的曲面屏包括位于上侧边的上边缘触控区域和位于下侧边的下边缘触控区域。此时,当握持方式为右手握持时,右手握持对应的边缘触控区域是下边缘触控区域;当握持方式为左手握持时,左手握持对应的边缘触控区域是上边缘触控区域。The third scenario: the display mode of the terminal is a landscape mode, and the curved screen of the terminal includes an upper edge touch area located on the upper side and a lower edge touch area located on the lower side. At this time, when the grip is held by the right hand, the edge touch area corresponding to the right hand is the lower edge touch area; when the grip is the left hand, the edge touch area corresponding to the left hand is the upper edge Edge touch area.
第四种场景:终端的显示模式为倒横屏模式,且终端的曲面屏包括位于上侧边的上边缘触控区域和位于下侧边的下边缘触控区域。此时,当握持方式为右手握持时,右手握持对应的边缘触控区域是上边缘触控区域;当握持方式为左手握持时,左手握持对应的边缘触控区域是下边缘触控区域。Scenario 4: The display mode of the terminal is the inverted landscape mode, and the curved screen of the terminal includes an upper edge touch area located on the upper side and a lower edge touch area located on the lower side. At this time, when the grip is held by the right hand, the edge touch area corresponding to the right hand is the upper edge touch area; when the left hand is held, the edge touch area corresponding to the left hand is the lower edge. Edge touch area.
需要补充说明的是,上述握持方式对应的边缘触控区域仅是示意性地,在实际实现时还可以设置其它握持方式与边缘触控区域之间的对应关系,本实施例在此不再一一列举。It should be added that the edge touch areas corresponding to the above-mentioned gripping modes are only schematic, and other gripping modes and edge touch areas can also be set in actual implementation. List them one by one.
综上所述,本实施例通过根据握持方式确定开启哪一个触控操作区域的触控功能,既保证了终端能够根据触控操作调节拍摄参数,又节省了终端的电量。To sum up, in this embodiment, the touch function of which touch operation area is enabled is determined according to the grip mode, which not only ensures that the terminal can adjust shooting parameters according to the touch operation, but also saves battery power of the terminal.
可选地,在上述实施例中,在步骤402之后,终端显示触摸提示,触摸提示用于提示接收到作用于边缘触控区域上的触控操作。Optionally, in the above embodiment, after step 402, the terminal displays a touch prompt, which is used to prompt that a touch operation acting on the edge touch area is received.
可选地,触摸提示以图标的形式显示,图标的大小与触控操作的触摸压力呈正相关关系。在这种情况下,终端的边缘触控区域中还设置有压力传感器,该压力传感器用于采集触控操作的压力信息,并将该压力信息上报至终端的处理器,该压力信息用于指示触控操作的触摸压力。Optionally, the touch prompt is displayed in the form of an icon, and the size of the icon is positively correlated with the touch pressure of the touch operation. In this case, a pressure sensor is also set in the edge touch area of the terminal, and the pressure sensor is used to collect the pressure information of the touch operation, and report the pressure information to the processor of the terminal, and the pressure information is used to indicate Touch pressure for touch actions.
本实施例中,通过显示触摸提示,可以提示用户执行的触控操作是否被终端感应到,保证了触控操作的有效性。In this embodiment, by displaying the touch prompt, the user may be prompted whether the touch operation performed by the terminal is sensed, thereby ensuring the validity of the touch operation.
可选地,在上述实施例中,终端中安装的触摸显示屏被涉及为曲面屏,该曲面屏包括边缘触控区域和中央触控区域。其中,边缘触控区域位于曲面屏的曲面边缘部分,中央触控区域为曲面屏中除边缘触控区域之外的区域。Optionally, in the foregoing embodiments, the touch display screen installed in the terminal is referred to as a curved screen, and the curved screen includes an edge touch area and a central touch area. Wherein, the edge touch area is located at the edge of the curved screen, and the central touch area is an area of the curved screen other than the edge touch area.
本实施例中,通过将曲面屏的曲面边缘部分作为边缘触控区域,既充分利用了曲面边缘部分的触控功能,又提高了调节拍摄参数的便捷性。In this embodiment, by using the curved surface edge part of the curved surface screen as the edge touch area, the touch function of the curved surface edge part is fully utilized, and the convenience of adjusting shooting parameters is improved.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参考图7,其示出了本申请一个实施例提供的拍摄参数调节装置的结构方框图,该拍摄参数调节装置可通过软件、硬件或者两者的结合实现成为图1A至图2所示的终端100的部分或者全部。该终端安装有触摸显示屏,该触摸显示屏设置有指纹传感器,该检测装置可以包括:显示单元710、接收单元720和调节单元730。Please refer to FIG. 7, which shows a structural block diagram of a shooting parameter adjustment device provided by an embodiment of the present application. The shooting parameter adjustment device can be implemented as a terminal shown in FIG. 1A to FIG. 2 through software, hardware or a combination of the two Part or all of 100. The terminal is equipped with a touch screen, and the touch screen is provided with a fingerprint sensor, and the detection device may include: a display unit 710 , a receiving unit 720 and an adjustment unit 730 .
显示单元710,用于显示相机应用程序的用户界面;a display unit 710, configured to display a user interface of the camera application;
接收单元720,用于接收作用于终端的边缘触控区域上的触控操作;The receiving unit 720 is configured to receive a touch operation acting on the edge touch area of the terminal;
调节单元730,用于根据所述触控操作调节所述相机应用程序的拍摄参数。The adjusting unit 730 is configured to adjust shooting parameters of the camera application program according to the touch operation.
可选地,所述调节单元730,用于:Optionally, the adjustment unit 730 is configured to:
根据所述触控操作的触摸方向确定调节所述拍摄参数的调节方向,所述调节方向包括放大所述拍摄参数和缩小所述拍摄参数;An adjustment direction for adjusting the shooting parameters is determined according to a touch direction of the touch operation, and the adjustment direction includes enlarging the shooting parameters and shrinking the shooting parameters;
根据所述触控操作在所述边缘触控区域上的滑动距离确定调节所述拍摄参数的调节尺度;determining an adjustment scale for adjusting the shooting parameter according to a sliding distance of the touch operation on the edge touch area;
根据所述调节方向和所述调节尺度调节所述拍摄参数。The shooting parameters are adjusted according to the adjustment direction and the adjustment scale.
可选地,所述边缘触控区域中设置有压力传感器,所述调节单元,用于:Optionally, a pressure sensor is set in the edge touch area, and the adjustment unit is used for:
通过所述压力传感器采集所述触控操作在所述边缘触控区域上的压力信息;collecting pressure information of the touch operation on the edge touch area through the pressure sensor;
将所述拍摄参数调节至所述压力信息指示的拍摄参数。adjusting the shooting parameter to the shooting parameter indicated by the pressure information.
可选地,所述装置还包括:确定单元和启动单元。Optionally, the device further includes: a determination unit and an activation unit.
确定单元,用于确定所述终端对应的握持方式,所述握持方式包括左手握持和右手握持;a determining unit, configured to determine a holding mode corresponding to the terminal, the holding mode includes left-hand holding and right-hand holding;
启动单元,用于根据所述握持方式确定启动所述边缘触控区域的触控功能,所述触控功能是指响应所述触控操作的功能。The activation unit is configured to determine to activate the touch function of the edge touch area according to the gripping manner, and the touch function refers to a function responding to the touch operation.
可选地,所述终端中安装有触摸显示屏,所述触摸显示屏被设计为曲面屏,所述曲面屏包括所述边缘触控区域和中央触控区域。Optionally, a touch display screen is installed in the terminal, the touch display screen is designed as a curved screen, and the curved screen includes the edge touch area and the central touch area.
可选地,所述接收作用于终端的边缘触控区域上的触控操作之后,还包括:Optionally, after receiving the touch operation acting on the edge touch area of the terminal, the method further includes:
在所述触控操作的触摸位置显示触摸提示,所述触摸提示用于提示接收到作用于所述边缘触控区域上的触控操作。A touch prompt is displayed at the touch position of the touch operation, and the touch prompt is used to prompt that a touch operation acting on the edge touch area is received.
本申请还提供一种计算机可读介质,其上存储有程序指令,程序指令被处理器执行时实现上述各个方法实施例提供的拍摄参数调节方法。The present application also provides a computer-readable medium on which program instructions are stored, and when the program instructions are executed by a processor, the shooting parameter adjustment methods provided in the above method embodiments are implemented.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710791892.5A CN107562359A (en) | 2017-09-05 | 2017-09-05 | Shooting parameter adjustment method, device and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710791892.5A CN107562359A (en) | 2017-09-05 | 2017-09-05 | Shooting parameter adjustment method, device and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107562359A true CN107562359A (en) | 2018-01-09 |
Family
ID=60978089
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710791892.5A Pending CN107562359A (en) | 2017-09-05 | 2017-09-05 | Shooting parameter adjustment method, device and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107562359A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108196783A (en) * | 2018-01-31 | 2018-06-22 | 努比亚技术有限公司 | Acquisition parameters adjusting method, mobile terminal and computer readable storage medium |
| CN108377297A (en) * | 2018-01-31 | 2018-08-07 | 努比亚技术有限公司 | shooting parameter adjustment method, mobile terminal and computer readable storage medium |
| CN110737362A (en) * | 2019-08-01 | 2020-01-31 | 华为技术有限公司 | Mobile terminal and key triggering method |
| CN111142765A (en) * | 2019-11-14 | 2020-05-12 | 北京无限光场科技有限公司 | Image display method and device and electronic equipment |
| CN111309229A (en) * | 2020-02-17 | 2020-06-19 | Oppo广东移动通信有限公司 | Parameter adjusting method, device, terminal and storage medium |
| CN111427496A (en) * | 2020-03-24 | 2020-07-17 | 维沃移动通信有限公司 | Parameter adjusting method and electronic equipment |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103019565A (en) * | 2012-12-17 | 2013-04-03 | 广东欧珀移动通信有限公司 | Mobile terminal and method for sliding pages through side frame |
| CN103973959A (en) * | 2013-02-04 | 2014-08-06 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and shooting operation method thereof |
| CN104182164A (en) * | 2013-05-27 | 2014-12-03 | 赛龙通信技术(深圳)有限公司 | Electronic device and method for operating interface through side frame |
| CN104660913A (en) * | 2015-03-18 | 2015-05-27 | 努比亚技术有限公司 | Focus length adjusting method and device |
| CN105306824A (en) * | 2015-11-17 | 2016-02-03 | 小米科技有限责任公司 | Shooting parameter adjusting method and device |
| CN105867654A (en) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | Method for adjusting focal length of camera and terminal |
-
2017
- 2017-09-05 CN CN201710791892.5A patent/CN107562359A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103019565A (en) * | 2012-12-17 | 2013-04-03 | 广东欧珀移动通信有限公司 | Mobile terminal and method for sliding pages through side frame |
| CN103973959A (en) * | 2013-02-04 | 2014-08-06 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and shooting operation method thereof |
| CN104182164A (en) * | 2013-05-27 | 2014-12-03 | 赛龙通信技术(深圳)有限公司 | Electronic device and method for operating interface through side frame |
| CN104660913A (en) * | 2015-03-18 | 2015-05-27 | 努比亚技术有限公司 | Focus length adjusting method and device |
| CN105306824A (en) * | 2015-11-17 | 2016-02-03 | 小米科技有限责任公司 | Shooting parameter adjusting method and device |
| CN105867654A (en) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | Method for adjusting focal length of camera and terminal |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108196783A (en) * | 2018-01-31 | 2018-06-22 | 努比亚技术有限公司 | Acquisition parameters adjusting method, mobile terminal and computer readable storage medium |
| CN108377297A (en) * | 2018-01-31 | 2018-08-07 | 努比亚技术有限公司 | shooting parameter adjustment method, mobile terminal and computer readable storage medium |
| CN110737362A (en) * | 2019-08-01 | 2020-01-31 | 华为技术有限公司 | Mobile terminal and key triggering method |
| CN111142765A (en) * | 2019-11-14 | 2020-05-12 | 北京无限光场科技有限公司 | Image display method and device and electronic equipment |
| CN111309229A (en) * | 2020-02-17 | 2020-06-19 | Oppo广东移动通信有限公司 | Parameter adjusting method, device, terminal and storage medium |
| CN111427496A (en) * | 2020-03-24 | 2020-07-17 | 维沃移动通信有限公司 | Parameter adjusting method and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107506123B (en) | Adjusting operation execution method and device and terminal | |
| CN107688422B (en) | Notification message display method and device | |
| CN109144649B (en) | Icon display method, device, terminal and storage medium | |
| CN107577414A (en) | The method and mobile terminal of split screen display available | |
| CN107632874B (en) | Interface display method, device and terminal | |
| WO2020147666A1 (en) | User interface display method and apparatus, terminal and storage medium | |
| WO2019174477A1 (en) | User interface display method and device, and terminal | |
| CN107577495A (en) | Interface display method, device and terminal | |
| CN107809591B (en) | Shoot method, apparatus, terminal and the storage medium of image | |
| CN108540647A (en) | user interface display method, device, terminal and storage medium | |
| CN107562361A (en) | Message processing method and device and terminal | |
| CN108804190A (en) | User interface display method, device, terminal and storage medium | |
| CN107547750A (en) | Control method, device and the storage medium of terminal | |
| CN107688430B (en) | Method, device, terminal and storage medium for replacing wallpaper | |
| CN107562359A (en) | Shooting parameter adjustment method, device and terminal | |
| CN107589900A (en) | Split-screen display method, device, terminal and storage medium | |
| WO2019047738A1 (en) | Message display method, device, mobile terminal and storage medium | |
| CN107613116A (en) | Notification message processing method and device | |
| CN107506086A (en) | Touch screen control method, device, mobile terminal and storage medium | |
| CN107765959A (en) | Background application display methods and terminal | |
| WO2019047147A1 (en) | Icon moving method and device | |
| CN107656578A (en) | terminal control method, device, terminal and storage medium | |
| CN109656445B (en) | Content processing method, device, terminal and storage medium | |
| CN107526525A (en) | Screen capture method, device, mobile terminal and computer-readable storage medium | |
| WO2019233307A1 (en) | User interface display method and apparatus, and terminal and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180109 |
|
| RJ01 | Rejection of invention patent application after publication |