Display method and related apparatus
By dynamically adjusting the split-screen display mode of the application through the folding state changes of the tri-fold display and the form identifier in the configuration file, the applicability of split-screen display under different device forms is solved, improving user operation efficiency and experience.
Patent Information
- Application Number
- PCT/CN2025/085214
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-29
- Filing Date
- 2025-03-27
- Publication Date
- 2026-01-08
AI Technical Summary
Existing technologies are not applicable to split-screen displays on electronic devices of different device forms, making it impossible to implement in-application split-screen displays on devices of various forms.
A display method is provided that dynamically adjusts the split-screen display mode applied under different device forms by changing the different folding states of a tri-fold display screen and combining the form identifiers in the configuration file, including display adjustments in fully unfolded, semi-folded, and fully folded states.
It enables dynamic adjustment of application split-screen display under different device configurations, expanding the scope of application and improving user operation efficiency and user experience.
Smart Images

Figure CN2025085214_08012026_PF_FP_ABST
Abstract
Description
Display method and related device
[0001] The present application claims priority to the Chinese patent application No. 202410382880.7, filed on March 29, 2024, and entitled "A display method and related device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the field of electronic technology, and in particular, to a display method and related device. BACKGROUND
[0003] With the continuous development of electronic technology, electronic devices have more and more functions. Many electronic devices support in-application split-screen display, that is, displaying different interfaces of the same application in two non-overlapping windows.
[0004] Different types of electronic devices can store different configuration files, which are used to indicate one or more applications that support in-application split-screen display in the current electronic device. The electronic device can determine whether an application uses in-application split-screen display based on the configuration file.
[0005] However, the above method can only be applied to the case where the electronic device is a single form device, and cannot be applied to the case where the electronic device includes different device forms. SUMMARY
[0006] The present application provides a display method and related device, which realizes the configuration of the display mode of the electronic device in different device forms, can determine whether an application supports in-application split-screen display in the current device form according to the current device form, and has a wide range of applications.
[0007] In a first aspect, the present application provides a display method applied to an electronic device, the electronic device including a three-fold display screen, the three-fold display screen including two folding edges, the three-fold display screen being divided into three split screens by the two folding edges, the three split screens including a first screen, a second screen and a third screen; the method including: when the electronic device is in a fully unfolded state, displaying a first interface of a first application on the three-fold display screen, the first interface including a first control; receiving a first operation of the user on the first control; in response to the first operation, displaying the first interface on a first display area of the three-fold display screen and displaying a second interface of the first application on a second display area of the three-fold display screen, the first display area and the second display area being non-overlapping; in response to the electronic device changing from the fully unfolded state to a half-folded state, displaying the first interface on the second screen and displaying the second interface on the third screen; the fully unfolded state being a device form in which the first screen, the second screen and the third screen are all unfolded; the half-folded state being a device form in which the orientation of the first screen is opposite to the orientation of the second screen, and the orientation of the second screen is the same as the orientation of the third screen.
[0008] In this way, if the first application supports in-application split-screen display when the electronic device is in the fully unfolded state and also supports in-application split-screen display when the electronic device is in the semi-folded state, after the electronic device changes from the fully unfolded state to the semi-folded state, the first application can also be displayed in the in-application split-screen display mode.
[0009] In a possible implementation, the method further includes: in response to the electronic device changing from the semi-folded state to the fully folded state, displaying the first interface on the first screen, and the fully folded state being a device form in which three screens are folded based on two folding edges.
[0010] In this way, if the first application supports in-application split-screen display when the electronic device is in the semi-folded state and does not support in-application split-screen display when the electronic device is in the fully folded state, after the electronic device changes from the semi-folded state to the fully folded state, the first application can be displayed in the normal display mode.
[0011] In a possible implementation, the method further includes: in response to the electronic device changing from the fully folded state to the semi-folded state, displaying the first interface on the second screen and displaying the second interface on the third screen.
[0012] In this way, if the first application supports in-application split-screen display when the electronic device is in the semi-folded state and does not support in-application split-screen display when the electronic device is in the fully folded state, after the electronic device changes from the fully folded state to the semi-folded state, the first application can be displayed in the in-application split-screen display mode.
[0013] In a possible implementation, the method further includes: in response to the electronic device changing from the semi-folded state to the fully unfolded state, displaying the first interface on the first display area and displaying the second interface on the second display area.
[0014] In this way, if the first application supports in-application split-screen display when the electronic device is in the semi-folded state and also supports in-application split-screen display when the electronic device is in the fully unfolded state, after the electronic device changes from the semi-folded state to the fully unfolded state, the first application can be displayed in the in-application split-screen display mode.
[0015] In a possible implementation, the method further includes: in response to the electronic device changing from the fully folded state to the fully unfolded state, displaying the first interface on the first display area and displaying the second interface on the second display area.
[0016] In this way, if the first application supports in-application split-screen display when the electronic device is in the fully unfolded state and does not support in-application split-screen display when the electronic device is in the fully folded state, after the electronic device changes from the fully folded state to the fully unfolded state, the first application can be displayed in the in-application split-screen display mode.
[0017] In a possible implementation, the first interface of the first application is displayed on the three-fold display screen, specifically including: the first interface of the first application is displayed on the third display area of the three-fold display screen, and the third display area includes a partial area of the first screen, the second screen, and a partial area of the third screen.
[0018] In this way, in the fully unfolded state, the electronic device can display the interface of the first application in the application-in-screen split display mode through a single window.
[0019] In a possible implementation, the electronic device stores a first file, and the first file includes a first indication field; when the electronic device is in the fully unfolded state, the method further includes: determining, based on the first indication field, that the first list includes the first identifier of the first application, and the first list is used to indicate applications that support application-in-screen split display in the fully unfolded state of the electronic device; and in response to the first operation, displaying the first interface on the first display area of the three-fold display screen and displaying the second interface of the first application on the second display area of the three-fold display screen, specifically including: in response to the first operation, displaying the first interface on the first display area of the three-fold display screen and displaying the second interface of the first application on the second display area of the three-fold display screen based on the first identifier in the first list.
[0020] In this way, whether the first application supports application-in-screen split display in different device morphologies can be determined based on the first indication field. The first identifier can be an identifier of the first application.
[0021] In a possible implementation, before displaying the first interface of the first application on the three-fold display screen, the method further includes: receiving a second operation of the user opening the first application; and displaying the first interface of the first application on the three-fold display screen, specifically including: in response to the second operation, displaying the first interface of the first application on the three-fold display screen based on the first identifier in the first list.
[0022] In this way, in the case that the electronic device is in the fully unfolded state, the interface of the first application can be displayed in the application-in-screen split display mode after receiving the operation of the user opening the first application and determining that the first application supports application-in-screen split display based on the first list (i.e., the first list includes the first identifier).
[0023] In a possible implementation, the first indication field includes a first morphology identifier, and the first morphology identifier has a mapping relationship with the fully unfolded state; and determining, based on the first indication field, that the first list includes the first identifier of the first application, specifically including: determining, based on the first morphology identifier in the first indication field, that the first list includes the first identifier.
[0024] In this way, in a case where the first indication field includes the first modality identifier, the electronic device can determine that the first application supports the in-application split-screen display in the fully unfolded state, that is, determine that the first list includes the first identifier of the first application.
[0025] In a possible implementation, in response to the electronic device changing from the fully unfolded state to the semi-folded state, the method further includes: determining, based on the first indication field, that the second list includes the first identifier of the first application, the second list being used to indicate applications that support the in-application split-screen display in the semi-folded state of the electronic device; displaying the first interface on the second screen and the second interface on the third screen, specifically including: displaying the first interface on the second screen and the second interface on the third screen based on the first identifier in the second list.
[0026] In this way, the electronic device can display the interface of the first application in the in-application split-screen display mode when it is determined, based on the second list, that the first application supports the in-application split-screen display (that is, the second list includes the first identifier) after monitoring that the device modality changes from the fully unfolded state to the semi-folded state.
[0027] In a possible implementation, the first indication field includes a second modality identifier, and the second modality identifier has a mapping relationship with the semi-folded state; the determining, based on the first indication field, that the second list includes the first identifier of the first application specifically includes: determining, based on the second modality identifier in the first indication field, that the second list includes the first identifier.
[0028] In this way, in a case where the first indication field includes the second modality identifier, the electronic device can determine that the first application supports the in-application split-screen display in the semi-folded state, that is, determine that the second list includes the first identifier of the first application.
[0029] In a possible implementation, the first file further includes a second indication field; when the electronic device is in the fully unfolded state, the method further includes: determining, based on the second indication field, that the first list includes a second identifier of a second application; receiving a third operation of a user to open the second application; in response to the third operation, displaying a third interface of the second application on the three-fold display screen based on the second identifier in the first list, the third interface including a second control; receiving a fourth operation of the user to the second control; and in response to the fourth operation, displaying the third interface based on the second identifier in the first list on the first display area and displaying a fourth interface of the second application on the second display area.
[0030] In this way, when the electronic device is in the fully unfolded state, the electronic device can further determine, based on the second indication field, whether the second application supports the in-application split-screen display in the fully unfolded state (that is, determine whether the first list includes the second identifier of the second application). In a case where the first list includes the second identifier of the second application, the electronic device can display the interface of the second application in the in-application split-screen display mode.
[0031] In a possible implementation, the method further includes: in response to the electronic device changing from the fully unfolded state to the semi-folded state, determining, based on the second indication field, that the second list does not include the second identifier, the second list being used to indicate applications that support in-application split-screen display in the semi-folded state of the electronic device; and displaying, based on the second list, a third interface on the second screen and the third screen.
[0032] In this way, when the electronic device changes in device form, the electronic device can determine, based on the second indication field, whether the second application supports in-application split-screen display in the changed device form (that is, whether the second list includes the second identifier). If the second list does not include the second identifier, the electronic device can display an interface of the second application in a regular display mode.
[0033] In a possible implementation, the method further includes: in response to the electronic device changing from the semi-folded state to the fully unfolded state, determining, based on the second indication field, that the first list includes the second identifier; and displaying, based on the second identifier in the first list, a third interface on the first display area and a fourth interface of the second application on the second display area.
[0034] In this way, if the second list does not include the second identifier and the first list includes the second identifier, after the electronic device changes from the semi-folded state to the fully unfolded state, the electronic device can display multiple interfaces of the second application based on the in-application split-screen display mode.
[0035] In a possible implementation, when the electronic device is in the semi-folded state, the first screen is turned off, or the first screen is partially turned on.
[0036] In a second aspect, the present application provides an electronic device, which includes one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are configured to store computer program codes including computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the display method in any possible implementation of any aspect of the first aspect.
[0037] In a third aspect, an embodiment of the present application provides a readable storage medium, which includes instructions. When the instructions are run on an electronic device, the electronic device performs the display method in any possible implementation of any aspect of the first aspect.
[0038] In a fourth aspect, an embodiment of the present application provides a computer program product, which, when run on an electronic device, causes the electronic device to perform the display method in any possible implementation of any aspect of the first aspect.
[0039] The advantages of the second aspect to the fourth aspect can refer to the advantages of the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0040] FIGS. 1A-1B are a set of interface schematic diagrams of display mode 1 provided by an embodiment of the present application;
[0041] FIGS. 1C-1D are a set of interface schematic diagrams of display mode 2 provided by an embodiment of the present application;
[0042] FIG. 1E is a content structure schematic diagram of a configuration file W1 provided by an embodiment of the present application;
[0043] FIGS. 2A-2F are a set of device form schematic diagrams of an electronic device 100 provided by an embodiment of the present application;
[0044] FIG. 3A is a hardware structure schematic diagram of an electronic device 100 provided by an embodiment of the present application;
[0045] FIG. 3B is a software architecture schematic diagram of an electronic device 100 provided by an embodiment of the present application;
[0046] FIG. 4A is a flow schematic diagram of a display method provided by an embodiment of the present application;
[0047] FIG. 4B is a content structure schematic diagram of a configuration file W2 provided by an embodiment of the present application;
[0048] FIG. 4C is a content composition schematic diagram of a window container 14a stored before and after a device form change provided by an embodiment of the present application;
[0049] FIG. 5 is a flow schematic diagram of another display method provided by an embodiment of the present application;
[0050] FIGS. 6A-6C are a set of interface schematic diagrams of an electronic device 100 before and after a form change provided by an embodiment of the present application;
[0051] FIGS. 7A-7C are another set of interface schematic diagrams of an electronic device 100 before and after a form change provided by an embodiment of the present application;
[0052] FIGS. 8A-8D are another set of interface schematic diagrams of an electronic device 100 before and after a form change provided by an embodiment of the present application;
[0053] FIGS. 9A-9C are another set of interface schematic diagrams of an electronic device 100 before and after a form change provided by an embodiment of the present application;
[0054] FIG. 10 is a flow schematic diagram of a display method provided by an embodiment of the present application. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; the "and / or" in the text only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0056] Hereinafter, the terms "first" and "second" are used only for descriptive purposes, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" is two or more than two.
[0057] In the following embodiments of the present application, the term "user interface (UI)" is a medium interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form that the user can accept. The user interface is source code written in a specific computer language such as Java, extensible markup language (XML), etc. The interface source code is parsed, rendered, and finally presented as content that the user can recognize on the electronic device. The commonly used form of user interface is graphic user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icon, button, menu, tab, text box, dialog box, status bar, navigation bar, Widget, etc. displayed in the display screen of the electronic device.
[0058] The embodiments of the present application provide two display modes, display mode 1 and display mode 2. The display mode 1 can also be referred to as an in-application split-screen display mode (or parallel view mode), and the display mode 2 can also be referred to as a regular display mode. The application 1 is an application installed on the electronic device. In a case where the application 1 supports the display mode 1, the electronic device can receive and respond to an operation of a user opening the application 1 to display the application 1 in the display mode 1. The display mode 1 includes two cases of single-window display and multi-window display. In the case of single-window display, the electronic device 100 can display an interface of the application 1 through a single window, and the display size of the single window is less than or equal to the size of the currently available display area. In the case of multi-window display, the electronic device 100 can display different interfaces of the application 1 through multiple windows, and the multiple windows do not overlap with each other. In a case where the application 1 does not support the display mode 1, the electronic device can receive and respond to an operation of a user opening the application 1 to display the application 1 in the display mode 2.
[0059] The two display modes provided by the present application will be described below in combination with specific examples.
[0060] For example, FIGS. 1A-1B show a set of interface schematic diagrams of the display mode 1.
[0061] As shown in FIG. 1A, the display screen of the electronic device A can display an interface 1000, and the interface 1000 can include a window 1001. The display size of the window 1001 can be less than the display size of the interface 1000. The window 1001 can display an interface 1002 of a shopping application. The interface 1002 can include one or more commodity items, such as a commodity item 1003, etc. Each commodity item 1003 can be used to trigger the electronic device A to display detailed information of the commodity item.
[0062] The electronic device A can receive and respond to a click operation of a user on the commodity item 1003 to display an interface 1010 as shown in FIG. 1B.
[0063] As shown in FIG. 1B, the interface 1010 can include a window 1011 and a window 1012, and the window 1011 and the window 1012 do not overlap with each other. The window 1011 can display the interface 1002 of the shopping application, and the window 1012 can display an interface 1013 of the shopping application, and the interface 1013 displays detailed information of the commodity item 1003. In some embodiments, the display size of the window 1011 and the display size of the window 1012 are the same, and the display size of the window 1011 is less than the window 1001 shown in FIG. 1A.
[0064] In this way, in the case of using the display mode 1, the user can view different interfaces in the application 1 through different windows, which provides convenience for the user and brings a better user experience.
[0065] As another example, FIGS. 1C-1D show a set of interface schematic diagrams of display mode 2.
[0066] As shown in FIG. 1C, in the case that the shopping application does not support display mode 1, the interface 1002 of the shopping application can be displayed on the display screen of the electronic device A, the display size of the interface 1002 is the same as the size of the display screen, and is larger than the display size of the window 1001 shown in FIG. 1A. The interface 1002 can include the item 1003, and other specific content of the interface 1002 can refer to the related description of the embodiment shown in FIG. 1A, which will not be repeated here.
[0067] The electronic device A can receive and respond to the click operation of the user on the item 1003 in the interface 1002 shown in FIG. 1C, and display the interface 1013 shown in FIG. 1D.
[0068] As shown in FIG. 1D, the display size of the interface 1013 is the same as the size of the display screen, and is larger than the display size of the window 1012 shown in FIG. 1B. In addition, the specific content of the interface 1013 can refer to the related description in the embodiment shown in FIG. 1B, which will not be repeated here.
[0069] In this way, in the case that the application 1 does not support display mode 1, the electronic device can display the interface in the application 1 in display mode 2, that is, display the interface of the application 1 through a single window in all areas of the display screen.
[0070] It can be understood that the embodiments shown in FIGS. 1A-1D are only exemplary to illustrate the interface display form of display mode 1 and display mode 2, in the embodiments of the present application, the application 1 can also be other applications besides the shopping application, and in the case of using display mode 1, the display size of each window can also be different from the above display size, and the specific display size of the window is not limited in the present application.
[0071] The electronic device A can be the tablet in the embodiments shown in FIGS. 1A-1D, can also be a mobile phone with a foldable screen, or other types of electronic devices, etc., and the specific type of the electronic device A is not limited in the present application.
[0072] As an example, FIG. 1E shows a content structure schematic diagram of a configuration file W1 provided in the embodiments of the present application.
[0073] As shown in FIG. 1E, the configuration file W1 can include one or more application identifiers, each of which can correspond to an application installed on the electronic device A, and the application identifiers in the configuration file W1 can be used to indicate applications that support display mode 1. For example, the one or more application identifiers can include an application identifier B1, an application identifier B2, and the like. Among them, the application identifier B1 can be an identifier of the application 1, and the application identifier B2 can be an identifier of the application 2. According to the configuration file W1 shown in FIG. 1E, among the multiple applications installed on the electronic device A, the applications that support display mode 1 can include the application 1 and the application 2.
[0074] It can be understood that the embodiment shown in FIG. 1E is only exemplary, and the electronic device A can determine whether an application supports display mode 1 based on the configuration file W1. In the embodiments of the present application, the configuration file W1 can include more or fewer application identifiers than the above-mentioned embodiments, or different application identifiers from the above-mentioned embodiments, which are not limited herein.
[0075] In this way, when the electronic device A is powered on, the electronic device A can determine the application list E1 based on the configuration file W1, and the application list E1 can include identifiers of all applications in the electronic device A that support display mode 1. In this way, when receiving a user operation of opening the application 1, the electronic device A can determine whether the application list E1 includes the identifier of the application 1 based on the application list E1. If the application list E1 includes the identifier of the application 1, the electronic device A can display the interface of the application 1 in display mode 1. If the application list E1 does not include the identifier of the application 1, the electronic device A can display the interface of the application 1 in display mode 2.
[0076] However, if the electronic device A has multiple device forms, for example, the electronic device A is an electronic device with a foldable screen, in this case, the size of the available display area in the display screen is different under different device forms, and the applications that support display mode 1 are also not necessarily the same. Therefore, if the above-mentioned configuration file W1 shown in FIG. 1E is still used, the electronic device A needs to set multiple different configuration files for different device forms, which requires more memory and also brings more power consumption during running.
[0077] The device form of the electronic device provided in the embodiments of the present application is introduced below.
[0078] Currently, many electronic devices use flexible materials as substrates for display screens, so that the display screen can be folded along the folding edge. Such a foldable display screen can be referred to as a folding screen. An electronic device with a folding screen can be referred to as a folding screen device. The folding edge in the folding screen can divide a display screen into multiple sub-screens. A hinge can be provided at the folding edge, and the sub-screens can rotate around the hinge at the folding edge. With the development of folding screen technology, folding screens are no longer limited to one folding edge, but can also have multiple folding edges. A folding screen with two folding edges can be referred to as a tri-fold screen. The two folding edges can divide the tri-fold screen into three sub-screens. Among them, the three sub-screens of the tri-fold screen can display a user interface individually or in combination. An electronic device with a tri-fold screen can be referred to as a tri-fold screen device.
[0079] Embodiments of the present application provide a folding screen device operation method and related apparatus. In response to the user's operation of rotating the folding screen sub-screen along the folding edge, the electronic device can obtain the landscape / portrait screen state, the angle of the folding screen with the horizontal plane, the angular velocity when the user rotates the sub-screen, the angle of the sub-screen rotation, and the dwell time after the sub-screen rotation, and other parameters. Then the electronic device can provide corresponding application functions according to the application in the electronic device and one or more of the above parameters. The above application function can be preset by the electronic device, or it can be preset by the user. In this way, the user does not need to click on the folding screen, but only needs to rotate the sub-screen to quickly implement some application functions, thereby improving the user's operation efficiency and use experience.
[0080] In order to facilitate explanation and better understanding, subsequent embodiments of the present application take a tri-fold screen device as an example to introduce the folding screen device operation method and related apparatus provided by the embodiments of the present application. Those skilled in the art should understand that the operation method of other multi-fold screen electronic devices can refer to the operation method of the tri-fold screen device. The present application will not repeat the operation method of other electronic devices with foldable screens.
[0081] By way of example, taking a tri-fold screen as an example, FIGS. 2A-2B show device morphology schematic diagrams of a group of electronic devices 100 provided by embodiments of the present application.
[0082] As shown in FIG. 2A, the electronic device 100 can include three sub-screens. The three sub-screens can be A screen 201, B screen 202 and C screen 203 respectively. The intersection of A screen 201 and B screen 202 can be provided with a first hinge 204. The intersection of B screen 202 and C screen 203 can be provided with a second hinge 205. The intersection of A screen 201 and B screen 202, and the intersection of B screen 202 and C screen 203 can also be referred to as the folding edge of the electronic device 100. In embodiments of the present application, A screen 201 can also be referred to as a first sub-screen, B screen 202 can also be referred to as a second sub-screen, and C screen 203 can also be referred to as a third sub-screen.
[0083] The A screen 201, the B screen 202, and the C screen 203 can each have two faces: a first face and a second face. The first face and the second face of one split screen are opposite to each other.
[0084] Exemplarily, FIG. 2A shows the first faces of the A screen 201, the B screen 202, and the C screen 203. FIG. 2B shows the second faces of the A screen 201, the B screen 202, and the C screen 203.
[0085] The first faces of the A screen 201, the B screen 202, and the C screen 203 can be used to display a user interface. Without being limited to the first faces displaying the user interface, in some embodiments, one or more of the second faces of the A screen 201, the second face of the B screen 202, and the second face of the C screen 203 can also be used to display the user interface. Embodiments of the present application do not limit the number of split screen faces in the electronic device 100 that are used to display the user interface.
[0086] The first rotation shaft 204 and the second rotation shaft 205 can be used to rotate the split screens in the electronic device 100. In some embodiments, the first rotation shaft 204 can include an angular velocity sensor for calculating the included angle between the A screen 201 and the B screen 202. The second rotation shaft 205 can also include an angular velocity sensor for calculating the included angle between the B screen 202 and the C screen 203.
[0087] In some embodiments, the included angle between the first face of the A screen 201 and the first face of the B screen 202 can be referred to as a, and the included angle between the first face of the B screen 202 and the first face of the C screen 203 can be referred to as β.
[0088] The value of a can range from 180° to 360°. When the A screen 201 and the B screen 202 are located in the same plane, a is 180°. When the second face of the A screen 201 and the second face of the B screen 202 are attached, a is 360°. In the case where a is 360°, the A screen 201 can rotate around the first rotation shaft 204 in a direction away from the second face of the B screen 202 to the second face of the A screen 201 to be located in the same plane as the B screen 202. During the above rotation of the A screen 201, the value of a can gradually change from 360° to 180°. Alternatively, in the case where a is 360°, the B screen 202 can rotate around the first rotation shaft 204 in a direction away from the second face of the A screen 201 to the second face of the B screen 202 to be located in the same plane as the A screen 201.
[0089] The value of β can range from 0° to 180°. When the B screen 202 and the C screen 203 are in the same plane, β is 180°. When the first surface of the B screen 202 is attached to the first surface of the C screen 203, β is 0°. In the case where β is 0°, the B screen 202 can be rotated along the second rotation shaft 205 to the same plane as the C screen 203 in a direction away from the first surface of the C screen 203. During the rotation of the B screen 202 described above, the value of β can gradually change from 0° to 180°. Alternatively, in the case where β is 0°, the C screen 203 can be rotated around the second rotation shaft 205 to the same plane as the B screen 202 in a direction away from the first surface of the B screen 202.
[0090] In some embodiments, the value of α ranges from 180° to 360°, and the value of β ranges from 0° to 180°. In other embodiments, the A screen 201, the B screen 202, and the C screen 203 can also have different folding modes, i.e., the values of α and β can also have different ranges. For example, the A screen 201, the B screen 202, and the C screen 203 can also be rotated by 360° around the rotation shaft, and the value of α can range from 0° to 360°, and the value of β can also range from 0° to 360°. The embodiments of the present application do not limit the angle of rotation of the A screen 201, the B screen 202, and the C screen 203.
[0091] In the embodiments of the present application, when the difference between α and 360° is less than a certain angle threshold, the A screen 201 and the B screen 202 can be considered to be folded. For example, the angle threshold can be 10°, 20°, 30°, etc. When the difference between α and 360° is greater than a certain angle threshold, the A screen 201 and the B screen 202 can be considered to be unfolded. For example, the angle threshold can be 150°, 160°, 170°, etc. The present application does not limit the value of the angle threshold. When α is 180°, the A screen 201 and the B screen 202 can be considered to be completely unfolded.
[0092] In the embodiments of the present application, when β is less than a certain angle threshold, the B screen 202 and the C screen 203 can be considered to be folded. For example, the angle threshold can be 10°, 20°, 30°, etc. When β is greater than a certain angle threshold, the B screen 202 and the C screen 203 can be considered to be unfolded. For example, the angle threshold can be 150°, 160°, 170°, etc. The present application does not limit the value of the angle threshold. When β is 180°, the B screen 202 and the C screen 203 can be considered to be completely unfolded.
[0093] In some embodiments, the A-screen 201 can include a first Hall sensor 206, a first sensor module 207, and a front camera 208. The front camera 208 can be located on a first side of the A-screen 201. The B-screen 202 can include a second Hall sensor 209, a third Hall sensor 210, and a second sensor module 211. The C-screen 203 can include a fourth Hall sensor 212, a third sensor module 213, and a rear camera 214. The rear camera 214 can be located on a second side of the C-screen 203.
[0094] The first Hall sensor 206, the second Hall sensor 209, the third Hall sensor 210, and the fourth Hall sensor 212 are semiconductor magnetoelectric devices. The first Hall sensor 206 and the second Hall sensor 209 can be used by the electronic device 100 to determine whether the A-screen 201 and the B-screen 202 are folded or unfolded. The third Hall sensor 210 and the fourth Hall sensor 212 can be used by the electronic device 100 to determine whether the B-screen 202 and the C-screen 203 are folded or unfolded.
[0095] In some embodiments, the first Hall sensor 206 can be disposed in the A-screen 201 away from the first rotation shaft 204. The second Hall sensor 209 can be disposed in the B-screen 202 close to the second rotation shaft 205. The distance between the first Hall sensor 206 and the first rotation shaft 204 can be the same as the distance between the second Hall sensor 209 and the first rotation shaft 204. A straight line connecting the positions of the first Hall sensor 206 and the second Hall sensor 209 can be perpendicular to a straight line on which the first rotation shaft 204 is located.
[0096] In some embodiments, the third Hall sensor 210 can be disposed in the B-screen 202 close to the first rotation shaft 204. The fourth Hall sensor 212 can be disposed in the C-screen 203 away from the second rotation shaft 205. The distance between the third Hall sensor 210 and the second rotation shaft 205 can be the same as the distance between the fourth Hall sensor 212 and the second rotation shaft 205. A straight line connecting the positions of the third Hall sensor 210 and the fourth Hall sensor 212 can be perpendicular to a straight line on which the second rotation shaft 205 is located.
[0097] Without being limited to the above positions, in other embodiments, the first Hall sensor 206, the second Hall sensor 209, the third Hall sensor 210, and the fourth Hall sensor 212 can also be located at other positions in the electronic device 100. The embodiments of the present application do not limit the positions of the first Hall sensor 206, the second Hall sensor 209, the third Hall sensor 210, and the fourth Hall sensor 212 in the electronic device 100.
[0098] In a possible implementation, the Hall sensor can generate an electric signal when the magnetic field between the Hall sensors is greater than a certain threshold. The electronic device 100 can determine whether the two split screens are folded or unfolded by detecting whether the Hall sensor generates an electric signal. Taking the first Hall sensor 206 and the second Hall sensor 209 as an example, when the A screen 201 is folded with the B screen 202, the first Hall sensor 206 in the A screen 201 and the second Hall sensor 209 in the B screen 202 gradually approach each other. The magnetic field between the first Hall sensor 206 and the second Hall sensor 209 increases. When the magnetic field reaches a certain threshold, the first Hall sensor 206 and the second Hall sensor 209 can output an electric signal. The electronic device 100 can detect the electric signal output by the first Hall sensor 206 and the second Hall sensor 209, and determine that the A screen 201 is folded with the B screen 202. When the A screen 201 is unfolded with the B screen 202, the first Hall sensor 206 in the A screen 201 and the second Hall sensor 209 in the B screen 202 gradually move away from each other. The magnetic field at the first Hall sensor 206 and the second Hall sensor 209 weakens. When the magnetic field is less than a certain threshold, the first Hall sensor 206 and the second Hall sensor 209 can stop outputting an electric signal. The electronic device 100 can detect that the first Hall sensor 206 and the second Hall sensor 209 stop outputting an electric signal, and determine that the A screen 201 is unfolded with the B screen 202.
[0099] In another possible implementation, the current of the electric signal generated by the Hall sensor can be related to the size of the magnetic field. Specifically, the stronger the magnetic field detected by the Hall sensor, the greater the current of the electric signal generated by the Hall sensor. The electronic device 100 can determine whether the two split screens are folded or unfolded according to the change in the size of the current. Taking the first Hall sensor 206 and the second Hall sensor 209 as an example, when the current of the electric signal output by the first Hall sensor 206 and the second Hall sensor 209 is detected to increase, the electronic device 100 can determine that the A screen 201 is gradually folded with the B screen 202. When the current of the electric signal output by the first Hall sensor 206 and the second Hall sensor 209 is detected to decrease, the electronic device 100 can determine that the A screen 201 is gradually unfolded with the B screen 202.
[0100] The method in which the electronic device 100 determines whether the B screen 202 and the C screen 203 are folded or unfolded by the third Hall sensor 210 and the fourth Hall sensor 212 can refer to the method in which the electronic device 100 determines whether the A screen 201 and the B screen 202 are folded or unfolded in the above-described embodiments, which will not be described herein again.
[0101] The first sensor module 207 can include an acceleration sensor and a gyroscope sensor. The acceleration sensor can be used to determine the acceleration of the A screen 201 when it is rotated. The electronic device 100 can measure the motion acceleration of the A screen 201 when it is rotated by the acceleration sensor in the first sensor module 207, and then calculate the angle of rotation of the A screen 201 around the first rotation shaft 204 according to the measured motion acceleration. The acceleration sensor can also measure the motion acceleration of the electronic device in the horizontal and vertical directions, and the electronic device 100 can determine the rotation angle of the electronic device relative to the horizontal plane according to the above motion acceleration, and then determine the horizontal-vertical screen state. The electronic device 100 can also measure the angle of the A screen 201 with other sub-screens and the angle of the A screen 201 with the horizontal plane by the gyroscope sensor in the first sensor module 207. In some embodiments, the electronic device 100 can use the acceleration sensor and the gyroscope sensor in combination to determine the rotation angle of the A screen 201, the horizontal-vertical screen state, and the angle of the A screen 201 with the horizontal plane, etc. to improve the accuracy of the measurement results. Similarly, the second sensor module 211 and the third sensor module 213 can also include an acceleration sensor and a gyroscope sensor. The description of the second sensor module 211 and the third sensor module 213 can refer to the description of the first sensor module 207 above, which will not be repeated here. The embodiments of the present application do not limit the positions of the first sensor module 207, the second sensor module 211 and the third sensor module 213 in the electronic device 100.
[0102] The front camera 208 can include one or more cameras for capturing still images or videos.
[0103] The rear camera 214 can include one or more cameras for capturing still images or videos.
[0104] In some embodiments, the electronic device 100 can also include more cameras. For example, the second face of the A screen 201, the first face of the B screen 202, and the first face of the C screen 203 can also be provided with cameras. The embodiments of the present application do not limit the number and position of the cameras in the electronic device 100.
[0105] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. The electronic device 100 can include more or fewer components than illustrated, or combine certain components, or split certain components, or different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0106] The device morphology schematic diagrams of a group of electronic devices 100 provided by the embodiments of the present application will be described below in conjunction with FIGS. 2C-2F.
[0107] FIG. 2C shows a device form diagram of the electronic device 100 in a fully unfolded state according to an embodiment of the present application.
[0108] As shown in FIG. 2C, the device form of the electronic device 100 is in a fully unfolded state. When the electronic device 100 is in the fully unfolded state, the A screen 201, the B screen 202 and the C screen 203 of the electronic device 100 can be in the same plane. The angle a between the first surface of the A screen 201 and the first surface of the B screen 202 can be 180°, and the angle β between the first surface of the B screen 202 and the first surface of the C screen 203 can be 180°.
[0109] FIG. 2D shows a device form diagram of the electronic device 100 in a fully folded state according to an embodiment of the present application.
[0110] As shown in FIG. 2D, the device form of the electronic device 100 is in a fully folded state. When the electronic device 100 is in the fully folded state, the angle a between the first surface of the A screen 201 and the first surface of the B screen 202 can be 360°, and the angle β between the first surface of the B screen 202 and the first surface of the C screen 203 can be 0°. In the above angles, the second surface of the A screen 201 is attached to the second surface of the B screen 202. The first surface of the B screen 202 can be attached to the first surface of the C screen 203. The B screen 202 is folded between the A screen 201 and the C screen 203. Only the first surface of the A screen 201 and the second surface of the C screen 203 are exposed externally.
[0111] FIG. 2E shows a device form diagram of the electronic device 100 in a B-C folded state according to an embodiment of the present application.
[0112] As shown in FIG. 2E, the device form of the electronic device 100 is in a B-C folded state. When the electronic device 100 is in the B-C folded state, the angle a between the first surface of the A screen 201 and the first surface of the B screen 202 can be 180°, and the angle β between the first surface of the B screen 202 and the first surface of the C screen 203 can be 0°. In the B-C folded state, the A screen 201 and the B screen 202 are in the same plane. The first surface of the B screen 202 can be attached to the first surface of the C screen 203. The first surface of the B screen 202 and the first surface of the C screen 203 can be in an off state.
[0113] FIG. 2F shows a device form diagram of the electronic device 100 in an A-B folded state according to an embodiment of the present application.
[0114] As shown in FIG. 2F, the device form of the electronic device 100 is in an A-B folding state, when the electronic device 100 is in the A-B folding state, the included angle a between the first surface of the A screen 201 and the first surface of the B screen 202 can be 360°, and the included angle β between the first surface of the B screen 202 and the first surface of the C screen 203 can be 180°. In the A-B folding state, the second surface of the A screen 201 can be attached to the second surface of the B screen 202. The C screen 203 can be in a state of not being attached to other screens. The first surface of the A screen 201 in the A-B folding state can be in an off-screen state. In the embodiments of the present application, the A-B folding state can also be referred to as a half folding state.
[0115] Those skilled in the art should understand that the above-mentioned folding state division method is only an example. The electronic device 100 can include more or less folding states. The subsequent embodiments of the present application take the fully unfolded state, the fully folded state, the B-C folding state and the A-B folding state as examples to introduce the operation method of the folding screen device. The operation method of the electronic device 100 in other folding states can refer to the operation method of the electronic device 100 in the fully unfolded state, the fully folded state, the B-C folding state and the A-B folding state in the subsequent embodiments, which will not be repeated here.
[0116] It can be understood that the above-mentioned embodiments shown in FIGS. 2C-2F are only an example. In some embodiments, the electronic device 100 can also be other multi-fold screen devices, and the electronic device 100 can include more, less or different device forms than the above-mentioned embodiments, which are not limited herein.
[0117] In some embodiments, the electronic device 100 can detect the conversion of the above-mentioned folding state according to the Hall sensor in the electronic device 100. Optionally, the electronic device 100 can also detect the conversion of the above-mentioned folding state according to one or more of the gyroscope sensor, the acceleration sensor and the angle sensor in the electronic device 100. The embodiments of the present application do not limit the method of the electronic device 100 detecting the conversion of the above-mentioned folding state.
[0118] The hardware structure of the electronic device 100 provided by the embodiments of the present application will be introduced below.
[0119] FIG. 3A shows a hardware structure schematic diagram of an electronic device 100 provided by an embodiment of the present application.
[0120] The electronic device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device, and / or a smart city device, and the specific type of the electronic device is not specially limited in the embodiments of the present application.
[0121] As shown in FIG. 3A, the electronic device 100 can include a processor 110, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, a wireless communication module 160, a sensor module 180, and a display screen 194, etc. Among them, the sensor module 180 can include a touch sensor 180K, and optionally, the sensor module 180 can further include any one or more of the following: a gyroscope sensor 180B, a magnetic sensor 180D, an acceleration sensor 180E, a fingerprint sensor 180H, a pressure sensor, an air pressure sensor, a distance sensor, a proximity light sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, etc.
[0122] In some embodiments, the electronic device 100 can further include any one or more of the following: an antenna 1, an antenna 2, a mobile communication module 150, a key 190, a motor 191, an indicator 192, and a camera 193, etc.
[0123] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0124] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated in one or more processors.
[0125] The controller can generate operation control signals according to the instruction operation code and the timing signal, complete the control of fetching and executing instructions.
[0126] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that have just been used or are used repeatedly by the processor 110. If the processor 110 needs to use the instructions or data again, it can directly call from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the system.
[0127] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0128] The USB interface 130 is an interface conforming to the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and a peripheral device. It can also be used to connect a headset to play audio through the headset. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0129] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 can also use different interface connection methods or combinations of multiple interface connection methods in the above embodiments.
[0130] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through the wireless charging coil of the electronic device 100. The charging management module 140 can charge the battery 142 while also supplying power to the electronic device through the power management module 141.
[0131] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160, etc. The power management module 141 can also be used to monitor battery capacity, battery cycle count, battery health status (leakage, impedance), etc. In other embodiments, the power management module 141 can also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be provided in the same device.
[0132] In some embodiments, the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc.
[0133] Antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of antennas. For example, antenna 1 can be multiplexed as a diversity antenna for wireless local area networks. In some other embodiments, antennas can be used in combination with tuning switches.
[0134] Mobile communication module 150 can provide solutions for wireless communication including 2G / 3G / 4G / 5G, etc. applied on electronic device 100. Mobile communication module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. Mobile communication module 150 can receive electromagnetic waves by antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transmit the processed electromagnetic waves to a modem processor for demodulation. Mobile communication module 150 can also amplify signals modulated by the modem processor, and convert the amplified signals into electromagnetic waves radiated by antenna 1. In some embodiments, at least part of the functional modules of mobile communication module 150 can be arranged in processor 110. In some embodiments, at least part of the functional modules of mobile communication module 150 can be arranged in the same device as at least part of the modules of processor 110.
[0135] The modem processor can include a modulator and a demodulator. The modulator is used to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to a baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to an application processor. The application processor outputs a sound signal through an audio device (not limited to loudspeaker 170A, microphone 170B, etc.), or displays an image or video through display screen 194. In some embodiments, the modem processor can be an independent device. In some other embodiments, the modem processor can be independent of processor 110, and arranged in the same device as mobile communication module 150 or other functional modules.
[0136] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave via the antenna 2, demodulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and radiate it as an electromagnetic wave via the antenna 2.
[0137] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).
[0138] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.
[0139] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be manufactured by using a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the electronic device 100 can include one or N display screens 194, where N is a positive integer greater than 1. In some embodiments, the display screen of the electronic device 100 is a foldable display screen.
[0140] The internal memory 121 can include one or more random access memories (RAMs) and one or more non-volatile memories (NVMs).
[0141] The random access memory can be directly readable and writable by the processor 110, and can be used to store executable programs (e.g., machine instructions) of an operating system or other programs that are currently running, and can also be used to store data of users and application programs, and the like.
[0142] The non-volatile memory can also store executable programs and store data of users and application programs, and the like, and can be loaded into the random access memory in advance for direct reading and writing by the processor 110.
[0143] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shaking of the electronic device 100, and calculates the distance that the lens module needs to compensate according to the angle, so that the lens offsets the shaking of the electronic device 100 by reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B can also be used for navigation and motion sensing game scenarios.
[0144] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can detect the opening and closing of a flip cover with the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. In turn, according to the detected opening and closing state of the cover or the flip, the electronic device 100 can set a feature such as automatic unlocking of the flip.
[0145] The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the electronic device posture, applied to landscape / portrait switching, pedometer, etc.
[0146] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application lock, fingerprint photograph, fingerprint answer incoming call, etc.
[0147] The touch sensor 180K, also known as a "touch device". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also known as a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the touch event type. The display screen 194 can provide visual output related to the touch operation. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0148] The key 190 includes a power-on key, a volume key, etc. The key 190 can be a mechanical key. It can also be a touch key. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0149] The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompt, and also can be used for touch vibration feedback. For example, touch operations acting on different applications (such as photographing, audio playing, etc.) can correspond to different vibration feedback effects. Touch operations acting on different regions of the display screen 194 can also correspond to different vibration feedback effects of the motor 191. Different application scenarios (such as time reminders, received messages, alarms, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0150] The indicator 192 can be an indicator light, which can be used to indicate the charging state, the power change, and also can be used to indicate messages, missed calls, notifications, etc.
[0151] The software architecture of the electronic device 100 provided in an embodiment of the present application is introduced below.
[0152] FIG. 3B shows a schematic diagram of the software architecture of the electronic device 100 provided in an embodiment of the present application.
[0153] As shown in FIG. 3B, the electronic device 100 can include an application layer, a framework layer, a folding management module 1104, a system library 1105, and an operating system 1106. Among them:
[0154] The application layer can include self-developed applications 1101 and third-party applications 1102. For example, the self-developed applications 1101 can include a settings application, a call application, and the like. The third-party applications 1102 can include one or more applications developed by a third party. It should be noted that the application 1 in the embodiment of the present application can be a self-developed application or a third-party application.
[0155] The framework layer can include an in-application split-screen service 1103. The in-application split-screen service 1103 can include one or more modules, such as a task stack management module 11, a configuration management module 12, a mode management module 13, an interface display management module 14, an animation management module 15, a life cycle management module, a local module, a heterogeneous module, a floating window module, a productivity desktop module, and the like. Among them, the task stack management module 11 can be used to monitor the device form of the electronic device 100. The configuration management module 12 can configure a list of applications supporting display mode 1 in the current device form based on the device form of the electronic device 100 and the configuration file. The mode management module 13 can be used to manage the display mode of the application. The interface display management module 14 can be used to configure the display size of display mode 1 based on the current device form, and can also be used to display the interface of the application based on different display modes. The animation management module 15 can display the corresponding animation based on different display modes. In some embodiments, the specific function descriptions of the task stack management module 11, the configuration management module 12, the mode management module 13, the interface display management module 14, and the animation management module 15, and the like can also be referred to the related descriptions in the embodiments shown in FIG. 4A-FIG. 5 below, which are not described in detail here.
[0156] The folding management module 1104 can be used to manage the device form of the electronic device 100. In some embodiments, the folding management module 1104 can obtain the device form of the electronic device 100 and send the device form to the task stack management module 11.
[0157] The system library 1105 can include a plurality of functional modules. For example: a surface manager, a media library, a three-dimensional graphics processing library (for example: OpenGL ES), a 2D graphics engine (for example: SGL), and the like.
[0158] In some embodiments, the operating system 1106 can be an Android open source project (AOSP). In other embodiments, the operating system 1106 can also employ other operating systems.
[0159] It can be understood that the embodiment shown in FIG. 3B is only an example. In the embodiments of the present application, the electronic device 100 can also include more, fewer or different layers and modules than the above-mentioned embodiment shown in FIG. 3B, which is not limited herein.
[0160] The present application provides a display method. The electronic device 100 can include multiple device forms, such as device form 1, device form 2, etc. When the electronic device 100 is powered on or detects a device form change, the electronic device 100 can determine that the current device form is device form 1, and determine an application list 1 supporting display mode 1 in device form 1 from the configuration file based on device form 1. After receiving a user operation of opening application 1, if the electronic device 100 determines that the application list 1 includes the identifier of application 1, the electronic device 100 displays the interface of application 1 based on display mode 1; if the electronic device 100 determines that the application list 1 does not include the identifier of application 1, the electronic device 100 displays the interface of application 1 based on display mode 2.
[0161] In this way, the electronic device 100 can determine an application list supporting display mode 2 in the current device form based on the configuration file, and determine the display mode of application 1 based on the application list. In this way, only one configuration file can be adapted to multiple different device forms, saving memory space and also saving running power consumption.
[0162] The following describes a specific flow of a display method provided by an embodiment of the present application.
[0163] FIG. 4A shows a flow diagram of a display method provided by an embodiment of the present application.
[0164] As shown in FIG. 4A, the electronic device 100 can include a task stack management module 11, a configuration management module 12, a mode management module 13, an interface display management module 14, and an animation management module 15. The specific flow of the display method performed by the electronic device 100 can include the following steps.
[0165] S401. The task stack management module 11 detects that the electronic device 100 is powered on, or detects that the device form of the electronic device 100 changes, and determines that the current device form is device form 1.
[0166] Exemplarily, taking the electronic device 100 as a three-fold screen device as an example, the device form of the electronic device 100 can include a fully unfolded state, a fully folded state, a B-C folded state, an A-B folded state (also referred to as a half-folded state), and the like. It can be understood that the embodiments herein are only some examples, and in other embodiments, the electronic device 100 can also be other multi-fold screen devices, and the device form of the electronic device 100 can also include more, less, or different device forms than the above embodiments, which are not limited herein.
[0167] In some embodiments, the task stack management module 11 can monitor the device form of the electronic device 100 when detecting that the electronic device 100 is powered on, and determine that the current device form is the device form 1.
[0168] In other embodiments, the task stack management module 11 can monitor the device form of the electronic device 100 in real time, and after monitoring that the device form of the electronic device 100 changes, the task stack management module 11 can determine that the changed device form is the device form 1.
[0169] It should be noted that after step S401 is performed, the task stack management module 11 can perform the following step S402 and step S404, wherein step S402 and step S404 can be steps executed in parallel, and the execution order of step S402 and step S404 is not limited herein.
[0170] S402. The task stack management module 11 sends the device form 1 to the configuration management module 12.
[0171] After detecting that the electronic device 100 is powered on or detecting that the device form changes, the task stack management module 11 can send the device form, i.e., the device form 1, to the configuration management module 12.
[0172] S403. The configuration management module 12 obtains an application list 1 corresponding to the device form 1 based on the configuration file, and the application list 1 includes the identification of an application supporting the display mode 1 when the electronic device 100 is in the device form 1.
[0173] In response to the device form 1 sent by the task stack management module 11, the configuration management module 12 can perform step S403.
[0174] In some embodiments, the configuration management module 12 can read the configuration file W2 stored by the electronic device 100, and the configuration file W2 can include one or more application identifications, and can also include one or more mode indication fields, each mode indication field corresponds to an application identification, and each mode indication field is used to indicate whether an application supports the display mode 1 in different device forms.
[0175] In some embodiments, the application identifier can be an application name or the like identifier for identifying an application, and in other embodiments, the application identifier can also be other identifiers, which are not limited herein.
[0176] For example, FIG. 4B shows a schematic diagram of content of a configuration file W2 according to an embodiment of the present application.
[0177] As shown in FIG. 4B, the configuration file W2 can include one or more application identifiers and one or more mode indication fields, and each application identifier can correspond to a mode indication field. For example, the one or more application identifiers can include an application identifier B1, an application identifier B2, and an application identifier B3, etc. The one or more mode indication fields can include a field F1, a field F2, and a field F3, etc. The application identifier B1 is an identifier of an application 1, and the field F1 corresponds to the application identifier B1, and the field F1 is used to indicate that the application 1 supports a device form of a display mode 1; the application identifier B2 is an identifier of an application 2, and the field F2 corresponds to the application identifier B2, and the field F2 is used to indicate that the application 2 supports a device form of the display mode 1; and the application identifier B3 is an identifier of an application 3, and the field F3 corresponds to the application identifier B3, and the field F3 is used to indicate that the application 3 supports a device form of the display mode 1. For example, the field F1 can include support_state = “pad | semi-folded”, and according to the field F1, it can be known that the device form of the display mode 1 supported by the application 1 can include a fully unfolded state and a semi-folded state; the field F2 can include support_state = “semi-folded”, and according to the field F2, it can be known that the device form of the display mode 1 supported by the application 2 can include the semi-folded state; and the field F3 can include support_state = “pad”, and according to the field F3, it can be known that the device form of the display mode 1 supported by the application 3 can include the fully unfolded state.
[0178] It can be understood that the embodiment shown in FIG. 4B is only an example, and in the embodiments of the present application, the configuration file W2 can also include more, less or different application identifiers and mode indication fields than the above-mentioned embodiments, and the mode indication field can also be represented in a different way from the above-mentioned embodiments to represent different device forms, which are not limited herein.
[0179] The configuration management module 12 can determine an application list 1 corresponding to the current device form (i.e., a device form 1) based on the configuration file W2 and the current device form. For example, taking the configuration file W2 as the configuration file W2 shown in FIG. 4B and the current device form as the fully unfolded state as an example, in this case, the application list 1 can include the application identifier B1 and the application identifier B3, i.e., the identifier of the application 1 and the identifier of the application 3.
[0180] It can be understood that the embodiment herein is only illustrative of the application list 1 which can be determined based on the configuration file W2 and the current device form. In the embodiments of the present application, the current device form can also be different from the above-mentioned embodiment, and the application list 1 can also include more, less or different content from the above-mentioned embodiment, which is not limited herein.
[0181] In some other embodiments, after determining the application list 1, the configuration management module 12 can also send the application list 1 to the setting application, and refresh the application list supporting the display mode 1 in the setting application. In this way, when the user views the application list supporting the display mode 1 in the setting application, the setting application can display the application list supporting the display mode 1 under the current device form.
[0182] S404. The task stack management module 11 sends the device form 1 to the interface display management module 14.
[0183] After detecting that the electronic device 100 is powered on or detecting that the device form is changed, the task stack management module 11 can send the device form, i.e., the device form 1, to the interface display management module 14.
[0184] It should be noted that the step S402 and the step S404 can be steps executed in parallel, i.e., the execution order of the step S402 and the step S404 is not limited herein.
[0185] S405. The interface display management module 14 determines the display size of the display mode 1 based on the device form 1.
[0186] The interface display management module 14 can determine the available split screen of the device form 1 based on the device form 1 sent by the task stack management module 11, and determine the display size of the display mode 1 based on the current available split screen.
[0187] For example, taking the three-fold screen device shown in FIGS. 2A-2F as the electronic device 100, if the device form 1 is the fully unfolded state, the available split screen of the device form 1 can include the A screen 201, the B screen 202 and the C screen 203 shown in FIG. 2A; if the device form 1 is the fully folded state, the available split screen of the device form 1 can include the A screen 201 shown in FIG. 2A; if the device form 1 is the half-folded state, the available split screen of the device form 1 can include the B screen 202 and the C screen 203 shown in FIG. 2A, etc.
[0188] It can be understood that the embodiments herein are only illustrative of the determination of the available split screen of the device form 1 based on the device form 1. In the embodiments of the present application, the electronic device 100 can also be other devices with foldable screens, such as a two-fold screen device, a four-fold screen device, and the like. In addition, the device form 1 can also include more device forms than the above-mentioned embodiments, which are not limited herein.
[0189] After determining the available split screen of the device form 1, the electronic device 100 can determine the display size of the display mode 1 based on the size of the current available split screen. It should be noted that the display size of the display mode 1 can include, but is not limited to, any one or more of the following: in the case of single window display, the display size of the single window; in the case of multi-window display, the display size of each window, and the like. In the case of single window display, it means that the application is displayed through a single window after the display mode 1 is opened, and at this time, the display size of the window is less than or equal to the size of the available split screen. In the case of multi-window display, it means that the application is displayed through multiple windows after the display mode 1 is opened, and at this time, the multiple windows do not overlap each other.
[0190] For example, in the case of single window display, the ratio of the horizontal size of the window to the horizontal size of the current available split screen can be 2:3, and the vertical size of the window can be the same as the vertical size of the current available split screen. In the case of double window display, the horizontal size of each window can be half of the horizontal size of the current available split screen, and the vertical size of each window can be the same as the vertical size of the current available split screen.
[0191] It can be understood that the embodiments herein are only illustrative of the determination of the display size of the display mode 1 based on the size of the current available split screen. In the embodiments of the present application, the display size of the display mode 1 can be different from the size described in the above-mentioned embodiments, which are not limited herein.
[0192] In other embodiments, after receiving the current device form, the interface display management module 14 can also determine the gear and size of the drag bar of the display mode 1 in the case of single window and multi-window based on the device form 1, which is not limited herein.
[0193] In a possible implementation, the interface display management module 14 can further include a window container 14a, which can be used to manage window display logic, i.e., manage the display size of windows in different display modes. The window container 14a can store a current device form, and determine the size of the display mode 1 based on the device type and the current device form. In some embodiments, the window container 14a can further store a custom device type, which is a device type defined by the electronic device 100 based on the current device form, and the custom device type can be updated as the device form changes. It should be noted that, unlike the custom device type, in the embodiments of the present application, the device type refers to the inherent device type of the electronic device 100, which is fixed and unchangeable, and thus the device type can also be referred to as the inherent device type. There can be a mapping relationship between the custom device type and the device form, and the electronic device 100 can store the mapping relationship between the device form and the custom device type, and update the device form and the custom device type in the window container 14a based on the current device form. At this time, the electronic device 100 can also determine the size of the display mode 1 based on the custom device type stored in the window container 14a, and the specific determination manner can be analogously referred to the related description in the above embodiments, which will not be described here.
[0194] For example, FIG. 4C shows a schematic diagram of the content stored in the window container 14a before and after the change of the device form.
[0195] As shown in FIG. 4C, when the electronic device 100 is in the half-folded state, the window container 14a can store a custom device type M1 and a device form N1, where the custom device type M1 can include “foldable device”, indicating that the current custom device type is a foldable device; and the device form N1 can include “Fstate”, indicating that the current device type is in the half-folded state.
[0196] When the device form of the electronic device 100 changes from the half-folded state to the fully unfolded state, the electronic device 100 can update the custom device type stored in the window container 14a to a custom device type M2 and update the device form stored in the window container 14a to a device form N2 based on the fully unfolded state and the inherent device type of the electronic device 100 (for example, a three-fold screen device). Wherein the custom device type M2 can include “pad device”, indicating that the current custom device type is a tablet device; and the device form N2 can include “Gstate”, indicating that the current device type is in the fully unfolded state.
[0197] It can be understood that the embodiment shown in FIG. 4C is only an example, and in the embodiments of the present application, the window container 14a can also store more or different content than the above-mentioned embodiments, and in addition, the electronic device 100 can also use different character representations to represent device types and device morphologies than the above-mentioned embodiments, which are not limited herein.
[0198] S406. The mode management module 13 receives the operation of the user opening the application 1.
[0199] For example, the operation of the user opening the application 1 can be a click operation of the user on the application icon of the application 1.
[0200] In response to the operation of the user opening the application 1, the mode management module 13 can perform the following step S407.
[0201] S407. The mode management module 13 sends a request 1 to the configuration management module 12, and the request 1 includes the identification of the application 1.
[0202] In some embodiments, the request 1 can be used to request the configuration management module 12 to determine whether the application 1 supports the display mode 1 in the current device morphology.
[0203] S408. The configuration management module 12 determines whether the application list 1 includes the identification of the application 1.
[0204] When the configuration management module 12 determines that the application list 1 includes the identification of the application 1, the configuration management module 12 can perform the following step S409.
[0205] When the configuration management module 12 determines that the application list 1 does not include the identification of the application 1, the configuration management module 12 can perform the following step S415.
[0206] S409. The configuration management module 12 sends indication information 1 to the mode management module 13, and the indication information 1 is used to notify the mode management module 13 that the application 1 supports the display mode 1 in the device morphology 1.
[0207] S410. The mode management module 13 sends an instruction 1 to the motion effect management module 15, and the instruction 1 is used to instruct the motion effect management module 15 to display the motion effect 1.
[0208] In response to the indication information 1, the mode management module 13 can perform steps S410 and S411. It should be noted that steps S410 and S411 can be steps performed in parallel.
[0209] S411. The mode management module 13 sends an instruction 2 to the interface display management module 14, and the instruction 2 is used to instruct the interface display management module 14 to display the interface of the application 1 using the display mode 1.
[0210] S412. The dynamic effect management module 15 displays the dynamic effect 1.
[0211] The dynamic effect 1 can be a dynamic effect that the display content of the electronic device 100 changes from a desktop to an interface described in step S413.
[0212] S413. The interface display management module 14 displays a window 1 in which an interface 1 of an application 1 is displayed.
[0213] The interface display management module 14 can display the window 1 based on the display size of the display mode 1, and the display size of the window 1 can be the display size in the single window display case.
[0214] S414. The interface display management module 14 receives and responds to an operation of a user on the interface 1, and displays a window 2 in which the interface 1 of the application 1 is displayed and a window 3 in which an interface 2 of the application 1 is displayed.
[0215] The interface display management module 14 can display the window 2 and the window 3 based on the display size of the display mode 1, and the display size of the window 2 and the window 3 can be the display size of a single window in the dual window display case.
[0216] In some embodiments, after the interface display management module 14 displays the window 2 and the window 3, the interface display management module 14 can also receive and respond to an operation of the user to adjust the display size of the window 2 and the window 3, and adjust the display size of the window 2 and the window 3.
[0217] S415. The configuration management module 12 sends indication information 2 to the mode management module 13, and the indication information 2 is used to inform the mode management module 13 that the display mode 1 is not supported by the application 1 in the device form 1.
[0218] S416. The mode management module 13 sends an instruction 3 to the dynamic effect management module 15, and the instruction 3 is used to instruct the dynamic effect management module 15 to display a dynamic effect 2.
[0219] In response to the indication information 2, the mode management module 13 can perform step S416 and step S417. It should be noted that step S416 and step S417 can be steps performed in parallel.
[0220] S417. The mode management module 13 sends an instruction 4 to the interface display management module 14, and the instruction 4 is used to instruct the interface display management module 14 to display the interface of the application 1 in the display mode 2.
[0221] S418. The dynamic effect management module 15 displays the dynamic effect 2.
[0222] The motion effect 2 can be a dynamic effect in which the display content of the electronic device 100 changes from a desktop to the interface described in step S419.
[0223] S419. The interface display management module 14 displays the interface of the application 1 based on the display mode 2.
[0224] The interface display management module 14 displays the interface of the application 1 in the display mode 2, which can be to display one interface of the application 1 in all regions of the currently available split screen.
[0225] It can be understood that the embodiment shown in FIG. 4A is only an example. In the embodiments of the present application, the electronic device 100 can perform more, fewer or different steps than the above-described embodiments in the process of the display method provided in the embodiments of the present application, which is not limited herein. For example, in some embodiments, the electronic device 100 can not perform the above-described step S404. In this case, the current device form (such as the device form 1, etc.) can be carried in both the indication information 1 and the instruction 2. After receiving the instruction 2, the interface display management module 14 can perform step S405 and step S413 based on the instruction 2, which is not limited herein.
[0226] By using the display method provided in the embodiments of the present application, the electronic device 100 can determine the application list supporting the display mode 2 in the current device form based on the mode indication field in the configuration file, and determine the display mode of the application 1 based on the application list. In this way, only one configuration file can be adapted to multiple different device forms, saving memory space and also saving running power consumption.
[0227] In some application scenarios, before the device form is switched, the electronic device 100 can display the interface of the application 1 in the display mode 1. After detecting the device form switching, the electronic device 100 can also determine the display mode of the application 1 based on the configuration file configuration, and display the interface in the application 1.
[0228] For example, FIG. 5 shows a flowchart of another display method provided in the embodiments of the present application.
[0229] As shown in FIG. 5, the electronic device 100 can include a task stack management module 11, a configuration management module 12, a mode management module 13, an interface display management module 14, and a motion effect management module 15. The specific process of the display method performed by the electronic device 100 can include the following steps.
[0230] S501. In the case where the electronic device 100 is in the device form 1, the interface display management module 14 displays the interface of the application 1 based on the display mode 1.
[0231] In some embodiments, the interface display management module 14 displays the interface of the application 1 based on the display mode 1, which can refer to the single-window display case under the display mode 1, for example, the interface display management module 14 displays the window 1, the interface 1 of the application 1 is displayed in the window 1, and the display size of the window 1 is smaller than the size of the available split screen under the device form 1.
[0232] In some embodiments, the interface display management module 14 displays the interface of the application 1 based on the display mode 1, which can refer to the single-window display case under the display mode 1, for example, the interface display management module 14 displays the window 1, the interface 1 of the application 1 is displayed in the window 1, and the display size of the window 1 is smaller than the size of the available split screen under the device form 1.
[0233] S502. The task stack management module 11 monitors that the device form of the electronic device 100 changes from the device form 1 to the device form 2.
[0234] The specific content of step S502 can be referred to the related description in the above step S401 shown in FIG. 4A.
[0235] It should be noted that the task stack management module 11 can execute step S503 and step S505 after executing step S502, and step S503 and step S505 can be parallel steps, and the specific execution order of step S503 and step S505 is not limited in the embodiments of the present application.
[0236] S503. The task stack management module 11 sends the device form 2 to the configuration management module 12.
[0237] After monitoring the device form change, the task stack management module 11 can send the current device form, i.e., the device form 2, to the configuration management module 12.
[0238] It should be noted that step S503 and step S505 described below can be parallel steps, and the execution order of step S503 and step S505 is not limited in the present application.
[0239] S504. The configuration management module 12 obtains the application list 2 corresponding to the device form 2 based on the configuration file, and the application list 2 includes the identification of the application supporting the display mode 1 when the electronic device 100 is in the device form 2.
[0240] The specific content of step S504 can be referred to the related content of step S403 shown in FIG. 4A, which will not be described herein again.
[0241] S505. The task stack management module 11 sends the device form 2 to the interface display management module 14.
[0242] After detecting the change of the device form, the task stack management module 11 can send the device form, i.e., the device form 2, to the interface display management module 14.
[0243] S506. The interface display management module 14 determines the display size of the display mode 1 based on the device form 1.
[0244] The specific content of step S506 can be analogously referred to the related content of step S405 shown in FIG. 4A, which will not be repeated here.
[0245] S507. The interface display management module 14 sends the identifier of the application 1 to the mode management module 13.
[0246] S508. The mode management module 13 sends a request 2 to the configuration management module 12, and the request 2 includes the identifier of the application 1.
[0247] In some embodiments, the request 2 can be used to request the configuration management module 12 to determine whether the application 1 supports the display mode 1 under the current device form.
[0248] S509. The configuration management module 12 determines whether the application list 2 includes the identifier of the application 1.
[0249] When the configuration management module 12 determines that the application list 2 includes the identifier of the application 1, the configuration management module 12 can perform the following step S510.
[0250] When the configuration management module 12 determines that the application list 2 does not include the identifier of the application 1, the configuration management module 12 can perform the following step S515.
[0251] S510. The configuration management module 12 sends indication information 3 to the mode management module 13, and the indication information 3 is used to inform the mode management module 13 that the application 1 supports the display mode 1 under the device form 2.
[0252] S511. The mode management module 13 sends an instruction 5 to the motion effect management module 15, and the instruction 5 is used to instruct the motion effect management module 15 to display the motion effect 3.
[0253] In response to the indication information 3, the mode management module 13 can perform step S511 and step S512. It should be noted that step S511 and step S512 can be steps performed in parallel.
[0254] S512. The mode management module 13 sends an instruction 6 to the interface display management module 14, and the instruction 6 is used to instruct the interface display management module 14 to display the interface of the application 1 in the display mode 1.
[0255] S513. The motion effect management module 15 displays the motion effect 3.
[0256] The dynamic effect 3 can be a dynamic effect that the display content of the electronic device 100 changes from the interface described in step S501 to the interface described in step S514.
[0257] S514. The interface display management module 14 displays the interface of the application 1 based on the display mode 1.
[0258] In some embodiments, if the interface display management module 14 adopts single-window display in the display mode 1 in step S501, after the device form is switched to the device form 2, the interface display management module 14 can continue to display the interface of the application 1 in single-window display. For example, in the device form 2, the interface display management module 14 displays the window 4, the interface 1 of the application 1 is displayed in the window 4, the display size of the window 4 is smaller than the display size of the available split screen in the device form 2, and the display size of the window 4 is different from the display size of the window 1 in step S501.
[0259] In some embodiments, if the interface display management module 14 adopts single-window display in the display mode 1 in step S501, after the device form is switched to the device form 2, the interface display management module 14 can continue to display the interface of the application 1 in single-window display. For example, in the device form 2, the interface display management module 14 displays the window 4, the interface 1 of the application 1 is displayed in the window 4, the display size of the window 4 is smaller than the display size of the available split screen in the device form 2, and the display size of the window 4 is different from the display size of the window 1 in step S501.
[0260] S515. The configuration management module 12 sends the indication information 4 to the mode management module 13, and the indication information 4 is used to inform the mode management module 13 that the display mode 1 is not supported by the application 1 in the device form 2.
[0261] S516. The mode management module 13 sends the instruction 7 to the dynamic effect management module 15, and the instruction 7 is used to instruct the dynamic effect management module 15 to display the dynamic effect 4.
[0262] In response to the indication information 4, the mode management module 13 can perform step S516 and step S517. It should be noted that step S516 and step S517 can be steps performed in parallel.
[0263] S517. The mode management module 13 sends the instruction 8 to the interface display management module 14, and the instruction 8 is used to instruct the interface display management module 14 to display the interface of the application 1 in the display mode 2.
[0264] S518. The dynamic effect management module 15 displays the dynamic effect 4.
[0265] The dynamic effect 4 can be a dynamic effect that the display content of the electronic device 100 changes from the interface described in step S501 to the interface described in step S519.
[0266] S519. The interface display management module 14 displays the interface of the application 1 based on the display mode 2.
[0267] The specific content of step S519 can refer to the related content in step S419 shown in FIG. 4A, which will not be repeated here.
[0268] It can be understood that the embodiment shown in FIG. 5 is only an example. In the embodiments of the present application, the electronic device 100 can perform more, less or different steps than the above-mentioned embodiments in the process of the display method provided in the embodiments of the present application, which is not limited in the present application.
[0269] By using the display method provided in the embodiments of the present application, in the case that the electronic device 100 displays the interface of the application 1 based on the display mode 1, after monitoring the device form change, the electronic device 100 can determine whether the application 1 supports the display mode 1 under the changed device form based on the mode indication field in the configuration file, and display the interface of the application 1 based on the determination result.
[0270] The interface schematic diagram of the display method provided in the embodiments of the present application will be introduced below in combination with specific application scenarios.
[0271] In some application scenarios, the electronic device 100 is in device form 1, and the electronic device 100 displays window 2 and window 3 based on the display mode 1, the interface 1 of the application 1 is displayed in the window 2, the interface 2 of the application 1 is displayed in the window 3, and the window 2 and the window 3 do not overlap each other. After the electronic device 100 changes from the device form 1 to the device form 2, if the electronic device 100 determines that the application 1 supports the display mode 1 under the device form 2, the electronic device 100 displays the window 5 and the window 6 based on the device form 2 and the display mode 1, the interface 1 of the application 1 is displayed in the window 5, the interface 2 of the application 1 is displayed in the window 6, and the window 5 and the window 6 do not overlap each other.
[0272] In this way, if the application 1 supports the display mode 1 before and after the device form change, the electronic device 100 can display the interface of the application 1 based on the display mode 1 after the device form change.
[0273] For example, FIGS. 6A-6C show a set of interface schematic diagrams of the electronic device 100 before and after the form change provided in the embodiments of the present application.
[0274] As shown in FIG. 6A, the device form of the electronic device 100 is in a fully unfolded state, and the electronic device 100 displays an interface 600, which includes a window 601 and a window 602 that do not overlap each other. The window 601 can display an interface 1 of an application 1, and the window 602 can display an interface 2 of the application 1. In some embodiments, the display size of the window 601 is the same as the display size of the window 602. In other embodiments, the interface 600 can further include a separation bar 603, which can be used to trigger the electronic device 100 to adjust the display size of the window 601 and the display size of the window 602. For example, the electronic device 100 can receive and respond to a leftward dragging operation of the user on the separation bar 603 to reduce the display size of the window 601 and increase the display size of the window 602. For another example, the electronic device 100 can receive and respond to a rightward dragging operation of the user on the separation bar 603 to reduce the display size of the window 602 and increase the display size of the window 601, and so on.
[0275] After the electronic device 100 changes from the fully unfolded state to the semi-folded state, if the electronic device 100 determines that the application 1 supports the display mode 1 in the semi-folded state, the electronic device 100 can display an interface 610 as shown in FIG. 6B.
[0276] As shown in FIG. 6B, the device form of the electronic device 100 is in a semi-folded state, and the electronic device 100 displays an interface 610. The interface 610 can include a window 611 and a window 612 that do not overlap each other. The window 611 can display an interface 1 of an application 1, and the window 612 can display an interface 2 of the application 1. In some embodiments, the display size of the window 611 is the same as the display size of the window 612. The display size of the window 611 is different from the display size of the window 601 shown in FIG. 6A. It should be noted that in some embodiments, if the electronic device 100 displays a separation bar (such as the separation bar 603 shown in FIG. 6A) in the fully unfolded state, the electronic device 100 can not display the separation bar after switching from the fully unfolded state to the semi-folded state, i.e., the electronic device 100 can not support adjusting the display size of the window 611 and the display size of the window 612 in the semi-folded state.
[0277] In other embodiments, if the electronic device 100 displays a separation bar (such as the separation bar 603 shown in FIG. 6A) in the fully unfolded state, the electronic device 100 can also display the separation bar after switching from the fully unfolded state to the semi-folded state, which can be used to adjust the display size of the window 611 and the display size of the window 612.
[0278] After the electronic device 100 changes from the half-folded state (or the fully unfolded state) to the fully folded state, if the electronic device 100 determines that the application 1 does not support the display mode 1 in the fully folded state, the electronic device 100 can display the interface 620 as shown in FIG. 6C.
[0279] As shown in FIG. 6C, the device form of the electronic device 100 is the fully folded state, and the electronic device 100 displays the interface 620. The interface 620 can include the interface 1 of the application 1 in the embodiment shown in FIG. 6B.
[0280] It can be understood that the embodiments shown in FIGS. 6A-6C are only examples. In some embodiments, the device form 1 can also be the half-folded state shown in FIG. 6B, and the device form 2 can also be the fully unfolded state shown in FIG. 6A. At this time, the interface change of the electronic device 100 can also be from the interface 610 shown in FIG. 6B to the interface 600 shown in FIG. 6A. In other embodiments, the device form of the electronic device 100 can also include more, less or different device forms than the above-mentioned embodiments, which are not limited herein.
[0281] In some application scenarios, the electronic device 100 is in the device form 1, and the electronic device 100 displays the window 2 and the window 3 based on the display mode 1, the interface 1 of the application 1 is displayed in the window 2, the interface 2 of the application 1 is displayed in the window 3, and the window 2 and the window 3 do not overlap each other. After the electronic device 100 changes from the device form 1 to the device form 2, if the electronic device 100 determines that the application 1 does not support the display mode 1 in the device form 2, the electronic device 100 displays the interface 1 of the application 1 in the entire area of the currently available split screen based on the device form 2 and the display mode 2.
[0282] In this way, if the application 1 supports the display mode 1 before the device form changes, and the application 1 does not support the display mode 1 after the device form changes, the electronic device 100 can display the interface of the application 1 based on the display mode 2 after the device form changes.
[0283] For example, FIGS. 7A-7C show another set of interface diagrams before and after the electronic device 100 form changes provided by the embodiments of the present application.
[0284] As shown in FIG. 7A, the device form of the electronic device 100 is the fully unfolded state, and the electronic device 100 displays an interface 700, which includes a window 701 and a window 702 that do not overlap each other. The interface 1 of the application 1 can be displayed in the window 701, and the interface 2 of the application 1 can be displayed in the window 702. In some embodiments, the display size of the window 701 is the same as the display size of the window 702. In other embodiments, the interface 700 can further include a separation bar 703, which can be used to trigger the electronic device 100 to adjust the display size of the window 701 and the display size of the window 702. For details, reference can be made to the related description of the separation bar 603 shown in FIG. 6A, which will not be described here again.
[0285] After the electronic device 100 changes from the fully unfolded state to the semi-folded state, if the electronic device 100 determines that the application 1 does not support the display mode 1 in the semi-folded state, the electronic device 100 can display an interface 710 as shown in FIG. 7B.
[0286] As shown in FIG. 7B, the device form of the electronic device 100 is the semi-folded state, and the electronic device 100 displays the interface 710. The interface 710 can include the interface 1 of the application 1 in the embodiment shown in FIG. 7A.
[0287] After the electronic device 100 changes from the semi-folded state (or the fully unfolded state) to the fully folded state, if the electronic device 100 determines that the application 1 does not support the display mode 1 in the fully folded state, the electronic device 100 can display an interface 720 as shown in FIG. 7C.
[0288] As shown in FIG. 7C, the device form of the electronic device 100 is the fully folded state, and the electronic device 100 displays the interface 720. The interface 720 can include the interface 1 of the application 1 in the embodiment shown in FIG. 7B.
[0289] It can be understood that the embodiments shown in FIGS. 7A-7C are only examples. In some embodiments, the device form 1 can also be the semi-folded state shown in FIG. 7B or the fully folded state shown in FIG. 7C, and the device form 2 can also be the fully unfolded state shown in FIG. 7A. In other embodiments, the device form of the electronic device 100 can include more, fewer or different device forms than the above-described embodiments, which are not limited herein.
[0290] In some application scenarios, the electronic device 100 is in the device form 1, and the electronic device 100 displays the interface 1 of the application 1 based on the display mode 1. After the electronic device 100 changes from the device form 1 to the device form 2, if the electronic device 100 determines that the application 1 supports the display mode 1 in the device form 2, the electronic device 100 displays the interface 1 of the application 1 based on the device form 2 and the display mode 1.
[0291] In this way, if the application 1 supports the display mode 1 before and after the change of the device form, the electronic device 100 can display the interface of the application 1 based on the display mode 1 after the change of the device form.
[0292] For example, FIGS. 8A-8D show another set of interface schematic diagrams of the electronic device 100 before and after the change of the device form according to an embodiment of the present application.
[0293] As shown in FIG. 8A, the device form of the electronic device 100 is the fully unfolded state, and the electronic device 100 displays an interface 800. The interface 800 includes a window 801, and the display size of the window 801 is smaller than the size of the currently available split screen, that is, the interface 800 also includes areas other than the window 801, such as areas 802 and 803, which can display a blurred background. The window 801 can display an interface 1 of an application 1, and the window 801 is displayed centrally in the interface 800. The interface 1 can include a control 804, which can be used to trigger the electronic device 100 to display an interface 2 of the application 1.
[0294] After the electronic device 100 changes from the fully unfolded state to the half-folded state, if the electronic device 100 determines that the application 1 supports the display mode 1 in the half-folded state, the electronic device 100 can display an interface 810 as shown in FIG. 8B.
[0295] As shown in FIG. 8B, the device form of the electronic device 100 is the half-folded state, and the electronic device 100 displays an interface 810. The interface 810 can include an interface 1 of the application 1, and the interface 1 can include a control 804. In some embodiments, the interface 1 can occupy the entire area of the interface 810, that is, the interface 810 can be the interface 1. In other embodiments, the interface 810 can also include a window, and the window is used to display the interface 1. The area of the interface 810 other than the window can display a blurred background.
[0296] The electronic device 100 can receive and respond to a user's click operation on the control 804 in the interface 1 shown in FIG. 8B to display an interface 820 as shown in FIG. 8C.
[0297] As shown in FIG. 8C, the device form of the electronic device 100 is the half-folded state, and the electronic device 100 displays an interface 820. The interface 820 includes a window 821 and a window 822, and the window 821 and the window 822 do not overlap each other. The window 821 can display an interface 1 of the application 1, and the window 822 can display an interface 2 of the application 1. In some embodiments, the display size of the window 821 is the same as the display size of the window 822.
[0298] After the electronic device 100 changes from the half-folded state (or the fully unfolded state) to the fully folded state, if the electronic device 100 determines that the application 1 does not support the display mode 1 in the fully folded state, the electronic device 100 can display the interface 830 as shown in FIG. 8D.
[0299] As shown in FIG. 8D, the device form of the electronic device 100 is the fully folded state, and the electronic device 100 displays the interface 830. The interface 830 can include the interface 1 of the application 1 in the embodiment shown in FIG. 8B.
[0300] It can be understood that the embodiments shown in FIGS. 8A-8D are only examples. In some embodiments, the device form 1 can also be the half-folded state shown in FIG. 8B, and the device form 2 can also be the fully unfolded state shown in FIG. 8A. In other embodiments, the device form of the electronic device 100 can include more, fewer, or different device forms than the above-mentioned embodiments, which are not limited herein.
[0301] In some application scenarios, the electronic device 100 is in the device form 1, and the electronic device 100 displays the interface 1 of the application 1 based on the display mode 1. After the electronic device 100 changes from the device form 1 to the device form 2, if the electronic device 100 determines that the application 1 does not support the display mode 1 in the device form 2, the electronic device 100 displays the interface 1 of the application 1 based on the device form 2 and the display mode 2.
[0302] In this way, if the application 1 supports the display mode 1 before the device form changes, and the application 1 does not support the display mode 1 after the device form changes, the electronic device 100 can display the interface of the application 1 based on the display mode 2 after the device form changes.
[0303] For example, FIGS. 9A-9C show another set of interface schematic diagrams of the electronic device 100 before and after the device form changes according to an embodiment of the present application.
[0304] As shown in FIG. 9A, the device form of the electronic device 100 is the fully unfolded state, and the electronic device 100 displays the interface 900. The interface 900 includes a window 901, and the display size of the window 901 is smaller than the size of the currently available split screen, i.e., the interface 900 also includes an area outside the window 901, such as an area 902 and an area 903, and the area 902 and the area 903 can display a blurred background. The window 901 can display the interface 1 of the application 1, and the window 901 is displayed centrally in the interface 900. The interface 1 can include a control 904, which can be used to trigger the electronic device 100 to display the interface 2 of the application 1.
[0305] After the electronic device 100 changes from the fully unfolded state to the semi-folded state, if the electronic device 100 determines that the application 1 does not support the display mode 1 in the semi-folded state, the electronic device 100 can display the interface 910 as shown in FIG. 9B.
[0306] As shown in FIG. 9B, the device form of the electronic device 100 is in the semi-folded state, and the electronic device 100 displays the interface 910. The interface 910 can include the interface 1 of the application 1 in the embodiment shown in FIG. 9A. The interface 1 can include the control 904.
[0307] The electronic device 100 can receive and respond to the click operation of the user on the control 904 in the interface 1 shown in FIG. 9B to display the interface 920 as shown in FIG. 9C.
[0308] As shown in FIG. 9C, the device form of the electronic device 100 is in the semi-folded state, and the electronic device 100 displays the interface 920. The interface 920 can include the interface 2 of the application 1.
[0309] It can be understood that the embodiments shown in FIGS. 9A-9C are only examples. In some embodiments, the device form 1 can also be the semi-folded state shown in FIG. 9B, and the device form 2 can also be the fully unfolded state shown in FIG. 9A. In other embodiments, the device form of the electronic device 100 can include more, less, or different device forms than the above embodiments, which are not limited herein.
[0310] In another application scenario, the electronic device 100 is in the device form 1 and determines that the application 1 does not support the display mode 1 in the device form 1, and the electronic device 100 can display the interface 1 of the application 1 based on the display mode 2. In this case, after the electronic device 100 changes from the device form 1 to the device form 2, if it is determined that the application 1 supports the display mode 1 in the device form 2, the electronic device 100 can display the interface 1 of the application 1 based on the display mode 1.
[0311] For example, if the device form 1 is the fully folded state and the device form 2 is the semi-folded state, the interface change of the electronic device 100 before and after the device form change can be from the interface 620 shown in FIG. 6C to the interface 610 shown in FIG. 6B.
[0312] For another example, if the device form 1 is the semi-folded state and the device form 2 is the fully unfolded state, the interface change of the electronic device 100 before and after the device form change can be from the interface 710 shown in FIG. 7B to the interface 700 shown in FIG. 7A.
[0313] It can be understood that the above embodiments are only some examples, in the embodiments of the present application, the device form 1 and the device form 2 can also be different device forms from the above embodiments, and the electronic device 100 can also include more, less or different device forms from the above embodiments, which are not limited herein.
[0314] FIG. 10 shows a flowchart of a display method provided in an embodiment of the present application.
[0315] As shown in FIG. 10, the specific flow of the display method provided in the embodiments of the present application can include the following steps:
[0316] S1001. When the electronic device is in a fully unfolded state, the electronic device displays a first interface of a first application on a three-fold display screen, the first interface including a first control; the fully unfolded state is a device form in which the first screen, the second screen and the third screen are not folded; wherein the electronic device includes a three-fold display screen, the three-fold display screen including two folding edges, the three-fold display screen being divided into three sub-screens by the two folding edges, the three sub-screens including a first screen, a second screen and a third screen.
[0317] The electronic device can be the electronic device 100 in the above embodiments.
[0318] The specific description of the three-fold display screen can refer to the related content in the above embodiments shown in FIGS. 2A to 2F. For example, the first screen can be the A screen 201 shown in FIG. 2A, the second screen can be the B screen 202, and the third screen can be the C screen 203. The two folding edges of the three-fold screen can be the first rotation shaft 204 and the second rotation shaft 205. It can be understood that the above embodiment is only an example, in the embodiments of the present application, the correspondence between the first screen, the second screen and the third screen and the A screen 201, the B screen 202 and the C screen 203 in the above embodiment shown in FIG. 2A can also be different from the above embodiment, which is not limited herein.
[0319] The first application can be an application installed on the electronic device, and the first application can be a self-developed application (such as a gallery application, etc.), or a third-party application (such as a shopping application, etc.).
[0320] For example, referring to the above embodiment shown in FIG. 8A, the first interface can be the interface 1 shown in FIG. 8A, and the first control can be the control 804 shown in FIG. 8A.
[0321] The fully unfolded state can be the device form of the electronic device 100 in the above embodiment shown in FIG. 2C.
[0322] S1002. The electronic device receives a first operation of the first control by the user.
[0323] The first operation is configured to trigger the electronic device to display a second interface of the first application.
[0324] For example, the first operation of the user on the first control can be the click operation of the user on the control 804 in the embodiment shown in FIG. 8A.
[0325] S1003. In response to the first operation, the electronic device displays the first interface on the first display area of the tri-fold display screen and displays the second interface of the first application on the second display area of the tri-fold display screen, and the first display area and the second display area do not overlap each other.
[0326] For example, in response to the first operation, the electronic device displays the interface 600 shown in FIG. 6A. In this embodiment, the first display area can be the area occupied by the window 601 on the display screen, and the second display area can be the area occupied by the window 602 on the display screen. The first interface can be interface 1, and the second interface can be interface 2.
[0327] S1004. In response to the electronic device changing from the fully unfolded state to the semi-folded state, the electronic device displays the first interface on the second screen and displays the second interface on the third screen; the semi-folded state is a device form in which the orientation of the first screen is opposite to the orientation of the second screen, and the orientation of the second screen is the same as the orientation of the third screen.
[0328] The semi-folded state can be the device form of the electronic device 100 in the embodiment shown in FIG. 2F. It should be noted that the orientation of the first screen can refer to the orientation of the first face of the A screen 201; similarly, the orientation of the second screen can refer to the orientation of the first face of the B screen 202, and the orientation of the third screen can refer to the orientation of the first face of the C screen 203.
[0329] For example, with reference to the embodiments shown in FIGS. 6A to 6B, the first interface can be interface 1 in this embodiment, and the second interface can be interface 2.
[0330] In this way, if the first application supports in-application split-screen display when the electronic device is in the fully unfolded state, and supports in-application split-screen display when the electronic device is in the semi-folded state, after the electronic device changes from the fully unfolded state to the semi-folded state, the electronic device can also display multiple interfaces of the first application in the in-application split-screen display mode.
[0331] In a possible implementation, the method further includes: in response to the electronic device changing from the semi-folded state to the fully folded state, displaying the first interface on the first screen; the fully folded state is a device form in which the tri-fold display screen is folded based on two folding edges.
[0332] The fully folded state can be the device form of the electronic device 100 in the embodiment shown in FIG. 2D.
[0333] Exemplarily, referring to the embodiments shown in FIGS. 6B-6C, the first interface can be interface 1 in the embodiments, and the second interface can be interface 2.
[0334] In this way, if the first application supports in-application split-screen display in the half-folded state of the electronic device and does not support in-application split-screen display in the fully folded state of the electronic device, the first application can be displayed in the mode of in-application split-screen display after the electronic device changes from the half-folded state to the fully folded state.
[0335] In a possible implementation, the method further includes: in response to the electronic device changing from the fully folded state to the half-folded state, displaying the first interface on the second screen and displaying the second interface on the third screen.
[0336] Exemplarily, when the electronic device changes from the fully folded state to the half-folded state, the interface of the electronic device can change from the interface 620 shown in FIG. 6C to the interface 610 shown in FIG. 6B.
[0337] In this way, if the first application supports in-application split-screen display in the half-folded state of the electronic device and does not support in-application split-screen display in the fully folded state of the electronic device, the first application can be displayed in the mode of in-application split-screen display after the electronic device changes from the fully folded state to the half-folded state.
[0338] In a possible implementation, the method further includes: in response to the electronic device changing from the half-folded state to the fully unfolded state, displaying the first interface on the first display area and displaying the second interface on the second display area.
[0339] Exemplarily, when the electronic device changes from the half-folded state to the fully unfolded state, the interface of the electronic device can change from the interface 610 shown in FIG. 6B to the interface 600 shown in FIG. 6A.
[0340] In this way, if the first application supports in-application split-screen display in the half-folded state and the fully unfolded state of the electronic device, the first application can be displayed in the mode of in-application split-screen display after the electronic device changes from the half-folded state to the fully unfolded state.
[0341] In a possible implementation, the method further includes: in response to the electronic device changing from the fully folded state to the fully unfolded state, displaying the first interface on the first display area and displaying the second interface on the second display area.
[0342] Exemplarily, when the electronic device changes from the fully folded state to the fully unfolded state, the interface of the electronic device can change from the interface 620 shown in FIG. 6C to the interface 600 shown in FIG. 6A.
[0343] In this way, if the first application supports in-application split-screen display in the fully unfolded state of the electronic device, and does not support in-application split-screen display in the fully folded state of the electronic device, after the electronic device changes from the fully folded state to the fully unfolded state, the first application can be displayed in the in-application split-screen display mode.
[0344] In a possible implementation, the first interface of the first application is displayed on the three-fold display screen, specifically including: the first interface of the first application is displayed on the third display area of the three-fold display screen, and the third display area includes a partial area of the first screen, the second screen, and a partial area of the third screen.
[0345] For example, referring to the embodiment shown in FIG. 8A, the third display area can be an area occupied by the window 801 on the display screen.
[0346] In this way, in the fully unfolded state, the electronic device can display the interface of the first application in the in-application split-screen display mode through a single window.
[0347] In a possible implementation, the electronic device stores a first file, and the first file includes a first indication field; when the electronic device is in the fully unfolded state, the method further includes: determining, based on the first indication field, that the first list includes a first identifier of the first application, and the first list is used to indicate applications that support in-application split-screen display in the fully unfolded state of the electronic device; and in response to a first operation, displaying the first interface on the first display area of the three-fold display screen and displaying the second interface of the first application on the second display area of the three-fold display screen, specifically including: in response to the first operation, displaying the first interface on the first display area of the three-fold display screen and displaying the second interface of the first application on the second display area of the three-fold display screen based on the first identifier in the first list.
[0348] The first file can be the configuration file in the embodiment shown in FIG. 4A. For example, the content of the configuration file can refer to the related description of the configuration file W2 shown in FIG. 4B. In some embodiments, the first indication field can include an application identifier B1 and a field F1, where the first identifier of the first application can be the application identifier B1.
[0349] In some embodiments, the first list can be the application list 1 in the embodiment shown in FIG. 4A.
[0350] In this way, whether the first application supports in-application split-screen display in different device states can be determined based on the first indication field. The first identifier can be an identifier of the first application.
[0351] In a possible implementation, before displaying the first interface of the first application on the three-fold display screen, the method further includes: receiving a second operation of opening the first application by the user; and displaying the first interface of the first application on the three-fold display screen, specifically including: in response to the second operation, displaying the first interface of the first application on the three-fold display screen based on the first identifier in the first list.
[0352] For example, the second operation can be a click operation of the user on an application icon of the first application.
[0353] In this way, when the electronic device is in the fully unfolded state, after receiving the operation of opening the first application by the user and determining that the first application supports application-in-screen split-screen display based on the first list (that is, the first list includes the first identifier), the interface of the first application is displayed in the application-in-screen split-screen display mode.
[0354] In a possible implementation, the first indication field includes a first form identifier, and the first form identifier has a mapping relationship with the fully unfolded state; and determining that the first list includes the first identifier of the first application based on the first indication field specifically includes: determining that the first list includes the first identifier based on the first form identifier in the first indication field.
[0355] For example, the first form identifier can be "Gstate" or "pad", and the like. It can be understood that this is only an example, and in other embodiments, the first form identifier can also use an identifier different from the above-mentioned embodiments, which is not limited in the present application.
[0356] In this way, when the first indication field includes the first form identifier, the electronic device can determine that the first application supports application-in-screen split-screen display in the fully unfolded state, that is, determine that the first list includes the first identifier of the first application.
[0357] In a possible implementation, in response to the electronic device changing from the fully unfolded state to the semi-folded state, the method further includes: determining that the second list includes the first identifier of the first application based on the first indication field, the second list being used to indicate applications that support application-in-screen split-screen display when the electronic device is in the semi-folded state; displaying the first interface on the second screen and the second interface on the third screen, specifically including: displaying the first interface on the second screen and the second interface on the third screen based on the first identifier in the second list.
[0358] In some embodiments, the second list can be the application list 2 in the embodiment shown in FIG. 5.
[0359] In this way, the electronic device can display the interface of the first application in the in-application split-screen display mode when it is determined that the first application supports in-application split-screen display based on the second list after detecting that the device form changes from the fully unfolded state to the semi-folded state.
[0360] In a possible implementation, the first indication field includes a second form identifier, and the second form identifier has a mapping relationship with the semi-folded state; the determining that the second list includes the first identifier of the first application based on the first indication field specifically includes: determining that the second list includes the first identifier based on the second form identifier in the first indication field.
[0361] For example, the second form identifier can be “Fstate” or “semi-folded”. It can be understood that this is only an example, and in other embodiments, the second form identifier can also be an identifier different from the above-described embodiments, which is not limited in the present application.
[0362] In this way, when the first indication field includes the second form identifier, the electronic device can determine that the first application supports in-application split-screen display in the semi-folded state, that is, determine that the second list includes the first identifier of the first application.
[0363] In a possible implementation, the first file further includes a second indication field; when the electronic device is in the fully unfolded state, the method further includes: determining that the first list includes a second identifier of a second application based on the second indication field; receiving a third operation of the user opening the second application; in response to the third operation, displaying a third interface of the second application on the three-fold display screen based on the second identifier in the first list, the third interface including a second control; receiving a fourth operation of the user on the second control; and in response to the fourth operation, displaying the third interface on the first display area and a fourth interface of the second application on the second display area based on the second identifier in the first list.
[0364] For example, the second indication field can include an application identifier B2 and a field F2, and the second identifier of the second application can be the application identifier B2.
[0365] For example, the third operation can be a click operation of the user on the application icon of the second application. The second control can be the control 904 shown in FIG. 9A. The fourth operation can be a click operation of the user on the control 904. In response to the fourth operation, the electronic device can display the interface 700 shown in FIG. 7A, and the third interface can be the interface 1 and the fourth interface can be the interface 2.
[0366] In this way, when the electronic device is in the fully unfolded state, the electronic device can further determine, based on the second indication field, whether the second application supports in-application split-screen display in the fully unfolded state (i.e., whether the first list includes the second identifier of the second application). When the first list includes the second identifier of the second application, the electronic device can display the interface of the second application in the in-application split-screen display mode.
[0367] In a possible implementation, the method further includes: in response to the electronic device changing from the fully unfolded state to the semi-folded state, determining, based on the second indication field, that the second list does not include the second identifier, the second list being used to indicate applications that support in-application split-screen display in the semi-folded state of the electronic device; and displaying, based on the second list, the third interface on the second screen and the third screen.
[0368] For example, when the electronic device changes from the fully unfolded state to the semi-folded state, the interface of the electronic device can change from the interface 700 shown in FIG. 7A to the interface 710 shown in FIG. 7B.
[0369] In this way, when the electronic device changes in device form, the electronic device can determine, based on the second indication field, whether the second application supports in-application split-screen display in the changed device form (i.e., whether the second list includes the second identifier). If the second list does not include the second identifier, the electronic device can display the interface of the second application in the conventional display mode.
[0370] In a possible implementation, the method further includes: in response to the electronic device changing from the semi-folded state to the fully unfolded state, determining, based on the second indication field, that the first list includes the second identifier; and displaying, based on the second identifier in the first list, the third interface on the first display area and the fourth interface of the second application on the second display area.
[0371] For example, when the electronic device changes from the semi-folded state to the fully unfolded state, the interface of the electronic device can change from the interface 710 shown in FIG. 7B to the interface 700 shown in FIG. 7A. At this time, the third interface can be interface 1, and the fourth interface can be interface 2.
[0372] In this way, if the second list does not include the second identifier and the first list includes the second identifier, after the electronic device changes from the semi-folded state to the fully unfolded state, the electronic device can display multiple interfaces of the second application based on the in-application split-screen display mode.
[0373] In a possible implementation, when the electronic device is in the semi-folded state, the first screen is turned off, or the first screen is partially turned on.
[0374] The embodiments of the present application can be combined in any manner to achieve different technical effects.
[0375] In the above embodiments, all or part of the processes can be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the processes can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes described in the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media sets. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.
[0376] Those of ordinary skill in the art can understand that all or part of the processes in the above embodiments can be implemented by a computer program to instruct the relevant hardware, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above embodiments. The storage medium includes ROM or random access memory (RAM), magnetic disk or optical disk, and other media that can store program codes.
[0377] In summary, the above only describes the embodiments of the present application, and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present application shall be included in the protection scope of the present application.
Claims
1. A display method characterized by comprising: The method is applied to an electronic device including a three-fold display screen, the three-fold display screen including two folding edges, the three-fold display screen being divided into three sub-screens by the two folding edges, the three sub-screens including a first screen, a second screen and a third screen; the method includes: displaying a first interface of a first application on the three-fold display screen when the electronic device is in a fully unfolded state, the first interface including a first control; receiving a first operation of a user on the first control; in response to the first operation, displaying the first interface on a first display area of the three-fold display screen and displaying a second interface of the first application on a second display area of the three-fold display screen, the first display area and the second display area being mutually non-overlapping; in response to the electronic device changing from the fully unfolded state to a half-folded state, displaying the first interface on the second screen and displaying the second interface on the third screen; the fully unfolded state is a device form in which the first screen, the second screen and the third screen are all unfolded, and the half-folded state is a device form in which the first screen is folded in a direction opposite to the second screen, and the second screen is folded in the same direction as the third screen.
2. The method of claim 1, wherein, The method further includes: in response to the electronic device changing from the half-folded state to a fully folded state, displaying the first interface on the first screen, the fully folded state being a device form in which the three sub-screens of the three-fold display screen are folded based on the two folding edges.
3. The method of claim 2, wherein, The method further includes: in response to the electronic device changing from the fully folded state to the half-folded state, displaying the first interface on the second screen and displaying the second interface on the third screen.
4. The method according to claim 1 or 3, characterized in that, The method further includes: in response to the electronic device changing from the half-folded state to the fully unfolded state, displaying the first interface on the first display area and displaying the second interface on the second display area.
5. The method of claim 2, wherein, The method further includes: in response to the electronic device changing from the fully folded state to the fully unfolded state, displaying the first interface on the first display area and displaying the second interface on the second display area.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: displaying a first interface of a first application on the three-fold display screen, specifically including:
7. The method according to any one of claims 1 to 6, characterized in that, displaying the first interface of the first application on a third display area of the three-fold display screen, the third display area including a partial area of the first screen, the second screen and a partial area of the third screen. The electronic device stores a first file, and the first file includes a first indication field; when the electronic device is in a fully unfolded state, the method further includes: determining, based on the first indication field, that a first list includes a first identifier of the first application, the first list being used to indicate applications that support in-application sub-screen display when the electronic device is in the fully unfolded state; the response to the first operation, displaying the first interface on a first display area of the three-fold display screen and displaying a second interface of the first application on a second display area of the three-fold display screen, specifically includes: In response to the first operation, the first interface is displayed on a first display area of the tri-fold display based on the first identifier in the first list, and the second interface of the first application is displayed on a second display area of the tri-fold display.
8. The method of claim 7, wherein, Before displaying the first interface of the first application on the tri-fold display, the method further includes: receiving a second operation of opening the first application by the user; The first interface of the first application is displayed on the tri-fold display, specifically including: In response to the second operation, the first interface of the first application is displayed on the tri-fold display based on the first identifier in the first list.
9. The method according to claim 7 or 8, characterized in that, The first indication field includes a first form identifier, and the first form identifier has a mapping relationship with the fully unfolded state; The first indication field includes a first form identifier, and the first form identifier has a mapping relationship with the fully unfolded state; The first indication field includes a first form identifier, and the first form identifier has a mapping relationship with the fully unfolded state; 10. The method according to any one of claims 7-9, characterized in that, In response to the electronic device changing from the fully unfolded state to the semi-folded state, the method further includes: Based on the first indication field, a second list including a first identifier of the first application is determined, and the second list is used to indicate applications that support in-application split screen display when the electronic device is in the semi-folded state; The first interface is displayed on the second screen based on the first identifier in the second list, and the second interface is displayed on the third screen. The first indication field includes a first form identifier, and the first form identifier has a mapping relationship with the fully unfolded state; 11. The method of claim 10, wherein, The first indication field includes a first form identifier, and the first form identifier has a mapping relationship with the fully unfolded state; The first indication field includes a first form identifier, and the first form identifier has a mapping relationship with the fully unfolded state; The first file further includes a second indication field; when the electronic device is in a fully unfolded state, the method further includes:
12. The method according to any one of claims 7-11, characterized in that, Based on the second indication field, a first list including a second identifier of the second application is determined; receiving a third operation of opening the second application by the user; In response to the third operation, a third interface of the second application is displayed on the tri-fold display based on the second identifier in the first list, and the third interface includes a second control; receiving a fourth operation of the user for the second control; In response to the fourth operation, the third interface is displayed on the first display area based on the second identifier in the first list, and a fourth interface of the second application is displayed on the second display area. The method further includes:
13. The method of claim 12, wherein, In response to the electronic device changing from the fully unfolded state to the semi-folded state, a second list not including the second identifier is determined based on the second indication field, and the second list is used to indicate applications that support in-application split screen display when the electronic device is in the semi-folded state; Based on the second list, the third interface is displayed on the second screen and the third screen. The method further includes:
14. The method of claim 13, wherein, in response to the electronic device changing from the semi-folded state to the fully unfolded state, determining, based on the second indication field, that the first list includes the second identifier; displaying, based on the second identifier in the first list, the third interface on the first display area, and displaying a fourth interface of the second application on the second display area.
15. The method of any one of claims 1-14, wherein, when the electronic device is in the semi-folded state, the first screen is turned off, or the first screen is partially turned on.
16. An electronic device, comprising: An electronic device includes one or more memories, one or more processors; the one or more memories are coupled to the one or more processors, and the one or more memories are configured to store computer program codes, the computer program codes include computer instructions, when the one or more processors execute the computer instructions, the electronic device is caused to perform the display method in any one of the above claims 1-15.
17. A computer-readable storage medium, characterized in that, An instruction, when executed on a processor of an electronic device, causes the electronic device to perform the display method in any one of the above claims 1-15.
18. A computer program product, characterised in that, When the computer program product is executed on an electronic device, the electronic device is caused to perform the display method in any one of the above claims 1-15.