[go: up one dir, main page]

CN107800878A - Picture display method and device - Google Patents

Picture display method and device Download PDF

Info

Publication number
CN107800878A
CN107800878A CN201710980116.XA CN201710980116A CN107800878A CN 107800878 A CN107800878 A CN 107800878A CN 201710980116 A CN201710980116 A CN 201710980116A CN 107800878 A CN107800878 A CN 107800878A
Authority
CN
China
Prior art keywords
picture
pictures
viewing area
display area
designated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710980116.XA
Other languages
Chinese (zh)
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 CN201710980116.XA priority Critical patent/CN107800878A/en
Publication of CN107800878A publication Critical patent/CN107800878A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a picture display method and device, and belongs to the technical field of networks. The method comprises the following steps: when a starting instruction for the camera module is received, starting the camera module; determining the current opening and closing state of the touch display screen, wherein the opening and closing state is a folding state or an unfolding state; when the opening and closing state is the unfolding state, displaying a photographing preview page in the first display area, and simultaneously displaying a first appointed picture in the second display area, wherein the first appointed picture is a picture obtained by photographing through the camera module. According to the method and the device, when the first display area of the foldable touch display screen displays the photographing preview page, the photographed picture is displayed in the second display area, so that the user can check the photographed picture synchronously without switching operation when checking the photographing preview page, and the method and the device are more convenient and faster.

Description

图片显示方法及装置Image display method and device

技术领域technical field

本申请涉及网络技术领域,特别涉及一种图片显示方法及装置。The present application relates to the field of network technology, in particular to a method and device for displaying pictures.

背景技术Background technique

随着网络技术的发展和终端功能的多样化,终端通常可以配置摄像头模组来提供拍摄功能,以便用户使用终端的拍摄功能来拍摄图片。另外,终端还可以在触摸显示屏中显示已经拍摄的图片,以便用户查看图片的拍摄效果。With the development of network technology and the diversification of terminal functions, the terminal can usually be equipped with a camera module to provide a shooting function, so that users can use the shooting function of the terminal to take pictures. In addition, the terminal can also display the captured pictures on the touch screen, so that the user can check the shooting effect of the pictures.

当终端的摄像头模组处于启动状态时,会在触摸显示屏的显示区域中显示拍照预览页面,当用户想要拍摄图片时,可以对拍照预览页面的拍照选项进行点击操作,从而触发拍摄指令,终端接收到拍摄指令时,会通过摄像头模组拍摄图片,并在拍照预览页面上显示已拍摄的图片的缩略图,当用户想要查看或编辑这张图片时,要点击缩略图,则终端会将显示区域中的拍照预览页面切换显示为这张图片,以便用户查看或编辑这张图片。当用户想要再次拍摄图片时,要点击返回键,则终端会将图片重新切换显示为拍照预览页面。When the camera module of the terminal is in the activated state, the photo preview page will be displayed in the display area of the touch screen. When the user wants to take a picture, he can click the photo option on the photo preview page to trigger the shooting command. When the terminal receives the shooting instruction, it will take a picture through the camera module, and display the thumbnail of the picture taken on the photo preview page. When the user wants to view or edit this picture, click the thumbnail, and the terminal will Switch the photo preview page in the display area to display this picture, so that the user can view or edit this picture. When the user wants to take a picture again, he needs to click the return key, and the terminal will re-switch the picture and display it as a photo preview page.

在实现本申请的过程中,发明人发现相关技术至少存在以下问题:In the process of implementing the present application, the inventors found that the related technology has at least the following problems:

当用户想要在拍摄图片的过程中查看或编辑已拍摄的图片时,终端要在已拍摄的图片和拍照预览页面之间往复进行切换,操作繁琐。When the user wants to view or edit the captured pictures during the process of taking pictures, the terminal has to switch back and forth between the captured pictures and the photo preview page, which is cumbersome to operate.

发明内容Contents of the invention

本申请提供了一种图片显示方法及装置,能够解决相关技术中终端要在已拍摄的图片和拍照预览页面之间往复进行切换导致操作繁琐的问题,所述技术方案如下:The present application provides a picture display method and device, which can solve the problem in the related art that the terminal needs to switch back and forth between the picture taken and the picture preview page, resulting in cumbersome operations. The technical solution is as follows:

第一方面,提供了一种图片显示方法,应用于终端中,所述终端包括可折叠的触摸显示屏,所述触摸显示屏包括第一显示区域和第二显示区域,所述方法包括:In a first aspect, a method for displaying pictures is provided, which is applied to a terminal, where the terminal includes a foldable touch display screen, and the touch display screen includes a first display area and a second display area, and the method includes:

当接收到对摄像头模组的启动指令时,启动所述摄像头模组;When receiving the startup command to the camera module, start the camera module;

确定所述触摸显示屏当前的开合状态,所述开合状态为折叠状态或展开状态;Determine the current opening and closing state of the touch display screen, the opening and closing state is a folded state or an unfolded state;

当所述开合状态为所述展开状态时,在所述第一显示区域显示拍照预览页面的同时,在所述第二显示区域显示第一指定图片,所述第一指定图片是指所述摄像头模组拍摄得到的图片。When the opening and closing state is the expanded state, while displaying a photo preview page in the first display area, a first specified picture is displayed in the second display area, and the first specified picture refers to the The pictures captured by the camera module.

在一种可能的设计中,当所述摄像头模组本次启动后已经拍摄了至少一张图片时,所述第一指定图片为所述至少一张图片中最新拍摄的图片;或,In a possible design, when the camera module has taken at least one picture after this startup, the first designated picture is the latest picture taken in the at least one picture; or,

当所述摄像头模组本次启动后尚未拍摄图片时,所述第一指定图片为相册中拍摄时间点与当前时间点最近的图片。When the camera module has not taken a picture after this start-up, the first designated picture is the picture in the album whose shooting time point is closest to the current time point.

在一种可能的设计中,所述确定所述触摸显示屏当前的开合状态之后,所述方法还包括:In a possible design, after the determination of the current opening and closing state of the touch display screen, the method further includes:

当所述开合状态为所述折叠状态时,设置所述第二显示区域为熄屏状态。When the opening and closing state is the folding state, the second display area is set to be in a screen-off state.

在一种可能的设计中,所述确定所述触摸显示屏当前的开合状态,包括:In a possible design, the determining the current opening and closing state of the touch display screen includes:

获取所述第一显示区域和所述第二显示区域之间的夹角;Acquiring an included angle between the first display area and the second display area;

当所述夹角不小于预设角度阈值时,确定所述开合状态为所述展开状态;和/或,When the included angle is not less than a preset angle threshold, determine that the opening and closing state is the unfolded state; and/or,

当所述夹角小于所述预设角度阈值时,确定所述开合状态为所述折叠状态。When the included angle is smaller than the preset angle threshold, it is determined that the open-close state is the folded state.

在一种可能的设计中,所述当所述开合状态为所述展开状态时,在所述第一显示区域显示拍照预览页面的同时,在所述第二显示区域显示第一指定图片之后,所述方法还包括:In a possible design, when the opening and closing state is the expanded state, while the first display area is displaying a photo preview page, the second display area is displaying the first specified picture , the method also includes:

在所述第一显示区域显示拍照预览页面的同时,基于对所述第一指定图片的编辑指令,对所述第一指定图片进行编辑。While the first display area displays a photo preview page, the first designated picture is edited based on an editing instruction for the first designated picture.

在一种可能的设计中,所述当所述开合状态为所述展开状态时,在所述第一显示区域显示拍照预览页面的同时,在所述第二显示区域显示第一指定图片之后,所述方法还包括:In a possible design, when the opening and closing state is the expanded state, while the first display area is displaying a photo preview page, the second display area is displaying the first specified picture , the method also includes:

在所述第一显示区域显示拍照预览页面的同时,基于对所述第一指定图片的分享指令,将所述第一指定图片分享给指定的分享目标。While the first display area is displaying a photo preview page, based on a sharing instruction for the first designated picture, the first designated picture is shared with a designated sharing target.

在一种可能的设计中,所述当所述开合状态为所述展开状态时,在所述第一显示区域显示拍照预览页面的同时,在所述第二显示区域显示第一指定图片之后,所述方法还包括:In a possible design, when the opening and closing state is the expanded state, while the first display area is displaying a photo preview page, the second display area is displaying the first specified picture , the method also includes:

在所述第一显示区域显示所述拍照预览页面的同时,基于对所述第一指定图片的切换指令,在所述第二显示区域切换显示第二指定图片,所述第二指定图片是指所述摄像头模组在拍摄所述第一指定图片之前拍摄到的最后一张图片;或,While displaying the photo preview page in the first display area, based on a switching instruction to the first specified picture, a second specified picture is switched and displayed in the second display area, and the second specified picture refers to The last picture taken by the camera module before taking the first specified picture; or,

在所述第一显示区域显示所述拍照预览页面的同时,基于对所述第一指定图片的删除指令,删除所述第一指定图片。While the first display area displays the photo preview page, the first specified picture is deleted based on a delete instruction for the first specified picture.

在一种可能的设计中,所述确定所述触摸显示屏当前的开合状态之后,所述方法还包括:In a possible design, after the determination of the current opening and closing state of the touch display screen, the method further includes:

当所述开合状态为所述展开状态时,在所述第一显示区域显示拍照预览页面的同时,在所述第二显示区域显示第三指定图片,所述第三指定图片为用户预先设置的图片;和/或,When the opening and closing state is the unfolded state, while displaying a photo preview page in the first display area, a third specified picture is displayed in the second display area, and the third specified picture is preset by the user images of ; and/or,

当所述开合状态为所述展开状态时,在所述第一显示区域显示拍照预览页面的同时,在所述第二显示区域显示第四指定图片,所述第四指定图片用于指示拍摄过程中的参考拍摄方式,所述参考拍摄方式包括拍摄对象的肢体动作、拍摄对象的面部表情、所述摄像头模组的拍摄角度、所述摄像头模组的拍摄参数中的至少一项。When the opening and closing state is the unfolded state, while displaying a photo preview page in the first display area, a fourth specified picture is displayed in the second display area, and the fourth specified picture is used to indicate the shooting A reference shooting method during the process, the reference shooting method includes at least one of the body movements of the subject, the facial expression of the subject, the shooting angle of the camera module, and the shooting parameters of the camera module.

第二方面,提供了一种图片显示装置,应用于终端中,所述终端包括可折叠的触摸显示屏,所述触摸显示屏包括第一显示区域和第二显示区域,所述装置包括:In a second aspect, a picture display device is provided, which is applied to a terminal, the terminal includes a foldable touch display screen, the touch display screen includes a first display area and a second display area, and the device includes:

启动模块,用于当接收到对摄像头模组的启动指令时,启动所述摄像头模组;A startup module, configured to start the camera module when receiving a startup instruction to the camera module;

确定模块,用于确定所述触摸显示屏当前的开合状态,所述开合状态为折叠状态或展开状态;A determining module, configured to determine the current opening and closing state of the touch display screen, where the opening and closing state is a folded state or an unfolded state;

显示模块,用于当所述开合状态为所述展开状态时,在所述第一显示区域显示拍照预览页面的同时,在所述第二显示区域显示第一指定图片,所述第一指定图片是指所述摄像头模组拍摄得到的图片。A display module, configured to display a first designated picture in the second display area while displaying a photo preview page in the first display area when the opening and closing state is the unfolded state, and the first designated picture is displayed in the second display area. The picture refers to the picture taken by the camera module.

在一种可能的设计中,当所述摄像头模组本次启动后已经拍摄了至少一张图片时,所述第一指定图片为所述至少一张图片中最新拍摄的图片;或,In a possible design, when the camera module has taken at least one picture after this startup, the first designated picture is the latest picture taken in the at least one picture; or,

当所述摄像头模组本次启动后尚未拍摄图片时,所述第一指定图片为相册中拍摄时间点与当前时间点最近的图片。When the camera module has not taken a picture after this start-up, the first designated picture is the picture in the album whose shooting time point is closest to the current time point.

在一种可能的设计中,所述装置还包括:In a possible design, the device also includes:

设置模块,用于当所述开合状态为折叠状态时,设置所述第二显示区域为熄屏状态。A setting module, configured to set the second display area to a screen-off state when the opening and closing state is a folded state.

在一种可能的设计中,所述确定模块,包括:In a possible design, the determining module includes:

获取子模块,用于获取所述第一显示区域和所述第二显示区域之间的夹角;An acquisition submodule, configured to acquire the angle between the first display area and the second display area;

确定子模块,用于当所述夹角不小于预设角度阈值时,确定所述开合状态为所述展开状态;和/或,A determining submodule, configured to determine that the opening and closing state is the unfolded state when the included angle is not less than a preset angle threshold; and/or,

确定子模块,用于当所述夹角小于所述预设角度阈值时,确定所述开合状态为所述折叠状态。A determining submodule, configured to determine that the open-close state is the folded state when the included angle is smaller than the preset angle threshold.

在一种可能的设计中,所述装置还包括以下至少一项:In a possible design, the device also includes at least one of the following:

编辑模块,用于在所述第一显示区域显示拍照预览页面的同时,基于对所述第一指定图片的编辑指令,对所述第一指定图片进行编辑;An editing module, configured to edit the first designated picture based on an editing instruction for the first designated picture while displaying a photo preview page in the first display area;

分享模块,用于在所述第一显示区域显示拍照预览页面的同时,基于对所述第一指定图片的分享指令,将所述第一指定图片分享给指定的分享目标;A sharing module, configured to share the first designated picture with a designated sharing target based on a sharing instruction for the first designated picture while displaying a photo preview page in the first display area;

切换模块,用于在所述第一显示区域显示所述拍照预览页面的同时,基于对所述第一指定图片的切换指令,在所述第二显示区域切换显示第二指定图片,所述第二指定图片是指所述摄像头模组在拍摄所述第一指定图片之前拍摄到的最后一张图片;或,A switching module, configured to switch and display a second designated picture in the second display area based on a switching instruction to the first designated picture while displaying the photo preview page in the first display area, the first designated picture The second designated picture refers to the last picture taken by the camera module before taking the first designated picture; or,

删除模块,用于在所述第一显示区域显示所述拍照预览页面的同时,基于对所述第一指定图片的删除指令,删除所述第一指定图片。A deletion module, configured to delete the first designated picture based on a deletion instruction for the first designated picture while displaying the photo preview page in the first display area.

在一种可能的设计中,所述显示模块,还用于:In a possible design, the display module is also used for:

当所述开合状态为所述展开状态时,在所述第一显示区域显示拍照预览页面的同时,在所述第二显示区域显示第三指定图片,所述第三指定图片为用户预先设置的图片;和/或,When the opening and closing state is the unfolded state, while displaying a photo preview page in the first display area, a third specified picture is displayed in the second display area, and the third specified picture is preset by the user images of ; and/or,

当所述开合状态为所述展开状态时,在所述第一显示区域显示拍照预览页面的同时,在所述第二显示区域显示第四指定图片,所述第四指定图片用于指示拍摄过程中的参考拍摄方式,所述参考拍摄方式包括拍摄对象的肢体动作、拍摄对象的面部表情、所述摄像头模组的拍摄角度、所述摄像头模组的拍摄参数中的至少一项。When the opening and closing state is the unfolded state, while displaying a photo preview page in the first display area, a fourth specified picture is displayed in the second display area, and the fourth specified picture is used to indicate the shooting A reference shooting method during the process, the reference shooting method includes at least one of the body movements of the subject, the facial expression of the subject, the shooting angle of the camera module, and the shooting parameters of the camera module.

第三方面,提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令,所述指令由所述处理器加载并执行以实现如第一方面所述的图片显示方法所执行的操作。In a third aspect, a terminal is provided, the terminal includes a processor and a memory, at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to realize the image described in the first aspect Shows what the method does.

第四方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如第一方面所述的图片显示方法所执行的操作。In a fourth aspect, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the operations performed by the image display method as described in the first aspect .

本申请实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present application are:

本申请实施例提供的方法及装置,通过在可折叠的触摸显示屏的第一显示区域显示拍照预览页面的同时,在第二显示区域显示已拍摄到的图片,保证用户可以在查看拍照预览页面时,可以同步地查看拍摄到的图片,而无需进行切换操作,更加便捷。The method and device provided by the embodiment of the present application, by displaying the photo preview page in the first display area of the foldable touch display screen, and displaying the captured pictures in the second display area, it is ensured that the user can view the photo preview page , you can view the captured pictures synchronously without switching operations, which is more convenient.

附图说明Description of drawings

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

图1是本申请实施例提供的一种终端100的结构方框图;FIG. 1 is a structural block diagram of a terminal 100 provided in an embodiment of the present application;

图2是本申请实施例提供的一种存储器120存储程序和数据的示意图;FIG. 2 is a schematic diagram of storing programs and data in a memory 120 provided by an embodiment of the present application;

图3是本申请实施例提供的一种终端100的结构示意图;FIG. 3 is a schematic structural diagram of a terminal 100 provided in an embodiment of the present application;

图4是本申请实施例提供的一种终端100的结构示意图;FIG. 4 is a schematic structural diagram of a terminal 100 provided in an embodiment of the present application;

图5是本申请实施例提供的一种终端100的结构示意图;FIG. 5 is a schematic structural diagram of a terminal 100 provided in an embodiment of the present application;

图6是本申请实施例提供的一种终端100的结构示意图;FIG. 6 is a schematic structural diagram of a terminal 100 provided in an embodiment of the present application;

图7是本申请实施例提供的一种图片显示方法的流程图;Fig. 7 is a flow chart of a picture display method provided by an embodiment of the present application;

图8A是本申请实施例提供的一种图片显示方法的流程图;Fig. 8A is a flow chart of a picture display method provided by an embodiment of the present application;

图8B是本申请实施例提供的一种图片显示方法的操作示意图;Fig. 8B is a schematic diagram of the operation of a picture display method provided by the embodiment of the present application;

图9是本申请实施例提供的一种图片显示装置的结构示意图。FIG. 9 is a schematic structural diagram of a picture display device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

参考图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 Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏130所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. 100's of various functions and processing data. Optionally, the processor 110 may use at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable LogicArray, PLA). implemented in the form of hardware. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface and application programs, etc.; the GPU is responsible for rendering and drawing the content that needs to be displayed on the touch screen 130 ; the modem is used for processing wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 110, but implemented by a single chip.

存储器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可以被划分为外折叠屏终端和内折叠屏终端。其中: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. 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 external folding screen terminal refers to a terminal that can be folded at an 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 that can be folded at an 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 foldable angle of the terminal 100 can also be 360° (it can be folded inward or outward), and in the folded state, the touch screen is exposed or restrained. Not 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.

在示例性实施例中,还提供了一种存储有计算机程序的计算机可读存储介质,例如存储有计算机程序的存储器,上述计算机程序被处理器执行时实现下述实施例中终端所执行的图片显示方法。例如,所述计算机可读存储介质可以是只读内存(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact DiscRead-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a computer-readable storage medium storing a computer program, such as a memory storing a computer program. When the computer program is executed by a processor, the pictures executed by the terminal in the following embodiments are realized. Show method. For example, the computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a compact disc (Compact DiscRead-Only Memory, CD-ROM), a tape , floppy disks and optical data storage devices, etc.

图7是本申请实施例提供的一种图片显示方法的流程图,参见图7,应用于终端中,该终端包括可折叠的触摸显示屏,该触摸显示屏包括第一显示区域和第二显示区域,该方法包括:Fig. 7 is a flow chart of a picture display method provided by an embodiment of the present application. Referring to Fig. 7, it is applied to a terminal, the terminal includes a foldable touch display screen, and the touch display screen includes a first display area and a second display area. area, the method includes:

701、当接收到对摄像头模组的启动指令时,启动该摄像头模组。701. Start the camera module when an instruction to start the camera module is received.

702、确定该触摸显示屏当前的开合状态,该开合状态为折叠状态或展开状态。702. Determine the current opening and closing state of the touch display screen, where the opening and closing state is a folded state or an unfolded state.

703、当该开合状态为该展开状态时,在该第一显示区域显示拍照预览页面的同时,在该第二显示区域显示第一指定图片,该第一指定图片是指该摄像头模组拍摄得到的图片。703. When the opening and closing state is the unfolded state, while displaying the photo preview page in the first display area, display a first specified picture in the second display area, and the first specified picture refers to the image taken by the camera module. get the picture.

本实施例提供的方法,通过在可折叠的触摸显示屏的第一显示区域显示拍照预览页面的同时,在第二显示区域显示已拍摄到的图片,保证用户可以在查看拍照预览页面时,可以同步地查看拍摄到的图片,而无需进行切换操作,更加便捷。In the method provided in this embodiment, by displaying the photo preview page in the first display area of the foldable touch display screen, and displaying the captured pictures in the second display area, it is ensured that the user can view the photo preview page. It is more convenient to view the captured pictures synchronously without switching operations.

在一种可能的设计中,当该摄像头模组本次启动后已经拍摄了至少一张图片时,该第一指定图片为该至少一张图片中最新拍摄的图片;或,In a possible design, when the camera module has taken at least one picture after this startup, the first specified picture is the latest picture taken in the at least one picture; or,

当该摄像头模组本次启动后尚未拍摄图片时,该第一指定图片为相册中拍摄时间点与当前时间点最近的图片。When the camera module has not taken a picture after this start-up, the first specified picture is the picture in the album whose shooting time point is closest to the current time point.

在一种可能的设计中,该确定该触摸显示屏当前的开合状态之后,该方法还包括:In a possible design, after determining the current opening and closing state of the touch display screen, the method further includes:

当该开合状态为折叠状态时,设置该第二显示区域为熄屏状态。When the open-close state is the folded state, the second display area is set to be in the screen-off state.

在一种可能的设计中,该确定该触摸显示屏当前的开合状态,包括:In a possible design, the determination of the current opening and closing state of the touch display screen includes:

获取该第一显示区域和该第二显示区域之间的夹角;Obtain the included angle between the first display area and the second display area;

当该夹角不小于预设角度阈值时,确定该开合状态为展开状态;和/或,When the included angle is not less than the preset angle threshold, it is determined that the opening and closing state is the unfolded state; and/or,

当该夹角小于该预设角度阈值时,确定该开合状态为折叠状态。When the included angle is smaller than the preset angle threshold, it is determined that the open-close state is a folded state.

在一种可能的设计中,该当该开合状态为该展开状态时,在该第一显示区域显示拍照预览页面的同时,在该第二显示区域显示第一指定图片之后,该方法还包括:In a possible design, when the opening and closing state is the unfolded state, while displaying the photo preview page in the first display area, after displaying the first specified picture in the second display area, the method further includes:

在该第一显示区域显示拍照预览页面的同时,基于对该第一指定图片的编辑指令,对该第一指定图片进行编辑。While the first display area displays a photo preview page, the first designated picture is edited based on an editing instruction for the first designated picture.

在一种可能的设计中,该当该开合状态为该展开状态时,在该第一显示区域显示拍照预览页面的同时,在该第二显示区域显示第一指定图片之后,该方法还包括:In a possible design, when the opening and closing state is the unfolded state, while displaying the photo preview page in the first display area, after displaying the first specified picture in the second display area, the method further includes:

在该第一显示区域显示拍照预览页面的同时,基于对该第一指定图片的分享指令,将该第一指定图片分享给指定的分享目标。While the first display area displays a photo preview page, the first designated picture is shared with a designated sharing target based on a sharing instruction for the first designated picture.

在一种可能的设计中,该当该开合状态为该展开状态时,在该第一显示区域显示拍照预览页面的同时,在该第二显示区域显示第一指定图片之后,该方法还包括:In a possible design, when the opening and closing state is the unfolded state, while displaying the photo preview page in the first display area, after displaying the first specified picture in the second display area, the method further includes:

在该第一显示区域显示该拍照预览页面的同时,基于对该第一指定图片的切换指令,在该第二显示区域切换显示第二指定图片,该第二指定图片是指该摄像头模组在拍摄该第一指定图片之前拍摄到的最后一张图片;或,While the first display area displays the photo preview page, based on the switching instruction to the first specified picture, the second specified picture is switched and displayed in the second display area, and the second specified picture refers to that the camera module is the last picture taken before the first specified picture was taken; or,

在该第一显示区域显示该拍照预览页面的同时,基于对该第一指定图片的删除指令,删除该第一指定图片。While the first display area displays the photo preview page, the first designated picture is deleted based on a delete instruction for the first designated picture.

在一种可能的设计中,该确定该触摸显示屏当前的开合状态之后,该方法还包括:In a possible design, after determining the current opening and closing state of the touch display screen, the method further includes:

当该开合状态为该展开状态时,在该第一显示区域显示拍照预览页面的同时,在该第二显示区域显示第三指定图片,该第三指定图片为用户预先设置的图片;和/或,When the opening and closing state is the expanded state, while displaying a photo preview page in the first display area, a third specified picture is displayed in the second display area, and the third specified picture is a picture preset by the user; and/or or,

当该开合状态为该展开状态时,在该第一显示区域显示拍照预览页面的同时,在该第二显示区域显示第四指定图片,该第四指定图片用于指示拍摄过程中的参考拍摄方式,该参考拍摄方式包括拍摄对象的肢体动作、拍摄对象的面部表情、该摄像头模组的拍摄角度、该摄像头模组的拍摄参数中的至少一项。When the opening and closing state is the unfolded state, while the first display area displays a photo preview page, a fourth designated picture is displayed in the second display area, and the fourth designated picture is used to indicate the reference shooting in the shooting process. The reference shooting method includes at least one of the body movements of the shooting object, the facial expression of the shooting object, the shooting angle of the camera module, and the shooting parameters of the camera module.

相关技术中,在终端拍摄图片的过程中,当用户想要在拍摄图片的过程中查看或编辑已拍摄的图片时,终端要在图片与拍照预览页面之间往复切换,而本申请中终端可以在触摸显示屏的第一显示区域和第二显示区域中分别显示两种页面,保证用户可以一边查看拍照预览页面,一边查看或编辑图片,而无需进行切换操作,更加便捷。In related technologies, when the terminal is taking pictures, when the user wants to view or edit the pictures taken during the process of taking pictures, the terminal needs to switch back and forth between the picture and the picture preview page, but in this application, the terminal can Two kinds of pages are respectively displayed in the first display area and the second display area of the touch display screen, ensuring that the user can view or edit pictures while viewing the photo preview page without switching operations, which is more convenient.

本申请可以应用于用户使用终端进行拍摄的场景中,该终端包括可折叠的触摸显示屏,该触摸显示屏包括第一显示区域和第二显示区域,该触摸显示屏可以在第一显示区域与第二显示区域之间进行翻折。The present application can be applied to a scene where a user uses a terminal to take pictures. The terminal includes a foldable touch display screen. The touch display screen includes a first display area and a second display area. The touch display screen can be connected between the first display area and Flipping is performed between the second display areas.

其中,当第一显示区域与第二显示区域之间的夹角较小时,即,第一显示区域所在的平面与第二显示区域所在的平面的形成的夹角较小时,可以认为触摸显示屏的开合状态为折叠状态,此时,若用户查看某一个显示区域时,无法同时查看另一个显示区域。例如,当第一显示区域与第二显示区域之间的夹角为0°时,第一显示区域和第二显示区域前后相邻,即,第一显示区域的背面贴合于第二显示区域的背面,第一显示区域和第二显示区域相互遮挡。Wherein, when the angle between the first display area and the second display area is small, that is, when the angle formed by the plane where the first display area is located and the plane where the second display area is located is small, the touch display screen can be regarded as The opening and closing state of is the collapsed state. At this time, if the user views a certain display area, he cannot view another display area at the same time. For example, when the angle between the first display area and the second display area is 0°, the first display area and the second display area are adjacent to each other, that is, the back of the first display area is attached to the second display area On the back side, the first display area and the second display area block each other.

而当第一显示区域与第二显示区域之间的夹角较大时,即,第一显示区域所在的平面与第二显示区域所在的平面的形成的夹角较大时,可以认为触摸显示屏的开合状态为展开状态,此时,若用户查看某一个显示区域时,可以同时查看到另一个显示区域。例如,当第一显示区域与第二显示区域之间的夹角为180°时,第一显示区域和第二显示区域位于同一平面上,可以达到大屏显示的效果。该终端可以为手机,具体结构和其他部件详见上述图1-图6的描述,在此不做赘述。And when the angle between the first display area and the second display area is relatively large, that is, when the angle formed between the plane where the first display area is located and the plane where the second display area is located is relatively large, it can be considered that the touch display The opening and closing state of the screen is the expanded state. At this time, if the user views a certain display area, he can view another display area at the same time. For example, when the angle between the first display area and the second display area is 180°, the first display area and the second display area are located on the same plane, which can achieve the effect of large-screen display. The terminal may be a mobile phone, and the specific structure and other components refer to the descriptions in FIGS. 1-6 above, and details are not repeated here.

图8A是本申请实施例提供的一种图片显示方法的流程图,该发明实施例的执行主体为上述实施例所示的终端,参见图8A,该方法包括:Fig. 8A is a flow chart of a picture display method provided by the embodiment of the present application. The execution subject of the embodiment of the invention is the terminal shown in the above embodiment. Referring to Fig. 8A, the method includes:

801、当接收到对摄像头模组的启动指令时,终端启动摄像头模组。801. When receiving an activation instruction for the camera module, the terminal activates the camera module.

终端可以接收到对前置摄像头模组的启动指令,启动前置摄像头模组。也可以接收到对后置摄像头的启动指令,启动后置摄像头模组。该启动指令可以由对主界面上相机图标的点击操作触发,或对启动相机的快捷键进行点击操作触发。The terminal may receive an activation instruction for the front camera module, and activate the front camera module. It can also receive an activation command for the rear camera to start the rear camera module. The start instruction can be triggered by clicking the camera icon on the main interface, or by clicking the shortcut key for starting the camera.

802、终端确定触摸显示屏当前的开合状态。802. The terminal determines the current opening and closing state of the touch display screen.

该开合状态为折叠状态或展开状态。当终端确定触摸显示屏的开合状态为折叠状态时,执行下述步骤803。当终端确定触摸显示屏的开合状态为展开状态时,则执行下述步骤804。The opening and closing state is a folded state or an unfolded state. When the terminal determines that the opening and closing state of the touch display screen is the folded state, the following step 803 is performed. When the terminal determines that the opening and closing state of the touch display screen is the expanded state, the following step 804 is performed.

在一种可能的设计中,终端可以获取第一显示区域与第二显示区域之间的夹角,基于该夹角检测触摸显示屏的开合状态。例如,终端可以预先存储预设角度阈值,判断夹角是否大于预设角度阈值,当夹角小于预设角度阈值时,确定触摸显示屏的开合状态为折叠状态。当夹角不小于预设角度阈值时,则终端可以确定触摸显示屏的开合状态为展开状态。其中,该预设角度阈值可以为130°左右的角度,或者为其他角度。In a possible design, the terminal may acquire the angle between the first display area and the second display area, and detect the opening and closing state of the touch display screen based on the angle. For example, the terminal may pre-store a preset angle threshold, determine whether the included angle is greater than the preset angle threshold, and determine that the opening and closing state of the touch display screen is the folded state when the included angle is smaller than the preset angle threshold. When the included angle is not less than the preset angle threshold, the terminal may determine that the opening and closing state of the touch display screen is the unfolded state. Wherein, the preset angle threshold may be an angle of about 130°, or other angles.

需要说明的是,终端可以在启动摄像头模组时,临时获取第一显示区域与第二显示区域之间的夹角,从而基于该夹角获取当前的开合状态。或者,终端可以实时地或周期性地获取第一显示区域与第二显示区域之间的夹角,在启动摄像头模组时,根据已获取的夹角,获取当前的开合状态。或者,终端可以实时或周期性地预先获取当前的开合状态,当启动摄像头模组,直接确定已获取的开合状态。It should be noted that, when the camera module is started, the terminal may temporarily obtain the angle between the first display area and the second display area, so as to obtain the current opening and closing state based on the angle. Alternatively, the terminal may obtain the angle between the first display area and the second display area in real time or periodically, and obtain the current opening and closing state according to the obtained angle when starting the camera module. Alternatively, the terminal may pre-acquire the current opening and closing state in real time or periodically, and directly determine the acquired opening and closing state when the camera module is started.

803、当开合状态为折叠状态时,终端设置第二显示区域为熄屏状态。803. When the opening and closing state is the folded state, the terminal sets the second display area as the screen-off state.

当触摸显示屏的开合状态为折叠状态时,此时用户查看第一显示区域时,无法同时看到第二显示区域,即使第二显示区域显示图片,也无法让用户看到该图片,同时还会造成电量的耗费。因此,当终端确定触摸显示屏处于折叠状态时,可以设置第二显示区域为熄屏状态,以便节省电量。When the opening and closing state of the touch display screen is the folded state, the user cannot see the second display area at the same time when viewing the first display area. Even if the second display area displays a picture, the user cannot see the picture. It also consumes power. Therefore, when the terminal determines that the touch display screen is in a folded state, it can set the second display area to be in a screen-off state, so as to save power.

804、当开合状态为展开状态时,终端在第一显示区域显示拍照预览页面的同时,在第二显示区域显示第一指定图片。804. When the opening and closing state is the unfolding state, the terminal displays the first specified picture in the second display area while displaying a photo preview page in the first display area.

当触摸显示屏处于展开状态时,此时用户查看第一显示区域时,可以同时看到第二显示区域,则终端会在第一显示区域显示拍照预览页面的同时,在第二显示区域显示指定图片。When the touch screen is in the unfolded state, the user can see the second display area at the same time when viewing the first display area, then the terminal will display the photo preview page in the first display area and display the specified picture.

该拍照预览页面用于实时地显示摄像头模组当前成像的预览。通过显示拍照预览页面,便于用户预先获知若当前触发拍摄操作时摄像头模组会拍摄到的图片的样式,以帮助用户决策是否确认拍摄图片。其中,当前置摄像头模组处于启动状态时,则拍照预览页面即指前置摄像头模组的拍照预览页面。当后置摄像头模组处于启动状态时,则拍照预览页面即指后置摄像头模组的拍照预览页面。The photo preview page is used to display a preview of the current imaging of the camera module in real time. By displaying the photo preview page, it is convenient for the user to know in advance the style of the picture that the camera module will capture when the shooting operation is currently triggered, so as to help the user decide whether to confirm to take the picture. Wherein, when the front camera module is in the startup state, the photo preview page refers to the photo preview page of the front camera module. When the rear camera module is in the activated state, the photo preview page refers to the photo preview page of the rear camera module.

第一指定图片是指摄像头模组拍摄得到的图片,例如为最新拍摄得到的图片。针对摄像头模组本次启动后是否已经拍摄图片,第一指定图片可以包括以下两种情况。The first specified picture refers to a picture taken by the camera module, for example, a picture taken latest. With regard to whether the camera module has taken a picture after this startup, the first specified picture may include the following two situations.

情况一、当摄像头模组本次启动后已经拍摄了至少一张图片时,第一指定图片为至少一张图片中最新拍摄的图片:当摄像头模组处于启动状态时,可以随时拍摄图片,每当摄像头模组新拍摄到一张图片时,终端即可将该图片作为指定图片。Situation 1: When the camera module has taken at least one picture after this startup, the first specified picture is the latest picture taken in the at least one picture: when the camera module is in the startup state, pictures can be taken at any time, When the camera module captures a new picture, the terminal can use the picture as the designated picture.

情况二、当摄像头模组本次启动后尚未拍摄图片时,第一指定图片为相册中拍摄时间点与当前时间点最近的图片:终端可以从相册的所有图片中选取拍摄时间点与当前时间点最近的图片,作为第一指定图片。其中,终端可以在相册中存储图片时,可以按照拍摄时间点从晚到早的顺序进行存储,则终端可以获取相册中的第一个图片,作为第一指定图片。Situation 2: When the camera module has not taken a picture after this startup, the first specified picture is the picture in the album whose shooting time point is closest to the current time point: the terminal can select the shooting time point and the current time point from all the pictures in the album The most recent picture, as the first designated picture. Wherein, when the terminal can store pictures in the photo album, it can store them according to the order of shooting time from late to early, and then the terminal can obtain the first picture in the photo album as the first specified picture.

805、在第一显示区域显示拍照预览页面的同时,终端基于对第一指定图片的编辑指令,对第一指定图片进行编辑。805. While displaying the photo preview page in the first display area, the terminal edits the first designated picture based on the editing instruction for the first designated picture.

可选地,在第一显示区域显示拍照预览页面的同时,终端可以提供编辑第二显示区域中图片的功能,当接收到对第一指定图片的编辑指令时,基于该编辑指令编辑第一指定图片,达到用户在查看拍照预览页面的同时,可以快速编辑第一指定图片的效果。另外,终端可以对第一指定图片进行编辑后,在第二显示区域显示编辑后的第一指定图片。其中,该编辑指令可以由对第一指定图片显示的编辑选项的点击操作触发。Optionally, while the photo preview page is displayed in the first display area, the terminal may provide a function of editing pictures in the second display area, and when receiving an editing instruction for the first specified picture, edit the first specified picture based on the editing instruction. Picture, to achieve the effect that the user can quickly edit the first specified picture while viewing the photo preview page. In addition, the terminal may display the edited first designated picture in the second display area after editing the first designated picture. Wherein, the editing instruction may be triggered by a click operation on an editing option displayed on the first specified picture.

编辑第一指定图片的功能可以包括以下几种设计中的任意组合。The function of editing the first specified picture may include any combination of the following designs.

在第一种可能的设计中,编辑第一指定图片的功能可以为美颜功能。In a first possible design, the function of editing the first specified picture may be a beauty function.

该美颜功能是指对第一指定图片进行处理,从而提升第一指定图片中人像的美观度的功能,该美颜功能可以包括一键美颜功能、磨皮功能、美白功能、祛斑祛痘功能、瘦脸功能的任意组合。The beautifying function refers to the function of processing the first specified picture, thereby improving the aesthetics of the portrait in the first specified picture. The beautifying function may include a one-key beautifying function, a skin smoothing function, a whitening function, and freckle and acne removal functions. Any combination of function and face-lifting function.

关于提供美颜功能的具体过程,示例性地,在显示第一指定图片的过程中,可以显示美颜选项,当检测到用户对美颜选项的点击操作后,显示一键美颜选项、磨皮选项、美白选项、祛斑祛痘选项、瘦脸选项等。当检测到用户对任意选项的点击操作时,按照该选项对应功能的图片处理方式,对第一指定图片进行图片处理,并显示图片处理后的第一指定图片。Regarding the specific process of providing the beautification function, for example, in the process of displaying the first specified picture, the beautification option can be displayed, and when the user’s click operation on the beautification option is detected, the one-key beautification option, grinding Skin options, whitening options, freckle and acne options, face-lifting options, etc. When the user's click operation on any option is detected, according to the image processing mode of the function corresponding to the option, image processing is performed on the first specified image, and the image-processed first specified image is displayed.

在第二种可能的设计中,编辑第一指定图片的功能可以为调节尺寸功能。In a second possible design, the function of editing the first specified picture may be a size adjustment function.

该调节尺寸功能是指调节第一指定图片的尺寸,以保证第一指定图片的尺寸符合用户需求的功能,该调节尺寸功能可以包括放大功能、缩小功能、裁剪功能的任意组合。The size adjustment function refers to the function of adjusting the size of the first specified picture to ensure that the size of the first specified picture meets the user's needs. The size adjustment function may include any combination of zoom-in, zoom-out, and cropping functions.

关于提供调节尺寸功能的具体过程,示例性地,在显示第一指定图片的过程中,可以显示调节尺寸选项,当检测到用户对调节尺寸选项的点击操作后,在第一指定图片的四周显示四个箭头,当用户对这四个箭头中的任一箭头向外拖拽时,会将第一指定图片放大拖拽操作对应的比例,而当用户对这四个箭头中的任一箭头向内拖拽时,终端会将第一指定图片缩小拖拽操作对应的比例,从而实现将第一指定图片放大或缩小到用户希望的尺寸的功能。Regarding the specific process of providing the size adjustment function, for example, during the process of displaying the first specified picture, the size adjustment option can be displayed, and when the user clicks on the size adjustment option, it will be displayed around the first specified picture Four arrows, when the user drags any of the four arrows outward, the first specified image will be enlarged by the proportion corresponding to the drag operation, and when the user drags any of the four arrows to When dragging inside, the terminal will reduce the first specified picture to the proportion corresponding to the drag operation, so as to realize the function of enlarging or reducing the first specified picture to the size desired by the user.

在第三种可能的设计中,编辑第一指定图片的功能可以为贴纸功能。In a third possible design, the function of editing the first specified picture may be a sticker function.

该调节尺寸功能是指向第一指定图片添加贴纸,从而将贴纸和第一指定图片合成为一张图片的功能。示例性地,在显示第一指定图片的过程中,可以显示贴纸选项,当检测到用户对贴纸选项的点击操作后,显示预设贴纸库,当用户对预设贴纸库中的任一贴纸触发点击操作时,将该贴纸添加至第一指定图片中。The size adjustment function is a function of adding a sticker to the first specified picture, thereby combining the sticker and the first specified picture into one picture. For example, in the process of displaying the first specified picture, the sticker option can be displayed. When the user clicks on the sticker option, the preset sticker library is displayed. When the user clicks on any sticker in the preset sticker library, trigger When the operation is clicked, the sticker is added to the first specified picture.

需要说明的是,上述仅是对几种可能的编辑第一指定图片的功能进行描述,实际编辑第一指定图片的功能还可以包括马赛克功能、输入文字功能、滤镜功能、背景虚化功能、添加边框功能等。It should be noted that the above is only a description of several possible functions of editing the first designated picture, and the actual function of editing the first designated picture may also include a mosaic function, a text input function, a filter function, a background blur function, Added border functionality and more.

806、在第一显示区域显示拍照预览页面的同时,终端基于对第一指定图片的分享指令,将第一指定图片分享给指定的分享目标。806. While displaying the photo preview page in the first display area, the terminal shares the first designated picture with the designated sharing target based on the sharing instruction for the first designated picture.

可选地,在第一显示区域显示拍照预览页面的同时,终端可以提供分享第二显示区域中图片的功能。例如,终端可以在第一指定图片中显示分享选项,当检测对该分享选项的点击操作时,显示至少一个分享目标选项,当检测到对任一个分享目标选项的点击操作,将该分享目标选项对应的分享目标作为指定的分享目标,将第一指定图片分享给该指定的分享目标。其中,该分享目标选项可以包括社交应用选项、朋友圈选项、微博应用选项等,该指定的分享目标可以包括用户的一个或多个联系人、朋友圈、微博应用等。Optionally, while the first display area displays the photo preview page, the terminal may provide a function of sharing pictures in the second display area. For example, the terminal may display sharing options in the first designated picture, when detecting a click operation on the sharing option, display at least one sharing target option, and when detecting a click operation on any sharing target option, display the sharing target option The corresponding sharing target is used as the designated sharing target, and the first designated picture is shared with the designated sharing target. Wherein, the sharing target option may include a social application option, a circle of friends option, a microblog application option, etc., and the specified sharing target may include one or more contacts, circle of friends, microblog application, etc. of the user.

例如,当检测到对社交应用选项的点击操作时,则第二显示区域可以跳转至社交应用的好友界面,用户可以选择一个或多个联系人,则终端会将指定图片分享给用户选择的联系人。又如,用户点击朋友圈选项时,可以选择将该指定图片分享到朋友圈,则第二显示区域可以跳转至即时通信应用的朋友圈界面,用户可以直接将该第一指定图片作为要在朋友圈发布的动态消息,或者为该第一指定图片输入一段文字,将该第一指定图片和输入的文字作为要在朋友圈发布的动态消息。For example, when a click operation on a social application option is detected, the second display area can jump to the friend interface of the social application, and the user can select one or more contacts, and the terminal will share the specified picture to the user selected. contacts. For another example, when the user clicks on the Moments option, he can choose to share the specified picture to the Moments, then the second display area can jump to the Moments interface of the instant messaging application, and the user can directly use the first specified picture as the A dynamic message published in the circle of friends, or input a piece of text for the first specified picture, and use the first specified picture and the input text as a dynamic message to be released in the circle of friends.

807、在第一显示区域显示拍照预览页面的同时,终端基于对第一指定图片的切换指令,在第二显示区域切换显示第二指定图片。807. While displaying the photo preview page in the first display area, the terminal switches and displays the second designated picture in the second display area based on the switching instruction for the first designated picture.

可选地,在第一显示区域显示拍照预览页面的同时,终端可以提供切换显示第二显示区域中图片的功能。在第二显示区域显示第一指定图片的过程中,当终端接收到切换指令时,基于该切换指令,将第一指定图片切换为第二指定图片。其中,该第二指定图片是指摄像头模组在拍摄第一指定图片之前拍摄到的最后一张图片。那么,用户在查看拍照预览页面的同时,能够在第二显示区域快速查看历史拍摄的图片。该切换指令可以由在第一指定图片上进行的滑动操作触发,或者由对第一指定图片显示的切换选项进行的点击操作触发,Optionally, while the photo preview page is displayed in the first display area, the terminal may provide a function of switching and displaying pictures in the second display area. During the process of displaying the first specified picture in the second display area, when the terminal receives the switching instruction, based on the switching instruction, the first specified picture is switched to the second specified picture. Wherein, the second designated picture refers to the last picture taken by the camera module before the first designated picture is taken. Then, while viewing the photo preview page, the user can quickly view historically captured pictures in the second display area. The switching instruction may be triggered by a sliding operation performed on the first designated picture, or triggered by a click operation performed on a switching option displayed on the first designated picture,

进一步地,切换指令可以分为切换显示上一次拍摄的图片的第一切换指令以及切换显示下一次拍摄图片的第二切换指令,当接收到对第二指定图片的第一切换指令时,获取终端在拍摄第二指定图片之前拍摄到的最后一张图片,切换显示该图片,而当接收到对第二指定图片的第二切换指令时,恢复显示第一指定图片。其中,该第一切换指令可以由在第二指定图片上向左滑动的操作触发,或由在第二指定图片上显示的某一切换选项的点击操作触发,该第二切换指令可以由在第二指定图片上向右滑动的操作触发,或由在第二指定图片上显示的另一切换选项的点击操作触发。Further, the switching instruction can be divided into a first switching instruction for switching and displaying a picture taken last time and a second switching instruction for switching and displaying a picture taken next time. When receiving the first switching instruction for a second specified picture, the acquisition terminal The last picture captured before the second specified picture is switched and displayed, and when a second switching instruction for the second specified picture is received, the first specified picture is resumed to be displayed. Wherein, the first switching instruction may be triggered by an operation of sliding to the left on the second specified picture, or by a click operation of a switching option displayed on the second specified picture, and the second switching instruction may be triggered by the operation of sliding to the left on the second specified picture. Triggered by the operation of sliding to the right on the second designated picture, or triggered by a click operation of another switching option displayed on the second designated picture.

基于切换显示第二显示区域中图片的功能,可以达到以下效果:用户在查看拍照预览页面的同时,在第二显示区域向左滑动一次,即可查看当前显示的图片的上一次拍摄的图片,在第二显示区域向右滑动一次,即可查看当前显示的图片的下一次拍摄的图片。Based on the function of switching and displaying pictures in the second display area, the following effects can be achieved: while viewing the photo preview page, the user can swipe left once in the second display area to view the last captured picture of the currently displayed picture, Swipe right once in the second display area to view the next captured picture of the currently displayed picture.

808、在第一显示区域显示拍照预览页面的同时,终端基于对第一指定图片的删除指令,删除第一指定图片。808. While displaying the photo preview page in the first display area, the terminal deletes the first specified picture based on the delete instruction for the first specified picture.

可选地,在第一显示区域显示拍照预览页面的同时,终端可以提供删除第二显示区域中显示的图片的功能,以便删除已拍摄的图片。当终端接收到删除指令时,可以删除已拍摄的图片。从而达到快速删除已拍摄的图片的效果。其中,该删除指令可以由对第一指定图片中显示的删除选项进行确认操作触发。另外,终端还可以在删除已拍摄的图片后,在第二显示区域切换显示上一次拍摄的图片。Optionally, while the photo preview page is displayed in the first display area, the terminal may provide a function of deleting pictures displayed in the second display area, so as to delete the pictures that have been taken. When the terminal receives the deletion instruction, it can delete the photographed pictures. So as to achieve the effect of quickly deleting the pictures that have been taken. Wherein, the deletion instruction may be triggered by a confirmation operation on the deletion option displayed in the first specified picture. In addition, the terminal may also switch to display the last captured picture in the second display area after deleting the captured picture.

需要说明的第一点是,摄像头模组在处于启动状态时可以多次拍摄图片,终端获取的指定图片可以随着多次拍摄图片的过程发生更新,则终端在第二显示区域所显示的第一指定图片也会随之更新。即,每当拍摄到一张新图片时,则重新获取该新图片作为第一指定图片,以在第二显示区域切换显示新图片,那么,在拍摄图片的过程中,可以实现第二显示区域显示的图片随着用户的拍摄操作动态变化的效果,保证用户可以随时查看最新拍摄的图片。The first point that needs to be explained is that the camera module can take pictures multiple times when it is in the starting state, and the specified picture acquired by the terminal can be updated along with the process of taking pictures multiple times, then the terminal displays the first picture in the second display area. A specified image will be updated accordingly. That is, whenever a new picture is taken, the new picture is reacquired as the first designated picture, so as to switch and display the new picture in the second display area, then, in the process of taking pictures, the second display area can be realized The displayed picture dynamically changes with the user's shooting operation, ensuring that the user can view the latest picture taken at any time.

需要说明的第二点是,图8A实施例仅是以在第二显示区域显示最新拍摄的图片为例进行说明,终端还可以在第一显示区域显示拍照预览页面的同时,在第二显示区域显示其他图片,具体参见以下两种可能的设计。The second point to be explained is that the embodiment in FIG. 8A is only illustrated by displaying the latest picture taken in the second display area. The terminal can also display the photo preview page in the first display area, and display Show other images, see the two possible designs below.

在一种可能的设计中,当开合状态为展开状态时,终端在第一显示区域显示拍照预览页面的同时,在第二显示区域显示第三指定图片。In a possible design, when the opening and closing state is the unfolded state, the terminal displays the third specified picture in the second display area while displaying a photo preview page in the first display area.

该第三指定图片是指用户预先设置的图片。用户可以预先设置图库中的某一张图片作为拍照时希望同时查看的图片,终端可以在图库中为该图片添加标记,当要在第二显示区域显示图片时,从图库中选取已添加标记的图片,即得到了第三指定图片。另外,终端还可以为用户预先设置的图片分配一个存储地址,当用户设置某张图片时,将该图片存储于存储地址中,当要在第二显示区域显示图片时,从该存储地址中调用该图片,即得到了第三指定图片。The third designated picture refers to a picture preset by the user. The user can pre-set a certain picture in the gallery as the picture that he wants to view at the same time when taking pictures. The terminal can add a mark to the picture in the gallery. When displaying the picture in the second display area, select the marked picture from the gallery. picture, that is, the third specified picture is obtained. In addition, the terminal can also allocate a storage address for the picture preset by the user. When the user sets a certain picture, the picture is stored in the storage address, and when the picture is to be displayed in the second display area, it is called from the storage address. The picture, that is, the third designated picture is obtained.

通过在第一显示区域显示拍照预览页面的同时,在第二显示区域显示第三指定图片,能够保证用户想要在拍摄图片的过程中快速查看到预先设置的图片,而无需退出拍照预览页面,让用户临时从图库中查找需要查看的图片,更加人性化。By displaying the photo preview page in the first display area and displaying the third designated picture in the second display area, it can be ensured that the user wants to quickly view the pre-set pictures in the process of taking pictures without exiting the photo preview page, It is more user-friendly to allow users to temporarily find the pictures they need to view from the gallery.

在另一种可能的设计中,当开合状态为展开状态时,终端在第一显示区域显示拍照预览页面的同时,在第二显示区域显示第四指定图片。In another possible design, when the opening and closing state is the unfolded state, the terminal displays the fourth specified picture in the second display area while displaying the photo preview page in the first display area.

第四指定图片用于指示拍摄过程中的参考拍摄方式,参考拍摄方式包括拍摄对象的肢体动作、拍摄对象的面部表情、摄像头模组的拍摄角度、摄像头模组的拍摄参数中的至少一项。该第四指定图片可以为终端预先存储的默认图片,或者也可以为用户预先指定的图片。The fourth specified picture is used to indicate a reference shooting mode during the shooting process, and the reference shooting mode includes at least one item of body movements of the subject, facial expression of the subject, shooting angle of the camera module, and shooting parameters of the camera module. The fourth designated picture may be a default picture pre-stored in the terminal, or may be a picture pre-designated by the user.

为了帮助用户拍摄到满意的图片,可以预先设置指示参考拍摄方式的第四指定图片,该第四指定图片可以某个模特的自拍示范图、他拍示范图等。例如,当第一显示区域的前置摄像头模组启动时,则终端在第一显示区域显示拍照预览页面的同时,在第二显示区域显示自拍示范图,则用户可以参照自拍示范图,调整自身的肢体动作、面部表情、前置摄像头模组的拍摄角度、前置摄像头模组的拍摄参数,直到拍摄到用户满意的自拍图片。再如,当第一显示区域的后置摄像头模组启动时,则终端在第一显示区域显示拍照预览页面的同时,在第二显示区域显示他拍示范图,则用户可以参照他拍示范图,指示拍摄对象调整肢体动作、面部表情,并调整后置摄像头模组的拍摄角度、后置摄像头模组的拍摄参数,直到拍摄到用户满意的图片。In order to help the user take a satisfactory picture, a fourth specified picture indicating a reference shooting method may be preset, and the fourth specified picture may be a selfie demonstration picture of a certain model, a demonstration picture taken by others, and the like. For example, when the front-facing camera module in the first display area is activated, the terminal displays a photo preview page in the first display area and at the same time displays a self-portrait demonstration image in the second display area, and the user can refer to the self-portrait demonstration image to adjust himself Body movements, facial expressions, shooting angles of the front camera module, shooting parameters of the front camera module, until a selfie picture satisfactory to the user is captured. For another example, when the rear camera module in the first display area is activated, the terminal displays a photo preview page in the first display area and at the same time displays other demonstration pictures in the second display area, and the user can refer to other demonstration pictures , instructing the subject to adjust body movements and facial expressions, and adjust the shooting angle of the rear camera module and the shooting parameters of the rear camera module until a picture satisfactory to the user is captured.

通过在第一显示区域显示拍照预览页面的同时,在第二显示区域显示第四指定图片,可以帮助用户在拍摄图片的过程中,以第四指定图片为参考,调整拍摄对象的角度和姿势以及摄像头模组的拍摄角度和拍摄参数,有利于用户得到符合自身需求的图片,步骤简单,实用性强。By displaying the photo preview page in the first display area and displaying the fourth specified picture in the second display area, it can help the user to adjust the angle and posture of the subject and take the fourth specified picture as a reference in the process of taking pictures. The shooting angle and shooting parameters of the camera module are helpful for users to obtain pictures that meet their own needs, with simple steps and strong practicability.

需要说明的是,在上述各个实施例中,在检测触摸显示屏的开合状态的过程中,用户可以手动合拢或手动分离触摸显示屏,则触摸显示屏的开合状态会随着用户的操作而进行变化,则第二显示区域所显示的内容也会随之发生相应变化。It should be noted that, in each of the above-mentioned embodiments, during the process of detecting the opening and closing state of the touch display screen, the user can manually close or separate the touch display screen, and the opening and closing state of the touch display screen will follow the user's operation. If it is changed, the content displayed in the second display area will also change accordingly.

当触摸显示屏为折叠状态时,若用户手动分离触摸显示屏,即将第二显示区域所在的第二壳体从终端的背部向内侧展开时,在此过程中,第二显示区域会由熄屏状态转变为显示指定图片。示例性地,当触摸显示屏的夹角尚未达到130°时,第二显示区域始终为熄屏状态,当触摸显示屏的夹角达到130°时,第二显示区域点亮,显示指定图片,之后,当触摸显示屏的夹角达到180°,即处于完全展开状态时,第二显示区域始终显示指定图片。When the touch display is in the folded state, if the user manually separates the touch display, that is, when the second housing where the second display area is located is unfolded from the back of the terminal to the inside, during this process, the second display area will turn off The state changes to display the specified image. For example, when the included angle of the touch screen has not yet reached 130°, the second display area is always in the off-screen state, and when the included angle of the touch screen reaches 130°, the second display area lights up and displays a specified picture, Afterwards, when the included angle of the touch screen reaches 180°, that is, when it is in a fully unfolded state, the second display area always displays the designated picture.

当触摸显示屏为展开状态时,若用户手动合拢触摸显示屏,则将第二显示区域所在的第二壳体向终端的背部折叠时,在此过程中,第二显示区域会由显示指定图片转变为熄灭状态。示例性地,当触摸显示屏的夹角不小于130°时,第二显示区域保持显示该指定图片,当触摸显示屏的夹角开始小于130°时,第二显示区域开始熄屏,之后,在触摸显示屏的夹角为0°时,处于完全折叠状态时,第二显示区域始终为熄屏状态。When the touch display is unfolded, if the user manually closes the touch display, the second housing where the second display area is located is folded toward the back of the terminal, during this process, the second display area will be displayed by a transitions to the off state. For example, when the included angle of the touch screen is not less than 130°, the second display area keeps displaying the specified picture, and when the included angle of the touch screen starts to be less than 130°, the second display area starts to turn off the screen, and then, When the included angle of the touch display screen is 0°, and in the fully folded state, the second display area is always in the off-screen state.

本公开实施例提供的方法,用户可以在第一显示区域查看拍照预览页面的同时,可以快速在第二显示区域查看指定图片,而无需点击第一显示区域的已拍摄图片的缩略图,使终端将拍照预览页面切换为指定图片,保证用户无需进行切换操作,享受到一键式拍照体验,方便用户进行拍照。With the method provided by the embodiment of the present disclosure, the user can quickly view the specified picture in the second display area while viewing the photo preview page in the first display area, without clicking the thumbnail of the captured picture in the first display area, so that the terminal Switch the photo preview page to the specified picture, ensuring that users do not need to switch, and enjoy a one-click photo experience, which is convenient for users to take pictures.

参见图8B,其示出了本实施例提供的一种操作示意图,当终端的触摸显示屏处于折叠状态时,即触摸显示屏的第二显示区域向外折叠至终端背部时,终端正面的第一显示区域会是拍照预览页面,而终端背部的第二显示区域则设置为熄屏状态,达到节能省电的效果。而当触摸显示屏向内侧展开的情况下,此时第一显示区域仍然为拍照预览页面,而展开后的第二显示区域则充当成像显示区域,即,若摄像头模组本次启动后尚未拍摄图片,则显示相册中最近拍摄的一张图片,若摄像头模组本次启动后已拍摄图片,拍照后可以直接显示最新拍摄的图片。Referring to FIG. 8B , it shows a schematic diagram of operation provided by this embodiment. When the touch display screen of the terminal is in the folded state, that is, when the second display area of the touch display screen is folded outward to the back of the terminal, the second display area on the front of the terminal The first display area will be a photo preview page, while the second display area on the back of the terminal is set to the off-screen state to achieve energy-saving effects. And when the touch screen is unfolded inwardly, the first display area is still the photo preview page, and the expanded second display area is used as the imaging display area, that is, if the camera module has not taken pictures after this startup If the picture is a picture taken recently in the photo album, if the camera module has taken a picture after this startup, it can directly display the latest picture taken after taking the picture.

本实施例提供的方法,通过在可折叠的触摸显示屏的第一显示区域显示拍照预览页面的同时,在第二显示区域显示已拍摄到的图片,保证用户可以在查看拍照预览页面时,可以同步地查看拍摄到的图片,而无需进行切换操作,更加便捷。In the method provided in this embodiment, by displaying the photo preview page in the first display area of the foldable touch display screen, and displaying the captured pictures in the second display area, it is ensured that the user can view the photo preview page. It is more convenient to view the captured pictures synchronously without switching operations.

进一步地,每当通过摄像头模组拍摄一张图片时,终端即可在第二显示区域显示该图片,保证用户在拍照完成后可以快速在第二显示区域查看到已拍摄的图片。Furthermore, whenever a picture is taken by the camera module, the terminal can display the picture in the second display area, ensuring that the user can quickly view the taken picture in the second display area after taking pictures.

进一步地,当触摸显示屏处于折叠状态时,终端可以设置第二显示区域为熄屏状态,节省了电量,避免能源浪费。Furthermore, when the touch display screen is in a folded state, the terminal can set the second display area to be in a screen-off state, which saves power and avoids energy waste.

进一步地,终端在第二显示区域显示第一指定图片的过程中,可以提供编辑第一指定图片的功能,方便用户在查看拍照阅览页面的同时,编辑已拍摄的图片,从而实现快速编辑已拍摄的图片的效果。Furthermore, during the process of displaying the first designated picture in the second display area, the terminal can provide the function of editing the first designated picture, which is convenient for the user to edit the photographed picture while viewing the photo browsing page, thereby realizing quick editing of the photographed picture. effect of the picture.

进一步地,终端在第二显示区域显示第一指定图片的过程中,可以提供分析第一指定图片的功能,方便用户在查看拍照阅览页面的同时,分享已拍摄的图片,从而实现快速分享已拍摄的图片的效果。Further, during the process of displaying the first specified picture in the second display area, the terminal can provide the function of analyzing the first specified picture, which is convenient for users to share the captured pictures while viewing the photo browsing page, so as to realize the quick sharing of the captured pictures. effect of the picture.

进一步地,终端在第二显示区域显示第一指定图片的过程中,可以提供切换显示第一指定图片的功能,方便用户在查看拍照阅览页面的同时,查看历史拍摄的图片。Furthermore, during the process of displaying the first specified picture in the second display area, the terminal may provide a function of switching and displaying the first specified picture, so that the user can view historically captured pictures while viewing the photo browsing page.

进一步地,终端在第二显示区域显示第一指定图片的过程中,可以提供删除第一指定图片的功能,方便用户在查看拍照阅览页面的同时,快速删除已拍摄的图片。Furthermore, during the process of displaying the first specified picture in the second display area, the terminal may provide a function of deleting the first specified picture, which is convenient for the user to quickly delete the captured picture while viewing the photo browsing page.

进一步地,终端在可折叠的触摸显示屏的第一显示区域显示拍照预览页面的同时,可以在第二显示区域显示用户预先设置的图片,保证用户可以在查看拍照预览页面时,可以同步地查看预先设置的图片,而无需临时从图库中查找想要查看的图片,更加便捷。Further, while the terminal displays the picture preview page in the first display area of the foldable touch display screen, it can display the picture preset by the user in the second display area, so as to ensure that the user can view the picture preview page synchronously. It is more convenient to use pre-set pictures instead of temporarily searching for the pictures you want to view from the gallery.

进一步地,终端在可折叠的触摸显示屏的第一显示区域显示拍照预览页面的同时,可以在第二显示区域显示指示参考拍摄方式的图片,保证用户可以在查看拍照预览页面时,可以同步地查看该图片,帮助指导用户的拍摄方式,有助于拍摄到用户满意的图片。Further, while the terminal displays the photo preview page in the first display area of the foldable touch display screen, it can also display a picture indicating the reference shooting mode in the second display area, so as to ensure that the user can view the photo preview page synchronously. Viewing the picture can help guide the user's shooting method and help the user to take pictures that are satisfactory to the user.

图9是本申请实施例提供的一种图片显示装置的结构示意图。参见图9,应用于终端中,该终端包括可折叠的触摸显示屏,该触摸显示屏包括第一显示区域和第二显示区域,该装置包括:启动模块901、确定模块902和显示模块903。FIG. 9 is a schematic structural diagram of a picture display device provided by an embodiment of the present application. Referring to FIG. 9 , it is applied to a terminal, the terminal includes a foldable touch display screen, the touch display screen includes a first display area and a second display area, and the device includes: a start module 901 , a determination module 902 and a display module 903 .

启动模块901,用于当接收到对摄像头模组的启动指令时,启动该摄像头模组;A starting module 901, configured to start the camera module when receiving a starting instruction for the camera module;

确定模块902,用于确定该触摸显示屏当前的开合状态,该开合状态为折叠状态或展开状态;A determining module 902, configured to determine the current opening and closing state of the touch display screen, where the opening and closing state is a folded state or an unfolded state;

显示模块903,用于当该开合状态为该展开状态时,在该第一显示区域显示拍照预览页面的同时,在该第二显示区域显示第一指定图片,该第一指定图片是指该摄像头模组拍摄得到的图片。The display module 903 is configured to display a first specified picture in the second display area while the first display area displays a photo preview page when the opening and closing state is the unfolded state, and the first specified picture refers to the The pictures captured by the camera module.

本实施例提供的装置,通过在可折叠的触摸显示屏的第一显示区域显示拍照预览页面的同时,在第二显示区域显示已拍摄到的图片,保证用户可以在查看拍照预览页面时,可以同步地查看拍摄到的图片,而无需进行切换操作,更加便捷。The device provided in this embodiment, by displaying the photo preview page in the first display area of the foldable touch display screen, displays the captured pictures in the second display area, ensuring that the user can view the photo preview page, It is more convenient to view the captured pictures synchronously without switching operations.

在一种可能的设计中,当该摄像头模组本次启动后已经拍摄了至少一张图片时,该第一指定图片为该至少一张图片中最新拍摄的图片;或,In a possible design, when the camera module has taken at least one picture after this startup, the first specified picture is the latest picture taken in the at least one picture; or,

当该摄像头模组本次启动后尚未拍摄图片时,该第一指定图片为相册中拍摄时间点与当前时间点最近的图片。When the camera module has not taken a picture after this start-up, the first specified picture is the picture in the album whose shooting time point is closest to the current time point.

在一种可能的设计中,该装置还包括:In one possible design, the device also includes:

设置模块,用于当该开合状态为折叠状态时,设置该第二显示区域为熄屏状态。The setting module is used to set the second display area to be in the off-screen state when the opening and closing state is in the folded state.

在一种可能的设计中,该确定模块902,包括:In a possible design, the determining module 902 includes:

获取子模块,用于获取该第一显示区域和该第二显示区域之间的夹角;An acquisition submodule, configured to acquire the angle between the first display area and the second display area;

确定子模块,用于当该夹角不小于预设角度阈值时,确定该开合状态为展开状态;和/或,A determination submodule is used to determine that the opening and closing state is an unfolded state when the included angle is not less than a preset angle threshold; and/or,

确定子模块,用于当该夹角小于该预设角度阈值时,确定该开合状态为折叠状态。A determining submodule is used to determine that the opening and closing state is a folded state when the included angle is smaller than the preset angle threshold.

在一种可能的设计中,该装置还包括以下至少一项:In a possible design, the device also includes at least one of the following:

编辑模块,用于在该第一显示区域显示拍照预览页面的同时,基于对该第一指定图片的编辑指令,对该第一指定图片进行编辑;An editing module, configured to edit the first designated picture based on an editing instruction for the first designated picture while displaying a photo preview page in the first display area;

分享模块,用于在该第一显示区域显示拍照预览页面的同时,基于对该第一指定图片的分享指令,将该第一指定图片分享给指定的分享目标;A sharing module, configured to share the first designated picture with a designated sharing target based on a sharing instruction for the first designated picture while displaying a photo preview page in the first display area;

切换模块,用于在该第一显示区域显示该拍照预览页面的同时,基于对该第一指定图片的切换指令,在该第二显示区域切换显示第二指定图片,该第二指定图片是指该摄像头模组在拍摄该第一指定图片之前拍摄到的最后一张图片;或,The switching module is used to switch and display a second specified picture in the second display area based on a switching instruction to the first specified picture while displaying the photo preview page in the first display area, and the second specified picture refers to the last picture taken by the camera module before taking the first designated picture; or,

删除模块,用于在该第一显示区域显示该拍照预览页面的同时,基于对该第一指定图片的删除指令,删除该第一指定图片。The deletion module is configured to delete the first specified picture based on a delete instruction for the first specified picture while displaying the photo preview page in the first display area.

在一种可能的设计中,该显示模块903,还用于:In a possible design, the display module 903 is also used for:

当该开合状态为该展开状态时,在该第一显示区域显示拍照预览页面的同时,在该第二显示区域显示第三指定图片,该第三指定图片为用户预先设置的图片;和/或,When the opening and closing state is the expanded state, while displaying a photo preview page in the first display area, a third specified picture is displayed in the second display area, and the third specified picture is a picture preset by the user; and/or or,

当该开合状态为该展开状态时,在该第一显示区域显示拍照预览页面的同时,在该第二显示区域显示第四指定图片,该第四指定图片用于指示拍摄过程中的参考拍摄方式,该参考拍摄方式包括拍摄对象的肢体动作、拍摄对象的面部表情、该摄像头模组的拍摄角度、该摄像头模组的拍摄参数中的至少一项。When the opening and closing state is the unfolded state, while the first display area displays a photo preview page, a fourth designated picture is displayed in the second display area, and the fourth designated picture is used to indicate the reference shooting in the shooting process. The reference shooting method includes at least one of the body movements of the shooting object, the facial expression of the shooting object, the shooting angle of the camera module, and the shooting parameters of the camera module.

上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present disclosure, which will not be repeated here.

需要说明的是:上述实施例提供的图片显示装置在显示图片时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的图片显示装置与图片显示方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the picture display device provided by the above-mentioned embodiment displays pictures, it only uses the division of the above-mentioned functional modules as an example. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. The internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the image display device provided by the above embodiment and the image display method embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

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

1. a kind of image display method, it is characterised in that applied in terminal, the terminal includes folding touch and shown Screen, the touch display screen, which includes the first viewing area and the second viewing area, methods described, to be included:
When receiving the enabled instruction to camera module, start the camera module;
The current folding condition of the touch display screen is determined, the folding condition is folded state or deployed condition;
When the folding condition is the deployed condition, shown in first viewing area while take pictures preview page, The first designated pictures are shown in second viewing area, first designated pictures refer to that the camera module shoots to obtain Picture.
2. according to the method for claim 1, it is characterised in that
When the camera module, an at least pictures have had been taken after starting in this, first designated pictures are described The picture of newest shooting in an at least pictures;Or,
When the camera module, this not yet shoots picture after starting, first designated pictures are shooting time in photograph album The point picture nearest with current point in time.
3. according to the method for claim 1, it is characterised in that the folding condition for determining that the touch display screen is current Afterwards, methods described also includes:
When the folding condition is the folded state, second viewing area is set to put out screen state.
4. according to the method for claim 1, it is characterised in that the folding shape for determining that the touch display screen is current State, including:
Obtain the angle between first viewing area and second viewing area;
When the angle is not less than predetermined angle threshold value, it is the deployed condition to determine the folding condition;And/or
When the angle is less than the predetermined angle threshold value, it is the folded state to determine the folding condition.
5. according to the method for claim 1, it is characterised in that it is described when the folding condition is the deployed condition, Shown in first viewing area while take pictures preview page, shown in second viewing area the first designated pictures it Afterwards, methods described also includes:
Show in first viewing area while take pictures preview page, referred to based on the editor to first designated pictures First designated pictures are entered edlin by order.
6. according to the method for claim 1, it is characterised in that it is described when the folding condition is the deployed condition, Shown in first viewing area while take pictures preview page, shown in second viewing area the first designated pictures it Afterwards, methods described also includes:
Shown in first viewing area while take pictures preview page, based on sharing finger to first designated pictures Order, first designated pictures are shared with specify share target.
7. according to the method for claim 1, it is characterised in that it is described when the folding condition is the deployed condition, Shown in first viewing area while take pictures preview page, shown in second viewing area the first designated pictures it Afterwards, methods described also includes:
While preview page of being taken pictures described in being shown in first viewing area, based on the switching to first designated pictures Instruction, switches in second viewing area and shows the second designated pictures, and second designated pictures refer to the shooting head mould Last picture that group photographs before first designated pictures are shot;Or,
While preview page of being taken pictures described in being shown in first viewing area, based on the deletion to first designated pictures Instruction, delete first designated pictures.
8. according to the method for claim 1, it is characterised in that the folding condition for determining that the touch display screen is current Afterwards, methods described also includes:
When the folding condition is the deployed condition, shown in first viewing area while take pictures preview page, The 3rd designated pictures are shown in second viewing area, the 3rd designated pictures are the picture that user pre-sets;With/ Or,
When the folding condition is the deployed condition, shown in first viewing area while take pictures preview page, The 4th designated pictures are shown in second viewing area, the 4th designated pictures are used to indicate that the reference in shooting process to be clapped Mode is taken the photograph, it is described to include the limb action of reference object, the facial expression of reference object, the shooting head mould with reference to style of shooting At least one of in the shooting angle of group, the acquisition parameters of the camera module.
9. a kind of image display apparatus, it is characterised in that applied in terminal, the terminal includes folding touch and shown Screen, the touch display screen, which includes the first viewing area and the second viewing area, described device, to be included:
Starting module, for when receiving the enabled instruction to camera module, starting the camera module;
Determining module, the folding condition current for determining the touch display screen, the folding condition are folded state or exhibition Open state;
Display module, for when the folding condition is the deployed condition, shown in first viewing area take pictures it is pre- Look at the page while, the first designated pictures are shown in second viewing area, first designated pictures refer to the shooting Head mould group shoots obtained picture.
10. device according to claim 9, it is characterised in that
When the camera module, an at least pictures have had been taken after starting in this, first designated pictures are described The picture of newest shooting in an at least pictures;Or,
When the camera module, this not yet shoots picture after starting, first designated pictures are shooting time in photograph album The point picture nearest with current point in time.
11. device according to claim 9, it is characterised in that described device also includes:
Setup module, it is to put out screen shape for when the folding condition is the folded state, setting second viewing area State.
12. device according to claim 9, it is characterised in that the determining module, including:
Acquisition submodule, for obtaining the angle between first viewing area and second viewing area;
Determination sub-module, for when the angle is not less than predetermined angle threshold value, it to be the expansion to determine the folding condition State;And/or
Determination sub-module, for when the angle is less than the predetermined angle threshold value, it to be the folding to determine the folding condition Overlapping state.
13. device according to claim 9, it is characterised in that described device also includes at least one of following:
Editor module, while taking pictures preview page for being shown in first viewing area, based on specified to described first The edit instruction of picture, edlin is entered to first designated pictures;
Sharing module, while taking pictures preview page for being shown in first viewing area, based on specified to described first Picture shares instruction, first designated pictures are shared with specify share target;
Handover module, for take pictures described in being shown in first viewing area preview page while, based on to described first The switching command of designated pictures, switches in second viewing area and shows the second designated pictures, and second designated pictures are Refer to last picture that the camera module photographs before first designated pictures are shot;
Removing module, for take pictures described in being shown in first viewing area preview page while, based on to described first The deletion instruction of designated pictures, deletes first designated pictures.
14. a kind of terminal, it is characterised in that the terminal includes processor and memory, is stored with least in the memory One instruction, the instruction are loaded as the processor and performed to realize as described in claim 1 to any one of claim 8 Image display method performed by operation.
15. a kind of computer-readable recording medium, it is characterised in that at least one instruction, institute are stored with the storage medium Instruction is stated to be loaded as processor and performed to realize the image display method as described in claim 1 to any one of claim 8 Performed operation.
CN201710980116.XA 2017-10-19 2017-10-19 Picture display method and device Pending CN107800878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710980116.XA CN107800878A (en) 2017-10-19 2017-10-19 Picture display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710980116.XA CN107800878A (en) 2017-10-19 2017-10-19 Picture display method and device

Publications (1)

Publication Number Publication Date
CN107800878A true CN107800878A (en) 2018-03-13

Family

ID=61532555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710980116.XA Pending CN107800878A (en) 2017-10-19 2017-10-19 Picture display method and device

Country Status (1)

Country Link
CN (1) CN107800878A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388363A (en) * 2018-10-11 2019-02-26 Oppo(重庆)智能科技有限公司 Electronic equipment
CN109542552A (en) * 2018-10-24 2019-03-29 维沃移动通信有限公司 A kind of display control method and terminal device
CN109688253A (en) * 2019-02-28 2019-04-26 维沃移动通信有限公司 A kind of image pickup method and terminal
CN109840126A (en) * 2018-12-28 2019-06-04 维沃移动通信(杭州)有限公司 A kind of interface display method and terminal device
CN110134300A (en) * 2019-04-30 2019-08-16 珠海格力电器股份有限公司 Image editing method and device
CN110213440A (en) * 2019-05-27 2019-09-06 维沃移动通信有限公司 A kind of images share method and terminal
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A shooting method and terminal
WO2020034121A1 (en) * 2018-08-15 2020-02-20 华为技术有限公司 Display method and device
CN110865752A (en) * 2019-10-31 2020-03-06 维沃移动通信有限公司 Photo viewing method and electronic equipment
CN111596850A (en) * 2020-05-18 2020-08-28 Oppo广东移动通信有限公司 Control method, electronic device and storage medium
CN111596990A (en) * 2020-04-28 2020-08-28 维沃移动通信(杭州)有限公司 Picture display method and device
CN112445552A (en) * 2019-08-27 2021-03-05 珠海金山办公软件有限公司 Terminal display adjusting method and device and terminal
CN114397990A (en) * 2021-12-21 2022-04-26 北京达佳互联信息技术有限公司 Image publishing method, apparatus, electronic device, and computer-readable storage medium
CN114556294A (en) * 2019-09-02 2022-05-27 华为技术有限公司 Theme switching method and theme switching device
CN119629711A (en) * 2025-02-07 2025-03-14 深圳市泰衡诺科技有限公司 Processing method, intelligent terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794203A (en) * 2009-01-07 2010-08-04 Lg电子株式会社 Mobile terminal and camera image control method thereof
US20140240289A1 (en) * 2011-09-27 2014-08-28 Apple Inc. Electronic Devices With Sidewall Displays
CN104980659A (en) * 2015-06-30 2015-10-14 广州三星通信技术研究有限公司 Electronic terminal for controlling shooting display and control method thereof
CN104994192A (en) * 2015-07-13 2015-10-21 广东欧珀移动通信有限公司 Flexible screen mobile terminal
CN105100388A (en) * 2014-05-19 2015-11-25 Lg电子株式会社 Mobile terminal and method of controlling the same
CN105578037A (en) * 2015-12-16 2016-05-11 天津优爱创科技有限公司 Photographing device with auxiliary posture function based on wireless communication
CN106293580A (en) * 2011-02-10 2017-01-04 三星电子株式会社 Portable set and control method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794203A (en) * 2009-01-07 2010-08-04 Lg电子株式会社 Mobile terminal and camera image control method thereof
CN106293580A (en) * 2011-02-10 2017-01-04 三星电子株式会社 Portable set and control method thereof
US20140240289A1 (en) * 2011-09-27 2014-08-28 Apple Inc. Electronic Devices With Sidewall Displays
CN105100388A (en) * 2014-05-19 2015-11-25 Lg电子株式会社 Mobile terminal and method of controlling the same
CN104980659A (en) * 2015-06-30 2015-10-14 广州三星通信技术研究有限公司 Electronic terminal for controlling shooting display and control method thereof
CN104994192A (en) * 2015-07-13 2015-10-21 广东欧珀移动通信有限公司 Flexible screen mobile terminal
CN105578037A (en) * 2015-12-16 2016-05-11 天津优爱创科技有限公司 Photographing device with auxiliary posture function based on wireless communication

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112262366A (en) * 2018-08-15 2021-01-22 华为技术有限公司 Display method and device
US12327058B2 (en) 2018-08-15 2025-06-10 Huawei Technologies Co., Ltd. Display method and apparatus
WO2020034121A1 (en) * 2018-08-15 2020-02-20 华为技术有限公司 Display method and device
CN109388363A (en) * 2018-10-11 2019-02-26 Oppo(重庆)智能科技有限公司 Electronic equipment
CN109388363B (en) * 2018-10-11 2022-02-01 Oppo(重庆)智能科技有限公司 Electronic device
CN109542552A (en) * 2018-10-24 2019-03-29 维沃移动通信有限公司 A kind of display control method and terminal device
CN109840126A (en) * 2018-12-28 2019-06-04 维沃移动通信(杭州)有限公司 A kind of interface display method and terminal device
CN109688253A (en) * 2019-02-28 2019-04-26 维沃移动通信有限公司 A kind of image pickup method and terminal
CN110134300A (en) * 2019-04-30 2019-08-16 珠海格力电器股份有限公司 Image editing method and device
CN114679537B (en) * 2019-05-22 2023-04-28 华为技术有限公司 Shooting method and terminal
CN114679537A (en) * 2019-05-22 2022-06-28 华为技术有限公司 A shooting method and terminal
WO2020233553A1 (en) * 2019-05-22 2020-11-26 华为技术有限公司 Photographing method and terminal
EP4304192A3 (en) * 2019-05-22 2024-04-10 Huawei Technologies Co., Ltd. Photographing method and terminal
US12323696B2 (en) 2019-05-22 2025-06-03 Huawei Technologies Co., Ltd. Photographing method and terminal
US11849210B2 (en) 2019-05-22 2023-12-19 Huawei Technologies Co., Ltd. Photographing method and terminal
CN110401766B (en) * 2019-05-22 2021-12-21 华为技术有限公司 Shooting method and terminal
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A shooting method and terminal
CN110213440B (en) * 2019-05-27 2021-12-28 维沃移动通信有限公司 Image sharing method and terminal
CN110213440A (en) * 2019-05-27 2019-09-06 维沃移动通信有限公司 A kind of images share method and terminal
CN112445552A (en) * 2019-08-27 2021-03-05 珠海金山办公软件有限公司 Terminal display adjusting method and device and terminal
CN114556294A (en) * 2019-09-02 2022-05-27 华为技术有限公司 Theme switching method and theme switching device
CN110865752A (en) * 2019-10-31 2020-03-06 维沃移动通信有限公司 Photo viewing method and electronic equipment
WO2021083114A1 (en) * 2019-10-31 2021-05-06 维沃移动通信有限公司 Photo viewing method and electronic device
CN111596990A (en) * 2020-04-28 2020-08-28 维沃移动通信(杭州)有限公司 Picture display method and device
CN111596850A (en) * 2020-05-18 2020-08-28 Oppo广东移动通信有限公司 Control method, electronic device and storage medium
CN114397990A (en) * 2021-12-21 2022-04-26 北京达佳互联信息技术有限公司 Image publishing method, apparatus, electronic device, and computer-readable storage medium
WO2023115969A1 (en) * 2021-12-21 2023-06-29 北京达佳互联信息技术有限公司 Image posting method and apparatus
CN119629711A (en) * 2025-02-07 2025-03-14 深圳市泰衡诺科技有限公司 Processing method, intelligent terminal and storage medium
CN119629711B (en) * 2025-02-07 2025-12-26 深圳市泰衡诺科技有限公司 Processing methods, smart terminals and storage media

Similar Documents

Publication Publication Date Title
CN107800878A (en) Picture display method and device
CN107623793B (en) Method and device for image capture processing
CN107770440B (en) Shooting interface display method, device and terminal
CN107770477B (en) Video call method, device, terminal and storage medium
CN104284064B (en) Method and apparatus for preview twin-lens image
CN107623763B (en) Method and apparatus for editing images
CN107566579B (en) Shooting method, device, terminal and storage medium
CN107765775B (en) Terminal control method, device and storage medium
CN112153283B (en) Shooting method, device and electronic device
CN107844228A (en) Message display method, device and terminal
CN107770312A (en) Information display method, device and terminal
CN107678661A (en) Method and device for displaying data content
CN107809593A (en) Method, device, terminal and storage medium for capturing images
WO2024051556A1 (en) Wallpaper display method, electronic device and storage medium
CN107770442A (en) The method, apparatus and terminal of shooting image
CN104010138A (en) Apparatus and method for synthesizing an image in a portable terminal equipped with a dual camera
CN107807760A (en) Screen display method and device
CN112637507B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN107809591A (en) Method, apparatus, terminal and the storage medium of shooting image
CN107888723A (en) Method and device for image taking and processing
CN107766023A (en) Information display method, device, terminal and storage medium
CN113079316B (en) Image processing method, image processing device and electronic equipment
CN107682635A (en) image shooting method, device, terminal and storage medium
CN107770513A (en) Image acquisition method and device, terminal
WO2021013147A1 (en) Video processing method, device, terminal, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180313