WO2023082888A1 - 界面显示方法、装置、电子设备以及可读存储介质 - Google Patents

界面显示方法、装置、电子设备以及可读存储介质 Download PDF

Info

Publication number
WO2023082888A1
WO2023082888A1 PCT/CN2022/122466 CN2022122466W WO2023082888A1 WO 2023082888 A1 WO2023082888 A1 WO 2023082888A1 CN 2022122466 W CN2022122466 W CN 2022122466W WO 2023082888 A1 WO2023082888 A1 WO 2023082888A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
image acquisition
image
interface
display
Prior art date
Application number
PCT/CN2022/122466
Other languages
English (en)
French (fr)
Inventor
卢胤婷
陆承昊
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023082888A1 publication Critical patent/WO2023082888A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1686Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being an integrated camera
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the technical field of terminals, and more specifically, to an interface display method, device, electronic equipment, and readable storage medium.
  • the present application proposes an interface display method, device, electronic equipment and readable storage medium to improve the above problems.
  • the present application provides an interface display method applied to an electronic device
  • the electronic device includes a foldable device body, an image acquisition component, a first screen and a second screen, the first screen and the second screen
  • the screens are oppositely arranged on both sides of the device body, wherein the first screen can be folded along with the device body, and when the device body is in a folded state, the first screen is located on the side of the device body
  • the method including: when the image acquisition program performs image acquisition through the image acquisition component, acquiring the device posture of the device body; according to the device posture of the device body and the corresponding image acquisition program
  • the interface content controls the content displayed on at least one of the first screen and the second screen.
  • the present application provides an interface control device that runs on an electronic device, and the electronic device includes a foldable device body, an image acquisition component, a first screen and a second screen, and the first screen and the second screen
  • the screens are oppositely arranged on both sides of the device body, wherein the first screen can be folded along with the device body, and when the device body is in a folded state, the first screen is located on the side of the device body Inside; the device, including: a posture acquisition unit, used to acquire the device posture of the device main body when the image collection program performs image collection through the image collection component; a display control unit, used to obtain the device posture according to the device
  • the device posture of the subject and the interface content corresponding to the image acquisition program control the content displayed on at least one of the first screen and the second screen.
  • the present application provides an electronic device, which includes a foldable device body, an image acquisition component, a first screen, and a second screen; the first screen and the second screen are arranged opposite to the The two sides of the device body, wherein the first screen can be folded along with the device body, and when the device body is in a folded state, the first screen is located inside the device body; the image acquisition The component includes a first front camera, a second front camera and a rear camera, the first front camera is arranged on the side where the first screen is located, and the rear camera is arranged on the side where the second screen is located, And the rear camera and the second screen are relatively arranged on both sides of the folded position of the main body of the device, the second front camera is arranged at the second screen, and the electronic device further includes a processor and a memory; One or more programs are stored in the memory and configured to be executed by the processor to implement the above-mentioned methods.
  • the present application provides a computer-readable storage medium, where program code is stored in the computer-readable storage medium, wherein the above method is executed when the program code is executed by a processor.
  • FIG. 1 shows a schematic diagram of an electronic device in a hovering state in an embodiment of the present application
  • FIG. 2 shows a schematic diagram of an electronic device in a hovering state in an embodiment of the present application
  • FIG. 3 shows a schematic diagram of an electronic device in an unfolded state in an embodiment of the present application
  • FIG. 4 shows a schematic diagram of an electronic device in a folded state in an embodiment of the present application
  • Fig. 5 shows a flow chart of an interface display method proposed by the embodiment of the present application
  • FIG. 6 shows a schematic diagram of dividing the device body into a first part and a second part based on the folding position of the device body in an embodiment of the present application
  • Fig. 7 shows the schematic diagram of folding angle in the embodiment of the present application.
  • FIG. 8 shows a schematic diagram of the folding angle representing the unfolded state of the electronic device in the embodiment of the present application
  • FIG. 9 shows a schematic diagram of the folding angle indicating that the electronic device is in a folded state in the embodiment of the present application.
  • FIG. 10 shows a schematic diagram of a folding angle indicating that the electronic device is in a hovering state in the embodiment of the present application
  • Fig. 11 shows a schematic diagram of another hovering state of the electronic device represented by the folding angle in the embodiment of the present application
  • Fig. 12 shows a flow chart of an interface display method proposed by another embodiment of the present application.
  • Fig. 13 shows the flow chart of the first screen display image acquisition operation interface in the embodiment of the present application
  • FIG. 14 shows a schematic diagram of a user of an electronic device taking pictures of other users in the embodiment of the present application
  • Fig. 15 shows a schematic diagram of the second screen displaying the preview screen corresponding to the captured user in the embodiment of the present application
  • Fig. 16 shows a schematic diagram of simultaneously displaying the image acquisition operation interface and the captured image browsing interface on the first screen in the embodiment of the present application
  • FIG. 17 shows a schematic diagram of switching and displaying currently displayed captured images in the embodiment of the present application.
  • Fig. 18 shows a schematic diagram of operation controls corresponding to captured images in the embodiment of the present application
  • Fig. 19 shows a schematic diagram of the sharing operation interface in the embodiment of the present application.
  • Fig. 20 shows a schematic diagram of the marking operation interface in the embodiment of the present application.
  • Fig. 21 shows a schematic diagram of an interface switching operation in the embodiment of the present application.
  • Fig. 22 shows a schematic diagram of another interface switching operation in the embodiment of the present application.
  • Fig. 23 shows a flow chart of an interface display method proposed by another embodiment of the present application.
  • Fig. 24 shows a flow chart of an interface display method proposed by another embodiment of the present application.
  • Fig. 25 shows a schematic diagram of the operating controls and the preview screen arranged on both sides of the folded position of the device body in the embodiment of the present application;
  • Fig. 26 shows a flow chart of an interface display method proposed by another embodiment of the present application.
  • Fig. 27 shows a flow chart of viewing angles of the first screen in the embodiment of the present application.
  • Fig. 28 shows a schematic diagram in which the operation controls and the preview screen are both set on one side of the folded position of the main body of the device in the embodiment of the present application;
  • Fig. 29 shows a schematic diagram of another interface switching operation in the embodiment of the present application.
  • Fig. 30 shows a schematic diagram of another interface switching operation in the embodiment of the present application.
  • Fig. 31 shows a structural block diagram of an interface control device proposed in the embodiment of the present application.
  • FIG. 32 shows a structural block diagram of an electronic device for performing an interface display method according to an embodiment of the present application
  • Fig. 33 is a storage unit for storing or carrying program codes for realizing the interface display method according to the embodiment of the present application according to the embodiment of the present application.
  • the inventor proposes an interface display method, device, electronic equipment and readable storage medium.
  • the electronic device includes a foldable device body, an image acquisition component, a first screen, and a second screen, and the first screen and the second screen are arranged on opposite sides of the device body, wherein the first The screen can be folded along with the device body, and when the device body is in a folded state, the first screen is located inside the device body.
  • the first screen and the second screen are The method of controlling the content displayed on at least one screen of the device enables the electronic device to flexibly adapt to different device postures, so that the electronic device can adaptively display the interface of the image acquisition program in different postures.
  • an electronic device involved in the embodiment of the present application includes a foldable device body 101 , an image acquisition component, a first screen 102 and a second screen 103 .
  • the first screen 102 and the second screen 103 are disposed on opposite sides of the device body 101 , wherein the first screen 102 can be folded along with the device body 101 .
  • the image acquisition component includes a first front camera 104 , a second front camera 105 and a rear camera 106 .
  • the first front camera 104 is set at the side of the first screen 101
  • the second front camera 105 is set at the second screen 103 .
  • the rear camera 106 is disposed on the side where the second screen 103 is located, and the rear camera 106 and the second screen 103 are relatively disposed on both sides of the folded position of the device body 101 (the position indicated by the dotted line in FIGS. 1 and 2 ).
  • the device posture of the device main body 101 of the electronic device in the embodiment of the present application may have three situations.
  • the device body may include an unfolded state, a folded state, and a hovering state.
  • the unfolded state can be shown in Figure 3
  • the folded state can be shown in Figure 4
  • the hovering state can be shown in Figure 1, Figure 2, Figure 7, Figure 10, and Figure 11, that is, the hovering state is between completely The state between the expanded state and the fully collapsed state.
  • an interface display method provided by an embodiment of the present application is applied to an electronic device, and the electronic device includes a foldable device body, an image acquisition component, a first screen, and a second screen.
  • the first screen The second screen is arranged opposite to the two sides of the device body, wherein the first screen can be folded along with the device body, and when the device body is in a folded state, the first screen is located on the the inside of the device body; the method, comprising:
  • S110 Acquire the device posture of the device main body when the image capture program performs image capture through the image capture component.
  • the image acquisition program is a program for controlling the image acquisition component of the electronic device to perform image acquisition.
  • the image acquisition program may control the image acquisition component to take pictures or perform video recording.
  • the image acquisition program corresponds to interface content, and the interface content can be used to display the image content collected by the image acquisition component in real time, and can also provide controls for the user to operate.
  • the electronic device may locally create a parameter file, and store the current device posture of the device body of the electronic device through the parameter file.
  • the manner in which the electronic device specifically detects the device posture of the device body is not specifically limited in the embodiment of the present application, and the methods for detecting the device posture of the device body in related technologies can all be applied in the embodiments of the present application.
  • the posture of the device may be determined by detecting the folding angle of the device body.
  • the folding angle represents an angle between two parts obtained by dividing the device main body with the folding position of the device main body as a dividing line.
  • the device body can be divided into a first part 10 and a second part 20 by the folding position of the device body (at the dotted line in Figure 6), and the angle between the first part 10 and the second part 20 is shown in Figure 7
  • the detected device posture can be stored in the parameter file.
  • the device posture of the device body can be obtained by directly reading the parameter file.
  • S120 Control the content displayed on at least one of the first screen and the second screen according to the device posture of the device body and the interface content corresponding to the image acquisition program.
  • the visible display areas of the first screen and the second screen included in the electronic device are different.
  • the first screen of the electronic device is surrounded by the device body. Therefore, the first screen is in a state invisible to the user.
  • the external second screen is used to display the interface content corresponding to the image acquisition program.
  • the electronic device can select a screen from the first screen and the second screen to display the image acquisition program as required.
  • the corresponding interface content, or the first screen and the second screen may also display the corresponding interface content of the image acquisition program.
  • the first screen and the second screen are displayed.
  • the method of controlling the content displayed on at least one of the screens enables the electronic device to flexibly adapt to different device postures, so that the electronic device can adaptively display the interface of the image acquisition program in different postures.
  • an interface display method provided by an embodiment of the present application is applied to an electronic device, and the electronic device includes a foldable device body, an image acquisition component, a first screen, and a second screen.
  • the first screen The second screen is arranged opposite to the two sides of the device body, wherein the first screen can be folded along with the device body, and when the device body is in a folded state, the first screen is located on the The inner side of the device main body;
  • the image acquisition component includes a first front camera and a rear camera, the first front camera is arranged on the side where the first screen is located, and the rear camera is arranged on the second screen
  • the side where the rear camera is located and the second screen are relatively arranged on both sides of the folded position of the main body of the device;
  • S210 Acquire the device posture of the device main body when the image capture program performs image capture through the image capture component.
  • S220 If the device posture indicates that the device body is in an unfolded state, control the first screen to display an image acquisition operation interface corresponding to the image acquisition program, where the image acquisition operation interface includes an operation control and a preview image display area , and the preview image captured by the first front camera or the rear camera is displayed in the preview image display area.
  • the image acquisition operation interface 30 includes an area 31 , an area 32 and an area 33 .
  • area 31 is an area for displaying a preview screen.
  • Area 32 and area 33 are correspondingly displayed with operation controls.
  • the electronic device when the main body of the device is in the unfolded state, the electronic device may also control the second screen to display the interface content corresponding to the image acquisition program synchronously.
  • the electronic device can control the second screen to synchronously display the preview image when the electronic device is currently capturing the preview image through the rear camera after sensing its own position in the preview image. In this manner, the electronic device may directly trigger the second screen to synchronously display the preview image when it detects that the rear camera captures the preview image. It can be understood that if the first screen is facing the user using the electronic device, the second screen will be facing the user being photographed, then by synchronously displaying the preview screen on the second screen, the user being photographed can also Perceive your own position in the captured picture, so as to improve the imaging effect of the shooting.
  • the user on the right can take pictures of the user on the left through the electronic device, and, as shown in Figure 15, the information collected by the electronic device about the user on the left
  • the preview screen may be displayed on the second screen 103 of the electronic device.
  • the image acquisition operation interface further includes a screen switching control.
  • the method provided in this embodiment further includes: if there is an operation acting on the screen switching control, controlling the second screen to display the The above image acquisition operation interface, and control the first screen off screen.
  • the image collection operation interface also includes a screen switching control
  • the method provided in this embodiment also includes: if The operation acting on the screen switching control controls the second screen to display the preview image synchronously. In this manner, the electronic device may trigger the second screen to synchronously display the preview image in response to an operation acting on the screen switching control.
  • the electronic device currently collects a preview image through the rear camera, and the image collection operation interface also includes an interface zoom control.
  • the method provided in this embodiment further includes: if there is an operation acting on the interface zoom control, zooming out The area occupied by the image acquisition operation interface is added, and a captured image browsing interface is displayed on the first screen, and the captured image browsing interface includes captured images and operation controls corresponding to the captured images.
  • a captured image browsing interface 40 is additionally displayed, and the captured image browsing interface 40 includes an area 41 and an area 42, where the area 41 is used to display the captured image, and the area 42 is used to display the operation control corresponding to the captured image.
  • the captured image browsing interface can also be displayed on the right side of the image collection operation interface.
  • the electronic device may switch the captured image browsing interface to be displayed on the right side of the image collection operation interface.
  • the image displayed in the area 41 may be switched.
  • the order of switching may be the shooting order corresponding to the captured images.
  • the currently displayed captured image can be Switches to the image obtained from the previous capture. If it is detected that there is a sliding operation acting on the currently displayed captured image along the direction indicated by the dotted arrow in the right image in FIG. 17 , the currently displayed captured image can be switched to the subsequent captured image.
  • the operation controls corresponding to the captured images may include a share operation control 421 , a mark operation control 422 , a clip operation control 423 , and a delete operation control 424 .
  • a sharing operation interface 43 as shown in FIG. 19 may be displayed.
  • a program interface that can be used as a sharing path is provided.
  • the marking operation interface 44 as shown in FIG. 20 may be displayed.
  • the selected image can be marked.
  • the sharing operation interface shown in FIG. 19 can be triggered directly through the sharing operation control.
  • the image clipping program that comes with the operating system in the electronic device or a third-party image clipping program installed in the electronic device can be called to clip the image currently displayed in the area 41 . If there is an operation for deleting the operation control, the image currently displayed in the area 41 can be deleted from the electronic device.
  • the area occupied by the image acquisition operation interface is reduced, and the captured image browsing interface is displayed on the first screen. It includes: if there is an operation acting on the screen switching control, then controlling the second screen to display the preview image synchronously; or if there is an operation acting on the interface zoom control, increasing the size of the first screen. The area occupied by the image acquisition operation interface, and the display of the captured image browsing interface is canceled. It should be noted that, in the case of displaying the image acquisition operation interface and the captured image browsing interface as shown in FIG. 18 , if an operation acting on the screen switching control is detected again, the displayed The image browsing interface is captured, and the area occupied by the image acquisition operation interface in the first screen is increased, so that the first screen returns to the state shown in FIG. 13 .
  • the image acquisition component also includes a second front camera, the second front camera is set at the second screen, the electronic device currently collects a preview image through the first front camera, and the image acquisition operation
  • the interface also includes a screen switching control, and the method also includes:
  • the electronic device currently collects a preview image through the first front camera
  • the image collection operation interface also includes an interface zoom control
  • the method further includes: if there is an operation that acts on the interface zoom control , then switch to capture the preview screen by the rear camera, reduce the area occupied by the image acquisition operation interface, and increase the display of the captured image browsing interface on the first screen, and the captured image browsing interface includes The latest captured image and the operation controls corresponding to the image.
  • the image acquisition component also includes a second front camera
  • the second front camera is set at the second screen
  • the image acquisition operation interface also includes front and rear cameras.
  • Camera switching control and screen switching control if there is an operation that acts on the interface zoom control, then switch to capture the preview image by the rear camera, reduce the area occupied by the image acquisition operation interface, and After adding the image browsing interface displayed in the first screen above, it also includes:
  • switching is performed by the first front camera to capture a preview image; if there is an operation acting on the switching control of the screen, switching is performed by the second front camera Collecting a preview image, and controlling the screen of the first screen; or, if there is an operation acting on the zoom control of the interface, switching to capture a preview image by the first front camera, increasing the size of the first screen.
  • the area occupied by the image acquisition operation interface, and the display of the captured image browsing interface is canceled.
  • Figure 21 shows that in this embodiment, in a specific interface state (the first screen is displaying the image acquisition operation interface, and the second screen is off screen) and the corresponding lens state, perform the corresponding operation (click the screen After switching the control or clicking the interface zoom control), the result of the state change.
  • Figure 22 shows that in this embodiment, in another specific interface state (the first screen simultaneously displays the image acquisition operation interface and the captured image browsing interface, and the second screen is off screen) and the corresponding lens state , after performing the corresponding operation (click the screen switch control or click the interface zoom control), the result of the state change.
  • an interface display method by acquiring the device posture of the device body, and then according to the device posture of the device body and the interface content corresponding to the image acquisition program, the first screen and the second screen are displayed.
  • the method of controlling the content displayed on at least one of the screens enables the electronic device to flexibly adapt to the unfolded state, so that the electronic device can adaptively display the interface of the image acquisition program in the unfolded state.
  • the interface content can be flexibly switched further according to the configured screen switching control and interface zooming control, which further improves the The interface display adaptability of the electronic device in the unfolded state.
  • an interface display method provided by this embodiment is applied to an electronic device, and the electronic device includes a foldable device body, an image acquisition component, a first screen and a second screen, the first screen and the second screen
  • the second screen is oppositely arranged on both sides of the device body, wherein the first screen can be folded along with the device body, and when the device body is in a folded state, the first screen is located on the device body
  • the image acquisition component includes a second front camera, and the second front camera is arranged at the second screen; the method includes:
  • S310 Acquire the device posture of the device main body when the image capture program performs image capture through the image capture component.
  • S320 If the device posture indicates that the device body is in a folded state, control the second screen to display an image acquisition operation interface corresponding to the image acquisition program, the image acquisition operation interface includes operation controls and a preview screen display area, the preview image display area displays the preview image captured by the second front camera.
  • the image acquisition component also includes a rear camera, the rear camera is arranged on the side where the second screen is located, and the rear camera and the second screen are relatively arranged on the folded side of the main body of the device
  • the image acquisition operation interface also includes a screen switching control, and if the device posture indicates that the device body is in a folded state, control the second screen to display the image acquisition program corresponding to the image acquisition program.
  • the operation interface it further includes: if there is an operation acting on the screen switching control, switching to capture a preview image by the rear camera.
  • an interface display method by acquiring the device posture of the device body, and then according to the device posture of the device body and the interface content corresponding to the image acquisition program, the first screen and the second screen are displayed.
  • the method of controlling the content displayed on at least one of the screens enables the electronic device to flexibly adapt to the unfolded state, so that the electronic device can adaptively display the interface of the image acquisition program in the folded state.
  • the interface content can be switched flexibly according to the configured screen switching control and interface zooming control, which further improves the The interface display adaptability of the electronic device in the folded state.
  • an interface display method provided by this embodiment is applied to an electronic device, and the electronic device includes a foldable device body, an image acquisition component, a first screen and a second screen, the first screen and the second screen
  • the second screen is oppositely arranged on both sides of the device body, wherein the first screen can be folded along with the device body, and when the device body is in a folded state, the first screen is located on the device body
  • the image acquisition component includes a first front camera and a rear camera, the first front camera is arranged on the side where the first screen is located, and the rear camera is arranged on the side where the second screen is located side, and the rear camera and the second screen are relatively arranged on both sides of the folded position of the main body of the device, the method includes:
  • S410 Acquire the device posture of the device main body when the image capture program performs image capture through the image capture component.
  • S420 If the device posture indicates that the device body is in a hovering state and the folding angle of the device body is greater than a specified angle, control the first screen to display an image acquisition operation interface corresponding to the image acquisition program, and the image acquisition
  • the operation interface includes an operation control and a preview image display area, and the preview image collected by the first front camera or the rear camera is displayed in the preview image display area, wherein the operation control and the preview image display area are opposite to each other. Located on either side of the device body in the folded position.
  • the device posture of the device body may be as shown in FIG. 10 .
  • all areas in the first screen are relatively easy to be seen by the user.
  • the operation control and preview screen display areas can be respectively set on the main body of the device. Both sides of the folded position.
  • the region 61 for displaying operation controls and the region 62 for displaying a preview image may be respectively located on both sides of the folded position (the position of the dotted line in the image).
  • the method provided in this embodiment may include:
  • S430 Acquire the device posture of the device main body when the image capture program performs image capture through the image capture component.
  • S440 If the device posture indicates that the device body is in a hovering state and the folding angle of the device body is smaller than a specified angle, control the first screen to display an image acquisition operation interface corresponding to the image acquisition program, and the image acquisition
  • the operation interface includes an operation control and a preview image display area, and the preview image collected by the first front camera or the rear camera is displayed in the preview image display area, and the operation control and preview image display area Located on the same side as the folded position of the device body.
  • the device posture of the device body may be as shown in FIG. 27 .
  • the operation controls and the display area of the preview image are located on the same side of the folded position (the dotted line position in FIG. 28 ) of the main body of the device.
  • the electronic device may divide the first screen into two display areas based on the folding position of the device main body, correspondingly,
  • the method provided in this embodiment further includes: if the device posture indicates that the device body is in a hovering state and the folding angle of the device body is smaller than a specified angle, acquiring the gyroscope of the electronic device data; based on the data collected by the gyroscope, select a display area from the first display area and the second display area of the first screen to display the operation control and the preview screen, wherein the first display area and the second display area The second display area is respectively located on opposite sides of the folded position of the device main body.
  • the data collected by the gyroscope of the electronic device may represent the current placement attitude of the electronic device. If the device body is in the hovering state and the folding angle of the device body is smaller than a specified angle, the areas that are easily visible to the user on the first screen of the electronic device in different placement postures are different. For example, if the electronic device is placed on the desktop in the manner shown in FIG. It is easier for users to see. Therefore, selecting an area for content display from the first screen by using the data collected by the gyroscope can help improve the intelligence of the content display on the first screen.
  • the image acquisition component may also include a second front camera, the second front camera is arranged at the second screen, the image acquisition operation interface also includes a screen switching control, and the electronic device is configured by The first front-facing camera captures a preview screen, and if the device posture indicates that the device body is in a hovering state, after controlling the first screen to display the image capture operation interface corresponding to the image capture program, it also includes: if there is The operation acting on the screen switching control is switched to capture a preview image by the second front camera; control the second screen to display the image capture operation interface, and control the first screen to shut down.
  • the electronic device collects the preview image through the first front camera, and if there is an operation acting on the screen switching control, then switch to the second front camera to collect the preview image, including: if the electronic device is If the preview image is captured by the first front camera and the folded bottom of the device body is less than a specified angle, and there is an operation on the screen switching control, switch to capture the preview image by the second front camera.
  • the electronic device collects preview images through the rear camera, and the image collection operation interface also includes a screen switching control. If the posture of the device indicates that the device body is in a hovering state, control the second After the image acquisition operation interface corresponding to the image acquisition program is displayed on a screen, the method further includes: if there is an operation acting on the screen switching control, controlling the second screen to synchronously display the preview image in the image acquisition operation interface.
  • Figure 29 shows that in this embodiment, in a specific interface state (the first screen is displaying the image acquisition operation interface, and the second screen is off screen) and the corresponding lens state, perform the corresponding operation (click the screen After switching the control or clicking the interface zoom control), the result of the state change.
  • Figure 29 shows that in this embodiment, in another specific interface state (the first screen displays the operation controls and the preview image display area, and the operation controls and the preview image display area are relatively located on both sides of the folded position of the main body of the device) And in the case of the corresponding lens state, after performing the corresponding operation (click the screen switching control), the result of the state change.
  • Figure 30 shows that in this embodiment, in another specific interface state (the first screen displays the operation controls and the preview image display area, and the operation controls and the preview image display area are located on one side of the folded position of the main body of the device) and In the case of the corresponding lens state, after performing the corresponding operation (click the screen switching control), the result of the state change.
  • an interface display method by acquiring the device posture of the device body, and then according to the device posture of the device body and the interface content corresponding to the image acquisition program, the first screen and the second screen are displayed.
  • the method of controlling the content displayed on at least one of the screens enables the electronic device to flexibly adapt to the unfolded state, so that the electronic device can adaptively display the interface of the image acquisition program in the hovering state.
  • the interface content can be switched flexibly according to the configured screen switching control and interface zooming control, which further improves the The interface display adaptability of the electronic device in the hovering state.
  • an interface control device runs on an electronic device, and the electronic device includes a foldable device body, an image acquisition component, a first screen and a second screen, the first screen and the The second screen is oppositely arranged on both sides of the device body, wherein the first screen can be folded along with the device body, and when the device body is in a folded state, the first screen is located on the device body
  • the inner side of the main body; the device 500 comprising:
  • An attitude acquisition unit 510 configured to acquire the equipment attitude of the device main body when the image acquisition program performs image acquisition through the image acquisition component;
  • the display control unit 520 is configured to control the content displayed on at least one of the first screen and the second screen according to the device posture of the device body and the interface content corresponding to the image acquisition program.
  • the image acquisition component includes a first front camera and a rear camera, the first front camera is arranged on the side where the first screen is located, and the rear camera is arranged on the second screen
  • the side where the device is located, and the rear camera and the second screen are relatively arranged on both sides of the folded position of the main body of the device.
  • the display control unit 520 is specifically configured to control the first screen to display the image acquisition operation interface corresponding to the image acquisition program if the device posture indicates that the device body is in the unfolded state.
  • the image acquisition operation interface includes operation controls and a preview image display area, and the preview image captured by the first front camera or the rear camera is displayed in the preview image display area.
  • the display control unit 520 is further specifically configured to control the second screen to display the preview image synchronously if the electronic device currently captures the preview image through the rear camera.
  • the image acquisition operation interface further includes a screen switching control, and correspondingly, the display control unit 520 is specifically configured to control the second screen to display the The above image acquisition operation interface, and control the first screen off screen.
  • the electronic device currently collects a preview image through the rear camera
  • the image collection operation interface further includes a screen switching control.
  • the display control unit 520 is further specifically configured to control the second screen to display the preview image synchronously if there is an operation acting on the screen switching control.
  • the electronic device currently collects a preview image through the rear camera
  • the image collection operation interface further includes an interface zoom control.
  • the display control unit 520 is also specifically configured to reduce the area occupied by the image acquisition operation interface if there is an operation acting on the interface zoom control, and add and display the captured image browsing interface on the first screen,
  • the captured image browsing interface includes captured images and operation controls corresponding to the captured images.
  • the image acquisition operation interface further includes a screen switching control.
  • the display control unit 520 is also specifically configured to control the second screen to display the preview image synchronously if there is an operation acting on the screen switching control; or if there is an operation acting on the interface zoom control, increase The area occupied by the image acquisition operation interface in the first screen is enlarged, and the display of the captured image browsing interface is cancelled.
  • the image acquisition component further includes a second front camera, the second front camera is set at the second screen, and the electronic device currently captures a preview image through the first front camera, so
  • the image acquisition operation interface also includes a screen switching control.
  • the display control unit 520 is also specifically configured to switch to capture a preview image by the second front camera if there is an operation acting on the screen switching control, and control the second screen to display the image capture operation interface ; Control the first screen off screen.
  • the electronic device currently collects a preview image through the first front camera
  • the image collection operation interface further includes an interface zoom control.
  • the display control unit 520 is also specifically configured to switch to capture a preview image by the rear camera if there is an operation acting on the interface zoom control, reduce the area occupied by the image acquisition operation interface, and
  • the first screen is additionally displayed with a browse interface for photographed images, and the browse interface for photographed images includes the latest photographed image and the operation controls corresponding to the image.
  • the image acquisition component also includes a second front camera, the second front camera is arranged at the second screen, and the image acquisition operation interface also includes front and rear camera switching controls and screen switching controls.
  • the display control unit 520 is also specifically configured to, if there is an operation acting on the switching control of the front and rear cameras, switch to capture the preview image by the first front camera, and if there is an operation acting on the switching control of the screen, then Switching to capture the preview image by the second front-facing camera, and controlling the off-screen of the first screen; or, if there is an operation acting on the zoom control of the interface, switching to capturing the preview image by the first front-facing camera , increasing the area occupied by the image acquisition operation interface on the first screen, and canceling display of the captured image browsing interface.
  • the image acquisition component includes a second front camera, and the second front camera is arranged at the second screen.
  • the display control unit 520 is specifically configured to control the second screen to display an image acquisition operation interface corresponding to the image acquisition program if the device posture indicates that the device body is in a folded state, and the image acquisition operation interface includes An operation control and a preview image display area, where the preview image captured by the second front camera is displayed in the preview image display area.
  • the image acquisition component further includes a rear camera, the rear camera is arranged on the side where the second screen is located, and the rear camera and the second screen are relatively arranged at a folded position of the main body of the device
  • the image acquisition operation interface also includes screen switching controls.
  • the display control unit 520 is also specifically configured to switch to capture a preview image by the rear camera if there is an operation acting on the screen switching control.
  • the image acquisition component includes a first front camera and a rear camera, the first front camera is arranged on the side where the first screen is located, and the rear camera is arranged on the second screen
  • the side where the device is located, and the rear camera and the second screen are relatively arranged on both sides of the folded position of the main body of the device.
  • the display control unit 520 is specifically configured to control the first screen to display the image acquisition operation corresponding to the image acquisition program if the device posture indicates that the device body is in a hovering state and the folding angle of the device body is greater than a specified angle interface, the image acquisition operation interface includes an operation control and a preview image display area, and the preview image captured by the first front camera or the rear camera is displayed in the preview image display area, wherein the operation control And the display area of the preview image is relatively located on both sides of the folding position of the device body; or if the device posture indicates that the device body is in a hovering state and the folding angle of the device body is less than a specified angle, then controlling the first screen display
  • the collected preview image, and the operation control and the display area of the preview image are located on the same side as the folded position of the main body of the device.
  • the display control unit 520 is further specifically configured to acquire data collected by the gyroscope of the electronic device if the device posture indicates that the device body is in a hovering state and the folding angle of the device body is less than a specified angle;
  • the data collected by the gyroscope selects a display area from the first display area and the second display area of the first screen to display the operation control and the preview screen, wherein the first display area and the second display area are respectively opposite sides of the folded position of the device body.
  • the image acquisition component also includes a second front camera, the second front camera is arranged at the second screen, the image acquisition operation interface also includes a screen switching control, and the electronic device can The first front camera captures a preview image.
  • the display control unit 520 is also specifically configured to switch to capture a preview image by the second front camera if there is an operation acting on the screen switching control; control the second screen to display the image capture operation interface , and control the screen off of the first screen.
  • the display control unit 520 is also specifically configured to: if the electronic device captures a preview image through the first front camera and the folded bottom of the device body is smaller than a specified angle, and there is an operation for the screen switching control, Then switch to capture the preview image by the second front camera.
  • the electronic device collects a preview image through the rear camera
  • the image collection operation interface also includes a screen switching control
  • the display control unit 520 is also specifically configured to: if there is an operation acting on the screen switching control, then The second screen is controlled to synchronously display the preview image in the image acquisition operation interface.
  • the interface control device controls the first screen and second
  • the method of controlling the content displayed on at least one of the screens enables the electronic device to flexibly adapt to different device postures, so that the electronic device can adaptively display the interface of the image acquisition program in different postures.
  • the electronic device 200 includes a foldable device body, one or more (only one is shown in the figure) processors 202 coupled to each other, a memory 204 , a network module 206 , a first screen 208 , a second screen 210 and an image acquisition component.
  • the memory 204 stores programs capable of executing the contents of the foregoing embodiments, and the processor 202 can execute the programs stored in the memory 204 .
  • the processor 202 may include one or more cores for processing data.
  • the processor 202 uses various interfaces and circuits to connect various parts of the entire electronic device 200, and executes or executes instructions, programs, code sets or instruction sets stored in the memory 204, and calls data stored in the memory 204 to execute Various functions of the electronic device 200 and processing data.
  • the processor 202 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 202 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used to render and draw the displayed 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 202, but may be realized by a communication chip alone.
  • the memory 204 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory). Memory 204 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • a data acquisition device may be stored in the memory 204 .
  • the data acquisition device may be the aforementioned device 500 .
  • the memory 204 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system and 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 can also store data created by the electronic device 200 during use (such as phonebook, audio and video data, chat record data) and the like.
  • the network module 206 is used to receive and send electromagnetic waves, realize mutual conversion between electromagnetic waves and electrical signals, and communicate with communication networks or other devices, for example, communicate with audio playback devices.
  • the network module 206 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, etc. .
  • SIM Subscriber Identity Module
  • the network module 206 can communicate with various networks such as the Internet, intranet, wireless network or communicate with other devices through the wireless network.
  • the wireless network mentioned above may include a cellular telephone network, a wireless local area network or a metropolitan area network.
  • the network module 206 can perform information exchange with the base station.
  • the first screen 208 and the second screen 210 can be used for interface display.
  • the first screen 208 and the second screen 210 are oppositely disposed on two sides of the main body of the device.
  • the first screen 208 can be folded along with the device body, and when the device body is in a folded state, the first screen 208 is located inside the device body.
  • the image acquisition component may include a first front camera 212 , a second front camera 214 and a rear camera 216 .
  • the first front camera 212 is arranged on the side where the first screen 208 is located
  • the rear camera 216 is arranged on the side where the second screen 210 is located
  • the rear camera 216 and the second screen 210 are relatively arranged on the device Both sides of the main body's folded position.
  • the second front camera 214 is disposed at the second screen 210 .
  • FIG. 33 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program codes are stored in the computer-readable medium 1100, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.
  • the computer readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 1100 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium).
  • the computer-readable storage medium 1100 has a storage space for program code 1110 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products.
  • Program code 1110 may, for example, be compressed in a suitable form.
  • the present application provides an interface display method, device, electronic device, and readable storage medium, wherein the electronic device includes a foldable device body, an image acquisition component, a first screen, and a second screen.
  • the first screen and the second screen are arranged on opposite sides of the device body, wherein the first screen can be folded along with the device body, and when the device body is in a folded state, the first screen Located on the inside of the device body.
  • the first screen and the second screen are The method of controlling the content displayed on at least one screen of the electronic device enables the electronic device to flexibly adapt to different device postures, so that the electronic device can adaptively display the interface of the image acquisition program in different postures.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例公开了一种界面显示方法、装置、电子设备以及可读存储介质。电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,第一屏幕和第二屏幕相背设置于设备主体的两侧,其中,所述第一屏幕可跟随设备主体进行折叠,当设备主体处于折叠状态时,第一屏幕位于设备主体的内侧。在图像采集程序通过所述图像采集组件进行图像采集的情况下,通过获取设备主体的设备姿态,再基于设备主体的设备姿态以及图像采集程序对应的界面内容,对第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制的方式,使得电子设备可以灵活地适配不同的设备姿态,以便电子设备在不同的姿态姿态下,可以适应性的对图像采集程序的界面进行显示。

Description

界面显示方法、装置、电子设备以及可读存储介质
相关申请的交叉引用
本申请要求于2021年11月12日提交的申请号为202111342223.2的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及终端技术领域,更具体地,涉及一种界面显示方法、装置、电子设备以及可读存储介质。
背景技术
随着电子技术的发展,为获得更好的体验,电子设备的屏幕越来越大,而随着屏幕变大也带来其携带不便利等问题,因此,具有折叠屏的电子设备逐渐兴起和普及。折叠屏可以通过屏幕翻折的方式实现折叠屏的展开或折叠,从而能够兼顾增大屏幕的显示面积和便携的使用需求。但是,相关的具有折叠屏的电子设备,在相机应用程序的界面显示方面的还存在不够灵活的问题。
发明内容
鉴于上述问题,本申请提出了一种界面显示方法、装置、电子设备以及可读存储介质,以改善上述问题。
第一方面,本申请提供了一种界面显示方法,应用于电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;所述方法,包括:在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态;根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制。
第二方面,本申请提供了一种界面控制装置,运行于电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;所述装置,包括:姿态获取单元,用于在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态;显示控制单元,用于根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制。
第三方面,本申请提供了一种电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕;所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;所述图像采集组件包括第一前置摄像头、第二前置摄像头和后置摄像头,所述第一前置摄像头设置于所述第一屏幕所在侧,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边,所述第二前置摄像头设置于所述第二屏幕处,所述电子设备还包括处理器以及存储器;一个或多个程序被存储在所述存储器中并被配置为由所述处理器执行以实现上述的方法。
第四方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有程序代 码,其中,在所述程序代码被处理器运行时执行上述的方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本申请实施例中的电子设备处于一种悬停状态的示意图;
图2示出了本申请实施例中的电子设备处于一种悬停状态的示意图;
图3示出了本申请实施例中的电子设备处于展开状态的示意图;
图4示出了本申请实施例中的电子设备处于折叠状态的示意图;
图5示出了本申请实施例提出的一种界面显示方法的流程图;
图6示出了本申请实施例中基于设备主体的折叠位置将设备主体划分为第一部分和第二部分的示意图;
图7示出了本申请实施例中折叠角度的示意图;
图8示出了本申请实施例中折叠角度表征电子设备处于展开状态的示意图;
图9示出了本申请实施例中折叠角度表征电子设备处于折叠状态的示意图;
图10示出了本申请实施例中折叠角度表征电子设备处于一种悬停状态的示意图;
图11示出了本申请实施例中折叠角度表征电子设备处于另一种悬停状态的示意图;
图12示出了本申请再一实施例提出的一种界面显示方法的流程图;
图13示出了本申请实施例中第一屏幕显示图像采集操作界面的流程图;
图14示出了本申请实施例中电子设备的用户给其他用户拍照的示意图;
图15示出了本申请实施例中第二屏幕显示被拍摄用户对应的预览画面的示意图;
图16示出了本申请实施例中第一屏幕同时显示图像采集操作界面以及已拍摄图像浏览界面的示意图;
图17示出了本申请实施例中切换显示当前所显示的已拍摄得到图像的示意图;
图18示出了本申请实施例中已拍摄图像对应的操作控件的示意图;
图19示出了本申请实施例中分享操作界面的示意图;
图20示出了本申请实施例中标记操作界面的示意图;
图21示出了本申请实施例中一种界面切换操作的示意图;
图22示出了本申请实施例中另一种界面切换操作的示意图;
图23示出了本申请另一实施例提出的一种界面显示方法的流程图;
图24示出了本申请又一实施例提出的一种界面显示方法的流程图;
图25示出了本申请实施例中操作控件与预览画面相对设置在设备主体的折叠位置的两边的示意图;
图26示出了本申请又一实施例提出的一种界面显示方法的流程图;
图27示出了本申请实施例中一种观看第一屏幕的视角的流程图;
图28示出了本申请实施例中操作控件与预览画面均设置在设备主体的折叠位置的一边的示意图;
图29示出了本申请实施例中另一种界面切换操作的示意图;
图30示出了本申请实施例中另一种界面切换操作的示意图;
图31示出了本申请实施例提出的一种界面控制装置的结构框图;
图32示出了本申请的用于执行根据本申请实施例的界面显示方法的电子设备的结构框图;
图33是本申请实施例的用于保存或者携带实现根据本申请实施例的界面显示方法的程序代码的存储单元。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
随着电子设备的用户对视觉体验需求越来越高,更多的电子设备会配置尺寸较大的屏幕。但是对于尺寸较大的屏幕则会对应存在携带不便的问题,因此,具有折叠屏的电子设备逐渐兴起和普及。折叠屏可以通过屏幕翻折的方式实现折叠屏的展开或折叠,从而能够兼顾增大屏幕的显示面积和便携的使用需求。
但是,发明人对相关的具有折叠屏的电子设备进行研究中发现,相关的具有折叠屏的电子设备,在相机应用程序的界面显示方面的还存在不够灵活,进而造成用户体验有待提升的问题。
因此,为了改善上述问题,发明人提出了一种界面显示方法、装置、电子设备以及可读存储介质。其中,电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧。在响应于启动图像采集程序后,通过获取所述设备主体的设备姿态,再根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制的方式,使得电子设备可以灵活地适配不同的设备姿态,以便电子设备在不同的姿态下,可以适应性的对图像采集程序的界面进行显示。
下面先通过附图对本申请实施例提供的界面显示方法所应用的场景进行说明。
其中,如图1和图2所示,本申请实施例涉及的一种电子设备包括可折叠的设备主体101、图像采集组件、第一屏幕102以及第二屏幕103。第一屏幕102和第二屏幕103相背设置于设备主体101的两侧,其中,所述第一屏幕102可跟随所述设备主体101进行折叠。
图像采集组件包括第一前置摄像头104、第二前置摄像头105和后置摄像头106。第一前置摄像头104设置于所述第一屏幕101所在侧,第二前置摄像头105设置于所述第二屏幕103处。后置摄像头106设置于第二屏幕103所在侧,且后置摄像头106和第二屏幕103相对设置在设备主体101的折叠位置(图1和图2中虚线所标识的位置)的两边。再者,本申请实施例中的电子设备的设备主体101的设备姿态可以有三种情况。例如,设备主体可以包括有展开状态、折叠状态以及悬停状态。其中,展开状态可以如图3所示,折叠状态可以如图4所示,悬停状态可以如图1、图2、图7、图10、图11所示,即悬停状态是介于完全展开状态和完全折叠状态之间的状态。
下面将结合附图具体描述本申请的各实施例。
请参阅图5,本申请实施例提供的一种界面显示方法,应用于电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;所述方法,包括:
S110:在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态。
在本申请实施例中,图像采集程序为用于控制电子设备的图像采集组件进行图像采集的程序,例如,图像采集程序可以控制图像采集组件进行拍照或者进行视频录制。该图像采集程序对应有界面内容,该界面内容可以用于展示图像采集组件实时采集的图像内容,还可以提供供用户进行操作的控件。
作为一种方式,电子设备可以在本地建立一参数文件,并通过该参数文件来存储电子设备的设备主体当前的设备姿态。其中,电子设备具体检测设备主体的设备姿态的方式在本申请实施例中不做具体限定,相关技术中用于检测设备主体的设备姿态的方式都可以应用在本申请实施例中。例如,在本申请实施例中,可以通过检测设备主体的折叠角度来确定设备姿态。其中,折叠角度表征以设备主体的折叠位置为分界线,将设备主体进行分割得到的两部分之间的夹角。如图6所示,可以通过设备主体的折叠位置(图6中虚线处)将设备主体分为第一部分10和第二部分20,第一部分10和第二部分20之间的夹角为图7中所示的角度α。若角度α为切换到图8中所示的状态,则表征设备主体处于展开状态。若角度α为切换到图9中所示的状态,则表征设备主体处于折叠状态。若角度α为切换到图10或者图11中所示的状态,则表征设备主体处于悬停状态。悬停状态下,在无外力作用的情况下,折叠屏设备能够保持在第一部分10和第二部分20具有角度α的状态,如图10或图11所示。
在这种方式下,在通过检测该第一部分和第二部分之间的角度而检测得到设备主体的设备姿态后,可以将检测得到的设备姿态存储在该参数文件中。当在需要获取设备主体的设备姿态的时,可以通过直接读取该参数文件来获取到设备主体的设备姿态。
S120:根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制。
需要说明的是,在不同的设备姿态下,电子设备所包括的第一屏幕和第二屏幕可见的显示区域是会有所不同的。例如,在设备主体处于折叠状态的情况下,电子设备的第一屏幕是被设备主体包围在内部的,因此,第一屏幕处于用户不可见的状态,在这种情况下,则可以通过暴露在外部的第二屏幕来显示图像采集程序对应的界面内容。再例如,在设备主体处于展开状态的情况下,第一屏幕和第二屏幕均处于可见的 状态,那么电子设备则可以根据需要从第一屏幕和第二屏幕中选择一个屏幕来显示图像采集程序对应的界面内容,或者也可以使第一屏幕和第二屏幕共同显示图像采集程序对应的界面内容。
本实施例提供的一种界面显示方法,通过获取所述设备主体的设备姿态,再根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制的方式,使得电子设备可以灵活地适配不同的设备姿态,以便电子设备在不同的姿态下,可以适应性的对图像采集程序的界面进行显示。
请参阅图12,本申请实施例提供的一种界面显示方法,应用于电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;所述图像采集组件包括第一前置摄像头和后置摄像头,所述第一前置摄像头设置于所述第一屏幕所在侧,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边;
S210:在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态。
S220:若所述设备姿态表征所述设备主体处于展开状态,则控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括操作控件以及预览画面显示区域,且所述预览画面显示区域中显示有通过所述第一前置摄像头或者后置摄像头所采集的预览画面。
如图13所示,示出了一种图像采集操作界面30。在该图像采集操作界面30中包括有区域31、区域32以及区域33。其中,区域31为用于显示预览画面的区域。区域32以及区域33则对应显示有操作控件。
其中,在本申请实施例中,在设备主体处于展开状态的情况下,电子设备也可以控制第二屏幕同步进行图像采集程序对应的界面内容的显示。
作为一种方式,在一些情况下,用户可以使用电子设备给其他用户拍照,在这种情况下,使用电子设备的用户通常会使第一屏幕朝向自己,那么为了便于被拍摄用户也可以即时的感知到自己在预览画面中的位置,在电子设备当前通过所述后置摄像头采集预览画面的情况下,电子设备可以控制第二屏幕同步显示预览画面。在这种方式下,电子设备可以是检测到是后置摄像头采集预览画面的情况下,而直接触发第二屏幕同步显示所述预览画面。可以理解的是,在第一屏幕朝向使用电子设备的用户的情况下,第二屏幕则会是朝向被拍摄用户的,那么通过在第二屏幕中也同步显示预览画面,使得被拍摄用户也可以感知到自己在所拍摄画面中的位置,以便提升拍摄的成像效果。示例性的,如图14和图15所示,在图14中右侧用户可以通过电子设备给左侧的用户进行拍摄,并且,如图15所示,电子设备所采集的关于左侧用户的预览画面可以显示在电子设备的第二屏幕103中。
可选的,所述图像采集操作界面还包括有屏幕切换控件,对应的,本实施例提供的方法还包括:若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕显示所述图像采集操作界面,并控制所述第一屏幕息屏。
作为另外一种方式,在设备姿态处于展开状态的情况下,并且电子设备当前通过后置摄像头采集预览画面,图像采集操作界面还包括有屏幕切换控件,本实施例提供的方法还包括:若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕同步显示所述预览画面。在这种方式中,电子设备可以是响应于作用于屏幕切换控件的操作而触发第二屏幕同步显示预览画面。
作为一种方式,电子设备当前通过后置摄像头采集预览画面,图像采集操作界面还包括界面缩放控件,本实施例提供的方法还包括:若有作用于所述界面缩放控件的操作,则缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面,所述已拍摄图像浏览界面包括已拍摄图像,以及所述已拍摄图像对应的操作控件。如图16所示,在图16所示的内容中,除了原本的图像采集操作界面外,还增加显示有已拍摄图像浏览界面40,在该已拍摄图像浏览界面40中包括有区域41以及区域42,其中,区域41用于显示已拍摄图像,区域42用于显示已拍摄图像对应的操作控件。可选的,已拍摄图像浏览界面除了可以如图16所示的在图像采集操作界面的左侧外,也可以显示于图像采集操作界面的右侧。例如,若在图16所示的情况下,电子设备切换为通过第一前置摄像头采集预览画面,电子设备可以将已拍摄图像浏览界面切换为显示在图像采集操作界面的右侧。
其中,在检测到有作用于区域41中的指定滑动操作时,可以对区域41中所显示的图像进行切换。其中,切换的顺序可以为已拍摄图像对应的拍摄顺序。示例性的,如图17所示,若检测到有作用于当前显示已拍摄图像且沿图17中左侧图像中的虚线箭头所示的方向的滑动操作,则可以将当前显示的已拍摄图像切换为在前的拍摄得到的图像。若检测到有作用于当前显示已拍摄图像且沿图17中右侧图像中的虚线箭头所示的方向的滑动操作,则可以将当前显示的已拍摄图像切换为在后的拍 摄得到的图像。
在本申请实施例中,如图18所示,已拍摄图像对应的操作控件可以包括有分享操作控件421、标记操作控件422、剪辑操作控件423以及删除操作控件424等。
如图19所示,若有作用于分享操作控件的操作,可以显示如图19所示的分享操作界面43。在该分享操作界面中,提供有可以作为分享途径的程序接口。
如图20所示,若有作用于标记操作控件的操作,可以显示如图20所示的标记操作界面44。在该标记操作界面中可以对所选中的图像进行标记。并且,在该标记操作界面中工,在完成标记操作后还可以直接通分享操作控件触发图19中所示的分享操作界面。
若有作用于剪辑操作控件的操作,可以调用电子设备中的操作系统自带的图像剪辑程序或者电子设备中安装的第三方图像剪辑程序对区域41中当前所显示的图像进行剪辑。若有作用于删除操作控件的操作,则可以将区域41中当前所显示的图像从电子设备中进行删除。
其中,在若有作用于所述界面缩放控件的操作,则缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面之后本实施例提供的还包括:若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕同步显示所述预览画面;或者若有作用于所述界面缩放控件的操作,则增大所述第一屏幕中所述图像采集操作界面所占用的区域,并取消显示所述已拍摄图像浏览界面。需要说明的是,在如图18中所示的显示图像采集操作界面和已拍摄图像浏览界面的情况下,若再次检测到有作用于所述屏幕切换控件的操作,则可以取消显示所述已拍摄图像浏览界面,并增大所述第一屏幕中所述图像采集操作界面所占用的区域,以使得第一屏幕恢复到图13中所示的状态。
作为一种方式,图像采集组件还包括第二前置摄像头,第二前置摄像头设置于所述第二屏幕处,电子设备当前通过所述第一前置摄像头采集预览画面,所述图像采集操作界面还包括有屏幕切换控件,所述方法还包括:
若有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面,并控制所述第二屏幕显示所述图像采集操作界面;控制所述第一屏幕息屏。
作为一种方式,电子设备当前通过所述第一前置摄像头采集预览画面,所述图像采集操作界面还包括有界面缩放控件,所述方法还包括:若有作用于所述界面缩放控件的操作,则切换为由所述后置摄像头采集预览画面,缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面,所述已拍摄图像浏览界面包括最近一次拍摄得到的图像,以及图像对应的操作控件。
在这种方式中,可选的,所述图像采集组件还包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处,所述图像采集操作界面还包括有前后置摄像头切换控件以及屏幕切换控件,所述若有作用于所述界面缩放控件的操作,则切换为由所述后置摄像头采集预览画面,缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面之后还包括:
若有作用于所述前后置摄像头切换控件的操作,则切换由所述第一前置摄像头采集预览画面,若有作用于所述屏幕切换控件的操作,则切换由所述第二前置摄像头采集预览画面,并控制所述第一屏幕息屏;或者,若有作用于所述界面缩放控件的操作,则切换由所述第一前置摄像头采集预览画面,增大所述第一屏幕中所述图像采集操作界面所占用的区域,并取消显示所述已拍摄图像浏览界面。
下面再通过图21和图22对本实施例涉及的界面变换过程再进行下说明。图21示出了本实施例中,处于一种特定的界面状态(第一屏幕在显示图像采集操作界面,第二屏幕息屏)以及对应的镜头状态的情况下,执行对应的操作(点击屏幕切换控件或者点击界面缩放控件)后,状态变换的结果。图22示出了本实施例中,在处于另一种特定的界面状态(第一屏幕同时显示图像采集操作界面以及已拍摄图像浏览界面,第二屏幕息屏)以及对应的镜头状态的情况下,执行对应的操作(点击屏幕切换控件或者点击界面缩放控件)后,状态变换的结果。
本实施例提供的一种界面显示方法,通过获取所述设备主体的设备姿态,再根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制的方式,使得电子设备可以灵活地适配展开状态,以便电子设备在展开状态下,可以适应性的对图像采集程序的界面进行显示。并且,在本实施例中,在基于展开状态对图像采集程序对应的界面内容进行显示之后,还可以进一步的根据配置的屏幕切换控件和界面缩放控件对界面内容进行灵活地切换,进一步的提升了电子设备在展开状态下的界面显示适应性。
请参阅图23,本实施例提供的一种界面显示方法,应用于电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于 所述设备主体的内侧;所述图像采集组件包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处;所述方法包括:
S310:在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态。
S320:若所述设备姿态表征所述设备主体处于折叠状态,则控制所述第二屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括有操作控件以及预览画面显示区域,所述预览画面显示区域显示有通过所述第二前置摄像头采集的预览画面。
作为一种方式,所述图像采集组件还包括后置摄像头,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边,所述图像采集操作界面还包括有屏幕切换控件,所述若所述设备姿态表征所述设备主体处于折叠状态,则控制所述第二屏幕显示所述图像采集程序对应的图像采集操作界面之后还包括:若有作用于所述屏幕切换控件的操作,则切换为由所述后置摄像头采集预览画面。
本实施例提供的一种界面显示方法,通过获取所述设备主体的设备姿态,再根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制的方式,使得电子设备可以灵活地适配展开状态,以便电子设备在折叠状态下,可以适应性的对图像采集程序的界面进行显示。并且,在本实施例中,在基于折叠状态对图像采集程序对应的界面内容进行显示之后,还可以进一步的根据配置的屏幕切换控件和界面缩放控件对界面内容进行灵活地切换,进一步的提升了电子设备在折叠状态下的界面显示适应性。
请参阅图24,本实施例提供的一种界面显示方法,应用于电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;所述图像采集组件包括第一前置摄像头和后置摄像头,所述第一前置摄像头设置于所述第一屏幕所在侧,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边,所述方法包括:
S410:在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态。
S420:若所述设备姿态表征所述设备主体处于悬停状态且设备主体的折叠角度大于指定角度,则控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括有操作控件以及预览画面显示区域,且所述预览画面显示区域中显示有通过所述第一前置摄像头或者后置摄像头所采集的预览画面,其中,操作控件以及预览画面显示区域相对位于所述设备主体的折叠位置的两边。
需要说明的是,在设备主体处于悬停状态且折叠角度大于指定角度(例如,90度)的情况下,设备主体的设备姿态可以如图10中所示的情况。在这种情况下,第一屏幕中的所有区域都较为容易被用户可见,为了充分利用第一屏幕的显示区域相对较大的优势,可以将操作控件以及预览画面显示区域分别设置在设备主体的折叠位置的两边。示例性的,如图25所示,显示操作控件的区域61和显示预览画面的区域62可以分别位于折叠位置(图像中虚线位置)的两边。
如图26所示,本实施例提供的方法可以包括:
S430:在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态。
S440:若所述设备姿态表征所述设备主体处于悬停状态且设备主体的折叠角度小于指定角度,则控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括有操作控件以及预览画面显示区域,且所述预览画面显示区域中显示有通过所述第一前置摄像头或者后置摄像头所采集的预览画面,且所述操作控件以及预览画面显示区域位于所述设备主体的折叠位置同一边。
需要说明的是,在设备主体处于悬停状态且折叠角度大于指定角度(例如,90度)的情况下,设备主体的设备姿态可以如图27中所示的情况。在图27所示的情况下,若用户基于图27中虚线箭头所示的视角方向观看第一屏幕,那么第一屏幕中位于第一部分10中的区域中的内容则无法被用户看见。因此,在这种情况下,为了避免造成第一屏幕中所已经显示的内容出现部分内容不方便可见的情况,可以仅在第一屏幕位于设备主体的折叠位置的同一边进行内容显示,而使另一边处于息屏状态。示例性的,如图28所示,操作控件以及预览画面显示区域均位于设备主体的折叠位置(图28中虚线位置)同一边。
其中,在电子设备将操作控件以及预览画面显示区域均显示在设备主体的折叠位置同一边的情况下,电子设备可以基于设备主体的折叠位置将第一屏幕划分为两个显示区域,对应的,作为一种 选择显示区域的方式,本实施例提供的方法还包括:若所述设备姿态表征所述设备主体处于悬停状态且设备主体的折叠角度小于指定角度,则获取电子设备的陀螺仪采集的数据;基于所述陀螺仪采集的数据从第一屏幕的第一显示区域和第二显示区域中选择一个显示区域用于对操作控件以及预览画面进行显示,其中,所述第一显示区域和第二显示区域分别相对位于所述设备主体的折叠位置的两边。
需要说明的是,电子设备的陀螺仪采集的数据可以表征电子设备当前的放置姿态。若设备主体处于悬停状态且设备主体的折叠角度小于指定角度的情况下,不同放置姿态下的电子设备的第一屏幕中便于用户可见的区域是不同的。例如,若以图27中所示的方式将电子设备放置在桌面上,那么第一屏幕中位于第一部分10的显示区域是不便于用户可见的,相对的,第二部分10中的显示区域则较为便于用户可见。因此,通过陀螺仪采集的数据来从第一屏幕中选择进行内容显示的区域,可以有利于提升第一屏幕进行内容显示的智能化程度。
作为一种方式,所述图像采集组件还可以包括第二前置摄像头,第二前置摄像头设置于所述第二屏幕处,所述图像采集操作界面还包括有屏幕切换控件,电子设备为通过第一前置摄像头采集预览画面,所述若所述设备姿态表征所述设备主体处于悬停状态,控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面之后还包括:若有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面;控制由所述第二屏幕显示所述图像采集操作界面,并控制所述第一屏幕息屏。
作为一种方式,电子设备通过第一前置摄像头采集预览画面,若有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面,包括:若电子设备为通过第一前置摄像头采集预览画面且所述设备主体的折叠交底小于指定角度,且有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面。
作为一种方式,电子设备为通过后置摄像头采集预览画面,所述图像采集操作界面还包括有屏幕切换控件,所述若所述设备姿态表征所述设备主体处于悬停状态,控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面之后还包括:若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕同步显示所述图像采集操作界面中的预览画面。
下面再通过图29和图30对本实施例涉及的界面变换过程再进行下说明。图29中显示了本实施例中,处于一种特定的界面状态(第一屏幕在显示图像采集操作界面,第二屏幕息屏)以及对应的镜头状态的情况下,执行对应的操作(点击屏幕切换控件或者点击界面缩放控件)后,状态变换的结果。
图29示出了本实施例中,在处于另一种特定的界面状态(第一屏幕显示操作控件以及预览画面显示区域,且操作控件以及预览画面显示区域相对位于设备主体的折叠位置的两边)以及对应的镜头状态的情况下,执行对应的操作(点击屏幕切换控件)后,状态变换的结果。图30示出了本实施例中,处于另一种特定的界面状态(第一屏幕显示操作控件以及预览画面显示区域,且操作控件以及预览画面显示区域均位于设备主体的折叠位置的一边)以及对应的镜头状态的情况下,执行对应的操作(点击屏幕切换控件)后,状态变换的结果。
本实施例提供的一种界面显示方法,通过获取所述设备主体的设备姿态,再根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制的方式,使得电子设备可以灵活地适配展开状态,以便电子设备在悬停状态下,可以适应性的对图像采集程序的界面进行显示。并且,在本实施例中,在基于折叠状态对图像采集程序对应的界面内容进行显示之后,还可以进一步的根据配置的屏幕切换控件和界面缩放控件对界面内容进行灵活地切换,进一步的提升了电子设备在悬停状态下的界面显示适应性。
请参阅图31,本实施例提供的一种界面控制装置,运行于电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;所述装置500,包括:
姿态获取单元510,用于在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态;
显示控制单元520,用于根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制。
作为一种方式,所述图像采集组件包括第一前置摄像头和后置摄像头,所述第一前置摄像头设置于所述第一屏幕所在侧,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边。在这种方式下,显示控制单元520,具体用于若所述设备姿态表征所述设备主体处于展开状态,则控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括操作控件以及预览画面显示区域,且所述预览画面显示 区域中显示有通过所述第一前置摄像头或者后置摄像头所采集的预览画面。
可选的,显示控制单元520,还具体用于若电子设备当前通过所述后置摄像头采集预览画面,则控制所述第二屏幕同步显示所述预览画面。可选的,所述图像采集操作界面还包括有屏幕切换控件,对应的,显示控制单元520,还具体用于若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕显示所述图像采集操作界面,并控制所述第一屏幕息屏。
可选的,电子设备当前通过所述后置摄像头采集预览画面,所述图像采集操作界面还包括有屏幕切换控件。显示控制单元520,还具体用于若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕同步显示所述预览画面。
可选的,电子设备当前通过所述后置摄像头采集预览画面,所述图像采集操作界面还包括界面缩放控件。显示控制单元520,还具体用于若有作用于所述界面缩放控件的操作,则缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面,所述已拍摄图像浏览界面包括已拍摄图像,以及所述已拍摄图像对应的操作控件。可选的,所述图像采集操作界面还包括有屏幕切换控件。显示控制单元520,还具体用于若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕同步显示所述预览画面;或者若有作用于所述界面缩放控件的操作,则增大所述第一屏幕中所述图像采集操作界面所占用的区域,并取消显示所述已拍摄图像浏览界面。
作为一种方式,所述图像采集组件还包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处,电子设备当前通过所述第一前置摄像头采集预览画面,所述图像采集操作界面还包括有屏幕切换控件。显示控制单元520,还具体用于若有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面,并控制所述第二屏幕显示所述图像采集操作界面;控制所述第一屏幕息屏。
作为一种方式,电子设备当前通过所述第一前置摄像头采集预览画面,所述图像采集操作界面还包括有界面缩放控件。显示控制单元520,还具体用于若有作用于所述界面缩放控件的操作,则切换为由所述后置摄像头采集预览画面,缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面,所述已拍摄图像浏览界面包括最近一次拍摄得到的图像,以及图像对应的操作控件。可选的,所述图像采集组件还包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处,所述图像采集操作界面还包括有前后置摄像头切换控件以及屏幕切换控件。显示控制单元520,还具体用于若有作用于所述前后置摄像头切换控件的操作,则切换由所述第一前置摄像头采集预览画面,若有作用于所述屏幕切换控件的操作,则切换由所述第二前置摄像头采集预览画面,并控制所述第一屏幕息屏;或者,若有作用于所述界面缩放控件的操作,则切换由所述第一前置摄像头采集预览画面,增大所述第一屏幕中所述图像采集操作界面所占用的区域,并取消显示所述已拍摄图像浏览界面。
作为一种方式,所述图像采集组件包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处。显示控制单元520,具体用于若所述设备姿态表征所述设备主体处于折叠状态,则控制所述第二屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括有操作控件以及预览画面显示区域,所述预览画面显示区域显示有通过所述第二前置摄像头采集的预览画面。
可选的,所述图像采集组件还包括后置摄像头,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边,所述图像采集操作界面还包括有屏幕切换控件。显示控制单元520,还具体用于若有作用于所述屏幕切换控件的操作,则切换为由所述后置摄像头采集预览画面。
作为一种方式,所述图像采集组件包括第一前置摄像头和后置摄像头,所述第一前置摄像头设置于所述第一屏幕所在侧,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边。显示控制单元520,具体用于若所述设备姿态表征所述设备主体处于悬停状态且设备主体的折叠角度大于指定角度,则控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括有操作控件以及预览画面显示区域,且所述预览画面显示区域中显示有通过所述第一前置摄像头或者后置摄像头所采集的预览画面,其中,操作控件以及预览画面显示区域相对位于所述设备主体的折叠位置的两边;或者若所述设备姿态表征所述设备主体处于悬停状态且设备主体的折叠角度小于指定角度,则控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括有操作控件以及预览画面显示区域,且所述预览画面显示区域中显示有通过所述第一前置摄像头或者后置摄像头所采集的预览画面,且所述操作控件以及预览画面显示区域位于所述设备主体的折叠位置同一边。
可选的,显示控制单元520,还具体用于若所述设备姿态表征所述设备主体处于悬停状态且设备主体的折叠角度小于指定角度,则获取电子设备的陀螺仪采集的数据;基于所述陀螺仪采集的数据从第一屏幕的第一显示区域和第二显示区域中选择一个显示区域用于对操作控件以及预览画面进行 显示,其中,所述第一显示区域和第二显示区域分别相对位于所述设备主体的折叠位置的两边。
可选的,所述图像采集组件还包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处,所述图像采集操作界面还包括有屏幕切换控件,电子设备为通过第一前置摄像头采集预览画面。显示控制单元520,还具体用于若有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面;控制由所述第二屏幕显示所述图像采集操作界面,并控制所述第一屏幕息屏。可选的,显示控制单元520,还具体用于若电子设备为通过第一前置摄像头采集预览画面且所述设备主体的折叠交底小于指定角度,且有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面。可选的,电子设备为通过后置摄像头采集预览画面,所述图像采集操作界面还包括有屏幕切换控件,显示控制单元520,还具体用于若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕同步显示所述图像采集操作界面中的预览画面。
本实施例提供的一种界面控制装置,通过获取所述设备主体的设备姿态,再根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制的方式,使得电子设备可以灵活地适配不同的设备姿态,以便电子设备在不同的姿态下,可以适应性的对图像采集程序的界面进行显示。
需要说明的是,本申请中装置实施例与前述方法实施例是相互对应的,装置实施例中具体的原理可以参见前述方法实施例中的内容,此处不再赘述。
下面将结合图32对本申请提供的一种电子设备进行说明。
请参阅图32,基于上述的界面显示方法、装置,本申请实施例还提供的另一种可以执行前述界面显示方法的电子设备200。电子设备200包括可折叠的设备主体、相互耦合的一个或多个(图中仅示出一个)处理器202、存储器204、网络模块206、第一屏幕208、第二屏幕210以及图像采集组件。其中,该存储器204中存储有可以执行前述实施例中内容的程序,而处理器202可以执行该存储器204中存储的程序。
其中,处理器202可以包括一个或者多个用于处理数据的核。处理器202利用各种接口和线路连接整个电子设备200内的各个部分,通过运行或执行存储在存储器204内的指令、程序、代码集或指令集,以及调用存储在存储器204内的数据,执行电子设备200的各种功能和处理数据。可选地,处理器202可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器202可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器202中,单独通过一块通信芯片进行实现。
存储器204可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器204可用于存储指令、程序、代码、代码集或指令集。例如,存储器204中可以存储有数据获取装置。该数据获取装置可以为前述的装置500。存储器204可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备200在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
所述网络模块206用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯,例如和音频播放设备进行通讯。所述网络模块206可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述网络模块206可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。例如,网络模块206可以与基站进行信息交互。
该第一屏幕208以及第二屏幕210可以用于进行界面显示。所述第一屏幕208和第二屏幕210相背设置于所述设备主体的两侧。所述第一屏幕208可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕208位于所述设备主体的内侧。
图像采集组件可以包括有第一前置摄像头212、第二前置摄像头214以及后置摄像头216。第一前置摄像头212设置于所述第一屏幕208所在侧,后置摄像头216设置于所述第二屏幕210所在侧,且所述后置摄像头216和所述第二屏幕210相对设置在设备主体的折叠位置的两边。所述第二前置摄像头214设置于所述第二屏幕210处。
请参考图33,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质1100中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质1100可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质1100包括非易失性计算机可读介质 (non-transitory computer-readable storage medium)。计算机可读存储介质1100具有执行上述方法中的任何方法步骤的程序代码1110的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1110可以例如以适当形式进行压缩。
综上所述,本申请提供的一种界面显示方法、装置、电子设备以及可读存储介质,其中,电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧。在响应于启动图像采集程序后,通过获取所述设备主体的设备姿态,再根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制的方式,使得电子设备可以灵活地适配不同的设备姿态,以便电子设备在不同的姿态姿态下,可以适应性的对图像采集程序的界面进行显示。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种界面显示方法,其特征在于,应用于电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;所述方法,包括:
    在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态;
    根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制。
  2. 根据权利要求1所述的方法,其特征在于,所述图像采集组件包括第一前置摄像头和后置摄像头,所述第一前置摄像头设置于所述第一屏幕所在侧,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边,所述根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制,包括:
    若所述设备姿态表征所述设备主体处于展开状态,则控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括操作控件以及预览画面显示区域,且所述预览画面显示区域中显示有通过所述第一前置摄像头或者后置摄像头所采集的预览画面。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    若电子设备当前通过所述后置摄像头采集预览画面,则控制所述第二屏幕同步显示所述预览画面。
  4. 根据权利要求3所述的方法,其特征在于,所述图像采集操作界面还包括有屏幕切换控件,所述方法还包括:
    若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕显示所述图像采集操作界面,并控制所述第一屏幕息屏。
  5. 根据权利要求2所述的方法,其特征在于,电子设备当前通过所述后置摄像头采集预览画面,所述图像采集操作界面还包括有屏幕切换控件,所述方法还包括:
    若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕同步显示所述预览画面。
  6. 根据权利要求2所述的方法,其特征在于,电子设备当前通过所述后置摄像头采集预览画面,所述图像采集操作界面还包括界面缩放控件,所述方法还包括:
    若有作用于所述界面缩放控件的操作,则缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面,所述已拍摄图像浏览界面包括已拍摄图像,以及所述已拍摄图像对应的操作控件。
  7. 根据权利要求6所述的方法,其特征在于,所述图像采集操作界面还包括有屏幕切换控件,所述若有作用于所述界面缩放控件的操作,则缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面之后还包括:
    若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕同步显示所述预览画面;或者
    若有作用于所述界面缩放控件的操作,则增大所述第一屏幕中所述图像采集操作界面所占用的区域,并取消显示所述已拍摄图像浏览界面。
  8. 根据权利要求2所述的方法,其特征在于,所述图像采集组件还包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处,电子设备当前通过所述第一前置摄像头采集预览画面,所述图像采集操作界面还包括有屏幕切换控件,所述方法还包括:
    若有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面,并控制所述第二屏幕显示所述图像采集操作界面;
    控制所述第一屏幕息屏。
  9. 根据权利要求2所述的方法,其特征在于,电子设备当前通过所述第一前置摄像头采集预览画面,所述图像采集操作界面还包括有界面缩放控件,所述方法还包括:
    若有作用于所述界面缩放控件的操作,则切换为由所述后置摄像头采集预览画面,缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面,所述已拍摄图像浏览界面包括最近一次拍摄得到的图像,以及图像对应的操作控件。
  10. 根据权利要求9所述的方法,其特征在于,所述图像采集组件还包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处,所述图像采集操作界面还包括有前后置摄像头切换控件以 及屏幕切换控件,所述若有作用于所述界面缩放控件的操作,则切换为由所述后置摄像头采集预览画面,缩小所述图像采集操作界面所占用的区域,并在所述第一屏幕中增加显示已拍摄图像浏览界面之后还包括:
    若有作用于所述前后置摄像头切换控件的操作,则切换由所述第一前置摄像头采集预览画面,若有作用于所述屏幕切换控件的操作,则切换由所述第二前置摄像头采集预览画面,并控制所述第一屏幕息屏;
    或者,若有作用于所述界面缩放控件的操作,则切换由所述第一前置摄像头采集预览画面,增大所述第一屏幕中所述图像采集操作界面所占用的区域,并取消显示所述已拍摄图像浏览界面。
  11. 根据权利要求1所述的方法,其特征在于,所述图像采集组件包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处,所述根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制,包括:
    若所述设备姿态表征所述设备主体处于折叠状态,则控制所述第二屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括有操作控件以及预览画面显示区域,所述预览画面显示区域显示有通过所述第二前置摄像头采集的预览画面。
  12. 根据权利要求11所述的方法,其特征在于,所述图像采集组件还包括后置摄像头,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边,所述图像采集操作界面还包括有屏幕切换控件,所述若所述设备姿态表征所述设备主体处于折叠状态,则控制所述第二屏幕显示所述图像采集程序对应的图像采集操作界面之后还包括:
    若有作用于所述屏幕切换控件的操作,则切换为由所述后置摄像头采集预览画面。
  13. 根据权利要求1所述的方法,其特征在于,所述图像采集组件包括第一前置摄像头和后置摄像头,所述第一前置摄像头设置于所述第一屏幕所在侧,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边,所述根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制,包括:
    若所述设备姿态表征所述设备主体处于悬停状态且设备主体的折叠角度大于指定角度,则控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括有操作控件以及预览画面显示区域,且所述预览画面显示区域中显示有通过所述第一前置摄像头或者后置摄像头所采集的预览画面,其中,操作控件以及预览画面显示区域相对位于所述设备主体的折叠位置的两边;
    或者
    若所述设备姿态表征所述设备主体处于悬停状态且设备主体的折叠角度小于指定角度,则控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面,所述图像采集操作界面包括有操作控件以及预览画面显示区域,且所述预览画面显示区域中显示有通过所述第一前置摄像头或者后置摄像头所采集的预览画面,且所述操作控件以及预览画面显示区域位于所述设备主体的折叠位置同一边。
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    若所述设备姿态表征所述设备主体处于悬停状态且设备主体的折叠角度小于指定角度,则获取电子设备的陀螺仪采集的数据;
    基于所述陀螺仪采集的数据从第一屏幕的第一显示区域和第二显示区域中选择一个显示区域用于对操作控件以及预览画面进行显示,其中,所述第一显示区域和第二显示区域分别相对位于所述设备主体的折叠位置的两边。
  15. 根据权利要求13所述的方法,其特征在于,所述图像采集组件还包括第二前置摄像头,所述第二前置摄像头设置于所述第二屏幕处,所述图像采集操作界面还包括有屏幕切换控件,电子设备为通过第一前置摄像头采集预览画面,所述若所述设备姿态表征所述设备主体处于悬停状态,控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面之后还包括:
    若有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面;
    控制由所述第二屏幕显示所述图像采集操作界面,并控制所述第一屏幕息屏。
  16. 根据权利要求13所述的方法,其特征在于,电子设备为通过第一前置摄像头采集预览画面,若有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面,包括:
    若电子设备为通过第一前置摄像头采集预览画面且所述设备主体的折叠交底小于指定角度,且有作用于所述屏幕切换控件的操作,则切换为由所述第二前置摄像头采集预览画面。
  17. 根据权利要求13所述的方法,其特征在于,电子设备为通过后置摄像头采集预览画面,所述图像采集操作界面还包括有屏幕切换控件,所述若所述设备姿态表征所述设备主体处于悬停状态, 控制所述第一屏幕显示所述图像采集程序对应的图像采集操作界面之后还包括:
    若有作用于所述屏幕切换控件的操作,则控制所述第二屏幕同步显示所述图像采集操作界面中的预览画面。
  18. 一种界面控制装置,其特征在于,运行于电子设备,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕,所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;所述装置,包括:
    姿态获取单元,用于在图像采集程序通过所述图像采集组件进行图像采集的情况下,获取所述设备主体的设备姿态;
    显示控制单元,用于根据所述设备主体的设备姿态以及所述图像采集程序对应的界面内容,对所述第一屏幕和第二屏幕中的至少一个屏幕所显示的内容进行控制。
  19. 一种电子设备,其特征在于,所述电子设备包括可折叠的设备主体、图像采集组件、第一屏幕以及第二屏幕;
    所述第一屏幕和第二屏幕相背设置于所述设备主体的两侧,其中,所述第一屏幕可跟随所述设备主体进行折叠,当所述设备主体处于折叠状态时,所述第一屏幕位于所述设备主体的内侧;
    所述图像采集组件包括第一前置摄像头、第二前置摄像头和后置摄像头,所述第一前置摄像头设置于所述第一屏幕所在侧,所述后置摄像头设置于所述第二屏幕所在侧,且所述后置摄像头和所述第二屏幕相对设置在设备主体的折叠位置的两边,所述第二前置摄像头设置于所述第二屏幕处,所述电子设备还包括处理器以及存储器;一个或多个程序被存储在所述存储器中并被配置为由所述处理器执行以实现权利要求1-17任一所述的方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码被处理器运行时执行权利要求1-17任一所述的方法。
PCT/CN2022/122466 2021-11-12 2022-09-29 界面显示方法、装置、电子设备以及可读存储介质 WO2023082888A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111342223.2 2021-11-12
CN202111342223.2A CN116126202A (zh) 2021-11-12 2021-11-12 界面显示方法、装置以及电子设备

Publications (1)

Publication Number Publication Date
WO2023082888A1 true WO2023082888A1 (zh) 2023-05-19

Family

ID=86304984

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/122466 WO2023082888A1 (zh) 2021-11-12 2022-09-29 界面显示方法、装置、电子设备以及可读存储介质

Country Status (2)

Country Link
CN (1) CN116126202A (zh)
WO (1) WO2023082888A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200012324A1 (en) * 2018-07-06 2020-01-09 Samsung Electronics Co., Ltd. Electronic device and method for changing location of preview image according to direction of camera
CN110865752A (zh) * 2019-10-31 2020-03-06 维沃移动通信有限公司 一种照片查看方法及电子设备
US20200389578A1 (en) * 2019-06-07 2020-12-10 Samsung Electronics Co., Ltd. Foldable electronic device and method for displaying information in foldable electronic device
WO2021089039A1 (zh) * 2019-11-08 2021-05-14 华为技术有限公司 应用于具有折叠屏的电子设备的显示方法及电子设备
CN113422903A (zh) * 2021-06-16 2021-09-21 荣耀终端有限公司 拍摄模式切换方法、设备、存储介质和程序产品

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200012324A1 (en) * 2018-07-06 2020-01-09 Samsung Electronics Co., Ltd. Electronic device and method for changing location of preview image according to direction of camera
US20200389578A1 (en) * 2019-06-07 2020-12-10 Samsung Electronics Co., Ltd. Foldable electronic device and method for displaying information in foldable electronic device
CN110865752A (zh) * 2019-10-31 2020-03-06 维沃移动通信有限公司 一种照片查看方法及电子设备
WO2021089039A1 (zh) * 2019-11-08 2021-05-14 华为技术有限公司 应用于具有折叠屏的电子设备的显示方法及电子设备
CN113422903A (zh) * 2021-06-16 2021-09-21 荣耀终端有限公司 拍摄模式切换方法、设备、存储介质和程序产品

Also Published As

Publication number Publication date
CN116126202A (zh) 2023-05-16

Similar Documents

Publication Publication Date Title
US11451706B2 (en) Photographing method and mobile terminal
CN109683761B (zh) 内容收藏方法、装置及存储介质
WO2021104236A1 (zh) 一种共享拍摄参数的方法及电子设备
EP3001247B1 (en) Method and terminal for acquiring panoramic image
WO2021115479A1 (zh) 显示控制方法及电子设备
CN108495045B (zh) 图像拍摄方法、装置、电子装置以及存储介质
CN112954210B (zh) 拍照方法、装置、电子设备及介质
CN106681667B (zh) 一种图片展示方法、装置及移动终端
CN111355998B (zh) 视频处理方法及装置
CN109683777B (zh) 一种图像处理方法及终端设备
CN112714253B (zh) 视频录制方法、装置、电子设备和可读存储介质
CN111479054A (zh) 用于处理装置中的图像的设备和方法
CN108776822B (zh) 目标区域检测方法、装置、终端及存储介质
CN113676655B (zh) 拍摄方法、装置、移动终端及芯片系统
CN112954193B (zh) 拍摄方法、装置、电子设备及介质
CN111597370A (zh) 一种拍摄方法及电子设备
CN110086998B (zh) 一种拍摄方法及终端
EP4195647A1 (en) Image processing method, mobile terminal, and storage medium
WO2023082888A1 (zh) 界面显示方法、装置、电子设备以及可读存储介质
CN108108098B (zh) 一种图像选取方法及移动终端
CN110545385A (zh) 一种图像处理方法及终端设备
CN115134527A (zh) 处理方法、智能终端及存储介质
CN112367467B (zh) 显示控制方法、装置、电子设备和介质
KR20140127131A (ko) 영상 출력 방법 및 그 방법을 처리하는 전자장치
CN114449134A (zh) 一种拍摄方法和终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22891689

Country of ref document: EP

Kind code of ref document: A1