[go: up one dir, main page]

CN107770442A - The method, apparatus and terminal of shooting image - Google Patents

The method, apparatus and terminal of shooting image Download PDF

Info

Publication number
CN107770442A
CN107770442A CN201710999106.0A CN201710999106A CN107770442A CN 107770442 A CN107770442 A CN 107770442A CN 201710999106 A CN201710999106 A CN 201710999106A CN 107770442 A CN107770442 A CN 107770442A
Authority
CN
China
Prior art keywords
angle
parameter
terminal
change value
angle change
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.)
Granted
Application number
CN201710999106.0A
Other languages
Chinese (zh)
Other versions
CN107770442B (en
Inventor
舒茂非
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710999106.0A priority Critical patent/CN107770442B/en
Publication of CN107770442A publication Critical patent/CN107770442A/en
Application granted granted Critical
Publication of CN107770442B publication Critical patent/CN107770442B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of method, apparatus of shooting image and terminal, belongs to IMAQ field.Methods described includes:The first parameter is obtained, the first parameter includes folding angles or angle change value, the acquisition parameters according to corresponding to determining first parameter, according to the acquisition parameters shooting image;So that terminal shows viewfinder image all the time when user adjusts acquisition parameters in screen, be advantageous to user and calibrate acquisition parameters while viewfinder image is observed, improve the regulation efficiency of acquisition parameters, so as to improve the efficiency obtained compared with high imaging quality image.

Description

拍摄图像的方法、装置及终端Method, device and terminal for capturing images

技术领域technical field

本发明实施例涉及图像采集领域,特别涉及一种拍摄图像的方法、装置及终端。Embodiments of the present invention relate to the field of image acquisition, and in particular, to a method, device, and terminal for capturing images.

背景技术Background technique

随着具有拍摄图像功能的终端的不断发展,用户使用终端进行拍摄图像的场景也日益增多。为了拍摄到成像效果更好的图像,通常需要用户在拍摄图像前调节拍摄参数。With the continuous development of terminals capable of capturing images, there are also more and more scenarios where users use terminals to capture images. In order to capture an image with a better imaging effect, it is generally required for the user to adjust shooting parameters before capturing the image.

在实际拍摄过程中,用户通常在图像拍摄应用中的调节菜单中调节拍摄参数。比如,用户可以在图像拍摄应用开启后的显示界面中,点击调节功能按钮,之后终端在屏幕中展开显示调节菜单,用户可以在调节菜单中选择候选拍摄参数选项或者通过输入参数值来调节拍摄参数。当终端的屏幕中显示调节菜单时,屏幕中不再显示摄像头当前采集到的取景图像。During actual shooting, the user usually adjusts shooting parameters in an adjustment menu in an image shooting application. For example, the user can click the adjustment function button in the display interface after the image capture application is started, and then the terminal expands the display adjustment menu on the screen, and the user can select candidate shooting parameter options in the adjustment menu or adjust the shooting parameters by inputting parameter values . When the adjustment menu is displayed on the screen of the terminal, the viewfinder image currently captured by the camera is no longer displayed on the screen.

发明内容Contents of the invention

本发明实施例提供了一种拍摄图像的方法、装置及终端,可以用于解决用户为了最佳的图像拍摄效果,需要反复在当前的取景图像和拍摄参数设置界面之间切换,导致调节拍摄参数的效率较低的问题。所述技术方案如下:Embodiments of the present invention provide a method, device, and terminal for shooting images, which can be used to solve the problem that users need to repeatedly switch between the current viewfinder image and the shooting parameter setting interface for the best image shooting effect, resulting in adjustment of shooting parameters. the problem of low efficiency. Described technical scheme is as follows:

第一方面,提供了一种拍摄图像的方法,用于具有折叠显示屏的终端中,所述终端具有第一壳体和第二壳体,所述方法包括:In a first aspect, a method for capturing images is provided, which is used in a terminal with a foldable display screen, the terminal has a first casing and a second casing, the method includes:

获取第一参数,所述第一参数包括折叠角度或角度变化值,所述折叠角度为所述第一壳体和所述第二壳体之间的角度,所述角度变化值是所述第一壳体相对于所述第二壳体在一时间段内产生的角度变化值;Obtain a first parameter, the first parameter includes a folding angle or an angle change value, the folding angle is an angle between the first shell and the second shell, and the angle change value is the first an angle change value generated by a housing relative to the second housing within a period of time;

根据所述第一参数确定对应的拍摄参数,所述拍摄参数用于指示图像采集组件在拍摄图像时的光学参数;determining a corresponding shooting parameter according to the first parameter, where the shooting parameter is used to indicate an optical parameter of the image acquisition component when capturing an image;

根据所述拍摄参数拍摄图像。An image is captured according to the shooting parameters.

第二方面,提供了一种拍摄图像的装置,用于具有折叠显示屏的终端中,所述终端具有第一壳体和第二壳体,所述装置包括:In a second aspect, a device for capturing images is provided, which is used in a terminal with a foldable display screen, the terminal has a first housing and a second housing, and the device includes:

获取模块,用于获取第一参数,所述第一参数包括折叠角度或角度变化值,所述折叠角度为所述第一壳体和所述第二壳体之间的角度,所述角度变化值用于指示所述折叠角度在一时间段内产生的角度变化值;An acquisition module, configured to acquire a first parameter, the first parameter includes a folding angle or an angle change value, the folding angle is an angle between the first shell and the second shell, and the angle change The value is used to indicate the angle change value generated by the folding angle within a period of time;

确定模块,用于根据所述第一参数确定对应的拍摄参数,所述拍摄参数用于指示图像采集组件在拍摄图像时的光学参数;A determining module, configured to determine a corresponding shooting parameter according to the first parameter, and the shooting parameter is used to indicate an optical parameter of the image acquisition component when capturing an image;

拍摄模块,用于根据所述拍摄参数拍摄图像。The photographing module is used for photographing images according to the photographing parameters.

第三方面,提供了一种终端,所述终端包括:处理器、与所述处理器相连的存储器,以及存储在所述存储器上的程序指令,所述处理器执行所述程序指令时实现如第一方面所述的拍摄图像的方法。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 following steps are implemented: The method for capturing images described in the first aspect.

第四方面,一种计算机可读介质,其上存储有程序指令,所述程序指令被处理器执行时实现如第一方面所述的拍摄图像的方法。In a fourth aspect, a computer-readable medium stores program instructions thereon, and when the program instructions are executed by a processor, the method for capturing an image as described in the first aspect is implemented.

本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:

利用折叠屏可折叠的特性,令终端在拍摄图像时,无需用户手指触控屏幕中的调节按钮即可调节拍摄参数。具体地,终端获取第一壳体和第二壳体之间的折叠角度,根据折叠角度获取对应的拍摄参数,根据该拍摄参数拍摄图像。或者,终端获取第一壳体相对于第二壳体在一时间段内产生的角度变化值,并根据该角度变化值获取对应的拍摄参数,进而拍摄图像。由于终端在调节拍摄参数时无需终端在屏幕中展开触控操作界面来调节拍摄参数,使得终端在用户调节拍摄参数时屏幕中始终显示取景图像,有利于用户在观察取景图像的同时校准拍摄参数,提高了拍摄参数的调节效率,从而提高了获取较高成像质量图像的效率。Utilizing the foldable feature of the folding screen, the terminal can adjust the shooting parameters without touching the adjustment buttons on the screen with the user's fingers when shooting images. Specifically, the terminal obtains a folding angle between the first casing and the second casing, obtains a corresponding shooting parameter according to the folding angle, and takes an image according to the shooting parameter. Alternatively, the terminal obtains an angle change value generated by the first casing relative to the second casing within a period of time, and obtains corresponding shooting parameters according to the angle change value, and then takes an image. Since the terminal does not need to expand the touch operation interface on the screen to adjust the shooting parameters when the terminal adjusts the shooting parameters, the terminal always displays the viewfinder image on the screen when the user adjusts the shooting parameters, which is beneficial for the user to calibrate the shooting parameters while observing the viewfinder image. The adjustment efficiency of shooting parameters is improved, thereby improving the efficiency of obtaining images with higher imaging quality.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1和图2是本发明一个示例性实施例提供的终端的结构方框图;FIG. 1 and FIG. 2 are structural block diagrams of a terminal provided by an exemplary embodiment of the present invention;

图3至图6是本发明一个示例性实施例提供的折叠屏终端的结构示意图;3 to 6 are schematic structural diagrams of a folding screen terminal provided by an exemplary embodiment of the present invention;

图7示出了本发明的一个示例性实施例提供的拍摄图像的方法的流程图;FIG. 7 shows a flowchart of a method for capturing images provided by an exemplary embodiment of the present invention;

图8示出了本发明的一个示例性实施例提供的一种拍摄图像的方法的流程图;FIG. 8 shows a flow chart of a method for capturing images provided by an exemplary embodiment of the present invention;

图9是基于图8所示的拍摄图像的方法所提供的终端姿态示意图;FIG. 9 is a schematic diagram of a terminal posture provided based on the method for capturing images shown in FIG. 8;

图10示出了本发明的一个示例性实施例提供的一种拍摄图像的方法的流程图;FIG. 10 shows a flow chart of a method for capturing images provided by an exemplary embodiment of the present invention;

图11是基于图10所示的实施例涉及的一种确定第一参数的流程图;Fig. 11 is a flow chart of determining a first parameter based on the embodiment shown in Fig. 10;

图12是本发明一个实施例提供的一种拍摄图像的装置的结构方框图。Fig. 12 is a structural block diagram of a device for capturing images provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

参考图1和图2所示,其示出了本申请一个示例性实施例提供的终端100的结构方框图。该终端100可以是智能手机、平板电脑和电子书等等。本申请中的终端100可以包括一个或多个如下部件:处理器110、存储器120和触摸显示屏130。Referring to FIG. 1 and FIG. 2 , it shows a structural block diagram of a terminal 100 provided by an exemplary embodiment of the present application. The terminal 100 can be a smart phone, a tablet computer, an e-book, and so on. 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 SignalProcessing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics ProcessingUnit,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 runs or executes program instructions stored in the memory 120. The program instructions include at least one of instructions, programs, code sets, or instruction sets, and call The data stored in the memory 120 executes various functions of the terminal 100 and processes 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 Logic Array, 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.

存储器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中存储的程序和数据如图1所示,存储器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 1, 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通常设置在终端100的前面板。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 generally arranged on the front panel of the terminal 100 .

如图3所示,终端100包括第一壳体41、第二壳体42以及连接于第一壳体41和第二壳体42之间的连接组件43,第一壳体41与第二壳体42通过连接组件43实现翻转折叠。As shown in FIG. 3 , the terminal 100 includes a first housing 41 , a second housing 42 and a connection assembly 43 connected between the first housing 41 and the second housing 42 , the first housing 41 and the second housing The body 42 is flipped and folded through the connection assembly 43 .

第一壳体41包括与触摸显示屏背面连接的第一支撑面,以及与第一支撑面相对的第一背面,第二壳体42包括与触摸显示屏背面连接的第二支撑面,以及与第二支撑面相对的第二背面。相应的,触摸显示屏包括第一显示区域131、第二显示区域132和第三显示区域133,其中,第一显示区域131与第一壳体41的位置对应,第二显示区域132与第二壳体42的位置对应,第三显示区域133与连接组件43的位置对应。在一种实现方式中,第一显示区域131、第二显示区域132和第三显示区域133均采用柔性材料制成,具有一定的伸缩延展性;在另一种实现方式中,仅第三显示区域133采用柔性材料制成,第一显示区域131和第二显示区域132采用非柔性材料制成。The first housing 41 includes a first support surface connected to the back of the touch screen, and a first back opposite to the first support surface, and the second housing 42 includes a second support surface connected to the back of the touch screen, and a second support surface connected to the back of the touch screen. The second back surface opposite to the second supporting surface. Correspondingly, the touch display screen includes a first display area 131, a second display area 132 and a third display area 133, wherein the first display area 131 corresponds to the position of the first housing 41, and the second display area 132 corresponds to the position of the second The position of the housing 42 corresponds, and the third display area 133 corresponds to the position of the connecting component 43 . In one implementation, the first display area 131, the second display area 132, and the third display area 133 are all made of flexible materials, which have certain stretchability; in another implementation, only the third display The area 133 is made of flexible material, and the first display area 131 and the second display area 132 are made of non-flexible material.

在一种可选的实现方式中,终端100的连接组件43采用手动结构。用户手动分离第一壳体41和第二壳体42时,终端100由折叠状态变为展开状态;用户手动合拢第一壳体41和第二壳体42时,终端100由展开状态变为折叠状态。In an optional implementation manner, the connection component 43 of the terminal 100 adopts a manual structure. When the user manually separates the first casing 41 and the second casing 42, the terminal 100 changes from the folded state to the unfolded state; when the user manually closes the first casing 41 and the second casing 42, the terminal 100 changes from the unfolded state to the folded state. state.

在另一种可选的实现方式中,终端100的连接组件43采用电动结构,比如,连接组件43中设置有电动马达一类的电动旋转部件。在电动旋转部件的带动下,第一壳体41和第二壳体42自动实现合拢或分离,从而使终端100具备展开和折叠两种状态。In another optional implementation manner, the connection assembly 43 of the terminal 100 adopts an electric structure, for example, the connection assembly 43 is provided with an electric rotating component such as an electric motor. Driven by the electric rotating part, the first housing 41 and the second housing 42 are automatically closed or separated, so that the terminal 100 has two states of unfolding and folding.

按照折叠状态下触摸显示屏是否外露进行划分,终端100可以被划分为外折叠屏终端和内折叠屏终端。可选地,终端100也可称为折叠屏终端。其中:According to whether the touch display screen is exposed in the folded state, the terminal 100 can be divided into an outer folding screen terminal and an inner folding screen terminal. Optionally, the terminal 100 may also be called a folding screen terminal. in:

外折叠屏终端External folding screen terminal

外折叠屏终端是指折叠角度为180°,且在折叠状态下,触摸显示屏全部外露的终端。如图3所示,终端100为外折叠屏终端。展开状态下,终端100的第一壳体41的第一支撑面与第二壳体42的第二支撑面相齐平(即夹角为180°),且触摸显示屏的第一显示区域131、第二显示区域132和第三显示区域133位于同一平面;终端100由展开状态变为折叠状态过程中,如图3所示,第一壳体41的第一背面与第二壳体42的第二背面相靠拢,第一支撑面与第二支撑面的夹角由180°变为0°;折叠状态下,如图4所示,终端100的第一壳体41的第一支撑面与第二壳体42的第二支撑面相平行(第一壳体41与第二壳体42的夹角为0°),使得触摸显示屏处于U型折叠状态,其中,触摸显示屏的第三显示区域133形成外露的U型弧面。An outer folding screen terminal refers to a terminal with a folding angle of 180°, and in the folded state, the entire touch screen is exposed. As shown in FIG. 3 , the terminal 100 is an external folding screen terminal. In the unfolded state, the first supporting surface of the first housing 41 of the terminal 100 is flush with the second supporting surface of the second housing 42 (that is, the included angle is 180°), and the first display area 131, The second display area 132 and the third display area 133 are located on the same plane; when the terminal 100 changes from the unfolded state to the folded state, as shown in FIG. The two backs are close together, and the angle between the first support surface and the second support surface changes from 180° to 0°; in the folded state, as shown in FIG. 4 , the first support surface and the second support surface of the first housing 41 of the terminal 100 The second supporting surfaces of the two housings 42 are parallel (the angle between the first housing 41 and the second housing 42 is 0°), so that the touch screen is in a U-shaped folded state, wherein the third display area of the touch screen 133 forms an exposed U-shaped arc surface.

在一种可选的实现方式中,在折叠状态下,触摸显示屏的全部或部分显示区域用于显示用户界面。比如,如图4所示,折叠状态下,仅第二显示区域132用于显示用户界面,或,仅第三显示区域133用于显示用户界面。In an optional implementation manner, in the folded state, all or part of the display area of the touch display screen is used to display a user interface. For example, as shown in FIG. 4 , in the folded state, only the second display area 132 is used to display the user interface, or only the third display area 133 is used to display the user interface.

内折叠屏终端Inner folding screen terminal

内折叠屏终端是指折叠角度为180°,且在折叠状态下,触摸显示屏(全部或部分)内敛的终端。如图5所示,终端100为内折叠屏终端。展开状态下,终端100的第一壳体41的第一支撑面与第二壳体42的第二支撑面相齐平(即夹角为180°),使得触摸显示屏处于平面展开状态(第一显示区域131、第二显示区域132和第三显示区域133位于同一平面);终端100由展开状态变为折叠状态过程中,如图5所示,第一壳体41的第一支撑面与第二壳体42的第二支撑面相靠拢,即第一支撑面与第二支撑面的夹角由180°变为0°;折叠状态下,终端100的第一壳体41的第一支撑面与第二壳体42的第二支撑面相平行,使得触摸显示屏处于U型折叠状态,其中,触摸显示屏的第三显示区域133形成内敛的U型弧面。在一种可选的实现方式中,在折叠状态下,触摸显示屏的全部显示区域均不显示用户界面。An inner folding screen terminal refers to a terminal with a folding angle of 180°, and in the folded state, the touch screen (all or part) is restrained. As shown in FIG. 5 , the terminal 100 is an inner folding screen terminal. In the unfolded state, the first supporting surface of the first housing 41 of the terminal 100 is flush with the second supporting surface of the second housing 42 (that is, the included angle is 180°), so that the touch screen is in a planar unfolded state (first The display area 131, the second display area 132 and the third display area 133 are located on the same plane); when the terminal 100 changes from the unfolded state to the folded state, as shown in FIG. The second supporting surfaces of the two casings 42 are close together, that is, the angle between the first supporting surface and the second supporting surface changes from 180° to 0°; The second supporting surfaces of the second housing 42 are parallel, so that the touch screen is in a U-shaped folded state, wherein the third display area 133 of the touch screen forms a restrained U-shaped arc. In an optional implementation manner, in the folded state, no user interface is displayed on the entire display area of the touch display screen.

除了在壳体的支撑面上设置触摸显示屏外,第一壳体41的第一背面和/或第二壳体42的第二背面上也可以设置触摸显示屏。内折叠屏终端处于折叠状态时,设置在壳体背面的触摸显示屏用于显示用户界面,该用户界面与展开状态下触摸显示屏显示的用户界面相同或不同。In addition to setting a touch display screen on the supporting surface of the housing, a touch display screen may also be provided on the first back of the first housing 41 and/or the second back of the second housing 42 . When the inner folding screen terminal is in the folded state, the touch screen disposed on the back of the casing is used to display a user interface, which is the same as or different from the user interface displayed on the touch screen in the unfolded state.

在其他可能的实现方式中,终端100的折叠角度还可以为360°(既可以内折也可以外折),且在折叠状态下,触摸显示屏外露或内敛的终端,本实施例对此不加以限定。In other possible implementations, the folding angle of the terminal 100 can also be 360° (it can be folded inward or outward), and in the folded state, the touch screen of the terminal is exposed or restrained, which is not covered in this embodiment. Be limited.

图3至图5所示的终端100中,第一壳体41和第二壳体42尺寸相同或相近,终端100的折叠方式被称为对称折叠。在其他可能的实现方式中,终端100的折叠方式还可以为非对称折叠。采用非对称折叠时,第一壳体41和第二壳体42的尺寸可以不同或尺寸相差大于阈值(比如50%或60%或70%),相应的,触摸显示屏中第一显示区域131的面积与第二显示区域132的面积相差大于阈值。In the terminal 100 shown in FIGS. 3 to 5 , the first housing 41 and the second housing 42 have the same or similar dimensions, and the folding method of the terminal 100 is called symmetrical folding. In other possible implementation manners, the folding manner of the terminal 100 may also be asymmetric folding. When using asymmetric folding, the size of the first housing 41 and the second housing 42 can be different or the size difference is greater than a threshold (such as 50% or 60% or 70%), correspondingly, the first display area 131 in the touch screen The difference between the area of and the area of the second display region 132 is greater than the threshold.

示意性的,如图6所示,终端100为非对称折叠的外折叠屏终端,第一壳体41的尺寸大于第二壳体42的尺寸。折叠状态下,第一显示区域131的面积大于第二显示区域132的面积。Schematically, as shown in FIG. 6 , the terminal 100 is an asymmetrically folded outer folding screen terminal, and the size of the first casing 41 is larger than that of the second casing 42 . In the folded state, the area of the first display area 131 is larger than the area of the second display area 132 .

图3至6中,仅以终端100包含两部分壳体以及一个用于连接壳体的连接组件为例进行示意性说明(终端为两折结构),在另一些可能的实现方式中,终端100可以包含n部分壳体以及n-1个连接组件,相应的,终端100的触摸显示屏中包含2n-1块显示区域,与连接组件对应的n-1块显示区域采用柔性材料制成,从而实现n折结构的终端,本实施例对此不加以限定。In FIGS. 3 to 6, the terminal 100 includes two shells and a connection assembly for connecting the shells as an example for schematic illustration (the terminal is a two-fold structure). In other possible implementations, the terminal 100 It may include n parts of the housing and n-1 connecting components. Correspondingly, the touch display screen of the terminal 100 includes 2n-1 display areas, and the n-1 display areas corresponding to the connecting components are made of flexible materials, so that A terminal with an n-fold structure is not limited in this embodiment.

终端100中还设置有至少一种其他部件,该至少一种其他部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,至少一种其他部件设置在终端100的正面、侧边或背面,比如将指纹传感器设置在壳体的背面或侧边、将摄像头设置在触摸显示屏130的上方。At least one other component is also provided in the terminal 100, and the at least one other component includes: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like. In some embodiments, at least one other component is disposed on the front, side or back of the terminal 100 , such as disposing the fingerprint sensor on the back or side of the housing, and disposing the camera above the touch display 130 .

在另一些实施例中,至少一种其他部件可以集成在触摸显示屏130的内部或下层。在一些实施例中,将骨传导式的听筒设置在终端100的内部;将传统终端的前面板上的其他部件集成在触摸显示屏130的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏130中每个显示像素中的黑色区域中,使得触摸显示屏130具备图像采集功能。由于将至少一种其他部件集成在了触摸显示屏130的内部或下层,因此终端100具有更高的屏占比。In other embodiments, at least one other component may be integrated inside or under the touch display screen 130 . In some embodiments, a bone conduction earpiece is placed inside the terminal 100; other components on the front panel of a traditional terminal are integrated into all or part of the area of the touch display 130, for example, the photosensitive element in the camera After splitting into a plurality of photosensitive pixels, each photosensitive pixel is integrated in the black area of each display pixel in the touch display screen 130, so that the touch display screen 130 has an image acquisition function. Since at least one other component is integrated inside or under the touch display screen 130, the terminal 100 has a higher screen-to-body ratio.

在一些可选的实施例中,终端100的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器,该边缘触控传感器用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器上施加操作,对终端100中的应用程序进行控制。In some optional embodiments, a single side of the middle frame of the terminal 100, or two sides (such as the left and right sides), or four sides (such as the upper, lower, left, and right sides) An edge touch sensor is arranged on two sides), and the edge touch sensor is used to detect at least one of the user's touch operation, click operation, press operation and slide operation on the middle frame. The edge touch sensor may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user can perform operations on the edge touch sensor to control the application programs in the terminal 100 .

除此之外,本领域技术人员可以理解,上述附图所示出的终端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.

请参考图7,其示出了本发明的一个示例性实施例提供的一种拍摄图像的方法的流程图,该方法即可以应用于如图3、图4或者图6所示的外折叠屏终端中,也可以应用在如图5的内折叠屏终端中。为了便于理解,本实施例以应用在内折叠显示屏中为例进行说明。如图7所示,该拍摄图像的方法可以包括:Please refer to FIG. 7 , which shows a flow chart of a method for capturing images provided by an exemplary embodiment of the present invention. This method can be applied to the outer folding screen shown in FIG. 3 , FIG. 4 or FIG. 6 In the terminal, it can also be applied in the inner folding screen terminal as shown in Fig. 5 . For ease of understanding, this embodiment is described by taking an application in an inner folding display screen as an example. As shown in Figure 7, the method for taking an image may include:

步骤701,获取第一参数,第一参数包括折叠角度或角度变化值,折叠角度为第一壳体和第二壳体之间的角度,角度变化值是第一壳体相对于第二壳体在一时间段内产生的角度变化值。Step 701, obtain a first parameter, the first parameter includes a folding angle or an angle change value, the folding angle is the angle between the first shell and the second shell, and the angle change value is the angle between the first shell and the second shell Angle change value produced over a period of time.

在本发明实施例中,在用户需要使用终端拍摄图像时,用户可以打开终端中的图像采集应用。在图像采集应用开启后,终端可以根据获取第一参数。其中第一参数既可以是终端的折叠角度,也可以是第一壳体相对于第二壳体产生的角度变化值。In the embodiment of the present invention, when the user needs to use the terminal to capture an image, the user can open the image collection application in the terminal. After the image collection application is started, the terminal can acquire the first parameter according to the method. The first parameter may be the folding angle of the terminal, or an angle change value generated by the first housing relative to the second housing.

在一种可能实现的方式中,第一参数是折叠角度。终端可以通过角度传感器来测量该折叠角度的角度值。可选地,该角度传感器可以是压电传感器,例如设置在第一壳体和第二壳体之间的连接处的压电薄膜。由于在终端的第一壳体和第二壳体之间的折叠角度不同时,第一壳体和第二壳体之间的折角处产生的压力值不同。因此,终端可以根据压电薄膜所承受的压力值的大小确定折叠角度的大小。In a possible implementation manner, the first parameter is the folding angle. The terminal may measure the angle value of the folding angle through an angle sensor. Optionally, the angle sensor may be a piezoelectric sensor, such as a piezoelectric film disposed at the connection between the first housing and the second housing. Since the folding angles between the first casing and the second casing of the terminal are different, the pressure values generated at the knuckles between the first casing and the second casing are different. Therefore, the terminal can determine the size of the folding angle according to the pressure value that the piezoelectric film bears.

在另一可能实现方式中,第一参数还可以是角度变化值。该角度变化值用于指示第一壳体相对于第二壳体之间在一时间段内产生的角度变化值。该时间段可以是目标时间段,目标时间段可以是设置终端中的指定时间长度的时间段,例如终端在图像采集应用开启后,检测时间长度为T的指定时间长度内的角度变化值。一方面,为了检测结果的精确度,终端可以将T的值设置的小一些;另一方面,为了节约终端的软硬件开销,T的值可以设置的大一些。通常情况下,T的值可以在综合考虑检测结果的精确度和终端的软硬件开销的情况下来设置。可选地,终端可以周期性地检测角度变化值,终端也可以非周期性地检测角度变化值。In another possible implementation manner, the first parameter may also be an angle change value. The angle change value is used to indicate the angle change value generated within a period of time between the first casing and the second casing. The time period may be a target time period, and the target time period may be a time period of a specified time length set in the terminal, for example, the terminal detects an angle change value within a specified time length of T after the image acquisition application is started. On the one hand, for the accuracy of the detection result, the terminal can set the value of T smaller; on the other hand, in order to save the hardware and software costs of the terminal, the value of T can be set larger. Usually, the value of T can be set in consideration of the accuracy of the detection result and the software and hardware overhead of the terminal. Optionally, the terminal may detect the angle change value periodically, and the terminal may also detect the angle change value aperiodically.

步骤702,根据第一参数确定对应的拍摄参数,拍摄参数用于指示终端在拍摄图像时的光学参数。Step 702: Determine a corresponding shooting parameter according to the first parameter, where the shooting parameter is used to indicate an optical parameter of the terminal when shooting an image.

在本发明实施例中,终端可以预先保存第一参数和拍摄参数的对应关系,该对应关系可以是线性对应关系,也可以是非线性对应关系。当第一参数是折叠角度时,该对应关系可以是一一对应的关系,指定大小的折叠角度对应指定的拍摄参数。在此情况下,对应关系可以通过表格的形式保存在终端中。In the embodiment of the present invention, the terminal may pre-save the correspondence between the first parameter and the shooting parameter, and the correspondence may be a linear correspondence or a nonlinear correspondence. When the first parameter is the folding angle, the corresponding relationship may be a one-to-one correspondence, and the folding angle of the specified size corresponds to the specified shooting parameter. In this case, the corresponding relationship can be stored in the terminal in the form of a table.

可选地,终端可以为每一种拍摄参数保存至少一张表格。例如,拍摄参数可以是焦距、感光值、曝光补偿、色温和对比度中至少一种,每一种拍摄参数有至少一张表格。终端在不同条件下,根据符合该条件的表格来确定第一参数对应的拍摄参数。其中,用户可以在终端执行步骤702之前手动确定需要调节的拍摄参数。或者,拍摄参数是指定的一种,用户无需手动确定需要调节的拍摄参数,终端直接执行步骤702。Optionally, the terminal may store at least one table for each shooting parameter. For example, the shooting parameter may be at least one of focal length, photosensitivity value, exposure compensation, color temperature and contrast, and each shooting parameter has at least one table. Under different conditions, the terminal determines the shooting parameters corresponding to the first parameters according to the table meeting the conditions. Wherein, the user may manually determine the shooting parameters to be adjusted before the terminal executes step 702 . Alternatively, the shooting parameter is a designated one, and the user does not need to manually determine the shooting parameter to be adjusted, and the terminal directly executes step 702 .

步骤703,根据拍摄参数拍摄图像。Step 703, taking images according to shooting parameters.

在本发明实施例中,终端在拍摄参数调节完成之后,能够在用户的拍摄指令下按照第一参数对应的拍摄参数来拍摄图像。或者,在用户的拍摄指令下根据拍摄参数录像。其中,录像操作包括录制时间长度固定的短视频(小视频)以及时间长度按照用户定义的自定义视频片段。In the embodiment of the present invention, after the shooting parameter adjustment is completed, the terminal can shoot an image according to the shooting parameter corresponding to the first parameter under the user's shooting instruction. Or, video is recorded according to the shooting parameters under the user's shooting instruction. Wherein, the recording operation includes recording a short video (small video) with a fixed duration and a custom video segment with a duration defined by the user.

可选地,当终端在调整拍摄参数后开始录像后。终端仍然可以执行步骤701和步骤702,以实现终端在视频的录制过程中调整拍摄参数的功能。Optionally, after the terminal starts recording after adjusting the shooting parameters. The terminal can still perform step 701 and step 702, so as to realize the terminal's function of adjusting shooting parameters during video recording.

可选地,当终端录制时间长度固定的短视频时,终端可以在录制拍摄按钮触发前的指定时间长度内的短视频,也可以录制拍摄按钮触发后的指定时间长度内的短视频,或者录制从拍摄按钮触发前的指定时间长度至拍摄按钮触发后的指定时间长度内的短视频。例如,指定的录制时间长度是4秒,终端可以始终缓存最近4秒的短视频,当拍摄按钮被触发时,终端保存拍摄按钮被触发时刻前4秒内的短视频。或者,终端也可以录制拍摄按钮被触发后的4秒内的短视频。或者。终端可以录制拍摄按钮被触发前的2秒和被触发后的2秒共4秒长的短视频。Optionally, when the terminal records a short video with a fixed duration, the terminal can record a short video within a specified time length before the shooting button is triggered, or record a short video within a specified time length after the shooting button is triggered, or record A short video from the specified time length before the capture button is triggered to the specified time length after the capture button is triggered. For example, if the specified recording time length is 4 seconds, the terminal can always cache the short video of the last 4 seconds. When the shooting button is triggered, the terminal saves the short video within 4 seconds before the shooting button is triggered. Alternatively, the terminal can also record a short video within 4 seconds after the shooting button is triggered. or. The terminal can record a short video of 2 seconds before the shooting button is triggered and 2 seconds after it is triggered, a total of 4 seconds.

综上所述,本发明实施例提供的一种拍摄图像的方法,利用折叠屏可折叠的特性,令终端在拍摄图像时,无需用户手指触控屏幕中的调节按钮即可调节拍摄参数。具体地,终端获取第一壳体和第二壳体之间的折叠角度,根据折叠角度获取对应的拍摄参数,根据该拍摄参数拍摄图像。或者,终端获取第一壳体相对于第二壳体在一时间段内产生的角度变化值,并根据该角度变化值获取对应的拍摄参数,进而拍摄图像。由于终端在调节拍摄参数时无需终端在屏幕中展开触控操作界面来调节拍摄参数,使得终端在用户调节拍摄参数时屏幕中始终显示取景图像,有利于用户在观察取景图像的同时校准拍摄参数,提高了拍摄参数的调节效率,从而提高了获取较高成像质量图像的效率。In summary, the embodiment of the present invention provides a method for shooting images, which utilizes the foldable feature of the folding screen, so that when the terminal is shooting images, the shooting parameters can be adjusted without the user's finger touching the adjustment buttons on the screen. Specifically, the terminal obtains a folding angle between the first casing and the second casing, obtains a corresponding shooting parameter according to the folding angle, and takes an image according to the shooting parameter. Alternatively, the terminal obtains an angle change value generated by the first casing relative to the second casing within a period of time, and obtains corresponding shooting parameters according to the angle change value, and then takes an image. Since the terminal does not need to expand the touch operation interface on the screen to adjust the shooting parameters when the terminal adjusts the shooting parameters, the terminal always displays the viewfinder image on the screen when the user adjusts the shooting parameters, which is beneficial for the user to calibrate the shooting parameters while observing the viewfinder image. The adjustment efficiency of shooting parameters is improved, thereby improving the efficiency of obtaining images with higher imaging quality.

在本发明实施例中,当第一参数是折叠角度时,终端将第一壳体和第二壳体之间的折叠角度获取为拍摄参数。在此情况下,用户既可以手动弯折终端,令第一壳体和第二壳体之间的折叠角度发生变化从而改变拍摄参数,也可以不改变折叠角度,令终端在当前折叠角度对应的拍摄参数下拍摄图像。In the embodiment of the present invention, when the first parameter is the folding angle, the terminal obtains the folding angle between the first casing and the second casing as the shooting parameter. In this case, the user can either manually bend the terminal to change the folding angle between the first casing and the second casing to change the shooting parameters, or not change the folding angle so that the terminal is at a position corresponding to the current folding angle. Capture images under shooting parameters.

请参考图8,其示出了本发明的一个示例性实施例提供的一种拍摄图像的方法的流程图,该方法既可以应用于如图3、图4或者图6所示的外折叠屏终端中,也可以应用在如图5所述的内折叠屏终端中。为了便于理解,本实施例以应用在内折叠显示屏中为例进行说明。如图8所示,该拍摄图像的方法可以包括:Please refer to FIG. 8 , which shows a flow chart of a method for capturing images provided by an exemplary embodiment of the present invention. This method can be applied to the outer folding screen as shown in FIG. 3 , FIG. 4 or FIG. 6 In a terminal, it can also be applied in an inner folding screen terminal as shown in FIG. 5 . For ease of understanding, this embodiment is described by taking an application in an inner folding display screen as an example. As shown in Figure 8, the method for taking an image may include:

步骤801,获取角度传感器中的第一角度读数α。Step 801, acquire a first angle reading α from an angle sensor.

在本发明实施例中,终端可以通过一个照相应用程序实现拍摄功能。该照相应用程序既可以是预装在折叠屏终端的操作系统中的应用程序,也可以是用户通过应用市场(应用商店)自行安装的第三方应用程序。比如,该照相应用程序可以是终端原生的照相应用,也可以是从应用市场中安装的具有美颜功能、滤镜功能或图像挂件功能等拓展功能的第三方应用程序。In the embodiment of the present invention, the terminal can realize the shooting function through a camera application program. The camera application program can be an application program pre-installed in the operating system of the folding screen terminal, or a third-party application program installed by the user through an application market (app store). For example, the camera application program may be a terminal native camera application program, or a third-party application program installed from the application market with extended functions such as a beauty function, a filter function, or an image widget function.

在终端中安装完成该照相应用程序后,可以通过用户的开启操作来打开该照相应用程序。其中,用户可以点击触摸屏幕中的照相应用的图标来打开照相应用程序,也可以通过语音控制的方式开启照相应用程序。After the camera application program is installed in the terminal, the camera application program can be opened by the user's opening operation. Wherein, the user can click the icon of the camera application on the touch screen to open the camera application, or can open the camera application through voice control.

需要说明的是,上述照相应用程序的打开方式本发明实施例能够实现的方式中的一些,本发明实施例并不对照相应用程序的开启方式进行限定。It should be noted that the opening manner of the above-mentioned camera application program is some of the manners that can be realized in the embodiment of the present invention, and the embodiment of the present invention does not limit the opening manner of the camera application program.

在折叠屏终端开启了照相应用程序后,终端可以根据用户的设置,确定是否获取角度传感器中的第一角度读数α。当终端被设置开启通过折叠角度调节拍摄参数的功能时,终端通过角度传感器获取第一角度读数α。当终端被设置关闭通过折叠角度调节的拍摄参数的功能时,折叠屏终端将不会获取第一角度读数α也不会执行步骤802及后续步骤。例如,终端可以在系统设置中提供折叠角度的应用场景的选项,用户可以开启通过折叠角度调节拍摄参数的应用场景,也可以关闭通过折叠角度调节拍摄参数的应用场景。After the folding screen terminal starts the camera application program, the terminal can determine whether to obtain the first angle reading α in the angle sensor according to the user's settings. When the terminal is configured to enable the function of adjusting the shooting parameters through the folding angle, the terminal acquires the first angle reading α through the angle sensor. When the terminal is set to disable the function of shooting parameters adjusted by the folding angle, the folding screen terminal will not acquire the first angle reading α and will not perform step 802 and subsequent steps. For example, the terminal can provide the option of the application scene of the folding angle in the system settings, and the user can enable the application scene of adjusting the shooting parameters through the folding angle, and can also close the application scene of adjusting the shooting parameters through the folding angle.

可选地,角度传感器可以将第一角度读数直接反馈给终端的处理器,也可以将一个采集数据反馈给该处理器。其中,当角度传感器反馈的是采集数据时,该采集数据包括但不限于电流、电压、电容值或压力值等参数。处理器根据角度确定关系确定该采集数据对应的第一角度读数。需要说明的是,该角度确定关系可以是预装在终端的系统文件中的数据。Optionally, the angle sensor may directly feed back the first angle reading to the processor of the terminal, or may feed back a piece of collected data to the processor. Wherein, when the angle sensor feeds back collected data, the collected data includes but not limited to parameters such as current, voltage, capacitance value or pressure value. The processor determines the first angle reading corresponding to the collected data according to the angle determination relationship. It should be noted that the angle determining relationship may be data preinstalled in a system file of the terminal.

步骤802,检测第一角度读数α是否处于预设调节区间。Step 802, detecting whether the first angle reading α is in a preset adjustment interval.

在获取到第一角度读数α后,终端可以检测该第一角度读数α是否处于预设调节区间。其中,预设调节区间既可以是程序开发人员预先设置的角度区间,也可以是用户根据自身的使用习惯设置的角度区间。可选地,用户可以在终端的设置中自主设置该预设调节区间的角度范围。After acquiring the first angle reading α, the terminal may detect whether the first angle reading α is in a preset adjustment interval. Wherein, the preset adjustment interval may be an angle interval preset by a program developer, or an angle interval set by a user according to his own usage habits. Optionally, the user can independently set the angle range of the preset adjustment interval in the settings of the terminal.

在本发明实施例的一种可能的实现方式中,拍摄参数可以是焦距。可选地,为了方便用户在调节焦距的同时在终端的显示屏中观察到不变形的图像,折叠屏终端可以在确定第一参数时,尽可能地接近展开状态。例如,预设调节区间可以确定为180度(即第一显示区域和第二显示区域处于同一平面)作为区间的一个端点,确定170度作为区间的另外一个端点,即预设调节区间是[170°,180°]。在此情况下,用户在改变折叠角度时能够同时观察到显示在第一显示区域和第二显示区域中的取景图像,避免了用户观察到的取景图像变形而不利于用户观察待拍摄对象的情况发生。In a possible implementation manner of the embodiment of the present invention, the shooting parameter may be a focal length. Optionally, in order to facilitate the user to observe an undistorted image on the display screen of the terminal while adjusting the focus, the folding screen terminal may be as close to the unfolded state as possible when determining the first parameter. For example, the preset adjustment interval can be determined as 180 degrees (that is, the first display area and the second display area are on the same plane) as one end point of the interval, and 170 degrees can be determined as the other end point of the interval, that is, the preset adjustment interval is [170 °, 180°]. In this case, the user can observe the framing images displayed in the first display area and the second display area at the same time when changing the folding angle, which avoids the situation that the framing image observed by the user is deformed and is not conducive to the user's observation of the object to be photographed occur.

步骤803,当第一角度读数α在预设调节区间内时,将第一角度读数α确定为第一参数。Step 803, when the first angle reading α is within the preset adjustment interval, determine the first angle reading α as the first parameter.

步骤804,当第一角度读数不处于预设调节区间时,将预设调节区间的左端点角度β和右端点角度γ中,与第一角度读数α的差值的绝对值较小的端点角度确定为第一参数。Step 804, when the first angle reading is not in the preset adjustment interval, among the left end point angle β and right end point angle γ of the preset adjustment interval, the end point angle with the smaller absolute value of the difference with the first angle reading α determined as the first parameter.

在本发明实施例中,终端根据第一角度读数α和预设调节区间的关系确定第一参数的大小。在一种场景中,当第一角度读数α处于预设调节区间中时,终端直接将第一角度读数αe确定为第一参数。在另一种场景中,当第一角度读数α不属于预设调节区间中时,在预设调节区间的左端点角度β和右端点角度γ中,将与第一角度读数α的差值的绝对值较小的区间端点角度作为第一参数。例如,预设调节区间是[170°,180°],当第一角度读数是175°时,第一参数被确定为175°。当第一角度读数α是165°时,由于165°与预设调节区间的左端点170°的差值的绝对值为5,与右端点180°的差值的绝对值为15。因此,终端将差值较小的右端点角度170°确定为第一参数。In the embodiment of the present invention, the terminal determines the magnitude of the first parameter according to the relationship between the first angle reading α and the preset adjustment interval. In one scenario, when the first angle reading α is in the preset adjustment interval, the terminal directly determines the first angle reading αe as the first parameter. In another scenario, when the first angle reading α does not belong to the preset adjustment interval, in the left end point angle β and right end point angle γ of the preset adjustment interval, the difference from the first angle reading α will be The interval endpoint angle with smaller absolute value is used as the first parameter. For example, the preset adjustment interval is [170°, 180°], when the first angle reading is 175°, the first parameter is determined to be 175°. When the first angle reading α is 165°, the absolute value of the difference between 165° and 170°, the left end point of the preset adjustment interval, is 5, and the absolute value of the difference between 180° and the right end point of the preset adjustment interval is 15. Therefore, the terminal determines the right end point angle of 170° with a smaller difference as the first parameter.

步骤805,根据第一参数确定对应的拍摄参数,拍摄参数用于指示终端在拍摄图像时的光学参数。Step 805: Determine a corresponding shooting parameter according to the first parameter, where the shooting parameter is used to indicate an optical parameter of the terminal when shooting an image.

步骤805的执行过程和步骤702的执行过程相同,详情请参见步骤702,此处不再赘述。The execution process of step 805 is the same as the execution process of step 702, please refer to step 702 for details, and will not be repeated here.

步骤806,根据拍摄参数拍摄图像。Step 806, shoot an image according to the shooting parameters.

在本发明实施例中的一种可能实现的方式中,拍摄参数可以是焦距、感光值、曝光补偿、色温或对比度中的至少一种。当拍摄参数是一种单一的参数时,终端在用户改变折叠角度时实时调整该单一的参数。当拍摄参数是两种或者是两种以上的参数时,终端在用户改变折叠角度前,需要用户确定将要调节的参数是哪一种。可选地,用户既可以通过点击触摸屏幕中的参数图标来确定将要调节的拍摄参数,也可以通过在拍摄参数列表选择界面中,通过改变折叠角度来移动光标,通过确定按键(例如终端中的实体按键)来确定需要调节的拍摄参数。在拍摄参数确定后,终端即可在检测到用户的拍摄指令后,根据拍摄参数拍摄图像。可选地,终端也可以根据拍摄指令来录像,相关终端拍摄的执行方式可参见步骤703中的内容,此处不再赘述。In a possible implementation manner in the embodiment of the present invention, the shooting parameter may be at least one of focal length, light sensitivity value, exposure compensation, color temperature, or contrast. When the shooting parameter is a single parameter, the terminal adjusts the single parameter in real time when the user changes the folding angle. When there are two or more shooting parameters, the terminal needs the user to determine which parameter is to be adjusted before the user changes the folding angle. Optionally, the user can either click the parameter icon on the touch screen to determine the shooting parameters to be adjusted, or move the cursor by changing the folding angle in the shooting parameter list selection interface, or press a confirmation button (such as the Physical buttons) to determine the shooting parameters that need to be adjusted. After the shooting parameters are determined, the terminal can shoot images according to the shooting parameters after detecting the user's shooting instruction. Optionally, the terminal may also record video according to the shooting instruction. For the execution method of related terminal shooting, please refer to the content in step 703, which will not be repeated here.

在本发明实施例的能够实现的一种方式中,以终端是内折叠显示屏终端为例进行说明。如图9所示,其是基于图8所示的拍摄图像的方法所提供的终端姿态示意图。在图9中,第一壳体91和第二壳体92之间小于180°的角度931称之为折叠角度。可选地,在一种实质相同的表示方式中,角度932也可以用于表示壳体91和壳体92之间的角度,其中,角度931和角度932互为组角关系,即角度931和角度932之和为360°。当用户使用终端900拍摄图像时,终端900的可折叠显示屏94中显示取景图像,其中可折叠显示屏94由第一显示区域941和第二显示区域942组成。该终端的预设调节区间设置为[170°,180°],且调节参数设置为焦距。当用户使用终端对准被拍摄对象准备拍摄时,用户可以通过弯折第一壳体91或者第二壳体92来调整折叠角度。其中,折叠角度170°可以对应终端的最大焦距(又称最大放大倍数)。随着用户改变在预设调节区间中折叠角度,终端实时根据折叠角度调节摄像头的焦距。当该可调节角度小于170°时,终端将170°对应的焦距作为摄像头的焦距,不再改变焦距。在用户调节完成焦距后,还可以调节其它拍摄参数,在调节完成所有拍摄参数后,终端即可在用户的拍摄指令下拍摄图像。In a manner that can be implemented in the embodiment of the present invention, it is described by taking a terminal that is a terminal with an inner folding display screen as an example. As shown in FIG. 9 , it is a schematic diagram of terminal gestures provided based on the method for capturing images shown in FIG. 8 . In FIG. 9 , an angle 931 smaller than 180° between the first shell 91 and the second shell 92 is called a folding angle. Optionally, in a substantially the same way of expression, the angle 932 can also be used to represent the angle between the casing 91 and the casing 92, wherein, the angle 931 and the angle 932 are a group angle relationship, that is, the angle 931 and The sum of the angles 932 is 360°. When the user uses the terminal 900 to take an image, the framing image is displayed on the foldable display 94 of the terminal 900 , wherein the foldable display 94 is composed of a first display area 941 and a second display area 942 . The preset adjustment interval of the terminal is set to [170°, 180°], and the adjustment parameter is set to focal length. When the user uses the terminal to align the object to be photographed and prepare to shoot, the user can adjust the folding angle by bending the first casing 91 or the second casing 92 . Wherein, the folding angle of 170° may correspond to the maximum focal length (also known as the maximum magnification) of the terminal. As the user changes the folding angle in the preset adjustment interval, the terminal adjusts the focal length of the camera according to the folding angle in real time. When the adjustable angle is less than 170°, the terminal uses the focal length corresponding to 170° as the focal length of the camera, and does not change the focal length. After the user adjusts the focal length, other shooting parameters can also be adjusted. After all the shooting parameters are adjusted, the terminal can shoot images under the user's shooting instruction.

可选地,在本发明实施例提供的另一种能够实现的应用场景中,终端在折叠角度不再改变时,可以通过预设的智能调节功能在指定范围内调整相应的拍摄参数。例如,当拍摄参数是焦距时,终端可以在折叠角度不再改变后,根据用户选定的目标物体进行指定范围[k-a,k+a]内进行自动变焦,其中k为当前折叠角度对应的焦距,a为自动变焦功能预设的调节半径。终端将当前的焦距k调整为令目标物体成像最清晰的焦距m,m属于指定范围[k-a,k+a]。Optionally, in another possible application scenario provided by the embodiment of the present invention, when the folding angle of the terminal does not change any more, the corresponding shooting parameters can be adjusted within a specified range through a preset smart adjustment function. For example, when the shooting parameter is the focal length, the terminal can automatically zoom within the specified range [k-a, k+a] according to the target object selected by the user after the folding angle no longer changes, where k is the focal length corresponding to the current folding angle , a is the preset adjustment radius of the automatic zoom function. The terminal adjusts the current focal length k to the focal length m that makes the image of the target object clearest, and m belongs to the specified range [k-a, k+a].

综上所述,本发明实施例提供的拍摄图像的方法,应用在具有折叠显示屏的终端中,该终端的第一壳体和第二壳体之间的角度为折叠角度,第一壳体和第二壳体之间通过连接组件连接,连接组件中设置有角度传感器。终端通过获取角度传感器中的第一角度读数α,检测第一角度读数α是否处于预设调节区间,当第一角度读数α在预设调节区间内时,终端将第一角度读数α确定为第一参数;当第一角度读数α不再预设调节区间内时,终端将预设调节区间的左端点角度β和右端点角度γ中,与第一角度读数α的差值的绝对值较小的端点角度确定为第一参数,之后根据拍摄参数拍摄图像。由于本发明实施例通过第一壳体和第二壳体之间的这折叠角度的变化来调节终端的拍摄参数,令终端的折叠角度和拍摄参数形成对应关系,令用户无需在拍摄参数调节界面和当前的取景图像之间切换,使得用户调节拍摄参数的同时无需接触触摸显示屏,令用户能够在调整拍摄参数的同时观察到完整的取景图像,提高了拍摄参数的调节效率和拍摄图像的效率。In summary, the method for capturing images provided by the embodiments of the present invention is applied to a terminal with a foldable display screen, the angle between the first housing and the second housing of the terminal is the folding angle, and the first housing It is connected with the second housing through a connection assembly, and an angle sensor is arranged in the connection assembly. The terminal detects whether the first angle reading α is in the preset adjustment interval by acquiring the first angle reading α in the angle sensor, and when the first angle reading α is in the preset adjustment interval, the terminal determines the first angle reading α as the first angle reading α. One parameter; when the first angle reading α is no longer within the preset adjustment interval, the terminal will preset the left end point angle β and right end point angle γ of the adjustment interval, the absolute value of the difference from the first angle reading α is smaller The endpoint angle of is determined as the first parameter, and then the image is captured according to the shooting parameters. Since the embodiment of the present invention adjusts the shooting parameters of the terminal through the change of the folding angle between the first casing and the second casing, the folding angle of the terminal and the shooting parameters form a corresponding relationship, so that the user does not need to adjust the shooting parameters in the shooting parameter adjustment interface. Switching between the current framing image allows the user to adjust the shooting parameters without touching the touch screen, allowing the user to observe the complete framing image while adjusting the shooting parameters, which improves the efficiency of adjusting shooting parameters and shooting images. .

另外,本发明实施例所提供的方法,令终端根据第一壳体和第二壳体之间的折叠角度确定第一参数,并且第一参数对应有拍摄参数。令用户能够通过折叠角度直观的感受到拍摄参数的调节量,使拍摄参数的调节更加直观。In addition, in the method provided by the embodiment of the present invention, the terminal determines the first parameter according to the folding angle between the first casing and the second casing, and the first parameter corresponds to a shooting parameter. The user can intuitively feel the adjustment amount of the shooting parameters through the folding angle, making the adjustment of the shooting parameters more intuitive.

进一步地,本发明实施例中,第一参数还可以是角度变化值,角度变化值值是第一壳体和第二壳体之间的角度,角度变化值用于指示折叠角度产生的角度变化值。可选地,该角度变化值可以是折叠角度在目标时间段内产生的角度变化值。终端的第一壳体和第二壳体之间通过连接组件连接,连接组件中可以放置角度传感器,该角度传感器用于测量角度变化值。Further, in the embodiment of the present invention, the first parameter may also be an angle change value, the angle change value is the angle between the first shell and the second shell, and the angle change value is used to indicate the angle change caused by the folding angle value. Optionally, the angle change value may be an angle change value generated by the folding angle within a target time period. The first housing and the second housing of the terminal are connected through a connection component, and an angle sensor may be placed in the connection component, and the angle sensor is used to measure an angle change value.

请参考图10,其示出了本发明的一个示例性实施例提供的一种拍摄图像的方法的流程图,该方法既可以应用于如图3、图4或者图6所示的外折叠屏终端中,也可以应用在如图5的内折叠屏终端中。为了便于理解,本实施例以应用在内折叠显示屏中为例进行说明。如图10所示,该拍摄图像的方法可以包括:Please refer to FIG. 10 , which shows a flow chart of a method for capturing images provided by an exemplary embodiment of the present invention. This method can be applied to the outer folding screen as shown in FIG. 3 , FIG. 4 or FIG. 6 In the terminal, it can also be applied in the inner folding screen terminal as shown in Fig. 5 . For ease of understanding, this embodiment is described by taking an application in an inner folding display screen as an example. As shown in Figure 10, the method for taking an image may include:

步骤1010,获取角度传感器在目标时间段的起始时刻的第一角度读数。Step 1010, acquire the first angle reading of the angle sensor at the initial moment of the target time period.

步骤1020,获取角度传感器在目标时间段的终止时刻的第二角度读数。Step 1020, acquiring a second angle reading of the angle sensor at the end of the target time period.

步骤1030,根据第二角度读数相对于第一角度读数的角度变化值确定第一参数。Step 1030, determine the first parameter according to the angle change value of the second angle reading relative to the first angle reading.

在本发明实施例中,终端的第一壳体和第二壳体之间通过连接组件相连,终端可以在连接组件中设置传感器。该传感器用于测量第一壳体相对于第二壳体的折叠角度的角度值。其中,该传感器可以是压电薄膜,该压电薄膜在折叠角度不同的时候,因受到连接组件中的刚性部件的挤压而产生大小不同的压力值。因此,终端能够获取角度传感器在目标时间段的起始时刻的第一角度读数,以及在目标时间段的终止时刻的第二角度读数。可选地,目标时间段可以是系统预先设置的单位时间,终端在一个单位时间中确定一个第一角度读数和一个对应的第二角度读数,根据上述两者的差值确定第一参数。比如,单位时间长为1秒,在1秒长的时间段起始的时刻时,终端获取到第一角度读数是170°;在该1秒长的时间段的终止时刻获取到的第二角度读数是171°,则角度变化值是1°。可选地,终端可以将1°作为第一参数。为了保证终端能够实时获取到角度变化值,终端可以以单位时间为周期,周期性地执行步骤1010至步骤1030。In the embodiment of the present invention, the first housing and the second housing of the terminal are connected through a connecting component, and the terminal may be provided with a sensor in the connecting component. The sensor is used to measure the angle value of the folding angle of the first shell relative to the second shell. Wherein, the sensor may be a piezoelectric film, and when the piezoelectric film is folded at different angles, it will generate different pressure values due to being squeezed by the rigid part in the connection assembly. Therefore, the terminal can acquire the first angle reading of the angle sensor at the start moment of the target time period, and the second angle reading at the end moment of the target time period. Optionally, the target time period may be a unit time preset by the system, the terminal determines a first angle reading and a corresponding second angle reading in a unit time, and determines the first parameter according to the difference between the two. For example, the unit time is 1 second. At the beginning of the 1-second time period, the terminal obtains the first angle reading of 170°; the second angle obtained at the end of the 1-second time period If the reading is 171°, the angle change value is 1°. Optionally, the terminal may use 1° as the first parameter. In order to ensure that the terminal can obtain the angle change value in real time, the terminal may periodically execute steps 1010 to 1030 with a unit time period.

在本发明实施例的另一种能够实现的方式中,请参见图11,其是基于图10所示的实施例涉及的一种确定第一参数的流程图。在图11中,终端可以通过执行步骤1031至步骤1034来实现步骤1030,具体的执行流程如下。For another implementable manner of the embodiment of the present invention, please refer to FIG. 11 , which is a flow chart of determining a first parameter based on the embodiment shown in FIG. 10 . In FIG. 11 , the terminal may implement step 1030 by executing steps 1031 to 1034, and the specific execution process is as follows.

步骤1031,获取目标时间段的时长。Step 1031, acquiring the duration of the target time period.

步骤1032,根据目标时间段的时长和角度变化值确定第一角速度。Step 1032, determine the first angular velocity according to the duration of the target time period and the angle change value.

步骤1033,根据预设对应关系确定第一调节系数。Step 1033: Determine the first adjustment coefficient according to the preset corresponding relationship.

其中,第一调节系数是第一角速度对应的调节系数,调节系数用于指示单位角度变化值对应的拍摄参数的参数变化量。终端通过获取目标时间段的时长和角度变化值确定第一角速度,并根据预设对应关系确定第一调节系数。Wherein, the first adjustment coefficient is an adjustment coefficient corresponding to the first angular velocity, and the adjustment coefficient is used to indicate a parameter change amount of a shooting parameter corresponding to a unit angle change value. The terminal determines the first angular velocity by acquiring the duration and angle change value of the target time period, and determines the first adjustment coefficient according to the preset corresponding relationship.

可选地,在本步骤的一种可能的实现方式中,第一壳体相对于第二壳体弯折的角速度快慢将影响第一参数的数值,在弯折的角速度较快时,第一参数的变动范围较大;当折叠的角速度较慢时,第一参数的变动范围较小。具体地,终端可以获取N个角速度区间,N个角速度区间首尾相连。并且,第一壳体相对于第二壳体的角度变化值固定情况下,角速度越大,第一参数的改变量就越大。终端可以从N个角速度区间中确定第一角速度所属的角速度区间,并将该第一角速度所属的角速度区间对应的调节系数确定为第一调节系数,其中角速度区间与调节系数呈正相关。Optionally, in a possible implementation of this step, the angular velocity of the bending of the first casing relative to the second casing will affect the value of the first parameter. When the angular velocity of the bending is fast, the first The variation range of the parameter is larger; when the angular velocity of the folding is slower, the variation range of the first parameter is smaller. Specifically, the terminal may acquire N angular velocity intervals, and the N angular velocity intervals are connected end to end. Moreover, when the angular change value of the first casing relative to the second casing is fixed, the greater the angular velocity, the greater the variation of the first parameter. The terminal may determine the angular velocity interval to which the first angular velocity belongs from the N angular velocity intervals, and determine the adjustment coefficient corresponding to the angular velocity interval to which the first angular velocity belongs as the first adjustment coefficient, where the angular velocity interval and the adjustment coefficient are positively correlated.

可选地,对于N个角速度区间中的第一角速度区间和第二角速度区间,若任一属于第一角速度区间的角速度大于任一属于第二角速度区间的角速度,则第一角速度区间对应的调节系数大于第二角速度区间对应的调节系数。Optionally, for the first angular velocity interval and the second angular velocity interval in the N angular velocity intervals, if any angular velocity belonging to the first angular velocity interval is greater than any angular velocity belonging to the second angular velocity interval, then the adjustment corresponding to the first angular velocity interval The coefficient is greater than the adjustment coefficient corresponding to the second angular velocity interval.

可选地,N个角速度区间首尾相连的含义是,N个角速度区间是依次首尾相连组成一个大区间。且对属于该大区间中的任意一个角速度而言,有且仅有一个角速度区间与之对应。Optionally, the meaning that the N angular velocity intervals are connected end to end means that the N angular velocity intervals are sequentially connected end to end to form a large interval. And for any angular velocity belonging to the large interval, there is one and only one angular velocity interval corresponding to it.

例如,当用户以较快的角速度弯折终端的折叠屏,说明用户可能认为当前的拍摄参数与自己希望得到的拍摄参数的差距较大。因此,终端此时根据较大数值的第一角速度提供较大数值的第一角度,令终端在指定的角度变化值的情况下能提供较大的第一参数,进而可以令终端产生较大的拍摄参数调节量。相反的,在第一角速度较慢时,说明用户可能认为当前的拍摄参数与自己希望得到的拍摄参数的差距较小,需要放慢弯折折叠屏的速度,因此,终端此时会提供较小的调节系数,令用户在相同的角度变化值下得到较小的拍摄参数改变量。示例性地,以表一为例,介绍一种角速度和调节系数的预设对应关系。For example, when the user bends the folding screen of the terminal at a faster angular speed, it means that the user may think that the current shooting parameters are far from the shooting parameters he wants to obtain. Therefore, at this time, the terminal provides the first angle with a larger value according to the first angular velocity with a larger value, so that the terminal can provide a larger first parameter in the case of a specified angle change value, and then the terminal can generate a larger value. Shooting parameter adjustment amount. On the contrary, when the first angular velocity is slow, it means that the user may think that the difference between the current shooting parameters and the shooting parameters he wants is small, and needs to slow down the speed of bending the folding screen. Therefore, the terminal will provide a smaller The adjustment coefficient allows the user to obtain a smaller change in shooting parameters under the same angle change value. Exemplarily, taking Table 1 as an example, a preset corresponding relationship between an angular velocity and an adjustment coefficient is introduced.

表一Table I

角速度(rad/s)Angular velocity (rad/s) [0,0.02)[0,0.02) [0.02,0.04)[0.02,0.04) [0.04,+∞)[0.04,+∞) 调节系数Adjustment coefficient 0.50.5 11 1.51.5

根据表一中提供的预设对应关系,终端在其折叠屏在目标时间段内产生的角速度属于区间[0,0.02)时,获取调节系数0.5,该调节系数表示当第一壳体和第二壳体之间的角度变化值1°时,终端按照调节系数0.5将第一参数确定为0.5°。可见,在相同大小的角度变化值下,用户弯折折叠屏的速度越快,得到的第一参数的值就越大。According to the preset corresponding relationship provided in Table 1, when the angular velocity generated by the terminal’s folding screen within the target time period belongs to the interval [0,0.02), the adjustment coefficient is 0.5, which means that when the first housing and the second When the change value of the angle between the housings is 1°, the terminal determines the first parameter as 0.5° according to the adjustment coefficient of 0.5. It can be seen that under the same angle change value, the faster the user bends the folding screen, the larger the value of the first parameter is obtained.

步骤1034,根据角度变化值和第一调节系数确定第一参数。Step 1034, determine the first parameter according to the angle change value and the first adjustment coefficient.

在本发明实施例提供的方法中,终端可以通过角度变化值来第一调节系数确定第一参数。比如,第一调节系数是0.5,角度变化值是3°时,第一参数是1.5°。当第一调节系数是1.5,角度变化值是3°时,第一参数是4.5°。直观的来讲,终端的折叠屏被弯折的越快,相同的角度变化值对应的第一参数的值就越大。In the method provided in the embodiment of the present invention, the terminal may determine the first parameter by using the angle change value to determine the first adjustment coefficient. For example, when the first adjustment coefficient is 0.5 and the angle change value is 3°, the first parameter is 1.5°. When the first adjustment coefficient is 1.5 and the angle change value is 3°, the first parameter is 4.5°. Intuitively speaking, the faster the folding screen of the terminal is bent, the greater the value of the first parameter corresponding to the same angle change value.

可选地,在本步骤的另一种可能的实现方式中,终端可以连续获取第一角度变化值和第二角度变化值,第一角度变化值和第二角度变化值是终端连续获取的两个角度变化值,也即终端连续两段时间上获取两个角度变化值。当第一角度变化值和第二角度变化值的正负数符号不同时,终端根据第二角度变化值和第二调节系数确定第一参数,第二调节系数不大于第二角度变化值对应的第一调节系数。Optionally, in another possible implementation of this step, the terminal may continuously acquire the first angle change value and the second angle change value, where the first angle change value and the second angle change value are two values continuously acquired by the terminal. Angle change values, that is, the terminal obtains two angle change values for two consecutive periods of time. When the signs of the positive and negative numbers of the first angle change value and the second angle change value are different, the terminal determines the first parameter according to the second angle change value and the second adjustment coefficient, and the second adjustment coefficient is not greater than the value corresponding to the second angle change value. first adjustment factor.

例如,当用户通过弯折终端的折叠屏来调节拍摄参数时,用户可能会将折叠角度弯折的超过自己想要的折叠角度位置。此时,用户为了获得较佳的拍摄效果,将会向相反的方向弯折折叠屏。如用户弯折的第一角度变化值是+0.5°,紧接着弯折的第二角度变化值是-0.7°,则说明用户可能弯折折叠屏超过了自己想要的折叠角度位置。此时,终端为了令用户能够精准地调节拍摄参数,可以根据第二调节系数和角度变化值确定第一参数。其中,第二调节系数不大于第二角度变化值对应的第一调节系数。需要说明的是,第二角度变化值在自身的目标时间段内对应一个角速度,该角速度对应一个角速度区间,该角速度区间对应的调节系数即为第二角度变化值对应的第一调节系数。比如第二角度变化值对应的第一调节系数是1,则第二调节系数可以是1或者是小于1的一个正数。For example, when the user adjusts the shooting parameters by bending the folding screen of the terminal, the user may bend the folding angle beyond the desired folding angle position. At this time, in order to obtain better shooting effects, the user will bend the folding screen in the opposite direction. If the first angle change value of the user's bending is +0.5°, and the second angle change value of the subsequent bending is -0.7°, it means that the user may bend the folding screen beyond the desired folding angle position. At this time, in order to enable the user to accurately adjust the shooting parameters, the terminal may determine the first parameter according to the second adjustment coefficient and the angle change value. Wherein, the second adjustment coefficient is not greater than the first adjustment coefficient corresponding to the second angle change value. It should be noted that the second angular change value corresponds to an angular velocity within its own target time period, and the angular velocity corresponds to an angular velocity interval, and the adjustment coefficient corresponding to the angular velocity interval is the first adjustment coefficient corresponding to the second angular change value. For example, the first adjustment coefficient corresponding to the second angle change value is 1, and the second adjustment coefficient may be 1 or a positive number smaller than 1.

步骤1040,根据第一参数确定对应的拍摄参数,拍摄参数用于指示终端在拍摄图像时的光学参数。Step 1040: Determine corresponding shooting parameters according to the first parameter, where the shooting parameters are used to indicate the optical parameters of the terminal when shooting images.

在本发明实施例中,步骤1040的执行过程和步骤702的执行过程相同,详情请参见步骤702,此处不再赘述。In the embodiment of the present invention, the execution process of step 1040 is the same as the execution process of step 702, please refer to step 702 for details, and will not be repeated here.

步骤1050,根据拍摄参数拍摄图像。Step 1050, shoot an image according to the shooting parameters.

在本发明实施例中,步骤1050的执行过程和步骤703的执行过程相同,详情请参见步骤703,此处不再赘述。In the embodiment of the present invention, the execution process of step 1050 is the same as the execution process of step 703, please refer to step 703 for details, and will not be repeated here.

综上所述,本发明实施例提供的拍摄图像的方法,通过获取角度传感器在目标时间段的起始时刻的第一角度读数,以及在终止时刻的第二角度读数,来确定的一参数,根据第一参数确定对应的拍摄参数,根据拍摄参数拍摄对象。由于拍摄参数是用于指示终端在拍摄图像使得光学参数,且终端能够根据角度变化值来调节拍摄参数。因此,终端可以在当前折叠角度是任意一个角度时开始调节拍摄参数,令拍摄参数的调节更加方便,提高了拍摄参数的调节效率,进而提高了拍摄图像的效率。To sum up, the method for capturing images provided by the embodiment of the present invention is a parameter determined by acquiring the first angle reading of the angle sensor at the start moment of the target time period and the second angle reading at the end moment of the target time period, A corresponding shooting parameter is determined according to the first parameter, and the object is shot according to the shooting parameter. Since the shooting parameter is an optical parameter used to indicate that the terminal is shooting an image, and the terminal can adjust the shooting parameter according to the angle change value. Therefore, the terminal can start to adjust the shooting parameters when the current folding angle is any angle, which makes the adjustment of the shooting parameters more convenient, improves the adjustment efficiency of the shooting parameters, and further improves the efficiency of shooting images.

另外,通过获取目标时间段的时长和角度变化值来确定第一角速度,根据预设的对应关系确定第一角速度对应的第一调节系数,根据角度变化值和第一调节系数确定第一参数,实现了角度变化值变化的快慢产生大小不同的第一参数。令用户以较快角速度调节折叠角度时,能够在粗精度下调节拍摄参数,以较慢角速度调节折叠角度时,能够在细精度下调节拍摄参数,在保证较高拍摄参数的调节效率的情况下,提高了拍摄参数的调节的准确度。In addition, the first angular velocity is determined by acquiring the duration and angle change value of the target time period, the first adjustment coefficient corresponding to the first angular speed is determined according to the preset correspondence relationship, and the first parameter is determined according to the angle change value and the first adjustment coefficient, The speed of the change of the angle change value is realized to produce the first parameter with different sizes. When the user adjusts the folding angle at a faster angular speed, the shooting parameters can be adjusted with coarse precision, and when the folding angle is adjusted at a slower angular speed, the shooting parameters can be adjusted with fine precision, while ensuring the adjustment efficiency of higher shooting parameters , improving the accuracy of adjusting the shooting parameters.

另外,通过终端当连续获取的第一角度变化值和第二角度变化值的正负数符号不同时,终端将根据第二调节系数和第二角度变化值确定第一参数,其中第二调节系数不大于第二角度变化值对应的第一调节系数,能够令终端在拍摄参数调节超过目标数值后,以细精度的方式向目标数值调节,提高了调节拍摄参数的效率。In addition, when the positive and negative signs of the continuously acquired first angle change value and the second angle change value are different through the terminal, the terminal will determine the first parameter according to the second adjustment coefficient and the second angle change value, wherein the second adjustment coefficient The first adjustment coefficient not greater than the second angle change value can enable the terminal to adjust toward the target value in a fine-precision manner after the adjustment of the shooting parameter exceeds the target value, which improves the efficiency of adjusting the shooting parameter.

下述为本发明装置实施例,可以用于执行本发明方法实施例。对于本发明装置实施例中未披露的细节,请参照本发明方法实施例。The following are device embodiments of the present invention, which can be used to implement the method embodiments of the present invention. For the details not disclosed in the device embodiment of the present invention, please refer to the method embodiment of the present invention.

请参考图12,其是本发明一个实施例提供的一种拍摄图像的装置的结构方框图,该界面展示装置可通过软件、硬件或者两者的结合实现成为如图3、图4或者图6所示的外折叠屏终端或如图5的内折叠屏终端的部分或者全部。该拍摄图像的装置可以包括:获取模块1201、确定模块1202和拍摄模块1203。Please refer to Fig. 12, which is a structural block diagram of a device for capturing images provided by an embodiment of the present invention. The interface display device can be implemented as shown in Fig. 3, Fig. 4 or Fig. 6 through software, hardware or a combination of both. Part or all of the outer folding screen terminal shown in FIG. 5 or the inner folding screen terminal shown in FIG. 5 . The apparatus for capturing images may include: an acquiring module 1201 , a determining module 1202 and a capturing module 1203 .

获取模块1201,用于获取第一参数,所述第一参数包括折叠角度或角度变化值,所述折叠角度为所述第一壳体和所述第二壳体之间的角度,所述角度变化值是所述第一壳体相对于所述第二壳体在一时间段内产生的角度变化值;An acquisition module 1201, configured to acquire a first parameter, the first parameter includes a folding angle or an angle change value, the folding angle is an angle between the first casing and the second casing, and the angle The change value is an angle change value generated by the first casing relative to the second casing within a period of time;

确定模块1202,用于根据所述第一参数确定对应的拍摄参数,所述拍摄参数用于指示图像采集组件在拍摄图像时的光学参数;A determination module 1202, configured to determine corresponding shooting parameters according to the first parameter, where the shooting parameters are used to indicate optical parameters of the image acquisition component when capturing images;

拍摄模块1203,用于根据所述拍摄参数拍摄图像。A photographing module 1203, configured to photograph images according to the photographing parameters.

可选地,本发明实施例提供的拍摄图像的装置中,第一壳体和第二壳体之间通过连接组件连接,连接组件中设置有角度传感器,第一参数为折叠角度,获取模块1201包括:第一获取子模块、第一确定子模块和第二确定子模块。Optionally, in the device for capturing images provided in the embodiment of the present invention, the first housing and the second housing are connected through a connecting component, an angle sensor is provided in the connecting component, the first parameter is the folding angle, and the acquiring module 1201 It includes: a first acquiring submodule, a first determining submodule and a second determining submodule.

第一获取子模块,用于获取角度传感器中的第一角度读数α;The first acquisition sub-module is used to acquire the first angle reading α in the angle sensor;

第一确定子模块,用于当第一角度读数α处于预设调节区间内时,将第一角度读数α确定为第一参数;The first determining submodule is used to determine the first angle reading α as the first parameter when the first angle reading α is within the preset adjustment interval;

第二确定子模块,用于当第一角度读数α处于预设调节区间外时,在预设调节区间的左端点角度β和右端点角度γ中,将与第一角度读数α的差值的绝对值较小的端点角度确定为第一参数。The second determination sub-module is used to calculate the difference between the first angle reading α and the first angle reading α in the left end point angle β and right end point angle γ of the preset adjustment interval when the first angle reading α is outside the preset adjustment interval. The endpoint angle whose absolute value is smaller is determined as the first parameter.

可选地,本发明实施例提供的拍摄图像的装置中,第一壳体和第二壳体之间通过连接组件连接,连接组件中设置有角度传感器,第一参数为角度变化值,获取模块1201包括:第二获取子模块、第三获取子模块和第三确定子模块。Optionally, in the device for capturing images provided in the embodiment of the present invention, the first casing and the second casing are connected through a connection assembly, an angle sensor is arranged in the connection assembly, the first parameter is an angle change value, and the acquisition module 1201 includes: a second obtaining submodule, a third obtaining submodule and a third determining submodule.

第二获取子模块,用于获取角度传感器在目标时间段的起始时刻的第一角度读数;The second acquisition sub-module is used to acquire the first angle reading of the angle sensor at the initial moment of the target time period;

第三获取子模块,用于获取角度传感器在目标时间段的终止时刻的第二角度读数;The third acquisition sub-module is used to acquire the second angle reading of the angle sensor at the termination moment of the target time period;

第三确定子模块,用于根据第二角度读数相对于第一角度读数的角度变化值确定第一参数。The third determining submodule is used to determine the first parameter according to the angle change value of the second angle reading relative to the first angle reading.

可选地,第三确定子模块,用于获取N个角速度区间,所述N个角速度区间首尾相连;从所述N个角速度区间中确定所述第一角速度所属的角速度区间;将所述第一角速度所属的角速度区间对应的调节系数,确定为所述第一调节系数;其中,角速度区间与调节系数呈正相关。Optionally, the third determining submodule is used to obtain N angular velocity intervals, and the N angular velocity intervals are connected end to end; determine the angular velocity interval to which the first angular velocity belongs from the N angular velocity intervals; An adjustment coefficient corresponding to an angular velocity interval to which the angular velocity belongs is determined as the first adjustment coefficient; wherein, the angular velocity interval is positively correlated with the adjustment coefficient.

可选地,所述装置还用于获取第一角度变化值和第二角度变化值,所述第一角度变化值和所述第二角度变化值是所述终端连续获取的两个角度变化值;当所述第一角度变化值和所述第二角度变化值的正负数符号不同时,根据所述第二角度变化值和第二调节系数确定所述第一参数,所述第二调节系数不大于所述第二角度变化值对应的第一调节系数。Optionally, the device is further configured to acquire a first angle change value and a second angle change value, where the first angle change value and the second angle change value are two angle change values continuously acquired by the terminal ; When the positive and negative signs of the first angle change value and the second angle change value are different, the first parameter is determined according to the second angle change value and the second adjustment coefficient, and the second adjustment The coefficient is not greater than the first adjustment coefficient corresponding to the second angle change value.

可选地,在所述拍摄图像的装置中,拍摄参数包括:焦距、感光值、曝光补偿、色温或对比度中至少一种。Optionally, in the device for shooting images, the shooting parameters include: at least one of focal length, photosensitivity value, exposure compensation, color temperature or contrast.

相关细节参见上述方法实施例。For relevant details, refer to the above method embodiments.

本发明实施例还提供一种计算机可读介质,其上存储有程序指令,程序指令被终端的处理器执行时实现上述如图7、图8或图10所示的方法实施例中的拍摄图像的方法。An embodiment of the present invention also provides a computer-readable medium, on which program instructions are stored. When the program instructions are executed by the processor of the terminal, the captured image in the method embodiment shown in FIG. 7 , FIG. 8 or FIG. 10 is realized. Methods.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。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)

1.一种拍摄图像的方法,其特征在于,用于具有折叠显示屏的终端中,所述终端具有第一壳体和第二壳体,所述方法包括:1. A method for capturing images, characterized in that it is used in a terminal with a foldable display, the terminal has a first housing and a second housing, the method comprising: 获取第一参数,所述第一参数包括折叠角度或角度变化值,所述折叠角度为所述第一壳体和所述第二壳体之间的角度,所述角度变化值是所述第一壳体相对于所述第二壳体在一时间段内产生的角度变化值;Obtain a first parameter, the first parameter includes a folding angle or an angle change value, the folding angle is an angle between the first shell and the second shell, and the angle change value is the first an angle change value generated by a housing relative to the second housing within a period of time; 根据所述第一参数确定对应的拍摄参数,所述拍摄参数用于指示所述终端在拍摄图像时的光学参数;determining a corresponding shooting parameter according to the first parameter, where the shooting parameter is used to indicate an optical parameter of the terminal when shooting an image; 根据所述拍摄参数拍摄图像。An image is captured according to the shooting parameters. 2.根据权利要求1所述的方法,其特征在于,所述第一壳体和所述第二壳体之间通过连接组件连接,所述连接组件中设置有角度传感器,所述第一参数为所述折叠角度,所述获取第一参数,包括:2. The method according to claim 1, wherein the first housing and the second housing are connected through a connection assembly, and an angle sensor is arranged in the connection assembly, and the first parameter For the folding angle, the acquisition of the first parameter includes: 获取所述角度传感器中的第一角度读数α;obtaining a first angle reading α in said angle sensor; 当所述第一角度读数α处于预设调节区间内时,将所述第一角度读数α确定为所述第一参数;When the first angle reading α is within a preset adjustment interval, determining the first angle reading α as the first parameter; 当所述第一角度读数α处于预设调节区间外时,将所述预设调节区间的左端点角度β和右端点角度γ中,与所述第一角度读数α的差值的绝对值较小的端点角度确定为所述第一参数。When the first angle reading α is outside the preset adjustment interval, compare the absolute value of the difference between the left end point angle β and the right end point angle γ of the preset adjustment interval with the first angle reading α A small endpoint angle is determined as the first parameter. 3.根据权利要求1所述的方法,其特征在于,所述第一壳体和所述第二壳体之间通过连接组件连接,所述连接组件中设置有角度传感器,所述第一参数为所述角度变化值,所述获取第一参数,包括:3. The method according to claim 1, wherein the first housing and the second housing are connected through a connection assembly, an angle sensor is arranged in the connection assembly, and the first parameter For the angle change value, the acquisition of the first parameter includes: 获取所述角度传感器在目标时间段的起始时刻的第一角度读数;Acquiring the first angle reading of the angle sensor at the initial moment of the target time period; 获取所述角度传感器在所述目标时间段的终止时刻的第二角度读数;obtaining a second angle reading of the angle sensor at the end of the target time period; 根据所述第二角度读数相对于所述第一角度读数的角度变化值确定所述第一参数。The first parameter is determined based on an angle change value of the second angle reading relative to the first angle reading. 4.根据权利要求3所述的方法,其特征在于,所述根据所述第二角度读数相对于所述第一角度读数的角度变化值确定所述第一参数,包括:4. The method according to claim 3, wherein the determining the first parameter according to the angle change value of the second angle reading relative to the first angle reading comprises: 获取所述目标时间段的时长;Obtain the duration of the target time period; 根据所述目标时间段的时长和所述角度变化值确定第一角速度;determining a first angular velocity according to the duration of the target time period and the angular change value; 根据预设对应关系确定第一调节系数,所述第一调节系数是所述第一角速度对应的调节系数,所述调节系数用于指示单位角度变化值对应的所述第一参数的变化量;Determine a first adjustment coefficient according to a preset correspondence relationship, the first adjustment coefficient is an adjustment coefficient corresponding to the first angular velocity, and the adjustment coefficient is used to indicate a change amount of the first parameter corresponding to a unit angle change value; 根据所述角度变化值和所述第一调节系数确定所述第一参数。The first parameter is determined according to the angle change value and the first adjustment coefficient. 5.根据权利要求4所述的方法,其特征在于,所述根据预设对应关系确定第一调节系数,包括:5. The method according to claim 4, wherein said determining the first adjustment coefficient according to the preset correspondence comprises: 获取N个角速度区间,所述N个角速度区间首尾相连;Obtaining N angular velocity intervals, where the N angular velocity intervals are connected end to end; 从所述N个角速度区间中确定所述第一角速度所属的角速度区间;determining the angular velocity interval to which the first angular velocity belongs from the N angular velocity intervals; 将所述第一角速度所属的角速度区间对应的调节系数,确定为所述第一调节系数;determining the adjustment coefficient corresponding to the angular velocity interval to which the first angular velocity belongs as the first adjustment coefficient; 其中,所述角速度区间与调节系数呈正相关。Wherein, the angular velocity range is positively correlated with the adjustment coefficient. 6.根据权利要求5所述的方法,其特征在于,所述方法还包括:6. The method according to claim 5, further comprising: 获取第一角度变化值和第二角度变化值,所述第一角度变化值和所述第二角度变化值是所述终端连续获取的两个角度变化值;Acquiring a first angle change value and a second angle change value, where the first angle change value and the second angle change value are two angle change values continuously acquired by the terminal; 当所述第一角度变化值和所述第二角度变化值的正负数符号不同时,根据所述第二角度变化值和第二调节系数确定所述第一参数,所述第二调节系数不大于所述第二角度变化值对应的调节系数。When the positive and negative signs of the first angle change value and the second angle change value are different, the first parameter is determined according to the second angle change value and the second adjustment coefficient, and the second adjustment coefficient not greater than the adjustment coefficient corresponding to the second angle change value. 7.根据权利要求1所述的方法,其特征在于,所述拍摄参数包括:焦距、感光值、曝光补偿、色温或对比度中至少一种。7 . The method according to claim 1 , wherein the shooting parameters include: at least one of focal length, photosensitivity value, exposure compensation, color temperature or contrast. 8.一种拍摄图像的装置,其特征在于,用于具有折叠显示屏的终端中,所述终端具有第一壳体和第二壳体,所述装置包括:8. A device for capturing images, characterized in that it is used in a terminal with a foldable display screen, the terminal has a first housing and a second housing, and the device comprises: 获取模块,用于获取第一参数,所述第一参数包括折叠角度或角度变化值,所述折叠角度为所述第一壳体和所述第二壳体之间的角度,所述角度变化值是所述第一壳体相对于所述第二壳体在一时间段内产生的角度变化值;An acquisition module, configured to acquire a first parameter, the first parameter includes a folding angle or an angle change value, the folding angle is an angle between the first shell and the second shell, and the angle change The value is an angle change value of the first housing relative to the second housing within a period of time; 确定模块,用于根据所述第一参数确定对应的拍摄参数,所述拍摄参数用于指示图像采集组件在拍摄图像时的光学参数;A determining module, configured to determine a corresponding shooting parameter according to the first parameter, and the shooting parameter is used to indicate an optical parameter of the image acquisition component when capturing an image; 拍摄模块,用于根据所述拍摄参数拍摄图像。The photographing module is used for photographing images according to the photographing parameters. 9.一种终端,其特征在于,所述终端包括:处理器、与所述处理器相连的存储器,以及存储在所述存储器上的程序指令,所述处理器执行所述程序指令时实现如权利要求1至7任一所述的拍摄图像的方法。9. A terminal, characterized in that the terminal comprises: a processor, a memory connected to the processor, and program instructions stored in the memory, and when the processor executes the program instructions, the following The method for taking images according to any one of claims 1 to 7. 10.一种计算机可读介质,其上存储有程序指令,其特征在于,所述程序指令被处理器执行时实现如权利要求1至7任一所述的拍摄图像的方法。10. A computer-readable medium, on which program instructions are stored, wherein the method for capturing an image according to any one of claims 1 to 7 is implemented when the program instructions are executed by a processor.
CN201710999106.0A 2017-10-24 2017-10-24 Method, device and terminal for shooting image Expired - Fee Related CN107770442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710999106.0A CN107770442B (en) 2017-10-24 2017-10-24 Method, device and terminal for shooting image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710999106.0A CN107770442B (en) 2017-10-24 2017-10-24 Method, device and terminal for shooting image

Publications (2)

Publication Number Publication Date
CN107770442A true CN107770442A (en) 2018-03-06
CN107770442B CN107770442B (en) 2020-01-14

Family

ID=61270023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710999106.0A Expired - Fee Related CN107770442B (en) 2017-10-24 2017-10-24 Method, device and terminal for shooting image

Country Status (1)

Country Link
CN (1) CN107770442B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361794A (en) * 2018-11-19 2019-02-19 Oppo广东移动通信有限公司 Zoom control method and device of mobile terminal, storage medium and mobile terminal
CN109451245A (en) * 2018-12-27 2019-03-08 北京微播视界科技有限公司 A kind of video capture method, apparatus, equipment and storage medium
CN109639971A (en) * 2018-12-17 2019-04-16 维沃移动通信有限公司 A kind of shooting focal length method of adjustment and terminal device
CN109743486A (en) * 2019-01-25 2019-05-10 维沃移动通信(杭州)有限公司 A kind of mobile terminal and control method
CN110049251A (en) * 2019-05-21 2019-07-23 闻泰通讯股份有限公司 It images focus adjustment method, device, fold screen equipment and storage medium
CN110360972A (en) * 2019-07-10 2019-10-22 Oppo广东移动通信有限公司 Calibration method and device of angle sensor, terminal and storage medium
CN110456959A (en) * 2019-07-31 2019-11-15 维沃移动通信有限公司 Terminal control method and terminal
CN110489045A (en) * 2019-07-18 2019-11-22 维沃移动通信有限公司 Object display method and terminal device
WO2020259013A1 (en) * 2019-06-25 2020-12-30 维沃移动通信有限公司 Method for adjusting photographing parameter, and mobile terminal
CN112689987A (en) * 2018-10-17 2021-04-20 深圳市柔宇科技股份有限公司 Foldable electronic device and input control method
WO2021157389A1 (en) * 2020-02-03 2021-08-12 ソニーセミコンダクタソリューションズ株式会社 Electronic apparatus
CN114040099A (en) * 2021-10-29 2022-02-11 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN114125307A (en) * 2021-12-30 2022-03-01 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
WO2023071981A1 (en) * 2021-11-01 2023-05-04 维沃移动通信有限公司 Photographing method and apparatus, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060232697A1 (en) * 2005-04-15 2006-10-19 Sony Corporation Control apparatus, control method, computer program, and camera
CN105242828A (en) * 2015-09-30 2016-01-13 小米科技有限责任公司 Method and apparatus for displaying control on interface of mobile terminal
CN106027862A (en) * 2016-05-23 2016-10-12 青岛海信移动通信技术股份有限公司 Focus adjustment method and device, and terminal
CN106095188A (en) * 2016-06-24 2016-11-09 联想(北京)有限公司 A kind of control method and electronic equipment
CN106130663A (en) * 2016-05-31 2016-11-16 北京小米移动软件有限公司 Adjust the method and device of antenna condition, electronic equipment
CN106231176A (en) * 2016-07-18 2016-12-14 北京小米移动软件有限公司 Zoom processing method and processing device
CN106445340A (en) * 2016-09-21 2017-02-22 青岛海信电器股份有限公司 Method and device for displaying stereoscopic image by double-screen terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060232697A1 (en) * 2005-04-15 2006-10-19 Sony Corporation Control apparatus, control method, computer program, and camera
CN105242828A (en) * 2015-09-30 2016-01-13 小米科技有限责任公司 Method and apparatus for displaying control on interface of mobile terminal
CN106027862A (en) * 2016-05-23 2016-10-12 青岛海信移动通信技术股份有限公司 Focus adjustment method and device, and terminal
CN106130663A (en) * 2016-05-31 2016-11-16 北京小米移动软件有限公司 Adjust the method and device of antenna condition, electronic equipment
CN106095188A (en) * 2016-06-24 2016-11-09 联想(北京)有限公司 A kind of control method and electronic equipment
CN106231176A (en) * 2016-07-18 2016-12-14 北京小米移动软件有限公司 Zoom processing method and processing device
CN106445340A (en) * 2016-09-21 2017-02-22 青岛海信电器股份有限公司 Method and device for displaying stereoscopic image by double-screen terminal

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112689987A (en) * 2018-10-17 2021-04-20 深圳市柔宇科技股份有限公司 Foldable electronic device and input control method
CN109361794A (en) * 2018-11-19 2019-02-19 Oppo广东移动通信有限公司 Zoom control method and device of mobile terminal, storage medium and mobile terminal
CN109639971A (en) * 2018-12-17 2019-04-16 维沃移动通信有限公司 A kind of shooting focal length method of adjustment and terminal device
CN109639971B (en) * 2018-12-17 2021-01-08 维沃移动通信有限公司 Shooting focal length adjusting method and terminal equipment
CN109451245A (en) * 2018-12-27 2019-03-08 北京微播视界科技有限公司 A kind of video capture method, apparatus, equipment and storage medium
CN109743486A (en) * 2019-01-25 2019-05-10 维沃移动通信(杭州)有限公司 A kind of mobile terminal and control method
CN110049251A (en) * 2019-05-21 2019-07-23 闻泰通讯股份有限公司 It images focus adjustment method, device, fold screen equipment and storage medium
WO2020259013A1 (en) * 2019-06-25 2020-12-30 维沃移动通信有限公司 Method for adjusting photographing parameter, and mobile terminal
EP3993391A4 (en) * 2019-06-25 2022-08-17 Vivo Mobile Communication Co., Ltd. PHOTOGRAPHY PARAMETER SETTING METHOD AND MOBILE TERMINAL
US11711605B2 (en) 2019-06-25 2023-07-25 Vivo Mobile Communication Co., Ltd. Photographing parameter adjustment method, and mobile terminal
CN110360972A (en) * 2019-07-10 2019-10-22 Oppo广东移动通信有限公司 Calibration method and device of angle sensor, terminal and storage medium
CN110360972B (en) * 2019-07-10 2020-12-08 Oppo广东移动通信有限公司 Calibration method, device, terminal and storage medium for angle sensor
CN110489045A (en) * 2019-07-18 2019-11-22 维沃移动通信有限公司 Object display method and terminal device
CN110456959A (en) * 2019-07-31 2019-11-15 维沃移动通信有限公司 Terminal control method and terminal
CN110456959B (en) * 2019-07-31 2021-04-23 维沃移动通信有限公司 A terminal control method and terminal
WO2021157389A1 (en) * 2020-02-03 2021-08-12 ソニーセミコンダクタソリューションズ株式会社 Electronic apparatus
US11917298B2 (en) 2020-02-03 2024-02-27 Sony Semiconductor Solutions Corporation Electronic device
US12501166B2 (en) 2020-02-03 2025-12-16 Sony Semiconductor Solutions Corporation Electronic device
CN114040099A (en) * 2021-10-29 2022-02-11 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN114040099B (en) * 2021-10-29 2024-03-08 维沃移动通信有限公司 Image processing methods, devices and electronic equipment
WO2023071981A1 (en) * 2021-11-01 2023-05-04 维沃移动通信有限公司 Photographing method and apparatus, and electronic device
CN114173029B (en) * 2021-11-01 2023-09-22 维沃移动通信有限公司 Photography methods, devices and electronic equipment
US20240284035A1 (en) * 2021-11-01 2024-08-22 Vivo Mobile Communication Co.,Ltd. Photographing Method, Electronic Device, and Non-Transitory Readable Storage Medium
CN114125307A (en) * 2021-12-30 2022-03-01 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN114125307B (en) * 2021-12-30 2024-02-02 维沃移动通信有限公司 Photography methods, devices, electronic equipment and readable storage media

Also Published As

Publication number Publication date
CN107770442B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN107770442B (en) Method, device and terminal for shooting image
CN107770440B (en) Shooting interface display method, device and terminal
CN107831999B (en) Screen control method and device and terminal
CN107623793B (en) Method and device for image capture processing
CN107809593B (en) Method, device, terminal and storage medium for capturing images
CN107846515A (en) Shooting parameter adjustment method, device and terminal
CN107566579B (en) Shooting method, device, terminal and storage medium
CN107870724B (en) Display screen unfolding method and device and terminal
CN107765775B (en) Terminal control method, device and storage medium
CN107809591B (en) Shoot method, apparatus, terminal and the storage medium of image
CN107770312A (en) Information display method, device and terminal
CN107623763B (en) Method and apparatus for editing images
CN107678661A (en) Method and device for displaying data content
CN107765952A (en) Screen capture method, device and terminal
CN108874485A (en) icon display method, device and terminal
CN107844228A (en) Message display method, device and terminal
CN107800878A (en) Picture display method and device
CN107766023A (en) Information display method, device, terminal and storage medium
WO2017124899A1 (en) Information processing method, apparatus and electronic device
CN107885277B (en) A method, device, mobile terminal and storage medium for adjusting the angle of a display screen
CN107682635A (en) image shooting method, device, terminal and storage medium
CN107888723A (en) Method and device for image taking and processing
CN107770513A (en) Image acquisition method and device, terminal
CN107515669A (en) Display method and device
CN107562359A (en) Shooting parameter adjustment method, device and terminal

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200114

CF01 Termination of patent right due to non-payment of annual fee