[go: up one dir, main page]

CN109947320A - Picture display method and device, electronic equipment and storage medium - Google Patents

Picture display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109947320A
CN109947320A CN201910200060.0A CN201910200060A CN109947320A CN 109947320 A CN109947320 A CN 109947320A CN 201910200060 A CN201910200060 A CN 201910200060A CN 109947320 A CN109947320 A CN 109947320A
Authority
CN
China
Prior art keywords
picture
display
display part
display unit
pictures
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910200060.0A
Other languages
Chinese (zh)
Other versions
CN109947320B (en
Inventor
张秀生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910200060.0A priority Critical patent/CN109947320B/en
Publication of CN109947320A publication Critical patent/CN109947320A/en
Application granted granted Critical
Publication of CN109947320B publication Critical patent/CN109947320B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请涉及一种图片显示方法及装置、电子设备以及存储介质。图片显示方法包括:应用于具有可折叠屏的电子设备,可折叠屏用于显示图片集。可折叠屏包括第一显示部以及连接于第一显示部的第二显示部,第一显示部及第二显示部能够相对转动。图片显示方法包括:获取图片集中图片的当前显示尺寸;获取第一显示部以及第二显示部的转动情况;根据转动情况以及当前显示尺寸,确定图片的期望显示尺寸;以及以期望显示尺寸显示图片集中的图片。上述的图片显示方法够避免用户在图片上操作图片时遮挡图片内容。

The present application relates to a method and device for displaying pictures, an electronic device, and a storage medium. The picture display method includes: being applied to an electronic device having a foldable screen, the foldable screen being used to display a picture collection. The foldable screen includes a first display unit and a second display unit connected to the first display unit, and the first display unit and the second display unit are capable of rotating relative to each other. The picture display method includes: obtaining the current display size of a picture in the picture collection; obtaining the rotation status of the first display unit and the second display unit; determining the expected display size of the picture according to the rotation status and the current display size; and displaying the picture in the picture collection at the expected display size. The above-mentioned picture display method is sufficient to prevent the user from blocking the picture content when operating the picture on the picture.

Description

图片显示方法及装置、电子设备以及存储介质Image display method and device, electronic device and storage medium

技术领域technical field

本申请涉及消费性电子设备领域,尤其涉及一种图片显示方法及装置、电子设备以及存储介质。The present application relates to the field of consumer electronic equipment, and in particular, to a picture display method and apparatus, electronic equipment, and storage medium.

背景技术Background technique

随着科技的发展进步,通信技术得到了飞速发展和长足的进步,而随着通信技术的提高,智能电子产品的普及提高到了一个前所未有的高度,越来越多的智能终端或电子设备成为人们生活中不可或缺的一部分,如智能手机、智能电视和电脑等。With the development and progress of science and technology, communication technology has developed rapidly and made great progress, and with the improvement of communication technology, the popularity of intelligent electronic products has increased to an unprecedented height, and more and more intelligent terminals or electronic devices have become people's An integral part of life, such as smartphones, smart TVs, and computers.

在电子设备普及的同时,用户对电子设备所具备的功能种类和性能要求越来越高,如上网功能、音频功能、拍摄功能和快充充电功能等都已经成为智能终端或电子设备的必备功能。With the popularity of electronic devices, users have higher and higher requirements for the types of functions and performance of electronic devices, such as Internet access, audio, photography, and fast charging, which have become essential for smart terminals or electronic devices. Function.

目前使用电子设备进行拍照或者摄像已经成为了一种潮流,并且随着用户对交互体验需求的提升,用户可以直接在电子设备的显示屏上,通过界面上的拖动条等控件来对拍摄得到的图片或者视频的内容进行处理,如缩放处理等。但是,由于电子设备所需的便捷性,电子设备的尺寸一般都比较小,所以电子设备的屏幕的尺寸也比较小,这就会导致在电子设备上缩放图片时,用户的手会挡住一部分的图片,不利于用户查看图片。At present, it has become a trend to use electronic devices to take pictures or video, and with the improvement of users' demand for interactive experience, users can directly use the drag bar and other controls on the interface to capture the information on the display screen of the electronic device. The content of the picture or video is processed, such as zooming and so on. However, due to the convenience required by electronic devices, the size of electronic devices is generally relatively small, so the size of the screen of the electronic device is also relatively small, which will cause the user's hand to block a part of the picture when zooming the picture on the electronic device. Pictures are not conducive to users viewing pictures.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的在于提供一种图片显示方法及装置、电子设备以及存储介质,用于解决上述技术问题。The purpose of the embodiments of the present application is to provide a picture display method and device, an electronic device, and a storage medium, so as to solve the above technical problems.

第一方面,本申请实施例提供一种图片显示方法,应用于具有可折叠屏的电子设备,可折叠屏用于显示图片集。可折叠屏包括第一显示部以及连接于第一显示部的第二显示部,第一显示部及第二显示部能够相对转动。图片显示方法包括:获取图片集中图片的当前显示尺寸;获取第一显示部以及第二显示部的转动情况;根据转动情况以及当前显示尺寸,确定图片的期望显示尺寸;以及以期望显示尺寸显示图片集中的图片。In a first aspect, an embodiment of the present application provides a picture display method, which is applied to an electronic device having a foldable screen, and the foldable screen is used to display a picture set. The foldable screen includes a first display part and a second display part connected to the first display part, and the first display part and the second display part can rotate relatively. The picture display method includes: obtaining the current display size of the picture in the picture collection; obtaining the rotation situation of the first display part and the second display part; determining the desired display size of the picture according to the rotation situation and the current display size; and displaying the picture in the desired display size Concentrated pictures.

第二方面,本申请实施例提供一种图片显示装置,应用于具有可折叠屏的电子设备,可折叠屏用于显示图片集。可折叠屏包括第一显示部以及连接于第一显示部的第二显示部,第一显示部及第二显示部能够相对转动。图片显示装置包括:尺寸调整单元,用于获取图片集中图片的当前显示尺寸;转动情况获取单元,用于获取第一显示部以及第二显示部的转动情况;尺寸调整单元还用于根据转动情况以及当前显示尺寸,确定图片的期望显示尺寸;以及显示单元,用于以期望显示尺寸显示图片集中的图片。In a second aspect, an embodiment of the present application provides a picture display apparatus, which is applied to an electronic device having a foldable screen, and the foldable screen is used to display a picture set. The foldable screen includes a first display part and a second display part connected to the first display part, and the first display part and the second display part can rotate relatively. The picture display device includes: a size adjustment unit for acquiring the current display size of the pictures in the picture collection; a rotation situation acquisition unit for acquiring the rotation situation of the first display part and the second display part; the size adjustment unit is also used for according to the rotation situation and the current display size, to determine the desired display size of the picture; and the display unit, used for displaying the pictures in the picture set in the desired display size.

第三方面,本申请实施例提供一种电子设备,包括可折叠屏,可折叠屏包括第一显示部以及连接于第一显示部的第二显示部,第一显示部及第二显示部能够相对转动。电子设备还包括:一个或多个处理器、存储器以及一个或多个应用程序。其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于执行上述的方法。In a third aspect, an embodiment of the present application provides an electronic device, including a foldable screen, the foldable screen includes a first display part and a second display part connected to the first display part, the first display part and the second display part can relative rotation. The electronic device also includes: one or more processors, memory, and one or more application programs. Wherein one or more application programs are stored in memory and configured to be executed by one or more processors, the one or more programs are configured to perform the above-described method.

第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有程序代码,程序代码可被处理器调用执行上述的图片显示方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the above picture display method.

在本申请提供的图片显示方法中,允许用户在第一显示部操作以确定需要缩放的目标区域,且用户能够通过改变第一显示部以及第二显示部之间的角度大小,确定目标区域的缩放参数,并在第二显示部中显示缩放后的图像,能够避免用户在图片上操作图片缩放时遮挡图片内容的现象,并能够便捷地实现对目标区域的实时缩放和观察,能够提高用户观察图片时的体验。In the picture display method provided by the present application, the user is allowed to operate on the first display part to determine the target area to be zoomed, and the user can determine the size of the target area by changing the angle between the first display part and the second display part. zoom parameters, and display the zoomed image in the second display part, which can avoid the phenomenon that the user will block the content of the image when zooming the image on the image, and can conveniently realize real-time zooming and observation of the target area, which can improve the user's observation. experience when taking pictures.

附图说明Description of drawings

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

图1是本申请提供的可折叠电子设备处于折叠状态的立体示意图。FIG. 1 is a schematic perspective view of the foldable electronic device provided in the present application in a folded state.

图2是图1所示可折叠电子设备处于部分展开状态的立体示意图。FIG. 2 is a schematic perspective view of the foldable electronic device shown in FIG. 1 in a partially unfolded state.

图3是本申请提供的一种图片显示方法的流程示意图。FIG. 3 is a schematic flowchart of a picture display method provided by the present application.

图4是本申请提供的一种图片显示装置的功能模块示意图。FIG. 4 is a schematic diagram of functional modules of a picture display device provided by the present application.

图5是图3所示图片显示方法的应用状态示意图。FIG. 5 is a schematic diagram of an application state of the picture display method shown in FIG. 3 .

图6是本申请提供的另一种图片显示方法的流程示意图。FIG. 6 is a schematic flowchart of another image display method provided by the present application.

图7是图8所示图片显示方法中的图片缩放方法的流程示意图。FIG. 7 is a schematic flowchart of a picture scaling method in the picture display method shown in FIG. 8 .

图8是图6所示图片显示方法中电子设备进入图片缩放模式的示意图。FIG. 8 is a schematic diagram of the electronic device entering a picture zoom mode in the picture display method shown in FIG. 6 .

图9是本申请提供的又一种图片显示方法的流程示意图。FIG. 9 is a schematic flowchart of another method for displaying pictures provided by the present application.

图10是图9所示图片显示方法中电子设备进入图片浏览模式的示意图。FIG. 10 is a schematic diagram of the electronic device entering a picture browsing mode in the picture display method shown in FIG. 9 .

图11是本申请提供的另一种图片显示装置的功能模块示意图。FIG. 11 is a schematic diagram of functional modules of another picture display device provided by the present application.

图12是本申请提供的又一种图片显示装置的功能模块示意图。FIG. 12 is a schematic diagram of functional modules of another picture display device provided by the present application.

图13是本申请实施例提供的用于执行本申请实施例的图片显示方法的电子设备的功能框图。FIG. 13 is a functional block diagram of an electronic device provided by an embodiment of the present application for executing the image display method of the embodiment of the present application.

图14是本申请实施例提供的用于保存或者携带实现本申请实施例的图片显示方法的程序代码的存储单元。FIG. 14 is a storage unit provided by an embodiment of the present application for storing or carrying a program code for implementing the picture display method of the embodiment of the present application.

具体实施方式Detailed ways

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

作为在本申请实施例中使用的“通信终端”(或简称为“终端”)、“电子设备”包括,但不限于被设置成经由有线线路连接(如经由公共交换电话网络(PSTN)、数字用户线路(DSL)、数字电缆、直接电缆连接,以及/或另一数据连接/网络)和/或经由(例如,针对蜂窝网络、无线局域网(WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器,以及/或另一通信终端的)无线接口接收/发送通信信号的装置。被设置成通过无线接口通信的通信终端可以被称为“无线通信终端”、“无线终端”以及/或“电子设备”。电子设备、电子设备的示例包括,但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。As a "communication terminal" (or simply a "terminal") used in the embodiments of the present application, "electronic equipment" includes, but is not limited to, is set to be connected via wired lines (eg, via a public switched telephone network (PSTN), digital Subscriber Line (DSL), digital cable, direct cable connection, and/or another data connection/network) and/or via (eg, for cellular networks, wireless local area networks (WLAN), digital television networks such as DVB-H networks, A satellite network, an AM-FM broadcast transmitter, and/or another communication terminal's) wireless interface to receive/transmit communication signals. A communication terminal arranged to communicate over a wireless interface may be referred to as a "wireless communication terminal," a "wireless terminal," and/or an "electronic device." Electronic devices, examples of electronic devices include, but are not limited to, satellite or cellular telephones; Personal Communication System (PCS) terminals that may combine cellular radio telephones with data processing, facsimile, and data communication capabilities; may include radio telephones, pagers, Internet/Intranet PDAs with networking access, web browser, memo pad, calendar, and/or global positioning system (GPS) receiver; and conventional laptop and/or palm receivers or other electronic devices including radiotelephone transceivers.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.

请参阅图1,本申请实施方式提供一种可折叠电子设备500,可折叠电子设备500可以为但不限于为手机、平板电脑电子装置。本实施方式的可折叠电子设备500以手机为例进行说明。Referring to FIG. 1 , an embodiment of the present application provides a foldable electronic device 500 . The foldable electronic device 500 may be, but is not limited to, a mobile phone or a tablet computer electronic device. The foldable electronic device 500 of this embodiment is described by taking a mobile phone as an example.

可折叠电子设备500包括可折叠壳体组件100、可折叠屏200以及电子组件(图中未示出),电子组件设置于可折叠壳体组件100内,可折叠屏200铺设于可折叠壳体组件100上。可折叠壳体组件100用于对可折叠屏200进行承载,同时对电子组件进行防护。The foldable electronic device 500 includes a foldable casing assembly 100 , a foldable screen 200 and an electronic assembly (not shown in the figure), the electronic assembly is arranged in the foldable casing assembly 100 , and the foldable screen 200 is laid on the foldable casing component 100. The foldable housing assembly 100 is used to carry the foldable screen 200 while protecting the electronic components.

可折叠壳体组件100包括第一壳体10、第二壳体30以及转轴机构50,第一壳体10和第二壳体30分别连接于转轴机构50的两侧。第二壳体30能够通过转轴机构50相对第一壳体10折叠或展开,使可折叠壳体组件100带动可折叠屏200折叠或展开,可折叠壳体组件100及可折叠屏200呈叠合状时,可折叠电子设备500的体积相对较小,便于收纳及携带。The foldable casing assembly 100 includes a first casing 10 , a second casing 30 and a rotating shaft mechanism 50 , and the first casing 10 and the second casing 30 are respectively connected to two sides of the rotating shaft mechanism 50 . The second housing 30 can be folded or unfolded relative to the first housing 10 through the hinge mechanism 50 , so that the foldable housing assembly 100 drives the foldable screen 200 to fold or unfold, and the foldable housing assembly 100 and the foldable screen 200 are superimposed. In the shape of the foldable electronic device 500, the volume is relatively small, which is convenient for storage and portability.

第一壳体10包括第一中框12以及第一盖体14。第一中框12的一侧连接于转轴机构50,其用于承载电子组件的部分结构。第一盖体14盖设于第一中框12。当第一壳体10与第二壳体30呈叠合状时,第一盖体14与第二壳体30相叠置,也即,第一盖体14贴合于第二壳体30。第二壳体30包括第二中框32以及第二盖体34。第二中框32的一侧连接于转轴机构50,其用于承载电子组件的部分结构。第二盖体34盖设于第二中框32。当第一壳体10与第二壳体30呈叠合状时,第二盖体34与第一盖体14相叠置,也即,第二盖体34贴合于第一盖体14。The first casing 10 includes a first middle frame 12 and a first cover 14 . One side of the first middle frame 12 is connected to the rotating shaft mechanism 50 , which is used to carry part of the structure of the electronic components. The first cover 14 covers the first middle frame 12 . When the first casing 10 and the second casing 30 are in a stacked shape, the first cover 14 and the second casing 30 are stacked, that is, the first cover 14 is attached to the second casing 30 . The second casing 30 includes a second middle frame 32 and a second cover 34 . One side of the second middle frame 32 is connected to the rotating shaft mechanism 50, which is used to carry part of the structure of the electronic components. The second cover 34 covers the second middle frame 32 . When the first casing 10 and the second casing 30 are in a stacked shape, the second cover 34 and the first cover 14 are stacked, that is, the second cover 34 is attached to the first cover 14 .

电子组件包括第一电子模组、第二电子模组以及柔性电路板,第一电子模组设置于第一壳体10内,第二电子模组设置于第二壳体30内,柔性电路板分别电连接于第一电子模组和第二电子模组。进一步地,第一电子模组可以是主板和设置主板的中央处理器、存储器、天线、摄像头和送受话器等。第二电子模组也可以由印刷电路板和设置于印刷电路板的功能模块构成,第二电子模组不同于第一电子模组,第二电子模组可以包括电池、连接器、指纹模组等。The electronic assembly includes a first electronic module, a second electronic module and a flexible circuit board. The first electronic module is arranged in the first casing 10 , the second electronic module is arranged in the second casing 30 , and the flexible circuit board is They are respectively electrically connected to the first electronic module and the second electronic module. Further, the first electronic module may be a mainboard and a central processing unit, a memory, an antenna, a camera, a microphone, and the like provided with the mainboard. The second electronic module can also be composed of a printed circuit board and a functional module disposed on the printed circuit board. The second electronic module is different from the first electronic module. The second electronic module can include a battery, a connector, and a fingerprint module. Wait.

可折叠屏200依次铺设于第一壳体10、转轴机构50和第二壳体30上。在本实施方式中,可折叠屏200为柔性显示屏。可折叠屏200随第一壳体10与第二壳体30相互翻转呈弯折状或展开状。可折叠屏200电连接于电子组件,以使电子组件能够控制可折叠屏200运行。The foldable screen 200 is laid on the first casing 10 , the rotating shaft mechanism 50 and the second casing 30 in sequence. In this embodiment, the foldable screen 200 is a flexible display screen. The foldable screen 200 is bent or unfolded when the first casing 10 and the second casing 30 are turned over to each other. The foldable screen 200 is electrically connected to the electronic components so that the electronic components can control the operation of the foldable screen 200 .

请同时参阅图1及图2,本实施方式中,可折叠屏200包括连接于第一壳体10的第一显示部202、连接于第二壳体30的第二显示部203和连接于第一显示部202和第二显示部203的弯折显示部204。第一显示部202和第二显示部203分别随第一壳体10和第二壳体30相对地折叠或展开。弯折显示部203随第一显示部202与第二显示部203的折叠或展开而弯折或展平。在一些实施方式中,第一显示部202、第二显示部203以及弯折显示部204可以为一体结构,使可折叠屏200为整片式的柔性显示屏;或者,在其他的一些实施方式中,弯折显示部204为可弯折的柔性部分,而第一显示部202、第二显示部203可以为非柔性部分,第一显示部202、第二显示部203通过弯折显示部204相对地折叠或展开。在本实施方式中,第一壳体10与第二壳体30呈叠合状时,第一显示部202与第二显示部203相背离,使可折叠电子设备500呈现为外折屏幕的结构,使用户在折叠的情况下同样能够观察可折叠屏200的显示内容,提高了可折叠电子设备500使用的便利性。在其他的一些实施方式中,第一壳体10与第二壳体30呈叠合状时,第一显示部202与第二显示部203相叠置,使可折叠电子设备500呈现为内折屏幕的结构,以使可折叠屏200免于刮花损坏。Please refer to FIG. 1 and FIG. 2 at the same time. In this embodiment, the foldable screen 200 includes a first display portion 202 connected to the first housing 10 , a second display portion 203 connected to the second housing 30 , and a second display portion 203 connected to the first housing 10 . A display part 202 and a bending display part 204 of the second display part 203 . The first display part 202 and the second display part 203 are respectively folded or unfolded relative to the first casing 10 and the second casing 30 . The bending display part 203 is bent or flattened with the folding or unfolding of the first display part 202 and the second display part 203 . In some embodiments, the first display part 202 , the second display part 203 and the bending display part 204 may have an integrated structure, so that the foldable screen 200 is a whole-piece flexible display screen; or, in other embodiments , the bending display part 204 is a flexible part that can be bent, and the first display part 202 and the second display part 203 can be non-flexible parts, the first display part 202 and the second display part 203 Relatively folded or unfolded. In this embodiment, when the first casing 10 and the second casing 30 are in a superimposed shape, the first display part 202 and the second display part 203 are away from each other, so that the foldable electronic device 500 presents a structure of an outwardly folded screen , so that the user can also observe the display content of the foldable screen 200 in the case of folding, which improves the convenience of using the foldable electronic device 500 . In other embodiments, when the first casing 10 and the second casing 30 are in a superimposed shape, the first display part 202 and the second display part 203 are superimposed, so that the foldable electronic device 500 is folded inward. The structure of the screen so that the foldable screen 200 is not damaged by scratches.

应当理解的是,上述的第一显示部、第二显示部以及弯折显示部的命名仅为便于描述而设置,并不作为可折叠屏的结构限制,在实际的应用场景中,第一显示部、第二显示部以及弯折显示部可以没有明显的界限,或者,可折叠屏可以以其他的划分结构出现,例如,可折叠屏包括第一显示部以及连接于该第一显示部的第二显示部,该第一显示部及该第二显示部能够相对转动以折叠或展开。It should be understood that the names of the above-mentioned first display part, second display part and bending display part are set for convenience of description only, and are not limited to the structure of the foldable screen. The foldable screen, the second display part and the bending display part may not have obvious boundaries, or the foldable screen may appear in other division structures. For example, the foldable screen includes a first display part and a first display part connected to the first display part. Two display parts, the first display part and the second display part can be rotated relative to each other to be folded or unfolded.

在本实施方式中,可折叠电子设备500还包括角度检测模组70(请参阅图1),角度检测模组70用于检测第一壳体10以及第二壳体30之间所成的角度。在一些实施方式中,角度检测模组70可以为霍尔角度传感器,其可以连接于第一壳体10、第二壳体30或者转轴机构50的任意一个。In this embodiment, the foldable electronic device 500 further includes an angle detection module 70 (refer to FIG. 1 ), and the angle detection module 70 is used to detect the angle formed between the first casing 10 and the second casing 30 . In some embodiments, the angle detection module 70 may be a Hall angle sensor, which may be connected to any one of the first housing 10 , the second housing 30 or the shaft mechanism 50 .

在一些实施方式中,可折叠电子设备500还可以包括两个运动传感器90(请参阅图1),两个运动传感器90分别设置于第一壳体10以及第二壳体30,以分别用于检测第一壳体10以及第二壳体30的转动情况。运动传感器90可以包括但不限于包括:速度传感器、重力传感器、惯性测量单元、陀螺仪等传感器。In some embodiments, the foldable electronic device 500 may further include two motion sensors 90 (refer to FIG. 1 ), and the two motion sensors 90 are respectively disposed on the first casing 10 and the second casing 30 for use in The rotation of the first casing 10 and the second casing 30 is detected. The motion sensor 90 may include, but is not limited to, sensors such as a speed sensor, a gravity sensor, an inertial measurement unit, a gyroscope, and the like.

请参阅图3,基于上述的可折叠电子设备,本申请实施例提供一种图片显示方法,用于在可折叠的电子设备中显示图片内容,以允许用户便捷地切换图片的显示尺寸,提高用户观察图片时的体验。本申请实施例提供的图片显示方法一旦被触发,则实施例中方法的流程可以通过电子设备自动运行,其中,各个步骤在运行的时候可以是按照如流程图中的顺序先后进行,也可以是根据实际情况多个步骤同时进行,在此并不做限定。该图片显示方法可以包括步骤S01~S05。Referring to FIG. 3 , based on the above-mentioned foldable electronic device, an embodiment of the present application provides a picture display method for displaying picture content in a foldable electronic device, so as to allow users to switch the display size of pictures conveniently and improve the user experience. Experience when looking at pictures. Once the picture display method provided in the embodiment of the present application is triggered, the process of the method in the embodiment can be automatically run by an electronic device, wherein each step can be executed in sequence as shown in the flowchart, or can be According to the actual situation, multiple steps are performed simultaneously, which is not limited here. The picture display method may include steps S01 to S05.

步骤S01:获取第一显示部以及第二显示部的转动情况。Step S01: Acquire the rotation of the first display part and the second display part.

进一步地,在步骤S01之前,电子设备进入图片浏览界面时,获取当前的图片显示模式,若当前的图片显示模式为缩略图模式,则可折叠屏用于显示图片集,并获取第一显示部以及第二显示部的转动情况。Further, before step S01, when the electronic device enters the picture browsing interface, the current picture display mode is obtained, if the current picture display mode is the thumbnail mode, the foldable screen is used to display the picture collection, and the first display part is obtained. And the rotation of the second display part.

电子设备进入图片浏览界面,可以理解为,电子设备的可折叠屏上显示出任意的图片内容,或者,电子设备进入图片集,此时,可折叠屏用于显示图片集。该图片集为一个或多个图片的集合,例如,图片集可以包括但不限于包括电子设备的本地图片库、电子设备的本地相册、网络图片库、网络相册。在一些实施方式中,当电子设备启动图片集,则确定电子设备进入图片浏览界面。When the electronic device enters the picture browsing interface, it can be understood that any picture content is displayed on the foldable screen of the electronic device, or the electronic device enters the picture collection, and at this time, the foldable screen is used to display the picture collection. The picture set is a set of one or more pictures. For example, the picture set may include, but is not limited to, a local picture library of the electronic device, a local photo album of the electronic device, a network picture library, and a network album. In some implementations, when the electronic device starts the picture collection, it is determined that the electronic device enters the picture browsing interface.

图片的显示模式,可以理解为,图片在可折叠屏上的呈现模式或/及允许用户对图片执行的操作模式。在本实施方式中,图片的显示模式至少包括图片缩放模式、图片浏览模式、缩略图模式中的任意两种。在图片缩放模式下,可折叠屏显示图片集中的任一图片或默认图片,并允许用户对该图片进行缩放操作。在图片浏览模式下,可折叠屏显示图片集中的任一个或两个图片,或显示默认的一个或两个图片,并允许用户对该图片进行翻页或切换。在缩略图模式下,可折叠屏以缩略图的形式显示图片集中的任意多个图片的集合,并允许用户在该集合中选择任意图片进入浏览模式或缩放模式,其中,用户可以通过点触屏幕选择需要进一步浏览或缩放的图片。The display mode of the picture can be understood as the presentation mode of the picture on the foldable screen or/and the operation mode that allows the user to perform the picture. In this embodiment, the display mode of the picture includes at least any two of the picture zoom mode, the picture browsing mode, and the thumbnail mode. In the picture zoom mode, the foldable screen displays any picture in the picture set or the default picture, and allows the user to zoom in and out of the picture. In the picture browsing mode, the foldable screen displays any one or two pictures in the picture set, or displays one or two default pictures, and allows the user to turn pages or switch the pictures. In the thumbnail mode, the foldable screen displays a collection of any number of pictures in the picture collection in the form of thumbnails, and allows the user to select any picture in the collection to enter the browse mode or zoom mode, wherein the user can touch the screen by touching the screen. Select the picture that needs to be further browsed or zoomed.

在本实施例中,若当前图片的显示模式为缩略图模式,则获取图片集中图片的当前显示尺寸,并进一步地获取第一显示部及第二显示部的转动情况。In this embodiment, if the display mode of the current picture is the thumbnail mode, the current display size of the picture in the picture collection is obtained, and the rotation of the first display part and the second display part is further obtained.

在本实施方式中,图片的当前显示尺寸应当理解为,图片集中任一张图片显示于可折叠屏中的尺寸,此时,图片集中的图片均以该当前显示尺寸显示于可折叠屏,参见图5的显示状态A及显示状态B。可以理解的是,图片集中图片的排列模式并不受本说明书实施例所限制。In this embodiment, the current display size of a picture should be understood as the size of any picture in the picture set displayed on the foldable screen. At this time, the pictures in the picture set are all displayed on the foldable screen at the current display size. See Display state A and display state B in FIG. 5 . It can be understood that, the arrangement pattern of pictures in the picture set is not limited by the embodiments of the present specification.

进一步地,电子设备进入图片浏览界面时,获取第一显示部以及第二显示部的转动情况,并在电子设备进入缩略图模式时,持续获取第一显示部以及第二显示部的转动情况。该转动情况,应理解为第一显示部以及第二显示部的各自的转动状态,或/及二者之间相对的转动状态。该转动状态,应理解为第一显示部以及第二显示部在转动过程中每一时刻的状态,包括但不限于包括转动角度、转动速度、转动方向、加速度等物理量。也即,上述的转动情况,可以包括第一显示部以及第二显示部各自在转动过程中的运动物理量,还可以包括第一显示部以及第二显示部二者之间相对的转动状态,如二者之间相对的转动方向等。Further, when the electronic device enters the picture browsing interface, the rotation conditions of the first display part and the second display part are acquired, and when the electronic device enters the thumbnail mode, the rotation conditions of the first display part and the second display part are continuously acquired. The rotation situation should be understood as the respective rotation states of the first display part and the second display part, or/and the relative rotation state between them. The rotation state should be understood as the state of the first display part and the second display part at each moment during the rotation process, including but not limited to physical quantities such as rotation angle, rotation speed, rotation direction, acceleration, etc. That is to say, the above-mentioned rotation situation may include the physical quantities of motion of the first display part and the second display part respectively during the rotation process, and may also include the relative rotation state between the first display part and the second display part, such as The relative direction of rotation between the two, etc.

步骤S03:根据转动情况以及图片的当前显示尺寸,确定图片的期望显示尺寸。Step S03: Determine the desired display size of the picture according to the rotation situation and the current display size of the picture.

进一步地,当电子设备的第一显示部及第二显示部相对展开时,电子设备可以根据第一显示部及第二显示部之间的相对位置,来确定第一显示部及第二显示部之间的转动情况。其中,电子设备的第一显示部及第二显示部展开时,二者之间的角度可以大致为180度,也即第一显示部及第二显示部的显示面在同一显示面,或者是第一显示部及第二显示部的显示面近似地在同一显示面。进一步地,当电子设备为内折屏幕电子设备时,出于用户的使用习惯以及观看习惯,第一显示部及第二显示部之间的角度可以小于180度,以便用户观察图片。其中,检测第一显示部及第二显示部之间的转动情况,可以利用电子设备自身设置的角度传感器、距离传感器或者其他可以直接或间接检测第一显示部及第二显示部之间的角度的传感器。Further, when the first display part and the second display part of the electronic device are relatively unfolded, the electronic device can determine the first display part and the second display part according to the relative positions between the first display part and the second display part rotation between. Wherein, when the first display part and the second display part of the electronic device are unfolded, the angle between them may be approximately 180 degrees, that is, the display surfaces of the first display part and the second display part are on the same display surface, or The display surfaces of the first display portion and the second display portion are approximately on the same display surface. Further, when the electronic device is an inward-folding screen electronic device, the angle between the first display part and the second display part may be less than 180 degrees due to the user's usage and viewing habits, so that the user can observe pictures. Among them, to detect the rotation between the first display part and the second display part, an angle sensor, a distance sensor or other devices provided by the electronic device itself can be used to directly or indirectly detect the angle between the first display part and the second display part sensor.

当检测到第一显示部以及第二显示部之间的角度发生变化时,例如,第一显示部以及第二显示部相对折叠时二者之间的角度减小,或者第一显示部以及第二显示部相对展开时,二者之间的角度增大,则获取变化后的角度信息,根据变化后的角度信息以及图片的当前显示尺寸,确定图片的期望显示尺寸。When it is detected that the angle between the first display part and the second display part changes, for example, the angle between the first display part and the second display part decreases when they are folded relative to each other, or the first display part and the second display part decrease. When the two display parts are relatively unfolded, and the angle between them increases, the changed angle information is obtained, and the desired display size of the picture is determined according to the changed angle information and the current display size of the picture.

具体而言,检测到第一显示部以及第二显示部之间的角度发生变化后,实时地获第一显示部以及第二显示部之间的角度,基于期望显示尺寸与角度的对应关系,确定图片集中图片的期望显示尺寸。其中,该期望显示尺寸与角度之间的对应关系可以由预设的函数关系确定,例如,二者之间成正比例关系或者反比例关系等。Specifically, after detecting that the angle between the first display part and the second display part changes, the angle between the first display part and the second display part is obtained in real time, and based on the corresponding relationship between the expected display size and the angle, Determines the desired display size of the pictures in the collection. The corresponding relationship between the desired display size and the angle may be determined by a preset functional relationship, for example, a proportional relationship or an inverse proportional relationship between the two.

在一些具体的应用场景中,例如,用户手持电子设备观察图片时,电子设备进入缩略图模式,则用户通过改变第一显示部以及第二显示部之间的角度大小,来实时地调整图片集中的图片的显示尺寸。在本实施方式中,用户可以通过控制第一显示部以及第二显示部中的任一个进行转动,来改变二者之间的角度。In some specific application scenarios, for example, when a user holds an electronic device to observe a picture, the electronic device enters the thumbnail mode, and the user adjusts the picture concentration in real time by changing the angle between the first display part and the second display part. The display size of the picture. In this embodiment, the user can control either the first display part or the second display part to rotate to change the angle therebetween.

步骤S05:以期望显示尺寸显示图片集中的图片。Step S05: Display the pictures in the picture set in the desired display size.

进一步地,当电子设备确定期望显示尺寸之后,电子设备根据该期望显示尺寸,对图片集中的所有图片的显示尺寸进行调整,并显示调整后的图片。当用户持续改变第一显示部以及第二显示部之间的角度大小时,可折叠屏所显示的图片的期望显示尺寸也随着该角度的变化而变化,因此从直观来看,如图5所示,可折叠屏的图片中的显示尺寸随着第一显示部以及第二显示部之间的角度的大小变化而放大或缩小。在一些应用场景中,例如,用户在观看图片时,随着第二显示部的转动过程,图片集中的图片会持续被放大;然后,当用户控制第二显示部相对第一显示部反向转动复位时,图片集中的图片会持续被缩小。Further, after the electronic device determines the desired display size, the electronic device adjusts the display sizes of all pictures in the picture set according to the desired display size, and displays the adjusted pictures. When the user keeps changing the angle between the first display part and the second display part, the expected display size of the picture displayed on the foldable screen also changes with the change of the angle. Therefore, from an intuitive point of view, as shown in Figure 5 As shown, the display size in the picture of the foldable screen is enlarged or reduced as the angle between the first display part and the second display part changes. In some application scenarios, for example, when the user is viewing a picture, as the second display part rotates, the pictures in the picture set will continue to be enlarged; then, when the user controls the second display part to rotate in the opposite direction relative to the first display part When resetting, the pictures in the gallery will continue to be scaled down.

在一些实施例中,期望显示尺寸可以与第一显示部或第二显示部的尺寸大致相同,使图片集中的图片能够单张平铺于第一显示部或第二显示部;或者,期望显示尺寸可以可设跌破的尺寸大致相同,使图片集中的图片能够单张平铺于可折叠屏,此时,进一步地,用户还可以通过调节第一显示部以及第二显示部之间的角度来缩小平铺于第一显示部、或第二显示部、或可折叠屏的图片,使图片集中的多个图片能够同时显示于可折叠屏。In some embodiments, the desired display size may be approximately the same as the size of the first display part or the second display part, so that the pictures in the picture set can be tiled on the first display part or the second display part; or, the desired display part The size can be set to be roughly the same as the size below, so that the pictures in the picture collection can be tiled on the foldable screen. At this time, the user can further adjust the angle between the first display part and the second display part to reduce the picture tiled on the first display part, the second display part, or the foldable screen, so that multiple pictures in the picture set can be displayed on the foldable screen at the same time.

在本申请提供的图片显示方法中,允许用户通过改变第一显示部以及第二显示部之间的角度大小,确定图片集中图片的显示大小,能够避免用户在图片上操作图片时遮挡图片内容的现象,并能够便捷地实现对图片集进行实时缩放和观察,能够提高用户观察图片时的体验。进一步地,若第一显示部及第二显示部的转动情况满足切换条件,则切换图片的当前显示模式。在本实施方式中,切换条件包括:第一显示部以及第二显示部均向相反的方向转动后回转,第一显示部以及第二显示部转动的最大角度落入预设角度范围内。若该转动情况满足该切换条件,则切换图片的当前显示模式。进一步地,可以将当前显示模式切换为图片缩放模式或者预览模式。当电子设备进入图片缩放模式或图片预览模式时,电子设备可以进一步执行本申请实施例提供的下述的图片显示方法。In the picture display method provided by the present application, the user is allowed to determine the display size of the pictures in the picture set by changing the angle between the first display part and the second display part, which can avoid the possibility of blocking the content of the picture when the user operates the picture on the picture. phenomenon, and can conveniently realize real-time zooming and observation of the picture set, which can improve the user's experience when observing pictures. Further, if the rotation of the first display part and the second display part satisfies the switching condition, the current display mode of the picture is switched. In this embodiment, the switching conditions include: both the first display part and the second display part rotate in opposite directions and then rotate, and the maximum angle of rotation of the first display part and the second display part falls within a preset angle range. If the rotation condition satisfies the switching condition, the current display mode of the picture is switched. Further, the current display mode can be switched to a picture zoom mode or a preview mode. When the electronic device enters the picture zoom mode or the picture preview mode, the electronic device may further execute the following picture display methods provided by the embodiments of the present application.

基于上述的图片显示方法,本申请实施方式还提供一种图片显示装置400,图4示出了图片显示装置400的结构框图。图片显示装置400运行于如图1所示的电子设备500上,其用于执行上述的图片显示方法。在本申请实施方式中,图片显示装置400被存储在电子设备500的存储器中,并被配置为由电子设备500的一个或多个处理器执行。Based on the above picture display method, an embodiment of the present application further provides a picture display apparatus 400 , and FIG. 4 shows a structural block diagram of the picture display apparatus 400 . The picture display apparatus 400 runs on the electronic device 500 as shown in FIG. 1 , and is used for executing the above-mentioned picture display method. In the embodiment of the present application, the picture display apparatus 400 is stored in the memory of the electronic device 500 and is configured to be executed by one or more processors of the electronic device 500 .

具体在图4所示的实施例中,图片显示装置400包括转动情况获取单元410、尺寸调整单元430以及显示单元450。可以理解的是,上述各单元/子单元可以为运行于计算机可读存储介质中的程序模块或程序单元,上述各个单元/子单元的用途及工作具体如下:Specifically, in the embodiment shown in FIG. 4 , the picture display apparatus 400 includes a rotation situation acquisition unit 410 , a size adjustment unit 430 and a display unit 450 . It can be understood that the above-mentioned units/sub-units may be program modules or program units running in a computer-readable storage medium, and the purpose and work of each of the above-mentioned units/sub-units are as follows:

转动情况获取单元410用于获取第一显示部以及第二显示部的转动情况。进一步地,转动情况获取单元410还用于在电子设备进入图片浏览界面时,获取当前的图片显示模式,若当前的图片显示模式为缩略图模式,则用于控制可折叠屏显示图片集,并获取第一显示部以及第二显示部的转动情况。The rotation situation acquiring unit 410 is used to acquire the rotation situation of the first display part and the second display part. Further, the rotation situation obtaining unit 410 is also used to obtain the current picture display mode when the electronic device enters the picture browsing interface, and if the current picture display mode is the thumbnail mode, it is used to control the foldable screen to display the picture collection, and Obtain the rotation of the first display part and the second display part.

尺寸调整单元430用于在缩略图模式下,获取图片集中图片的当前显示尺寸,还用于根据转动情况以及图片的当前显示尺寸,确定图片的期望显示尺寸。进一步地,当到第一显示部以及第二显示部之间的角度发生变化时,例如,第一显示部以及第二显示部相对折叠时二者之间的角度减小,或者第一显示部以及第二显示部相对展开时,二者之间的角度增大,尺寸调整单元430则用于获取变化后的角度信息,根据变化后的角度信息以及图片的当前显示尺寸,确定图片的期望显示尺寸。具体而言,尺寸调整单元430用于基于期望显示尺寸与角度的对应关系,确定图片集中图片的期望显示尺寸。其中,该期望显示尺寸与角度之间的对应关系可以由预设的函数关系确定,例如,二者之间成正比例关系或者反比例关系等。尺寸调整单元430确定期望显示尺寸之后,还用于根据该期望显示尺寸,对图片集中的所有图片的显示尺寸进行调整。The size adjustment unit 430 is used to obtain the current display size of the picture in the picture collection in the thumbnail mode, and is also used to determine the desired display size of the picture according to the rotation situation and the current display size of the picture. Further, when the angle between the first display part and the second display part changes, for example, the angle between the first display part and the second display part decreases when the first display part and the second display part are folded relative to each other, or the first display part And when the second display portion is relatively unfolded, the angle between the two increases, and the size adjustment unit 430 is used to obtain the changed angle information, and determine the desired display of the picture according to the changed angle information and the current display size of the picture. size. Specifically, the size adjustment unit 430 is configured to determine the desired display size of the picture in the picture set based on the corresponding relationship between the desired display size and the angle. The corresponding relationship between the desired display size and the angle may be determined by a preset functional relationship, for example, a proportional relationship or an inverse proportional relationship between the two. After determining the desired display size, the size adjustment unit 430 is further configured to adjust the display sizes of all pictures in the picture set according to the desired display size.

显示单元450用于以期望显示尺寸显示图片集中的图片。The display unit 450 is used to display pictures in the picture set in a desired display size.

进一步地,图片显示装置400还可以包括切换单元470,切换单元470用于在第一显示部及第二显示部的转动情况满足切换条件时,则切换图片的当前显示模式。在本实施方式中,切换条件包括:第一显示部以及第二显示部均向相反的方向转动后回转,第一显示部以及第二显示部转动的最大角度落入预设角度范围内。Further, the picture display device 400 may further include a switching unit 470, which is configured to switch the current display mode of the picture when the rotation of the first display part and the second display part satisfies the switching condition. In this embodiment, the switching conditions include: both the first display part and the second display part rotate in opposite directions and then rotate, and the maximum angle of rotation of the first display part and the second display part falls within a preset angle range.

在本申请提供的图片显示方装置中,允许用户通过改变第一显示部以及第二显示部之间的角度大小,确定图片集中图片的显示大小,能够避免用户在图片上操作图片时遮挡图片内容的现象,并能够便捷地实现对图片集进行实时缩放和观察,能够提高用户观察图片时的体验。In the picture display device provided by the present application, the user is allowed to determine the display size of the pictures in the picture set by changing the angle between the first display part and the second display part, which can prevent the user from covering the picture content when operating the picture on the picture. It can easily realize real-time zooming and observation of the picture set, which can improve the user's experience when observing pictures.

请参阅图6,基于上述的可折叠电子设备以及图片显示方法,本申请实施例还提供一种图片显示方法,用于在可折叠的电子设备中显示图片内容,以允许用户便捷地对图片进行缩放并观察,提高用户观察图片时的体验。本申请实施例提供的图片显示方法一旦被触发,则实施例中方法的流程可以通过电子设备自动运行,其中,各个步骤在运行的时候可以是按照如流程图中的顺序先后进行,也可以是根据实际情况多个步骤同时进行,在此并不做限定。该图片显示方法可以包括步骤S101~S107。Referring to FIG. 6, based on the above-mentioned foldable electronic device and picture display method, an embodiment of the present application further provides a picture display method for displaying picture content in a foldable electronic device, so as to allow users to conveniently display pictures Zoom and watch to improve the user experience when viewing images. Once the picture display method provided in the embodiment of the present application is triggered, the process of the method in the embodiment can be automatically run by an electronic device, wherein each step can be executed in sequence as shown in the flowchart, or can be According to the actual situation, multiple steps are performed simultaneously, which is not limited here. The picture display method may include steps S101 to S107.

步骤S101:若当前显示模式为图片缩放模式,在第一显示部显示待缩放图片。Step S101 : if the current display mode is the image zoom mode, display the image to be zoomed on the first display part.

在本实施方式中,电子设备进入图片缩放模式时,即在第一显示部显示待缩放图片。电子设备进入图片缩放模式,应理解为在该模式下,用户可操作图片以对图片进行放大或缩小的处理。电子设备所显示的图片类型不受限制,例如,电子设备所显示的图片可以为本地图片、本地照片、网络图片、应用程序中的图片等。In this embodiment, when the electronic device enters the picture zoom mode, the picture to be zoomed is displayed on the first display part. The electronic device enters the picture zoom mode, which should be understood as a process in which the user can operate the picture to enlarge or reduce the picture. The types of pictures displayed by the electronic device are not limited, for example, the pictures displayed by the electronic device may be local pictures, local photos, network pictures, pictures in application programs, and the like.

步骤S103:在第一显示部的待缩放图片中确定待缩放的目标区域。其中,该目标区域为需要进行缩放操作的区域,其用于确定待缩放图中需要放大/缩小显示的区域,目标区域内的图片内容通过第二显示部显示。Step S103: Determine the target area to be zoomed in the image to be zoomed in the first display unit. The target area is an area that needs to be zoomed, which is used to determine the area to be zoomed in/out in the to-be-zoomed image, and the image content in the target area is displayed by the second display unit.

在一些实施方式中,可以根据用户的操作,在第一显示部的待缩放图片中确定目标区域。在实际操作过程中,用户可以通过一个或多个手指在第一显示部上进行滑动来确定目标区域,电子设备通过记录手指在第一显示部上滑动的起始位置和终止位置,然后根据手指滑动的起始位置、终止位置形成一个预定形状的区域作为目标区域,其中,该预定形状的区域可以为矩形或圆形等几何形状;或者,电子设备通过记录手指在第一显示部上画出的轨迹,并根据给轨迹形成一个选择框作为目标区域。In some embodiments, the target area may be determined in the to-be-zoomed picture on the first display part according to the user's operation. During the actual operation, the user can determine the target area by sliding one or more fingers on the first display part, and the electronic device records the starting position and ending position of the sliding finger on the first display part, and The starting position and the ending position of the sliding form an area with a predetermined shape as the target area, wherein the area with the predetermined shape can be a geometric shape such as a rectangle or a circle; or, the electronic device draws on the first display part by recording a finger The trajectory, and according to the trajectory to form a selection box as the target area.

在一些实施方式中,可以通过电子设备提供的区域作为目标区域。例如,在第一显示部的待缩放图片上提供一个预定区域作为目标区域,其中,预定区域的位置以及大小可以由用户改变,可以理解的是,用户可以根据实际需求随意地调整预定区域在第一显示部中的显示位置、形状或/及大小来选择选择性地观看图片的局部放大图。In some embodiments, an area provided by the electronic device may be used as the target area. For example, a predetermined area is provided on the picture to be zoomed on the first display part as the target area, wherein the position and size of the predetermined area can be changed by the user. It can be understood that the user can freely adjust the predetermined area according to actual needs. A display position, shape or/and size in a display section is selected to selectively view a partial enlarged view of the picture.

步骤S105:获取第一显示部以及第二显示部之间的角度变化信息,根据角度变化信息确定目标区域的缩放参数。Step S105: Acquire the angle change information between the first display part and the second display part, and determine the zoom parameter of the target area according to the angle change information.

进一步地,当电子设备的第一显示部及第二显示部相对展开时,电子设备可以根据第一显示部及第二显示部之间的相对位置,来确定第一显示部及第二显示部之间的角度。其中,电子设备的第一显示部及第二显示部展开时,二者之间的角度可以大致为180度,也即第一显示部及第二显示部的显示面在同一显示面,或者是第一显示部及第二显示部的显示面近似地在同一显示面。进一步地,当电子设备为内折屏幕电子设备时,出于用户的使用习惯以及观看习惯,第一显示部及第二显示部之间的角度可以小于180度,以便用户观察图片。其中,检测第一显示部及第二显示部之间的角度,可以利用电子设备自身设置的角度传感器、距离传感器或者其他可以直接或间接检测第一显示部及第二显示部之间的角度的传感器。Further, when the first display part and the second display part of the electronic device are relatively unfolded, the electronic device can determine the first display part and the second display part according to the relative positions between the first display part and the second display part angle between. Wherein, when the first display part and the second display part of the electronic device are unfolded, the angle between them may be approximately 180 degrees, that is, the display surfaces of the first display part and the second display part are on the same display surface, or The display surfaces of the first display portion and the second display portion are approximately on the same display surface. Further, when the electronic device is an inward-folding screen electronic device, the angle between the first display part and the second display part may be less than 180 degrees due to the user's usage and viewing habits, so that the user can observe pictures. The angle between the first display part and the second display part can be detected by using an angle sensor, a distance sensor or other devices that can directly or indirectly detect the angle between the first display part and the second display part. sensor.

当检测到第一显示部以及第二显示部之间的角度发生变化时,例如,第一显示部以及第二显示部相对折叠时二者之间的角度减小,或者第一显示部以及第二显示部相对展开时,二者之间的角度增大,则获取变化后的角度信息,根据变化后的角度信息,确定目标区域的缩放参数。When it is detected that the angle between the first display part and the second display part changes, for example, the angle between the first display part and the second display part decreases when they are folded relative to each other, or the first display part and the second display part decrease. When the two display parts are relatively unfolded, and the angle between the two increases, the changed angle information is obtained, and the zoom parameter of the target area is determined according to the changed angle information.

具体而言,检测到第一显示部以及第二显示部之间的角度发生变化后,实时地获第一显示部以及第二显示部之间的角度,基于缩放参数与角度的对应关系,确定目标区域的缩放倍数。其中,该缩放倍数与角度之间的对应关系可以由预设的函数关系确定,例如,二者之间成正比例关系或者反比例关系等。Specifically, after detecting that the angle between the first display part and the second display part changes, the angle between the first display part and the second display part is obtained in real time, and based on the corresponding relationship between the zoom parameter and the angle, determine The zoom factor for the target area. The corresponding relationship between the zoom factor and the angle may be determined by a preset functional relationship, for example, a proportional relationship or an inverse proportional relationship between the two.

在一些具体的应用场景中,例如,用户手持电子设备观察图片时,电子设备进入图片缩放模式,则用户通过改变第一显示部以及第二显示部之间的角度大小,来实时地观察目标区域的缩放情况。在本实施方式中,用户可以通过控制第一显示部以及第二显示部中的任一个进行转动,来改变二者之间的角度。In some specific application scenarios, for example, when a user holds an electronic device to observe a picture, and the electronic device enters the picture zoom mode, the user can observe the target area in real time by changing the angle between the first display part and the second display part of scaling. In this embodiment, the user can control either the first display part or the second display part to rotate to change the angle therebetween.

步骤S107:根据缩放参数,在第二显示部显示缩放后的图片。其中,缩放后的图片为根据缩放参数、以目标区域的中心为缩放中心,对目标区域中的图片内容进行缩放处理后获得,也即,对目标区域进行缩放。Step S107: Display the zoomed picture on the second display part according to the zoom parameter. The scaled picture is obtained by scaling the picture content in the target region with the center of the target region as the scaling center according to the scaling parameters, that is, scaling the target region.

进一步地,当电子设备确定缩放参数之后,电子设备根据该缩放参数,对目标区域中的图片内容进行缩小或者放大处理获得缩放后的图片,并将缩放后的图片显示在第二显示部中。当用户持续改变第一显示部以及第二显示部之间的角度大小时,第二显示部所显示的缩放后的图片的缩放参数也随着该角度的变化而变化,因此从直观来看,第二显示部所显示的缩放后的图片随着第一显示部以及第二显示部之间的角度的大小变化而放大或缩小。Further, after the electronic device determines the zoom parameter, the electronic device reduces or enlarges the image content in the target area to obtain a zoomed image according to the zoom parameter, and displays the zoomed image in the second display part. When the user keeps changing the angle between the first display part and the second display part, the zoom parameter of the zoomed picture displayed by the second display part also changes with the change of the angle. Therefore, from an intuitive point of view, The scaled picture displayed on the second display part is enlarged or reduced as the angle between the first display part and the second display part changes.

请参阅图7,在一些应用场景中,例如,用户在观看图片时,在第一显示部确定了目标区域后,控制第二显示部相对第一显示部转动,随着第二显示部的转动过程,第二显示部中的图片内容会持续被放大;然后,当用户控制第二显示部相对第一显示部反向转动复位时,第二显示部中的图片内容会持续被缩小;最后,当第二显示部与第一显示部之间的角度复位至初始角度时,第二显示部中的图片内容恢复至初始大小;其中,初始角度可以认为是目标区域被确定时第二显示部与第一显示部之间的角度,初始大小可以认为是目标区域在第一显示部中的尺寸大小。Referring to FIG. 7 , in some application scenarios, for example, when the user is viewing a picture, after the first display part determines the target area, the second display part is controlled to rotate relative to the first display part, and with the rotation of the second display part During the process, the picture content in the second display part will continue to be enlarged; then, when the user controls the second display part to rotate and reset in the opposite direction relative to the first display part, the picture content in the second display part will continue to be reduced; finally, When the angle between the second display part and the first display part is reset to the initial angle, the content of the picture in the second display part returns to the initial size; wherein, the initial angle can be considered to be the difference between the second display part and the target area when the target area is determined. The angle between the first display parts, the initial size can be considered as the size of the target area in the first display part.

在本申请提供的图片显示方法中,允许用户在第一显示部操作以确定需要缩放的目标区域,且用户能够通过改变第一显示部以及第二显示部之间的角度大小,确定目标区域的缩放参数,并在第二显示部中显示缩放后的图像,能够避免用户在图片上操作图片缩放时遮挡图片内容的现象,并能够便捷地实现对目标区域的实时缩放和观察,能够提高用户观察图片时的体验。In the picture display method provided by the present application, the user is allowed to operate on the first display part to determine the target area to be zoomed, and the user can determine the size of the target area by changing the angle between the first display part and the second display part. zoom parameters, and display the zoomed image in the second display part, which can avoid the phenomenon that the user will block the content of the image when zooming the image on the image, and can conveniently realize real-time zooming and observation of the target area, which can improve the user's observation. experience when taking pictures.

请参阅图8,基于上述的电子设备,本申请实施例还提供另一种图片显示方法,用于在可折叠的电子设备中显示图片,以允许用户便捷地切换图片浏览模式并观察,提高用户浏览图片时的体验。需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。在本实施例中,图片显示方法可以包括步骤S21~S23。Please refer to FIG. 8 , based on the above-mentioned electronic device, the embodiment of the present application further provides another picture display method, which is used for displaying pictures in a foldable electronic device, so as to allow the user to switch the picture browsing mode and observe conveniently, and improve the user's The experience of browsing pictures. It should be noted that the steps shown in the flowcharts of the accompanying drawings may be executed in a computer system, such as a set of computer-executable instructions, and, although a logical sequence is shown in the flowcharts, in some cases, Steps shown or described may be performed in an order different from that herein. In this embodiment, the picture display method may include steps S21 to S23.

步骤S21:电子设备进入图片浏览界面时,确定图片的显示模式,并以该显示模式在第一显示部以及第二显示部显示图片。Step S21: When the electronic device enters the picture browsing interface, the display mode of the picture is determined, and the picture is displayed on the first display part and the second display part in the display mode.

在一些实施方式中,电子设备进入图片浏览界面时,默认确定图片的显示模式为图片缩放模式、图片浏览模式、缩略图模式中的任意一种。例如,当电子设备启动图片集时,默认以图片浏览模式显示图片。In some embodiments, when the electronic device enters the picture browsing interface, it is determined by default that the display mode of the picture is any one of the picture zoom mode, the picture browsing mode, and the thumbnail mode. For example, when the electronic device starts a picture collection, the pictures are displayed in a picture browsing mode by default.

在另一些实施方式中,电子设备进入图片浏览界面时,可以以历史显示模式显示图片;其中,历史显示模式为电子设备上一次退出图片浏览界面时的图片的显示模式。进一步地,当电子设备退出图片浏览界面时,可以将退出前的图片显示模式保存为历史显示模式,以利于电子设备下一次进入图片浏览界面时能够直接获取历史显示模式。In other embodiments, when the electronic device enters the picture browsing interface, the picture can be displayed in a historical display mode, wherein the historical display mode is the display mode of the picture when the electronic device exited the picture browsing interface last time. Further, when the electronic device exits the picture browsing interface, the picture display mode before exiting can be saved as the historical display mode, so that the electronic device can directly obtain the historical display mode when entering the picture browsing interface next time.

步骤S23:获取第一显示部以及第二显示部的转动情况。进一步地,可以通过电子设备的运动传感器检测第一显示部以及第二显示部的转动情况。Step S23: Acquire the rotation of the first display part and the second display part. Further, the rotation of the first display part and the second display part can be detected by the motion sensor of the electronic device.

当第一显示部或/及第二显示部发生转动时,表现为第一显示部及第二显示部之间的相对折叠或展开,此时,可以由第一显示部或/及第二显示部绕转轴机构转动来实现二者之间的相对转动。在本实施方式中,第一显示部以及第二显示部的转动情况,包括转动速度、转动方向以及转动角度中的至少一个。When the first display part or/and the second display part are rotated, it is shown as a relative folding or unfolding between the first display part and the second display part. At this time, the first display part or/and the second display part can be displayed by The part rotates around the rotating shaft mechanism to realize the relative rotation between the two. In this embodiment, the rotation of the first display part and the second display part includes at least one of a rotation speed, a rotation direction, and a rotation angle.

步骤S24:根据第一显示部以及第二显示部的转动情况,控制可折叠屏所显示的图片内容。Step S24: Control the picture content displayed on the foldable screen according to the rotation of the first display part and the second display part.

具体而言,根据当前的图片显示模式以及该转动情况,控制可折叠屏所显示的图片内容,对于不同的图片显示模式,控制可折叠屏所显示的图片内容时,可以采用不同的控制命令控制可折叠屏所显示的图片内容,使可折叠屏所显示的图片内容根据用户的需求改变。该控制命令可以包括但不限于包括:切换图片的显示模式、缩放图片、切换当前显示的图片、确定用户指定的图片进入浏览模式、确定用户指定的图片进入图片缩放模式。Specifically, according to the current picture display mode and the rotation situation, the picture content displayed on the foldable screen is controlled. For different picture display modes, different control commands can be used to control the picture content displayed on the foldable screen. The content of the picture displayed on the foldable screen can be changed according to the needs of the user. The control command may include, but is not limited to, switching the display mode of the picture, zooming the picture, switching the currently displayed picture, determining that the user-specified picture enters the browsing mode, and determining that the user-specified picture enters the picture zooming mode.

当获取第一显示部以及第二显示部的转动情况后,可以执行判断过程以确定上述的控制命令,此时,步骤S24可以包括步骤S241~步骤S245。After the rotations of the first display part and the second display part are acquired, a judgment process may be performed to determine the above-mentioned control command. In this case, step S24 may include steps S241 to S245.

步骤S241:若第一显示部以及第二显示部的转动情况满足第一预设条件,切换图片的显示模式。Step S241 : if the rotation of the first display part and the second display part satisfies the first preset condition, switch the display mode of the picture.

在本实施方式中,第一预设条件可以理解为切换条件,第一预设条件包括:第一显示部以及第二显示部均向相反的方向转动后回转,第一显示部以及第二显示部转动的最大角度落入预设角度范围内。若该转动情况满足该第一预设条件,则切换图片的当前显示模式。上述的“回转”状态,可以通过惯性测量传感器来检测,例如,可以通过检测第一显示部以及第二显示部的转动方向是否发生改变,来判断其是否回转,或者,可以通过检测第一显示部以及第二显示部的加速度方向是否改变,来判断其是否回转。在一些具体的应用场景中,例如,用户控制第一显示部以及第二显示部相对折叠转动一定的角度后,再控制第一显示部以及第二显示部相对展开复位,也即可折叠屏完成一个“折返”的动作,此时,可以确定第一显示部以及第二显示部的转动情况满足该第一预设条件,并切换图片的当前显示模式。在本实施例中,通过限制第一显示部以及第二显示部的运动方向,能够使得第一显示部以及第二显示部的动作更有辨识度,有利于用户操作。In this embodiment, the first preset condition can be understood as a switching condition, and the first preset condition includes: the first display part and the second display part both rotate in opposite directions and then turn around; the first display part and the second display part The maximum angle of rotation of the part falls within the preset angle range. If the rotation condition satisfies the first preset condition, the current display mode of the picture is switched. The above-mentioned "rotation" state can be detected by an inertial measurement sensor. For example, it can be determined whether the first display part and the second display part are rotated by detecting whether the rotation directions of the first display part and the second display part have changed, or by detecting whether the first display part is rotated or not. Whether the acceleration direction of the part and the second display part changes, it is judged whether it rotates or not. In some specific application scenarios, for example, after the user controls the first display part and the second display part to be folded and rotated relative to a certain angle, and then controls the first display part and the second display part to be relatively unfolded and reset, the folding screen can be completed. An action of "turning back", at this time, it can be determined that the rotation of the first display part and the second display part satisfies the first preset condition, and the current display mode of the picture is switched. In this embodiment, by restricting the movement directions of the first display part and the second display part, the movements of the first display part and the second display part can be more recognizable, which is beneficial to the user's operation.

在一些实施方式中,第一预设条件可以包括:第一显示部以及第二显示部均转动,且第一显示部以及第二显示部的转动速度均落入第一阈值范围。在步骤S241中,若第一显示部以及第二显示部均转动,则进一步判断第一显示部以及第二显示部的转动速度。若第一显示部以及第二显示部的转动速度落入第一阈值范围,则切换图片的当前显示模式。第一阈值范围为由第一上限值以及第一下限值所确定的范围,当转动速度大于或等于第一下限值且小于第一上限值时,认为转动速度落入第一阈值范围。In some embodiments, the first preset condition may include: both the first display part and the second display part rotate, and the rotation speeds of the first display part and the second display part both fall within the first threshold range. In step S241, if both the first display part and the second display part rotate, the rotation speed of the first display part and the second display part is further determined. If the rotational speeds of the first display part and the second display part fall within the first threshold range, the current display mode of the picture is switched. The first threshold range is the range determined by the first upper limit value and the first lower limit value. When the rotation speed is greater than or equal to the first lower limit value and smaller than the first upper limit value, it is considered that the rotation speed falls within the first threshold value scope.

在一些实施方式中,第一预设条件可以包括:第一显示部以及第二显示部均转动,且二者的转动速度均落入第一阈值范围,在指定的时长内第一显示部以及第二显示部之间的角度变化范围小于预设范围。例如,若第一显示部以及第二显示部的转动速度落入第一阈值范围,且在预设时长内(如1秒内)第一显示部以及第二显示部之间的角度变化值小于预设角度(如20度),则切换图片的当前显示模式。通过对转动角度的限定,能够避免对用户意图的误判,例如,当用户需要折叠电子设备时,第一显示部以及第二显示部的转动速度有可能落入第一阈值范围,则进一步地判断第一显示部以及第二显示部之间的角度变化值,以判断用户的操作意图,从而提高用户的使用体验。In some embodiments, the first preset condition may include: both the first display part and the second display part rotate, and the rotation speeds of both fall within the first threshold range, and the first display part and the second display part rotate within a specified time period. The angle variation range between the second display parts is smaller than the preset range. For example, if the rotational speeds of the first display part and the second display part fall within the first threshold range, and the angle change value between the first display part and the second display part within a preset time period (eg, within 1 second) is less than The preset angle (such as 20 degrees) will switch the current display mode of the picture. By limiting the rotation angle, misjudgment of the user's intention can be avoided. For example, when the user needs to fold the electronic device, the rotation speed of the first display part and the second display part may fall within the first threshold range, then further The angle change value between the first display part and the second display part is determined to determine the user's operation intention, so as to improve the user's use experience.

在一些具体的应用场景中,用户采用可折叠屏进入图片浏览界面时,电子设备的第一显示部及第二显示部展开时,二者之间的角度可以大致为180度,也即第一显示部及第二显示部的显示面在同一显示面,或者是第一显示部及第二显示部的显示面近似地在同一显示面。用户若需要切换图片的当前显示模式,则同时转动第一显示部及第二显示部,并控制第一显示部及第二显示部的转动角度均小于预设值(如10度),此时,则切换图片的当前显示模式。In some specific application scenarios, when the user uses the foldable screen to enter the picture browsing interface, when the first display part and the second display part of the electronic device are unfolded, the angle between the two can be approximately 180 degrees, that is, the first display part and the second display part of the electronic device are unfolded. The display surfaces of the display unit and the second display unit are on the same display surface, or the display surfaces of the first display unit and the second display unit are approximately on the same display surface. If the user needs to switch the current display mode of the picture, he rotates the first display part and the second display part at the same time, and controls the rotation angle of the first display part and the second display part to be smaller than the preset value (for example, 10 degrees). to switch the current display mode of the picture.

可以理解,在另一些实施方式中,在第一显示部以及第二显示部的转动情况满足第一预设条件的前提之下,第一显示部及第二显示部的转动方向可以不受限制,例如,第一显示部及第二显示部沿着朝向彼此折叠的方向转动的角度小于预设值;或者,第一显示部及第二显示部沿着背离彼此展开的方向转动的角度小于预设值;或者,第一显示部及第二显示部沿着朝向彼此折叠的方向转动的角度小于预设值并回转复位;或者,第一显示部及第二显示部沿着背离彼此展开的方向转动的角度小于预设值并回转复位,均可触发切换图片显示模式的命令。It can be understood that, in other embodiments, on the premise that the rotation of the first display part and the second display part satisfies the first preset condition, the rotation directions of the first display part and the second display part may not be restricted For example, the rotation angle of the first display part and the second display part in the direction of folding toward each other is smaller than the preset value; or, the rotation angle of the first display part and the second display part in the direction away from each other set value; or, the first display part and the second display part are rotated along the direction of folding toward each other by an angle less than the preset value and rotated to reset; or, the first display part and the second display part are unfolded in a direction away from each other The rotation angle is smaller than the preset value and the rotation reset can trigger the command to switch the picture display mode.

步骤S243:若当前的图片显示模式为图片缩放模式,且第一显示部及第二显示部的转动情况满足第二预设条件,根据该转动情况在第二显示部显示缩放后的图片。其中,第二预设条件包括:第一显示部及第二显示部的其中一个转动,且转动速度落入第二阈值范围。Step S243: If the current picture display mode is the picture zoom mode, and the rotation of the first display part and the second display part satisfies the second preset condition, display the zoomed picture on the second display part according to the rotation situation. Wherein, the second preset condition includes: one of the first display part and the second display part rotates, and the rotation speed falls within the second threshold range.

在步骤S243中,若第一显示部以及第二显示部中有且仅有一个显示部转动,则进一步判断第一显示部或第二显示部的转动速度。若第一显示部或第二显示部的转动速度落入第二阈值范围,则对当前显示的图片进行缩放,并在第二显示部显示缩放后的图片。第二阈值范围为由第二上限值以及第二下限值所确定的范围,当转动速度大于或等于第二下限值且小于第二上限值时,认为转动速度落入第二阈值范围。第二阈值范围可以与第一阈值范围相同或者不同,优选地,第二阈值范围可以小于第一阈值范围,也即,第二上限值可以小于或等于第一下限值,以避免对用户的转动操作及其意图产生误判。通过对转动速度的限定,能够避免对用户意图的误判,例如,当用户需要折叠电子设备时,第一显示部或第二显示部的转动速度通常会大于第二阈值范围,此时能够避免误判用户的操作意图,从而提高用户的使用体验。In step S243, if only one of the first display part and the second display part rotates, the rotation speed of the first display part or the second display part is further judged. If the rotational speed of the first display part or the second display part falls within the second threshold range, the currently displayed picture is zoomed, and the zoomed image is displayed on the second display part. The second threshold range is the range determined by the second upper limit value and the second lower limit value. When the rotation speed is greater than or equal to the second lower limit value and smaller than the second upper limit value, it is considered that the rotation speed falls within the second threshold value scope. The second threshold range may be the same as or different from the first threshold range, preferably, the second threshold range may be smaller than the first threshold range, that is, the second upper limit value may be smaller than or equal to the first lower limit value, so as to avoid user 's turning operation and its intent lead to misjudgment. By limiting the rotation speed, misjudgment of the user's intention can be avoided. For example, when the user needs to fold the electronic device, the rotation speed of the first display part or the second display part is usually greater than the second threshold range, which can be avoided at this time. Misjudging the user's operation intention, thereby improving the user's experience.

请参阅图9,对当前显示的图片进行缩放时,步骤S243可以包括步骤S2431~S2437。步骤S2431~S2437与上述的步骤S103~S107相对应,在本申请中,相同的执行步骤中的实施例、步骤或者手段可以相互参考,本说明书中不作一一赘述。Referring to FIG. 9, when zooming the currently displayed picture, step S243 may include steps S2431-S2437. Steps S2431-S2437 correspond to the above-mentioned steps S103-S107. In this application, the embodiments, steps or means of the same execution steps can be referred to each other, and will not be repeated in this specification.

步骤S2431:若当前的图片显示模式为图片缩放模式,在第一显示部显示待缩放图片。Step S2431: If the current picture display mode is the picture zoom mode, display the to-be-zoomed picture on the first display part.

在一些实施方式中,若当前的图片显示模式为图片缩放模式,在第一显示部以及第二显示部同时显示待缩放图片,第一显示部作为图片缩放操作的操作屏,第二显示部作为图片缩放的效果呈现屏,并用于显示缩放后的图片内容。请同时参阅图7,进一步地,第一显示部可以划分为第一预览区以及第一缩略图区,第一预览区用于显示待缩放图片,第一缩略图区用于显示待缩放图片所在的图片集的部分图片的缩略图。In some embodiments, if the current picture display mode is the picture zoom mode, the picture to be zoomed is displayed on the first display part and the second display part at the same time, the first display part is used as the operation screen for the image zoom operation, and the second display part is used as the image zoom operation screen. The effect of image zooming is displayed on the screen, and is used to display the zoomed image content. Please refer to FIG. 7 at the same time, further, the first display part can be divided into a first preview area and a first thumbnail area, the first preview area is used to display the image to be zoomed, and the first thumbnail area is used to display the location of the image to be zoomed. Thumbnails of partial images in the collection of images.

步骤S2433:在第一显示部的待缩放图片中确定待缩放的目标区域。Step S2433: Determine the target area to be zoomed in the image to be zoomed in the first display unit.

其中,该目标区域为需要进行缩放操作的区域,目标区域用于确定待缩放图中需要放大/缩小显示的区域,目标区域内的图片内容通过第二显示部显示。在一些实施方式中,可以根据用户的操作,在第一显示部的待缩放图片中确定待缩放的目标区域。在其他的一些实施方式中,可以通过电子设备提供的区域作为目标区域。The target area is an area that needs to be zoomed, the target area is used to determine the area to be enlarged/reduced in the to-be-zoomed image, and the image content in the target area is displayed by the second display unit. In some embodiments, the target area to be zoomed may be determined in the to-be-zoomed picture of the first display part according to the user's operation. In some other embodiments, the area provided by the electronic device can be used as the target area.

在一些实施方式中,当第一显示部以及第二显示部同时显示待缩放图片,且在第一显示部的待缩放图片中确定目标区域时,使第二显示部上的待缩放的目标区域的亮度高于其他区域的亮度。例如,将第二显示部的待缩放图片上除目标区域以外的区域的亮度调低或添加带有灰度的蒙版。In some embodiments, when the first display part and the second display part display the to-be-zoomed picture at the same time, and the target area is determined in the to-be-zoomed image of the first display part, the target area to be zoomed on the second display part is set. is brighter than other areas. For example, the brightness of an area other than the target area on the to-be-zoomed picture of the second display part is lowered or a mask with grayscale is added.

在另一些实施方式中,当第一显示部以及第二显示部同时显示待缩放图片,在第一显示部的待缩放图片中确定目标区域时,隐去第二显示部的待缩放图片上除目标区域以外的区域,也即,在第二显示部上仅显示待缩放的目标区域。进一步地,当第二显示部上仅显示待缩放的目标区域时,将目标区域的中心点与第二显示部的中心点大致重合,使目标区域大致位于第二显示部的中央部分。进一步地,在一些实施例中,当目标区域显示在第二显示部时,根据目标区域的尺寸以及第二显示部的尺寸,确定目标区域的初始放大倍数,对目标区域放大后在第二显示部中显示,使放大后的目标区域大致填充满第二显示部的横向尺寸或/及纵向尺寸。In other embodiments, when the first display part and the second display part simultaneously display the to-be-zoomed picture, and when the target area is determined in the to-be-zoomed image of the first display part, the upper and lower part of the to-be-zoomed image on the second display part is hidden. The area other than the target area, that is, only the target area to be zoomed is displayed on the second display part. Further, when only the target area to be zoomed is displayed on the second display part, the center point of the target area is approximately coincident with the center point of the second display part, so that the target area is approximately located in the center part of the second display part. Further, in some embodiments, when the target area is displayed on the second display portion, the initial magnification of the target area is determined according to the size of the target area and the size of the second display portion, and the target area is enlarged on the second display portion. display in the second display part, so that the enlarged target area approximately fills the horizontal size or/and the vertical size of the second display part.

步骤S2435:获取第一显示部以及第二显示部之间的角度变化信息,根据角度变化信息确定目标区域的缩放参数。Step S2435: Acquire the angle change information between the first display part and the second display part, and determine the zoom parameter of the target area according to the angle change information.

进一步地,若第一显示部以及第二显示部的转动情况满足第二预设条件,则进一步检测第一显示部及第二显示部之间的角度。当检测到第一显示部以及第二显示部之间的角度发生变化时,获取变化后的角度信息,根据变化后的角度信息,确定目标区域的缩放参数。其中,第一显示部以及第二显示部之间的角度可以增大或者减小。Further, if the rotation of the first display part and the second display part satisfies the second preset condition, the angle between the first display part and the second display part is further detected. When it is detected that the angle between the first display part and the second display part changes, the changed angle information is acquired, and the zoom parameter of the target area is determined according to the changed angle information. Wherein, the angle between the first display part and the second display part can be increased or decreased.

具体而言,检测到第一显示部以及第二显示部之间的角度发生变化后,实时地获取第一显示部以及第二显示部之间的角度,基于缩放参数与角度的对应关系,确定目标区域的缩放倍数。其中,该缩放倍数与角度之间的对应关系可以由预设的函数关系确定,例如,二者之间成正比例关系或者反比例关系等。其中,目标区域的缩放倍数,可以是基于第一显示部中图片的目标区域的尺寸大小而确定的缩放倍数,也可以是基于以初始放大倍数放大后的目标区域的尺寸大小而确定的缩放倍数,简而言之,目标区域的缩放倍数可以基于第一显示部的目标区域的大小确定,或者,当步骤S2435之前目标区域大致填充满第二显示部的横向尺寸或/及纵向尺寸时,目标区域的缩放倍数可以基于第二显示部的目标区域的大小确定。Specifically, after detecting that the angle between the first display part and the second display part changes, obtain the angle between the first display part and the second display part in real time, and determine the corresponding relationship between the zoom parameter and the angle based on the The zoom factor for the target area. The corresponding relationship between the zoom factor and the angle may be determined by a preset functional relationship, for example, a proportional relationship or an inverse proportional relationship between the two. The zoom factor of the target area may be a zoom factor determined based on the size of the target area of the picture in the first display unit, or may be a zoom factor determined based on the size of the target area enlarged by the initial zoom factor , in short, the zoom factor of the target area can be determined based on the size of the target area of the first display part, or, when the target area roughly fills the horizontal size and/or vertical size of the second display part before step S2435, the target area The zoom factor of the area may be determined based on the size of the target area of the second display part.

在一些实施方式中,判断第一显示部及第二显示部的转动情况是否满足第二预设条件时,第一显示部或/及第二显示部的转动速度可以体现为二者之间的角度的变化率,并根据该角度的变化率判断第一显示部及第二显示部的转动情况是否满足第二预设条件。具体而言,当第一显示部及第二显示部的其中一个转动,且第一显示部及第二显示部之间的角度变化率小于预设变化率时,可以确定第一显示部及第二显示部的转动速度落入第二阈值范围,则实时地获取第一显示部以及第二显示部之间的角度,并基于缩放参数与角度的对应关系,确定目标区域的缩放倍数。由此,可以直接通过角度检测模组检测第一显示部及第二显示部之间的角度,并根据该角度确定缩放倍数,而不需要设置任何速度传感器/运动传感器,因而能够有效降低电子的制造成本。In some embodiments, when judging whether the rotation of the first display part and the second display part satisfies the second preset condition, the rotation speed of the first display part or/and the second display part can be expressed as the difference between the two. The rate of change of the angle is determined, and according to the rate of change of the angle, it is determined whether the rotation of the first display part and the second display part satisfies the second preset condition. Specifically, when one of the first display part and the second display part rotates, and the angle change rate between the first display part and the second display part is smaller than the preset change rate, the first display part and the second display part can be determined. When the rotation speed of the second display part falls within the second threshold range, the angle between the first display part and the second display part is acquired in real time, and the zoom factor of the target area is determined based on the corresponding relationship between the zoom parameter and the angle. Therefore, the angle between the first display part and the second display part can be directly detected by the angle detection module, and the zoom factor can be determined according to the angle without any speed sensor/motion sensor, which can effectively reduce the electronic manufacturing cost.

步骤S2437:根据缩放参数,在第二显示部显示缩放后的图片。其中,缩放后的图片为根据缩放参数、以目标区域的中心为缩放中心,对目标区域进行缩放处理后获得。Step S2437: Display the zoomed picture on the second display part according to the zoom parameter. The zoomed image is obtained after zooming the target area according to the zoom parameter and taking the center of the target area as the zoom center.

进一步地,当电子设备确定缩放参数之后,电子设备根据缩放参数,对目标区域中的图片内容进行缩小或者放大处理,获得缩放后的图片,并将缩放后的图片显示在第二显示部中。当用户持续改变第一显示部以及第二显示部之间的角度大小时,第二显示部所显示的缩放后的图片的缩放参数也随着该角度的变化而变化。Further, after the electronic device determines the zoom parameter, the electronic device reduces or enlarges the image content in the target area according to the zoom parameter, obtains the zoomed image, and displays the zoomed image in the second display part. When the user keeps changing the size of the angle between the first display part and the second display part, the zoom parameter of the zoomed picture displayed by the second display part also changes with the change of the angle.

在一些实施方式中,可以根据第一显示部或第二显示部的转动方向确定缩放倍数为放大倍数或缩小倍数,则第二显示部所显示的目标区域根据第一显示部或第二显示部的转动方向不同而放大或缩小。例如,第一显示部或第二显示部沿着背离彼此展开的方向转动,则确定缩放倍数为缩小倍数,此时,第一显示部或第二显示部回转复位,则使第二显示部显示的目标区域放大并恢复至初始大小;或者,第一显示部或第二显示部沿着朝向彼此折叠的方向转动,则确定缩放倍数为放大倍数,此时,第一显示部或第二显示部回转复位,则使第二显示部显示的目标区域缩小并恢复至初始大小。In some implementation manners, the zoom factor may be determined according to the rotation direction of the first display part or the second display part as the enlargement factor or the reduction factor, and the target area displayed by the second display part is determined according to the first display part or the second display part. Zoom in or out depending on the direction of rotation. For example, if the first display part or the second display part is rotated in a direction away from each other, the zoom factor is determined as the zoom factor. At this time, the first display part or the second display part is rotated and reset, and the second display part is displayed The target area is enlarged and restored to its original size; or, if the first display part or the second display part is rotated in the direction of folding toward each other, the zoom factor is determined as the enlargement factor. At this time, the first display part or the second display part is Rotating to reset, the target area displayed on the second display part is reduced and restored to the original size.

步骤S245:若当前的图片显示模式为图片浏览模式,且第一显示部及第二显示部的转动情况满足第三预设条件,根据该转动情况切换第一显示部或/及第二显示部当前显示的图片。Step S245: If the current picture display mode is the picture browsing mode, and the rotation of the first display part and the second display part satisfies the third preset condition, switch the first display part or/and the second display part according to the rotation situation The currently displayed picture.

在一些实施方式中,第三预设条件可以理解为翻页条件,第三预设条件包括:第一显示部及第二显示部的其中一个转动,且转动速度落入第三阈值范围。切换当前显示的图片,应理解为通俗的翻页动作,也即,将当前显示图片切换为该图片所在图片集中的下一张图片或上一张图片。若电子设备得图片显示模式为图片浏览模式,则在第一显示部显示第一图片,在第二显示部显示第二图片。第一图片以及第二图片可以属于同一个图片集,第一图片和第二图片在图片集中的排序可以相邻或相间隔。In some embodiments, the third preset condition can be understood as a page turning condition, and the third preset condition includes: one of the first display part and the second display part rotates, and the rotation speed falls within the third threshold range. Switching the currently displayed picture should be understood as a common page turning action, that is, switching the currently displayed picture to the next picture or the previous picture in the picture set where the picture is located. If the picture display mode of the electronic device is the picture browsing mode, the first picture is displayed on the first display part, and the second picture is displayed on the second display part. The first picture and the second picture may belong to the same picture set, and the order of the first picture and the second picture in the picture set may be adjacent or spaced apart.

请参阅图10,进一步地,第一显示部可以划分为第一预览区以及第一缩略图区,第一预览区用于显示当前浏览的第一图片,第一缩略图区用于显示第一图片所在的图片集的部分图片的缩略图。第二显示部可以划分为第二预览区以及第二缩略图区,第二预览区用于显示当前浏览的第二图片,第二缩略图区用于显示第二图片所在的图片集的部分图片的缩略图。Please refer to FIG. 10, further, the first display part can be divided into a first preview area and a first thumbnail area, the first preview area is used to display the currently browsed first picture, and the first thumbnail area is used to display the first Thumbnail of part of the image in the collection the image is in. The second display part can be divided into a second preview area and a second thumbnail area. The second preview area is used to display the second picture currently being viewed, and the second thumbnail area is used to display some pictures of the picture set where the second picture is located. thumbnail.

在步骤S245中,若第一显示部以及第二显示部中有且仅有一个显示部转转动,则进一步判断当前转动的显示部的转动速度,若转动速度落入第三阈值范围,则切换当前转动的显示部所显示的图片。其中,第三阈值范围为由第三上限值以及第三下限值所确定的范围,当转动速度大于或等于第三下限值且小于第三上限值时,认为转动速度落入第三阈值范围。第三阈值范围可以与第一阈值范围相同或者不同,优选地,第三阈值范围可以小于第一阈值范围,也即,第三上限值可以小于或等于第一下限值,以避免对用户的转动操作及其意图产生误判。In step S245, if there is only one display part in the first display part and the second display part and only one display part rotates, the rotation speed of the currently rotating display part is further judged, and if the rotation speed falls within the third threshold range, then Switches the picture displayed on the currently rotating display. Wherein, the third threshold range is the range determined by the third upper limit value and the third lower limit value. When the rotation speed is greater than or equal to the third lower limit value and less than the third upper limit value, it is considered that the rotation speed falls within the third upper limit value. Three threshold ranges. The third threshold range may be the same as or different from the first threshold range, preferably, the third threshold range may be smaller than the first threshold range, that is, the third upper limit value may be smaller than or equal to the first lower limit value, so as to avoid user 's turning operation and its intent lead to misjudgment.

进一步地,判断第一显示部及第二显示部的转动情况是否满足第三预设条件时,第一显示部或/及第二显示部的转动速度可以体现为二者之间的角度的变化率,并根据该角度的变化率判断第一显示部及第二显示部的转动情况是否满足第三预设条件。具体而言,当第一显示部及第二显示部的其中一个转动,且第一显示部及第二显示部之间的角度变化率小于预设变化率时,可以确定第一显示部及第二显示部的转动速度落入第三阈值范围,则实时地获取第一显示部以及第二显示部之间的角度,并基于切换速度与角度的对应关系,确定图片的切换速度。由此,电子设备可以直接通过角度检测模组检测第一显示部及第二显示部之间的角度,并根据角度确定切换速度,而不需要设置任何速度传感器,能够有效降低电子的制造成本。Further, when judging whether the rotation of the first display part and the second display part satisfies the third preset condition, the rotation speed of the first display part or/and the second display part can be embodied as the change of the angle between them. rate, and according to the rate of change of the angle, it is judged whether the rotation of the first display part and the second display part satisfies the third preset condition. Specifically, when one of the first display part and the second display part rotates, and the angle change rate between the first display part and the second display part is smaller than the preset change rate, the first display part and the second display part can be determined. When the rotation speed of the second display part falls within the third threshold range, the angle between the first display part and the second display part is acquired in real time, and the switching speed of the picture is determined based on the corresponding relationship between the switching speed and the angle. Therefore, the electronic device can directly detect the angle between the first display part and the second display part through the angle detection module, and determine the switching speed according to the angle without any speed sensor, which can effectively reduce the electronic manufacturing cost.

在另一些实施方式中,第三预设条件可以包括:第一显示部及第二显示部的其中一个转动,转动的显示部沿着指定方向转动后回转,且其转动的最大角度落入预设角度范围内。例如,第一显示部沿着第一方向转动后回转,其转动的最大角度落入预设角度范围内;或者,第二显示部沿着第二方向转动后回转,其转动的最大角度落入预设角度范围内;其中,第一方向与第二方向相反。在具体的应用场景中,第一方向可以为第一显示部朝向第二显示部折叠时转动的方向,若第二显示部沿着第一方向转动,其实际上是相对第一显示部展开;第二方向可以为第一显示部背离第二显示部展开时转动的方向,若第二显示部沿着第二方向转动,其实际上是相对第一显示部折叠。以图2为例,第一方向为逆时针方向,第二方向为顺时针方向。In other embodiments, the third preset condition may include: one of the first display part and the second display part rotates, the rotating display part rotates in a specified direction and then rotates, and the maximum angle of its rotation falls within the preset angle. within the angle range. For example, the first display part rotates along the first direction and then rotates, and the maximum angle of its rotation falls within the preset angle range; or, the second display part rotates along the second direction and then rotates, and the maximum angle of its rotation falls within the range of the preset angle. within a preset angle range; wherein, the first direction is opposite to the second direction. In a specific application scenario, the first direction may be the direction in which the first display part rotates toward the second display part when it is folded. If the second display part rotates along the first direction, it is actually unfolded relative to the first display part; The second direction may be the direction in which the first display part rotates away from the second display part when unfolded. If the second display part rotates along the second direction, it is actually folded relative to the first display part. Taking FIG. 2 as an example, the first direction is a counterclockwise direction, and the second direction is a clockwise direction.

若第一显示部或第二显示部的转动情况满足上述第三预设条件,则切换第一显示部或第二显示部当前显示的图片。例如,在一些具体的应用场景中,用户控制第一显示部相对第二显示部折叠转动一定的角度后,再控制第一显示部相对第二显示部展开复位,也即第一显示部完成一个“折返”的动作,此时可以确定第一显示部的转动情况满足该第三预设条件,并切换当前显示的第一图片。在本实施例中,通过限制第一显示部以及第二显示部的运动方向,使图片的切换的触发动作大致呈现为一个“折返”的动作,有利于提高用户操作的可识别度,以防止动作的误判。If the rotation of the first display part or the second display part satisfies the above-mentioned third preset condition, the picture currently displayed by the first display part or the second display part is switched. For example, in some specific application scenarios, after the user controls the first display part to be folded and rotated by a certain angle relative to the second display part, and then controls the first display part to unfold and reset relative to the second display part, that is, the first display part completes a In the action of "turning back", at this time, it can be determined that the rotation of the first display part satisfies the third preset condition, and the currently displayed first picture is switched. In this embodiment, by restricting the movement directions of the first display part and the second display part, the triggering action of switching the picture is roughly presented as a "turning-back" action, which is beneficial to improve the recognizability of the user's operation and prevent the Misjudgment of action.

在一些实施例中,当第一显示部相对第二显示部转动时,可以根据第一显示部的转动方向来确定图片的切换顺序。具体而言,可以确定第一显示部的转动方向,若第一显示部沿第一方向转动,则将第一图片切换为其所在图集中的前一张图片;若第一显示部沿第二方向转动,则将第一图片切换为其在所属图集中的后一张图片。In some embodiments, when the first display part is rotated relative to the second display part, the switching sequence of the pictures can be determined according to the rotation direction of the first display part. Specifically, the rotation direction of the first display part can be determined. If the first display part rotates in the first direction, the first picture is switched to the previous picture in the atlas; Turn the direction to switch the first picture to the next picture in the atlas to which it belongs.

在一些实施方式中,当第一显示部相对第二显示部转动时,切换第一显示部的图片,而保持第二显示部当前所显示的图片不动,此时,可以便于用户根据需求对比第一显示部及第二显示部的图片。在其他的一些实施方式中,第一显示部相对第二显示部沿第一方向转动时,将第一图片切换为其所在图集中的前一张图片,同时将第二图片切换为其在所属图集中的前一张图片;第一显示部相对第二显示部沿第二方向转动时,将第一图片切换为其所在图集中的后一张图片,同时将第二图片切换为其在所属图集中的后一张图片。In some embodiments, when the first display part is rotated relative to the second display part, the picture of the first display part is switched, and the picture currently displayed by the second display part is kept unchanged. At this time, it is convenient for users to compare according to their needs. Pictures of the first display part and the second display part. In some other implementations, when the first display part rotates in the first direction relative to the second display part, the first picture is switched to the previous picture in the atlas, and the second picture is switched to the previous picture in the atlas at the same time. The previous picture in the atlas; when the first display part rotates in the second direction relative to the second display part, the first picture is switched to the next picture in the atlas, and the second picture is switched to the one in the atlas at the same time. The latter picture in the collection.

在一些实施例中,当第二显示部相对第一显示部转动时,可以根据第二显示部的转动方向来确定图片的切换顺序。具体而言,可以确定第二显示部的转动方向,若第二显示部沿第一方向转动,则将第二图片切换为其所在图集中的前一张图片;若第二显示部沿第二方向转动,则将第二图片切换为其在所属图集中的后一张图片。In some embodiments, when the second display part is rotated relative to the first display part, the switching sequence of the pictures can be determined according to the rotation direction of the second display part. Specifically, the rotation direction of the second display part can be determined, and if the second display part rotates in the first direction, the second picture is switched to the previous picture in the atlas; If the direction is rotated, the second picture will be switched to the next picture in the atlas to which it belongs.

在一些实施方式中,当第二显示部相对第一显示部转动时,切换第二显示部的图片,而保持第一显示部当前所显示的图片不动,此时,可以便于用户根据需求对比第二显示部及第二显示部的图片。在其他的一些实施方式中,第二显示部相对第一显示部沿第一方向转动时,将第一图片切换为其所在图集中的前一张图片,同时将第二图片切换为其在所属图集中的前一张图片;第二显示部相对第二显示部沿第二方向转动时,将第一图片切换为其所在图集中的后一张图片,同时将第二图片切换为其在所属图集中的后一张图片。In some embodiments, when the second display part rotates relative to the first display part, the picture of the second display part is switched, and the picture currently displayed by the first display part is kept unchanged. At this time, it is convenient for users to compare according to their needs. The second display part and the picture of the second display part. In some other implementations, when the second display part rotates in the first direction relative to the first display part, the first picture is switched to the previous picture in the atlas, and the second picture is switched to the previous picture in the atlas at the same time. The previous picture in the atlas; when the second display part rotates in the second direction relative to the second display part, the first picture is switched to the next picture in the atlas, and the second picture is switched to the one in the atlas at the same time. The latter picture in the collection.

在上述提供的实施方式中,当第一显示部及第二显示部的转动情况满足第三预设条件时,通过第一显示部或第二显示部的转动方向确定其上图片的切换方向,能够方便用户在手持电子设备观察图片时翻动所持的显示部进行翻页切换,而不必要再点触第一显示部或第二显示部翻页切换,操作较为便捷。In the embodiment provided above, when the rotation of the first display part and the second display part satisfies the third preset condition, the switching direction of the pictures on the first display part or the second display part is determined by the rotation direction of the first display part or the second display part, It is convenient for the user to flip the display part held by the handheld electronic device to observe the picture to switch pages, and it is unnecessary to touch the first display part or the second display part to switch pages, and the operation is more convenient.

在本申请提供的另一些实施方式中,当第一显示部及第二显示部的转动情况满足第三预设条件时,可以通过第一显示部或第二显示部的运动状况控制其上的图片进行切换,而省略转动方向判断的过程。具体而言,例如,当第一显示部相对第二显示部转动时(沿第一方向转动或沿第二方向转动时),将第一图片切换为其所在图集中的前一张图片,同时将第二图片切换为其在所属图集中的前一张图片;当第二显示部相对第一显示部转动时(沿第一方向转动或沿第二方向转动时),将第二图片切换为其所在图集中的后一张图片,同时将第一图片切换为其在所属图集中的后一张图片。In other embodiments provided in the present application, when the rotation of the first display part and the second display part satisfies the third preset condition, the motion state of the first display part or the second display part can be used to control the rotation of the first display part or the second display part. The picture is switched, and the process of judging the rotation direction is omitted. Specifically, for example, when the first display part is rotated relative to the second display part (rotated in the first direction or in the second direction), the first picture is switched to the previous picture in the atlas, and at the same time Switch the second picture to the previous picture in the atlas to which it belongs; when the second display part rotates relative to the first display part (rotating in the first direction or in the second direction), switch the second picture to The last picture in the atlas where it belongs, and the first picture is switched to the last picture in the atlas to which it belongs.

在一些实施方式中,可以根据第一显示部以及第二显示部之间的角度变化信息,确定当前转动的显示部,进而确定图片的切换速度。进一步地,若第一显示部以及第二显示部的转动情况满足第三预设条件,则进一步检测第一显示部及第二显示部之间的角度变化速率。当检测到第一显示部以及第二显示部之间的角度发生变化时,获取角度变化速率,根据角度变化速率确定图片的切换速度。其中,第一显示部以及第二显示部之间的角度可以增大或者减小。具体而言,检测到第一显示部以及第二显示部之间的角度发生变化后,实时地获第一显示部以及第二显示部之间的角度变化速率,基于切换速度与角度变化速率的对应关系,确定目标区域的切换速度。其中,该切换速度与角度变化速率之间的对应关系可以由预设的函数关系确定,例如,二者之间成正比例关系或者反比例关系等。In some embodiments, the currently rotated display portion may be determined according to the angle change information between the first display portion and the second display portion, and then the switching speed of the picture may be determined. Further, if the rotation of the first display part and the second display part satisfies the third preset condition, the angle change rate between the first display part and the second display part is further detected. When it is detected that the angle between the first display part and the second display part changes, the angle change rate is acquired, and the switching speed of the picture is determined according to the angle change rate. Wherein, the angle between the first display part and the second display part can be increased or decreased. Specifically, after detecting that the angle between the first display part and the second display part changes, the angle change rate between the first display part and the second display part is obtained in real time, based on the difference between the switching speed and the angle change rate. Corresponding relationship, determine the switching speed of the target area. The corresponding relationship between the switching speed and the angle change rate may be determined by a preset functional relationship, for example, a proportional relationship or an inverse proportional relationship between the two.

在本申请提供的图片显示方法中,允许用户在第一显示部操作以确定需要缩放的目标区域,且用户能够通过改变第一显示部以及第二显示部之间的角度大小,确定目标区域的缩放参数,并在第二显示部中显示缩放后的图像,能够避免用户在图片上操作图片缩放时遮挡图片内容的现象,并能够便捷地实现对目标区域的实时缩放和观察,能够提高用户观察图片时的体验。In the picture display method provided by the present application, the user is allowed to operate on the first display part to determine the target area to be zoomed, and the user can determine the size of the target area by changing the angle between the first display part and the second display part. zoom parameters, and display the zoomed image in the second display part, which can avoid the phenomenon that the user will block the content of the image when zooming the image on the image, and can conveniently realize real-time zooming and observation of the target area, which can improve the user's observation. experience when taking pictures.

请参阅图11,基于上述的图片显示方法,本申请实施方式还提供一种图片显示装置600,图11示出了图片显示装置600的结构框图。图片显示装置600运行于如图1所示的电子设备500上,其用于执行上述的图片显示方法。在本申请实施方式中,图片显示装置600被存储在电子设备500的存储器中,并被配置为由电子设备500的一个或多个处理器执行。Referring to FIG. 11 , based on the above picture display method, an embodiment of the present application further provides a picture display apparatus 600 , and FIG. 11 shows a structural block diagram of the picture display apparatus 600 . The picture display apparatus 600 runs on the electronic device 500 as shown in FIG. 1 , and is used for executing the above-mentioned picture display method. In the embodiment of the present application, the picture display apparatus 600 is stored in the memory of the electronic device 500 and is configured to be executed by one or more processors of the electronic device 500 .

具体在图11所示的实施例中,图片显示装置600包括图片缩放单元610,图片缩放单元610用户缩放图片。图片缩放单元610包括显示子单元612、目标区域确定子单元614、缩放参数确定子单元616以及缩放子单元618。可以理解的是,上述各单元/子单元可以为运行于计算机可读存储介质中的程序模块或程序单元,上述各个单元/子单元的用途及工作具体如下:Specifically, in the embodiment shown in FIG. 11 , the picture display apparatus 600 includes a picture scaling unit 610, and the picture scaling unit 610 allows the user to scale the picture. The picture scaling unit 610 includes a display subunit 612 , a target area determination subunit 614 , a scaling parameter determination subunit 616 , and a scaling subunit 618 . It can be understood that the above-mentioned units/sub-units may be program modules or program units running in a computer-readable storage medium, and the purpose and work of each of the above-mentioned units/sub-units are as follows:

显示子单元612用于在电子设备进入图片缩放模式时,控制第一显示部显示待缩放图片。The display subunit 612 is configured to control the first display part to display the to-be-zoomed image when the electronic device enters the image zoom mode.

目标区域确定子单元614用于在第一显示部的待缩放图片中确定待缩放的目标区域。进一步地,目标区域确定子单元614用于根据用户的操作,在第一显示部的待缩放图片中确定目标区域。在其他一些实施例中,目标区域确定子单元614用于通过电子设备提供的区域作为目标区域。The target area determination subunit 614 is configured to determine the target area to be zoomed in the to-be-zoomed picture of the first display unit. Further, the target area determination subunit 614 is configured to determine the target area in the to-be-zoomed picture on the first display part according to the user's operation. In some other embodiments, the target area determination subunit 614 is used for the area provided by the electronic device as the target area.

缩放参数确定子单元616用于获取第一显示部以及第二显示部之间的角度变化信息,根据角度变化信息确定目标区域的缩放参数。进一步地,缩放参数确定子单元616用于在第一显示部及第二显示部相对展开时,根据第一显示部及第二显示部之间的相对位置,确定第一显示部及第二显示部之间的角度。当缩放参数确定子单元616检测到第一显示部以及第二显示部之间的角度发生变化时,例如,第一显示部以及第二显示部相对折叠时二者之间的角度减小,或者第一显示部以及第二显示部相对展开时,二者之间的角度增大,则缩放参数确定子单元616获取变化后的角度信息,根据变化后的角度信息,确定目标区域的缩放参数。具体而言,缩放参数确定子单元616用于在检测第一显示部以及第二显示部之间的角度发生变化后,实时地获第一显示部以及第二显示部之间的角度,基于缩放参数与角度的对应关系,确定目标区域的缩放倍数。The zoom parameter determination subunit 616 is configured to acquire the angle change information between the first display part and the second display part, and determine the zoom parameter of the target area according to the angle change information. Further, the zoom parameter determination subunit 616 is configured to determine the first display part and the second display part according to the relative positions between the first display part and the second display part when the first display part and the second display part are relatively expanded the angle between the parts. When the zoom parameter determination subunit 616 detects that the angle between the first display part and the second display part changes, for example, the angle between the first display part and the second display part decreases when they are folded relative to each other, or When the first display part and the second display part are relatively expanded, and the angle between them increases, the zoom parameter determination subunit 616 obtains the changed angle information, and determines the zoom parameter of the target area according to the changed angle information. Specifically, the zoom parameter determination subunit 616 is configured to obtain the angle between the first display part and the second display part in real time after detecting that the angle between the first display part and the second display part changes, and based on the zoom The corresponding relationship between the parameter and the angle determines the zoom factor of the target area.

缩放子单元618用于据缩放参数,在第二显示部显示缩放后的图片。具体而言,缩放子单元618用于根据缩放参数、以目标区域的中心为缩放中心,对目标区域中的图片内容进行缩放处理后获得缩放后的图片,也即,对目标区域进行缩放获得缩放后的图片。The scaling subunit 618 is configured to display the scaled picture on the second display part according to the scaling parameter. Specifically, the zooming subunit 618 is configured to perform zoom processing on the image content in the target area and obtain a zoomed image according to the zoom parameter, taking the center of the target area as the zoom center, that is, zooming the target area to obtain the zoomed image. post picture.

请参阅图12,基于上述的图片显示方法,本申请实施方式还提供另一种图片显示装置700,图12示出了图片显示装置700的结构框图。图片显示装置700运行于如图1所示的电子设备500上,其用于执行上述的图片显示方法。在本申请实施方式中,图片显示装置700被存储在电子设备500的存储器中,并被配置为由电子设备500的一个或多个处理器执行。Referring to FIG. 12 , based on the above-mentioned picture display method, an embodiment of the present application further provides another picture display apparatus 700 , and FIG. 12 shows a structural block diagram of the picture display apparatus 700 . The picture display apparatus 700 runs on the electronic device 500 as shown in FIG. 1 , and is used for executing the above-mentioned picture display method. In the embodiment of the present application, the picture display apparatus 700 is stored in the memory of the electronic device 500 and is configured to be executed by one or more processors of the electronic device 500 .

具体在图12所示的实施例中,图片显示装置700包括图片浏览模块710、转动情况获取模块730以及图片内容控制模块750。可以理解的是,上述各模块可以为运行于计算机可读存储介质中的程序模块或程序单元,上述各个模块的用途及工作具体如下:Specifically, in the embodiment shown in FIG. 12 , the picture display apparatus 700 includes a picture browsing module 710 , a rotation situation acquiring module 730 , and a picture content control module 750 . It can be understood that the above-mentioned modules can be program modules or program units running in a computer-readable storage medium, and the purpose and work of each of the above-mentioned modules are as follows:

图片浏览模块710用于在电子设备进入图片浏览界面时,确定图片的显示模式,并以该显示模式在第一显示部以及第二显示部显示图片。在本实施方式中,图片的显示模式至少包括图片缩放模式、图片浏览模式、缩略图模式中的任意两种。在图片缩放模式下,图片浏览模块710用于在可折叠屏显示图片集中的任一图片或默认图片,并允许用户对该图片进行缩放操作。在图片浏览模式下,图片浏览模块710用于在可折叠屏显示图片集中的任一个或两个图片,或显示默认的一个或两个图片,并允许用户对该图片进行翻页或切换。在缩略图模式中,图片浏览模块710用于在可折叠屏以缩略图的形式显示图片集中的任意多个图片的集合,并允许用户在该集合中选择任意图片进入浏览模式或缩放模式。The picture browsing module 710 is configured to determine the display mode of the picture when the electronic device enters the picture browsing interface, and display the picture on the first display part and the second display part in the display mode. In this embodiment, the display mode of the picture includes at least any two of the picture zoom mode, the picture browsing mode, and the thumbnail mode. In the picture zoom mode, the picture browsing module 710 is used to display any picture in the picture set or the default picture on the foldable screen, and allow the user to perform a zoom operation on the picture. In the picture browsing mode, the picture browsing module 710 is used to display any one or two pictures in the picture set on the foldable screen, or display one or two default pictures, and allow the user to turn pages or switch the pictures. In the thumbnail mode, the picture browsing module 710 is used to display a collection of any number of pictures in the picture collection in the form of thumbnails on the foldable screen, and allows the user to select any picture in the collection to enter the browsing mode or the zooming mode.

在一些实施方式中,电子设备进入图片浏览界面时,图片浏览模块710用于确定图片的显示模式为图片缩放模式、图片浏览模式、缩略图模式中的任意一种。在另一些实施方式中,电子设备进入图片浏览界面时,图片浏览模块710用于以历史显示模式显示图片;其中,历史显示模式为电子设备上一次退出图片浏览界面时的图片的显示模式。进一步地,当电子设备退出图片浏览界面时,图片浏览模块710用于将退出前的图片显示模式保存为历史显示模式,以利于电子设备下一次进入图片浏览界面时,图片浏览模块710能够直接获取历史显示模式。In some embodiments, when the electronic device enters the picture browsing interface, the picture browsing module 710 is configured to determine that the display mode of the picture is any one of the picture zoom mode, the picture browsing mode, and the thumbnail mode. In other embodiments, when the electronic device enters the picture browsing interface, the picture browsing module 710 is configured to display the picture in a historical display mode, wherein the historical display mode is the display mode of the picture when the electronic device exited the picture browsing interface last time. Further, when the electronic device exits the picture browsing interface, the picture browsing module 710 is used to save the picture display mode before the exit as a historical display mode, so that when the electronic device enters the picture browsing interface next time, the picture browsing module 710 can directly obtain the information. History display mode.

转动情况获取模块730用于获取第一显示部以及第二显示部的转动情况。进一步地,转动情况获取模块730用于通过电子设备的运动传感器检测第一显示部以及第二显示部的转动情况。The rotation situation acquiring module 730 is configured to acquire the rotation situation of the first display part and the second display part. Further, the rotation situation acquiring module 730 is configured to detect the rotation situation of the first display part and the second display part through the motion sensor of the electronic device.

图片内容控制模块750用于根据第一显示部以及第二显示部的转动情况,控制可折叠屏所显示的图片内容。进一步地,图片内容控制模块750用于根据当前的图片显示模式以及该转动情况,控制可折叠屏所显示的图片内容,对于不同的图片显示模式,控制可折叠屏所显示的图片内容时,可以采用不同的控制命令控制可折叠屏所显示的图片内容,使可折叠屏所显示的图片内容根据用户的需求改变。该控制命令可以包括但不限于包括:切换图片的显示模式、缩放图片、切换当前显示的图片、确定用户指定的图片进入浏览模式、确定用户指定的图片进入图片缩放模式。The picture content control module 750 is configured to control the picture content displayed on the foldable screen according to the rotation of the first display part and the second display part. Further, the picture content control module 750 is used to control the picture content displayed on the foldable screen according to the current picture display mode and the rotation situation. For different picture display modes, when controlling the picture content displayed on the foldable screen, you can Different control commands are used to control the picture content displayed on the foldable screen, so that the picture content displayed on the foldable screen can be changed according to the needs of the user. The control command may include, but is not limited to, switching the display mode of the picture, zooming the picture, switching the currently displayed picture, determining that the user-specified picture enters the browsing mode, and determining that the user-specified picture enters the picture zooming mode.

图片内容控制模块750包括模式切换单元752、图片缩放单元754以及图片切换单元756。The picture content control module 750 includes a mode switching unit 752 , a picture scaling unit 754 and a picture switching unit 756 .

模式切换单元752用于当第一显示部以及第二显示部的转动情况满足第一预设条件时,切换图片的显示模式。在本实施方式中,第一预设条件包括:第一显示部以及第二显示部均向相反的方向转动后回转,第一显示部以及第二显示部转动的最大角度落入预设角度范围内。模式切换单元752用于在该转动情况满足该第一预设条件时,切换图片的当前显示模式。The mode switching unit 752 is configured to switch the display mode of the picture when the rotation of the first display part and the second display part satisfies the first preset condition. In this embodiment, the first preset condition includes: both the first display part and the second display part rotate in opposite directions and then rotate, and the maximum angle of rotation of the first display part and the second display part falls within the preset angle range Inside. The mode switching unit 752 is configured to switch the current display mode of the picture when the rotation condition satisfies the first preset condition.

图片缩放单元754用于在图片缩放模式下,第一显示部及第二显示部的转动情况满足第二预设条件时,根据该转动情况在第二显示部显示缩放后的图片。。其中,第二预设条件包括:第一显示部及第二显示部的其中一个转动,且转动速度落入第二阈值范围。图片缩放单元754包括显示子单元7542、目标区域确定子单元7544、缩放参数确定子单元7546以及缩放子单元7548。The picture scaling unit 754 is configured to display the scaled picture on the second display portion according to the rotation condition when the rotation of the first display portion and the second display portion satisfies the second preset condition in the picture scaling mode. . Wherein, the second preset condition includes: one of the first display part and the second display part rotates, and the rotation speed falls within the second threshold range. The picture scaling unit 754 includes a display subunit 7542 , a target area determination subunit 7544 , a scaling parameter determination subunit 7546 and a scaling subunit 7548 .

显示子单元7542用于在第一显示部显示待缩放图片。进一步地,显示子单元用于在第一显示部以及第二显示部同时显示待缩放图片,第一显示部可以划分为第一预览区以及第一缩略图区,显示子单元7542用于在第一预览区显示待缩放图片,显示子单元7542用于在第一缩略图区显示待缩放图片所在的图片集的部分图片的缩略图。The display subunit 7542 is used to display the to-be-zoomed picture on the first display part. Further, the display subunit is used to simultaneously display the to-be-zoomed picture on the first display part and the second display part, the first display part can be divided into a first preview area and a first thumbnail area, and the display subunit 7542 is used to display the image to be zoomed in the first display part. A preview area displays the to-be-zoomed picture, and the display subunit 7542 is configured to display, in the first thumbnail area, thumbnails of some pictures in the picture set where the to-be-zoomed picture is located.

目标区域确定子单元7544用于在第一显示部的待缩放图片中确定待缩放的目标区域。进一步地,目标区域确定子单元7544用于根据用户的操作,在第一显示部的待缩放图片中确定目标区域。在其他一些实施例中,目标区域确定子单元7544用于通过电子设备提供的区域作为目标区域。The target area determination subunit 7544 is configured to determine the target area to be zoomed in the to-be-zoomed picture of the first display unit. Further, the target area determination subunit 7544 is configured to determine the target area in the to-be-zoomed picture in the first display part according to the user's operation. In some other embodiments, the target area determination subunit 7544 is used for the area provided by the electronic device as the target area.

进一步地,显示子单元7542还用于将目标区域确定子单元7544所确定的目标区域的图片内容显示在第二显示部。在一些实施方式中,显示子单元7542还用于在第一显示部以及第二显示部同时显示待缩放图片,当目标区域确定子单元7544在第一显示部的待缩放图片中确定待缩放的目标区域时,显示子单元7542还用于使第二显示部上的待缩放的目标区域的亮度高于其他区域的亮度。例如,显示子单元7542用于将第二显示部的待缩放图片上除目标区域以外的区域的亮度调低或添加带有灰度的蒙版。Further, the display subunit 7542 is further configured to display the picture content of the target area determined by the target area determination subunit 7544 on the second display part. In some embodiments, the display subunit 7542 is further configured to display the to-be-zoomed picture on the first display part and the second display part at the same time. When the target area determination sub-unit 7544 determines the to-be-zoomed image in the to-be-zoomed image on the first display part When the target area is selected, the display subunit 7542 is further configured to make the brightness of the target area to be scaled on the second display part higher than the brightness of other areas. For example, the display subunit 7542 is configured to lower the brightness of the area other than the target area on the to-be-zoomed picture of the second display part or add a mask with grayscale.

在另一些实施方式中,当第一显示部以及第二显示部同时显示待缩放图片,在第一显示部的待缩放图片中确定目标区域时,显示子单元7542还用于隐去第二显示部的待缩放图片上除目标区域以外的区域,也即,显示子单元7542还用于在第二显示部上仅显示待缩放的目标区域。进一步地,在一些实施例中,当目标区域显示在第二显示部时,显示子单元7542还用于根据目标区域的尺寸以及第二显示部的尺寸,确定目标区域的初始放大倍数,对目标区域放大后在第二显示部中显示,使放大后的目标区域大致填充满第二显示部的横向尺寸或/及纵向尺寸。In other embodiments, when the first display part and the second display part display the to-be-zoomed picture at the same time, and the target area is determined in the to-be-zoomed image of the first display part, the display subunit 7542 is further configured to hide the second display The area other than the target area on the picture to be zoomed on the second display unit, that is, the display subunit 7542 is also used to display only the target area to be zoomed on the second display unit. Further, in some embodiments, when the target area is displayed on the second display part, the display subunit 7542 is further configured to determine the initial magnification of the target area according to the size of the target area and the size of the second display part, The enlarged area is displayed on the second display part, so that the enlarged target area approximately fills the horizontal size or/and the vertical size of the second display part.

缩放参数确定子单元7546用于获取第一显示部以及第二显示部之间的角度变化信息,根据角度变化信息确定目标区域的缩放参数。进一步地,缩放参数确定子单元7546用于在第一显示部及第二显示部相对展开时,根据第一显示部及第二显示部之间的相对位置,确定第一显示部及第二显示部之间的角度。当缩放参数确定子单元7546检测到第一显示部以及第二显示部之间的角度发生变化时,例如,第一显示部以及第二显示部相对折叠时二者之间的角度减小,或者第一显示部以及第二显示部相对展开时,二者之间的角度增大,则缩放参数确定子单元7546获取变化后的角度信息,根据变化后的角度信息,确定目标区域的缩放参数。具体而言,缩放参数确定子单元7546用于在检测第一显示部以及第二显示部之间的角度发生变化后,实时地获第一显示部以及第二显示部之间的角度,基于缩放参数与角度的对应关系,确定目标区域的缩放倍数。The zoom parameter determination subunit 7546 is configured to acquire the angle change information between the first display part and the second display part, and determine the zoom parameter of the target area according to the angle change information. Further, the zoom parameter determination subunit 7546 is used to determine the first display part and the second display part according to the relative positions between the first display part and the second display part when the first display part and the second display part are relatively expanded the angle between the parts. When the zoom parameter determination subunit 7546 detects that the angle between the first display part and the second display part changes, for example, the angle between the first display part and the second display part decreases when they are folded relative to each other, or When the first display part and the second display part are relatively expanded, and the angle between them increases, the zoom parameter determination subunit 7546 obtains the changed angle information, and determines the zoom parameter of the target area according to the changed angle information. Specifically, the zoom parameter determination subunit 7546 is configured to obtain the angle between the first display part and the second display part in real time after detecting that the angle between the first display part and the second display part changes, and based on the zoom The corresponding relationship between the parameter and the angle determines the zoom factor of the target area.

缩放子单元7548用于据缩放参数,在第二显示部显示缩放后的图片。具体而言,缩放子单元7548用于根据缩放参数、以目标区域的中心为缩放中心,对目标区域中的图片内容进行缩放处理后获得缩放后的图片,也即,对目标区域进行缩放获得缩放后的图片。The zoom subunit 7548 is used for displaying the zoomed picture on the second display part according to the zoom parameter. Specifically, the scaling subunit 7548 is configured to, according to the scaling parameters, take the center of the target area as the scaling center, perform scaling processing on the picture content in the target area to obtain a scaled picture, that is, perform scaling on the target area to obtain a scaled picture post picture.

图片切换单元756用于在图片浏览模式下,第一显示部及第二显示部的转动情况满足第三预设条件时,根据该转动情况切换第一显示部或第二显示部当前显示的图片。The picture switching unit 756 is configured to, in the picture browsing mode, when the rotation of the first display part and the second display part satisfies the third preset condition, switch the picture currently displayed by the first display part or the second display part according to the rotation situation .

在一些实施方式中,当第一显示部相对第二显示部转动时,图片切换单元756用于根据第一显示部的转动方向来确定图片的切换顺序。具体而言,图片切换单元756用于确定第一显示部的转动方向,若第一显示部沿第一方向转动,则将第一图片切换为其所在图集中的前一张图片;若第一显示部沿第二方向转动,则将第一图片切换为其在所属图集中的后一张图片。In some embodiments, when the first display part is rotated relative to the second display part, the picture switching unit 756 is configured to determine the switching sequence of the pictures according to the rotation direction of the first display part. Specifically, the picture switching unit 756 is used to determine the rotation direction of the first display part. If the first display part rotates in the first direction, the first picture is switched to the previous picture in the atlas; When the display part is rotated in the second direction, the first picture is switched to the next picture in the atlas to which it belongs.

在另一些实施方式中,当第一显示部相对第二显示部转动时,图片切换单元756用于切换第一显示部的图片,而保持第二显示部当前所显示的图片不动。在其他的一些实施方式中,第一显示部相对第二显示部沿第一方向转动时,图片切换单元756用于将第一图片切换为其所在图集中的前一张图片,同时将第二图片切换为其在所属图集中的前一张图片;第一显示部相对第二显示部沿第二方向转动时,图片切换单元756用于将第一图片切换为其所在图集中的后一张图片,同时将第二图片切换为其在所属图集中的后一张图片。In other embodiments, when the first display part rotates relative to the second display part, the picture switching unit 756 is configured to switch the picture of the first display part, while keeping the picture currently displayed on the second display part unchanged. In some other embodiments, when the first display part rotates in the first direction relative to the second display part, the picture switching unit 756 is configured to switch the first picture to the previous picture in the atlas where it is located, and at the same time switch the second picture The picture is switched to the previous picture in the atlas to which it belongs; when the first display part rotates in the second direction relative to the second display part, the picture switching unit 756 is used to switch the first picture to the latter one in the atlas to which it belongs. picture, and switch the second picture to the next picture in the atlas to which it belongs.

在本申请提供的上述实施例中,允许用户在第一显示部操作以确定需要缩放的目标区域,且用户能够通过改变第一显示部以及第二显示部之间的角度大小,确定目标区域的缩放参数,并在第二显示部中显示缩放后的图像,能够避免用户在图片上操作图片缩放时遮挡图片内容的现象,并能够便捷地实现对目标区域的实时缩放和观察,能够提高用户观察图片时的体验。In the above-mentioned embodiment provided in this application, the user is allowed to operate on the first display part to determine the target area that needs to be zoomed, and the user can determine the size of the target area by changing the angle between the first display part and the second display part. zoom parameters, and display the zoomed image in the second display part, which can avoid the phenomenon that the user will block the content of the image when zooming the image on the image, and can conveniently realize real-time zooming and observation of the target area, which can improve the user's observation. experience when taking pictures.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本申请所提供的几个实施例中,所显示或讨论的模块相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and modules, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here. In several embodiments provided in this application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be electrical, mechanical or otherwise.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.

请参阅图13,在实际的应用场景中,电子设备500可作为智能手机终端进行使用,在这种情况下,电子设备500通常还包括一个或多个(图13中仅示出一个)如下部件:处理器102、存储器104、拍摄模块108、音频电路110、输入模块118、电源模块122、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器104中并被配置为由一个或多个处理器102执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。本领域普通技术人员可以理解,图13所示的结构仅为示意,其并不对电子设备500的结构造成限定。例如,电子设备500还可包括比图13中所示更多或者更少的组件,或者具有与图13所示不同的配置。Referring to FIG. 13 , in an actual application scenario, the electronic device 500 can be used as a smart phone terminal. In this case, the electronic device 500 usually further includes one or more (only one shown in FIG. 13 ) the following components : processor 102, memory 104, camera module 108, audio circuit 110, input module 118, power module 122, and one or more application programs, wherein one or more application programs may be stored in memory 104 and configured as Executed by one or more processors 102, one or more programs are configured to perform the methods described in the foregoing method embodiments. Those of ordinary skill in the art can understand that the structure shown in FIG. 13 is only for illustration, and does not limit the structure of the electronic device 500 . For example, the electronic device 500 may also include more or fewer components than shown in FIG. 13 , or have a different configuration than that shown in FIG. 13 .

处理器102可以包括一个或者多个处理核。处理器102利用各种接口和线路连接整个电子设备500内的各个部分,通过运行或执行存储在存储器104内的指令、程序、代码集或指令集,以及调用存储在存储器104内的数据,执行电子设备500的各种功能和处理数据。可选地,处理器102可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器102可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器102中,单独通过一块通信芯片进行实现。The processor 102 may include one or more processing cores. The processor 102 uses various interfaces and lines to connect various parts of the entire electronic device 500, and executes by running or executing the instructions, programs, code sets or instruction sets stored in the memory 104, and calling the data stored in the memory 104. Various functions of the electronic device 500 and processing data. Optionally, the processor 102 may employ at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA). implemented in hardware. The processor 102 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of the display content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 102, and is implemented by a communication chip alone.

存储器104可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器104可用于存储指令、程序、代码、代码集或指令集。存储器104可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备500在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 104 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 104 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing the operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like. The storage data area may also store data (such as phone book, audio and video data, chat record data) created by the electronic device 500 during use.

拍摄模块108可以为摄像头,其设置于可折叠壳体组件100,其用于执行拍摄任务,例如,用于拍摄照片、视频或者进行可视电话通话等。音频电路110、扬声器101、声音插孔103、麦克风105共同提供用户与电子设备500之间的音频接口。具体地,音频电路110从处理器102处接收声音数据,将声音数据转换为电信号,将电信号传输至扬声器101。扬声器101将电信号转换为人耳能听到的声波。音频电路110还从麦克风105处接收电信号,将电信号转换为声音数据,并将声音数据传输给处理器102以进行进一步的处理。The photographing module 108 may be a camera, which is disposed in the foldable housing assembly 100 and is used for performing photographing tasks, for example, for photographing photos, videos, or making video phone calls. The audio circuit 110 , the speaker 101 , the sound jack 103 , and the microphone 105 collectively provide an audio interface between the user and the electronic device 500 . Specifically, the audio circuit 110 receives sound data from the processor 102 , converts the sound data into electrical signals, and transmits the electrical signals to the speaker 101 . The speaker 101 converts electrical signals into sound waves that can be heard by the human ear. Audio circuitry 110 also receives electrical signals from microphone 105, converts the electrical signals into sound data, and transmits the sound data to processor 102 for further processing.

本实施例中,输入模块118可包括设置在可折叠屏200上的触摸屏109,触摸屏109可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏109上或在触摸屏109附近的操作),并根据预先设定的程序驱动相应的连接装置。除了触摸屏109,在其它变更实施方式中,输入模块118还可以包括其他输入设备,如按键107或麦克风105。按键107例如可包括用于输入字符的字符按键,以及用于触发控制功能的控制按键。控制按键的实例包括“返回主屏”按键、开机/关机按键等等。麦克风105可以用于接收用户的语音命令。In this embodiment, the input module 118 may include the touch screen 109 disposed on the foldable screen 200, and the touch screen 109 may collect the user's touch operations on or near the touch screen 109 (for example, the user uses a finger, a stylus, or any other suitable object or accessory to operation on or near the touch screen 109 ), and drive the corresponding connection device according to a preset program. In addition to the touch screen 109 , the input module 118 may also include other input devices, such as buttons 107 or a microphone 105 , in other alternative embodiments. The keys 107 may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of control buttons include a "back to home screen" button, a power on/off button, and the like. Microphone 105 may be used to receive the user's voice commands.

可折叠屏200用于显示由用户输入的信息、提供给用户的信息以及电子设备500的各种图形用户界面,这些图形用户界面可以由图形、文本、图标、数字、视频和其任意组合来构成,在一个实例中,触摸屏109可设置于可折叠屏200上从而与可折叠屏200构成一个整体。The foldable screen 200 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic device 500, which may be composed of graphics, text, icons, numbers, videos, and any combination thereof In one example, the touch screen 109 can be disposed on the foldable screen 200 to form a whole with the foldable screen 200 .

电源模块122用于向处理器102以及其他各组件提供电力供应。具体地,电源模块122可包括电源管理装置、一个或多个电源(如电池或者交流电)、充电电路、电源失效检测电路、逆变器、电源状态指示灯以及其他任意与电子组件或可折叠屏200内电力的生成、管理及分布相关的组件。The power module 122 is used to provide power supply to the processor 102 and various other components. Specifically, the power module 122 may include a power management device, one or more power sources (eg, batteries or alternating current), charging circuits, power failure detection circuits, inverters, power status indicators, and any other electronic components or foldable screens 200 Components related to the generation, management and distribution of electricity.

应当理解的是,上述的电子设备500并不局限于智能手机终端,其应当指可以在移动中使用的计算机设备。具体而言,电子设备500,是指搭载了智能操作装置的移动计算机设备,电子设备500包括但不限于智能手机、智能手表、笔记本、平板电脑、POS机甚至包括车载电脑,等等。It should be understood that the above-mentioned electronic device 500 is not limited to a smart phone terminal, but should refer to a computer device that can be used on the move. Specifically, the electronic device 500 refers to a mobile computer device equipped with an intelligent operating device. The electronic device 500 includes but is not limited to smartphones, smart watches, notebooks, tablet computers, POS machines, and even vehicle computers, and so on.

请参考图14,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读存储介质800中存储有程序代码,程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 14 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable storage medium 800 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.

计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非瞬时性计算机可读存储介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。The computer readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. Computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products. Program code 810 may be compressed, for example, in a suitable form.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,描述的具体特征或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example Or a feature is included in at least one embodiment or example of the present application. In this specification, the particular features or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读存储介质中,以供指令执行装置、装置或设备(如基于计算机的装置、包括处理器的装置或其他可以从指令执行装置、装置或设备取指令并执行指令的装置)使用,或结合这些指令执行装置、装置或设备而使用。就本说明书而言,"计算机可读存储介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行装置、装置或设备或结合这些指令执行装置、装置或设备而使用的装置。计算机可读存储介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子设备),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读存储介质甚至可以是可在其上打印程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得程序,然后将其存储在计算机存储器中。Logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, and may be embodied in any computer-readable storage medium , for use by an instruction execution apparatus, apparatus or apparatus (such as a computer-based apparatus, an apparatus including a processor, or other apparatus that can fetch instructions from and execute instructions from an instruction execution apparatus, apparatus, or apparatus), or in conjunction with such instruction execution apparatus, device or equipment. For the purposes of this specification, a "computer-readable storage medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by or in conjunction with an instruction execution apparatus, apparatus, or apparatus . More specific examples (non-exhaustive list) of computer-readable storage media include the following: electrical connections with one or more wiring (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM) , Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). Additionally, the computer-readable storage medium may even be paper or other suitable medium on which the program may be printed, as it may be possible, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable means as necessary Process to obtain the program electronically and then store it in computer memory.

应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行装置执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of this application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by suitable instruction execution means. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed when the program is executed. , including one or a combination of the steps of the method embodiment. In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations to the present application. Embodiments are subject to variations, modifications, substitutions and variations.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (14)

1. a kind of image display method, applied to the electronic equipment with foldable screen, the foldable screen is for showing picture Collection;The foldable screen includes the first display unit and the second display unit for being connected to first display unit, and described first is aobvious Show that portion and second display unit are relatively rotatable to each other;The image display method includes:
Obtain the current display size of picture in the pictures;
Obtain the rotation situation of first display unit and second display unit;
According to the rotation situation and the current display size, the desired display size of the picture is determined;And
The picture in the pictures is shown with the desired display size.
2. the method as described in claim 1, which is characterized in that the current display size for obtaining picture in the pictures Before, the method also includes:
When the electronic equipment enters picture browsing interface, the display pattern of the picture is determined, and exist with the display pattern First display unit and second display unit show the picture;Wherein, the display pattern contracts including at least picture Mode playback, picture browsing mode, any two kinds in thumbnail mode;
If the display pattern is thumbnail mode, foldable screen is for showing the pictures.
3. method according to claim 2, which is characterized in that the method also includes: if first display unit and described The rotation situation of second display unit meets switching condition, then switches the current display mode of the picture.
4. method according to claim 2, which is characterized in that aobvious described first if the display pattern is zoom mode The portion of showing is shown to scaling pictures;The method also includes:
Obtain the rotation situation of first display unit and second display unit;
The zooming parameter to scaling pictures is determined according to the rotation situation;And
Picture according to the zooming parameter, after second display unit display scaling.
5. method as claimed in claim 4, which is characterized in that described to show in first display unit to scaling pictures, packet It includes: showing in first display unit to scaling pictures, described to determine target area to be scaled in scaling pictures;
It is described that the zooming parameter to scaling pictures is determined according to the rotation situation, comprising: to obtain first display unit And the angle change information between second display unit, the contracting of the target area is determined according to the angle change information Put parameter;
Picture after the scaling be according to the zooming parameter, using the center of the target area as scaling center, to described Target area obtains after zooming in and out processing.
6. method as claimed in claim 5, which is characterized in that determine the contracting to scaling pictures according to the rotation situation Put parameter, comprising: according to the size of the target area and the size of second display unit, determine the target area Initial amplification factor;
The picture according to the zooming parameter, after second display unit display scaling, comprising: initially put according to described Big multiple amplifies the target area, and shows the amplified target area in second display unit.
7. method as claimed in claim 5, which is characterized in that described in the target to be scaled to determination in scaling pictures Region, comprising: the area of the initial position slided on first display unit according to user and final position formation predetermined shape Domain is as target area;Alternatively, described to provide presumptive area on scaling pictures as target area, wherein described predetermined Position, shape and/or the size in region are determined by user.
8. method according to claim 2, which is characterized in that if the display pattern is picture browsing mode, described the One display unit shows the first picture, shows second picture in second display unit;The method also includes:
Obtain the rotation situation of first display unit and second display unit;And
If the rotation situation meets page turning condition, switch first picture and/or the second picture.
9. method according to claim 2, which is characterized in that when switching first picture and/or the second picture, root According to the rotation situation of the first display unit and the second display unit, the switching direction or transfer sequence of picture are determined.
10. method according to claim 2, which is characterized in that if the electronic equipment starts pictures, it is determined that the electricity Sub- equipment enters picture browsing interface;The pictures include any one of following pictures: the local of the electronic equipment Picture library, the local photograph album of the electronic equipment, network picture library, network album.
11. method according to claim 2, which is characterized in that when the electronic equipment enters picture browsing interface, default is true The display pattern of the picture is determined for any one in picture zoom mode, picture browsing mode, thumbnail mode;
Alternatively, showing the picture when electronic equipment enters picture browsing interface with history display mode;It is wherein described to go through Logotype is the display pattern of picture when exiting the picture browsing interface electronic equipment last time.
12. a kind of image display apparatus, which is characterized in that applied to the electronic equipment with foldable screen, the foldable screen For showing pictures;The foldable screen includes the first display unit and the second display for being connected to first display unit Portion, first display unit and second display unit are relatively rotatable to each other;The image display apparatus includes:
Size adjusting unit, for obtaining the current display size of picture in the pictures;
Rotation situation acquiring unit, for obtaining the rotation situation of first display unit and second display unit;It is described Size adjusting unit is also used to determine the desired display of the picture according to the rotation situation and the current display size Size;And
Display unit, for showing the picture in the pictures with the desired display size.
13. a kind of electronic equipment, which is characterized in that including foldable screen, the foldable screen includes the first display unit and company It is connected to the second display unit of first display unit, first display unit and second display unit are relatively rotatable to each other;Institute State electronic equipment further include: one or more processors, memory and one or more application program, wherein it is one or Multiple application programs are stored in the memory and are configured as being executed by one or more of processors, one Or multiple programs are configured to carry out such as method of any of claims 1-11.
14. a kind of computer readable storage medium, which is characterized in that be stored with program generation in the computer readable storage medium Code, said program code can be called by processor and execute the image display method of any of claims 1-11.
CN201910200060.0A 2019-03-15 2019-03-15 Image display method and device, electronic device and storage medium Expired - Fee Related CN109947320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910200060.0A CN109947320B (en) 2019-03-15 2019-03-15 Image display method and device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910200060.0A CN109947320B (en) 2019-03-15 2019-03-15 Image display method and device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN109947320A true CN109947320A (en) 2019-06-28
CN109947320B CN109947320B (en) 2021-06-15

Family

ID=67008986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910200060.0A Expired - Fee Related CN109947320B (en) 2019-03-15 2019-03-15 Image display method and device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN109947320B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377213A (en) * 2019-07-12 2019-10-25 Oppo广东移动通信有限公司 Control method, electronic equipment and the computer readable storage medium of electronic equipment
CN111142616A (en) * 2019-12-04 2020-05-12 维沃移动通信有限公司 Image display method and electronic equipment
CN111177442A (en) * 2019-12-30 2020-05-19 维沃移动通信有限公司 Display control method and electronic equipment
CN111880873A (en) * 2020-07-10 2020-11-03 北京小米移动软件有限公司 Display processing method and device and computer storage medium
WO2022022177A1 (en) * 2020-07-28 2022-02-03 华为技术有限公司 Display method and electronic device
CN114299447A (en) * 2021-12-24 2022-04-08 武汉工程大学 A blind obstacle avoidance device and method based on improved YOLOv3
CN114813328A (en) * 2022-03-30 2022-07-29 河北光兴半导体技术有限公司 Flexible glass bending test device and method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020149605A1 (en) * 2001-04-12 2002-10-17 Grossman Peter Alexander System and method for manipulating an image on a screen
US20100058254A1 (en) * 2008-08-29 2010-03-04 Tomoya Narita Information Processing Apparatus and Information Processing Method
CN103631509A (en) * 2012-08-20 2014-03-12 三星电子株式会社 Electronic device and method for changing an object according to a bending state
CN103914269A (en) * 2013-01-09 2014-07-09 联想(北京)有限公司 Electronic equipment
CN104460961A (en) * 2013-09-22 2015-03-25 联想(北京)有限公司 State switching method and electronic equipment
CN104798011A (en) * 2012-10-04 2015-07-22 三星电子株式会社 Flexible display apparatus and control method thereof
CN105446786A (en) * 2015-12-30 2016-03-30 广东欧珀移动通信有限公司 Interaction interface mode switching method and device
CN105980972A (en) * 2014-02-10 2016-09-28 三星电子株式会社 User terminal device and display method thereof
CN105980955A (en) * 2014-02-10 2016-09-28 三星电子株式会社 User terminal device and display method thereof
CN106055247A (en) * 2016-05-25 2016-10-26 努比亚技术有限公司 Picture display device, method and mobile terminal
CN106936982A (en) * 2017-01-14 2017-07-07 惠州Tcl移动通信有限公司 Terminal and its display methods with flexible display screen
CN108475110A (en) * 2015-12-28 2018-08-31 三星电子株式会社 Method for controlling content and electronic device thereof

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020149605A1 (en) * 2001-04-12 2002-10-17 Grossman Peter Alexander System and method for manipulating an image on a screen
US20100058254A1 (en) * 2008-08-29 2010-03-04 Tomoya Narita Information Processing Apparatus and Information Processing Method
CN103631509A (en) * 2012-08-20 2014-03-12 三星电子株式会社 Electronic device and method for changing an object according to a bending state
CN104798011A (en) * 2012-10-04 2015-07-22 三星电子株式会社 Flexible display apparatus and control method thereof
CN103914269A (en) * 2013-01-09 2014-07-09 联想(北京)有限公司 Electronic equipment
CN104460961A (en) * 2013-09-22 2015-03-25 联想(北京)有限公司 State switching method and electronic equipment
CN105980972A (en) * 2014-02-10 2016-09-28 三星电子株式会社 User terminal device and display method thereof
CN105980955A (en) * 2014-02-10 2016-09-28 三星电子株式会社 User terminal device and display method thereof
CN108475110A (en) * 2015-12-28 2018-08-31 三星电子株式会社 Method for controlling content and electronic device thereof
CN105446786A (en) * 2015-12-30 2016-03-30 广东欧珀移动通信有限公司 Interaction interface mode switching method and device
CN106055247A (en) * 2016-05-25 2016-10-26 努比亚技术有限公司 Picture display device, method and mobile terminal
CN106936982A (en) * 2017-01-14 2017-07-07 惠州Tcl移动通信有限公司 Terminal and its display methods with flexible display screen

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377213A (en) * 2019-07-12 2019-10-25 Oppo广东移动通信有限公司 Control method, electronic equipment and the computer readable storage medium of electronic equipment
CN110377213B (en) * 2019-07-12 2021-04-09 Oppo广东移动通信有限公司 Control method of electronic device, electronic device, and computer-readable storage medium
CN111142616A (en) * 2019-12-04 2020-05-12 维沃移动通信有限公司 Image display method and electronic equipment
CN111142616B (en) * 2019-12-04 2022-04-26 维沃移动通信有限公司 Image display method and electronic equipment
CN111177442A (en) * 2019-12-30 2020-05-19 维沃移动通信有限公司 Display control method and electronic equipment
CN111880873A (en) * 2020-07-10 2020-11-03 北京小米移动软件有限公司 Display processing method and device and computer storage medium
WO2022022177A1 (en) * 2020-07-28 2022-02-03 华为技术有限公司 Display method and electronic device
CN114299447A (en) * 2021-12-24 2022-04-08 武汉工程大学 A blind obstacle avoidance device and method based on improved YOLOv3
CN114813328A (en) * 2022-03-30 2022-07-29 河北光兴半导体技术有限公司 Flexible glass bending test device and method

Also Published As

Publication number Publication date
CN109947320B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN109947320A (en) Picture display method and device, electronic equipment and storage medium
US11348201B2 (en) Electronic device having rollable display and method of controlling the same
CN102053781B (en) Terminal and control method thereof
JP7005646B2 (en) Shooting method and terminal
KR102685608B1 (en) Electronic device for providing camera preview image and operating method thereof
US8543166B2 (en) Mobile terminal equipped with flexible display and controlling method thereof
US8959458B2 (en) Mobile terminal and method of controlling the mobile terminal
CN109947383B (en) Display control method, device, mobile terminal and storage medium
CN109976633A (en) Interface interaction method and device, electronic equipment and storage medium
KR20210068097A (en) Method for controlling display of system navigation bar, graphical user interface and electronic device
JP4591798B2 (en) Terminal device and program
KR20170093658A (en) Electronic device comprising multiple displays and method for controlling thereof
CN106998428A (en) The image pickup method and mobile terminal of a kind of mobile terminal
KR20100082451A (en) Foldable display device and operation method thereof
KR20140143526A (en) Method for controlling electronic device based on camera, machine-readable storage medium and electronic device
CN107407945A (en) From the system and method for screen locking capture images
CN109806589B (en) Virtual object control method and device, electronic device and storage medium
CN109040351B (en) Camera control method, device, mobile terminal and storage medium
CN110278295A (en) Display method, display device, mobile terminal and storage medium
US12050832B2 (en) Screenshot display method and apparatus, and terminal device
WO2020253295A1 (en) Control method and apparatus, and terminal device
US11934651B2 (en) Mobile terminal with multiple screens and mapped coordinates
CN103116460B (en) Method for moving window between multi-screen devices and dual-display communication device
CN112567325A (en) Information processing apparatus, information processing method, and computer program
CN108924422A (en) A kind of panorama photographic method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210615