CN116126202A - Interface display method and device and electronic equipment - Google Patents

Interface display method and device and electronic equipment Download PDF

Info

Publication number
CN116126202A
CN116126202A CN202111342223.2A CN202111342223A CN116126202A CN 116126202 A CN116126202 A CN 116126202A CN 202111342223 A CN202111342223 A CN 202111342223A CN 116126202 A CN116126202 A CN 116126202A
Authority
CN
China
Prior art keywords
screen
main body
interface
image acquisition
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111342223.2A
Other languages
Chinese (zh)
Inventor
卢胤婷
陆承昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111342223.2A priority Critical patent/CN116126202A/en
Priority to PCT/CN2022/122466 priority patent/WO2023082888A1/en
Publication of CN116126202A publication Critical patent/CN116126202A/en
Pending legal-status Critical Current

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

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

The embodiment of the application discloses an interface display method and device and electronic equipment. The electronic equipment comprises a foldable equipment main body, an image acquisition assembly, a first screen and a second screen, wherein the first screen and the second screen are oppositely arranged on two sides of the equipment main body, the first screen can be folded along with the equipment main body, and when the equipment main body is in a folded state, the first screen is positioned on the inner side of the equipment main body. Under the condition that an image acquisition program acquires an image through the image acquisition component, the electronic equipment can flexibly adapt to different equipment postures by acquiring the equipment posture of the equipment main body and controlling the content displayed on at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program, so that the electronic equipment can adaptively display the interface of the image acquisition program under the different posture postures.

Description

Interface display method and device and electronic equipment
Technical Field
The application relates to the technical field of terminals, and in particular relates to an interface display method and device and electronic equipment.
Background
With the development of electronic technology, in order to obtain better experience, the screen of the electronic device is larger and larger, and the problem of inconvenient carrying and the like is brought about as the screen is larger, so that the electronic device with the folding screen is gradually rising and popularized. The folding screen can be unfolded or folded in a screen folding mode, so that the display area of the screen can be enlarged, and the portable use requirement can be met. However, related electronic devices with folding screens have a problem of not being flexible enough in terms of interface display of camera applications.
Disclosure of Invention
In view of the above problems, the present application proposes an interface display method, an interface display device, and an electronic device, so as to improve the above problems.
In a first aspect, the present application provides an interface display method, applied to an electronic device, where the electronic device includes a foldable device main body, an image acquisition component, a first screen and a second screen, where the first screen and the second screen are oppositely disposed on two sides of the device main body, and the first screen may be folded along with the device main body, and when the device main body is in a folded state, the first screen is located on an inner side of the device main body; the method comprises the following steps: acquiring the equipment posture of the equipment main body under the condition that an image acquisition program acquires images through the image acquisition component; and controlling the content displayed on at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program.
In a second aspect, the present application provides an interface control device, which operates in an electronic device, where the electronic device includes a foldable device main body, an image capturing assembly, a first screen, and a second screen, where the first screen and the second screen are oppositely disposed on two sides of the device main body, and the first screen may be folded along with the device main body, and when the device main body is in a folded state, the first screen is located on an inner side of the device main body; the device comprises: the gesture acquisition unit is used for acquiring the equipment gesture of the equipment main body under the condition that an image acquisition program acquires images through the image acquisition component; and the display control unit is used for controlling the content displayed on at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program.
In a third aspect, the present application provides an electronic device including a foldable device body, an image capture assembly, a first screen, and a second screen; the first screen and the second screen are oppositely arranged at two sides of the equipment main body, wherein the first screen can be folded along with the equipment main body, and when the equipment main body is in a folded state, the first screen is positioned at the inner side of the equipment main body; the image acquisition assembly comprises 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, the rear camera is arranged on the side where the second screen is located, the rear camera and the second screen are oppositely arranged on two sides of the folding position of the equipment main body, the second front camera is arranged at the second screen, and the electronic equipment further comprises 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 methods described above.
In a fourth aspect, the present application provides a computer readable storage medium having program code stored therein, wherein the program code, when executed by a processor, performs the method described above.
The application provides an interface display method, an interface display device and electronic equipment, wherein the electronic equipment comprises a foldable equipment main body, an image acquisition assembly, a first screen and a second screen, wherein the first screen and the second screen are oppositely arranged on two sides of the equipment main body, the first screen can be folded along with the equipment main body, and when the equipment main body is in a folded state, the first screen is positioned on the inner side of the equipment main body. After the image acquisition program is started, the electronic equipment can flexibly adapt to different equipment postures by acquiring the equipment posture of the equipment main body and controlling the content displayed on at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program, so that the electronic equipment can adaptively display the interface of the image acquisition program under different postures.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a schematic diagram of an electronic device in a hover 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 view of an electronic device in an expanded 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 is a flowchart of an interface display method according to an embodiment of the present application;
fig. 6 shows a schematic view of dividing the apparatus body into a first portion and a second portion based on a folded position of the apparatus body in the embodiment of the present application;
FIG. 7 shows a schematic view of a folding angle in an embodiment of the present application;
FIG. 8 is a schematic diagram of a folding angle characterization electronic device in an unfolded state according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a folding angle characterization electronic device in a folded state according to an embodiment of the present application;
FIG. 10 illustrates a schematic diagram of a fold angle characterization electronic device in a hover state in an embodiment of the present application;
FIG. 11 illustrates a schematic diagram of a fold angle characterization electronic device in another hover state in an embodiment of the present application;
FIG. 12 is a flowchart of an interface display method according to a further embodiment of the present application;
FIG. 13 is a flowchart of a first screen display image capture operation interface in an embodiment of the present application;
fig. 14 is a schematic diagram illustrating a user of an electronic device photographing other users in an embodiment of the present application;
fig. 15 is a schematic diagram showing a preview screen corresponding to a photographed user displayed on a second screen in the embodiment of the present application;
fig. 16 is a schematic diagram showing a first screen displaying an image capturing operation interface and a captured image browsing interface simultaneously in an embodiment of the present application;
fig. 17 is a schematic diagram showing a currently displayed captured image being displayed in a switching manner in the embodiment of the present application;
fig. 18 shows a schematic diagram of an operation control corresponding to a captured image in an embodiment of the present application;
FIG. 19 is a schematic diagram of a sharing operation interface according to an embodiment of the present application;
FIG. 20 shows a schematic diagram of a label operation interface in an embodiment of the present application;
FIG. 21 is a schematic diagram of an interface switching operation according to an embodiment of the present application;
FIG. 22 is a schematic diagram of another interface switching operation according to an embodiment of the present application;
FIG. 23 is a flowchart of an interface display method according to another embodiment of the present application;
FIG. 24 is a flowchart of an interface display method according to another embodiment of the present application;
fig. 25 is a schematic diagram showing that the operation controls are disposed on two sides of the folding position of the device main body opposite to the preview screen in the embodiment of the present application;
FIG. 26 is a flowchart of an interface display method according to another embodiment of the present application;
FIG. 27 shows a flow chart of a view angle for viewing a first screen in an embodiment of the present application;
fig. 28 is a schematic diagram showing that in the embodiment of the present application, both the operation control and the preview screen are disposed at one side of the folding position of the device main body;
FIG. 29 is a schematic diagram of another interface switching operation according to an embodiment of the present application;
FIG. 30 is a schematic diagram of another interface switching operation according to an embodiment of the present application;
fig. 31 is a block diagram showing a configuration of an interface control device according to an embodiment of the present application;
Fig. 32 shows a block diagram of the structure of an electronic device for executing an interface display method according to an embodiment of the present application;
fig. 33 is a storage unit for storing or carrying program code for implementing the interface display method according to the embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
As users of electronic devices have increased demands for visual experience, more electronic devices may be configured with larger sized screens. However, for a large-sized screen, there is a problem in that it is inconvenient to carry, and thus, electronic devices having a folding screen are increasingly emerging and popular. The folding screen can be unfolded or folded in a screen folding mode, so that the display area of the screen can be enlarged, and the portable use requirement can be met.
However, the inventor researches related electronic devices with folding screens, and found that related electronic devices with folding screens are not flexible enough in interface display of camera application programs, which causes a problem that user experience needs to be improved.
Accordingly, in order to improve the above-mentioned problems, the inventors have proposed an interface display method, apparatus, and electronic device. The electronic device comprises a foldable device body, an image acquisition assembly, a first screen and a second screen, wherein the first screen and the second screen are oppositely arranged on two sides of the device body, 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 inner side of the device body. After the image acquisition program is started, the electronic equipment can flexibly adapt to different equipment postures by acquiring the equipment posture of the equipment main body and controlling the content displayed on at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program, so that the electronic equipment can adaptively display the interface of the image acquisition program under different postures.
The following describes a scenario to which the interface display method provided in the embodiment of the present application is applied through the accompanying drawings.
As shown in fig. 1 and 2, an electronic device according to an embodiment of the present application includes a foldable device main body 101, an image capturing component, a first screen 102, and a second screen 103. The first screen 102 and the second screen 103 are disposed opposite to each other on both sides of the apparatus main body 101, wherein the first screen 102 is foldable following the apparatus main body 101.
The image acquisition assembly includes a first front camera 104, a second front camera 105, and a rear camera 106. The first front camera 104 is disposed on the side of the first screen 101, and the second front camera 105 is disposed on the second screen 103. The rear camera 106 is disposed on the side of the second screen 103, and the rear camera 106 and the second screen 103 are disposed opposite to each other on both sides of the folded position (the position indicated by the broken line in fig. 1 and 2) of the apparatus main body 101. Further, there may be three cases of the device posture of the device main body 101 of the electronic device in the embodiment of the present application. For example, the device body may include an expanded state, a collapsed state, and a hover state. Wherein the unfolded state may be as shown in fig. 3, the folded state may be as shown in fig. 4, and the hovering state may be as shown in fig. 1, 2, 7, 10, 11, i.e. the hovering state is a state between the fully unfolded state and the fully folded state.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 5, an interface display method provided in an embodiment of the present application is applied to an electronic device, where the electronic device includes a foldable device main body, an image capturing assembly, a first screen and a second screen, where the first screen and the second screen are oppositely disposed on two sides of the device main body, and the first screen may be folded along with the device main body, and when the device main body is in a folded state, the first screen is located on an inner side of the device main body; the method comprises the following steps:
s110: and under the condition that an image acquisition program acquires images through the image acquisition component, acquiring the equipment posture of the equipment main body.
In the embodiment of the present application, the image capturing program is a program for controlling an image capturing component of an electronic device to capture an image, for example, the image capturing program may control the image capturing component to take a photograph or record a video. The image acquisition program is correspondingly provided with interface content, and the interface content can be used for displaying the image content acquired by the image acquisition component in real time and can also provide controls for a user to operate.
As one approach, the electronic device may locally establish a parameter file and store the current device pose of the device body of the electronic device via the parameter file. The manner in which the electronic device specifically detects the device posture of the device main body is not specifically limited in the embodiment of the present application, and the manner in which the electronic device specifically detects the device posture of the device main body in the related art may be applied in the embodiment of the present application. For example, in the embodiment of the present application, the device posture may be determined by detecting the folding angle of the device main body. The folding angle representation takes the folding position of the equipment main body as a boundary line, and the equipment main body is divided to obtain an included angle between the two parts. As shown in fig. 6, the apparatus body may be divided into a first portion 10 and a second portion 20 by a folded position (at a dotted line in fig. 6) of the apparatus body, and an angle between the first portion 10 and the second portion 20 is an angle α shown in fig. 7. If the angle α is switched to the state shown in fig. 8, the characterization device body is in the deployed state. If the angle α is switched to the state shown in fig. 9, the apparatus main body is characterized as being in the folded state. If the angle α is switched to the state shown in fig. 10 or 11, the characterization device body is in a hovering state. In the hovering state, the folding screen apparatus can be maintained in a state where the first portion 10 and the second portion 20 have an angle α without an external force, as shown in fig. 10 or 11.
In this way, after detecting the device posture of the device main body by detecting the angle between the first portion and the second portion, the detected device posture may be stored in the parameter file. When the device posture of the device main body is required to be acquired, the device posture of the device main body can be acquired by directly reading the parameter file.
S120: and controlling the content displayed on at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program.
It should be noted that, in different device attitudes, the display areas of the first screen and the second screen visible in the electronic device may be different. For example, in the case where the apparatus main body is in the folded state, the first screen of the electronic apparatus is enclosed inside by the apparatus main body, and therefore, the first screen is in a state invisible to the user, in which case, interface contents corresponding to the image pickup program can be displayed through the second screen exposed to the outside. For another example, when the device main body is in the unfolded state, the first screen and the second screen are both in a visible state, and then the electronic device may select one screen from the first screen and the second screen to display the interface content corresponding to the image acquisition program according to the need, or may cause the first screen and the second screen to jointly display the interface content corresponding to the image acquisition program.
According to the interface display method provided by the embodiment, the electronic equipment can flexibly adapt to different equipment postures by acquiring the equipment posture of the equipment main body and controlling the content displayed by at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program, so that the electronic equipment can adaptively display the interface of the image acquisition program under different postures.
Referring to fig. 12, an interface display method provided in an embodiment of the present application is applied to an electronic device, where the electronic device includes a foldable device main body, an image capturing assembly, a first screen and a second screen, where the first screen and the second screen are oppositely disposed on two sides of the device main body, and the first screen may be folded along with the device main body, and when the device main body is in a folded state, the first screen is located on an inner side of the device main body; the image acquisition assembly comprises a first front camera and a rear camera, the first front camera is arranged on the side where the first screen is located, the rear camera is arranged on the side where the second screen is located, and the rear camera and the second screen are oppositely arranged on two sides of the folding position of the equipment main body;
S210: and under the condition that an image acquisition program acquires images through the image acquisition component, acquiring the equipment posture of the equipment main body.
S220: and if the equipment posture characterizes that the equipment main body is in an unfolding state, controlling the first screen to display an image acquisition operation interface corresponding to the image acquisition program, wherein the image acquisition operation interface comprises an operation control and a preview picture display area, and a preview picture acquired by the first front camera or the rear camera is displayed in the preview picture display area.
As shown in fig. 13, an image acquisition operation interface 30 is shown. The image acquisition operation interface 30 includes a region 31, a region 32, and a region 33. Here, the area 31 is an area for displaying a preview screen. The area 32 and the area 33 are correspondingly displayed with operation controls.
In this embodiment of the present application, the electronic device may also control the second screen to synchronously display the interface content corresponding to the image acquisition program when the device main body is in the unfolded state.
As a way, in some cases, the user may use the electronic device to take a picture for other users, in this case, the user using the electronic device will normally make the first screen face to himself, so, in order to facilitate the user to be taken to sense his position in the preview screen in real time, in the case that the electronic device currently collects the preview screen through the rear camera, the electronic device may control the second screen to display the preview screen synchronously. In this way, the electronic device may directly trigger the second screen to synchronously display the preview screen in the case that the rear camera is detected to collect the preview screen. It can be understood that in the case that the first screen faces the user using the electronic device, the second screen faces the photographed user, and then the photographed user can also perceive the position of the user in the photographed screen by synchronously displaying the preview screen in the second screen, so as to improve the imaging effect of photographing. For example, as shown in fig. 14 and 15, the right user may photograph the left user through the electronic device in fig. 14, and as shown in fig. 15, a preview screen collected by the electronic device with respect to the left user may be displayed in the second screen 103 of the electronic device.
Optionally, the image acquisition operation interface further includes a screen switching control, and correspondingly, the method provided in this embodiment further includes: and if the operation on the screen switching control is performed, controlling the second screen to display the image acquisition operation interface and controlling the first screen to stop.
In another way, when the device posture is in the unfolded state, and the electronic device currently acquires the preview picture through the rear camera, the image acquisition operation interface further includes a screen switching control, and the method provided in this embodiment further includes: and if the operation on the screen switching control is performed, controlling the second screen to synchronously display the preview picture. In this manner, the electronic device may trigger the second screen to synchronously display the preview screen in response to an operation on the screen-switch control.
As a way, the electronic device currently collects a preview picture through the rear camera, the image collection operation interface further includes an interface zoom control, and the method provided in this embodiment further includes: if the operation on the interface zoom control is performed, the area occupied by the image acquisition operation interface is reduced, a shot image browsing interface is additionally displayed in the first screen, and the shot image browsing interface comprises shot images and operation controls corresponding to the shot images. As shown in fig. 16, in addition to the original image capturing operation interface, a captured image browsing interface 40 is additionally displayed in the content shown in fig. 16, and the captured image browsing interface 40 includes an area 41 and an area 42, where the area 41 is used for displaying a captured image, and the area 42 is used for displaying an operation control corresponding to the captured image. Alternatively, the captured image browsing interface may be displayed on the right side of the image capturing operation interface, in addition to the left side of the image capturing operation interface as shown in fig. 16. For example, if in the case shown in fig. 16, the electronic device switches to capture the preview screen through the first front camera, the electronic device may switch the captured image browsing interface to be displayed on the right side of the image capturing operation interface.
Wherein upon detecting a prescribed sliding operation acting on the region 41, the image displayed in the region 41 can be switched. The switching order may be a shooting order corresponding to the shot image. For example, as shown in fig. 17, if a sliding operation is detected that acts on the currently displayed captured image in the direction indicated by the broken line arrow in the left image in fig. 17, the currently displayed captured image may be switched to the previously captured image. If a sliding operation is detected that acts on the currently displayed captured image in the direction indicated by the broken-line arrow in the right-hand image in fig. 17, the currently displayed captured image may be switched to the image obtained by the subsequent capturing.
In this embodiment, as shown in fig. 18, the operation controls corresponding to the captured image may include a sharing operation control 421, a marking operation control 422, a clipping operation control 423, a deleting operation control 424, and the like.
As shown in fig. 19, if there is an operation on the sharing operation control, a sharing operation interface 43 as shown in fig. 19 may be displayed. In the sharing operation interface, a program interface which can be used as a sharing path is provided.
As shown in fig. 20, if there is an operation on the marking operation control, a marking operation interface 44 as shown in fig. 20 may be displayed. The selected image may be marked in the marking operation interface. In addition, in the marking operation interface, the sharing operation control can be directly communicated to trigger the sharing operation interface shown in fig. 19 after the marking operation is completed.
If there is an operation on the editing operation control, an image editing program carried by the operating system in the electronic device or a third party image editing program installed in the electronic device may be called to clip the image currently displayed in the area 41. If there is an operation to delete the operation control, the image currently displayed in the area 41 may be deleted from the electronic device.
If there is an operation acting on the interface zoom control, the area occupied by the image acquisition operation interface is reduced, and after the captured image browsing interface is additionally displayed in the first screen, the method further includes: if the operation on the screen switching control is performed, controlling the second screen to synchronously display the preview picture; or if the operation of the interface zoom control is performed, increasing the area occupied by the image acquisition operation interface in the first screen, and canceling displaying the shot image browsing interface. In the case of displaying the image capturing 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 display of the captured image browsing interface may be canceled, and the area occupied by the image capturing operation interface in the first screen may be increased, so that the first screen may be restored to the state shown in fig. 13.
As a mode, the image acquisition assembly further comprises a second front-end camera, the second front-end camera is arranged at the second screen, the electronic equipment acquires the preview picture through the first front-end camera, the image acquisition operation interface further comprises a screen switching control, and the method further comprises:
if the operation on the screen switching control is performed, switching to the process that the second front-facing camera acquires a preview picture and controlling the second screen to display the image acquisition operation interface; and controlling the first screen to stop.
As one way, the electronic device currently acquires a preview picture through the first front-end camera, the image acquisition operation interface further comprises an interface zoom control, and the method further comprises: if the operation on the interface zoom control is performed, the operation is switched to the process that the rear camera acquires a preview picture, the area occupied by the image acquisition operation interface is reduced, a shot image browsing interface is additionally displayed in the first screen, and the shot image browsing interface comprises an image obtained by last shooting and an operation control corresponding to the image.
In this way, optionally, the image acquisition assembly further includes a second front camera, the second front camera is disposed at the second screen, the image acquisition operation interface further includes a front-rear camera switching control and a screen switching control, if there is an operation acting on the interface zoom control, the operation is switched to the acquisition of a preview image by the rear camera, the area occupied by the image acquisition operation interface is reduced, and after the display of the captured image browsing interface is increased in the first screen, the image acquisition operation interface further includes:
switching to acquire a preview picture by the first front camera if the operation on the front and rear camera switching control is performed, and switching to acquire a preview picture by the second front camera and controlling the first screen to stop screen if the operation on the screen switching control is performed; or if the operation on the interface zoom control is performed, switching the preview picture acquired by the first front-end camera, increasing the area occupied by the image acquisition operation interface in the first screen, and canceling displaying the shot image browsing interface.
The interface conversion process according to the present embodiment will be described below with reference to fig. 21 and 22. Fig. 21 shows the result of state transformation after performing a corresponding operation (clicking on the screen switch control or clicking on the interface zoom control) in the case of a specific interface state (the first screen displays the image capturing operation interface, and the second screen is at rest) and a corresponding lens state in this embodiment. Fig. 22 shows the result of state transformation after performing a corresponding operation (clicking on the screen switching control or clicking on the interface zoom control) in the case of another specific interface state (the first screen simultaneously displays the image capturing operation interface and the captured image browsing interface, and the second screen is at the screen) and the corresponding lens state in this embodiment.
According to the interface display method provided by the embodiment, the electronic equipment can flexibly adapt to the unfolding state by acquiring the equipment posture of the equipment main body and controlling the content displayed by at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program, so that the interface of the image acquisition program can be displayed in an adaptive manner under the unfolding state of the electronic equipment. In addition, in the embodiment, after the interface content corresponding to the image acquisition program is displayed based on the unfolding state, the interface content can be further flexibly switched according to the configured screen switching control and interface scaling control, so that the interface display adaptability of the electronic equipment in the unfolding state is further improved.
Referring to fig. 23, the interface display method provided in the present embodiment is applied to an electronic device, where the electronic device includes a foldable device main body, an image capturing assembly, a first screen and a second screen, where the first screen and the second screen are oppositely disposed on two sides of the device main body, and the first screen may be folded along with the device main body, and when the device main body is in a folded state, the first screen is located on an inner side of the device main body; the image acquisition assembly comprises a second front-facing camera, and the second front-facing camera is arranged at the second screen; the method comprises the following steps:
s310: and under the condition that an image acquisition program acquires images through the image acquisition component, acquiring the equipment posture of the equipment main body.
S320: and if the equipment posture characterizes that the equipment main body is in a folded state, controlling the second screen to display an image acquisition operation interface corresponding to the image acquisition program, wherein the image acquisition operation interface comprises an operation control and a preview picture display area, and the preview picture display area displays a preview picture acquired by the second front-facing camera.
As a mode, the image acquisition assembly further includes a rear camera, the rear camera is disposed on the side where the second screen is located, the rear camera and the second screen are disposed on two sides of the folding position of the device main body relatively, the image acquisition operation interface further includes a screen switching control, and if the device posture characterizes the device main body is in a folding state, the control is further performed on the second screen after the second screen displays the image acquisition operation interface corresponding to the image acquisition program, where: and if the operation on the screen switching control is performed, switching to the process of acquiring the preview picture by the rear camera.
According to the interface display method provided by the embodiment, the electronic equipment can flexibly adapt to the unfolding state by acquiring the equipment posture of the equipment main body and controlling the content displayed by at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program, so that the electronic equipment can adaptively display the interface of the image acquisition program in the folding state. In addition, in the embodiment, after the interface content corresponding to the image acquisition program is displayed based on the folding state, the interface content can be further flexibly switched according to the configured screen switching control and interface scaling control, so that the interface display adaptability of the electronic equipment in the folding state is further improved.
Referring to fig. 24, the interface display method provided in the present embodiment is applied to an electronic device, where the electronic device includes a foldable device main body, an image capturing assembly, a first screen and a second screen, where the first screen and the second screen are oppositely disposed on two sides of the device main body, and the first screen may be folded along with the device main body, and when the device main body is in a folded state, the first screen is located on an inner side of the device main body; the image acquisition assembly comprises a first front camera and a rear camera, the first front camera is arranged on the side where the first screen is located, the rear camera is arranged on the side where the second screen is located, and the rear camera and the second screen are oppositely arranged on two sides of the folding position of the equipment main body, and the method comprises the following steps:
s410: and under the condition that an image acquisition program acquires images through the image acquisition component, acquiring the equipment posture of the equipment main body.
S420: and if the equipment gesture characterizes that the equipment main body is in a hovering state and the folding angle of the equipment main body is larger than a specified angle, controlling the first screen to display an image acquisition operation interface corresponding to the image acquisition program, wherein the image acquisition operation interface comprises an operation control and a preview picture display area, and the preview picture display area is displayed with preview pictures acquired by the first front camera or the rear camera, wherein the operation control and the preview picture display area are relatively positioned at two sides of the folding position of the equipment main body.
Note that, in the case where the apparatus main body is in a hovering state and the folding angle is larger than a specified angle (for example, 90 degrees), the apparatus posture of the apparatus main body may be as in the case shown in fig. 10. In this case, all the areas in the first screen are relatively easily visible to the user, and in order to make full use of the relatively large advantage of the display area of the first screen, the operation controls and the preview screen display area may be provided on both sides of the folded position of the apparatus main body, respectively. For example, as shown in fig. 25, the region 61 in which the operation control is displayed and the region 62 in which the preview screen is displayed may be located on both sides of the folded position (the position of the broken line in the image), respectively.
As shown in fig. 26, the method provided in this embodiment may include:
s430: and under the condition that an image acquisition program acquires images through the image acquisition component, acquiring the equipment posture of the equipment main body.
S440: if the equipment gesture characterizes that the equipment main body is in a hovering state and the folding angle of the equipment main body is smaller than a specified angle, controlling the first screen to display an image acquisition operation interface corresponding to the image acquisition program, wherein the image acquisition operation interface comprises an operation control and a preview picture display area, the preview picture display area is displayed with a preview picture acquired by the first front camera or the rear camera, and the operation control and the preview picture display area are positioned on the same side of the folding position of the equipment main body.
Note that, in the case where the apparatus main body is in a hovering state and the folding angle is larger than a specified angle (for example, 90 degrees), the apparatus posture of the apparatus main body may be as in the case shown in fig. 27. In the case shown in fig. 27, if the user views the first screen based on the viewing angle direction indicated by the dotted arrow in fig. 27, the content in the area in the first portion 10 in the first screen cannot be seen by the user. In this case, therefore, in order to avoid a situation in which a part of the content already displayed in the first screen is inconveniently visible, the content display may be performed only on the same side of the first screen where the apparatus main body is in the folded position, while the other side is in the screen-off state. Illustratively, as shown in fig. 28, the operation control and the preview screen display area are both located on the same side of the folded position (the dotted line position in fig. 28) of the apparatus main body.
Under the condition that the electronic device displays the operation control and the preview screen display area on the same side of the folding position of the device main body, the electronic device may divide the first screen into two display areas based on the folding position of the device main body, and the method provided by the embodiment further includes, correspondingly, as a mode of selecting the display areas: if the equipment gesture represents that the equipment main body is in a hovering state and the folding angle of the equipment main body is smaller than a specified angle, acquiring data acquired by a gyroscope of the electronic equipment; and selecting one display area from a first display area and a second display area of a first screen based on the data acquired by the gyroscope to display an operation control and a preview picture, wherein the first display area and the second display area are respectively and relatively positioned at two sides of a folding position of the equipment main body.
It should be noted that, the data collected by the gyroscope of the electronic device may represent the current placement posture of the electronic device. If the device body is in a hovering state and the folding angle of the device body is smaller than the designated angle, the regions of the first screen of the electronic device in different placing postures, which are convenient for the user to see, are different. For example, if the electronic device is placed on a desktop in the manner shown in fig. 27, the display area in the first portion 10 of the first screen is not readily visible to the user, and the display area in the second portion 10 is relatively readily visible to the user. Therefore, the area for displaying the content is selected from the first screen through the data collected by the gyroscope, and the intelligent degree of the content display of the first screen can be improved.
As a way, the image acquisition component may further include a second front camera, the second front camera is disposed at the second screen, the image acquisition operation interface further includes a screen switching control, the electronic device acquires a preview image through the first front camera, and if the device gesture characterizes that the device main body is in a hovering state, the control unit further includes, after controlling the first screen to display the image acquisition operation interface corresponding to the image acquisition program: if the operation on the screen switching control is performed, switching to the process that the second front-facing camera acquires a preview picture; and controlling the second screen to display the image acquisition operation interface and controlling the first screen to stop.
As one mode, the electronic device collects a preview picture through the first front-end camera, and if there is an operation acting on the screen switching control, switches to collect the preview picture by the second front-end camera, including: if the electronic equipment is used for acquiring the preview picture through the first front-end camera, the folding intersection bottom of the equipment main body is smaller than a specified angle, and the operation of the screen switching control is performed, switching to the acquisition of the preview picture by the second front-end camera.
As a way, the electronic device collects the preview picture through the rear camera, the image collection operation interface further includes a screen switching control, and if the device gesture characterizes that the device main body is in a hovering state, the control of the first screen to display the image collection operation interface corresponding to the image collection program further includes: and if the operation on the screen switching control is performed, controlling the second screen to synchronously display the preview picture in the image acquisition operation interface.
The interface conversion process according to the present embodiment will be described below with reference to fig. 29 and 30. Fig. 29 shows the result of state transformation after performing a corresponding operation (clicking on the screen switch control or clicking on the interface zoom control) in the case of a specific interface state (the first screen displays the image capturing operation interface and the second screen displays the corresponding lens state).
Fig. 29 shows the result of state transition after performing a corresponding operation (clicking on the screen switch control) in the case of being in another specific interface state (the first screen displaying the operation control and the preview screen displaying area, and the operation control and the preview screen displaying area being located on both sides of the collapsed position of the apparatus main body) and the corresponding lens state in this embodiment. Fig. 30 shows the result of state transformation after performing a corresponding operation (clicking on the screen switch control) in the case of another specific interface state (the first screen display operation control and the preview screen display area, both of which are located at one side of the folded position of the apparatus main body) and the corresponding lens state in this embodiment.
According to the interface display method provided by the embodiment, the electronic device can flexibly adapt to the unfolding state by acquiring the equipment posture of the equipment main body and controlling the content displayed by at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program, so that the interface of the image acquisition program can be displayed in a hovering state by the electronic device. In addition, in the embodiment, after the interface content corresponding to the image acquisition program is displayed based on the folding state, the interface content can be further flexibly switched according to the configured screen switching control and interface scaling control, so that the interface display adaptability of the electronic equipment in the hovering state is further improved.
Referring to fig. 31, an interface control device provided in this embodiment is operated in an electronic device, where the electronic device includes a foldable device main body, an image capturing assembly, a first screen and a second screen, where the first screen and the second screen are oppositely disposed on two sides of the device main body, and the first screen may be folded along with the device main body, and when the device main body is in a folded state, the first screen is located on an inner side of the device main body; the apparatus 500 includes:
a posture acquisition unit 510 for acquiring a device posture of the device main body in the case where an image acquisition program performs image acquisition by the image acquisition component;
and a display control unit 520, configured to control content displayed on at least one of the first screen and the second screen based on the device posture of the device main body and the interface content corresponding to the image acquisition program.
As a mode, the image acquisition assembly comprises a first front camera and a rear camera, the first front camera is arranged on the side where the first screen is located, the rear camera is arranged on the side where the second screen is located, and the rear camera and the second screen are oppositely arranged on two sides of the folding position of the equipment main body. In this manner, the display control unit 520 is specifically configured to control the first screen to display an image acquisition operation interface corresponding to the image acquisition program if the equipment posture characterizes that the equipment main body is in an unfolded state, where the image acquisition operation interface includes an operation control and a preview screen display area, and the preview screen display area displays a preview screen acquired by the first front camera or the rear camera.
Optionally, the display control unit 520 is further specifically configured to control the second screen to synchronously display the preview screen if the electronic device currently acquires the preview screen through the rear camera. Optionally, the image acquisition operation interface further includes a screen switching control, and the corresponding display control unit 520 is further specifically configured to control the second screen to display the image acquisition operation interface and control the first screen to stop the screen if there is an operation acting on the screen switching control.
Optionally, the electronic device currently collects a preview picture through the rear camera, and 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 synchronously display the preview screen if there is an operation on the screen switching control.
Optionally, the electronic device currently collects a preview picture through the rear camera, and the image collection operation interface further includes an interface zoom control. The display control unit 520 is further specifically configured to reduce, if there is an operation acting on the interface zoom control, an area occupied by the image acquisition operation interface, and additionally display, on the first screen, a captured image browsing interface, where the captured image browsing interface includes a captured image and an operation control corresponding to the captured image. Optionally, the image acquisition operation interface further comprises a screen switching control. The display control unit 520 is further specifically configured to control the second screen to synchronously display the preview screen if there is an operation acting on the screen switching control; or if the operation of the interface zoom control is performed, increasing the area occupied by the image acquisition operation interface in the first screen, and canceling displaying the shot image browsing interface.
As a way, the image acquisition assembly further comprises a second front-end camera, the second front-end camera is arranged at the second screen, the electronic device acquires the preview picture through the first front-end camera currently, and the image acquisition operation interface further comprises a screen switching control. The display control unit 520 is further specifically configured to switch to acquiring a preview screen by the second front-end camera and control the second screen to display the image acquisition operation interface if there is an operation acting on the screen switching control; and controlling the first screen to stop.
As one way, the electronic device currently collects a preview picture through the first front-end camera, and the image collection operation interface further comprises an interface zoom control. The display control unit 520 is further specifically configured to switch to the rear camera to collect the preview image if there is an operation on the interface zoom control, reduce the area occupied by the image collection operation interface, and add and display a captured image browsing interface in the first screen, where the captured image browsing interface includes an image obtained by last capturing and an operation control corresponding to the image. Optionally, the image acquisition assembly further includes a second front camera, the second front camera is disposed at the second screen, and the image acquisition operation interface further includes a front camera switching control and a rear camera switching control. The display control unit 520 is further specifically configured to switch, if there is an operation acting on the front-rear camera switching control, the first front-camera to acquire a preview screen, and if there is an operation acting on the screen switching control, switch, the second front-camera to acquire a preview screen, and control the first screen to stop; or if the operation on the interface zoom control is performed, switching the preview picture acquired by the first front-end camera, increasing the area occupied by the image acquisition operation interface in the first screen, and canceling displaying the shot image browsing interface.
As one mode, the image acquisition assembly includes a second front camera, and the second front camera is disposed 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 equipment posture characterizes that the equipment main body is in a folded state, where the image acquisition operation interface includes an operation control and a preview screen display area, and the preview screen display area displays a preview screen acquired by the second front camera.
Optionally, the image acquisition assembly further includes a rear camera, the rear camera set up in the side that the second screen is located, just the rear camera with the second screen sets up in the both sides of the folding position of equipment main part relatively, the image acquisition operation interface still includes screen switching control. The display control unit 520 is further specifically configured to switch to the rear camera to collect the preview image if there is an operation on the screen switching control.
As a mode, the image acquisition assembly comprises a first front camera and a rear camera, the first front camera is arranged on the side where the first screen is located, the rear camera is arranged on the side where the second screen is located, and the rear camera and the second screen are oppositely arranged on two sides of the folding position of the equipment main body. The display control unit 520 is specifically configured to control the first screen to display an image acquisition operation interface corresponding to the image acquisition program if the equipment gesture characterizes that the equipment main body is in a hovering state and a folding angle of the equipment main body is greater than a specified angle, where the image acquisition operation interface includes an operation control and a preview screen display area, and the preview screen display area displays a preview screen acquired by the first front camera or the rear camera, where the operation control and the preview screen display area are relatively located at two sides of a folding position of the equipment main body; or if the equipment gesture characterizes that the equipment main body is in a hovering state and the folding angle of the equipment main body is smaller than a specified angle, controlling the first screen to display an image acquisition operation interface corresponding to the image acquisition program, wherein the image acquisition operation interface comprises an operation control and a preview picture display area, the preview picture display area is displayed with a preview picture acquired by the first front camera or the rear camera, and the operation control and the preview picture display area are positioned on the same side of the folding position of the equipment main body.
Optionally, the display control unit 520 is further specifically configured to obtain data collected by a gyroscope of the electronic device if the device gesture characterizes that the device main body is in a hovering state and a folding angle of the device main body is smaller than a specified angle; and selecting one display area from a first display area and a second display area of a first screen based on the data acquired by the gyroscope to display an operation control and a preview picture, wherein the first display area and the second display area are respectively and relatively positioned at two sides of a folding position of the equipment main body.
Optionally, the image acquisition assembly further includes a second front-end camera, the second front-end camera is disposed at the second screen, the image acquisition operation interface further includes a screen switching control, and the electronic device is configured to acquire the preview picture through the first front-end camera. The display control unit 520 is further specifically configured to switch to the second front camera to collect a preview image if there is an operation acting on the screen switching control; and controlling the second screen to display the image acquisition operation interface and controlling the first screen to stop. Optionally, the display control unit 520 is further specifically configured to switch to the preview screen acquired by the second front camera if the electronic device acquires the preview screen through the first front camera and the folding intersection of the device main body is smaller than the specified angle and there is an operation acting on the screen switching control. Optionally, the electronic device is configured to collect the preview image through a rear camera, and the image collection operation interface further includes a screen switching control, and the display control unit 520 is further specifically configured to control the second screen to synchronously display the preview image in the image collection operation interface if there is an operation acting on the screen switching control.
According to the interface control device provided by the embodiment, the device posture of the device main body is obtained, and then the content displayed on at least one screen of the first screen and the second screen is controlled based on the device posture of the device main body and the interface content corresponding to the image acquisition program, so that the electronic device can flexibly adapt to different device postures, and the interface of the image acquisition program can be adaptively displayed under the different posture postures.
It should be noted that, in the present application, the device embodiment and the foregoing method embodiment correspond to each other, and specific principles in the device embodiment may refer to the content in the foregoing method embodiment, which is not described herein again.
An electronic device provided in the present application will be described with reference to fig. 32.
Referring to fig. 32, based on the above-mentioned interface display method and device, another electronic device 200 capable of executing the above-mentioned interface display method is further provided in the embodiments of the present application. The electronic device 200 includes a foldable device body, one or more (only one shown in the figures) 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 therein a program capable of executing the contents of the foregoing embodiments, and the processor 202 can execute the program stored in the memory 204.
Wherein processor 202 may include one or more cores for processing data. The processor 202 utilizes various interfaces and lines to connect various portions of the overall electronic device 200, perform various functions of the electronic device 200, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 204, and invoking data stored in the memory 204. Alternatively, the processor 202 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 202 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 202 and may be implemented solely by a single communication chip.
The Memory 204 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Memory 204 may be used to store instructions, programs, code sets, or instruction sets. The memory 204 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the electronic device 200 in use (e.g., phonebook, audiovisual data, chat log data), and the like.
The network module 206 is configured to receive and transmit electromagnetic waves, and to implement mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as an audio playback device. The network module 206 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The network module 206 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks. The wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. For example, the network module 206 may interact with base stations.
The first screen 208 and the second screen 210 may be used for interface display. The first screen 208 and the second screen 210 are disposed opposite to each other on both sides of the apparatus body. The first screen 208 may be folded along with the apparatus body, and the first screen 208 is located at an inner side of the apparatus body when the apparatus body is in a folded state.
The image acquisition assembly may include a first front facing camera 212, a second front facing camera 214, and a rear facing camera 216. The first front camera 212 is disposed on the side of the first screen 208, the rear camera 216 is disposed on the side of the second screen 210, and the rear camera 216 and the second screen 210 are disposed on two sides of the folding position of the device body. The second front camera 214 is disposed at the second screen 210.
Referring to fig. 33, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 1100 has stored therein program code that can be invoked by a processor to perform the methods described in the method embodiments above.
The computer readable storage medium 1100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, computer readable storage medium 1100 includes non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 1100 has storage space for program code 1110 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 1110 may be compressed, for example, in a suitable form.
In summary, the electronic device includes a foldable device main body, an image acquisition component, a first screen and a second screen, where the first screen and the second screen are oppositely disposed on two sides of the device main body, and the first screen can be folded along with the device main body, and when the device main body is in a folded state, the first screen is located on the inner side of the device main body. After the image acquisition program is started, the electronic equipment can flexibly adapt to different equipment postures by acquiring the equipment posture of the equipment main body and controlling the content displayed on at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program, so that the interface of the image acquisition program can be adaptively displayed under the different posture postures of the electronic equipment.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, one of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

1. The interface display method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a foldable equipment main body, an image acquisition assembly, a first screen and a second screen, wherein the first screen and the second screen are oppositely arranged on two sides of the equipment main body, the first screen can be folded along with the equipment main body, and when the equipment main body is in a folded state, the first screen is positioned on the inner side of the equipment main body; the method comprises the following steps:
acquiring the equipment posture of the equipment main body under the condition that an image acquisition program acquires images through the image acquisition component;
and controlling the content displayed on at least one screen of the first screen and the second screen according to the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program.
2. The method of claim 1, wherein the image capturing component includes a first front camera and a rear camera, the first front camera is disposed on a side where the first screen is disposed, the rear camera is disposed on a side where the second screen is disposed, and the rear camera and the second screen are disposed on two sides of a folding position of the device main body, and the controlling content displayed on at least one screen of the first screen and the second screen based on a device posture of the device main body and interface content corresponding to the image capturing program includes:
And if the equipment posture characterizes that the equipment main body is in an unfolding state, controlling the first screen to display an image acquisition operation interface corresponding to the image acquisition program, wherein the image acquisition operation interface comprises an operation control and a preview picture display area, and a preview picture acquired by the first front camera or the rear camera is displayed in the preview picture display area.
3. The method according to claim 2, wherein the method further comprises:
and if the electronic equipment currently acquires the preview picture through the rear camera, controlling the second screen to synchronously display the preview picture.
4. The method of claim 3, wherein the image acquisition operation interface further comprises a screen switch control, the method further comprising:
and if the operation on the screen switching control is performed, controlling the second screen to display the image acquisition operation interface and controlling the first screen to stop.
5. The method of claim 2, wherein the electronic device is currently capturing a preview image by the rear camera, the image capturing operation interface further comprises a screen switch control, and the method further comprises:
And if the operation on the screen switching control is performed, controlling the second screen to synchronously display the preview picture.
6. The method of claim 2, wherein the electronic device is currently capturing a preview picture by the rear camera, the image capture operation interface further comprising an interface zoom control, the method further comprising:
if the operation on the interface zoom control is performed, the area occupied by the image acquisition operation interface is reduced, a shot image browsing interface is additionally displayed in the first screen, and the shot image browsing interface comprises shot images and operation controls corresponding to the shot images.
7. The method of claim 6, wherein the image capturing operation interface further comprises a screen switching control, and if there is an operation on the interface zoom control, the method further comprises, after reducing the area occupied by the image capturing operation interface and adding and displaying the captured image browsing interface in the first screen:
if the operation on the screen switching control is performed, controlling the second screen to synchronously display the preview picture; or alternatively
And if the operation on the interface zoom control is performed, increasing the area occupied by the image acquisition operation interface in the first screen, and canceling displaying the shot image browsing interface.
8. The method of claim 2, wherein the image acquisition component further comprises a second front-facing camera disposed at the second screen, the electronic device currently acquiring a preview picture via the first front-facing camera, the image acquisition operation interface further comprising a screen switch control, the method further comprising:
if the operation on the screen switching control is performed, switching to the process that the second front-facing camera acquires a preview picture and controlling the second screen to display the image acquisition operation interface;
and controlling the first screen to stop.
9. The method of claim 2, wherein the electronic device is currently capturing a preview picture by the first front-facing camera, the image capturing operation interface further comprising an interface zoom control, the method further comprising:
if the operation on the interface zoom control is performed, the operation is switched to the process that the rear camera acquires a preview picture, the area occupied by the image acquisition operation interface is reduced, a shot image browsing interface is additionally displayed in the first screen, and the shot image browsing interface comprises an image obtained by last shooting and an operation control corresponding to the image.
10. The method of claim 9, wherein the image capturing component further comprises a second front camera, the second front camera is disposed at the second screen, the image capturing operation interface further comprises a front-rear camera switching control and a screen switching control, and if there is an operation on the interface zoom control, switching to capturing a preview image by the rear camera, reducing an area occupied by the image capturing operation interface, and further comprising, after additionally displaying a captured image browsing interface in the first screen:
switching to acquire a preview picture by the first front camera if the operation on the front and rear camera switching control is performed, and switching to acquire a preview picture by the second front camera and controlling the first screen to stop screen if the operation on the screen switching control is performed;
or if the operation on the interface zoom control is performed, switching the preview picture acquired by the first front-end camera, increasing the area occupied by the image acquisition operation interface in the first screen, and canceling displaying the shot image browsing interface.
11. The method of claim 1, wherein the image capturing component includes a second front-facing camera disposed at the second screen, the controlling content displayed on at least one of the first screen and the second screen based on the device pose of the device body and interface content corresponding to the image capturing program, comprising:
and if the equipment posture characterizes that the equipment main body is in a folded state, controlling the second screen to display an image acquisition operation interface corresponding to the image acquisition program, wherein the image acquisition operation interface comprises an operation control and a preview picture display area, and the preview picture display area displays a preview picture acquired by the second front-facing camera.
12. The method according to claim 11, wherein the image capturing assembly further includes a rear camera, the rear camera is disposed on a side where the second screen is located, the rear camera and the second screen are relatively disposed on two sides of a folding position of the device main body, the image capturing operation interface further includes a screen switching control, and if the device posture characterizes that the device main body is in a folding state, controlling the second screen to display the image capturing operation interface corresponding to the image capturing program further includes:
And if the operation on the screen switching control is performed, switching to the process of acquiring the preview picture by the rear camera.
13. The method of claim 1, wherein the image capturing component includes a first front camera and a rear camera, the first front camera is disposed on a side where the first screen is disposed, the rear camera is disposed on a side where the second screen is disposed, and the rear camera and the second screen are disposed on two sides of a folding position of the device main body, and the controlling content displayed on at least one screen of the first screen and the second screen based on a device posture of the device main body and interface content corresponding to the image capturing program includes:
if the equipment gesture represents that the equipment main body is in a hovering state and the folding angle of the equipment main body is larger than a specified angle, controlling the first screen to display an image acquisition operation interface corresponding to the image acquisition program, wherein the image acquisition operation interface comprises an operation control and a preview picture display area, and the preview picture display area is displayed with preview pictures acquired by the first front camera or the rear camera, wherein the operation control and the preview picture display area are relatively positioned at two sides of the folding position of the equipment main body;
Or alternatively
If the equipment gesture characterizes that the equipment main body is in a hovering state and the folding angle of the equipment main body is smaller than a specified angle, controlling the first screen to display an image acquisition operation interface corresponding to the image acquisition program, wherein the image acquisition operation interface comprises an operation control and a preview picture display area, the preview picture display area is displayed with a preview picture acquired by the first front camera or the rear camera, and the operation control and the preview picture display area are positioned on the same side of the folding position of the equipment main body.
14. The method of claim 13, wherein the method further comprises:
if the equipment gesture represents that the equipment main body is in a hovering state and the folding angle of the equipment main body is smaller than a specified angle, acquiring data acquired by a gyroscope of the electronic equipment;
and selecting one display area from a first display area and a second display area of a first screen based on the data acquired by the gyroscope to display an operation control and a preview picture, wherein the first display area and the second display area are respectively and relatively positioned at two sides of a folding position of the equipment main body.
15. The method according to claim 13, wherein the image capturing component further includes a second front-facing camera, the second front-facing camera is disposed at the second screen, the image capturing operation interface further includes a screen switching control, the electronic device is configured to capture a preview image through the first front-facing camera, and if the device gesture characterizes that the device main body is in a hovering state, the controlling the first screen to display the image capturing operation interface corresponding to the image capturing program further includes:
if the operation on the screen switching control is performed, switching to the process that the second front-facing camera acquires a preview picture;
and controlling the second screen to display the image acquisition operation interface and controlling the first screen to stop.
16. The method of claim 13, wherein the electronic device is configured to acquire the preview screen via the first front-facing camera, and if there is an operation on the screen switch control, switch to acquiring the preview screen via the second front-facing camera, comprising:
if the electronic equipment is used for acquiring the preview picture through the first front-end camera, the folding intersection bottom of the equipment main body is smaller than a specified angle, and the operation of the screen switching control is performed, switching to the acquisition of the preview picture by the second front-end camera.
17. The method of claim 13, wherein the electronic device is configured to acquire the preview image through the rear camera, the image acquisition operation interface further includes a screen switch control, and the controlling the first screen to display the image acquisition operation interface corresponding to the image acquisition program further includes, after the device gesture characterizes that the device main body is in a hovering state:
and if the operation on the screen switching control is performed, controlling the second screen to synchronously display the preview picture in the image acquisition operation interface.
18. The interface control device is characterized by being operated in electronic equipment, wherein the electronic equipment comprises a foldable equipment main body, an image acquisition assembly, a first screen and a second screen, the first screen and the second screen are oppositely arranged on two sides of the equipment main body, the first screen can be folded along with the equipment main body, and when the equipment main body is in a folded state, the first screen is positioned on the inner side of the equipment main body; the device comprises:
the gesture acquisition unit is used for acquiring the equipment gesture of the equipment main body under the condition that an image acquisition program acquires images through the image acquisition component;
And the display control unit is used for controlling the content displayed on at least one screen of the first screen and the second screen based on the equipment posture of the equipment main body and the interface content corresponding to the image acquisition program.
19. An electronic device, comprising a foldable device body, an image acquisition assembly, a first screen, and a second screen;
the first screen and the second screen are oppositely arranged at two sides of the equipment main body, wherein the first screen can be folded along with the equipment main body, and when the equipment main body is in a folded state, the first screen is positioned at the inner side of the equipment main body;
the image acquisition assembly comprises 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, the rear camera is arranged on the side where the second screen is located, the rear camera and the second screen are oppositely arranged on two sides of the folding position of the equipment main body, the second front camera is arranged at the second screen, and the electronic equipment further comprises 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 methods of any of claims 1-17.
20. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, wherein the program code, when being executed by a processor, performs the method of any of claims 1-17.
CN202111342223.2A 2021-11-12 2021-11-12 Interface display method and device and electronic equipment Pending CN116126202A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111342223.2A CN116126202A (en) 2021-11-12 2021-11-12 Interface display method and device and electronic equipment
PCT/CN2022/122466 WO2023082888A1 (en) 2021-11-12 2022-09-29 Interface display method and apparatus, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111342223.2A CN116126202A (en) 2021-11-12 2021-11-12 Interface display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116126202A true CN116126202A (en) 2023-05-16

Family

ID=86304984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111342223.2A Pending CN116126202A (en) 2021-11-12 2021-11-12 Interface display method and device and electronic equipment

Country Status (2)

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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102485127B1 (en) * 2018-07-06 2023-01-05 삼성전자주식회사 Electronic device and method for changing location of preview image according to direction of camera
KR20200140609A (en) * 2019-06-07 2020-12-16 삼성전자주식회사 Foldable electronic device and method for displaying information in the foldable electronic device
CN110865752A (en) * 2019-10-31 2020-03-06 维沃移动通信有限公司 Photo viewing method and electronic equipment
CN111124561B (en) * 2019-11-08 2021-02-12 华为技术有限公司 Display method applied to electronic equipment with folding screen and electronic equipment
CN113422903B (en) * 2021-06-16 2023-01-03 荣耀终端有限公司 Shooting mode switching method, equipment and storage medium

Also Published As

Publication number Publication date
WO2023082888A1 (en) 2023-05-19

Similar Documents

Publication Publication Date Title
CN114679537B (en) Shooting method and terminal
CN110446097B (en) Screen recording method and mobile terminal
US8390672B2 (en) Mobile terminal having a panorama photographing function and method for controlling operation thereof
CN109407936B (en) Screenshot method and related device
CN106210539B (en) A kind of method and terminal obtaining panoramic picture
CN110007837B (en) Picture editing method and terminal
EP3767939A1 (en) Photographing method and mobile terminal
EP2887641A1 (en) Mobile terminal and method of controlling the mobile terminal
CN111355998B (en) Video processing method and device
CN111050062B (en) Shooting method and electronic equipment
CN109923850B (en) Image capturing device and method
CN113810604B (en) Document shooting method, electronic device and storage medium
CN108776822B (en) Target area detection method, device, terminal and storage medium
CN113014801B (en) Video recording method, video recording device, electronic equipment and medium
CN112116624A (en) Image processing method and electronic equipment
CN111523346A (en) Image recognition method and device, electronic equipment and storage medium
CN110072057B (en) Image processing method and related product
CN110086998B (en) Shooting method and terminal
CN109257538A (en) Camera control method and relevant apparatus
CN111954058B (en) Image processing method, device, electronic equipment and storage medium
CN110545385A (en) image processing method and terminal equipment
CN116126202A (en) Interface display method and device and electronic equipment
CN114338874A (en) Image display method of electronic device, image processing circuit and electronic device
CN105808102A (en) Frame adding method and apparatus
CN114615520B (en) Subtitle positioning method, subtitle positioning device, computer equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination