Display method and related apparatus
By dynamically adjusting the split-screen display mode within the application through the folding state changes of the tri-fold display and configuration file instructions, the display adaptability problem under different device forms is solved, and the user experience and efficiency are improved.
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
- 2025-10-02
AI Technical Summary
The existing technology cannot be applied to split-screen displays of electronic devices with different device forms, resulting in limited scope of application of split-screen displays within applications.
A display method is provided that dynamically adjusts the split-screen display mode within an application by changing the different folding states of a tri-fold display screen. It uses an indication field in a configuration file to determine whether the application supports split-screen display under different device forms, thereby achieving adaptive display for different device forms.
It enables flexible switching of split-screen displays within applications under different device forms, improves user operation efficiency and usage experience, and reduces memory usage and power consumption.
Smart Images

Figure CN2025085214_02102025_PF_FP_ABST
Abstract
Description
A display method and related device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 29, 2024, with application number 202410382880.7 and application name “A display method and related device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of electronic technology, and in particular to a display method and related devices. Background Art
[0003] With the continuous development of electronic technology, the functions of electronic devices are becoming more and more abundant. Many electronic devices support split-screen display within applications, that is, displaying different interfaces of the same application in two non-overlapping windows.
[0004] Different types of electronic devices may store different configuration files, which are used to indicate one or more applications in the current electronic device that support in-app split-screen display. The electronic device may determine whether an application uses in-app 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 of the Invention
[0006] The present application provides a display method and related devices, which realize the configuration of the display mode of electronic devices under different device forms, and can determine whether the application supports split-screen display within the application under 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, which is applied to an electronic device, wherein the electronic device includes a tri-fold display screen, the tri-fold display screen includes two folding edges, and the tri-fold display screen is divided into three split screens by the two folding edges, and the three split screens include a first screen, a second screen, and a third screen; the method includes: when the electronic device is in a fully unfolded state, displaying a first interface of a first application on the tri-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 in a first display area of the tri-fold display screen, and displaying the second interface of the first application in a second display area of the tri-fold display screen, the first display area and the second display area not overlapping each other; in response to the electronic device changing from a fully unfolded state to a semi-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 folded; 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.
[0008] In this way, if the first application supports in-application split-screen display when the electronic device is in a fully expanded state, and also supports in-application split-screen display when the electronic device is in a semi-folded state, then after the electronic device changes from a fully expanded state to a semi-folded state, the multiple interfaces of the first application can also be displayed using the in-application split-screen display mode.
[0009] In one possible implementation, the method also includes: in response to the electronic device changing from a semi-folded state to a fully folded state, displaying a first interface on the first screen, the fully folded state being a device form in which a three-fold display screen folds three split screens based on two folding edges.
[0010] In this way, if the first application supports split-screen display within the application when the electronic device is in a semi-folded state, but does not support split-screen display within the application when the electronic device is in a fully folded state, then after the electronic device changes from a semi-folded state to a fully folded state, the first application can be displayed in a conventional display mode.
[0011] In one possible implementation, the method further includes: in response to the electronic device changing from a fully folded state to a 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 a semi-folded state, but does not support in-application split-screen display when the electronic device is in a fully folded state, then after the electronic device changes from a fully folded state to a semi-folded state, the multiple interfaces of the first application can be displayed in an in-application split-screen display mode.
[0013] In one possible implementation, the method further includes: in response to the electronic device changing from a semi-folded state to a fully unfolded state, displaying a first interface in the first display area and displaying a second interface in the second display area.
[0014] In this way, if the first application supports in-application split-screen display when the electronic device is in both semi-folded and fully expanded states, after the electronic device changes from the semi-folded state to the fully expanded state, the multiple interfaces of the first application can be displayed in the in-application split-screen display mode.
[0015] In one possible implementation, the method further includes: in response to the electronic device changing from a fully folded state to a fully unfolded state, displaying a first interface in the first display area and displaying a second interface in the second display area.
[0016] In this way, if the first application supports in-application split-screen display when the electronic device is in a fully expanded state, but does not support in-application split-screen display when the electronic device is in a fully folded state, then after the electronic device changes from a fully folded state to a fully expanded state, the multiple interfaces of the first application can be displayed in an in-application split-screen display mode.
[0017] In one possible implementation, displaying the first interface of the first application on a tri-fold display screen specifically includes: displaying the first interface of the first application in the third display area of the tri-fold display screen, where 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 expanded state, the electronic device can display the interface of the first application through a single window using an in-application split-screen display mode.
[0019] In one possible implementation, the electronic device stores a first file, and the first file includes a first indication field; when the electronic device is in a fully expanded state, the method further includes: determining based on the first indication field that the first list includes a first identifier of a first application, the first list being used to indicate applications that support split-screen display within the application when the electronic device is in a fully expanded state; in response to the first operation, displaying the first interface in the first display area of the tri-fold display screen, and displaying the second interface of the first application in the second display area of the tri-fold display screen, specifically including: in response to the first operation, displaying the first interface in the first display area of the tri-fold display screen based on the first identifier in the first list, and displaying the second interface of the first application in the second display area of the tri-fold display screen.
[0020] In this way, whether the first application supports in-application split-screen display under different device forms can be determined based on the first indication field. The first identifier can be an identifier of the first application.
[0021] In one possible implementation, before displaying the first interface of the first application on the tri-fold display screen, the method also includes: receiving a second operation of the user to open the first application; displaying the first interface of the first application on the tri-fold display screen, specifically including: in response to the second operation, displaying the first interface of the first application on the tri-fold display screen based on the first identifier in the first list.
[0022] In this way, when the electronic device is in a fully expanded state, after receiving the user's operation to open the first application, and determining based on the first list that the first application supports in-application split-screen display (that is, the first list includes the first identifier), the interface of the first application can be displayed in the in-application split-screen display mode.
[0023] In one possible implementation, the first indication field includes a first form identifier, and there is a mapping relationship between the first form identifier and the fully expanded state; 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.
[0024] In this way, when the first indication field includes the first form identifier, the electronic device can determine that the first application supports in-application split-screen display in the fully expanded state, that is, determine that the first list includes the first identifier of the first application.
[0025] In one possible implementation, in response to the electronic device changing from a fully unfolded state to a semi-folded state, the method also includes: determining based on the first indication field that the second list includes a first identifier of the first application, the second list is used to indicate applications that support split-screen display within the application when the electronic device is in the semi-folded state; displaying the first interface on the second screen and displaying the second interface on the third screen, specifically including: displaying the first interface on the second screen based on the first identifier in the second list and displaying the second interface on the third screen.
[0026] In this way, when the electronic device detects that the device form changes from a fully expanded state to a semi-folded state, after determining based on the second list that the first application supports in-application split-screen display (that is, the second list includes the first identifier), it can use the in-application split-screen display mode to display the interface of the first application.
[0027] In one possible implementation, the first indication field includes a second form identifier, and there is a mapping relationship between the second form identifier and the semi-folded state; 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.
[0028] 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.
[0029] In one possible implementation, the first file also includes a second indication field; when the electronic device is in a fully expanded state, the method also includes: determining that the first list includes a second identifier of the second application based on the second indication field; receiving a third operation of the user to open the second application; in response to the third operation, displaying a third interface of the second application on the tri-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 for the second control; in response to the fourth operation, displaying the third interface in the first display area based on the second identifier in the first list, and displaying the fourth interface of the second application in the second display area.
[0030] In this way, when the electronic device is in the fully expanded state, the electronic device can also determine whether the second application supports in-app split-screen display in the fully expanded state based on the second indication field (i.e., determine whether the first list includes the second identifier of the second application). If 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-app split-screen display mode.
[0031] In one possible implementation, the method also includes: in response to the electronic device changing from a fully unfolded state to a semi-folded state, determining based on a second indication field that the second list does not include a second identifier, the second list being used to indicate applications that support in-application split-screen display when the electronic device is in a semi-folded state; and displaying a third interface on the second screen and the third screen based on the second list.
[0032] In this way, when the electronic device undergoes a device form change, the electronic device can determine whether the second application supports in-app split-screen display under the changed device form based on the second indication field (i.e., determine 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 a regular display mode.
[0033] In one possible implementation, the method also includes: in response to the electronic device changing from a semi-folded state to a fully unfolded state, determining based on the second indication field that the first list includes a second identifier; displaying a third interface in the first display area based on the second identifier in the first list, and displaying a fourth interface of the second application in 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, then after the electronic device changes from a semi-folded state to a 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 one possible implementation, when the electronic device is in a semi-folded state, the first screen is turned off, or a portion of the first screen is turned on.
[0036] In a second aspect, the present application provides an electronic device, comprising 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 used to store computer program code, wherein the computer program code comprises 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 of the above aspects.
[0037] In a third aspect, an embodiment of the present application provides a readable storage medium, including instructions, which, when executed on an electronic device, enables the electronic device to execute the display method in any possible implementation of any of the above aspects.
[0038] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the display method in any possible implementation of any of the above aspects.
[0039] The beneficial effects of the second to fourth aspects can refer to the beneficial effects of the first aspect mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] FIG1A-FIG1B are schematic diagrams of a set of interfaces of display mode 1 provided in an embodiment of the present application;
[0041] FIG1C-FIG1D are schematic diagrams of a set of interfaces of display mode 2 provided in an embodiment of the present application;
[0042] FIG1E is a schematic diagram showing the content structure of a configuration file W1 provided in an embodiment of the present application;
[0043] 2A-2F are schematic diagrams of device configurations of a group of electronic devices 100 provided in an embodiment of the present application;
[0044] FIG3A is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;
[0045] FIG3B is a schematic diagram of a software architecture of an electronic device 100 provided in an embodiment of the present application;
[0046] FIG4A is a schematic diagram of a flow chart of a display method provided in an embodiment of the present application;
[0047] FIG4B is a schematic diagram showing the content structure of a configuration file W2 provided in an embodiment of the present application;
[0048] FIG4C is a schematic diagram of the composition of the content stored in the window container 14a before and after the device shape changes according to an embodiment of the present application;
[0049] FIG5 is a schematic diagram of a flow chart of another display method provided in an embodiment of the present application;
[0050] 6A-6C are schematic diagrams of interfaces of a set of electronic devices 100 before and after the shape change according to an embodiment of the present application;
[0051] 7A-7C are schematic diagrams of interfaces of another set of electronic devices 100 before and after the shape change according to an embodiment of the present application;
[0052] 8A-8D are schematic diagrams of interfaces of another set of electronic devices 100 before and after the shape change according to an embodiment of the present application;
[0053] 9A-9C are schematic diagrams of interfaces of another set of electronic devices 100 before and after the shape change according to an embodiment of the present application;
[0054] FIG10 is a flow chart of a display method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] The following is a clear and detailed description of the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship between related objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0056] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0057] The term "user interface (UI)" in the following embodiments of this application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content that the user can recognize. The commonly used form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.
[0058] The embodiment of the present application provides two display modes, display mode 1 and display mode 2. Among them, display mode 1 can also be referred to as the in-application split-screen display mode (or parallel vision mode), and display mode 2 can also be referred to as the conventional display mode. Application 1 is an application installed on an electronic device. When application 1 supports display mode 1, the electronic device can receive and respond to the user's operation of opening application 1, and adopt display mode 1 to display application 1. Display mode 1 includes two cases: single-window display and multi-window display. In the case of single-window display, the electronic device 100 can display the interface of 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 application 1 through multiple windows, and the multiple windows do not overlap with each other. When application 1 does not support display mode 1, the electronic device can receive and respond to the user's operation of opening application 1, and adopt display mode 2 to display application 1.
[0059] The following describes the two display modes provided by this application with reference to specific examples.
[0060] For example, FIG. 1A-FIG . 1B show a set of interface schematic diagrams of display mode 1. FIG.
[0061] As shown in Figure 1A, electronic device A may display an interface 1000. Interface 1000 may include a window 1001. The display size of window 1001 may be smaller than the display size of interface 1000. Window 1001 may display an interface 1002 of a shopping application. Interface 1002 may include one or more product items, such as product item 1003. Each product item 1003 may be used to trigger electronic device A to display detailed information about the product item.
[0062] Electronic device A may receive and respond to a user's click operation on the product entry 1003 by displaying an interface 1010 as shown in FIG. 1B .
[0063] As shown in Figure 1B , interface 1010 may include window 1011 and window 1012, and windows 1011 and 1012 do not overlap. Window 1011 may display shopping application interface 1002, and window 1012 may display shopping application interface 1013, with detailed information about product item 1003 displayed in interface 1013. In some embodiments, the display size of window 1011 is the same as the display size of window 1012, and the display size of window 1011 is smaller than window 1001 shown in Figure 1A .
[0064] In this way, when display mode 1 is adopted, the user can view different interfaces in application 1 through different windows, which provides convenience for the user and brings a better user experience.
[0065] As another example, FIG. 1C and FIG. 1D show a set of interface schematic diagrams of display mode 2. FIG.
[0066] As shown in FIG1C , if the shopping application does not support display mode 1, the display screen of electronic device A may display a shopping application interface 1002. The display size of interface 1002 is the same as the display screen size, but larger than the display size of window 1001 shown in FIG1A . Interface 1002 may include product items 1003. For other specific contents of interface 1002, please refer to the description of the embodiment shown in FIG1A above and will not be repeated here.
[0067] Electronic device A may receive and respond to a user's click operation on the product item 1003 in the interface 1002 shown in FIG. 1C , and display an interface 1013 as shown in FIG. 1D .
[0068] As shown in Figure 1D, the display size of interface 1013 is the same as the size of the display screen and is larger than the display size of window 1012 shown in Figure 1B. In addition, the specific content of interface 1013 can refer to the relevant description of the embodiment shown in Figure 1B above, which will not be repeated here.
[0069] In this way, when application 1 does not support display mode 1, the electronic device can use display mode 2 to display the interface of application 1, that is, display the interface of application 1 through a single window in all areas of the display screen.
[0070] It can be understood that the embodiments shown in Figures 1A to 1D above are only illustrative of the interface display forms of display mode 1 and display mode 2. In the embodiments of the present application, application 1 can also be other applications besides the shopping application. Moreover, when using display mode 1, the display size of each window can also be different from the above display size. The present application does not limit the specific display size of the window.
[0071] Electronic device A can be the tablet in the embodiments shown in Figures 1A-1D above, or a mobile phone with a foldable screen, or other types of electronic devices, etc. This application does not limit the specific type of electronic device A.
[0072] For example, FIG1E shows a schematic diagram of the content structure of a configuration file W1 provided in an embodiment of the present application.
[0073] As shown in Figure 1E, configuration file W1 may include one or more application identifiers, each of which may correspond to an application installed on electronic device A, and the application identifiers in configuration file W1 may be used to indicate applications that support display mode 1. For example, the one or more application identifiers may include application identifier B1, application identifier B2, etc. Application identifier B1 may be the identifier of application 1, and application identifier B2 may be the identifier of application 2. According to configuration file W1 shown in Figure 1E, among the multiple applications installed on electronic device A, the applications that support display mode 1 may include application 1 and application 2.
[0074] It can be understood that the embodiment shown in Figure 1E is only an exemplary illustration. Electronic device A can determine whether an application supports display mode 1 based on configuration file W1. In the embodiment of the present application, configuration file W1 can also include more or fewer application identifiers than the above embodiment, or include application identifiers different from the above embodiment. This application does not limit this.
[0075] Thus, when electronic device A is turned on, electronic device A can determine application list E1 based on configuration file W1. Application list E1 can include the identifiers of all applications in electronic device A that support display mode 1. Thus, when receiving an operation from the user to open application 1, electronic device A can determine whether application list E1 includes the identifier of application 1 based on application list E1. If application list E1 includes the identifier of application 1, electronic device A can use display mode 1 to display the interface of application 1. If application list E1 does not include the identifier of application 1, electronic device A can use display mode 2 to display the interface of application 1.
[0076] However, if electronic device A has multiple device forms, such as a foldable screen, the available display area on the display screen may vary in size under different device forms, and the applications supporting display mode 1 may not necessarily be the same. Therefore, if configuration file W1 shown in FIG1E is still used, electronic device A will need to set up multiple different configuration files for different device forms, which will require more memory and consume more power during operation.
[0077] The following describes the device form of the electronic device provided in the embodiments of the present application.
[0078] Currently, the display screens of many electronic devices use flexible materials as substrates, allowing the display screens to be folded along folding edges. This type of foldable display screen can be called a folding screen. An electronic device with a folding screen can be called a folding screen device. The folding edge in a folding screen can divide a display screen into multiple sub-screens. A rotating axis can be provided at the folding edge, and the sub-screens can rotate around the rotating axis at the folding edge. With the development of folding screen technology, folding screens are no longer limited to a single folding edge and can also have multiple folding edges. A folding screen with two folding edges can be called a tri-fold screen. The two folding edges can divide the tri-fold screen into three sub-screens. The three sub-screens of the tri-fold screen can display the user interface separately or in combination. An electronic device with a tri-fold screen can be called a tri-fold screen device.
[0079] The embodiments of the present application provide a method for operating a folding screen device and related apparatus. In response to the user's operation of rotating the folding screen split screen along the folding edge, the electronic device can obtain parameters such as the horizontal and vertical screen state, the angle between the folding screen and the horizontal plane, the angular velocity when the user rotates the split screen, the angle of rotation of the split screen, and the dwell time after the split screen is rotated. The electronic device can then provide corresponding application functions based on the application in the electronic device and one or more of the above parameters. The above application functions can be preset by the electronic device or by the user. In this way, the user does not need to click on the folding screen, but only needs to rotate the split screen to quickly implement some application functions, thereby improving the user's operating efficiency and usage experience.
[0080] For ease of explanation and better understanding, the subsequent embodiments of this application take a three-fold screen device as an example to introduce the folding screen device operation method and related devices provided by the embodiments of this application. It should be understood by those skilled in the art that the operation method of other multi-fold screen electronic devices can refer to the operation method of the three-fold screen device. This application will not elaborate on the operation methods of other electronic devices with foldable screens.
[0081] For example, taking a three-fold screen as an example, FIG2A-FIG2B show a schematic diagram of the device form of a group of electronic devices 100 provided in an embodiment of the present application.
[0082] As shown in Figure 2A, the electronic device 100 may include three split screens. These three split screens may be screen A 201, screen B 202, and screen C 203. A first hinge 204 may be provided at the intersection of screen A 201 and screen B 202. A second hinge 205 may be provided at the intersection of screen B 202 and screen C 203. The intersection of screen A 201 and screen B 202, and the intersection of screen B 202 and screen C 203 may also be referred to as folding edges of the electronic device 100. In the embodiment of the present application, screen A 201 may also be referred to as the first split screen, screen B 202 may also be referred to as the second split screen, and screen C 203 may also be referred to as the third split screen.
[0083] The A screen 201, the B screen 202 and the C screen 203 may each have two surfaces: a first surface and a second surface, wherein the first surface and the second surface of a split screen are opposite surfaces to each other.
[0084] 2A shows the first side of the A screen 201 , the B screen 202 and the C screen 203 , while FIG2B shows the second side of the A screen 201 , the B screen 202 and the C screen 203 .
[0085] The first surfaces of screen A 201, screen B 202, and screen C 203 can be used to display a user interface. Displaying a user interface is not limited to the first surface. In some embodiments, one or more of the second surfaces of screen A 201, screen B 202, and screen C 203 can also be used to display a user interface. This embodiment of the present application does not limit the number of split-screen surfaces used to display a user interface in electronic device 100.
[0086] The first rotation axis 204 and the second rotation axis 205 can be used to rotate the split screens of the electronic device 100. In some embodiments, the first rotation axis 204 can include an angular velocity sensor for calculating the angle between the A screen 201 and the B screen 202. The second rotation axis 205 can also include an angular velocity sensor for calculating the angle between the B screen 202 and the C screen 203.
[0087] In some embodiments, the angle between the first surface of the A screen 201 and the first surface of the B screen 202 may be referred to as α, and the angle between the first surface of the B screen 202 and the first surface of the C screen 203 may be referred to as β.
[0088] The value of α can range from 180° to 360°. When screen A 201 and screen B 202 are located in the same plane, α is 180°. When the second surface of screen A 201 and the second surface of screen B 202 are in contact, α is 360°. When α is 360°, screen A 201 can rotate about the first rotation axis 204 in a direction in which the second surface of screen A 201 is away from the second surface of screen B 202 until it is located in the same plane as screen B 202. During the above-mentioned rotation process of screen A 201, the value of α can gradually change from 360° to 180°. Alternatively, when α is 360°, screen B 202 can rotate about the first rotation axis 204 in a direction in which the second surface of screen B 202 is away from the second surface of screen A 201 until it is located in the same plane as screen A 201.
[0089] The value of β can range from 0° to 180°. When screen B 202 and screen C 203 are in the same plane, β is 180°. When the first surface of screen B 202 is in contact with the first surface of screen C 203, β is 0°. When β is 0°, screen B 202 can rotate along the second rotation axis 205 in a direction in which the first surface of screen B 202 is away from the first surface of screen C 203 until it is in the same plane as screen C 203. During the aforementioned rotation of screen B 202, the value of β can gradually change from 0° to 180°. Alternatively, when β is 0°, screen C 203 can rotate about the second rotation axis 205 in a direction in which the first surface of screen C 203 is away from the first surface of screen B 202 until it is in the same plane as screen C 203.
[0090] In some embodiments, α ranges from 180° to 360°, and β ranges from 0° to 180°. In other embodiments, panel A 201, panel B 202, and panel C 203 may have different folding configurations, meaning that α and β may have different ranges. For example, if panel A 201, panel B 202, and panel C 203 can rotate 360° around their axis, α may range from 0° to 360°, and β may also range from 0° to 360°. This embodiment of the present application does not impose any restrictions on the angles at which panel A 201, panel B 202, and panel C 203 can rotate.
[0091] In an embodiment of the present application, when the difference between α and 360° is less than a certain angle threshold, screen A 201 and screen B 202 can be said to be folded. Exemplarily, the above-mentioned angle threshold can be 10°, 20°, 30°, etc. When the difference between α and 360° is greater than a certain angle threshold, screen A 201 and screen B 202 can be said to be unfolded. Exemplarily, the above-mentioned angle threshold can be 150°, 160°, 170°, etc. This application does not limit the value of the angle threshold. When α is 180°, screen A 201 and screen B 202 can be said to be fully unfolded.
[0092] In the embodiment of the present application, when β is less than a certain angle threshold, panel B 202 and panel C 203 can be considered folded. For example, the angle threshold can be 10°, 20°, 30°, etc. When β is greater than a certain angle threshold, panel B 202 and panel C 203 can be considered 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°, panel B 202 and panel C 203 can be considered fully unfolded.
[0093] In some embodiments, screen A 201 may include a first Hall effect sensor 206, a first sensor module 207, and a front-facing camera 208. Front-facing camera 208 may be located on the first side of screen A 201. Screen B 202 may include a second Hall effect sensor 209, a third Hall effect sensor 210, and a second sensor module 211. Screen C 203 may include a fourth Hall effect sensor 212, a third sensor module 213, and a rear-facing camera 214. Rear-facing camera 214 may be located on the second side of screen C 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 a position in the A screen 201 away from the first rotation axis 204. The second Hall sensor 209 can be disposed in a position in the B screen 202 close to the second rotation axis 205. The distance between the first Hall sensor 206 and the first rotation axis 204 can be the same as the distance between the second Hall sensor 209 and the first rotation axis 204. A straight line connecting the positions of the first Hall sensor 206 and the second Hall sensor 209 can be perpendicular to the straight line on which the first rotation axis 204 is located.
[0096] In some embodiments, the third Hall sensor 210 can be disposed in the B screen 202 at a position close to the first rotation axis 204. The fourth Hall sensor 212 can be disposed in the C screen 203 at a position away from the second rotation axis 205. The distance between the third Hall sensor 210 and the second rotation axis 205 can be the same as the distance between the fourth Hall sensor 212 and the second rotation axis 205. A straight line connecting the positions of the third Hall sensor 210 and the fourth Hall sensor 212 can be perpendicular to the straight line along which the second rotation axis 205 is located.
[0097] The positions are not limited to the above. In other embodiments, the first Hall sensor 206, the second Hall sensor 209, the third Hall sensor 210, and the fourth Hall sensor 212 may also be located at other positions in the electronic device 100. The embodiment of the present application does 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 one possible implementation, when the magnitude of the magnetic field between the Hall sensors exceeds a certain threshold, the Hall sensors may generate an electrical signal. The electronic device 100 can determine whether the two split screens are folded or unfolded by detecting whether the Hall sensors generate an electrical signal. Taking the first Hall sensor 206 and the second Hall sensor 209 as an example, when screen A 201 and screen B 202 are folded, the first Hall sensor 206 in screen A 201 and the second Hall sensor 209 in screen B 202 gradually move closer together. The magnetic field between the first Hall sensor 206 and the second Hall sensor 209 increases. When the magnitude of the magnetic field reaches a certain threshold, the first Hall sensor 206 and the second Hall sensor 209 may output an electrical signal. The electronic device 100 can detect the electrical signals output by the first Hall sensor 206 and the second Hall sensor 209 and determine that screen A 201 and screen B 202 are folded. When screen A 201 and screen B 202 are unfolded, the first Hall sensor 206 in screen A 201 and the second Hall sensor 209 in screen B 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 may stop outputting electrical signals. The electronic device 100 may detect that the first Hall sensor 206 and the second Hall sensor 209 stop outputting electrical signals and determine that the A screen 201 and the B screen 202 are unfolded.
[0099] In another possible implementation, the current magnitude of the electrical signal generated by the Hall sensor may be related to the magnitude of the magnetic field. Specifically, the stronger the magnetic field detected by the Hall sensor, the greater the current of the electrical signal generated by the Hall sensor. The electronic device 100 can determine whether the two split screens are folded or unfolded based on the change in the magnitude of the above-mentioned current. Taking the first Hall sensor 206 and the second Hall sensor 209 as an example, when it is detected that the current of the electrical signal output by the first Hall sensor 206 and the second Hall sensor 209 is increasing, the electronic device 100 can determine that screen A 201 and screen B 202 are gradually folding. When it is detected that the current of the electrical signal output by the first Hall sensor 206 and the second Hall sensor 209 is decreasing, the electronic device 100 can determine that screen A 201 and screen B 202 are gradually unfolding.
[0100] The method by which the electronic device 100 determines whether the B screen 202 and the C screen 203 are folded or unfolded through the third Hall sensor 210 and the fourth Hall sensor 212 can refer to the method by which the electronic device 100 determines whether the A screen 201 and the B screen 202 are folded or unfolded in the above embodiment, which will not be repeated here.
[0101] The first sensor module 207 may include an accelerometer and a gyroscope. The accelerometer can be used to determine the acceleration of screen A 201 during rotation. The electronic device 100 can use the accelerometer in the first sensor module 207 to measure the acceleration of screen A 201 during rotation and then calculate the angle of rotation of screen A 201 about the first rotation axis 204 based on the measured acceleration. The accelerometer can also measure the acceleration of the electronic device in the horizontal and vertical directions. Based on these accelerations, the electronic device 100 can determine the rotation angle of the electronic device relative to the horizontal plane, thereby determining the landscape or portrait orientation. The electronic device 100 can also use the gyroscope in the first sensor module 207 to measure the angle between screen A 201 and other split screens, as well as the angle between screen A 201 and the horizontal plane. In some embodiments, the electronic device 100 can use a combination of the accelerometer and gyroscope to determine the rotation angle of screen A 201, the landscape or portrait orientation, and the angle between screen A 201 and the horizontal plane to improve the accuracy of the measurement results. Similarly, the second sensor module 211 and the third sensor module 213 may also include an accelerometer and a gyroscope. For the introduction of the second sensor module 211 and the third sensor module 213, refer to the above introduction of the first sensor module 207 and 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-facing camera 208 may include one or more cameras for capturing still images or video.
[0103] The rear camera 214 may include one or more cameras for capturing still images or videos.
[0104] In some embodiments, electronic device 100 may further include more cameras. For example, the second side of screen A 201, the first side of screen B 202, and the first side of screen C 203 may also be provided with cameras. The present embodiment of the application does not limit the number or location of cameras in electronic device 100.
[0105] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. The electronic device 100 may include more or fewer components than shown, or some components may be combined or separated, or arranged differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0106] 2C to 2F , a schematic diagram of the device form of a group of electronic devices 100 provided in an embodiment of the present application is introduced below.
[0107] FIG2C shows a schematic diagram of the device configuration of an electronic device 100 in a fully unfolded state provided by an embodiment of the present application.
[0108] As shown in Figure 2C, electronic device 100 is in a fully unfolded state. When electronic device 100 is in the fully unfolded state, screen A 201, screen B 202, and screen C 203 of electronic device 100 are all in the same plane. The angle α between the first surface of screen A 201 and the first surface of screen B 202 can be 180°, and the angle β between the first surface of screen B 202 and the first surface of screen C 203 can be 180°.
[0109] FIG2D shows a schematic diagram of the device configuration of an electronic device 100 in a fully folded state provided by an embodiment of the present application.
[0110] As shown in Figure 2D, the electronic device 100 is in a fully folded state. When the electronic device 100 is in the fully folded state, the angle α between the first surface of screen A 201 and the first surface of screen B 202 can be 360°, and the angle β between the first surface of screen B 202 and the first surface of screen C 203 can be 0°. At these angles, the second surface of screen A 201 is in contact with the second surface of screen B 202. The first surface of screen B 202 can be in contact with the first surface of screen C 203. Screen B 202 is folded between screens A 201 and C 203. Only the first surface of screen A 201 and the second surface of screen C 203 are exposed.
[0111] FIG2E shows a schematic diagram of the device form of an electronic device 100 in a BC folded state provided by an embodiment of the present application.
[0112] As shown in Figure 2E, the electronic device 100 is in the BC folded state. When the electronic device 100 is in the BC folded state, the angle α between the first surface of screen A 201 and the first surface of screen B 202 can be 180°, and the angle β between the first surface of screen B 202 and the first surface of screen C 203 can be 0°. In the BC folded state, screen A 201 and screen B 202 are located in the same plane. The first surface of screen B 202 can be aligned with the first surface of screen C 203. The first surfaces of screen B 202 and screen C 203 can be in the off state.
[0113] FIG2F shows a schematic diagram of the device form of an electronic device 100 in an AB folded state provided by an embodiment of the present application.
[0114] As shown in Figure 2F, the device form of the electronic device 100 is an AB folded state. When the electronic device 100 is in the AB folded state, the angle α 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 180°. In the AB folded 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 split screens. In the AB folded state, the first surface of the A screen 201 can be in an off-screen state. In the embodiment of the present application, the AB folded state can also be referred to as a semi-folded state.
[0115] It should be understood by those skilled in the art that the above-mentioned method of dividing the folding states is only an example. The electronic device 100 may include more or fewer folding states. The subsequent embodiments of this application introduce the operation method of the folding screen device by taking the fully unfolded state, the fully folded state, the BC folding state and the AB folding state as examples. 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 BC folding state and the AB folding state in the subsequent embodiments, which will not be repeated here.
[0116] It can be understood that the embodiment shown in Figures 2C to 2F above is only an example. In some embodiments, the electronic device 100 may also be other multi-fold screen devices, and the electronic device 100 may also include more, fewer or different device forms than the above embodiment, and this application does not limit this.
[0117] In some embodiments, the electronic device 100 may detect the transition between the folded states using a Hall effect sensor in the electronic device 100. Alternatively, the electronic device 100 may detect the transition between the folded states using one or more of a gyroscope sensor, an acceleration sensor, and an angle sensor in the electronic device 100. The present embodiment of the application does not limit the method by which the electronic device 100 detects the transition between the folded states.
[0118] The following describes the hardware structure of an electronic device 100 provided in an embodiment of the present application.
[0119] FIG3A shows a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application.
[0120] The electronic device 100 may 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, 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. The embodiments of the present application do not impose any particular restrictions on the specific type of the electronic device.
[0121] As shown in FIG3A , the electronic device 100 may 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. The sensor module 180 may include a touch sensor 180K. Optionally, the sensor module 180 may 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, and the like.
[0122] In some embodiments, the electronic device 100 may further include any one or more of the following: antenna 1, antenna 2, mobile communication module 150, button 190, motor 191, indicator 192 and camera 193, etc.
[0123] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0124] The processor 110 may include one or more processing units. For example, the processor 110 may 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). The different processing units may be independent devices or integrated into one or more processors.
[0125] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0126] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0127] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may 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.
[0128] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.
[0129] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0130] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via 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, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0132] In some embodiments, the wireless communication function of the electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0133] Antenna 1 and Antenna 2 are used to transmit and receive 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 reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0134] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0135] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0136] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are 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 electromagnetic waves via the antenna 2, demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0137] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may 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. The GNSS may 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 system (SBAS).
[0138] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0139] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD). The display panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. 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 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0141] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.
[0142] The non-volatile memory may also store executable programs and user and application data, etc., and may 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 electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.
[0144] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip case. 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 cover based on the magnetic sensor 180D. Based on the detected opening and closing status of the case or flip cover, features such as automatic unlocking of the flip cover can be configured.
[0145] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[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 locks, fingerprint photography, fingerprint call answering, etc.
[0147] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.
[0148] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0149] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0150] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0151] The following describes a software architecture of an electronic device 100 provided in an embodiment of the present application.
[0152] FIG3B shows a schematic diagram of a software architecture of an electronic device 100 provided in an embodiment of the present application.
[0153] As shown in FIG3B , the electronic device 100 may include an application layer, a framework layer, a folding management module 1104, a system library 1105, and an operating system 1106.
[0154] The application layer may include self-developed applications 1101 and third-party applications 1102. For example, self-developed applications 1101 may include settings applications, call applications, etc. Third-party applications 1102 may include one or more third-party developed applications. It should be noted that application 1 in the embodiment of this application can be a self-developed application or a third-party application.
[0155] The framework layer may include an in-application split-screen service 1103. The in-application split-screen service 1103 may 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, a motion effect management module 15, a life cycle management module, a local module, a heterogeneous module, a floating window module, a productivity desktop module, etc. 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 that support display mode 1 under 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 motion effect management module 15 can display corresponding motion effects based on different display modes. In some embodiments, the specific functional descriptions of multiple modules such as the task stack management module 11, the configuration management module 12, the mode management module 13, the interface display management module 14 and the motion effect management module 15 can also refer to the relevant descriptions in the embodiments shown in Figures 4A-5 below, which will not be described in detail here.
[0156] The folding management module 1104 may be used to manage the device form of the electronic device 100. In some embodiments, the folding management module 1104 may 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 may include multiple functional modules, such as a surface manager, a media library, a 3D graphics processing library (such as OpenGL ES), a 2D graphics engine (such as SGL), etc.
[0158] In some embodiments, the operating system 1106 may be the Android Open Source Project (AOSP). In other embodiments, the operating system 1106 may also be other operating systems.
[0159] It can be understood that the embodiment shown in Figure 3B is only an example. In the embodiment of the present application, the electronic device 100 may also include more, fewer or different layers and modules than the embodiment shown in Figure 3B above, and the present application does not limit this.
[0160] The present application provides a display method, in which the electronic device 100 may include multiple device forms, such as device form 1, device form 2, etc. When the electronic device 100 is turned on or a change in the device form is detected, the electronic device 100 may determine that the current device form is device form 1, and based on device form 1, determine from a configuration file an application list 1 that supports display mode 1 under device form 1. After receiving an operation from the user to open application 1, if the electronic device 100 determines that application list 1 includes an 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 application list 1 does not include an 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 the list of applications that support 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 is needed to adapt to multiple different device forms, saving memory space and operating power consumption.
[0162] The following describes a specific process of a display method provided in an embodiment of the present application.
[0163] FIG4A shows a schematic flow chart of a display method provided in an embodiment of the present application.
[0164] As shown in FIG4A , the electronic device 100 may 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 electronic device 100 executing the display method may 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 has changed, and determines that the current device form is device form 1 .
[0166] For example, taking the electronic device 100 as a tri-fold screen device, the device form of the electronic device 100 may include a fully unfolded state, a fully folded state, a BC folded state, an AB folded state (also known as a semi-folded state), etc. It is understandable that the embodiments herein are only some examples, and in other embodiments, the electronic device 100 may also be other multi-fold screen devices, etc., and the device form of the electronic device 100 may also include more, fewer, or different device forms than those in the above embodiments, and this application does not limit this.
[0167] In some embodiments, the task stack management module 11 may 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 device form 1 .
[0168] In other embodiments, the task stack management module 11 may monitor the device form of the electronic device 100 in real time. After detecting that the device form of the electronic device 100 has changed, the task stack management module 11 may determine that the changed device form is device form 1.
[0169] It should be noted that after executing step S401, the task stack management module 11 may execute the following steps S402 and S404, wherein step S402 and step S404 may be steps executed in parallel, and this application does not limit the execution order of step S402 and step S404.
[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 has changed, the task stack management module 11 may send the device form, ie, 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. The application list 1 includes identifiers of applications that support 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 may execute step S403 .
[0174] In some embodiments, the configuration management module 12 can read the configuration file W2 stored in the electronic device 100. The configuration file W2 may include one or more application identifiers and may also include one or more mode indication fields. Each mode indication field corresponds to an application identifier, and each mode indication field is used to indicate whether an application supports display mode 1 under different device forms.
[0175] In some embodiments, the application identifier may be an identifier such as an application name for identifying the application. In other embodiments, the application identifier may also be other identifiers, which is not limited in this application.
[0176] For example, FIG4B shows a schematic diagram of the content structure of a configuration file W2 provided in an embodiment of the present application.
[0177] As shown in Figure 4B, the configuration file W2 may include one or more application identifiers and one or more mode indication fields, and each application identifier may correspond to a mode indication field. For example, the one or more application identifiers may include application identifier B1, application identifier B2, and application identifier B3, etc. The one or more mode indication fields may include field F1, field F2, and field F3, etc. Among them, application identifier B1 is the identifier of application 1, and field F1 corresponds to application identifier B1, and field F1 is used to indicate that application 1 supports the device form of display mode 1; application identifier B2 is the identifier of application 2, and field F2 corresponds to application identifier B2, and field F2 is used to indicate that application 2 supports the device form of display mode 1; application identifier B3 is the identifier of application 3, and field F3 corresponds to application identifier B3, and field F3 is used to indicate that application 3 supports the device form of display mode 1. For example, field F1 may include support_state="pad|semi-folded". According to field F1, it can be known that the device form supported by application 1 for display mode 1 may include fully expanded state and semi-folded state; field F2 may include support_state="semi-folded". According to field F2, it can be known that the device form supported by application 2 for display mode 1 may include semi-folded state; field F3 may include support_state="pad". According to field F3, it can be known that the device form supported by application 3 for display mode 1 may include fully expanded state.
[0178] It can be understood that the embodiment shown in Figure 4B is only an example. In the embodiment of the present application, the configuration file W2 may also include more, fewer or different application identification and mode indication fields than the above embodiment, and the mode indication field may also use a different method from the above embodiment to represent different device forms. This application does not limit this.
[0179] The configuration management module 12 can determine an application list 1 corresponding to the current device form based on the configuration file W2 and the current device form (i.e., device form 1). For example, taking the configuration file W2 as the configuration file W2 in the embodiment shown in FIG. 4B , and the current device form being in a fully expanded state, in this case, the application list 1 can include the application identifier B1 and the application identifier B3, i.e., the identifier of application 1 and the identifier of application 3.
[0180] It can be understood that the embodiment here is only an illustrative example of how the application list 1 can be determined based on the configuration file W2 and the current device form. In the embodiment of the present application, the current device form may also be a device form different from the above embodiment, and the application list 1 may also include more, less or different content than the above embodiment. The present application does not limit this.
[0181] In other embodiments, after determining application list 1, the configuration management module 12 may further send application list 1 to the settings application to refresh the list of applications in the settings application that support display mode 1. In this way, when the user views the list of applications that support display mode 1 through the settings application, the settings application may display the list of applications that support display mode 1 under the current device form factor.
[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 has changed, the task stack management module 11 may send the device form, ie, device form 1 , to the interface display management module 14 .
[0184] It should be noted that step S402 and step S404 can be executed in parallel, that is, this application does not limit the execution order of step S402 and step S404.
[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 may determine the available split screens 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 screens.
[0187] For example, taking the electronic device 100 as the three-fold screen device shown in Figures 2A to 2F above, if the device form 1 is in a fully unfolded state, the available split screens of the device form 1 may include the A screen 201, the B screen 202 and the C screen 203 shown in Figure 2A; if the device form 1 is in a fully folded state, the available split screens of the device form 1 may include the A screen 201 shown in Figure 2A; if the device form 1 is in a semi-folded state, the available split screens of the device form 1 may include the B screen 202 and the C screen 203 shown in Figure 2A, and so on.
[0188] It can be understood that the embodiment here is only an illustrative example of how the available split screens of device form 1 can be determined based on device form 1. In the embodiment 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 other multi-fold screen devices; in addition, the device form 1 can also include more device forms than the above-mentioned embodiment, and the present application does not limit them here.
[0189] After determining the available split screens of device form 1, the electronic device 100 can determine the display size of display mode 1 based on the size of the currently available split screen. It should be noted that the display size of display mode 1 may 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, etc. Among them, the single-window display situation refers to the situation where the application displays the application interface through a single window after turning on display mode 1. At this time, the display size of the window is less than or equal to the size of the available split screen. The multi-window display situation refers to the situation where the application displays different interfaces of the application through multiple windows after turning on display mode 1. At this time, the multiple windows do not overlap with 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 currently available split screen can be 2:3, and the vertical size of the window can be the same as the vertical size of the currently available split screen; in the case of dual-window display, the horizontal size of each window can be half of the horizontal size of the currently available split screen, and the vertical size of each window can be the same as the vertical size of the currently available split screen.
[0191] It can be understood that the embodiment here is only an illustrative example of how the display size of display mode 1 can be determined based on the size of the currently available split screen. In the embodiment of the present application, the display size of display mode 1 may be different from the size described in the above embodiment, and the present application does not limit it here.
[0192] In other embodiments, after receiving the current device form, the interface display management module 14 can also determine the position and size of the drag bar in display mode 1 in single window and multi-window situations based on the device form 1. This application does not limit this.
[0193] In one possible implementation, the interface display management module 14 may further include a window container 14a, which may be used to manage the window display logic, i.e., to manage the display size of windows in different display modes, etc. The window container 14a may store the 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 may further store a custom device type, which refers to the device type defined by the electronic device 100 based on the current device form. The custom device type may be updated as the device form changes. It should be noted that, unlike the custom device type, in the embodiment of the present application, the device type refers to the device type inherent to the electronic device 100, which is fixed and unchanging. Therefore, the device type may also be referred to as an inherent device type. There may be a mapping relationship between the custom device type and the device form. The electronic device 100 may store a mapping relationship between the device form and the custom device type, and update the device form and 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. The specific determination method can be referred to the relevant description in the above embodiment and will not be repeated here.
[0194] For example, FIG4C shows a schematic diagram of the composition of the content stored in the window container 14a before and after the device shape changes according to an embodiment of the present application.
[0195] As shown in Figure 4C, when the electronic device 100 is in a semi-folded state, the window container 14a can store a custom device type M1 and a device form N1, wherein the custom device type M1 can include "foldabledevice" to indicate that the current custom device type is a foldable device; the device form N1 can include "Fstate" to indicate that the current device type is a semi-folded state.
[0196] When the device form of the electronic device 100 changes from the semi-folded state to the fully unfolded state, the electronic device 100 can update the custom device type stored in the window container 14a to the custom device type M2 based on the fully unfolded state and the inherent device type of the electronic device 100 (for example, a tri-fold screen device), and update the device form stored in the window container 14a to the device form N2. The custom device type M2 may include "paddevice" to indicate that the current custom device type is a tablet device; the device form N2 may include "Gstate" to indicate that the current device type is the fully unfolded state.
[0197] It can be understood that the embodiment shown in Figure 4C is only an example. In the embodiment of the present application, the window container 14a can also store more or different content from the above embodiment. In addition, the electronic device 100 can also use characters different from the above embodiment to represent the device type and device form, which is not limited in the present application.
[0198] S406 . The mode management module 13 receives the user's operation of opening application 1 .
[0199] For example, the user's operation of opening the application 1 may be a click operation of the user on the application icon of the application 1 .
[0200] In response to the user's operation of opening the application 1 , the mode management module 13 may execute the following step S407 .
[0201] S407 . The mode management module 13 sends a request 1 to the configuration management module 12 , where the request 1 includes the identifier of the application 1 .
[0202] In some embodiments, request 1 may be used to request configuration management module 12 to determine whether application 1 supports display mode 1 under the current device form factor.
[0203] S408. The configuration management module 12 determines whether the application list 1 includes the identifier of application 1.
[0204] When the configuration management module 12 determines that the application list 1 includes the identifier of the application 1, the configuration management module 12 may execute the following step S409.
[0205] When the configuration management module 12 determines that the application list 1 does not include the identifier of the application 1, the configuration management module 12 may execute the following step S415.
[0206] S409 . The configuration management module 12 sends indication information 1 to the mode management module 13 . The indication information 1 is used to notify the mode management module 13 that the application 1 supports the display mode 1 under the device form 1 .
[0207] S410. The mode management module 13 sends instruction 1 to the motion effect management module 15. Instruction 1 is used to instruct the motion effect management module 15 to display motion effect 1.
[0208] In response to the instruction information 1, the mode management module 13 may execute step S410 and step S411. It should be noted that step S410 and step S411 may be executed in parallel.
[0209] S411. The mode management module 13 sends instruction 2 to the interface display management module 14. Instruction 2 is used to instruct the interface display management module 14 to use display mode 1 to display the interface of application 1.
[0210] S412. The motion effect management module 15 displays the motion effect 1.
[0211] The animation 1 may be a dynamic effect in which the display content of the electronic device 100 changes from the desktop to the interface described in step S413 .
[0212] S413. The interface display management module 14 displays window 1, in which interface 1 of application 1 is displayed.
[0213] The interface display management module 14 may display the window 1 based on the display size of the display mode 1. The display size of the window 1 may be the display size in a single-window display case.
[0214] S414. The interface display management module 14 receives and responds to the user's operation on interface 1, and displays window 2 and window 3. Window 2 displays interface 1 of application 1, and window 3 displays interface 2 of application 1.
[0215] The interface display management module 14 may display window 2 and window 3 based on the display size of display mode 1. The display size of window 2 and window 3 may be the display size of a single window in a dual-window display situation.
[0216] In some embodiments, after the interface display management module 14 displays window 2 and window 3, the interface display management module 14 may also receive and adjust the display size of window 2 and window 3 in response to the user's operation of adjusting the display size of window 2 and window 3.
[0217] S415 . The configuration management module 12 sends an indication message 2 to the mode management module 13 . The indication message 2 is used to notify the mode management module 13 that the application 1 does not support the display mode 1 under the device form 1 .
[0218] S416. The mode management module 13 sends instruction 3 to the motion effect management module 15. Instruction 3 is used to instruct the motion effect management module 15 to display motion effect 2.
[0219] In response to the instruction information 2, the mode management module 13 may execute step S416 and step S417. It should be noted that step S416 and step S417 may be executed in parallel.
[0220] S417. The mode management module 13 sends instruction 4 to the interface display management module 14. Instruction 4 is used to instruct the interface display management module 14 to use display mode 2 to display the interface of application 1.
[0221] S418. The motion effect management module 15 displays the motion effect 2.
[0222] The animation 2 may be a dynamic effect in which the display content of the electronic device 100 changes from the desktop to the interface described in step S419 .
[0223] S419 . The interface display management module 14 displays the interface of application 1 based on display mode 2 .
[0224] The interface display management module 14 uses display mode 2 to display the interface of application 1, which may be to display an interface of application 1 in all areas of the currently available split screen.
[0225] It is understandable that the embodiment shown in FIG4A is only an example. In the embodiment of the present application, the electronic device 100 may perform more, fewer, or different steps than those in the above-mentioned embodiment during the display method provided in the embodiment of the present application, and the present application does not limit this. For example, in some embodiments, the electronic device 100 may not perform the above-mentioned step S404. In this case, both the indication information 1 and the instruction 2 may carry the current device form (such as device form 1, etc.). After receiving the instruction 2, the interface display management module 14 may perform steps S405 and S413 based on the instruction 2, and the present application does not limit this.
[0226] Using the display method provided in the embodiments of the present application, the electronic device 100 can determine a list of applications that support display mode 2 in the current device form based on the mode indication field in the configuration file, and determine the display mode of application 1 based on the application list. In this way, only one configuration file is needed to adapt to multiple different device forms, saving memory space and operating power consumption.
[0227] In some application scenarios, before the device form is switched, the electronic device 100 may display the interface of application 1 in display mode 1. After detecting the device form switch, the electronic device 100 may also determine the display mode of application 1 based on the configuration file and display the interface of application 1.
[0228] For example, FIG5 shows a flow chart of another display method provided in an embodiment of the present application.
[0229] As shown in FIG5 , the electronic device 100 may 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 electronic device 100 executing the display method may include the following steps:
[0230] S501 . When the electronic device 100 is in device form 1 , the interface display management module 14 displays the interface of application 1 based on display mode 1 .
[0231] In some embodiments, the interface display management module 14 displays the interface of application 1 based on display mode 1, which may refer to a single-window display situation under display mode 1. For example, the interface display management module 14 displays window 1, and the interface 1 of application 1 is displayed in window 1. The display size of window 1 is smaller than the size of the available split screen under device form 1.
[0232] In other embodiments, the interface display management module 14 displays the interface of application 1 based on display mode 1, which may refer to a multi-window display situation under display mode 1. For example, the interface display management module 14 displays window 2 and window 3, window 2 displays interface 1 of application 1, and window 3 displays interface 2 of application 1, and windows 2 and 3 do not overlap with each other.
[0233] S502 . The task stack management module 11 detects that the device form of the electronic device 100 changes from device form 1 to device form 2 .
[0234] For the specific content of step S502, reference may be made to the relevant description of step S401 shown in FIG. 4A .
[0235] It should be noted that after executing step S502, the task stack management module 11 can execute step S503 and step S505, and step S503 and step S505 can be executed in parallel. The embodiment of the present application does not limit the specific execution order of step S503 and step S505.
[0236] S503 . The task stack management module 11 sends the device form 2 to the configuration management module 12 .
[0237] After detecting a change in the device form, the task stack management module 11 may send the current device form, ie, device form 2 , to the configuration management module 12 .
[0238] It should be noted that step S503 and the following step S505 can be steps executed in parallel, and this application does not limit the execution order of step S503 and step S505.
[0239] S504 . The configuration management module 12 obtains an application list 2 corresponding to the device form 2 based on the configuration file. The application list 2 includes identifiers of applications that support 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 by analogy with the relevant content of step S403 shown in Figure 4A above, and this application will not repeat it here.
[0241] S505 . The task stack management module 11 sends the device form 2 to the interface display management module 14 .
[0242] After detecting that the device form has changed, the task stack management module 11 may send the device form, ie, 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 referred to by analogy with the relevant content of step S405 shown in Figure 4A above, and this application will not repeat it 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 , where the request 2 includes the identifier of the application 1 .
[0247] In some embodiments, request 2 may be used to request the configuration management module 12 to determine whether application 1 supports display mode 1 under the current device form factor.
[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 may execute 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 may execute the following step S515.
[0251] S510 . The configuration management module 12 sends an indication message 3 to the mode management module 13 . The indication message 3 is used to notify the mode management module 13 that the application 1 supports the display mode 1 in the device form 2 .
[0252] S511. The mode management module 13 sends instruction 5 to the motion effect management module 15. Instruction 5 is used to instruct the motion effect management module 15 to display motion effect 3.
[0253] In response to the instruction information 3, the mode management module 13 may execute step S511 and step S512. It should be noted that step S511 and step S512 may be executed in parallel.
[0254] S512 . The mode management module 13 sends instruction 6 to the interface display management module 14 . Instruction 6 is used to instruct the interface display management module 14 to use display mode 1 to display the interface of application 1 .
[0255] S513. The motion effect management module 15 displays motion effect 3.
[0256] The animation 3 may be a dynamic effect in which 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 application 1 based on display mode 1 .
[0258] In some embodiments, if the interface display management module 14 uses a single-window display in display mode 1 in step S501, then after the device form switches to device form 2, the interface display management module 14 may continue to use a single-window display to display the interface of application 1. For example, in device form 2, the interface display management module 14 displays window 4, in which interface 1 of application 1 is displayed. The display size of window 4 is smaller than the display size of the available split screen in device form 2, and the display size of window 4 is different from the display size of window 1 in step S501.
[0259] In other embodiments, if the interface display management module 14 uses multi-window display in display mode 1 in step S501, then after the device form switches to device form 2, the interface display management module 14 may continue to use multi-window display to display the interface of application 1. For example, in device form 2, the interface display management module 14 displays window 5 and window 6, with window 5 displaying interface 1 of application 1 and window 6 displaying interface 2 of application 1. Window 5 and window 6 do not overlap.
[0260] S515 . The configuration management module 12 sends an indication message 4 to the mode management module 13 . The indication message 4 is used to notify the mode management module 13 that the application 1 does not support the display mode 1 in the device form 2 .
[0261] S516. The mode management module 13 sends instruction 7 to the motion effect management module 15. Instruction 7 is used to instruct the motion effect management module 15 to display motion effect 4.
[0262] In response to the instruction information 4, the mode management module 13 may execute step S516 and step S517. It should be noted that step S516 and step S517 may be executed in parallel.
[0263] S517. The mode management module 13 sends instruction 8 to the interface display management module 14. Instruction 8 is used to instruct the interface display management module 14 to use display mode 2 to display the interface of application 1.
[0264] S518. The motion effect management module 15 displays the motion effect 4.
[0265] Motion effect 4 may be a dynamic effect in which 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 application 1 based on display mode 2 .
[0267] The specific content of step S519 can refer to the relevant content of step S419 shown in Figure 4A above, and will not be repeated here.
[0268] It can be understood that the embodiment shown in Figure 5 is only an example. In the embodiment of the present application, the electronic device 100 can perform more, fewer or different steps than the above embodiment during the display method provided in the embodiment of the present application, and the present application does not limit this.
[0269] Using the display method provided in an embodiment of the present application, when the electronic device 100 displays the interface of application 1 based on display mode 1, after monitoring a change in the device form, the electronic device 100 can determine whether application 1 supports display mode 1 under the changed device form based on the mode indication field in the configuration file, and display the interface of application 1 based on the judgment result.
[0270] The following is an interface diagram of the display method provided in the embodiment of the present application, which is introduced in conjunction 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 display mode 1. Window 2 displays interface 1 of application 1, and window 3 displays interface 2 of application 1. Window 2 and window 3 do not overlap. After the electronic device 100 changes from device form 1 to device form 2, if the electronic device 100 determines that application 1 supports display mode 1 under device form 2, the electronic device 100 displays window 5 and window 6 based on device form 2 and display mode 1. Window 5 displays interface 1 of application 1, and window 6 displays interface 2 of application 1. Window 5 and window 6 do not overlap.
[0272] In this way, if application 1 supports display mode 1 before and after the device form changes, the electronic device 100 can display the interface of application 1 based on display mode 1 after the device form changes.
[0273] For example, FIG6A to FIG6C show schematic diagrams of interfaces of a group of electronic devices 100 before and after the shape change provided in an embodiment of the present application.
[0274] As shown in Figure 6A, electronic device 100 is in a fully expanded state, displaying interface 600. Interface 600 includes window 601 and window 602, which do not overlap. Window 601 may display interface 1 of application 1, and window 602 may display interface 2 of application 1. In some embodiments, the display size of window 601 is the same as the display size of window 602. In other embodiments, interface 600 may further include a separator bar 603, which may be used to trigger electronic device 100 to adjust the display size of window 601 and window 602. For example, electronic device 100 may receive and respond to a user dragging separator bar 603 to the left by reducing the display size of window 601 while simultaneously increasing the display size of window 602. For another example, electronic device 100 may receive and respond to a user dragging separator bar 603 to the right by reducing the display size of window 602 while simultaneously increasing the display size of window 601, and so on.
[0275] After the electronic device 100 changes from the fully unfolded state to the half-folded state, if the electronic device 100 determines that application 1 supports display mode 1 in the half-folded state, the electronic device 100 may display an interface 610 as shown in FIG. 6B .
[0276] As shown in Figure 6B, the device form of the electronic device 100 is a semi-folded state, and the electronic device 100 displays an interface 610. Interface 610 may include window 611 and window 612, and window 611 and window 612 do not overlap with each other. Among them, window 611 may display interface 1 of application 1, and window 612 may display interface 2 of application 1. In some embodiments, the display size of window 611 is the same as the display size of window 612. The display size of window 611 is different from the display size of window 601 shown in Figure 6A above. It should be noted that in some embodiments, if the electronic device 100 displays a separator bar in the fully expanded state (such as separator bar 603 shown in Figure 6A), after switching from the fully expanded state to the semi-folded state, the electronic device 100 may not display the separator bar, that is, in the semi-folded state, the electronic device 100 may not support adjusting the display size of window 611 and window 612.
[0277] In other embodiments, if the electronic device 100 displays a separator bar in the fully expanded state (such as the separator bar 603 shown in Figure 6A), then after switching from the fully expanded state to the semi-folded state, the electronic device 100 may also display a separator bar, which can be used to adjust the display size of window 611 and window 612.
[0278] After the electronic device 100 changes from the semi-folded state (or fully unfolded state) to the fully folded state, if the electronic device 100 determines that application 1 does not support display mode 1 in the fully folded state, the electronic device 100 may display an interface 620 as shown in FIG. 6C .
[0279] As shown in FIG6C , the electronic device 100 is in a completely folded state, and the electronic device 100 displays an interface 620. The interface 620 may include the interface 1 of the application 1 in the embodiment shown in FIG6B .
[0280] It is understood that the embodiment shown in Figures 6A-6C is merely an example. In some embodiments, device form 1 may be the semi-folded state shown in Figure 6B, and device form 2 may be the fully unfolded state shown in Figure 6A. In this case, the interface of electronic device 100 may also change from interface 610 shown in Figure 6B to interface 600 shown in Figure 6A. In other embodiments, the device form of electronic device 100 may include more, fewer, or different device forms than those in the above embodiments, and this application does not limit this.
[0281] 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 display mode 1. Window 2 displays interface 1 of application 1, and window 3 displays interface 2 of application 1, and windows 2 and 3 do not overlap. After the electronic device 100 changes from device form 1 to device form 2, if the electronic device 100 determines that application 1 does not support display mode 1 in device form 2, the electronic device 100 displays interface 1 of application 1 in the entire area of the currently available split screen based on device form 2 and display mode 2.
[0282] In this way, if application 1 supports display mode 1 before the device form changes, and application 1 does not support display mode 1 after the device form changes, then after the device form changes, the electronic device 100 can display the interface of application 1 based on display mode 2.
[0283] For example, FIG. 7A to FIG. 7C show another set of interface schematic diagrams of an electronic device 100 before and after the shape change provided in an embodiment of the present application.
[0284] As shown in Figure 7A, the device form of the electronic device 100 is a fully expanded state, and the electronic device 100 displays an interface 700, which includes a window 701 and a window 702, and the windows 701 and 702 do not overlap with each other. Among them, 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 may also include a separator 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. The specific adjustment method can refer to the relevant description of the separator bar 603 shown in Figure 6A above, which will not be repeated here.
[0285] 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 does not support the display mode 1 in the half-folded state, the electronic device 100 may display the interface 710 as shown in FIG. 7B .
[0286] As shown in FIG7B , the electronic device 100 is in a semi-folded state, and displays an interface 710. The interface 710 may include the interface 1 of the application 1 in the embodiment shown in FIG7A .
[0287] After the electronic device 100 changes from the semi-folded state (or fully unfolded state) to the fully folded state, if the electronic device 100 determines that application 1 does not support display mode 1 in the fully folded state, the electronic device 100 may display an interface 720 as shown in FIG. 7C .
[0288] As shown in FIG7C , the electronic device 100 is in a completely folded state, and the electronic device 100 displays an interface 720. The interface 720 may include the interface 1 of the application 1 in the embodiment shown in FIG7B .
[0289] It can be understood that the embodiment shown in Figures 7A to 7C is only an example. In some embodiments, the device form 1 can also be the semi-folded state shown in Figure 7B or the fully folded state shown in Figure 7C, and the device form 2 can also be the fully unfolded state shown in Figure 7A. In other embodiments, the device form of the electronic device 100 can also include more, fewer or different device forms than the above embodiments, and this application does not limit this.
[0290] In some application scenarios, the electronic device 100 is in device form 1, and the electronic device 100 displays interface 1 of application 1 based on display mode 1. After the electronic device 100 changes from device form 1 to device form 2, if the electronic device 100 determines that application 1 supports display mode 1 in device form 2, the electronic device 100 displays interface 1 of application 1 based on device form 2 and display mode 1.
[0291] In this way, if application 1 supports display mode 1 before and after the device form changes, the electronic device 100 can display the interface of application 1 based on display mode 1 after the device form changes.
[0292] For example, FIG8A to FIG8D show another set of interface schematic diagrams of an electronic device 100 before and after the device shape changes provided in an embodiment of the present application.
[0293] As shown in FIG8A , the electronic device 100 is in a fully expanded state, and displays an interface 800. The interface 800 includes a window 801. 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 outside the window 801, such as areas 802 and 803. Areas 802 and 803 may be displayed with blurred backgrounds. Window 801 may display interface 1 of application 1, and window 801 is displayed in the center of interface 800. Interface 1 may include a control 804, which may be used to trigger the electronic device 100 to display interface 2 of application 1.
[0294] 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 may display the interface 810 as shown in FIG. 8B .
[0295] As shown in FIG8B , electronic device 100 is in a semi-folded state, and displays interface 810. Interface 810 may include interface 1 of application 1, which may include control 804. In some embodiments, interface 1 may occupy the entire area of interface 810, that is, interface 810 may be interface 1. In other embodiments, interface 810 may include a window, and this window is used to display interface 1. The area outside the window of interface 810 may display a blurred background.
[0296] The electronic device 100 may receive and respond to a user's click operation on the control 804 in the interface 1 shown in FIG. 8B , and display the interface 820 shown in FIG. 8C .
[0297] As shown in Figure 8C, electronic device 100 is in a semi-folded state, and displays interface 820. Interface 820 includes window 821 and window 822, and windows 821 and 822 do not overlap. Window 821 may display interface 1 of application 1, and window 822 may display interface 2 of application 1. In some embodiments, the display size of window 821 is the same as the display size of window 822.
[0298] After the electronic device 100 changes from the semi-folded state (or fully unfolded state) to the fully folded state, if the electronic device 100 determines that application 1 does not support display mode 1 in the fully folded state, the electronic device 100 may display an interface 830 as shown in FIG. 8D .
[0299] As shown in FIG8D , the electronic device 100 is in a completely folded state, and the electronic device 100 displays an interface 830. The interface 830 may include the interface 1 of the application 1 in the embodiment shown in FIG8B .
[0300] It can be understood that the embodiment shown in Figures 8A to 8D is only an example. In some embodiments, the device form 1 can also be the semi-folded state shown in Figure 8B above, and the device form 2 can also be the fully unfolded state shown in Figure 8A above. In other embodiments, the device form of the electronic device 100 can also include more, fewer or different device forms than the above embodiments, and this application does not limit this.
[0301] In some application scenarios, the electronic device 100 is in device form 1, and the electronic device 100 displays interface 1 of application 1 based on display mode 1. After the electronic device 100 changes from device form 1 to device form 2, if the electronic device 100 determines that application 1 does not support display mode 1 in device form 2, the electronic device 100 displays interface 1 of application 1 based on device form 2 and display mode 2.
[0302] In this way, if application 1 supports display mode 1 before the device form changes, and application 1 does not support display mode 1 after the device form changes, then after the device form changes, the electronic device 100 can display the interface of application 1 based on display mode 2.
[0303] For example, FIG9A to FIG9C show another set of interface schematic diagrams of an electronic device 100 before and after the device shape changes provided in an embodiment of the present application.
[0304] As shown in Figure 9A, the device form of electronic device 100 is fully expanded, and electronic device 100 displays interface 900. Interface 900 includes window 901. The display size of window 901 is smaller than the size of the currently available split screen. That is, interface 900 also includes areas outside window 901, such as area 902 and area 903. Area 902 and area 903 can be displayed with a blurred background. Window 901 can display interface 1 of application 1, and window 901 is displayed in the center of interface 900. Interface 1 can include control 904, which can be used to trigger electronic device 100 to display interface 2 of application 1.
[0305] 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 does not support the display mode 1 in the half-folded state, the electronic device 100 may display the interface 910 as shown in FIG. 9B .
[0306] As shown in FIG9B , the electronic device 100 is in a semi-folded state, and displays an interface 910 . The interface 910 may include the interface 1 of the application 1 in the embodiment shown in FIG9A . The interface 1 may include a control 904 .
[0307] The electronic device 100 may receive and respond to a user's click operation on the control 904 in the interface 1 shown in FIG. 9B , and display the interface 920 shown in FIG. 9C .
[0308] As shown in FIG9C , the electronic device 100 is in a semi-folded state, and the electronic device 100 displays an interface 920. The interface 920 may include an interface 2 of an application 1.
[0309] It can be understood that the embodiment shown in Figures 9A to 9C is only an example. In some embodiments, the device form 1 can also be the semi-folded state shown in Figure 9B above, and the device form 2 can also be the fully unfolded state shown in Figure 9A above. In other embodiments, the device form of the electronic device 100 can also include more, fewer or different device forms than the above embodiments, and this application does not limit this.
[0310] In other application scenarios, the electronic device 100 is in device form 1, and it is determined that application 1 does not support display mode 1 in device form 1. The electronic device 100 can display interface 1 of application 1 based on display mode 2. In this case, after the electronic device 100 changes from device form 1 to device form 2, if it is determined that application 1 supports display mode 1 in device form 2, the electronic device 100 can display interface 1 of application 1 based on display mode 1.
[0311] For example, if device form 1 is a fully folded state and device form 2 is a semi-folded state, the interface change of the electronic device 100 before and after the device form change may be from the interface 620 shown in FIG. 6C to the interface 610 shown in FIG. 6B .
[0312] As another example, if device form 1 is a semi-folded state and device form 2 is a fully unfolded state, the interface change of the electronic device 100 before and after the device form change may 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 just some examples. In the embodiments of the present application, device form 1 and device form 2 may also be device forms different from the above embodiments, and the electronic device 100 may also include more, fewer or different device forms than the above embodiments, and the present application does not limit this.
[0314] FIG10 shows a flow chart of a display method provided in an embodiment of the present application.
[0315] As shown in FIG10 , the specific process of an electronic device executing the display method provided in the embodiment of the present application may 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 the tri-fold display screen, and the first interface includes 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 tri-fold display screen, the tri-fold display screen includes two folding edges, the tri-fold display screen is divided into three split screens by the two folding edges, and the three split screens include a first screen, a second screen and a third screen.
[0317] The electronic device may be the electronic device 100 in the above embodiment.
[0318] For a detailed description of the tri-fold display screen, please refer to the relevant contents in the embodiments shown in Figures 2A to 2F above. For example, the first screen may be the A screen 201 shown in Figure 2A above, the second screen may be the B screen 202, and the third screen may be the C screen 203. The two folding edges of the tri-fold screen may be the first rotation axis 204 and the second rotation axis 205. It will be understood that the embodiment here is only an example. In the embodiment of the present application, the correspondence between the first screen, the second screen, the third screen and the A screen 201, the B screen 202 and the C screen 203 in the embodiment shown in Figure 2A above may also be a correspondence different from that in the above embodiment, and the present application does not limit this.
[0319] The first application may be an application installed on the electronic device. The first application may be a self-developed application (such as a gallery application, etc.) or a third-party application (such as a shopping application, etc.).
[0320] Exemplarily, referring to the embodiment shown in FIG. 8A , the first interface may be the interface 1 shown in FIG. 8A , and the first control may be the control 804 shown in FIG. 8A .
[0321] The fully unfolded state may be the device form of the electronic device 100 in the embodiment shown in FIG. 2C .
[0322] S1002. The electronic device receives a first operation on a first control by a user.
[0323] The first operation is used to trigger the electronic device to display the second interface of the first application.
[0324] Illustratively, the first operation performed by the user on the first control may be a click operation performed by 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 in the first display area of the tri-fold display screen, and displays the second interface of the first application in the second display area of the tri-fold display screen, and the first display area and the second display area do not overlap with each other.
[0326] Exemplarily, in response to the first operation, the electronic device displays interface 600 shown in FIG. 6A . In this embodiment, the first display area may be the area on the display screen occupied by window 601, and the second display area may be the area on the display screen occupied by window 602. The first interface may be interface 1, and the second interface may be interface 2.
[0327] S1004. In response to the electronic device changing from a fully unfolded state to a 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 may be the device configuration of the electronic device 100 in the embodiment shown in FIG2F . It should be noted that the orientation of the first screen may refer to the orientation of the first side of screen A 201 ; similarly, the orientation of the second screen may refer to the orientation of the first side of screen B 202 , and the orientation of the third screen may refer to the orientation of the first side of screen C 203 .
[0329] Exemplarily, referring to the embodiment shown in FIG. 6A to FIG. 6B , the first interface may be interface 1 in this embodiment, and the second interface may be interface 2 .
[0330] In this way, if the first application supports in-application split-screen display when the electronic device is in a fully expanded state, and also supports in-application split-screen display when the electronic device is in a semi-folded state, then after the electronic device changes from a fully expanded state to a semi-folded state, the multiple interfaces of the first application can also be displayed using the in-application split-screen display mode.
[0331] In one possible implementation, the method also includes: in response to the electronic device changing from a semi-folded state to a fully folded state, displaying a first interface on the first screen, the fully folded state being a device form in which a three-fold display screen folds three split screens based on two folding edges.
[0332] The fully folded state may be the device form of the electronic device 100 in the embodiment shown in FIG. 2D .
[0333] For example, referring to the embodiment shown in FIG. 6B to FIG. 6C , the first interface may be interface 1 in this embodiment, and the second interface may be interface 2 .
[0334] In this way, if the first application supports split-screen display within the application when the electronic device is in a semi-folded state, but does not support split-screen display within the application when the electronic device is in a fully folded state, then after the electronic device changes from a semi-folded state to a fully folded state, the first application can be displayed in a conventional display mode.
[0335] In one possible implementation, the method further includes: in response to the electronic device changing from a fully folded state to a semi-folded state, displaying the first interface on the second screen and displaying the second interface on the third screen.
[0336] For example, when the electronic device changes from a fully folded state to a semi-folded state, the interface of the electronic device may 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 when the electronic device is in a semi-folded state, but does not support in-application split-screen display when the electronic device is in a fully folded state, then after the electronic device changes from a fully folded state to a semi-folded state, the multiple interfaces of the first application can be displayed in an in-application split-screen display mode.
[0338] In one possible implementation, the method further includes: in response to the electronic device changing from a semi-folded state to a fully unfolded state, displaying a first interface in the first display area and displaying a second interface in the second display area.
[0339] For example, when the electronic device changes from a semi-folded state to a fully unfolded state, the interface of the electronic device may 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 when the electronic device is in both semi-folded and fully expanded states, after the electronic device changes from the semi-folded state to the fully expanded state, the multiple interfaces of the first application can be displayed in the in-application split-screen display mode.
[0341] In one possible implementation, the method further includes: in response to the electronic device changing from a fully folded state to a fully unfolded state, displaying a first interface in the first display area and displaying a second interface in the second display area.
[0342] Illustratively, when the electronic device changes from a fully folded state to a fully unfolded state, the interface of the electronic device may 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 when the electronic device is in a fully expanded state, but does not support in-application split-screen display when the electronic device is in a fully folded state, then after the electronic device changes from a fully folded state to a fully expanded state, the multiple interfaces of the first application can be displayed in an in-application split-screen display mode.
[0344] In one possible implementation, displaying the first interface of the first application on a tri-fold display screen specifically includes: displaying the first interface of the first application in the third display area of the tri-fold display screen, where 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 may be the area occupied by the window 801 on the display screen.
[0346] In this way, in the fully expanded state, the electronic device can display the interface of the first application through a single window using an in-application split-screen display mode.
[0347] In one possible implementation, the electronic device stores a first file, and the first file includes a first indication field; when the electronic device is in a fully expanded state, the method further includes: determining based on the first indication field that the first list includes a first identifier of a first application, the first list being used to indicate applications that support split-screen display within the application when the electronic device is in a fully expanded state; in response to the first operation, displaying the first interface in the first display area of the tri-fold display screen, and displaying the second interface of the first application in the second display area of the tri-fold display screen, specifically including: in response to the first operation, displaying the first interface in the first display area of the tri-fold display screen based on the first identifier in the first list, and displaying the second interface of the first application in the second display area of the tri-fold display screen.
[0348] The first file may be the configuration file in the embodiment shown in FIG4A . For example, the content composition of the configuration file may refer to the description of the configuration file W2 shown in FIG4B . In some embodiments, the first indication field may include an application identifier B1 and a field F1 , wherein the first identifier of the first application may be the application identifier B1 .
[0349] In some embodiments, the first list may be application list 1 in the embodiment shown in FIG. 4A .
[0350] In this way, whether the first application supports in-application split-screen display under different device forms can be determined based on the first indication field. The first identifier can be an identifier of the first application.
[0351] In one possible implementation, before displaying the first interface of the first application on the tri-fold display screen, the method also includes: receiving a second operation of the user to open the first application; displaying the first interface of the first application on the tri-fold display screen, specifically including: in response to the second operation, displaying the first interface of the first application on the tri-fold display screen based on the first identifier in the first list.
[0352] Exemplarily, the second operation may be a click operation of the user on the application icon of the first application.
[0353] In this way, when the electronic device is in a fully expanded state, after receiving the user's operation to open the first application, and determining based on the first list that the first application supports in-application split-screen display (that is, the first list includes the first identifier), the interface of the first application can be displayed in the in-application split-screen display mode.
[0354] In one possible implementation, the first indication field includes a first form identifier, and there is a mapping relationship between the first form identifier and the fully expanded state; 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] Exemplarily, the first form identifier may be "Gstate" or "pad", etc. It is understood that this is only an example, and in other embodiments, the first form identifier may also be an identifier different from the above embodiment, and this application does not limit this.
[0356] In this way, when the first indication field includes the first form identifier, the electronic device can determine that the first application supports in-application split-screen display in the fully expanded state, that is, determine that the first list includes the first identifier of the first application.
[0357] In one possible implementation, in response to the electronic device changing from a fully unfolded state to a semi-folded state, the method also includes: determining based on the first indication field that the second list includes a first identifier of the first application, the second list is used to indicate applications that support split-screen display within the application when the electronic device is in the semi-folded state; displaying the first interface on the second screen and displaying the second interface on the third screen, specifically including: displaying the first interface on the second screen based on the first identifier in the second list and displaying the second interface on the third screen.
[0358] In some embodiments, the second list may be the application list 2 in the embodiment shown in FIG. 5 .
[0359] In this way, when the electronic device detects that the device form changes from a fully expanded state to a semi-folded state, after determining based on the second list that the first application supports in-application split-screen display (that is, the second list includes the first identifier), it can use the in-application split-screen display mode to display the interface of the first application.
[0360] In one possible implementation, the first indication field includes a second form identifier, and there is a mapping relationship between the second form identifier and the semi-folded state; 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 may be "Fstate" or "semi-folded", etc. It is understood that this is only an example, and in other embodiments, the second form identifier may also be an identifier different from the above embodiment, and this application does not limit this.
[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 one possible implementation, the first file also includes a second indication field; when the electronic device is in a fully expanded state, the method also includes: determining that the first list includes a second identifier of the second application based on the second indication field; receiving a third operation of the user to open the second application; in response to the third operation, displaying a third interface of the second application on the tri-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 for the second control; in response to the fourth operation, displaying the third interface in the first display area based on the second identifier in the first list, and displaying the fourth interface of the second application in the second display area.
[0364] Exemplarily, the second indication field may include the application identifier B2 and the field F2. In this case, the second identifier of the second application may be the application identifier B2.
[0365] For example, the third operation may be a user clicking on the application icon of the second application. The second control may be control 904 shown in FIG. 9A . The fourth operation may be a user clicking on control 904. In response to the fourth operation, the electronic device may display interface 700 shown in FIG. 7A . In this case, the third interface may be interface 1 and the fourth interface may be interface 2.
[0366] In this way, when the electronic device is in the fully expanded state, the electronic device can also determine whether the second application supports in-app split-screen display in the fully expanded state based on the second indication field (i.e., determine whether the first list includes the second identifier of the second application). If 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-app split-screen display mode.
[0367] In one possible implementation, the method also includes: in response to the electronic device changing from a fully unfolded state to a semi-folded state, determining based on a second indication field that the second list does not include a second identifier, the second list being used to indicate applications that support in-application split-screen display when the electronic device is in a semi-folded state; and displaying a third interface on the second screen and the third screen based on the second list.
[0368] For example, when the electronic device changes from a fully unfolded state to a semi-folded state, the interface of the electronic device may 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 undergoes a device form change, the electronic device can determine whether the second application supports in-app split-screen display under the changed device form based on the second indication field (i.e., determine 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 a regular display mode.
[0370] In one possible implementation, the method also includes: in response to the electronic device changing from a semi-folded state to a fully unfolded state, determining based on the second indication field that the first list includes a second identifier; displaying a third interface in the first display area based on the second identifier in the first list, and displaying a fourth interface of the second application in the second display area.
[0371] For example, when the electronic device changes from a semi-folded state to a fully unfolded state, the interface of the electronic device may change from interface 710 shown in FIG7B to interface 700 shown in FIG7A .
[0372] In this way, if the second list does not include the second identifier and the first list includes the second identifier, then after the electronic device changes from a semi-folded state to a 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 one possible implementation, when the electronic device is in a semi-folded state, the first screen is turned off, or a portion of the first screen is turned on.
[0374] The various implementation modes of this application can be combined arbitrarily to achieve different technical effects.
[0375] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may 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 or functions described herein are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0376] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0377] In short, the above description is only an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of the present invention should be included in the scope of protection of the present invention.
Claims
1. A display method, characterized in that: Applied to an electronic device, the electronic device including a tri-fold display screen, the tri-fold display screen including two folding edges, the tri-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 comprising: When the electronic device is in a fully unfolded state, a first interface of a first application is displayed on the tri-fold display screen, where the first interface includes a first control; receiving a first operation on the first control by a user; In response to the first operation, displaying the first interface in a first display area of the tri-fold display screen, and displaying a second interface of the first application in a second display area of the tri-fold display screen, wherein the first display area and the second display area do not overlap with each other; In response to the electronic device changing from the fully unfolded state to the semi-folded state, displaying the first interface on the second screen and displaying the second interface on the third screen; The fully unfolded state is the device form in which the first screen, the second screen and the third screen are not folded; the semi-folded state is the 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.
2. The method according to claim 1, characterized in that The method further comprises: In response to the electronic device changing from the semi-folded state to the fully folded state, the first interface is displayed on the first screen, and the fully folded state is the device form in which the three split screens are folded up by the three-fold display screen based on the two folding edges.
3. The method according to claim 2, characterized in that The method further comprises: In response to the electronic device changing from the fully folded state to the semi-folded state, the first interface is displayed on the second screen, and the second interface is displayed on the third screen.
4. The method according to claim 1 or 3, characterized in that The method further comprises: In response to the electronic device changing from the semi-folded state to the fully unfolded state, the first interface is displayed in the first display area, and the second interface is displayed in the second display area.
5. The method according to claim 2, characterized in that The method further comprises: In response to the electronic device changing from the fully folded state to the fully unfolded state, the first interface is displayed in the first display area, and the second interface is displayed in the second display area.
6. The method according to any one of claims 1 to 5, characterized in that Displaying a first interface of a first application on the tri-fold display screen specifically includes: The first interface of the first application is displayed in the third display area of the tri-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.
7. The method according to any one of claims 1 to 6, characterized in that The electronic device stores a first file, the first file including 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 split-screen display when the electronic device is in the fully expanded state; In response to the first operation, displaying the first interface in the first display area of the tri-fold display screen and displaying the second interface of the first application in the second display area of the tri-fold display screen specifically includes: In response to the first operation, the first interface is displayed in the first display area of the tri-fold display screen based on the first identifier in the first list, and the second interface of the first application is displayed in the second display area of the tri-fold display screen.
8. The method according to claim 7, characterized in that Before displaying the first interface of the first application on the tri-fold display screen, the method further includes: receiving a second operation of the user opening the first application; The displaying the first interface of the first application on the tri-fold display screen specifically includes: In response to the second operation, the first interface of the first application is displayed on the tri-fold display screen 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 a mapping relationship exists between the first form identifier and the fully expanded state; The determining, based on the first indication field, that the first list includes the first identifier of the first application specifically includes: It is determined that the first list includes the first identification based on the first morphology identifier in the first indication field.
10. The method according to any one of claims 7 to 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: Determining, based on the first indication field, that a second list includes the first identifier of the first application, the second list being used to indicate applications that support in-application split-screen display when the electronic device is in the half-folded state; Displaying the first interface on the second screen and displaying the second interface on the third screen specifically includes: Based on the first identifier in the second list, the first interface is displayed on the second screen, and the second interface is displayed on the third screen.
11. The method according to claim 10, characterized in that The first indication field includes a second form identifier, and a mapping relationship exists between the second form identifier and 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: It is determined that the second list includes the first identification based on the second morphology identifier in the first indication field.
12. The method according to any one of claims 7 to 11, characterized in that The first file further includes a second indication field; when the electronic device is in a fully unfolded state, the method further includes: determining, based on the second indication field, that the first list includes the second identifier of the second application; receiving a third operation of the user opening a second application; In response to the third operation, displaying a third interface of the second application on the tri-fold display screen based on the second identifier in the first list, where the third interface includes a second control; receiving a fourth operation from the user on the second control; In response to the fourth operation, the third interface is displayed in the first display area based on the second identifier in the first list, and the fourth interface of the second application is displayed in the second display area.
13. The method according to claim 12, characterized in that The method further comprises: In response to the electronic device changing from the fully unfolded state to the half-folded state, determining, based on the second indication field, that a second list does not include the second identifier, the second list being used to indicate applications that support in-application split-screen display when the electronic device is in the half-folded state; The third interface is displayed on the second screen and the third screen based on the second list.
14. The method according to claim 13, characterized in that The method further comprises: 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; The third interface is displayed in the first display area based on the second identifier in the first list, and the fourth interface of the second application is displayed in the second display area.
15. The method according to any one of claims 1 to 14, characterized in that When the electronic device is in the semi-folded state, the first screen is off, or a portion of the first screen is on.
16. An electronic device, characterized in that: The electronic device comprises one or more memories and one or more processors; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the display method described in any one of claims 1 to 15.
17. A computer-readable storage medium, characterized in that The device comprises instructions, which, when executed on a processor of an electronic device, enable the electronic device to execute the display method according to any one of claims 1 to 15.
18. A computer program product, characterized in that When the computer program product is run on an electronic device, the electronic device is enabled to execute the display method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Display method and related device
CN120723191A
Display method of folding screen and related device
CN111263005A
Application display method and electronic equipment
CN116400991A
Display and control method of folding screen electronic equipment and folding screen electronic equipment
CN117251126A
Wallpaper setting method and electronic equipment
CN117724784A