Full-screen display method, apparatus and electronic device

By detecting the aspect ratio of the window and displaying it in full screen according to the current or specified orientation, the inconvenience of full-screen display on split-screen and foldable screen devices is solved, improving the user experience.

CN113535284BActive Publication Date: 2025-12-05HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010293858.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-15
Publication Date
2025-12-05
Estimated Expiration
2040-04-15

AI Technical Summary

Technical Problem

Existing technologies cannot provide a consistent and convenient full-screen display experience on split-screen and foldable screen devices, resulting in cumbersome user operations.

Method used

By detecting whether the aspect ratio of the application interface window is within a preset range, full-screen display is performed according to the current display orientation or the orientation specified by the application, thus avoiding the need for the user to rotate the device.

Benefits of technology

It provides a better full-screen display in various scenarios, enhances the user experience, and achieves full-screen display without requiring users to manually rotate the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113535284B_ABST
    Figure CN113535284B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a full-screen display method, device and electronic equipment, in which a multimedia file is not displayed in full screen on an application interface; an instruction for full-screen display of the multimedia file is detected; it is judged whether a window displaying the application interface is a graph with an aspect ratio in a preset interval; if the window is the graph with the aspect ratio in the preset interval, the multimedia file is displayed in full screen in the window according to a current display direction of the application interface; the current display direction of the application interface includes a display direction of the application interface when the instruction for full-screen display of the multimedia file is detected, so that a better full-screen display mode can be provided for the user in various scenes requiring full-screen display, and the full-screen experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of intelligent terminals, in particular to a full-screen display method and device and electronic equipment. BACKGROUND

[0002] Existing handheld electronic devices, such as mobile phones and tablet computers, all support the feature of rotating the application interface. In a certain application, if the user wants to obtain a better immersive experience through full-screen, the operating system in the electronic device switches the application interface from portrait display to landscape display, and the user rotates the electronic device to achieve the immersive experience of full-screen. However, with the development of split-screen technology and the emergence of folding screens, this way of full-screen display of the application interface cannot fully adapt to various new scenarios that require full-screen display. SUMMARY

[0003] The embodiments of the present application provide a full-screen display method, device and electronic equipment, which can provide a better full-screen display mode for users in various scenarios requiring full-screen display, and improve the full-screen experience of users.

[0004] In a first aspect, the present application provides a full-screen display method, comprising:

[0005] non-full-screen display a multimedia file on the application interface; detecting an instruction for full-screen display of the multimedia file, and determining whether a window displaying the application interface is a graph with an aspect ratio in a preset interval; the preset interval is an interval containing 1; if the window is a graph with an aspect ratio in the preset interval, full-screen display the multimedia file in the window according to a current display direction of the application interface; the current display direction of the application interface includes the display direction of the application interface when the instruction for full-screen display of the multimedia file is detected.

[0006] The above-mentioned application can be an application of an electronic device, and the electronic device can include a mobile terminal (mobile phone), a smart screen, a drone, an intelligent connected vehicle (ICV), a smart car or a vehicle-mounted device, etc. When the window displaying the application interface is a graph with an aspect ratio in a preset interval, the method full-screen displays the application interface according to the current display direction of the application interface, without the need for the user to rotate the electronic device, and can provide a better full-screen display mode for users in various scenarios requiring full-screen display, thereby improving the full-screen display experience of users.

[0007] In the following, several possible implementation modes for determining whether the window displaying the application interface is a graph with an aspect ratio in a preset interval are provided:

[0008] In a possible implementation, the method further includes: obtaining the aspect ratio of the window; and determining whether the aspect ratio is in the preset interval, the preset interval being [0.75, 4 / 3], and the upper and lower boundaries of the preset interval being open intervals or closed intervals. The preset interval is set according to the following principle: the aspect ratio of the window in the preset interval, when the application interface is displayed in the horizontal full screen mode and the vertical full screen mode, the user's viewing experience is less different.

[0009] In another possible implementation, the display screen of the electronic device displaying the application interface is a foldable screen, the full screen in the unfolded state is a graph with an aspect ratio not in the preset interval, and the sub screen in the folded state is a graph with an aspect ratio in the preset interval. The display screen is not split-screen displayed. The method further includes: determining the screen used by the window; if the screen used by the window is a sub screen, determining that the window is a graph with an aspect ratio in the preset interval; and if the screen used by the window is a full screen, determining that the window is a graph with an aspect ratio not in the preset interval.

[0010] In another possible implementation, the display screen of the electronic device displaying the application interface is a foldable screen, the full screen in the unfolded state is a graph with an aspect ratio in the preset interval, and the sub screen in the folded state is a graph with an aspect ratio not in the preset interval. The display screen is not split-screen displayed. The method further includes: determining the screen used by the window; if the screen used by the window is a full screen, determining that the window is a graph with an aspect ratio in the preset interval; and if the screen used by the window is a sub screen, determining that the window is a graph with an aspect ratio not in the preset interval.

[0011] In another possible implementation, the display screen of the electronic device displaying the application interface is a foldable screen, the full screen in the unfolded state is a graph with an aspect ratio not in the preset interval, and the sub screen in the folded state is a graph with an aspect ratio in the preset interval. The display screen is not split-screen displayed. The method further includes: determining the open and close state of the display screen; if the open and close state of the display screen is the folded state, determining that the window is a graph with an aspect ratio in the preset interval; if the open and close state of the display screen is the unfolded state, determining that the window is a graph with an aspect ratio not in the preset interval; if the open and close state of the display screen is the open and close change state, determining the change direction of the open and close change state; if the change direction is from the unfolded state to the folded state, determining that the window is a graph with an aspect ratio in the preset interval; and if the change direction is from the folded state to the unfolded state, determining that the window is a graph with an aspect ratio not in the preset interval.

[0012] In a further possible implementation, the display screen of the electronic device displaying the application interface is a foldable screen, the full screen in the unfolded state is a graphic with an aspect ratio in a preset interval, the sub-screen in the folded state is a graphic with an aspect ratio not in the preset interval, and the display screen is not split-screen displayed; the determining whether the window displaying the application interface is a graphic with an aspect ratio in the preset interval comprises: determining the open-close state of the display screen; if the open-close state of the display screen is the unfolded state, determining that the window is a graphic with an aspect ratio in the preset interval; if the open-close state of the display screen is the folded state, determining that the window is a graphic with an aspect ratio not in the preset interval; if the open-close state of the display screen is an open-close change state, determining the change direction of the open-close change state of the display screen; if the change direction is from the folded state to the unfolded state, determining that the window is a graphic with an aspect ratio in the preset interval; and if the change direction is from the unfolded state to the folded state, determining that the window is a graphic with an aspect ratio not in the preset interval.

[0013] In a possible implementation, after the window full-screen displays the multimedia file, the method further comprises: detecting that the open-close state of the display screen changes, and determining, according to the change direction of the open-close state, whether the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval after the open-close state changes; if the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval, full-screen displaying the multimedia file in the window according to the current display direction of the multimedia file; and the current display direction of the multimedia file comprises: the display direction of the multimedia file when it is detected that the open-close state of the display screen changes. Thus, in the case that the window full-screen displays the multimedia file, if it is determined, according to the change direction of the open-close state, that the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval after the open-close state changes, the electronic device does not need to be rotated by the user, and a better full-screen display mode can be provided for the user in this scenario, thereby improving the user's full-screen display experience.

[0014] In a possible implementation, the full screen of the display screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, the sub-screen in the folded state is a graphic with an aspect ratio in the preset interval, and the display screen is not split-screen displayed; the determining, according to the change direction of the open-close state, whether the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval after the open-close state changes comprises: determining the change direction of the open-close state of the display screen; if the change direction is from the unfolded state to the folded state, determining that the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval; and if the change direction is from the folded state to the unfolded state, determining that the window displaying the multimedia file is a graphic with an aspect ratio not in the preset interval. Thus, an implementation of determining whether the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval after the open-close state changes is provided.

[0015] In a possible implementation, the complete screen in the unfolded state of the display screen is a graph with an aspect ratio in a preset interval, the sub-screen in the folded state is a graph with an aspect ratio not in the preset interval, and the display screen does not split-screen display; the method for determining whether the window displaying the multimedia file after the opening and closing state changes is a graph with an aspect ratio in the preset interval according to the change direction of the opening and closing state comprises: determining the change direction of the opening and closing state of the display screen; if the change direction is from the folded state to the unfolded state, determining that the window displaying the multimedia file is a graph with an aspect ratio in the preset interval; and if the change direction is from the unfolded state to the folded state, determining that the window displaying the multimedia file is a graph with an aspect ratio not in the preset interval. Thus, an implementation of determining whether the window displaying the multimedia file after the opening and closing state changes is a graph with an aspect ratio in the preset interval is provided.

[0016] In a possible implementation, the instruction for full-screen displaying the multimedia file is detected, comprising: receiving a direction setting request sent by an application to which the application interface belongs, the direction setting request being sent by the application when the instruction for full-screen displaying the multimedia file is detected, and the direction setting request carrying a display direction of the application interface specified by the application. Thus, an implementation of detecting the instruction for full-screen displaying the multimedia file is provided.

[0017] In a possible implementation, the multimedia file is full-screen displayed in the window according to the current display direction of the application interface, comprising: modifying the display direction specified by the application in the direction setting request to the current display direction of the application interface; and full-screen displaying the multimedia file in the window according to the modified direction setting request. Thus, an implementation of full-screen displaying the multimedia file in the window according to the current display direction of the application interface is provided.

[0018] In a second aspect, an embodiment of the present application provides an electronic device, comprising:

[0019] a display screen, one or more processors, a memory, and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs comprise instructions which, when executed by the device, cause the device to perform the following steps: non-full-screen displaying a multimedia file on an application interface; detecting an instruction for full-screen displaying the multimedia file, and determining whether a window displaying the application interface is a graph with an aspect ratio in a preset interval; the preset interval is an interval containing 1; if the window is a graph with an aspect ratio in the preset interval, full-screen displaying the multimedia file in the window according to a current display direction of the application interface; the current display direction of the application interface comprises the display direction of the application interface when the instruction for full-screen displaying the multimedia file is detected.

[0020] In a possible implementation, the instructions, when executed by the device, cause the device to perform the step of determining whether the window displaying the application interface is a graphic with an aspect ratio in a preset interval, including: obtaining the aspect ratio of the window; and determining whether the aspect ratio is in the preset interval, the preset interval being [0.75, 4 / 3].

[0021] In a possible implementation, the display screen of the electronic device displaying the application interface is a foldable screen, the full screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, and the sub screen in the folded state is a graphic with an aspect ratio in the preset interval. The display screen is not split-screen displayed. The instructions, when executed by the device, cause the device to perform the step of determining whether the window displaying the application interface is a graphic with an aspect ratio in the preset interval, including: determining the screen used by the window; if the screen used by the window is a full screen, determining that the window is a graphic with an aspect ratio in the preset interval; and if the screen used by the window is a sub screen, determining that the window is a graphic with an aspect ratio not in the preset interval.

[0022] In a possible implementation, the display screen of the electronic device displaying the application interface is a foldable screen, the full screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, and the sub screen in the folded state is a graphic with an aspect ratio in the preset interval. The display screen is not split-screen displayed. The instructions, when executed by the device, cause the device to perform the step of determining whether the window displaying the application interface is a graphic with an aspect ratio in the preset interval, including: determining the screen used by the window; if the screen used by the window is a full screen, determining that the window is a graphic with an aspect ratio in the preset interval; and if the screen used by the window is a sub screen, determining that the window is a graphic with an aspect ratio not in the preset interval.

[0023] In a possible implementation, the display screen of the electronic device displaying the application interface is a foldable screen, the full screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, and the sub screen in the folded state is a graphic with an aspect ratio in the preset interval. The display screen is not split-screen displayed. The instructions, when executed by the device, cause the device to perform the step of determining whether the window displaying the application interface is a graphic with an aspect ratio in the preset interval, including: determining the screen used by the window; if the screen used by the window is a full screen, determining that the window is a graphic with an aspect ratio in the preset interval; and if the screen used by the window is a sub screen, determining that the window is a graphic with an aspect ratio not in the preset interval.

[0024] In a possible implementation, the display screen of the electronic device displaying the application interface is a foldable screen, the full screen in the unfolded state is a graphic with an aspect ratio in a preset interval, the sub-screen in the folded state is a graphic with an aspect ratio not in the preset interval, and the display screen does not split-screen display; when the instructions are executed by the device, the device performs the step of determining whether the window displaying the application interface is a graphic with an aspect ratio in the preset interval, including: determining the open-close state of the display screen; if the open-close state of the display screen is the unfolded state, determining that the window is a graphic with an aspect ratio in the preset interval; if the open-close state of the display screen is the folded state, determining that the window is a graphic with an aspect ratio not in the preset interval; if the open-close state of the display screen is the open-close change state, determining the change direction of the open-close change state of the display screen; if the change direction is from the folded state to the unfolded state, determining that the window is a graphic with an aspect ratio in the preset interval; and if the change direction is from the unfolded state to the folded state, determining that the window is a graphic with an aspect ratio not in the preset interval.

[0025] In a possible implementation, when the instructions are executed by the device, the device performs the following step after full-screen displaying the multimedia file in the window: detecting that the open-close state of the display screen changes, and determining, according to the change direction of the open-close state, whether the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval after the change of the open-close state; if the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval, full-screen displaying the multimedia file in the window according to the current display direction of the multimedia file; the current display direction of the multimedia file includes the display direction of the multimedia file when the open-close state of the display screen changes.

[0026] In a possible implementation, the full screen of the display screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, the sub-screen in the folded state is a graphic with an aspect ratio in the preset interval, and the display screen does not split-screen display; when the instructions are executed by the device, the device performs the step of determining, according to the change direction of the open-close state, whether the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval after the change of the open-close state, including: determining the change direction of the open-close state of the display screen; if the change direction is from the unfolded state to the folded state, determining that the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval; and if the change direction is from the folded state to the unfolded state, determining that the window displaying the multimedia file is a graphic with an aspect ratio not in the preset interval.

[0027] In a possible implementation, the full screen in the unfolded state of the display screen is a graphic with an aspect ratio in a preset interval, the sub-screen in the folded state is a graphic with an aspect ratio not in the preset interval, and the display screen does not split-screen display; when the instructions are executed by the device, the device executes the step of determining whether the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval after the change of the opening and closing state, including: determining the change direction of the opening and closing state of the display screen; if the change direction is from the folded state to the unfolded state, determining that the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval; if the change direction is from the unfolded state to the folded state, determining that the window displaying the multimedia file is a graphic with an aspect ratio not in the preset interval.

[0028] In a possible implementation, when the instructions are executed by the device, the device executes the step of detecting the instruction of full-screen displaying the multimedia file, including: receiving a direction setting request sent by an application to which the application interface belongs, the direction setting request being sent by the application when detecting the instruction of full-screen displaying the multimedia file, and the direction setting request carrying a display direction of the application interface specified by the application.

[0029] In a possible implementation, when the instructions are executed by the device, the device executes the step of full-screen displaying the multimedia file in the window according to the current display direction of the application interface, including: modifying the display direction specified by the application in the direction setting request to the current display direction of the application interface; and full-screen displaying the multimedia file in the window according to the modified direction setting request.

[0030] In a third aspect, an embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores a computer program, when the computer program is executed on a computer, the computer program causes the computer to execute the method in the first aspect.

[0031] In a fourth aspect, the present application provides a computer program, when the computer program is executed on a computer, the computer program is used to execute the method in the first aspect.

[0032] In a possible design, the program in the fourth aspect can be stored in a storage medium packaged with the processor in whole or in part, or can be stored in a storage medium not packaged with the processor in whole or in part. BRIEF DESCRIPTION OF DRAWINGS

[0033] Figure 1A Example diagram of full-screen display of the existing rectangular screen electronic device;

[0034] Figure 1B Example diagram of full-screen display of the square screen electronic device;

[0035] Figure 2AA state example diagram of an electronic device with a folding screen according to an embodiment of the present application;

[0036] Figure 2B An example diagram of a split screen according to an embodiment of the present application;

[0037] Figure 2C An example diagram of the height and width of a window according to an embodiment of the present application;

[0038] Figure 2D An example diagram of possible implementation shapes of irregular figures;

[0039] Figure 3A A flowchart of one embodiment of the full-screen display method according to the present application;

[0040] Figure 3B An example diagram of a user clicking a full-screen button to start the full screen of an application interface according to an embodiment of the present application;

[0041] Figure 3C An example diagram of a user rotating an electronic device to start the full screen of an application interface according to an embodiment of the present application;

[0042] Figure 3D An example diagram of the full-screen display method of a multimedia file according to an embodiment of the present application;

[0043] Figure 3E An example diagram of the full-screen display method of a game interface according to an embodiment of the present application;

[0044] Figure 4A A flowchart of another embodiment of the full-screen display method according to the present application;

[0045] Figure 4B An example diagram of the full-screen display method in a folding screen scenario according to the present application;

[0046] Figure 4C An example diagram of the full-screen display method in a split screen scenario according to the present application;

[0047] Figure 5A A flowchart of another embodiment of the full-screen display method according to the present application;

[0048] Figure 5B A schematic diagram of a display screen structure and shape according to the present application;

[0049] Figure 5C An example diagram of the full-screen display method according to the present application;

[0050] Figure 6 A flowchart of yet another embodiment of the full-screen display method according to the present application;

[0051] Figure 7A A flowchart of yet another embodiment of the full-screen display method according to the present application;

[0052] Figure 7B Another example diagram of the full-screen display method of the present application;

[0053] Figure 8A Flowchart of another embodiment of the full-screen display method of the present application;

[0054] Figure 8B Another example diagram of the full-screen display method of the present application;

[0055] Figure 8C Another example diagram of the full-screen display method of the present application;

[0056] Figure 9 Flowchart of another embodiment of the full-screen display method of the present application;

[0057] Figure 10A Flowchart of another embodiment of the full-screen display method of the present application;

[0058] Figure 10B Another example diagram of the full-screen display method of the present application;

[0059] Figure 11A Flowchart of another embodiment of the full-screen display method of the present application;

[0060] Figure 11B Another example diagram of the full-screen display method of the present application under the Android system;

[0061] Figure 12 Another example diagram of the full-screen display method of the present application under the Android system;

[0062] Figure 13 Another example diagram of the full-screen display method of the present application under the Android system; DETAILED DESCRIPTION

[0063] The terms used in the embodiment part of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0064] In the existing implementation scheme, as shown in Figure 1A If the user wants to obtain a better immersive experience through full-screen, the operating system in the electronic device switches the application interface from portrait display to landscape display, and the user rotates the electronic device to achieve the immersive experience of full-screen. However, with the development of split-screen technology and the emergence of folding screens, this way of full-screen display of the application interface cannot fully adapt to the various emerging scenarios that require full-screen display.

[0065] For example, with the emergence of folding screens, the display screen of the electronic device is no longer a single rectangular screen, but a screen similar to a square, which can also be called a square screen. As shown in Figure 1BAs shown, when the user wants to click the button to enter the immersive experience of full screen of the video or game, the screen is rotated, and the user rotates the electronic device to watch. However, unlike the ordinary rectangular screen electronic device, because of the particularity of the square screen, whether the screen is rotated or not, the original video or game screen visible interval does not obviously increase, and the user will find that rotating the screen and the electronic device is a redundant and "difficult" operation.

[0066] Therefore, an embodiment of the present application provides a full screen display method, device and electronic device, which can provide a better application interface full screen display mode for the user in various scenarios, and provide the user with convenient, friendly and consistent full screen display experience.

[0067] Hereinafter, first, the terms appearing in the embodiments of the present application are exemplarily described.

[0068] For the electronic device with a folding screen, the screen when the display screen is in an unfolded state is referred to as a complete screen in the embodiments of the present application, and each independent screen constituting the complete screen is referred to as a sub-screen of the display screen. The electronic device based on the folding mode of the display screen can include three states of an unfolded state, an incomplete folding state, and a complete folding state. For example, Figure 2A As shown, the display screen of the electronic device includes two sub-screens, sub-screen 1 and sub-screen 2 located on both sides of the dashed line, when the electronic device is in Figure 2A As shown in part 21 of FIG. 21, the two sub-screens constitute a complete screen when the electronic device is in an unfolded state; Figure 2A As shown in part 22 of FIG. 22, the electronic device is in an incomplete folding state, Figure 2A As shown in part 23 of FIG. 23, the electronic device is in a complete folding state. The incomplete folding state and the complete folding state can be collectively referred to as a folding state.

[0069] The application interface in the embodiments of the present application is a medium interface for interaction and information exchange between the application and the user, which realizes the conversion between the internal form of information and the form acceptable by the user. The common form of the application interface is a graphic user interface (graphic user interface, hereinafter referred to as GUI), which refers to a user interface related to computer operation displayed in a graphical manner. The application interface can be composed of visible interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.

[0070] The window displaying the application interface in the embodiments of the present application can be considered as the area of the display screen of the electronic device displaying the application interface.

[0071] For the electronic device with the display screen not being a foldable screen: in the case of no split-screen, the window displaying the application interface can be the entire display area of the display screen; in the case of split-screen, the window displaying the application interface can be a partial display area of the display screen.

[0072] For the electronic device with the display screen being a foldable screen, in the case of no split-screen, the window displaying the application interface can be the entire display area of the complete screen or the entire display area of the sub-screen; in the case of split-screen, the window displaying the application interface can be a partial display area of the complete screen or a partial display area of the sub-screen.

[0073] The split-screen in the embodiments of the present application refers to dividing the display area of the display screen into at least two sub-areas, each of which can display the application interface as a window, and the size of the sub-area can be adjusted, and different sub-areas can display the same or different application interfaces, such as Figure 2B As shown, the display area on the display screen of the electronic device is divided into two sub-areas from the part shown by the dashed line, and each sub-area displays the same application interface as a window. For the electronic device with the display screen being a foldable screen, the display area to be split-screened can be the complete screen or a sub-screen, and details can be referred to the above description and the examples about the split-screen of the complete screen and the split-screen of the sub-screen, which will not be described here. Figure 2B

[0074] The aspect ratio of the window in the embodiments of the present application refers to the height of the window / the width of the window. However, the height and the width of the window are related to the specific setting rules. For example, in a possible implementation, the height and the width of the window can be related to the display direction of the application interface. For example, in the two figures of Figure 2C , the window displaying the application interface is the entire display area of the display screen, but, Figure 2C , the height and the width of the window displaying the application interface in the left figure are just opposite to the height and the width of the window displaying the application interface in the right figure, and the aspect ratios of the two windows are reciprocal, and in the subsequent embodiments of the full-screen display method of the present application, the aspect ratio of the window obtained by using this height and width setting rule is taken as an example for description; in another possible implementation, the height and the width of the window can not be related to the display direction of the application interface, so that the aspect ratio of the same window remains unchanged, for example, Figure 2C , no matter whether the display direction of the application interface is shown in the left figure or the right figure, the aspect ratio of the window is always set to Figure 2C , the height and the width shown in the left figure.

[0075] ​The aspect ratio of the graph in the embodiment of the present application in the preset interval includes a square, and a graph similar to a square in shape. The setting principle of the preset interval is that the window with the aspect ratio in the preset interval has a small difference in the user's viewing experience when the application interface is displayed in a horizontal full screen and a vertical full screen. Optionally, the preset interval can be an interval containing 1, and the upper and lower boundaries of the preset interval are close to 1, for example, the preset interval can be [6 / 8, 8 / 6], that is, [0.75, 4 / 3]. The upper and lower boundaries of the preset interval can also be open intervals. Figure 2D The solid line part in FIG. 24 shows an example of a graph similar to a square in shape. For the graph 24, the aspect ratio of the graph is 7:6, and the four corners are arc-shaped; for the graph 25, the aspect ratio of the graph is 6:6 or 6:5; for the graph 26, the aspect ratio of the graph is 7:6, but one corner is missing; for the graph 27, the aspect ratio of the graph is 7:6, but the shape of one side is missing. Figure 2D The graph examples shown are only examples and do not limit the graph similar to a square in shape in the present application. Those skilled in the art can foresee more graphs similar to a square in shape, for example, the aspect ratio close to 1 can be different in each example, the number of arc-shaped corners of the graph 24 can be different, the number of missing corners or sides of the graph 26 and the graph 27 can be different, the missing shape can be changed, and the like, which will not be described here.

[0076] The full screen display method of the embodiment of the present application is exemplarily described below.

[0077] Figure 3A The flow chart of one embodiment of the full screen display method of the present application is shown in FIG. 24, which can include the following steps. Figure 3A

[0078] Step 301: When the instruction for full screen display of the application interface is detected, it is judged whether the window displaying the application interface is a graph with an aspect ratio in a preset interval; the preset interval is an interval containing 1; if the window is a graph with an aspect ratio in the preset interval, step 302 is executed, and if the window is a graph with an aspect ratio not in the preset interval, step 303 is executed.

[0079] The scenarios in which the instruction for full screen display of the application interface is detected include but are not limited to the following scenarios.

[0080] ​The full-screen instruction for the application interface is acquired, for example, the user issues the full-screen instruction to the application by clicking a full-screen button on the application interface, or performing a preset gesture operation on the application interface, or the application triggers a full-screen instruction carried by itself in the running process; for example, for the playing of multimedia files such as videos and pictures, the user can generally issue the instruction for full-screen playing of the multimedia file by clicking the full-screen button (see Figure 3B or rotating the electronic device (see Figure 3C ). For a mobile game, the start item of the game generally includes a full-screen instruction for the game interface, so that the application, that is, the mobile game, can acquire the full-screen instruction from the start item when starting.

[0081] The application interface has been full-screen displayed, but it is detected that the window for full-screen displaying the application interface changes, and the application interface needs to be continuously full-screen displayed in the changed window. The change of the window can include, but is not limited to, the change of the open / close state of the display screen, the split-screen display of the display screen, and the like, so that the window for displaying the application interface changes in direction, shape, size, and the like.

[0082] Step 302: full-screen display the application interface in the window according to the current display direction of the application interface, and the branch process ends.

[0083] The current display direction of the application interface refers to the display direction of the application interface when the instruction for full-screen displaying the application interface is detected.

[0084] Step 303: full-screen display the application interface in the window according to the display direction specified by the application, and the branch process ends.

[0085] The method shown in FIG. 3 full-screen displays the application interface according to the current display direction of the application interface when the window for displaying the application interface is a figure with a preset interval of the aspect ratio, without the rotation of the electronic device by the user. In the scenario where the window for displaying the application interface is a figure with a preset interval of the aspect ratio, the method provides a better full-screen display mode for the user and improves the full-screen experience of the user.

[0086] Based on the embodiment shown in Figure 3A , the full-screen display method of the multimedia file is explained, referring to Figure 3D the upper left figure and the upper right figure, a multimedia file is not full-screen displayed on the application interface of the electronic device, Figure 3DTaking a multimedia file as an example (video), if a user clicks the full-screen button while watching a multimedia file, the electronic device detects the full-screen instruction for the multimedia file (that is, detects the instruction to display the application interface in full screen) and determines whether the window displaying the application interface is a graphic with an aspect ratio within a preset range.

[0087] If the result indicates that the window is a graphic with an aspect ratio within the preset range, as shown in the lower right image, there is no need to rotate the multimedia file. Figure 3D The orientation of the video file (in the center) will be adjusted according to the current display orientation of the application interface to display the multimedia file in full-screen mode within the window. Figure 3D (The middle part is a video).

[0088] If the result indicates that the window is a graphic whose aspect ratio is not within the preset range, then, as shown in the lower left figure, the multimedia file will be displayed in full screen in the window after rotating the application interface according to the display orientation specified by the application.

[0089] based on Figure 3A The illustrated embodiment describes a method for displaying a game in full screen. See also... Figure 3E As shown in the upper left and upper right images, when a user clicks the icon of a game application to launch the game, the application obtains the full-screen instruction for the game interface from the launch items. Correspondingly, the electronic device detects the full-screen instruction for the application interface (that is, detects the instruction to display the application interface in full screen) and determines whether the window displaying the application interface is a graphic with an aspect ratio within a preset range.

[0090] If the result is that the window is a graphic with an aspect ratio within the preset range, then, as shown in the lower right figure, there is no need to rotate the orientation of the game interface. The game interface will be displayed in full screen in the window according to the current display orientation of the game interface.

[0091] If the result indicates that the window is a graphic whose aspect ratio is not within the preset range, then, as shown in the lower left figure, the game interface will be rotated to the correct orientation according to the display orientation specified by the game program and displayed in full screen.

[0092] Figure 4A This is a flowchart of another embodiment of the full-screen display method of this application. Figure 4A The document provides one possible implementation for determining whether a window displaying the application interface is a graphic with an aspect ratio within a preset range. For example... Figure 4A As shown, the method may include:

[0093] Step 401: When an instruction to display the application interface in full screen is detected, obtain the aspect ratio of the window displaying the application interface.

[0094] In practical applications, the height and width values ​​of the window can be obtained separately, and the aspect ratio of the window can be calculated by the height / width ratio; or, if the aspect ratio parameter of the window is set in advance, the aspect ratio of the window can be obtained by obtaining that parameter.

[0095] Step 402: Determine whether the aspect ratio is within the preset range. If it is within the preset range, proceed to step 403; if it is not within the preset range, proceed to step 404.

[0096] The setting of the preset interval can be referred to the relevant description above, and will not be repeated here.

[0097] Step 403: Display the application interface in full screen in the window according to the current display orientation of the application interface, and this branch of the process ends.

[0098] Step 404: Display the application interface in full screen in the window according to the display orientation specified by the application. This branch of the process ends.

[0099] Figure 4A The method shown determines whether a window is a graphic with an aspect ratio within a preset range based on the window's aspect ratio. This is unrelated to the various states of the display screen in the electronic device. For example, the display screen can be a foldable screen or a non-foldable screen. If the display screen is a foldable screen, it can be in a folded state, an unfolded state, or a state that changes between folded and unfolded states. The display screen can be in a split-screen display state or a non-split-screen display state, and so on.

[0100] Figure 4A The method shown determines whether a window is a graphic with an aspect ratio within a preset range by judging whether the aspect ratio of the window is within a preset range.

[0101] based on Figure 4A In an embodiment, taking a rectangular foldable screen without split-screen as an example, see [link to example]. Figure 4B The diagram illustrates the relationship between the window aspect ratio change and the full-screen display orientation before and after the screen is folded. For example, as shown in the right figure, R0 is the window aspect ratio before the screen is folded, and R1 is the window aspect ratio after the screen is folded. If R1 falls within a preset range, the application interface's display orientation does not need to be rotated according to its current orientation; if R1 falls outside the preset range, the application interface's display orientation generally needs to be rotated according to the application's specified orientation.

[0102] See Figure 4C Taking the display screen in split-screen mode as an example Figure 4A The illustrated embodiments are provided for comparative explanation. Figure 4CIn the left two figures, the display screen can be a folding screen or a non-folding screen. If the display screen is a folding screen, the display screen can be in an unfolded state or a folded state. The key point is that each split-screen window on the display screen is a graphic with an aspect ratio in a preset interval. Figure 4C In the right two figures, the display screen can be a folding screen or a non-folding screen. If the display screen is a folding screen, the display screen can be in an unfolded state or a folded state. The key point is that each split-screen window on the display screen is a graphic with an aspect ratio not in a preset interval.

[0103] In the left upper figure, a multimedia file (a video in the figure) is being played in the left split-screen window. If a user clicks a full-screen button on an application interface to issue a full-screen instruction, it is determined whether the aspect ratio of the split-screen window is in a preset interval. Since the split-screen window is a graphic with an aspect ratio in a preset interval, the determination result is that the aspect ratio is in a preset interval. Therefore, in the left lower figure, the multimedia file is displayed in full screen according to the current display direction of the application interface.

[0104] In the right upper figure, a multimedia file (a video in the figure) is being played in the left split-screen window. If a user clicks a full-screen button on an application interface to issue a full-screen instruction, it is determined whether the aspect ratio of the split-screen window is in a preset interval. Since the split-screen window is a graphic with an aspect ratio not in a preset interval, the determination result is that the aspect ratio is not in a preset interval. Therefore, in the right lower figure, the multimedia file is displayed in full screen after rotating the direction of the multimedia file according to the display direction specified by the application.

[0105] In actual application, if the display screen does not display in split screen, generally, the window displaying the application interface is coincident with the complete display area of the screen to which the window belongs, that is, the window displaying the application interface is the complete display area of the screen to which the window belongs. In the case of known screen shape and size, it is not necessary to obtain the aspect ratio of the window. As long as it is known whether the screen is a graphic with an aspect ratio in a preset interval, the determination of whether the window is a graphic with an aspect ratio in a preset interval can be realized. If the display screen is not a folding screen, the screen herein refers to the display screen. If the display screen is a folding screen, the screen herein can be a complete screen or a sub-screen of the display screen. According to the principle, the present application further provides a flowchart of another embodiment of the full-screen display method of the present application. Figure 5A through Figure 10A The following embodiments are explained one by one.

[0106] Figure 5A The flowchart of another embodiment of the full-screen display method of the present application is shown.

[0107] In this embodiment, the display screen is a folding screen, and the display screen does not display in split screen. In the folded state, the sub-screen is a graphic with an aspect ratio in a preset interval, and in the unfolded state, the complete screen is a graphic with an aspect ratio not in a preset interval. Referring to the flowchart of another embodiment of the full-screen display method of the present application shown in FIG. 6, the following is explained. Figure 5BAs shown, when the display screen includes 2 sub-screens, example diagrams of the display screen in the fully folded state and the unfolded state are given.

[0108] As shown, the method can include: Figure 5A

[0109] Step 501: When an instruction to full-screen display the application interface is detected, determine the screen used by the window displaying the application interface; if the screen used is one sub-screen, execute step 502; if the screen used is a complete screen, execute step 503.

[0110] Step 502: In accordance with the current display direction of the application interface, full-screen display the application interface in the window, and this branch flow ends.

[0111] Step 503: In accordance with the display direction specified by the application, full-screen display the application interface in the window, and this branch flow ends.

[0112] In a possible implementation, if the display screen in the embodiment is split-screen displayed, and the display screen is split-screen displayed according to each sub-screen as one split-screen, the display application interface is one sub-screen, and the sub-screen is a graphic with a preset interval of aspect ratio. At this time, before the step of determining the screen used by the window displaying the application interface when an instruction to full-screen display the application interface is detected, the method can further include: determining whether the display screen is split-screen displayed; if not, executing the step of determining the screen used by the window displaying the application interface; and if yes, executing step 502.

[0113] Referring to Figure 5C , example diagrams of the embodiment are shown; in the diagram in the upper left corner, when the user clicks the full-screen button while watching a video in a sub-screen, in accordance with the method in Figure 5A , it is determined that the screen used is one sub-screen. Correspondingly, referring to the diagram shown in the lower left corner, the video is full-screen displayed in the sub-screen in accordance with the current display direction of the video playing program interface; Figure 5A

[0114] In the diagram in the upper right corner, when the user clicks the full-screen button while watching a video in a complete screen, in accordance with the method in Figure 5A , it is determined that the screen used is a complete screen. Correspondingly, referring to the diagram shown in the lower right corner, the video is full-screen displayed in the complete screen after rotating the direction of the video playing program interface.

[0115] Figure 6 A flowchart of another embodiment of the full-screen display method of the application is shown.

[0116] ​​In this embodiment, the display screen is a folding screen, and the display screen does not display in split screen mode; in the folding state, the sub-screen is a figure with an aspect ratio in a preset interval, and in the unfolded state, the complete screen is a figure with an aspect ratio not in the preset interval. For examples of the display screen, refer to Figure 5B , which are not described herein.

[0117] Since the display screen does not display in split screen mode, in the folding state, one sub-screen of the display screen displays the application interface, in the unfolded state, the complete screen displays the application interface, when changing from the folding state to the unfolded state, the complete screen displays the application interface, and when changing from the unfolded state to the folding state, one sub-screen displays the application interface. The folding state here can be an incomplete folding state or a complete folding state. In actual applications, the application does not limit which sub-screen displays the application interface.

[0118] At this time, as shown in Figure 6 , the method can include:

[0119] Step 601: When an instruction for full-screen display of an application interface is detected, judging the opening and closing state of the display screen; if the opening and closing state of the display screen is a folding state, executing step 603; if the opening and closing state of the display screen is an unfolded state, executing step 604; if the opening and closing state of the display screen is an opening and closing change state, executing step 602.

[0120] Step 602: Judging the change direction of the opening and closing state of the display screen, if the change direction is from the unfolded state to the folding state, executing step 603, and if the change direction is from the folding state to the unfolded state, executing step 604.

[0121] Step 603: According to the current display direction of the application interface, displaying the application interface in full screen in the window, and the branch process ends.

[0122] Step 604: According to the display direction specified by the application, displaying the application interface in full screen in the window, and the branch process ends.

[0123] In a possible implementation, if the display screen in this embodiment displays in split screen mode, and the display screen displays in split screen mode according to each sub-screen as a split screen, one sub-screen displays the application interface, and the sub-screen is a figure with an aspect ratio in a preset interval. At this time, when a full-screen instruction for the application interface is detected, before the step of judging the opening and closing state of the display screen, it can also include: judging whether the display screen displays in split screen mode, if not, executing the step of judging the opening and closing state of the display screen, and if yes, executing step 603.

[0124] Figure 6 For examples of the display screen, refer to Figure 5B and Figure 7Bwhich will not be described herein.

[0125] Figure 7A a flowchart of another embodiment of the full-screen display method of the present application.

[0126] In this embodiment, the display screen is a folding screen, and the display screen does not split-screen display; in the unfolded state, the full screen is a pattern with an aspect ratio not in the preset interval, and in the folded state, the sub-screen is a pattern with an aspect ratio in the preset interval. For examples of the display screen, see Figure 5B which will not be described herein.

[0127] Since the display screen does not split-screen display, when changing from the folded state to the unfolded state, the screen displaying the application interface changes from the sub-screen to the full screen, and when changing from the unfolded state to the folded state, the screen displaying the application interface changes from the full screen to a sub-screen. The folded state herein can be an incomplete folded state or a complete folded state. In actual applications, the specific sub-screen displaying the application interface is not limited by the present application.

[0128] At this time, as shown in Figure 7A the method can include:

[0129] Step 701: When detecting that the opening and closing state of the display screen starts to change, judging the change direction of the opening and closing state of the display screen; if the change direction is from the unfolded state to the folded state, executing step 702, and if the change direction is from the folded state to the unfolded state, executing step 703.

[0130] Step 702: In accordance with the current display direction of the application interface, full-screen displaying the application interface in the window, and this branch process ends.

[0131] Step 703: In accordance with the display direction specified by the application, full-screen displaying the application interface in the window, and this branch process ends.

[0132] In a possible implementation, if the display screen in this embodiment split-screen displays, and the display screen split-screen displays according to each sub-screen as a split screen, then a sub-screen displays the application interface, and the sub-screen is a pattern with an aspect ratio in the preset interval. At this time, when detecting that the opening and closing state of the display screen starts to change, before the step of judging the change direction of the opening and closing state of the display screen, it can further include: judging whether the display screen is split-screen displayed, if not split-screen displayed, executing the step of judging the change direction of the opening and closing state of the display screen, and if split-screen displayed, executing step 702.

[0133] Referring to Figure 7B In the upper left diagram, the user is full-screen watching a video on the full screen, in accordance with Figure 7AIf the display screen is folded at this time, it is determined that the change direction is from the unfolded state to the folded state. Correspondingly, referring to the lower right part of the figure, the video playing program interface is rotated and the video is displayed on the sub-screen in full screen.

[0134] In the upper right part of the figure, the user is watching the video in full screen on the complete screen. According to the current display direction of the video playing program interface, the video is displayed on the sub-screen in full screen. Figure 7A If the display screen is folded at this time, it is determined that the change direction is from the unfolded state to the folded state. Correspondingly, referring to the lower right part of the figure, the video playing program interface is rotated and the video is displayed on the sub-screen in full screen.

[0135] Figure 8A This is a flowchart of another embodiment of the full screen display method.

[0136] In this embodiment, the display screen is a folding screen, and the display screen is not split-screen displayed. In the unfolded state, the complete screen is a graphic with an aspect ratio in a preset interval, and in the folded state, the sub-screen is a graphic with an aspect ratio not in the preset interval. Referring to the figure, examples of the folded state and the unfolded state of the display screen are given. The folded state here can be an incomplete folded state or a complete folded state. Figure 8B

[0137] As shown in the figure, the method can include the following steps. Figure 8A

[0138] Step 801: When an instruction for full screen display of an application interface is detected, a screen used for a window displaying the application interface is determined. If the screen used is a complete screen, step 802 is executed; if the screen used is a sub-screen, step 803 is executed.

[0139] Step 802: According to the current display direction of the application interface, the application interface is displayed in full screen on the window. This branch flow ends.

[0140] Step 803: According to the display direction specified by the application, the application interface is displayed in full screen on the window. This branch flow ends.

[0141] In a possible implementation, if the display screen in this embodiment is split-screen displayed, and the display screen is split-screen displayed according to each sub-screen as a split screen, a sub-screen is used to display the application interface, and the sub-screen is a graphic with an aspect ratio not in a preset interval. At this time, before the step of determining the screen used for the window displaying the application interface, the method can further include the following steps: determining whether the display screen is split-screen displayed. If the display screen is not split-screen displayed, the step of determining the screen used for the window displaying the application interface is executed. If the display screen is split-screen displayed, step 803 is executed. ​​

[0142] Referring to Figure 8C , an example diagram of the embodiment is shown; in the diagram in the upper left corner, a user clicks a full screen button while watching a video in a sub-screen, and according to the method in Figure 8A , it is determined that a screen used is a sub-screen, and accordingly, referring to the diagram shown in the lower left corner, the direction of a video playing program interface is rotated and the video is displayed in full screen in the sub-screen; Figure 8A

[0143] In the diagram in the upper right corner, a user clicks a full screen button while watching a video in a full screen, and according to the method in Figure 8A , it is determined that a screen used is a full screen, and accordingly, referring to the diagram shown in the lower right corner, the video is displayed in full screen in the sub-screen according to the current display direction of the video playing program interface.

[0144] Figure 9 An example flowchart of another embodiment of the full screen display method of the present application is shown.

[0145] In this embodiment, the display screen is a folding screen, and the display screen is not split-screen displayed; in the folding state, the sub-screen is a figure whose aspect ratio is not in a preset interval, and in the unfolded state, the full screen is a figure whose aspect ratio is in the preset interval. The example of the display screen can be seen in Figure 8B , which is not described herein.

[0146] Since the display screen is not split-screen displayed, in the folding state, one sub-screen of the display screen displays an application program interface, in the unfolded state, the full screen displays the application program interface, when the folding state changes to the unfolded state, the full screen displays the application program interface, and when the unfolded state changes to the folding state, one sub-screen displays the application program interface. In actual application, the present application does not limit which sub-screen displays the application program interface.

[0147] At this time, as shown in Figure 9 , the method can include:

[0148] Step 901: when a full screen instruction for an application program interface is detected, the open and close state of the display screen is determined; if the open and close state of the display screen is the unfolded state, step 903 is executed; if the open and close state of the display screen is the folding state, step 904 is executed; if the open and close state of the display screen is the open and close change state, step 902 is executed;

[0149] Step 902: the change direction of the open and close state of the display screen is determined, if the change direction is that the folding state changes to the unfolded state, step 903 is executed, and if the change direction is that the unfolded state changes to the folding state, step 904 is executed.

[0150] ​Step 903: full-screen display the application interface in the window according to the current display direction of the application interface, and the branch flow ends.

[0151] Step 904: full-screen display the application interface in the window according to the display direction specified by the application, and the branch flow ends.

[0152] In a possible implementation, if the display screen in the embodiment is split-screen displayed, and the display screen is split-screen displayed according to each sub-screen as a split screen, the application interface is displayed on a sub-screen, and the sub-screen is a graphic with an aspect ratio not in the preset interval. At this time, before the step of judging the open and close state of the display screen, when the full-screen instruction for the application interface is detected, the method can further include: judging whether the display screen is split-screen displayed. If not, the step of judging the open and close state of the display screen is performed. If yes, step 904 is performed.

[0153] Figure 9 For examples of the display screen, refer to Figure 8C and Figure 10B , which will not be described herein again.

[0154] Figure 10A This is a flowchart of another embodiment of the full-screen display method.

[0155] In the embodiment, the display screen is a foldable screen, and the display screen is not split-screen displayed. In the folded state, the sub-screen is a graphic with an aspect ratio not in the preset interval, and in the unfolded state, the full screen is a graphic with an aspect ratio in the preset interval. The folded state can be an incomplete folded state or a complete folded state. For examples of the display screen, refer to Figure 8B , which will not be described herein again.

[0156] Since the display screen is not split-screen displayed, when the display screen changes from the folded state to the unfolded state, the screen displaying the application interface changes from the sub-screen to the full screen. When the display screen changes from the unfolded state to the folded state, the screen displaying the application interface changes from the full screen to a sub-screen. In actual applications, the application does not limit which sub-screen displays the application interface.

[0157] At this time, as shown in Figure 10A , the method can include:

[0158] Step 1001: when the open and close state of the display screen starts to change, judging the change direction of the open and close state of the display screen. If the change direction is that the folded state changes to the unfolded state, step 1002 is performed. If the change direction is that the unfolded state changes to the folded state, step 1003 is performed.

[0159] Step 1002: according to the current display direction of the application interface, the application interface is full-screen displayed in the window, and the branch flow ends.

[0160] Step 1003: according to the display direction specified by the application, the application interface is full-screen displayed in the window, and the branch flow ends.

[0161] In a possible implementation, if the application is a video playing program, if the change direction is from the unfolded state to the folded state, the full-screen display content of the application can be changed, for example, from the full-screen window to the detail page, which is not limited here.

[0162] In a possible implementation, if the display screen in the embodiment is split-screen displayed, and the display screen is split-screen displayed by taking each sub-screen as a split-screen, the application interface is displayed in a sub-screen, and the sub-screen is a graphic with a non-preset interval aspect ratio. At this time, when it is detected that the opening and closing state of the display screen starts to change, before the step of judging the change direction of the opening and closing state of the display screen, the method can further include: judging whether the display screen is split-screen displayed. If not, the step of judging the change direction of the opening and closing state of the display screen is executed. If split-screen displayed, step 1003 is executed.

[0163] Referring to Figure 10B , in the left upper figure, the user is full-screen watching a video in a sub-screen. According to the method shown in Figure 10A , if the display screen is unfolded at this time, it is judged that the change direction is from the folded state to the unfolded state. Correspondingly, referring to the left lower figure, the video is full-screen displayed in the complete screen according to the current display direction of the video playing program interface.

[0164] In the right upper figure, the user is full-screen watching a video in the complete screen. According to the method shown in Figure 10A , if the display screen is folded at this time, it is judged that the change direction is from the unfolded state to the folded state. Correspondingly, referring to the right lower figure, the video is full-screen displayed in the sub-screen after rotating the direction of the video playing program interface.

[0165] In the above Figure 5A through Figure 10A embodiment, the folded screen includes two sub-screens as an example, and those skilled in the art can extend the embodiments of the present application to the scene where the folded screen includes more than two sub-screens. The principle is that when the window displaying the application interface is the complete display area of the screen where the window is located, the shape of the window can be determined according to the shape of the screen where the window is located. Here, the embodiments are not listed one by one.

[0166] In a possible implementation, the determination of whether the window is a graphic with an aspect ratio in a preset interval and the full-screen display of the application interface can be performed by a system of the electronic device, for example, an Android system. At this time, referring to the implementation shown in FIG. 43, the method can include the following steps. Figure 11A

[0167] Step 1101: When the application detects an instruction to perform full-screen display on the application interface, the application sends a direction setting request to the system.

[0168] The specific implementation of the application detecting the instruction to perform full-screen display on the application interface can refer to the description in step 301, which is not described here.

[0169] In a possible implementation, taking the system as an Android system for example, the application sending the direction setting request to the system can include: the application sending setRequestedOrientation to the system.

[0170] Since the prior art is for a rectangular screen, the direction setting request sent by the application in the prior art includes the display direction of the application interface, and the display direction is: landscape or portrait. Specifically, if the application sends setRequestOrientation to the system, the parameter can be: LANDSCAPE or PORTRAIT; for example, setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) represents portrait, and setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) represents landscape. The application how to determine the display direction in the direction setting request is not limited by the present application.

[0171] Step 1102: The system receives the request, determines whether the window displaying the application interface is a graphic with an aspect ratio in a preset interval, and if the window is a graphic with an aspect ratio in a preset interval, performs step 1103, and if the window is not a graphic with an aspect ratio in a preset interval, performs step 1104.

[0172] How to determine whether the window is a graphic with an aspect ratio in a preset interval in this step can refer to various determination methods described in FIGS. 4-10, which are not described here.

[0173] Step 1103: The system displays the application interface in the window according to the current display direction of the application interface, and this branch process ends.

[0174] ​In this step, the system can modify the parameter configuration of setRequestedOrientation sent by the application to the system as: BEHIND, indicating that the display direction of the application interface follows the current display direction of the application interface, and the direction does not need to be rotated, for example, setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_BEHIND).

[0175] For example, for the following code, “landscape” or “portrait” can be replaced with “behind”.

[0176] <activity

[0177] android:configChanges=”…”

[0178] android:name=”.VideoPlayerActivity”

[0179] android:screenOrientation=”landscape” / >

[0180] Or

[0181] <activity

[0182] android:configChanges=”…”

[0183] android:name=”.VideoDetailActivity”

[0184] android:screenOrientation=”portrait” / >

[0185] For example, for the following code, “LANDSCAPE” or “PORTRAIT” can be replaced with “BEHIND”.

[0186]

[0187] Or

[0188] Public void onClick(view v){

[0189] setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

[0190] }

[0191] Step 1104: The system displays the application interface in the window in full screen according to the display orientation requested in the orientation setting request, and the branch flow ends.

[0192] In this step, referring to the implementation manner in step 503, the system can not modify the parameter of setRequestedOrientation, and thus displays the application interface in the window in full screen according to the parameter LANDSCAPE or PORTRAIT in setRequestedOrientation.

[0193] For example, referring to Figure 11B A graphic decision module can be added on the Android system side. When receiving the orientation setting request of the application about the interface in full screen, the graphic decision module determines whether the window displaying the application interface is a graphic with an aspect ratio in a preset interval according to a preset determination standard, modifies the display orientation in the orientation setting request or keeps the display orientation in the orientation setting request according to the determination result, and then continues the subsequent full screen display processing by the Android system architecture and controls the display driver to display the application interface in full screen.

[0194] Figure 11A The method shown in Figure 3A On the basis of the method shown, a method for the system to determine whether the window is a graphic with an aspect ratio in a preset interval is provided, and only the system side is improved, and the application side does not need to be modified.

[0195] It can be understood that part or all of the steps or operations in the above embodiments are only examples, and the embodiments of the present application can also perform other operations or various modifications of the operations. In addition, each step can be executed in a different order from the order presented in the above embodiments, and it is possible that not all the operations in the above embodiments are executed.

[0196] Figure 12 The structural schematic diagram of an embodiment of the full screen display device of the present application is shown in Figure 12 The full screen display device 120 can include:

[0197] The display unit 121 is configured to display a multimedia file in a non-full screen on an application interface.

[0198] The determination unit 122 is configured to detect an instruction to display the multimedia file in full screen, and determine whether a window displaying the application interface is a graphic with an aspect ratio in a preset interval; the preset interval is an interval containing 1.

[0199] The display unit 121 can also be configured to: if the window is a graphic with an aspect ratio in the preset interval, display the multimedia file in the window in full screen according to a current display direction of the application interface; and the current display direction of the application interface includes a display direction of the application interface when an instruction to display the multimedia file in full screen is detected.

[0200] The judgment unit 122 can be specifically configured to: obtain an aspect ratio of the window; and determine whether the aspect ratio is in a preset interval, the preset interval being [0.75, 4 / 3].

[0201] In the case that the display screen of the electronic device displaying the application interface is a folding screen, the full screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, and the sub screen in the folded state is a graphic with an aspect ratio in the preset interval, and the display screen is not split-screen displayed, the judgment unit 122 can be specifically configured to: determine a screen used by the window; if the screen used by the window is a full screen, determine that the window is a graphic with an aspect ratio in the preset interval; and if the screen used by the window is a sub screen, determine that the window is a graphic with an aspect ratio not in the preset interval.

[0202] In the case that the display screen of the electronic device displaying the application interface is a folding screen, the full screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, and the sub screen in the folded state is a graphic with an aspect ratio in the preset interval, and the display screen is not split-screen displayed, the judgment unit 122 can be specifically configured to: determine a screen used by the window; if the screen used by the window is a full screen, determine that the window is a graphic with an aspect ratio in the preset interval; and if the screen used by the window is a sub screen, determine that the window is a graphic with an aspect ratio not in the preset interval.

[0203] In the case that the display screen of the electronic device displaying the application interface is a folding screen, the full screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, and the sub screen in the folded state is a graphic with an aspect ratio in the preset interval, and the display screen is not split-screen displayed, the judgment unit 122 can be specifically configured to: determine a screen used by the window; if the screen used by the window is a full screen, determine that the window is a graphic with an aspect ratio in the preset interval; and if the screen used by the window is a sub screen, determine that the window is a graphic with an aspect ratio not in the preset interval.

[0204] The display screen of the electronic device displaying the application interface is a folding screen, the full screen in the unfolded state is a figure with an aspect ratio in a preset interval, the sub-screen in the folded state is a figure with an aspect ratio not in the preset interval, and the display screen is not split-screen displayed; the judging unit 122 can be specifically used for: judging the opening and closing state of the display screen; if the opening and closing state of the display screen is the unfolded state, judging that the window is a figure with an aspect ratio in the preset interval; if the opening and closing state of the display screen is the folded state, judging that the window is a figure with an aspect ratio not in the preset interval; if the opening and closing state of the display screen is the opening and closing change state, judging the change direction of the opening and closing change state; if the change direction is from the folded state to the unfolded state, judging that the window is a figure with an aspect ratio in the preset interval; if the change direction is from the unfolded state to the folded state, judging that the window is a figure with an aspect ratio not in the preset interval.

[0205] The judging unit 122 can also be used for: detecting that the opening and closing state of the display screen changes, judging whether the window displaying the multimedia file is a figure with an aspect ratio in the preset interval according to the change direction of the opening and closing state after the opening and closing state changes; if the window displaying the multimedia file is a figure with an aspect ratio in the preset interval, full-screen displaying the multimedia file in the window displaying the multimedia file according to the current display direction of the multimedia file; the current display direction of the multimedia file includes: the display direction of the multimedia file when it is detected that the opening and closing state of the display screen changes.

[0206] The full screen of the display screen in the unfolded state is a figure with an aspect ratio not in the preset interval, the sub-screen in the folded state is a figure with an aspect ratio in the preset interval, and the display screen is not split-screen displayed; the judging unit 122 can be specifically used for: judging the change direction of the opening and closing state of the display screen; if the change direction is from the unfolded state to the folded state, judging that the window displaying the multimedia file is a figure with an aspect ratio in the preset interval; if the change direction is from the folded state to the unfolded state, judging that the window displaying the multimedia file is a figure with an aspect ratio not in the preset interval.

[0207] The full screen of the display screen in the unfolded state is a figure with an aspect ratio in the preset interval, the sub-screen in the folded state is a figure with an aspect ratio not in the preset interval, and the display screen is not split-screen displayed; the judging unit 122 can be specifically used for: judging the change direction of the opening and closing state of the display screen; if the change direction is from the folded state to the unfolded state, judging that the window displaying the multimedia file is a figure with an aspect ratio in the preset interval; if the change direction is from the unfolded state to the folded state, judging that the window displaying the multimedia file is a figure with an aspect ratio not in the preset interval.

[0208] The determining unit 122 can be specifically configured to receive a direction setting request sent by an application to which the application interface belongs, the direction setting request being sent by the application when detecting an instruction of full-screen displaying the multimedia file, and the direction setting request carrying a display direction of the application interface specified by the application.

[0209] The display unit 121 can be specifically configured to modify the display direction specified by the application in the direction setting request to a current display direction of the application interface, and display the multimedia file in the window in full screen according to the modified direction setting request.

[0210] Figure 12 The full-screen displaying apparatus provided by the embodiments shown can be used to execute the full-screen displaying method provided by the embodiments shown Figure 3A through Figure 11A The technical solutions of the method embodiments shown can further refer to the related descriptions in the method embodiments for the implementation principles and technical effects.

[0211] It should be understood that the above Figure 12 The division of each unit of the full-screen displaying apparatus shown is only a logical functional division, and all or part of the units can be integrated into one physical entity, or can be physically separated. The units can all be implemented in the form of software through a processing element, or can all be implemented in the form of hardware, or part of the units can be implemented in the form of software through a processing element, and part of the units can be implemented in the form of hardware. For example, the display unit can be a separately established processing element, or can be integrated in a chip of the electronic device. The implementation of other units is similar. In addition, all or part of the units can be integrated together, or can be independently implemented. In the implementation process, each step of the above method or each unit can be completed by the integrated logic circuit of hardware in the processor element or the instruction in the form of software.

[0212] For example, the units can be one or more integrated circuits configured to implement the above method, such as one or more Application Specific Integrated Circuits (ASICs), or one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, the units can be integrated together in the form of a System-On-a-Chip (SOC).

[0213] Figure 13 The structural schematic diagram of an embodiment of the electronic device of the present application is shown in FIG. 1. Figure 13As shown, the above-mentioned electronic device may include: a display screen; one or more processors; a memory; and one or more computer programs.

[0214] The aforementioned display screen may include the display screen of an in-vehicle computer (Mobile Data Center); the aforementioned electronic device may be a mobile terminal (phone), a smart screen, a drone, an intelligent connected vehicle (ICV), a smart car, or an in-vehicle device, etc.

[0215] One or more of the aforementioned computer programs are stored in the aforementioned memory, and the one or more computer programs include instructions that, when executed by the aforementioned device, cause the aforementioned device to perform... Figure 3A through Figure 11A The method shown.

[0216] Figure 13 The electronic device shown can be a terminal device or a circuit device built into the aforementioned terminal device. This device can be used to execute this application. Figure 3A through Figure 11A The functions / steps in the method provided in the illustrated embodiment.

[0217] Electronic device 1300 may include a processor 1310, an external memory interface 1320, an internal memory 1321, a universal serial bus (USB) interface 1330, a charging management module 1340, a power management module 1341, a battery 1342, antenna 1, antenna 2, a mobile communication module 1350, a wireless communication module 1360, an audio module 1370, a speaker 1370A, a receiver 1370B, a microphone 1370C, a headphone jack 1370D, a sensor module 1380, buttons 1390, a motor 1391, an indicator 1392, a camera 1393, a display screen 1394, and a subscriber identification module (SIM) card interface 1395, etc. The sensor module 1380 may include a pressure sensor 1380A, a gyroscope sensor 1380B, a barometric pressure sensor 1380C, a magnetic sensor 1380D, an accelerometer sensor 1380E, a distance sensor 1380F, a proximity sensor 1380G, a fingerprint sensor 1380H, a temperature sensor 1380J, a touch sensor 1380K, an ambient light sensor 1380L, a bone conduction sensor 1380M, etc.

[0218] It can be understood that the structural schematic of the embodiments of the present application does not constitute a specific limitation on the electronic device 1300. In some other embodiments of the present application, the electronic device 1300 can include more or fewer components than those shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0219] The processor 1310 can include one or more processing units, for example: the processor 1310 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors.

[0220] The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions.

[0221] The memory can also be provided in the processor 1310, used to store instructions and data. In some embodiments, the memory in the processor 1310 is a cache memory. The memory can save instructions or data that the processor 1310 has just used or repeatedly uses. If the processor 1310 needs to use the instructions or data again, it can be directly called from the memory. Avoiding repeated access, reducing the waiting time of the processor 1310, thus improving the efficiency of the system.

[0222] In some embodiments, the processor 1310 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0223] The I2C interface is a bidirectional synchronous serial bus including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 1310 can include multiple groups of I2C buses. The processor 1310 can be coupled to the touch sensor 1380K, the charger, the flash, the camera 1393, etc. through different I2C bus interfaces respectively. For example, the processor 1310 can be coupled to the touch sensor 1380K through an I2C interface, so that the processor 1310 and the touch sensor 1380K communicate through the I2C bus interface to realize the touch function of the electronic device 1300.

[0224] The I2S interface can be used for audio communication. In some embodiments, the processor 1310 can include multiple groups of I2S buses. The processor 1310 can be coupled to the audio module 1370 through the I2S bus to realize communication between the processor 1310 and the audio module 1370. In some embodiments, the audio module 1370 can deliver audio signals to the wireless communication module 1360 through the I2S interface to realize the function of answering a phone through a Bluetooth headset.

[0225] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 1370 can be coupled with the wireless communication module 1360 through a PCM bus interface. In some embodiments, the audio module 1370 can also transmit audio signals to the wireless communication module 1360 through the PCM interface, enabling the function of answering a phone call through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0226] The UART interface is a universal serial bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is usually used to connect the processor 1310 and the wireless communication module 1360. For example, the processor 1310 communicates with the Bluetooth module in the wireless communication module 1360 through the UART interface, enabling Bluetooth functionality. In some embodiments, the audio module 1370 can transmit audio signals to the wireless communication module 1360 through the UART interface, enabling the function of playing music through a Bluetooth headset.

[0227] The MIPI interface can be used to connect the processor 1310 and peripheral devices such as the display screen 1394 and the camera 1393. The MIPI interface includes the camera serial interface (CSI), the display screen serial interface (DSI), etc. In some embodiments, the processor 1310 and the camera 1393 communicate through the CSI interface, enabling the camera function of the electronic device 1300. The processor 1310 and the display screen 1394 communicate through the DSI interface, enabling the display function of the electronic device 1300.

[0228] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 1310 and the camera 1393, the display screen 1394, the wireless communication module 1360, the audio module 1370, the sensor module 1380, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0229] The USB interface 1330 is an interface conforming to the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 1330 can be used to connect a charger to charge the electronic device 1300, and can also be used to transmit data between the electronic device 1300 and a peripheral device. It can also be used to connect a headset to play audio through the headset. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0230] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation on the electronic device 1300. In some other embodiments of the present application, the electronic device 1300 can also use different interface connection methods or a combination of multiple interface connection methods in the above embodiments.

[0231] The charging management module 1340 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 1340 can receive charging input from a wired charger through the USB interface 1330. In some wireless charging embodiments, the charging management module 1340 can receive wireless charging input through the wireless charging coil of the electronic device 1300. The charging management module 1340 can charge the battery 1342 while also supplying power to the electronic device through the power management module 1341.

[0232] The power management module 1341 is used to connect the battery 1342, the charging management module 1340, and the processor 1310. The power management module 1341 receives input from the battery 1342 and / or the charging management module 1340 to supply power to the processor 1310, the internal memory 1321, the display 1394, the camera 1393, and the wireless communication module 1360, etc. The power management module 1341 can also be used to monitor battery capacity, battery cycle count, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 1341 can also be arranged in the processor 1310. In some other embodiments, the power management module 1341 and the charging management module 1340 can also be arranged in the same device.

[0233] The wireless communication function of the electronic device 1300 can be realized through the antenna 1, the antenna 2, the mobile communication module 1350, the wireless communication module 1360, the modem processor, and the baseband processor, etc.

[0234] Antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in electronic device 1300 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of antennas. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, antennas can be used in combination with a tuning switch.

[0235] Mobile communication module 1350 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied on electronic device 1300. Mobile communication module 1350 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. Mobile communication module 1350 can receive electromagnetic waves by antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transmit the processed electromagnetic waves to a modem processor for demodulation. Mobile communication module 1350 can also amplify signals modulated by the modem processor, and convert the amplified signals into electromagnetic waves radiated by antenna 1. In some embodiments, at least part of the functional modules of mobile communication module 1350 can be arranged in processor 1310. In some embodiments, at least part of the functional modules of mobile communication module 1350 and at least part of the modules of processor 1310 can be arranged in the same device.

[0236] The modem processor can include a modulator and a demodulator. The modulator is used to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to a baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to an application processor. The application processor outputs a sound signal through an audio device (not limited to speaker 1370A, microphone 1370B, etc.), or displays an image or video through display screen 1394. In some embodiments, the modem processor can be an independent device. In some other embodiments, the modem processor can be independent of processor 1310, and arranged in the same device as mobile communication module 1350 or other functional modules.

[0237] The wireless communication module 1360 can provide a solution for wireless communication, including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc., applied to the electronic device 1300. The wireless communication module 1360 can be one or more devices that integrate at least one communication processing module. The wireless communication module 1360 receives electromagnetic waves via the antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 1310. The wireless communication module 1360 can also receive signals to be transmitted from the processor 1310, frequency-modulate them, amplify them, and radiate them as electromagnetic waves via the antenna 2.

[0238] In some embodiments, antenna 1 and mobile communication module 1350 of electronic device 1300 are coupled, and antenna 2 and wireless communication module 1360 are coupled, so that electronic device 1300 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).

[0239] Electronic device 1300 implements a display function through a GPU, display screen 1394, and an application processor, etc. The GPU is a microprocessor for image processing, connected to display screen 1394 and the application processor. The GPU is used to perform mathematical and geometric calculations, for graphics rendering. Processor 1310 can include one or more GPUs that execute program instructions to generate or change display information.

[0240] The display screen 1394 is configured to display images, videos, and the like. The display screen 1394 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the electronic device 1300 can include one or N display screens 1394, where N is a positive integer greater than 1.

[0241] The electronic device 1300 can implement a photographing function through an ISP, the camera 1393, a video codec, a GPU, the display screen 1394, and an application processor.

[0242] The ISP is configured to process data fed back by the camera 1393. For example, when taking a photo, a shutter is opened, light is transmitted to a camera photosensitive element through a lens, and the light signal is converted into an electrical signal. The camera photosensitive element transmits the electrical signal to the ISP for processing, and converts the electrical signal into an image visible to the naked eye. The ISP can also perform algorithm optimization on noise, brightness, and skin color of the image. The ISP can also optimize exposure, color temperature, and other parameters of a shooting scene. In some embodiments, the ISP can be disposed in the camera 1393.

[0243] The camera 1393 is configured to capture still images or videos. An object generates an optical image through a lens and projects the optical image onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert the electrical signal into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the electronic device 1300 can include one or N cameras 1393, where N is a positive integer greater than 1.

[0244] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 1300 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0245] The video codec is used to compress or decompress digital video. The electronic device 1300 can support one or more video codecs. In this way, the electronic device 1300 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0246] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by drawing on the structure of a biological neural network, such as drawing on the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, the electronic device 1300 can realize intelligent cognition applications such as image recognition, face recognition, voice recognition, text understanding, etc.

[0247] The external memory interface 1320 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the electronic device 1300. The external storage card communicates with the processor 1310 through the external memory interface 1320 to realize data storage functions. For example, files such as music and videos are saved in the external storage card.

[0248] The internal memory 1321 can be used to store computer executable program codes, which include instructions. The internal memory 1321 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc. The data storage area can store data created during the use of the electronic device 1300 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 1321 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 1310 executes various function applications and data processing of the electronic device 1300 by running instructions stored in the internal memory 1321 and / or instructions stored in a memory disposed in the processor.

[0249] The electronic device 1300 can implement an audio function through an audio module 1370, a speaker 1370A, a receiver 1370B, a microphone 1370C, an earphone interface 1370D, and an application processor, etc. For example, music playing, recording, etc.

[0250] The audio module 1370 is configured to convert digital audio information into an analog audio signal output, and is also configured to convert an analog audio input into a digital audio signal. The audio module 1370 can also be configured to encode and decode an audio signal. In some embodiments, the audio module 1370 can be disposed in the processor 1310, or some functional modules of the audio module 1370 can be disposed in the processor 1310.

[0251] The speaker 1370A, also known as a “loudspeaker”, is configured to convert an audio electrical signal into a sound signal. The electronic device 1300 can listen to music or listen to a hands-free call through the speaker 1370A.

[0252] The receiver 1370B, also known as a “earpiece”, is configured to convert an audio electrical signal into a sound signal. When the electronic device 1300 answers a call or a voice message, the receiver 1370B can be held close to a human ear to listen to the voice.

[0253] The microphone 1370C, also known as a “microphone”, “sound transducer”, is configured to convert a sound signal into an electrical signal. When making a call or sending a voice message, a user can speak into the microphone 1370C close to the human mouth to input a sound signal into the microphone 1370C. The electronic device 1300 can be provided with at least one microphone 1370C. In other embodiments, the electronic device 1300 can be provided with two microphones 1370C, in addition to collecting a sound signal, a noise reduction function can also be implemented. In other embodiments, the electronic device 1300 can also be provided with three, four or more microphones 1370C, in addition to collecting a sound signal, noise reduction, and can also identify the source of the sound, implement directional recording function, etc.

[0254] The earphone interface 1370D is configured to connect a wired earphone. The earphone interface 1370D can be a USB interface 1330, or a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0255] The pressure sensor 1380A is configured to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 1380A can be disposed on the display 1394. The pressure sensor 1380A can be of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, etc. The capacitive pressure sensor can include at least two parallel plates of conductive material. When a force is applied to the pressure sensor 1380A, the capacitance between the electrodes changes. The electronic device 1300 determines the intensity of the force according to the change in capacitance. When a touch operation is applied to the display 1394, the electronic device 1300 detects the intensity of the touch operation according to the pressure sensor 1380A. The electronic device 1300 can also calculate the position of the touch according to the detection signal of the pressure sensor 1380A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view short messages is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.

[0256] The gyroscope sensor 1380B can be configured to determine the motion attitude of the electronic device 1300. 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 1380B. The gyroscope sensor 1380B can be used for anti-shake photography. For example, when the shutter is pressed, the gyroscope sensor 1380B detects the angle of shaking of the electronic device 1300, calculates the distance that the lens module needs to compensate according to the angle, and lets the lens offset the shaking of the electronic device 1300 by reverse movement to achieve anti-shake. The gyroscope sensor 1380B can also be used for navigation and motion sensing game scenarios.

[0257] The barometric pressure sensor 1380C is configured to measure air pressure. In some embodiments, the electronic device 1300 calculates the altitude, assists positioning and navigation by using the air pressure value measured by the barometric pressure sensor 1380C.

[0258] The magnetic sensor 1380D includes a Hall sensor. The electronic device 1300 can detect the opening and closing of a flip cover by using the magnetic sensor 1380D. In some embodiments, when the electronic device 1300 is a flip phone, the electronic device 1300 can detect the opening and closing of the flip cover according to the magnetic sensor 1380D. Further, according to the detected opening and closing state of the cover or the opening and closing state of the flip cover, the electronic device 1300 can set a feature such as automatic unlocking of the flip cover.

[0259] The acceleration sensor 1380E can detect the magnitude of the acceleration of the electronic device 1300 in various directions (typically, three axes). The magnitude and direction of gravity can be detected when the electronic device 1300 is stationary. It can also be used to identify the electronic device's posture and applied to a screen rotation function, a pedometer, and the like.

[0260] The distance sensor 1380F can measure a distance. The electronic device 1300 can measure a distance by infrared or laser. In some embodiments, the electronic device 1300 can measure a distance using the distance sensor 1380F to implement a fast focus function when a scene is photographed.

[0261] The proximity light sensor 1380G can include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode can be an infrared light emitting diode. The electronic device 1300 emits infrared light outwardly through the light emitting diode. The electronic device 1300 detects infrared reflected light from a nearby object using the photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 1300. When insufficient reflected light is detected, the electronic device 1300 can determine that there is no object near the electronic device 1300. The electronic device 1300 can detect that a user is holding the electronic device 1300 close to the ear for a call using the proximity light sensor 1380G to automatically turn off the screen for power saving. The proximity light sensor 1380G can also be used for automatic unlocking and locking in a case mode or a pocket mode.

[0262] The ambient light sensor 1380L senses the brightness of ambient light. The electronic device 1300 can adaptively adjust the brightness of the display 1394 according to the sensed brightness of ambient light. The ambient light sensor 1380L can also be used to automatically adjust the white balance when a photograph is taken. The ambient light sensor 1380L can also cooperate with the proximity light sensor 1380G to detect whether the electronic device 1300 is in a pocket to prevent a false touch.

[0263] The fingerprint sensor 1380H is used to collect a fingerprint. The electronic device 1300 can use the collected fingerprint characteristics to implement a fingerprint unlock function, an application lock access function, a fingerprint photographing function, a fingerprint call answering function, and the like.

[0264] The temperature sensor 1380J is configured to detect temperature. In some embodiments, the electronic device 1300 performs temperature handling strategies based on the temperature detected by the temperature sensor 1380J. For example, when the temperature reported by the temperature sensor 1380J exceeds a threshold, the electronic device 1300 reduces the performance of a processor located near the temperature sensor 1380J to reduce power consumption and implement thermal protection. In some other embodiments, when the temperature is lower than another threshold, the electronic device 1300 heats the battery 1342 to avoid abnormal shutdown of the electronic device 1300 caused by low temperature. In some other embodiments, when the temperature is lower than yet another threshold, the electronic device 1300 boosts the output voltage of the battery 1342 to avoid abnormal shutdown caused by low temperature.

[0265] The touch sensor 1380K, also referred to as a "touch device". The touch sensor 1380K can be disposed on the display screen 1394, and the touch sensor 1380K and the display screen 1394 form a touch screen, also referred to as a "touch screen". The touch sensor 1380K is configured to detect a touch operation acting on or near the touch sensor 1380K. The touch sensor 1380K can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 1394. In some other embodiments, the touch sensor 1380K can also be disposed on the surface of the electronic device 1300, which is different from the position where the display screen 1394 is located.

[0266] The bone conduction sensor 1380M can obtain a vibration signal. In some embodiments, the bone conduction sensor 1380M can obtain a vibration signal of a human body sound part vibration bone block. The bone conduction sensor 1380M can also contact the human body pulse to receive a blood pressure pulsation signal. In some embodiments, the bone conduction sensor 1380M can also be disposed in a headset to form a bone conduction headset. The audio module 1370 can analyze a voice signal based on the vibration signal of the sound part vibration bone block obtained by the bone conduction sensor 1380M to realize a voice function. The application processor can analyze heart rate information based on the blood pressure pulsation signal obtained by the bone conduction sensor 1380M to realize a heart rate detection function.

[0267] The key 1390 includes a power-on key, a volume key, and the like. The key 1390 can be a mechanical key. It can also be a touch key. The electronic device 1300 can receive a key input and generate a key signal input related to user settings and function control of the electronic device 1300.

[0268] The motor 1391 can generate a vibration prompt. The motor 1391 can be used for incoming call vibration prompt, and can also be used for touch vibration feedback. For example, touch operations on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 1391 can also correspond to different vibration feedback effects for touch operations on different regions of the display screen 1394. Different application scenarios (such as time reminders, received messages, alarms, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.

[0269] The indicator 1392 can be an indicator light, which can be used to indicate the charging state, the power change, and can also be used to indicate messages, missed calls, notifications, etc.

[0270] The SIM card interface 1395 is used to connect the SIM card. The SIM card can be inserted into or pulled out of the SIM card interface 1395 to realize contact and separation with the electronic device 1300. The electronic device 1300 can support one or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 1395 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 1395 can simultaneously insert multiple cards. The types of the multiple cards can be the same or different. The SIM card interface 1395 can also be compatible with different types of SIM cards. The SIM card interface 1395 can also be compatible with external storage cards. The electronic device 1300 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the electronic device 1300 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 1300 and cannot be separated from the electronic device 1300.

[0271] It should be understood that Figure 13 The electronic device 1300 shown can implement the methods provided by the embodiments of the present application Figure 3A through Figure 11A The operations and / or functions of the various modules in the electronic device 1300 are respectively used to implement the corresponding processes in the above method embodiments. For details, see the descriptions of the method embodiments of the present application Figure 3A through Figure 11A The descriptions of the method embodiments shown are omitted here to avoid repetition.

[0272] It should be understood that Figure 13 The processor 1310 in the electronic device 1300 shown can be a system on a chip (SOC), and the processor 1310 can include a central processing unit (CPU) and can further include other types of processors, such as a graphics processing unit (GPU).

[0273] In summary, the various processors or processing units inside the processor 1310 can cooperate to implement the method flow described above, and the corresponding software programs of the various processors or processing units can be stored in the internal memory 121.

[0274] The application also provides an electronic device, which comprises a storage medium and a central processor, the storage medium can be a non-volatile storage medium, the storage medium stores a computer executable program, the central processor is connected with the non-volatile storage medium and executes the computer executable program to realize the method of the application Figure 3A through Figure 11A The method provided by the embodiment.

[0275] In the above embodiments, the processor involved may, for example, include a CPU, a DSP, a microcontroller or a digital signal processor, and can also include a GPU, an embedded neural network processing unit (Neural-network Process Units, hereinafter referred to as NPU) and an image signal processor (Image Signal Processing, hereinafter referred to as ISP), and the processor can also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the application. In addition, the processor can have the function of operating one or more software programs, and the software programs can be stored in the storage medium.

[0276] The application also provides a computer readable storage medium, which stores a computer program, and when the computer program is run on a computer, the computer executes the method of the application Figure 3A through Figure 11A The method provided by the embodiment.

[0277] The application also provides a computer program product, which comprises a computer program, and when the computer program is run on a computer, the computer executes the method of the application Figure 3A through Figure 11A The method provided by the embodiment.

[0278] In the embodiments of the application, "at least one" means one or more, and "multiple" means two or more. The association relationship of the associated objects is described by "and / or", which means that there can be three kinds of relationships, for example, A and / or B can represent the cases of A alone, A and B together, and B alone. Wherein A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after it. "At least one of the following" and similar expressions mean any combination of these items, including any combination of single or multiple items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, wherein a, b, c can be single or multiple.

[0279] Those skilled in the art can appreciate that the units and algorithm steps described in the embodiments disclosed herein can be implemented in electronic hardware, computer software and a combination of electronic hardware and computer software. Whether the functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. A skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0280] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.

[0281] In several embodiments provided in the present application, any function realized in the form of a software function unit and sold or used as an independent product can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (Read-Only Memory; hereinafter referred to as: ROM), a random access memory (Random Access Memory; hereinafter referred to as: RAM), a magnetic disk or an optical disk and various program code storage media.

[0282] The above is merely specific embodiments of the present application, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. The protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A full screen display method, characterized by, The application comprises: non-full screen display of a multimedia file on an application interface; detecting an instruction for full screen display of the multimedia file, and determining whether a window displaying the application interface is a figure with an aspect ratio in a preset interval; the preset interval is an interval containing 1; if the window is a figure with an aspect ratio in the preset interval, full screen display of the multimedia file in the window is performed according to a current display direction of the application interface; the current display direction of the application interface comprises a display direction of the application interface when the instruction for full screen display of the multimedia file is detected; if the window is a figure with an aspect ratio not in the preset interval, full screen display of the multimedia file in the window is performed after rotating the direction of the application interface according to a display direction specified by the application.

2. The method of claim 1, wherein, The determination whether the window displaying the application interface is a figure with an aspect ratio in a preset interval comprises: obtaining the aspect ratio of the window; determining whether the aspect ratio is in a preset interval, and the preset interval is [0.75, 4 / 3].

3. The method of claim 1, wherein, The display screen of an electronic device displaying the application interface is a folding screen, the full screen in the unfolded state is a figure with an aspect ratio not in the preset interval, the sub screen in the folded state is a figure with an aspect ratio in the preset interval, and the display screen is not split-screen displayed, the determination whether the window displaying the application interface is a figure with an aspect ratio in a preset interval comprises: determining the screen used by the window; if the screen used by the window is a sub screen, determining that the window is a figure with an aspect ratio in the preset interval; if the screen used by the window is a full screen, determining that the window is a figure with an aspect ratio not in the preset interval.

4. The method of claim 1, wherein, The display screen of an electronic device displaying the application interface is a folding screen, the full screen in the unfolded state is a figure with an aspect ratio in the preset interval, the sub screen in the folded state is a figure with an aspect ratio not in the preset interval, and the display screen is not split-screen displayed, the determination whether the window displaying the application interface is a figure with an aspect ratio in a preset interval comprises: determining the screen used by the window; if the screen used by the window is a full screen, determining that the window is a figure with an aspect ratio in the preset interval; if the screen used by the window is a sub screen, determining that the window is a figure with an aspect ratio not in the preset interval.

5. The method of claim 1, wherein, The display screen of an electronic device displaying the application interface is a folding screen, the full screen in the unfolded state is a figure with an aspect ratio not in the preset interval, the sub screen in the folded state is a figure with an aspect ratio in the preset interval, and the display screen is not split-screen displayed; The determination whether the window displaying the application interface is a figure with an aspect ratio in a preset interval comprises: determining the open and close state of the display screen; if the open and close state of the display screen is the folded state, determining that the window is a figure with an aspect ratio in the preset interval; if the open and close state of the display screen is the unfolded state, determining that the window is a figure with an aspect ratio not in the preset interval; if the open and close state of the display screen is the open and close change state, determining the change direction of the open and close change state of the display screen; If the change direction is from the folded state to the unfolded state, it is determined that the window is a graphic with an aspect ratio in the preset interval. If the change direction is from the unfolded state to the folded state, it is determined that the window is a graphic with an aspect ratio not in the preset interval.

6. The method of claim 1, wherein, The display screen of the electronic device displaying the application interface is a folding screen, the full screen in the unfolded state is a graphic with an aspect ratio in the preset interval, the sub-screen in the folded state is a graphic with an aspect ratio not in the preset interval, and the display screen does not display in split screen mode. The determination of whether the window displaying the application interface is a graphic with an aspect ratio in the preset interval comprises: determining the opening and closing state of the display screen; If the opening and closing state of the display screen is the unfolded state, it is determined that the window is a graphic with an aspect ratio in the preset interval. If the opening and closing state of the display screen is the folded state, it is determined that the window is a graphic with an aspect ratio not in the preset interval. If the opening and closing state of the display screen is the unfolded state, it is determined that the window is a graphic with an aspect ratio in the preset interval. If the change direction is from the folded state to the unfolded state, it is determined that the window is a graphic with an aspect ratio in the preset interval. If the change direction is from the unfolded state to the folded state, it is determined that the window is a graphic with an aspect ratio not in the preset interval.

7. The method according to any one of claims 3 to 6, characterized in that, The method further comprises: detecting a change in the opening and closing state of the display screen, and determining, according to the change direction of the opening and closing state, whether the window displaying the multimedia file after the change in the opening and closing state is a graphic with an aspect ratio in the preset interval; If the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval, the multimedia file is displayed in full screen in the window displaying the multimedia file according to the current display direction of the multimedia file; the current display direction of the multimedia file comprises the display direction of the multimedia file when the change in the opening and closing state of the display screen is detected.

8. The method of claim 7, wherein, The full screen of the display screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, the sub-screen in the folded state is a graphic with an aspect ratio in the preset interval, and the display screen does not display in split screen mode; the determination of whether the window displaying the multimedia file after the change in the opening and closing state is a graphic with an aspect ratio in the preset interval comprises: determining the change direction of the opening and closing state of the display screen; If the change direction is from the unfolded state to the folded state, it is determined that the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval. If the change direction is from the folded state to the unfolded state, it is determined that the window displaying the multimedia file is a graphic with an aspect ratio not in the preset interval.

9. The method of claim 7, wherein, The full screen of the display screen in the unfolded state is a graphic with an aspect ratio in the preset interval, the sub-screen in the folded state is a graphic with an aspect ratio not in the preset interval, and the display screen does not display in split screen mode; the determination of whether the window displaying the multimedia file after the change in the opening and closing state is a graphic with an aspect ratio in the preset interval comprises: determining the change direction of the opening and closing state of the display screen; If the change direction is from the unfolded state to the folded state, it is determined that the window displaying the multimedia file is a graphic with an aspect ratio in the preset interval. If the change direction is from the folded state to the unfolded state, it is determined that the window displaying the multimedia file is a graphic with an aspect ratio not in the preset interval. If the change direction is from the folded state to the unfolded state, it is determined that the window displaying the multimedia file is a graphic with an aspect ratio in a preset interval; If the change direction is from the unfolded state to the folded state, it is determined that the window displaying the multimedia file is a graphic with an aspect ratio not in the preset interval.

10. The method according to any one of claims 1 to 6, characterized in that, The instruction of detecting the full-screen display of the multimedia file comprises: The direction setting request is sent by the application program to which the application program interface belongs, and the direction setting request is sent by the application program when the instruction of detecting the full-screen display of the multimedia file is detected, and the direction setting request carries the display direction of the application program for the application program interface.

11. The method of claim 10, wherein, The window displays the multimedia file in full screen according to the current display direction of the application program interface, which comprises: The display direction of the application program in the direction setting request is modified to the current display direction of the application program interface; The multimedia file is displayed in full screen in the window according to the modified direction setting request.

12. An electronic device, comprising: Comprise: A display screen; One or more processors; Memory; And one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprise instructions, when the instructions are executed by the device, the device executes the following steps: A multimedia file is displayed on the application program interface in a non-full screen manner; An instruction of detecting the full-screen display of the multimedia file is detected, and it is determined whether the window displaying the application program interface is a graphic with an aspect ratio in a preset interval; the preset interval is an interval containing 1; If the window is a graphic with an aspect ratio in the preset interval, the multimedia file is displayed in full screen in the window according to the current display direction of the application program interface; The current display direction of the application program interface comprises the display direction of the application program interface when the instruction of detecting the full-screen display of the multimedia file is detected; If the window is a graphic with an aspect ratio not in the preset interval, the direction of the application program interface is rotated according to the display direction specified by the application program, and the multimedia file is displayed in full screen in the window.

13. The electronic device of claim 12, wherein, When the instructions are executed by the device, the device executes the step of determining whether the window displaying the application program interface is a graphic with an aspect ratio in a preset interval, which comprises: Obtaining the aspect ratio of the window; Determine whether the aspect ratio is in a preset interval, and the preset interval is [0.75, 4 / 3].

14. The electronic device of claim 12, wherein, The display screen of the electronic device displaying the application program interface is a folding screen, the complete screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, the sub screen in the folded state is a graphic with an aspect ratio in the preset interval, and the display screen is not split, and when the instructions are executed by the device, the device executes the step of determining whether the window displaying the application program interface is a graphic with an aspect ratio in a preset interval, which comprises: Determine the screen used by the window; If the screen used by the window is a sub screen, it is determined that the window is a graphic with an aspect ratio in the preset interval; If the screen used by the window is a full screen, it is determined that the window is a graphic with an aspect ratio not in the preset interval.

15. The electronic device of claim 12, wherein, The display screen of the electronic device displaying the application interface is a folding screen, and the full screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, and the sub-screen in the folded state is a graphic with an aspect ratio in the preset interval. The display screen is not split-screen displayed, and the instructions are executed by the device, so that the device executes the step of determining whether the window displaying the application interface is a graphic with an aspect ratio in the preset interval, including: Determining the screen used by the window; If the screen used by the window is a full screen, it is determined that the window is a graphic with an aspect ratio not in the preset interval; If the screen used by the window is a full screen, it is determined that the window is a graphic with an aspect ratio not in the preset interval.

16. The electronic device of claim 12, wherein, The display screen of the electronic device displaying the application interface is a folding screen, and the full screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, and the sub-screen in the folded state is a graphic with an aspect ratio in the preset interval. The display screen is not split-screen displayed, and the instructions are executed by the device, so that the device executes the step of determining whether the window displaying the application interface is a graphic with an aspect ratio in the preset interval, including: Determining the opening and closing state of the display screen; If the opening and closing state of the display screen is in the unfolded state, it is determined that the window is a graphic with an aspect ratio in the preset interval; If the opening and closing state of the display screen is in the folded state, it is determined that the window is a graphic with an aspect ratio not in the preset interval; If the opening and closing state of the display screen is in the opening and closing change state, the change direction of the opening and closing change state of the display screen is determined; If the change direction is from the unfolded state to the folded state, it is determined that the window is a graphic with an aspect ratio in the preset interval; If the change direction is from the folded state to the unfolded state, it is determined that the window is a graphic with an aspect ratio not in the preset interval. The display screen of the electronic device displaying the application interface is a folding screen, and the full screen in the unfolded state is a graphic with an aspect ratio not in the preset interval, and the sub-screen in the folded state is a graphic with an aspect ratio in the preset interval. The display screen is not split-screen displayed, and the instructions are executed by the device, so that the device executes the step of determining whether the window displaying the application interface is a graphic with an aspect ratio in the preset interval, including:

17. The electronic device of claim 12, wherein, Determining the opening and closing state of the display screen; If the opening and closing state of the display screen is in the unfolded state, it is determined that the window is a graphic with an aspect ratio in the preset interval; If the opening and closing state of the display screen is in the folded state, it is determined that the window is a graphic with an aspect ratio not in the preset interval; If the opening and closing state of the display screen is in the opening and closing change state, the change direction of the opening and closing change state of the display screen is determined; If the change direction is from the unfolded state to the folded state, it is determined that the window is a graphic with an aspect ratio in the preset interval; If the change direction is from the folded state to the unfolded state, it is determined that the window is a graphic with an aspect ratio not in the preset interval. ​ ​ 18. The electronic device of any of claims 14 to 17, wherein, The instructions, when executed by the device, cause the device to perform the following steps after the multimedia file is displayed full screen in the window: detecting a change in the opening and closing state of the display screen, and determining whether the window displaying the multimedia file is a figure with an aspect ratio in a preset interval after the change in the opening and closing state; if the window displaying the multimedia file is a figure with an aspect ratio in a preset interval, displaying the multimedia file full screen in the window displaying the multimedia file according to the current display direction of the multimedia file; the current display direction of the multimedia file includes the display direction of the multimedia file when the change in the opening and closing state of the display screen is detected.

19. The electronic device of claim 18, wherein, The full screen in the unfolded state of the display screen is a figure with an aspect ratio not in a preset interval, and the sub-screen in the folded state is a figure with an aspect ratio in a preset interval. The display screen is not split-screen displayed. The instructions, when executed by the device, cause the device to perform the step of determining whether the window displaying the multimedia file is a figure with an aspect ratio in a preset interval after the change in the opening and closing state, including: determining the direction of the change in the opening and closing state of the display screen; if the change direction is from the unfolded state to the folded state, determining that the window displaying the multimedia file is a figure with an aspect ratio in a preset interval; if the change direction is from the folded state to the unfolded state, determining that the window displaying the multimedia file is a figure with an aspect ratio not in a preset interval.

20. The electronic device of claim 18, wherein, The full screen in the unfolded state of the display screen is a figure with an aspect ratio in a preset interval, and the sub-screen in the folded state is a figure with an aspect ratio not in a preset interval. The display screen is not split-screen displayed. The instructions, when executed by the device, cause the device to perform the step of determining whether the window displaying the multimedia file is a figure with an aspect ratio in a preset interval after the change in the opening and closing state, including: determining the direction of the change in the opening and closing state of the display screen; if the change direction is from the folded state to the unfolded state, determining that the window displaying the multimedia file is a figure with an aspect ratio in a preset interval; if the change direction is from the unfolded state to the folded state, determining that the window displaying the multimedia file is a figure with an aspect ratio not in a preset interval.

21. The electronic device of any of claims 12-17, wherein, The instructions, when executed by the device, cause the device to perform the step of detecting the instruction to display the multimedia file full screen, including: receiving a direction setting request sent by an application to which the application interface belongs, the direction setting request being sent by the application when the instruction to display the multimedia file full screen is detected, and the direction setting request carrying a display direction specified by the application for the application interface.

22. The electronic device of claim 21, wherein, The instructions, when executed by the device, cause the device to perform the step of displaying the multimedia file full screen in the window according to the current display direction of the application interface, including: modifying the display direction designated by the application in the direction setting request to a current display direction of the application interface; full-screen displaying the multimedia file in the window according to the modified direction setting request.

23. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and when the computer program runs on the computer, the computer program makes the computer execute the method in any one of claims 1-11.

Citation Information

Patent Citations

  • Video adaptive playing method and device and storage medium

    CN109151504A

  • An application display method and electronic equipment

    CN109814766A

  • Flexible screen display method and terminal

    WO2020000448A1