Display method, electronic device, computer readable storage medium and program product
By setting the lock screen application interface to portrait mode before the electronic device enters stand mode, and setting the window orientation to landscape mode when launching the first application, the problem of abnormal display orientation and interface layout in the smart tabletop application is solved, improving the user experience and reducing power consumption.
Patent Information
- Application Number
- CN202410919883.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2026-01-16
AI Technical Summary
When launching the smart tabletop application, there are issues with abnormal display orientation and interface layout, which affects the user experience.
By setting the lock screen application's interface to portrait mode before the electronic device enters stand mode, setting the window orientation to landscape mode when launching the first application, and adjusting the window orientation and interface layout in advance when the first application exits or switches orientations, display abnormalities can be avoided.
This ensures that the user experience is not affected, reduces display anomalies, simplifies user operation steps, and reduces the power consumption of electronic devices.
Smart Images

Figure CN121349566A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of display, and in particular, to a display method, an electronic device, a computer readable storage medium and a program product. BACKGROUND
[0002] In order to directly reach the target application while reducing the operation steps of the user and reducing the power consumption of the electronic device, a smart table application has appeared. However, after starting the smart table application, the displayed smart table interface has some display orientation abnormality, interface layout abnormality and other display abnormality problems. SUMMARY
[0003] Embodiments of the present application provide a display method, an electronic device, a computer readable storage medium and a program product, which are used to avoid the problem of display orientation abnormality when starting the smart table application, and ensure the user experience.
[0004] To achieve the above object, embodiments of the present application adopt the following technical solutions:
[0005] In a first aspect, a display method is provided, applied to an electronic device, the electronic device including a first application and a lock screen application; the method includes: at a first time, starting the first application; before the first time, the electronic device enters a cradle state, starting the lock screen application, and the display orientation of the interface of the lock screen application is portrait, and the window orientation is set to portrait; at a second time, the display orientation of the interface of the first application is landscape, and the window orientation is set to landscape; after the second time, displaying the interface of the first application in the window whose window orientation is landscape; between the first time and the second time, the interface of the first application is not displayed.
[0006] Because if the interface of the first application is displayed without setting the window orientation to landscape corresponding to the display orientation of the interface of the first application (standby application), the interface of the first application will be displayed in the window of portrait, and the interface of the first application will have the problem of display orientation abnormality. Therefore, after starting the first application (standby application), and before setting the window orientation to landscape, that is, between the first time and the second time, the electronic device selects not to display the interface of the first application (standby interface), and the interface of the first application (standby interface) will not have the problem of display orientation abnormality, thereby ensuring the user experience.
[0007] In a possible implementation manner of the first aspect, the electronic device further includes a second application, and the display method further includes:
[0008] The first operation is received, the first operation is used to trigger exiting the first application and starting the second application; in response to the first operation, a black frame is displayed; after the black frame is displayed, the first application is exited, the second application is started, and an interface of the second application is displayed.
[0009] A second application (i.e., another application) is started while the first application (i.e., a standby application) is exited / closed, and the first application is exited / closed and the second application is started at the same time, so if the first application is exited / closed slowly, the interface of the first application may appear abnormal when the first application is exited because the second application sets the window orientation to portrait. Therefore, when the first application (i.e., a standby application) is exited / closed, the display orientation abnormality of the interface of the first application (i.e., a standby interface) can be shielded by adding a black frame and displaying the black frame, so that the user can not perceive the display abnormality of the first application when the first application is exited, and the user experience is ensured.
[0010] In a possible implementation manner of the first aspect, the display method further includes: before starting the second application, setting the window orientation to portrait based on the initial display orientation of the interface of the second application being portrait; wherein the initial display orientation is the display orientation of the interface when starting.
[0011] Because the interface displayed when the second application is started is mostly a portrait interface, if the first application is exited / closed slowly when the first application is exited / closed and the second application is started, the first application may first obtain a landscape window orientation, so that the second application draws a portrait interface in the landscape window, and the interface of the second application appears abnormal. Based on this, before the second application is started, the window orientation can be set to portrait, so that the second application directly obtains a portrait window for drawing, and the interface of the second application appears abnormal.
[0012] In a possible implementation manner of the first aspect, the second application can be any other application except the first application, and the second application includes a lock screen application.
[0013] In a possible implementation manner of the first aspect, the first operation includes any one or more of the following operations: an operation of clicking a closing control in the interface of the first application, an operation of clicking a message notification in the interface of the first application, an operation of opening the second application in the interface of the first application, and an operation of controlling the electronic device to exit a stand state.
[0014] In a possible implementation manner of the first aspect, the electronic device includes a window manager (WMS), and the WMS can be specifically used to control the interface of the first application drawn not to be displayed in the window.
[0015] Based on this, the display method further includes: at the second moment, the WMS receives a notification of the first application, and in response to the notification, the display orientation of the interface of the first application being landscape, sets the window orientation to landscape; after the second moment, the WMS displays the interface of the first application in the window whose orientation is landscape; between the first moment and the second moment, in response to the first application being started, the WMS does not display the interface of the first application in the window.
[0016] In a possible implementation manner of the first aspect, the electronic device includes a window manager WMS. In addition, the electronic device includes a display screen including an inner screen and an outer screen; the support state includes a first posture (notebook A state) and a second posture (desk calendar state), and the landscape includes a first direction (window counterclockwise rotation of 270 degrees) or a second direction (window counterclockwise rotation of 90 degrees). In the first posture (notebook A state), the interface of the first application is displayed on the inner screen, and the display orientation of the interface of the first application is the first direction (window counterclockwise rotation of 270 degrees); in the second posture (desk calendar state), the interface of the first application is displayed on the outer screen, and the display orientation of the interface of the first application is the second direction (window counterclockwise rotation of 90 degrees).
[0017] The display method further includes:
[0018] Based on the electronic device being switched from the first posture (notebook A state) to the second posture (desk calendar state), the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the first direction (window counterclockwise rotation of 270 degrees) to the second direction (window counterclockwise rotation of 90 degrees), so that the interface of the first application is displayed on the outer screen and in the window whose orientation is the second direction;
[0019] and / or,
[0020] Based on the electronic device being switched from the second posture (desk calendar state) to the first posture (notebook A state), the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the second direction (window counterclockwise rotation of 90 degrees) to the first direction (window counterclockwise rotation of 270 degrees), so that the interface of the first application is displayed on the inner screen and in the window whose orientation is the first direction.
[0021] Because the window orientation corresponding to the notebook A state and the desk calendar state is different, switching between the notebook A state and the desk calendar state involves adjusting the window orientation, and if the window orientation is adjusted late, the interface of the first application can appear to have an abnormal display orientation. Based on this, when the notebook A state and the desk calendar state are switched to each other, the WMS can adjust the window orientation in advance according to the posture after the switching, so that the interface of the first application is displayed in the correct window orientation, avoiding the problem of abnormal display orientation, and ensuring user experience.
[0022] In a possible implementation of the first aspect, the electronic device further includes a window manager WMS. In addition, the electronic device includes a display screen including an inner screen and an outer screen; the stand state further includes a third posture (notebook B state) and a fourth posture (tent state), and the landscape screen includes a first direction (window counterclockwise rotation of 270 degrees) or a second direction (window counterclockwise rotation of 90 degrees); in the third posture (notebook B state), the interface of the first application is displayed on the inner screen, and the display orientation of the interface of the first application is the second direction (window counterclockwise rotation of 90 degrees); in the fourth posture (tent state), the interface of the first application is displayed on the outer screen, and the display orientation of the interface of the first application is the first direction (window counterclockwise rotation of 270 degrees).
[0023] The display method further includes:
[0024] Based on the electronic device being switched from the third posture (notebook B state) to the fourth posture (tent state), the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the second direction (window counterclockwise rotation of 90 degrees) to the first direction (window counterclockwise rotation of 270 degrees), so that the interface of the first application is displayed on the outer screen and in the window whose window orientation is the first direction;
[0025] and / or,
[0026] Based on the electronic device being switched from the fourth posture (tent state) to the third posture (notebook B state), the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the first direction (window counterclockwise rotation of 270 degrees) to the second direction (window counterclockwise rotation of 90 degrees), so that the interface of the first application is displayed on the inner screen and in the window whose window orientation is the second direction.
[0027] Similarly, because the window orientation corresponding to the notebook B state and the tent state is different, the switching between the notebook B state and the tent state also involves the adjustment of the window orientation. If the window orientation is adjusted late, the display orientation of the interface of the first application can be abnormal. Based on this, when the notebook B state and the tent state are switched to each other, the window orientation can be adjusted in advance by the WMS according to the posture after the switching, so that the interface of the first application is displayed in the correct window orientation, the problem of abnormal display orientation is avoided, and the user experience is ensured.
[0028] In a possible implementation of the first aspect, the inner screen is foldable to form an A screen and a B screen; in the first posture and the third posture (notebook A state and notebook B state), the interface layout of the first application is non-full-screen display; in the first posture (notebook A state), the interface of the first application is displayed only in the A screen, and in the third posture (notebook B state), the interface of the first application is displayed only in the B screen; in the second posture (table calendar state), the interface layout of the first application is full-screen display, and the interface of the first application is displayed in full screen in the outer screen; the display method further comprises:
[0029] Based on that the electronic device is switched from the first posture (notebook A state) or the third posture (notebook B state) to the second posture (table calendar state), before the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to full-screen display, the first application removes the black frame, and the interface of the first application is displayed in full screen in the outer screen;
[0030] and / or,
[0031] Based on that the electronic device is switched from the second posture (table calendar state) to the first posture (notebook A state) or the third posture (notebook B state), before the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to non-full-screen display, the first application removes the black frame, and the interface of the first application is displayed only in the A screen or the B screen.
[0032] Because the interface layout corresponding to the notebook state (including the notebook A state and the notebook B state) and the table calendar state is different, the switching between the notebook state and the table calendar state involves the update of the interface layout. If the interface layout is updated late, the interface layout of the interface of the first application in the inner screen or the outer screen can be abnormal. Based on this, when the notebook state (including the notebook A state and the notebook B state) and the table calendar state are switched to each other, the window orientation can be adjusted in advance by the WMS according to the posture after the switching, so that the interface of the first application is displayed in the correct window orientation, the problem of abnormal display orientation is avoided, and the user experience is ensured.
[0033] In a possible implementation manner of the first aspect, the inner screen is foldable to form the A screen and the B screen; in the first posture and the third posture (the notebook A state and the notebook B state), the interface layout of the first application is non-full screen display; in the first posture (the notebook A state), the interface of the first application is displayed only in the A screen, and in the third posture (the notebook B state), the interface of the first application is displayed only in the B screen; in the fourth posture (the tent state), the interface layout of the first application is full screen display, and the interface of the first application is full screen displayed in the outer screen; the display method further comprises:
[0034] based on that the electronic device switches from the first posture (the notebook A state) or the third posture (the notebook B state) to the fourth posture (the tent state), before the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to full screen display, the first application removes the black frame, and the interface of the first application is full screen displayed in the outer screen;
[0035] and / or,
[0036] based on that the electronic device switches from the fourth posture (the tent state) to the first posture (the notebook A state) or the third posture (the notebook B state), before the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to non-full screen display, the first application removes the black frame, and the interface of the first application is displayed only in the A screen or the B screen.
[0037] Similarly, because the interface layouts corresponding to the notebook state (including the notebook A state and the notebook B state) and the tent state are different, the switching between the notebook state and the tent state also involves updating the interface layout. If the interface layout is updated too late, it may cause the interface of the first application to have an abnormal interface layout in the inner screen or the outer screen. Based on this, when the notebook state (including the notebook A state and the notebook B state) and the tent state are switched to each other, the WMS can also adjust the window orientation in advance according to the posture after the switching, so that the interface of the first application is displayed in the correct window orientation, avoiding the problem of abnormal display orientation, and ensuring the user experience.
[0038] In a possible implementation manner of the first aspect, the first application removing the black frame comprises: removing the black frame after the time length of adding the black frame reaches a preset time length; wherein the preset time length is determined based on the time length of the first application redrawing the interface, and redrawing the interface comprises setting the interface layout to non-full screen display or setting the interface layout to full screen display. In this way, the automatic removal of the black frame can be realized according to the timing.
[0039] In a second aspect, the present application provides an electronic device, comprising: a display screen, one or more processors and a memory, the display screen, the memory and the processor being coupled; the memory storing one or more computer program codes, the computer program codes comprising computer instructions; when the processor executes the computer instructions, the electronic device performs the following steps:
[0040] In a first time, a first application is started; before the first time, the electronic device enters a cradle state, a lock screen application is started, and a display orientation of an interface of the lock screen application is a portrait screen, and a window orientation is set as the portrait screen; in a second time, a display orientation of an interface of the first application is a landscape screen, and the window orientation is set as the landscape screen; after the second time, the interface of the first application is displayed in a window with the window orientation as the landscape screen; between the first time and the second time, the interface of the first application is not displayed.
[0041] In a possible implementation manner of the second aspect, when the above computer instructions are executed by the processor, the electronic device further performs the following steps: receiving a first operation, the first operation being used to trigger exiting the first application and starting a second application; in response to the first operation, displaying a black frame; after displaying the black frame, exiting the first application, starting the second application, and displaying an interface of the second application.
[0042] In a possible implementation manner of the second aspect, when the above computer instructions are executed by the processor, the electronic device further performs the following steps: before starting the second application, setting the window orientation as a portrait screen based on an initial display orientation of an interface of the second application being the portrait screen; wherein the initial display orientation is a display orientation of the interface at the time of starting.
[0043] In a specific implementation manner, the first operation comprises any one or more of the following: an operation of clicking a close control in the interface of the first application, an operation of clicking a message notification in the interface of the first application, an operation of opening the second application in the interface of the first application, and an operation of controlling the electronic device to exit the cradle state.
[0044] In a possible implementation manner of the second aspect, the electronic device comprises a window manager WMS; when the above computer instructions are executed by the processor, the electronic device further performs the following steps: in the second time, the WMS receives a notification of the first application, and in response to the notification, sets the window orientation as the landscape screen based on a display orientation of an interface of the first application being the landscape screen; after the second time, the WMS displays the interface of the first application in a window with the window orientation as the landscape screen; between the first time and the second time, in response to the first application being started, the WMS does not display the interface of the first application in the window.
[0045] In a third aspect, the present application provides an electronic device, comprising: a display screen, one or more processors and a memory, the display screen, the memory coupled to the processor; the display screen comprises an inner screen and an outer screen; the inner screen is foldable to form an A screen and a B screen; the memory stores one or more computer program codes, the computer program codes comprising computer instructions; when the processor executes the computer instructions, the electronic device performs the following steps:
[0046] In a first time, a first application is started; before the first time, the electronic device enters a cradle state, a lock screen application is started, and a display orientation of an interface of the lock screen application is a portrait screen, and a window orientation is set as the portrait screen; in a second time, a display orientation of an interface of the first application is a landscape screen, and the window orientation is set as the landscape screen; after the second time, the interface of the first application is displayed in the window whose window orientation is the landscape screen; between the first time and the second time, the interface of the first application is not displayed.
[0047] In a possible implementation manner of the third aspect, when the above computer instructions are executed by the processor, the electronic device further performs the following steps: receiving a first operation, the first operation being used to trigger exiting the first application and starting a second application; in response to the first operation, displaying a black frame; after displaying the black frame, exiting the first application, starting the second application, and displaying an interface of the second application.
[0048] In a specific implementation manner, the first operation comprises any one or more of the following: an operation of clicking a close control in the interface of the first application, an operation of clicking a message notification in the interface of the first application, an operation of opening the second application in the interface of the first application, and an operation of controlling the electronic device to exit the cradle state.
[0049] In a possible implementation manner of the third aspect, when the above computer instructions are executed by the processor, the electronic device further performs the following steps: before starting the second application, based on an initial display orientation of an interface of the second application being a portrait screen, setting the window orientation as the portrait screen; wherein the initial display orientation is a display orientation of the interface at the start time.
[0050] In a possible implementation manner of the third aspect, the electronic device comprises a window manager WMS; when the above computer instructions are executed by the processor, the electronic device further performs the following steps: in the second time, the WMS receives a notification of the first application, and in response to the notification, based on a display orientation of an interface of the first application being a landscape screen, sets the window orientation as the landscape screen; after the second time, the WMS displays the interface of the first application in the window whose window orientation is the landscape screen; between the first time and the second time, in response to the first application being started, the WMS does not display the interface of the first application in the window.
[0051] In a possible implementation manner of the third aspect, the electronic device includes a window manager WMS; the cradle state includes a first posture (notebook A state) and a second posture (desk calendar state), and the landscape includes a first direction (window counterclockwise rotation of 270 degrees) or a second direction (window counterclockwise rotation of 90 degrees). In the first posture (notebook A state), the interface of the first application is displayed on the inner screen, and the display orientation of the interface of the first application is the first direction (window counterclockwise rotation of 270 degrees); in the second posture (desk calendar state), the interface of the first application is displayed on the outer screen, and the display orientation of the interface of the first application is the second direction (window counterclockwise rotation of 90 degrees).
[0052] Therefore, when the computer instructions are executed by the processor, the electronic device further performs the following steps:
[0053] Based on that the electronic device is switched from the first posture (notebook A state) to the second posture (desk calendar state), the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the first direction (window counterclockwise rotation of 270 degrees) to the second direction (window counterclockwise rotation of 90 degrees), so that the interface of the first application is displayed on the outer screen and in the window with the window orientation being the second direction;
[0054] And / or,
[0055] Based on that the electronic device is switched from the second posture (desk calendar state) to the first posture (notebook A state), the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the second direction (window counterclockwise rotation of 90 degrees) to the first direction (window counterclockwise rotation of 270 degrees), so that the interface of the first application is displayed on the inner screen and in the window with the window orientation being the first direction.
[0056] In a possible implementation manner of the third aspect, the electronic device includes a window manager WMS; the cradle state further includes a third posture (notebook B state) and a fourth posture (tent state), and the landscape includes a first direction (window counterclockwise rotation of 270 degrees) or a second direction (window counterclockwise rotation of 90 degrees); in the third posture (notebook B state), the interface of the first application is displayed on the inner screen, and the display orientation of the interface of the first application is the second direction (window counterclockwise rotation of 90 degrees); in the fourth posture (tent state), the interface of the first application is displayed on the outer screen, and the display orientation of the interface of the first application is the first direction (window counterclockwise rotation of 270 degrees).
[0057] Therefore, when the computer instructions are executed by the processor, the electronic device further performs the following steps:
[0058] Based on the electronic device switching from the third posture (notebook B posture) to the fourth posture (tent posture), the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the second direction (the window is counterclockwise rotated by 90 degrees) to the first direction (the window is counterclockwise rotated by 270 degrees), so that the interface of the first application is displayed in the outer screen and in the window whose window orientation is the first direction;
[0059] and / or,
[0060] Based on the electronic device switching from the fourth posture (tent posture) to the third posture (notebook B posture), the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the first direction (the window is counterclockwise rotated by 270 degrees) to the second direction (the window is counterclockwise rotated by 90 degrees), so that the interface of the first application is displayed in the inner screen and in the window whose window orientation is the second direction.
[0061] In a possible implementation of the third aspect, the electronic device comprises a window manager WMS; in the first posture and the third posture (notebook A posture and notebook B posture), the interface of the first application is in a non-full-screen layout; in the first posture (notebook A posture), the interface of the first application is displayed only in the A screen, and in the third posture (notebook B posture), the interface of the first application is displayed only in the B screen; in the second posture (desk calendar posture), the interface of the first application is in a full-screen layout, and the interface of the first application is displayed in the outer screen in full screen.
[0062] Therefore, when the above computer instructions are executed by the processor, the electronic device further performs the following steps:
[0063] Based on the electronic device switching from the first posture (notebook A posture) or the third posture (notebook B posture) to the second posture (desk calendar posture), before the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to a full-screen display, the first application removes the black frame, and the interface of the first application is displayed in full screen in the outer screen;
[0064] and / or,
[0065] Based on the electronic device switching from the second posture (desk calendar posture) to the first posture (notebook A posture) or the third posture (notebook B posture), before the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to a non-full-screen display, the first application removes the black frame, and the interface of the first application is displayed only in the A screen or the B screen.
[0066] In a possible implementation of the third aspect, the electronic device includes a window manager (WMS); in the first posture (laptop A posture) and the third posture (laptop B posture), the interface layout of the first application is non-full-screen display; in the first posture (laptop A posture), the interface of the first application is displayed only in the A screen, and in the third posture (laptop B posture), the interface of the first application is displayed only in the B screen; in the fourth posture (tent posture), the interface layout of the first application is full-screen display, and the interface of the first application is full-screen displayed in the outer screen.
[0067] Therefore, when the above computer instructions are executed by the processor, the electronic device further performs the following steps:
[0068] Based on that the electronic device switches from the first posture (laptop A posture) or the third posture (laptop B posture) to the fourth posture (tent posture), before the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to full-screen display, the first application removes the black frame, and the interface of the first application is full-screen displayed in the outer screen;
[0069] and / or,
[0070] Based on that the electronic device switches from the fourth posture (tent posture) to the first posture (laptop A posture) or the third posture (laptop B posture), before the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to non-full-screen display, the first application removes the black frame, and the interface of the first application is displayed only in the A screen or the B screen.
[0071] In a possible implementation of the third aspect, when the above computer instructions are executed by the processor, the electronic device further performs the following steps: after the duration of adding the black frame reaches a preset duration, the black frame is removed; wherein the preset duration is determined based on the duration of the first application redrawing the interface, and the redrawing of the interface includes setting the interface layout to non-full-screen display or setting the interface layout to full-screen display.
[0072] In a fourth aspect, the present application provides a computer readable storage medium having a computer program stored thereon, when the computer program is executed by a processor in an electronic device, the electronic device performs the display method of the first aspect and any possible implementation thereof.
[0073] In a fifth aspect, the present application provides a computer program product, when the computer program product is run on a computer, the computer performs the method of the first aspect and any possible implementation thereof. The computer can be the above-mentioned electronic device.
[0074] It can be understood that the electronic device of any of the possible implementation manners of the second aspect, the electronic device of any of the possible implementation manners of the third aspect, the computer readable storage medium of the fourth aspect, and the computer program product of the fifth aspect can achieve the beneficial effects as described in the first aspect and any of the possible implementation manners, which will not be described here. BRIEF DESCRIPTION OF DRAWINGS
[0075] Figure 1 A product form diagram of a horizontally inward folding folding mobile phone provided for an embodiment of the present application;
[0076] Figure 2 A support state schematic diagram of an inward folding mobile phone provided for an embodiment of the present application;
[0077] Figure 3 A product form diagram of a horizontally outward folding folding mobile phone provided for an embodiment of the present application;
[0078] Figure 4 A support state schematic diagram of an outward folding mobile phone provided for an embodiment of the present application;
[0079] Figure 5 A product form diagram of a vertically inward folding folding mobile phone provided for an embodiment of the present application;
[0080] Figure 6 A support state schematic diagram of a small folding mobile phone provided for an embodiment of the present application;
[0081] Figure 7 A support state schematic diagram of a straight mobile phone provided for an embodiment of the present application;
[0082] Figure 8 An interface schematic diagram of a standby interface displayed in a support state provided for an embodiment of the present application;
[0083] Figure 9 A structural schematic diagram of an electronic device provided for an embodiment of the present application;
[0084] Figure 10 A software structure block diagram of an electronic device provided for an embodiment of the present application;
[0085] Figure 11 An interface schematic diagram of a smart table setting interface provided for an embodiment of the present application;
[0086] Figure 12 A flow schematic diagram of a display method of a conventional standby application provided for an embodiment of the present application;
[0087] Figure 13An interface diagram for displaying an abnormal interface when starting a standby application is provided for an embodiment of the present application;
[0088] Figure 14 Another interface diagram for displaying an abnormal interface when starting a standby application is provided for an embodiment of the present application;
[0089] Figure 15 A flow diagram of a display method for starting a standby application is provided for an embodiment of the present application;
[0090] Figure 16 An interface diagram for displaying a normal interface when starting a standby application is provided for an embodiment of the present application;
[0091] Figure 17 A flow diagram of a display method when switching a support state is provided for an embodiment of the present application Figure 1 ;
[0092] Figure 18 An interface diagram for displaying an abnormal standby interface when switching a support state is provided for an embodiment of the present application Figure 1 ;
[0093] Figure 19 A flow diagram of a display method when switching a support state is provided for an embodiment of the present application Figure 1 ;
[0094] Figure 20 An interface diagram for displaying a normal standby interface when switching a support state is provided for an embodiment of the present application Figure 1 ;
[0095] Figure 21 A flow diagram of a display method when switching a support state is provided for an embodiment of the present application Figure 2 ;
[0096] Figure 22 An interface diagram for displaying an abnormal standby interface when switching a support state is provided for an embodiment of the present application Figure 2 ;
[0097] Figure 23 A flow diagram of a display method when switching a support state is provided for an embodiment of the present application Figure 2 ;
[0098] Figure 24 An interface diagram for displaying a normal standby interface when switching a support state is provided for an embodiment of the present application Figure 2 ;
[0099] Figure 25A flowchart of a display method when switching a stand-by state according to an embodiment of the present application Figure 3 ;
[0100] Figure 26 An interface layout abnormal interface of a standby interface according to an embodiment of the present application Figure 1 ;
[0101] Figure 27 A flowchart of a display method when switching a stand-by state according to an embodiment of the present application Figure 3 ;
[0102] Figure 28 An interface display layout normal interface of a standby interface according to an embodiment of the present application Figure 1 ;
[0103] Figure 29 A flowchart of a display method when switching a stand-by state according to an embodiment of the present application Figure 4 ;
[0104] Figure 30 An interface layout abnormal interface of a standby interface according to an embodiment of the present application Figure 2 ;
[0105] Figure 31 A flowchart of a display method when switching a stand-by state according to an embodiment of the present application Figure 4 ;
[0106] Figure 32 An interface display layout normal interface of a standby interface according to an embodiment of the present application Figure 2 ;
[0107] Figure 33 A flowchart of a display method when exiting / closing a standby application according to an embodiment of the present application
[0108] Figure 34 An interface display abnormal interface of other applications according to an embodiment of the present application
[0109] Figure 35 A flowchart of a display method when exiting / closing a standby application according to an embodiment of the present application
[0110] Figure 36 An interface display normal interface of other applications according to an embodiment of the present application
[0111] Figure 37 An interface display normal interface when exiting / closing a standby application according to an embodiment of the present application
[0112] Figure 38 An interface schematic diagram for displaying the abnormality of the orientation and the interface layout simultaneously is provided for an embodiment of the present application.
[0113] Figure 39 An interface schematic diagram for displaying the normality of the orientation and the interface layout simultaneously is provided for an embodiment of the present application.
[0114] Figure 40 A structural block diagram of a chip system is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0115] The technical solutions of the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing the specific embodiments and are not intended to limit the present application. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, if the same items or similar items with basically the same functions and effects are distinguished by using "first", "second", etc. The person skilled in the art can understand that "first", "second", etc. do not limit the quantity and execution order, and "first", "second", etc. do not necessarily mean different. In addition, in the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more.
[0116] With the continuous development of electronic device technology, the application of electronic devices is also becoming more and more widespread. When a user needs to use an application in an electronic device in a stand state, the user needs to perform multiple operations. Taking a video application as an example, the multiple operations include opening the video application, clicking to play the video, clicking to switch to horizontal screen playback, and adjusting the electronic device to the stand state. In this way, not only is the operation procedure of the user cumbersome, but also the power consumption of the electronic device is increased.
[0117] That is, if a user needs to use a target application (such as a gallery, a music application, a video application, etc.) in a stand state of an electronic device (such as a straight phone, a folding phone, a tablet computer, etc.), the user usually needs to perform multiple operations. Taking a video application as an example, if the user needs to watch a movie horizontally on the electronic device, the user needs to first start the video application, click the operation of the movie to be watched in the video application, and play the movie. Then, the user needs to click the button of horizontal screen playback to switch the movie to horizontal screen playback. After the movie is switched to horizontal screen playback, the user needs to adjust the electronic device from a non-stand state (for example, a vertical screen state) to a stand state (a horizontal screen state) in order to watch the movie video played horizontally. As can be seen, if a user wants to use a target application in a stand state, not only is the operation procedure of the user cumbersome and the interactive efficiency is slow, but also the power consumption of the electronic device is increased accordingly.
[0118] In order to directly reach the target application while reducing the operation steps of the user and reducing the power consumption of the electronic device, a smart standby application (i.e., a first application) has appeared. The standby application can determine a recommended service card (a shortcut of an application, which can provide quick access to the frequently used application or service of the user) according to the position, time and other information of the electronic device after the electronic device enters the stand state, and control the display screen used in the stand state to display the application interface related to the service card. In this way, the user can quickly access the target application in the stand state, or the electronic device can also respond to the operation of the user in the application interface in the stand state, so that the user can quickly access the target application to realize the related application function.
[0119] In some embodiments, the service card can correspond to any one or more of time (including a clock), a calendar, weather, an electronic album or a music player, and accordingly, the application interface displayed by the standby application can include any one or more of the content of time (including a clock), a calendar, weather, an electronic album or a music player. In this way, the user can directly reach the target application in the stand state. Specifically, for example, the service card recommended by the standby application can correspond to a music application, and the application interface displayed by the standby application can be a play interface (such as a music player) corresponding to the music application, and then the electronic device can respond to the play operation of the user in the play interface to realize the quick play of music. Alternatively, the electronic device can also respond to the switching operation of the user in the play interface to switch to the next music or the previous music.
[0120] Hereinafter, for the convenience of scheme description, the application embodiments will collectively refer to the application interface corresponding to the target application displayed by the standby application as a standby interface (i.e., the interface of the first application).
[0121] For example, the application embodiments take different types of mobile phones as examples to respectively show the schematic diagrams of different stand states of the electronic device, as shown in Figures 1-7 .
[0122] Figure 1 A product form diagram of a horizontally inward folding folding mobile phone (hereinafter referred to as an inward folding mobile phone) is shown.
[0123] As shown in Figure 1 , the inward folding mobile phone includes an outer screen and an inner screen. The inner screen is a foldable display screen, and the inner screen forms two display areas A screen and B screen after folding. The outer screen is arranged on the back of the inner screen, and the outer screen can be arranged on the back of the A screen or arranged on the back of the B screen, Figure 1 The outer screen of the inward folding mobile phone shown in is arranged on the back of the A screen.
[0124] Figure 1 The inner folding mobile phone in the state (1) is in a fully unfolded state (unfolded state), in which the included angle formed by the A screen and the B screen is equal to 180 degrees. Figure 1 The inner folding mobile phone in the state (2) is in a half folded state (between the unfolded state and the fully folded state), in which the included angle formed by the A screen and the B screen is greater than 0 degrees and less than 180 degrees. Figure 1 The inner folding mobile phone in the state (3) is in a fully folded state, in which the included angle formed by the A screen and the B screen is equal to 0 degrees. As Figure 1 In the fully folded state, the inner screen of the inner folding mobile phone is invisible to the user, that is, the A screen and the B screen are invisible to the user. In some embodiments, the A screen and the B screen can be two independent display screens. In other embodiments, the A screen and the B screen can also be two display areas formed after folding of one display screen. For example, the inner screen can be a flexible screen, which is folded to form the two display areas of the A screen and the B screen.
[0125] Figure 2 A schematic diagram of the stand state of the inner folding mobile phone is shown.
[0126] As Figure 2 shown, the stand state of the inner folding mobile phone includes Figure 2 the notebook state (1) and (2) (this posture resembles a notebook computer, so the embodiments of the present application are called notebook state), Figure 2 the tent state (3) (this posture resembles a tent, so it is called tent state), Figure 2 the desk calendar state (4) (this posture resembles a desk calendar, so it is called desk calendar state), and Figure 2 the outer screen horizontal screen state (5). Among them, in order to distinguish Figure 2 the notebook state (1) and (2), the embodiments of the present application are based on the characteristics of the display screen and the input keyboard of the notebook computer, and Figure 2 the notebook state (1) is called notebook A state, and Figure 2 the notebook state (2) is called notebook B state.
[0127] As Figure 2As shown in (1) and (2), in laptop mode, the back of either the B screen or the A screen of the inward-folding phone is in contact with the horizontal plane. Furthermore, the angle a1 formed by the A screen and the B screen is greater than or equal to 85 degrees and less than or equal to 150 degrees, i.e., 85°≤a1≤150°. Here, a1 is a preset value, and its specific range can be set according to actual needs; this application does not impose any limitations on this. For example, the angle a1 can also be greater than or equal to 90 degrees and less than 180 degrees, i.e., 90°≤a1<180°.
[0128] In short, as long as the foldable phone enters laptop mode, the standby interface (i.e., the interface of the first application) of the standby application can be displayed on either screen A or screen B. That is, as shown... Figure 2 The laptop in state A, as shown in (1), displays the standby interface on screen A in this stand-up mode. Figure 2 The laptop in state B, as shown in (2), displays the standby interface on screen B in this stand mode.
[0129] like Figure 2 As shown in Figure (3), in the tent state, the inner screen of the inward-folding phone is in a semi-folded state. Therefore, in the tent state, the angle a2 formed by screens A and B of the inward-folding phone is less than 180 degrees, i.e., 0° < a2 < 180°. Here, a2 is a preset value, and its specific range can be set according to actual needs; this application embodiment does not impose any limitations on this. For example, as... Figure 2 As shown in (3), in the embodiments of this application, the value range of a2 can be 30°≤a2≤105°.
[0130] like Figure 2 As shown in Figure (4), in the calendar state, the inner screen of the inward-folding phone is also in a semi-folded state. Similarly, in the calendar state, the angle a2 formed by the A and B screens of the inward-folding phone will also be less than 180 degrees, i.e., 0° < a3 < 180°. However, it should be noted that the difference between the calendar state and the tent state of the inward-folding phone is that in the calendar state, the back of the A screen or the back of the B screen of the inward-folding phone will be in contact with the horizontal plane to support the electronic device.
[0131] For example, if the outer screen is located on the back of screen A, then the back of screen B will be in contact with the horizontal plane. Figure 3 As shown. If the outer screen is located behind screen B, then the back of screen A will be in contact with the horizontal plane. Here, a3 is a preset value; its specific range can be set according to actual needs, and this application embodiment does not impose any limitations on it. For example, as... Figure 3 As shown in (4), in the embodiments of this application, the value range of a3 can be 30°≤a2≤85°.
[0132] like Figure 3As shown in Figure (5), in landscape mode, the inward-folding phone is fully folded, and the angle between screen A and screen B in the inner screen is 0°. Simultaneously, in landscape mode, the angle a4 between the minor axis of the inward-folding phone and the horizontal plane is less than or equal to 90 degrees, i.e., a4 ≤ 90°. Here, a4 is a preset value, and its specific range can be set according to actual needs; this embodiment does not impose any limitations on this. For example, as... Figure 3 As shown in (5), the range of values for a4 can be 15°≤a4≤90°.
[0133] like Figure 3 As shown in (3), (4), and (5), the standby states of the inward-folding phone—tent state, calendar state, and landscape state—are such that the outer screen of the inward-folding phone is visible to the user, while the inner screen is not. Therefore, the standby interface corresponding to the standby application required to be displayed in these three standby states can be displayed on the user-visible outer screen.
[0134] Figure 4 The image shows a product form diagram of a foldable phone that folds outwards horizontally (hereinafter referred to as an outward-folding phone).
[0135] like Figure 4 As shown, the outward-folding phone includes a foldable display screen, which can be folded to form two display areas, screen A and screen B. Figure 4 The outward-folding phone shown in (1) is in its fully unfolded (unfolded) state. Figure 4 The outward-folding phone shown in (2) is in a semi-folded state (between the folded state and the fully folded state). Figure 4 The inward-folding phone shown in Figure (3) is in a fully folded state. In the fully unfolded state, the angle between screen A and screen B of the outward-folding phone is 180 degrees. In the half-folded state, the angle between screen A and screen B is greater than 180 degrees. In the fully folded state, the angle between the back of screen A and the back of screen B is 0 degrees.
[0136] Similarly, in some embodiments, the A screen and B screen of the outward-folding phone can be two independent displays. In other embodiments, the A screen and B screen of the outward-folding phone can also be two display areas formed by folding a single display screen. For example, the foldable display screen of the outward-folding phone can be a flexible screen, which is folded to form the A screen and B screen display areas.
[0137] Figure 4 A schematic diagram of the outward-folding phone in its stand configuration is shown.
[0138] like Figure 4 As shown, the support state of the inward-folding phone includes...Figure 4 a desk calendar state shown in (1), Figure 4 a tent state shown in (2), and Figure 5 a landscape state shown in (3).
[0139] As Figure 5 In the desk calendar state shown in (1), the outer foldable mobile phone is in a half-folded state. Meanwhile, the A screen or the B screen of the outer foldable mobile phone is in contact with the horizontal plane, and the included angle a5 formed by the A screen and the B screen is greater than 180 degrees, that is, 180° < a5. Wherein, a5 is a preset value, and the specific value range can be set according to actual requirements, and the embodiments of the present application do not make any limitation on this. For example, the value range of a5 can be 190° < a5 < 270°. Meanwhile, in this case, the A screen or the B screen in contact with the horizontal plane is invisible to the user. Then the standby interface required to be displayed in the stand state can be displayed on the screen visible to the user. For example, the A screen of the outer foldable mobile phone is in contact with the horizontal plane to form a desk calendar state, and the standby interface corresponding to the standby application can be displayed on the B screen. For another example, the B screen of the outer foldable mobile phone is in contact with the horizontal plane to form a desk calendar state, and the standby interface corresponding to the standby application can be displayed on the A screen.
[0140] As Figure 5 In the tent state shown in (2), the outer foldable mobile phone is also in a half-folded state, but the A screen and the B screen are not in contact with the horizontal plane, and the included angle a6 formed by the A screen and the B screen is also greater than 180 degrees, that is, 180° < a6. Wherein, a6 is also a preset value, and the specific value range can be set according to actual requirements, and the embodiments of the present application do not make any limitation on this. For example, a6 can be equal to a5, and the value range can be 190° < a5 < 270°.
[0141] As Figure 5 In the landscape state shown in (3), the outer foldable mobile phone is in a completely folded state, that is, the foldable display is in a completely folded and landscape state. Meanwhile, the included angle a7 between the short axis of the outer foldable mobile phone and the horizontal plane in the landscape state is less than or equal to 90 degrees, that is, a7 ≤ 90°. Wherein, a7 is a preset value, and the specific value range can be set according to actual requirements, and the embodiments of the present application do not make any limitation on this. For example, as Figure 5 shown in (3), the value range of a7 can be 15° ≤ a7 ≤ 90°.
[0142] It should be noted that after the outer foldable mobile phone enters the stand state, the standby interface corresponding to the standby application required to be displayed in the stand state needs to be displayed on the screen facing the user.
[0143] For example, if the outer folding mobile phone enters the stand state with the B screen facing the user, the standby interface is displayed on the B screen. If the outer folding mobile phone enters the stand state with the A screen facing the user, the standby interface is displayed on the A screen. However, it can be understood that if the outer folding mobile phone determines the display screen facing the user by detecting the user's gaze behavior, and the device for detecting the user's gaze behavior only corresponds to the A screen or the B screen, then the outer folding mobile phone can only enter the standby application to display the standby interface when the A screen or the B screen faces the user. The specific setting can be based on the actual business needs, and the embodiments of the present application do not make any limitation.
[0144] Figure 5 A product form diagram of a vertically inward folding folding mobile phone (hereinafter referred to as a small folding mobile phone) is shown.
[0145] As shown in Figure 6 , the small folding mobile phone also includes an outer screen and an inner screen. The inner screen is a foldable display screen, which can also form two display areas of A screen and B screen, and the outer screen is arranged on the back of the A screen or the B screen, Figure 6 As shown in the figure, the outer screen is arranged on the back of the A screen.
[0146] Figure 6 The form of the small folding mobile phone shown in (1) is a fully unfolded state (unfolded state), in which the included angle formed by the A screen and the B screen is equal to 180 degrees. Figure 6 The form of the small folding mobile phone shown in (2) is a half-folded state (between the unfolded state and the fully folded state), in which the included angle formed by the A screen and the B screen is greater than 0 degrees and less than 180 degrees. Figure 6 The form of the small folding mobile phone shown in (3) is a fully folded state (the inner screen is not visible to the user), in which the included angle formed by the A screen and the B screen is equal to 0 degrees, and the inner screen of the small folding mobile phone, i.e. the A screen and the B screen, are not visible to the user.
[0147] In some embodiments, the A screen and the B screen of the small folding mobile phone can also be two independent display screens. In other embodiments, the A screen and the B screen of the small folding mobile phone can also be two display areas formed after folding of one independent display screen. For example, the inner screen can be a flexible screen, and the flexible screen is folded to form the A screen and the B screen.
[0148] An exemplary Figure 6 A schematic diagram of the stand state of the small folding mobile phone is shown.
[0149] As shown in Figure 6 , the stand state of the small folding mobile phone can include Figure 7 the tent state shown in (1) and Figure 7In the calendar configuration shown in (2), the included angle a8 formed by the folding of the inner screen to form screen A and screen B in these two support configurations is less than 180°. Here, a8 is a preset value, and its specific range can be set according to actual needs; this application embodiment does not impose any limitations on this. For example, as shown in (2), Figure 7 As shown in (1), the value range of a8 in the tent state can be 30°≤a8≤105°. Figure 8 As shown in (2), the range of values for a8 under the calendar state can be 30°≤a8≤85°.
[0150] like Figure 8 As shown, for the small folding phone, in both tent mode and calendar mode, the outer screen is visible to the user in the stand mode, while the inner screen is not fully visible to the user relative to a certain folding angle. Therefore, the standby interfaces of the standby applications that the small folding phone needs to display after entering stand mode can all be displayed on the user-visible outer screen.
[0151] Figure 8 A schematic diagram of a candybar phone in stand mode is shown.
[0152] like Figure 8 As shown, the candybar phone includes a non-foldable display screen, so regardless of whether the candybar phone is in stand mode, the interface it needs to display will be fixed on this display screen. For the candybar phone, the stand mode only includes the landscape mode, that is, the display screen is in landscape mode. In the landscape mode, the angle a9 formed by the minor axis of the candybar phone and the horizontal plane is ≤ 90°. Here, a9 is the same as a1-a8 mentioned above, all being preset values. The specific value range can be set according to actual business needs, and this application embodiment does not impose any limitations on this. Figures 1-7 As shown, the range of values for a9 can be 15°≤a9≤90°.
[0153] Figure 9 Taking the aforementioned small foldable phone as an example, a schematic diagram of an interface displaying a standby screen in stand mode is shown.
[0154] refer to Figure 9 The standby interface shown in (1) includes time and weather because the standby application recommends time and weather as its service cards. See also... Figure 1 The standby interface shown in (2) includes a music player because the service card recommended by the standby application is music.
[0155] Understandable. Figure 5The illustrated interface is only two examples of the standby interface, and in actual applications, the standby interface can include more. For example, the standby can display an electronic album in the standby interface by binding a gallery, and the images in the electronic album are images in the gallery. Then, in this standby interface, the electronic device can switch the displayed images in response to the user's sliding operation, to realize quick browsing of the gallery in the cradle state.
[0156] At present, the standby application is overlaid under the lock screen application. That is, the trigger condition for starting the standby application includes that the electronic device has entered the cradle state, and the lock screen application has been started. That is, after the electronic device enters the lock screen and cradle state, the standby application can be started. Among them, the lock screen application start can be that the electronic device has not received user operation for a long time, and the electronic device automatically starts the lock screen application by turning off the screen. Or, the lock screen application start can also be that the electronic device receives the user's pressing operation on the power button, and turns off the screen to start the lock screen application in response to the pressing operation.
[0157] It can be understood that according to the actual needs of the user, the user can lock or not lock the electronic device. Among them, locking can include setting a lock screen password, setting face recognition, setting a fingerprint, etc. Therefore, in the case that the user locks the electronic device, the electronic device can exit the lock screen application after the screen is turned on according to the face, fingerprint of the user recognized by the lock screen application, and the lock screen password input by the user.
[0158] And in the case that the electronic device is not locked, the electronic device can trigger the exit of the lock screen application in response to the user's operation of exiting the lock screen interface. For example, after the electronic device turns on the screen, the lock screen interface corresponding to the lock screen application is displayed, and the user can perform an upward sliding operation on the lock screen interface. The electronic device exits the lock screen application in response to the upward sliding operation.
[0159] However, currently, the lock screen interface corresponding to the lock screen application is mostly a portrait interface. In order to ensure that the display orientation of the lock screen interface is correct, the portrait interface needs to be displayed in a window whose orientation is portrait. Currently, the standby interface corresponding to the standby application is mostly a landscape interface. In order to ensure that the display orientation of the interface is correct, the landscape interface needs to be displayed in a window whose orientation is landscape. Therefore, after the standby application is started, in order to correctly display the standby interface, the electronic device needs to adjust the orientation of the window again. For example, the standby application needs to adjust the orientation of the window from a portrait window to a landscape window when the standby application is started. At the same time, when the standby application exits / closes and another application (i.e., a second application) is started, in order to ensure that the window can correctly display the application interface of the other application, the electronic device also needs to adjust the orientation of the window. For example, taking the lock screen application as an example, when the standby application exits, the orientation of the window can be adjusted from a landscape window to a portrait window again.
[0160] At the same time, in order to reduce the power consumption of the electronic device, the standby application is mainly implemented based on a low-power mode (doze mode) at present. However, the doze mode does not support a normal activity life cycle at present, so the standby interface corresponding to the standby application is currently directly drawn on a window by the standby application.
[0161] Because the window cannot automatically adjust the window state (the window state includes the orientation of the window) according to the requirement as the activity can, directly drawing the standby interface on the window needs the standby application to explicitly inform the window of the required window orientation. That is to say, if the standby application directly draws the standby interface on the window, in order to ensure that the standby interface is displayed correctly and without any exception, it is very important for the standby application to timely inform the window to set the corresponding window orientation.
[0162] However, the operation of each application in an electronic device typically requires many different steps, each step takes time, and these steps may be related or follow a specific sequence. For example, for the standby application in this embodiment, to correctly display the standby interface on the screen, the standby application needs to first draw the standby interface, set its layout, and then notify the window to set the corresponding window orientation. Therefore, during the operation of the standby application, in some scenarios, the standby application may inevitably experience untimely window orientation notifications, leading to display anomalies such as abnormal display orientation and layout, thus affecting the user experience.
[0163] Based on this, embodiments of this application provide a display method, which can be applied to electronic devices. For example, the display method provided in these embodiments can be applied to... Figure 9 The image shows a foldable phone and a candybar phone. In this display method, during the running of a standby application, for scenarios that might cause display anomalies such as incorrect orientation or layout in the standby interface, the electronic device can choose to avoid these problems by delaying the display of the standby interface or updating the window orientation in advance, depending on the specific cause of the anomaly. Alternatively, the electronic device can choose to add black frames to obscure the display, making it imperceptible to the user and ensuring a smooth user experience.
[0164] In some embodiments, the aforementioned electronic device may be at least one of the following: mobile phone (such as the aforementioned candybar phone), foldable electronic device (such as the aforementioned inward-folding phone, outward-folding phone, and small foldable phone), tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), augmented reality (AR) device, virtual reality (VR) device, artificial intelligence (AI) device, wearable device, in-vehicle device, smart home device, or smart city device. This application does not impose any special limitations on the specific type of the electronic device.
[0165] Exemplary, Figure 10 A structural schematic diagram of an electronic device is shown.
[0166] As Figure 10 shown, the electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) terminal 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset jack 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera module 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0167] Among them, the sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc. In the embodiments of the present application, the electronic device can determine the posture of the electronic device through the data collected by the gyroscope sensor 180B, the acceleration sensor 180E, etc. to further determine whether the electronic device enters the cradle state.
[0168] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors. The processor 110 can generate operation control signals according to instruction operation codes and timing signals, complete the control of fetching instructions and executing instructions.
[0169] Specific to the embodiments of the present application, the electronic device can execute the display method described in any embodiment of the present application by the processor 110. For example, the standby application can be pulled up by the processor 110 after the electronic device enters the stand state, and when the display abnormality problem occurs in the standby interface, the processor 110 can also be used to determine to delay the display of the standby interface, or the processor 110 can be used to add a black frame to block the display abnormality of the standby interface, so as to avoid the display abnormality of the standby interface or make the user unable to perceive the display abnormality of the standby interface, and ensure the user experience.
[0170] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 can be a cache memory. The memory can save instructions or data that have been used or used frequently by the processor 110. If the processor 110 needs to use the instructions or data, it can be directly called from the memory. Avoid repeated access and reduce the waiting time of the processor 110, thereby improving the efficiency of the system.
[0171] In some embodiments, the processor 110 can include one or more interfaces. The interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver / transmitter (universal asynchronous receiver / transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input / output (general-purpose input / output, GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and / or a universal serial bus (universal serial bus, USB) interface, etc. The processor 110 can connect the touch sensor, the audio module, the wireless communication module, the display screen, the camera module, etc. through at least one of the above interfaces.
[0172] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 can also use different interface connection methods or combinations of multiple interface connection methods in the above embodiments.
[0173] The internal memory 121 can be used to store computer executable program codes including instructions. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, application programs required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. The data storage area can store data created during use of the electronic device 100 (such as audio data, a phonebook, etc.), and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one of a magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. The processor 110 executes various function methods or data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory disposed in the processor.
[0174] The external memory interface 120 can be used to connect an external memory card such as a Micro SD card, to achieve the expansion of the storage capacity of the electronic device 100. The USB terminal 130 is an interface conforming to the USB standard specification, and is used to connect the electronic device 100 and a peripheral device. The charging management module 140 is used to receive a charging input from a charger. The power management module 141 is used to connect a battery 142, and the charging management module 140 is connected to the processor 110. In the embodiments of the present application, the processor 110 can determine whether the electronic device is in a charging state or a non-charging state through the charging management module 140.
[0175] The wireless communication function of the electronic device 100 can be realized through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
[0176] The display function of the electronic device 100 can be realized through a GPU, a display screen 194, and an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.
[0177] The display screen 194 is used to display images, videos, and the like. In some embodiments, the electronic device 100 can include one or more display screens 194. For example, when the electronic device 100 is a straight bar phone, the electronic device 100 can include only one display screen. When the electronic device is a folding phone (such as the inner folding phone shown in Figure 11 and the small folding phone shown in Figure 11 ), the electronic device 100 can include two display screens, one of which is an outer screen and the other of which is an inner screen.
[0178] The display screen 194 includes a display panel. The display panel can adopt 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.
[0179] The electronic device 100 can implement a camera function through the camera module 193, an ISP, a video codec, a GPU, the display screen 194, and an application processor (AP), a neural network processing unit (NPU), or the like. The electronic device 100 can also implement an audio function through the audio module 170, a speaker 170A, a microphone 170B, a microphone 170C, an earphone interface 170D, and an application processor, for example, music playing, recording, and the like. The keys 190 can include a power key, a volume key, and the like. The motor 191 can generate a vibration prompt. The SIM card interface 195 is used to connect a SIM card.
[0180] It can be understood that the embodiments of the present application Figure 10 The schematic structure does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than the schematic, or combine certain components, or split certain components, or different component arrangements. The components shown in the schematic can be implemented in hardware, software, or a combination of software and hardware.
[0181] In some embodiments, the software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiments of the present application take an Android TM system as an example to exemplarily illustrate the software structure of the electronic device 100.
[0182] Exemplarily, Figure 10 A software structure block diagram of an electronic device is shown.
[0183] The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android TMThe system is divided into four layers, from top to bottom, an application layer, an application framework layer, a hardware abstraction layer (HAL), and a kernel layer.
[0184] The application layer can include a series of application packages. As shown in Figure 10 application packages can include standby, music, gallery, calendar, lock screen, and the like. In addition, it can be understood that the electronic device can also include more applications according to actual needs. For example, the application layer can also include video, camera, news, social media, and the like, and the embodiments of the present application do not make any limitation thereto.
[0185] In some embodiments, the standby application in the electronic device can have no corresponding application icon, similar to a system application. That is, the user cannot start the standby application by clicking the application icon corresponding to the application, like starting other applications. However, in other embodiments, the electronic device can provide a control switch corresponding to the standby in the settings interface, and the user can start / close the standby application by opening / closing the control switch of the standby. For example, the standby application in the electronic device can be in a closed state by default. When the user needs to use the standby application, the electronic device can be allowed to start the standby application in response to the user's operation of opening the control switch of the standby.
[0186] For example, taking a mobile phone as an example, the user can click the standby option in the settings interface of the system, and the mobile phone jumps to the standby settings interface in response to the user's operation of clicking the standby option. Then the mobile phone can start the standby in response to the user's operation of starting the standby in the standby settings interface.
[0187] For example, Figure 10 An interface schematic diagram of a standby settings interface is shown.
[0188] As shown in Figure 10 The standby settings interface 1101 includes a standby control option 1102, and the standby control option 1102 includes a control switch 1103 corresponding to the standby. The mobile phone allows the electronic device to start the standby when it is detected that the standby start condition is met in response to the user's operation of clicking the switch 1103.
[0189] Further, in the case that the smart stand application is started, i.e., when the user opens the switch 1103 in the smart stand setting interface 1101, the electronic device can monitor in real time whether the electronic device currently meets the condition for starting the smart stand application. When the electronic device monitors that the electronic device currently meets the condition for starting the smart stand application, the smart stand application is started.
[0190] The application framework layer provides an application programming interface (API) and a programming framework for the applications of the application layer. The application framework layer includes some pre-defined functions.
[0191] As shown in Figure 1 The application framework layer can include a window manager, a power manager, a view system, an input manager, a notification manager, a resource manager, and the like.
[0192] The window manager provides a window manager service (WMS), which can be used for window management, window animation management, surface management, and as a relay station of an input system. In the embodiments of the present application, the window manager can be used to manage the display of the standby interface.
[0193] The power manager (power manager service, PMS) implements the doze mode based on the DreamService in the AndroidTM system. Meanwhile, the PMS can manage the standby application. For example, in the embodiments of the present application, the PMS can start the standby application, so that the electronic device can display the standby interface.
[0194] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and the like. The view system can be used to build an application. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying a picture.
[0195] The input manager can provide an input manager service (IMS), which can be used to manage the input of the system, such as touch screen input, key input, sensor input, and the like. The IMS takes events from the input device node, and through interaction with the WMS, distributes the events to the appropriate window. The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
[0196] The notification manager enables applications to display notification information in the status bar, which can be used to convey alert-type messages that can automatically disappear after a brief stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the form of a chart or a scroll bar text in the top status bar of the system, such as a notification of an application running in the background, and can also be a notification that appears in the form of a dialog window on the screen. For example, the status bar prompts text information, emits a prompt sound, the electronic device vibrates, the indicator light flashes, etc.
[0197] The HAL runs in the user space, encapsulates the kernel layer driver, and provides a calling interface to the upper layer. As shown in Figure 2 , the HAL can include a surface flinger (SF), a display HAL, an audio HAL, etc. Among them, the SF is a system service for rendering the image drawn by the application and displaying the rendered image. In the embodiment of the present application, the SF can provide rendering of the standby interface of the standby application. It can be understood that the electronic device can also include a sensor HAL, a Bluetooth HAL, etc., which are not limited in the embodiment of the present application.
[0198] The kernel layer is the layer between hardware and software. As shown in Figure 1 , the kernel layer at least contains a TP (touch panel) driver, a device motion, a display driver, an audio driver, and a sensor driver (the sensor driver is not shown). Figure 2
[0199] The TP driver can provide touch events for the standby application of the electronic device in the doze mode. The display driver can implement the display of the standby interface of the standby application. The device motion can provide the algorithm logic of the cradle state for the electronic device. For example, the device motion can determine whether the electronic device enters the cradle state based on the posture data collected and reported by the gyroscope sensor 180B, the acceleration sensor 180E, etc., and report to the upper layer, so as to facilitate the upper layer to decide whether to start the standby application according to the reported posture.
[0200] It can be understood that Figure 2 The application program layer, the application program framework layer, the HAL, and the components contained in the kernel layer shown do not constitute a specific limitation on the software structure of the electronic device 100. In some embodiments, the software structure of the electronic device 100 can include more or fewer modules / services than the diagram.
[0201] The display method proposed by the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the display methods in the following embodiments can all be implemented in the electronic device 100 with the hardware structure described above.
[0202] Firstly, because the posture of the electronic device is different in different stand states, in order to correctly display the standby interface in different postures, the standby interface has a corresponding window orientation and interface layout in each posture. Therefore, after the electronic device enters different stand states, the window orientation and interface layout need to be adjusted accordingly.
[0203] Meanwhile, most of the display abnormalities such as display orientation abnormalities and interface layout abnormalities during the running of the standby application are caused by untimely setting or updating of the window orientation and interface layout. Therefore, in order to facilitate understanding of the scheme, the corresponding window orientation and interface layout of the standby interface in different stand states will be described first in the embodiments of the present application.
[0204] In the embodiments of the present application, based on different stand states, the window orientation includes portrait and landscape. Moreover, based on the different rotation angles of the screen in each stand state, the window orientation has different rotation angles accordingly. Among them, the portrait corresponds to a window rotation of 0 degrees, and the landscape corresponds to a window rotation of 90 degrees or a window rotation of 270 degrees.
[0205] It can be understood that a window rotation of 0 degrees means that the window is not rotated, which corresponds to a screen that is not rotated in portrait. And a window rotation of 90 degrees or 270 degrees is an adjustment of the window orientation based on 0 degrees, which makes it switch from portrait to landscape, corresponding to a screen that is rotated counterclockwise or clockwise from portrait to landscape.
[0206] It can be understood that based on the difference in rotation direction, even if the rotation angle is different, the window orientation after rotation may be the same. For example, the window orientation obtained by counterclockwise rotation of the window by 90 degrees and clockwise rotation of the window by 270 degrees is the same. The window orientation obtained by counterclockwise rotation of the window by 270 degrees and clockwise rotation of the window by 90 degrees is the same.
[0207] It should be noted that in some embodiments, the window orientation also includes a window rotation of 180 degrees. Meanwhile, the window orientation obtained by counterclockwise rotation of the window by 180 degrees and clockwise rotation of the window by 180 degrees is also the same. In other embodiments, the window rotation of 180 degrees can be regarded as the window orientation being in portrait, and the embodiments of the present application do not make any limitation on this. It can be understood that since the corresponding window in each stand state in the embodiments of the present application does not involve a window orientation of 180 degrees of rotation, the embodiments of the present application will not make too many explanations on the window orientation of 180 degrees of rotation.
[0208] For the convenience of scheme description and understanding, the embodiments of the present application mainly take counterclockwise rotation as an example for description. That is, the horizontal screen corresponds to the window being rotated counterclockwise by 90 degrees or the window being rotated counterclockwise by 270 degrees. Meanwhile, for the convenience of distinction, the embodiments of the present application refer to the window being rotated counterclockwise by 270 degrees in the horizontal screen as a first direction, and refer to the window being rotated counterclockwise by 90 degrees in the horizontal screen as a second direction. Therefore, in the embodiments of the present application, the horizontal screen can be the first direction or the second direction.
[0209] Specifically, for the inner folding mobile phone shown in FIG. 1, Figure 2 and Figure 1 the inner folding mobile phone shown in FIG. 2 has not entered the stand state, so the window does not need to be rotated at this time, and the window orientation is the vertical screen. Figure 2
[0210] Five stand states of the inner folding mobile phone are shown, for the notebook A state shown in (1) of FIG. 3 and the tent state shown in (3) of FIG. 3, by comparing with the vertical screen without rotation shown in (1) of FIG. 3, Figure 2 the notebook A state shown in (1) of FIG. 3 and the tent state shown in (3) of FIG. 3 are both obtained by rotating the inner folding mobile phone counterclockwise by 270 degrees (that is, clockwise by 90 degrees), so the window orientation of the inner folding mobile phone in the notebook A state and the tent state needs to be adjusted to the horizontal screen, and the specific adjustment is the first direction. Figure 2 Figure 2 For the notebook B state shown in (2) of FIG. 4 and the desk calendar state shown in (4) of FIG. 4, by comparing with the vertical screen without rotation shown in (1) of FIG. 4, Figure 1 the notebook B state shown in (2) of FIG. 4 and the desk calendar state shown in (4) of FIG. 4 are both obtained by rotating the inner folding mobile phone counterclockwise by 90 degrees (that is, clockwise by 270 degrees), so the window orientation of the inner folding mobile phone in the notebook B state and the desk calendar state also needs to be adjusted to the horizontal screen, and the specific adjustment is the second direction. Figure 2 Figure 2 And
[0211] Figure 2 Figures 3-4 Figures 5-6 Figures 5-6 Figure 2
[0212] Figure 2 The outer screen landscape state shown in (5) can be that the inner folding mobile phone is completely folded in the desk calendar state or the tent state, so the window orientation of the inner folding mobile phone in the outer screen landscape state can be obtained by rotating the inner folding mobile phone counterclockwise by 90 degrees (i.e., clockwise by 270 degrees), or can be obtained by rotating the inner folding mobile phone counterclockwise by 270 degrees (i.e., clockwise by 90 degrees). Therefore, the window orientation of the inner folding mobile phone in the outer screen landscape state is still adjusted to landscape, but based on actual conditions, it can be specifically adjusted to the first direction or the second direction.
[0213] It can be understood that Figure 2 The window orientations of the outer folding mobile phone corresponding to the various stand states, and Figure 2 The window orientations of the small folding mobile phone corresponding to the various stand states can also be determined in the same manner as the inner folding mobile phone, and the principles are the same, which will not be described again. For example, Figure 2 The window orientation of the small folding mobile phone in the desk calendar state and the window orientation of the small folding mobile phone in the tent state also need to be adjusted to landscape. Only the window orientation of the small folding mobile phone in the tent state is specifically adjusted to the first direction (counterclockwise rotation by 270 degrees) in the landscape, and the window orientation of the small folding mobile phone in the desk calendar state is specifically adjusted to the second direction (counterclockwise rotation by 90 degrees) in the landscape.
[0214] In the embodiments of the present application, based on different stand states, the standby interface also corresponds to display in different display screens. Moreover, according to different stand states, the interface layout of the standby interface is also different. In the embodiments of the present application, the interface layout includes full-screen display and non-full-screen display. Wherein, the full-screen display can be understood as that the interface of the first application is displayed in full screen in the display screen. The non-full-screen display can be understood as that the interface of the first application is not displayed in full screen in the display screen, such as the interface of the first application can be displayed in half screen in the display screen.
[0215] Specifically, for Figure 2 The five stand states of the inner folding mobile phone shown in (1) to (5), such as Figure 2 The notebook A state shown in (1) and Figures 5-6 The notebook B state shown in (2), because the posture is similar to a notebook computer, according to the characteristics that the display screen and the input keyboard of the notebook computer are distinguished, the interface layout of the standby interface is non-full-screen display in the notebook A state and the notebook B state. At the same time, in the two postures, the inner screen is the target screen for displaying the standby interface. Therefore, in the notebook state, the standby interface is displayed only in the A screen or only in the B screen, i.e., half-screen display in the inner screen. It can be understood that the target screen is the display screen currently used to display the interface of the first application.
[0216] And for Figure 1a tent state shown in (3), Figure 5 a desk calendar state shown in (4), and Figure 12 a horizontal screen state shown in (5), the interface layout of the standby interface is a normal full screen display. Meanwhile, in the three states, the outer screen is the target screen for displaying the standby interface.
[0217] In summary, for Figure 12 a folding phone shown in (2), the standby interface needs to be displayed in a non-full screen (such as a half screen) on the inner screen, and needs to be displayed in a full screen on the outer screen. For Figure 12 a small folding phone shown in (3), because the stand state does not include the notebook state, the standby interface in the small folding phone is displayed in a full screen on the outer screen.
[0218] Next, the display method provided by the embodiments of the present application will be described in conjunction with the accompanying drawings.
[0219] After statistics and summary, there are currently four kinds of scenarios that can easily cause display abnormalities during the running of the standby application. Next, the display method proposed by the embodiments of the present application will be described for the four scenarios.
[0220] The first scenario: when the standby application starts, the standby interface has a display orientation abnormality problem. The display orientation abnormality in the first scenario can be divided into two cases: the first case is that the display orientation abnormality also has a display abnormality problem of displaying only half of the standby interface. The second case is that the display orientation abnormality has a half screen black screen phenomenon. Since the display abnormalities in the two cases are short-term display, they can be regarded as a flashing screen problem.
[0221] Specifically, because the lock screen interface (the interface of the lock screen application) is a vertical screen interface, the corresponding window orientation should be vertical. Therefore, after the lock screen application starts, the lock screen application will instruct the window to set the window orientation to vertical. However, whether in Figure 1 a folding phone shown in (2), or in Figure 5 a small folding phone shown in (3), the standby interface is a horizontal screen interface, and the corresponding window orientation should be horizontal (first direction or second direction). Therefore, after starting the standby application, the electronic device needs to notify the window to adjust the window orientation from vertical to horizontal, so as to ensure correct display of the standby interface.
[0222] However, because the setting of the existing window orientation is all by the standby application to inform the window to set the window orientation to landscape after completing the drawing of the standby interface. Meanwhile, the standby application is directly drawn on the window to draw the standby interface, and the window will normally display the standby interface drawn by the standby application in the window before receiving the notification of the standby application. Therefore, during the transition period between drawing the standby interface and notifying the window to set the window orientation to landscape, the window may display a landscape standby interface on a portrait window.
[0223] Exemplary, Figures 1-6 A flowchart of a display method for starting a standby application is shown.
[0224] As Figure 12 shown, after the electronic device enters the stand state, the PMS receives a notification that the intelligent stand can be entered (i.e., the intelligent stand application is started). After the PMS receives the notification, the intelligent stand is started. After the intelligent stand receives the start notification from the PMS, it begins to draw the intelligent stand interface in landscape. Figure 12 As
[0225] Meanwhile, because the intelligent stand is implemented in the doze mode (low power consumption mode), after the intelligent stand is started, it needs to notify the PMS to turn on the doze mode to save power consumption. After the PMS receives the notification to turn on the doze mode, the PMS switches the mode of the electronic device to the doze mode. And after the PMS turns on the doze mode, it feeds back to the intelligent stand that it has been turned on, to inform the intelligent stand that the display mode of the electronic device has been switched to the doze mode.
[0226] In some embodiments, whether the electronic device enters the stand state can be determined according to the posture reported by the device motion module. It can be understood that based on different types of electronic devices, the stand state can include any one or more of the notebook state (including notebook A state and notebook B state), tent state, desk calendar state, and outer screen landscape state.
[0227] For example, the inner folding mobile phone shown in the above Figure 13 As shown, the stand state can include five states: notebook A state, notebook B state, tent state, desk calendar state, and outer screen landscape state. For another example, the outer folding mobile phone shown in the above Figure 14The small folding phone shown in the figure can include both tent state and desk calendar state in the stand state. For the stand state, please refer to the description of the above-mentioned Figure 13 . The embodiments of the present application will not be repeated here.
[0228] In the embodiments of the present application, because the standby application is overlaid under the lock screen application, whether the electronic device enters the stand state can be detected after the lock screen application is started. Therefore, as shown in Figure 14 , before the smart table is started, the lock screen application has been started, so the WMS will first set the window orientation to portrait based on the requirements of the lock screen application.
[0229] After the smart table interface is drawn, the smart table can notify the WMS to set the window orientation to landscape. However, before the smart table notifies the setting of the window orientation to landscape, the window orientation is portrait, so before the notification of setting the window orientation to landscape, the WMS will first display the drawn smart table interface in the portrait window, and after the WMS receives the notification of setting the window orientation to landscape from the smart table, the WMS will refresh the window orientation and set the window orientation to landscape to display the smart table interface.
[0230] In this way, as shown in Figure 13 , during the transition period between the start of the smart table to draw the smart table interface and the notification of setting the window orientation to landscape, the WMS will display the landscape smart table interface in the portrait window, resulting in abnormal display orientation of the smart table interface. At the same time, because the display orientation of the smart table interface is abnormal, it can further cause the half-screen black screen phenomenon or the smart table interface displaying only half of the content to appear at the same time, that is, the first and second situations in the first scenario described above.
[0231] For example, taking a straight phone as an example, Figure 14 and Figure 13 respectively show the interface schematic diagram of display abnormality when starting the standby application.
[0232] As shown in Figure 14 and Figure 15 , after the lock screen application of the phone is started, the phone first draws and displays the lock screen interface in the portrait window. Until the phone enters the outer screen landscape state, and after the outer screen landscape state is stable at the first time, the phone starts the standby application. However, because the window orientation is portrait at this time, display abnormality occurs after the first time.
[0233] As shown in Figure 15 , after the first time, that is, between the first time and the second time, the phone displays the landscape standby interface in the portrait window and has a half-screen black screen phenomenon. Or, as Figure 13As shown, after the first time, that is, between the first time and the second time, the mobile phone displays the standby interface in a landscape window in a portrait window and the standby interface has only half the content.
[0234] At the second time, the first application notifies the WMS to set the window orientation to landscape. Then, after the second time, the mobile phone can normally display the standby interface in a landscape window in a landscape window. As shown, Figure 14 and Figure 16 After the second time, that is, after the window orientation is set to landscape, the standby interface is normally displayed.
[0235] Therefore, according to the conventional display method, between the first time and the second time after starting the standby application, the standby interface has a display abnormality problem.
[0236] Exemplarily, Figure 16 a flowchart of a display method for starting a standby application is shown.
[0237] As shown, Figure 13 To avoid the display abnormality problem caused by the first scenario, the embodiments of the present application mainly solve the problem by delaying the display of the standby interface by the window. That is, during the transition period between the time when the smart stand application starts to draw the smart stand interface and the time when the notification of setting the window orientation to landscape is received by the WMS, that is, before the WMS receives the notification of setting the window orientation to landscape, the WMS does not display the standby interface, which can be understood as the WMS does not display any content of the standby interface in the window. Therefore, after starting the standby application, if the WMS does not display the standby interface in the window, the window is empty at this time, corresponding to a black screen display.
[0238] In this way, during this transition period, the user cannot see the Figure 14 and Figure 13 display abnormality problem shown. For example, if the display screen is notified to be turned on by the smart stand during this transition period, because the WMS does not display, the window content is empty, so the user sees a black screen. If the display screen is not notified to be turned on during this transition period, the user naturally also sees a black screen.
[0239] Exemplarily, also taking a straight mobile phone and an external screen in a landscape state as an example, Figure 14 a normally displayed interface diagram when starting a standby application is shown.
[0240] As shown, Figure 16As shown, at the first time point after the phone has started the lock screen application and entered the outer screen landscape state and the outer screen landscape state is stable, the phone starts the standby application. After the first time point, that is, between the first time point and the second time point, unlike the traditional (such as Figure 11 and Figure 12 As shown, at the first time point after the phone has started the lock screen application and entered the outer screen landscape state and the outer screen landscape state is stable, the phone starts the standby application. After the first time point, that is, between the first time point and the second time point, unlike the traditional (such as
[0241] As can be understood, since the standby application is an application started in the cradle state, if the cradle state is exited, the standby application will also be exited / closed accordingly. Therefore, in the embodiments of the present application, that is, between the first time point and the second time point, the electronic device is by default continuously in the cradle state.
[0242] Meanwhile, it should be noted that Figure 1 , Figure 16 and Figure 17 The interface schematic diagrams shown are all described by taking the outer screen landscape state as an example, but the display abnormality problem in the first scenario does not only occur when the outer screen landscape state is entered. The display abnormality problem described in the first scenario also exists when the electronic device enters the notebook A state, the notebook B state, the desk calendar state, and the tent state, and the principle is the same. Therefore, no further description is given.
[0243] In other embodiments, after the electronic device enters the cradle state, a series of judgments can also be performed, such as judging whether the smart cradle is turned on. In the case where it is determined that the smart cradle is turned on, the PMS is notified to enter the smart cradle. Whether the smart cradle is turned on can be determined by the switch state corresponding to the smart cradle. For details, reference can be made to the description of the above Figure 18 . As can be understood, since the flowchart provided by the embodiments of the present application is by default that the smart cradle is turned on, the execution of the judgment step of whether the smart cradle is turned on is Figure 17 not explicitly shown.
[0244] In other embodiments, after the smart cradle is started, a series of operations such as holding a sleep lock, prohibiting sleep, notifying the display driver to perform smart cradle display parameter setting, notifying the display driver of corresponding screen information, registering to listen to the screen state (that is, registering display) to the PMS, binding notification information with the system UI, and binding resources can also be performed.
[0245] The smart stand can avoid the electronic device from entering the doze state to affect the display of the smart stand interface by holding the doze lock. The smart stand notifies the display driver to set the smart stand display parameters to support the related services after entering the smart stand. The smart stand display parameter setting can include setting the brightness, backlight, etc. In addition, the display driver is notified of the corresponding screen information, so that the corresponding display screen can be driven to display the standby interface.
[0246] For example, the inner folding mobile phone shown in the above Figure 17 For example, when the support state of the inner folding mobile phone is in the notebook state, the display driver can determine that the inner screen needs to be driven to display the standby interface according to the screen information. When the support state of the inner folding mobile phone is switched from the notebook state to the desk calendar state or the tent state, the corresponding display screen needs to be switched to the outer screen. At this time, the display driver can determine that the outer screen needs to be driven to display the standby interface according to the screen information.
[0247] In a specific embodiment, the above-mentioned screen information can be represented by a code. For example, the screen code of a straight mobile phone can be 3. If it is a folding mobile phone, the code of the inner screen can be 3, and the code of the outer screen can be 7, etc. Therefore, when the notified screen information is 3, the display driver can determine that the screen that needs to be driven to display the smart stand is the inner screen. It can be understood that the screen codes 3 and 7 are only examples of this application, and the screen information corresponding to the display screen can be set according to actual needs, and this application does not make any limitation.
[0248] The smart stand registers to listen to the screen state to the PMS, which can be used to listen to the current mode of the electronic device in real time, such as determining whether the current display mode of the electronic device is the doze mode. In some embodiments, the electronic device can also determine whether the display screen of the electronic device is off or on by registering to listen to the screen state.
[0249] The smart stand binds the notification information of the system UI for listening to the notification, which can load the notification information in the smart stand interface after entering the smart stand to display the notification information, so as to facilitate the user to view the notification information.
[0250] The smart stand binds resources to obtain the required resources, so as to provide more service cards. For example, the smart stand can bind the gallery to obtain the images in the gallery to draw an electronic album and display. That is, if the smart stand needs to use the resources of the gallery in the display of the electronic album or the background image, etc. in the logic of the smart stand service, the smart stand can bind the gallery. It can be understood that based on actual needs, the smart stand can also bind more resources, such as music resources, video resources, etc. This application does not make any limitation.
[0251] In some embodiments, if the electronic device is entering the smart table for the first time, the smart table can recommend service cards such as a clock, a calendar, etc. The smart table can then draw the clock, the calendar, etc. The smart table interface displayed when the electronic device enters the smart table for the first time can include the clock, the calendar, etc. (as shown in FIG. 7A). Figure 18 If the electronic device is entering the smart table for the second time, the service cards recommended by the smart table can be the service cards that were last interacted with when the smart table was exited. The smart table interface drawn by the smart table can then be the service interface that was last interacted with when the smart table was exited.
[0252] For example, the smart table interface displayed when the smart table was exited last time includes a clock and a calendar. The smart table interface drawn when the smart table is entered this time can still include the clock and the calendar. For another example, the service displayed when the smart table was exited last time is a music player. The smart table interface drawn when the smart table is entered this time can include the music player. For another example, the service displayed when the smart table was exited last time on the electronic device is an electronic album. The smart table interface drawn when the smart table is entered this time can include the electronic album. The images in the electronic album can be images saved in the gallery.
[0253] It can be understood that the specific implementation logic of the smart table interface can be set according to actual needs, and the embodiments of the present application do not make any limitation in this regard. For example, the electronic device can also pre-store a smart table interface recommendation model. The input information of the smart table interface recommendation model can be location information, time information, etc. of the electronic device. The output information is a recommended service interface. The smart table interface is then drawn based on the recommended service interface. The smart table interface recommendation model can use a deep learning network, etc.
[0254] The second scenario: in the switching scenario of the support state, if the display screen is switched, including the switching of the inner screen to the outer screen, the switching of the outer screen to the inner screen, the standby interface will also have the display abnormality problem of abnormal display direction, and also the problem of short-time display of the flash screen.
[0255] Specifically, because the window direction corresponding to different support states is different, when switching from the support state 1 to the support state 2, if the display screen and the window direction corresponding to the support state 1 are different from the display screen and the window direction corresponding to the support state 2, in order to ensure the correctness of the standby interface display, the electronic device needs to switch the display screen and adjust the window direction after switching the support state, so as to ensure the correct display of the standby interface.
[0256] Therefore, after the kickstand state is switched, if the window orientation setting is relatively late, a standby interface with abnormal display orientation will be displayed on the display screen (i.e., the target screen) after the switching for a short time. That is, if the display screen and the window orientation corresponding to the two kickstand states before and after the switching are different, and the window orientation setting is relatively late, a flashing screen problem of the standby interface with abnormal display orientation will occur for a short time after the kickstand state is switched.
[0257] Meanwhile, because only the kickstand state of the inner folding mobile phone involves the switching of the display screen, and the window orientation of the inner folding mobile phone in the notebook B state (the third posture) and the desk calendar state (the second posture) is counterclockwise rotation by 90 degrees (i.e., the second direction), and the window orientation of the inner folding mobile phone in the notebook A state (the first posture) and the tent state (the fourth posture) is counterclockwise rotation by 270 degrees (i.e., the first direction). Therefore, in the second scenario, the switching scenarios that cause display abnormalities mainly include: ① the mutual switching of the notebook A state (the first posture) and the desk calendar state (the second posture). ② the mutual switching of the notebook B state (the third posture) and the tent state (the fourth posture).
[0258] Hereinafter, the embodiments of the present application are explained and described with respect to scenarios ① and ②.
[0259] With respect to scenario ①, exemplary, Figure 18 A flowchart of a display method in the conventional switching of the kickstand state is shown. Figure 17 A standby interface display abnormality interface diagram in the switching of the kickstand state is shown.
[0260] Among them, Figure 18 Fig. (1) shows a flowchart of the switching of the electronic device from the desk calendar state (the second posture) to the notebook A state (the first posture), Figure 18 Fig. (2) shows a flowchart of the switching of the electronic device from the notebook A state (the first posture) to the desk calendar state (the second posture). Correspondingly, Figure 17 Fig. (1) shows a standby interface display abnormality interface diagram in the switching of the desk calendar state (the second posture) to the notebook A state (the first posture). Figure 18 Fig. (2) shows a standby interface display abnormality interface diagram in the switching of the notebook A state (the first posture) to the desk calendar state (the second posture).
[0261] As Figure 18As shown in (1), after a user operates the electronic device to enter the table calendar state, the device motion module reports to the WMS that the current posture of the electronic device is the table calendar state. Then, the WNS notifies the smart table stand that the electronic device has entered the table calendar state. Next, the smart table stand notifies the WMS that the standby interface needs to be displayed on the outer screen in the horizontal screen mode, and at this time, the corresponding window direction is 90 degrees (i.e., the second direction). After the user operates the electronic device to switch from the table calendar state to the notebook A state, the device motion module reports to the WMS that the current posture of the electronic device is the notebook A state. Then, the WMS switches the display screen of the display window from the inner screen to the outer screen, and notifies the smart table stand that the notebook A state needs to be switched. After the smart table stand receives the notification that the notebook A state needs to be switched, it starts to redraw the interface (i.e., redraws the standby interface corresponding to the notebook A state). After the redrawing of the interface is completed, the smart table stand notifies the WMS to set the window direction to 270 degrees (i.e., the first direction) corresponding to the notebook A state.
[0262] The redrawing of the interface can include resetting the interface layout of the standby interface or changing other related content, depending on the display logic in each support state (including the notebook A state, the notebook B state, the table calendar state, and the tent state), and the embodiments of the present application do not make any limitation in this regard.
[0263] In this way, because the smart table stand notifies the WMS to set the window direction to 270 degrees only after the redrawing of the interface is completed, during the redrawing of the interface, the WMS still displays the standby interface on the inner screen in the horizontal screen mode according to the window direction 90 degrees, thereby causing the problem of abnormal display direction of the standby interface, as shown in (1). Figure 19 As shown in (1), only after the WMS receives the notification from the smart table stand to set the window direction to 270 degrees and updates the window direction, the WMS displays the standby interface on the inner screen in the horizontal screen mode according to the window direction 270 degrees, and at this time, the display of the standby interface is normal, as shown in (1). Figure 20 As shown in (1).
[0264] As shown in (1). Figure 19As shown in Figure (2), after the user operates the electronic device to enter the laptop A state, the device motion module of the bottom software reports to the WMS that the current posture of the electronic device is the laptop A state. Then, the WMS notifies the smart tabletop that the electronic device has entered the laptop A state. Next, the smart tabletop will notify the WMS that the standby interface needs to be displayed in landscape mode on the inner screen, and the corresponding window orientation is 270 degrees (i.e., the first direction). After the user operates the electronic device to switch from the laptop A state to the calendar state, the device motion module reports to the WMS that the current posture of the electronic device is the calendar state. Then, the WMS switches the display screen of the display window from the outer screen to the inner screen and notifies the smart tabletop that the calendar state needs to be switched. After receiving the notification that the smart tabletop needs to switch to the calendar state, it also starts to redraw the interface (i.e., redraw the standby interface corresponding to the calendar state). After the interface redrawing is completed, the smart tabletop notifies the WMS to set the window orientation to 90 degrees (i.e., the second direction) corresponding to the calendar state.
[0265] Similarly, because the WMS is only notified to set the window orientation to 90 degrees after the interface redraw is complete, during the interface redrawing process, the WMS will still display the standby interface in landscape mode on the outer screen according to the window orientation of 270 degrees. This causes the standby interface to display an abnormal orientation problem, such as... Figure 20 As shown in (2). Similarly, only when the WMS receives the notification from the smart table to set the window orientation to 90 degrees, and updates the window orientation, will the WMS display the standby interface in landscape mode on the outer screen according to the 90-degree window orientation. At this time, the standby interface displays normally, as shown in (2). Figure 21 As shown in (2).
[0266] For example, Figure 22 A flowchart illustrating a display method for switching support states is shown. Figure 21 This diagram illustrates a standby interface that displays normally when switching between support states.
[0267] like Figure 21 As shown in (1) and (2), in order to solve the problem of abnormal display orientation of the standby interface caused by the second scenario, the embodiment of this application adjusts the window orientation in advance according to the reported stand status by the WMS. That is, after the WMS receives the laptop A status reported by the device motion module, the WMS adjusts the window orientation to 270 degrees corresponding to the laptop A status in advance without waiting for the smart table setting notification to set the window orientation. Alternatively, after the WMS receives the calendar status reported by the device motion module, the WMS adjusts the window orientation to 90 degrees corresponding to the calendar status in advance without waiting for the smart table setting notification to set the window orientation.
[0268] In this way, because the WMS adjusts the window orientation in advance according to the support state, the WMS displays the standby interface in the inner screen or the outer screen according to the correct window orientation in the process of the intelligent stand redrawing interface, that is, the standby interface does not appear the display abnormality problem of abnormal display orientation again, such as Figure 22 In scenarios 1) and 2), the WMS adjusts the window orientation in advance according to the support state.
[0269] For scenario 2), an example is as follows. Figure 22 A flowchart of a conventional display method when switching the support state is shown. Figure 21 An interface diagram of standby interface display abnormality when switching the support state is shown.
[0270] In scenario 1), an example is as follows. Figure 22 In scenario 1), a flowchart of the electronic device switching from the tent state (the fourth posture) to the notebook B state (the third posture) is shown. Figure 17 In scenario 2), a flowchart of the electronic device switching from the notebook B state (the third posture) to the tent state (the fourth posture) is shown. Correspondingly, Figure 18 In scenario 1), an interface diagram of standby interface display abnormality when switching from the tent state (the fourth posture) to the notebook B state (the third posture) is shown. Figure 23 In scenario 2), an interface diagram of standby interface display abnormality when switching from the notebook B state (the third posture) to the tent state (the fourth posture) is shown. It can be understood that the reason for the standby interface display abnormality caused by scenario 2) is the same as the reason for the standby interface display abnormality caused by scenario 1) described above, and therefore, the description of scenarios 1) and 2) is the same, and will not be described again. Figure 24 and Figure 23 The description of scenarios 1) and 2) is the same as the description of scenarios 1) and 2) described above, and therefore, the description will not be described again. Figure 23 and Figure 24 The description of scenarios 1) and 2) is the same as the description of scenarios 1) and 2) described above, and therefore, the description will not be described again.
[0271] For the problem of standby interface display abnormality caused by scenario 2), the WMS also adjusts the window orientation in advance to solve the problem. An example is as follows. Figure 24 A flowchart of a display method when switching the support state is shown. Figure 23 An interface diagram of standby interface display normality when switching the support state is shown. In scenario 1), an example is as follows. Figure 24 In scenario 1), a flowchart of the electronic device switching from the tent state (the fourth posture) to the notebook B state (the third posture) is shown. Figure 19 In scenario 2), a flowchart of the electronic device switching from the notebook B state (the third posture) to the tent state (the fourth posture) is shown. Correspondingly, Figure 20Fig. 1 shows a schematic diagram of the standby interface display orientation in the normal state when the tent state (the fourth state) is switched to the notebook B state (the third state), Figure 25 Fig. 2 shows a schematic diagram of the standby interface display orientation in the normal state when the notebook B state (the third state) is switched to the tent state (the fourth state). Since the solution to scenario 2 is the same as the solution to scenario 1 described above, the description of Figure 26 and Figure 25 can refer to the description of the above Figure 25 and Figure 26 , which have the same principles and will not be described again.
[0272] The third scenario: in the scenario of changing the stand state, if the display screen switching is involved, including switching from the inner screen to the outer screen, switching from the outer screen to the inner screen, the standby interface still has the display abnormality problem of abnormal interface layout.
[0273] Specifically, because the WMS switching speed of the display screen is faster than the redrawing speed of the intelligent stand application, the redrawing of the interface includes the reconfiguration of the interface layout. Therefore, when the intelligent stand application has not completed the redrawing of the interface according to the stand state, that is, the interface layout has not been updated, the WMS may have completed the switching of the display screen. In this way, the interface layout originally applied to the outer screen will be applied to the inner screen, or the interface layout originally applied to the inner screen will be applied to the outer screen, thereby causing the display abnormality problem of abnormal interface layout when the standby interface is displayed on the inner screen or the outer screen.
[0274] Because the outer screen is full-screen display and the inner screen is non-full-screen display, when the target screen is switched from the outer screen to the inner screen, the inner screen will display the standby interface in full screen, causing the display abnormality of the standby interface. When the target screen is switched from the inner screen to the outer screen, the outer screen will display the standby interface in half screen, causing the display abnormality of the standby interface on the outer screen.
[0275] In the embodiments of the present application, the switching scenarios that can specifically cause the interface layout abnormality of the standby interface mainly include: ③ mutual switching between the calendar state (the second state) and the notebook state (including the notebook A state or the notebook B state, i.e., the first state and the third state). ④ mutual switching between the tent state (the fourth state) and the notebook state (including the notebook A state or the notebook B state, i.e., the first state and the third state).
[0276] Hereinafter, the embodiments of the present application will be explained and described with respect to scenario ③ and scenario ④ respectively.
[0277] For scenario ③:
[0278] The desk calendar state (the second posture) is a standby interface displayed on the outer screen in full screen. The notebook state (including the first posture and the third posture) is a standby interface displayed on the inner screen in non-full screen, such as a standby interface displayed only on the A screen or the B screen. Therefore, if the electronic device is switched from the desk calendar state (the second posture) to the notebook state (the first posture or the third posture), the outer screen is switched to the inner screen, and if the interface layout is not updated in time, the interface layout of the standby interface displayed on the inner screen in full screen after the screen switching will be abnormal. If the electronic device is switched from the notebook state (the first posture or the third posture) to the desk calendar state (the second posture), the inner screen is switched to the outer screen, and if the interface layout is not updated in time, the interface layout of the standby interface displayed on the outer screen in non-full screen after the screen switching will be abnormal.
[0279] Exemplarily, Figure 26 A flowchart of a conventional display method when a stand is switched is shown. Figure 25 An interface diagram of an abnormal interface layout of a standby interface is shown.
[0280] Among them, Figure 26 Fig. 1 (1) shows a flowchart of the electronic device when it is switched from the desk calendar state (the second posture) to the notebook state (the first posture or the third posture), Figure 26 Fig. 1 (2) shows a flowchart of the electronic device when it is switched from the notebook state (the first posture or the third posture) to the desk calendar state (the second posture). Correspondingly, Figure 25 Fig. 1 (1) shows an interface diagram of an abnormal interface layout of a standby interface when the desk calendar state (the second posture) is switched to the notebook state (the first posture or the third posture). Figure 26 Fig. 1 (2) shows an interface diagram of an abnormal interface layout of a standby interface when the notebook state (the first posture or the third posture) is switched to the desk calendar state (the second posture).
[0281] As Figure 26 As shown in Fig. 1 (1), after the user operates the electronic device to enter the desk calendar state, the device motion module of the electronic device reports to the WMS that the current posture of the electronic device is the desk calendar state. Then, the WMS notifies the intelligent stand that the electronic device has entered the desk calendar state. Next, the intelligent stand informs the WMS that it needs to display the standby interface on the outer screen in landscape and full screen, and at this time, the corresponding window direction is 90 degrees (i.e., the second direction). After the user operates the electronic device to switch from the desk calendar state to the notebook state, the device motion module reports to the WMS that the current posture of the electronic device is the notebook state, and then the WMS switches the target screen from the inner screen to the outer screen and notifies the intelligent stand that it needs to switch to the notebook state. After receiving the notification that it needs to switch to the notebook state, the intelligent stand starts to redraw the interface (i.e., redraw the standby interface corresponding to the notebook A state or the notebook B state).
[0282] As can be seen, because the WMS switches the inner screen before the smart stand application redraws the interface, before the smart stand application completes the redrawing of the interface, the interface layout is full-screen display corresponding to the stand calendar state. Thus, in the process of redrawing the interface, the phenomenon of inner screen landscape but full-screen display of the standby interface may occur, as shown in (1) of Figure 27 . After the smart stand application completes the redrawing of the interface, the interface layout is definitely set to half-screen display corresponding to the notebook state. At this time, the standby interface in the inner screen is displayed normally, i.e., there is no interface layout abnormality problem, as shown in (1) of Figure 28 .
[0283] As shown in (2) of Figure 27 , after the user operates the electronic device to enter the notebook state, the device motion module of the bottom software reports to the WMS that the current posture of the electronic device is the notebook state. Then, the WNS notifies the smart stand electronic device that it has entered the notebook state. Next, the smart stand notifies the WMS that it needs to display the standby interface in the inner screen landscape and half-screen. At this time, the corresponding window direction may be 270 degrees (corresponding to notebook A state) or 90 degrees (corresponding to notebook B state). After the user operates the electronic device to switch from the notebook state to the stand calendar state, the device motion module reports to the WMS that the current posture of the electronic device is the stand calendar state. Then, the WMS switches the target screen from the outer screen to the inner screen and notifies the smart stand that it needs to switch to the stand calendar state. After receiving the notification of switching to the stand calendar state, the smart stand starts to redraw the interface (i.e., redraw the standby interface corresponding to the stand calendar state).
[0284] Similarly, the WMS switches the outer screen before the smart stand application redraws the interface. Thus, before the smart stand application completes the redrawing of the interface, the interface layout is half-screen display corresponding to the notebook state. Thus, in the process of redrawing the interface, the phenomenon of outer screen landscape but half-screen display of the standby interface may occur, as shown in (2) of Figure 28 . After the smart stand application completes the redrawing of the interface, the interface layout is definitely set to full-screen display corresponding to the stand calendar state. At this time, the standby interface in the outer screen is displayed normally, i.e., there is no interface layout abnormality problem, as shown in (2) of Figure 29 .
[0285] Exemplarily, Figure 30 a flowchart of a display method when switching the stand state is shown. Figure 29 a normal interface layout display of a standby interface when switching the stand state is shown.
[0286] As shown in (2) of Figure 29To avoid the problem that the user perceives the abnormal interface layout in the third scenario, the embodiment of the present application adds a black frame by the smart table application. That is, by adding a black frame, the abnormal interface layout can be blocked, so that the user cannot perceive the abnormal interface layout, thereby ensuring the user experience.
[0287] Specifically, after the WMS receives the notebook state reported by the device motion module, the WMS modifies the pre-screen database to notify the smart table application that the WMS is ready to switch the inner screen. After receiving the message that the WMS is ready to switch the inner screen, the smart table application adds a black frame, and the added black frame is removed after the interface is redrawn. Alternatively, after the WMS receives the table calendar state reported by the device motion module, the WMS modifies the pre-screen database to notify the smart table application that the WMS is ready to switch the outer screen. After receiving the message that the WMS is ready to switch the outer screen, the smart table application adds a black frame, and the added black frame is also removed after the interface is redrawn.
[0288] In this way, whether the table calendar state switches the notebook state or the notebook state switches the table calendar state, before the smart table application redraws the interface, a black screen is displayed in the process of redrawing the interface because a black frame is added. That is, whether it is an outer screen or an inner screen, at this time, it is a state of a black screen that does not display an abnormal standby interface of the interface layout. After the black frame is removed, because the interface is redrawn, the smart table interface with no abnormal interface layout can be normally displayed, as shown in (1) and (2). Figure 30 Thus, the user cannot perceive the abnormal problem of the interface layout, thereby ensuring the user experience.
[0289] In some embodiments, the smart table application can set a certain limit for the display duration of the black frame after adding the black frame. For example, when the display duration of the black frame reaches a preset duration, the black frame is automatically removed. To ensure that the user has no perception, the preset duration can be determined according to the duration of the user redrawing the interface. For example, the preset duration can be equal to 1200 milliseconds. It can be understood that 1200 milliseconds is only used for the example of the embodiment of the present application, and does not constitute any limitation on the preset duration, and the specific configuration can be determined according to the actual situation.
[0290] For scenario ④:
[0291] The tent state (the fourth state) is also the standby interface of the outer screen full screen display. Therefore, according to the same reason as scene 3, if the tent state (the fourth state) is switched to the notebook state (the first state or the third state), the outer screen is also switched to the inner screen, and if the interface layout is not updated in time, the interface layout of the standby interface of the inner screen full screen display will also be abnormal. If the notebook state (the first state or the third state) is switched to the tent state (the fourth state), the interface layout of the standby interface of the outer screen non-full screen display will also be abnormal.
[0292] Exemplarily, Figure 30 A flowchart of a conventional display method when the support state is switched is shown. Figure 29 An interface diagram of an abnormal interface layout of a standby interface is shown.
[0293] Among them, Figure 30 Fig. 1 (1) shows a flowchart when the electronic device is switched from the tent state (the fourth state) to the notebook state (the first state or the third state), Figure 25 Fig. 1 (2) shows a flowchart when the electronic device is switched from the notebook state (the first state or the third state) to the tent state (the fourth state). Correspondingly, Figure 26 Fig. 1 (1) shows an interface diagram of an abnormal interface layout of a standby interface when the tent state (the fourth state) is switched to the notebook state (the first state or the third state). Figure 31 Fig. 1 (2) shows an interface diagram of an abnormal interface layout of a standby interface when the notebook state (the first state or the third state) is switched to the tent state (the fourth state).
[0294] It can be understood that the reason for the abnormal interface layout of the standby interface in scene 4 is the same as the reason for the abnormal interface layout of the standby interface in scene 3. Therefore, the descriptions of the above Figure 32 and Figure 31 can be referred to the descriptions of the above Figure 32 and Figure 27 , and the principles are the same, and the embodiments of the present application will not be described again.
[0295] Exemplarily, Figure 28 A flowchart of a display method when the support state is switched is shown. Figure 33 An interface diagram of a normal standby interface layout when the support state is switched is shown. At the same time, the solution method of scene 4 is also the same as the solution method of scene 3, so the descriptions of the above Figure 34 Fig. 1 (1) and (2) and Figure 33 Fig. 1 (1) and (2) can be referred to the descriptions of the above Figure 33 and Figure 34The description of the first scenario is the same as that of the second scenario, and the embodiments of the present application do not repeat the description.
[0296] The fourth scenario: when the standby application is exited / closed, the application interface of another application (i.e., the second application) has a display abnormality problem of abnormal display orientation, or the standby interface has a problem of abnormal display orientation because of the exit / closure.
[0297] Specifically, after the standby application is exited / closed, another application is started at the same time, and the display orientation (initial display orientation) of the other application when it is started is generally portrait. Meanwhile, the exit / closure of the standby application has a processing process and requires a certain processing time. Therefore, during the process of the exit / closure of the standby application, the standby application and the other application to be started are parallel processes.
[0298] Therefore, if the standby application exits too slowly, the window orientation obtained by the other application when it is started may be the landscape orientation corresponding to the standby application. In this case, if the interface of the other application is a portrait interface when it is started, the interface of the other application will be displayed in landscape, and the interface of the other application will not be displayed normally until the WMS is notified by the other application to set the window orientation to portrait. Therefore, during the process of the exit / closure of the standby application, there is a flash screen problem of abnormal display orientation of the other application.
[0299] In addition, if the window orientation obtained by the other application is not landscape, the other application will also notify the WMS to set the window orientation to portrait. If the standby application exits too slowly and has not been exited completely before the window orientation is set to portrait, the standby interface will appear again the display abnormality problem of abnormal display orientation as when it is started.
[0300] The other application is an application to be started when the standby application is exited / closed. For example, if the standby application is started in the case that the lock screen application is started and enters the cradle state, and the standby application needs to be exited / closed because of the exit of the cradle state or the click of a close control in the standby interface, the other application to be started is the lock screen application. Therefore, the interface of the lock screen application has the display abnormality problem of abnormal display orientation.
[0301] For example, if the operation of clicking the recommended service card in the standby interface is triggered to exit / close the standby application and start the application corresponding to the service card, the other application is the application corresponding to the service card. For example, if the standby application recommends a service card of a music application, the interface of the music application may have a display abnormality problem of abnormal display orientation during the process of starting the music application.
[0302] For example, if the operation of clicking the message notification in the standby interface is triggered to exit / close the standby application and enter the application corresponding to the message notification to view the message details, the other application is the application corresponding to the message notification. For example, if the application sending the message notification is a news application, the corresponding news interface may have a display abnormality problem of abnormal display orientation during the process of starting the news application.
[0303] For example, Figure 33 A flowchart of a display method for exiting / closing a standby application is shown. The embodiment of the present application takes a lock screen application as an example, Figure 13 A standby interface diagram of the other application having a display abnormality problem in the process of exiting / closing the standby application is shown.
[0304] As Figure 14 As shown in (1) of the embodiment, after receiving the first operation for indicating the exit / close, the smart table application is implemented in the doze mode, and the doze mode is a low-power mode, and the doze mode does not support starting other applications. Therefore, the smart table application will first notify the PMS to exit the doze mode, and the PMS will feed back to the smart table application that the doze mode has been exited after completing the exit. The first operation can be an operation of clicking the close control, an operation of controlling the electronic device to exit the stand state, an operation of clicking the message notification in the standby interface, or an operation of clicking the service card in the standby interface to trigger the start of other applications. After receiving the notification that the doze mode has been exited, the smart table application can start the next other application (i.e., the second application) that needs to be started. After receiving the start notification, the other application can obtain the window orientation from the WMS to draw the interface. As shown in (2) of the embodiment, because the smart table application has instructed the WMS to set the window orientation to the horizontal screen, the window orientation obtained by the other application from the WMS is the horizontal screen. In this way, the other application draws the application interface of the vertical screen in the horizontal screen window, which causes the interface display orientation to be abnormal. As shown in (3) of the embodiment, when the other application is a lock screen application, the display orientation of the lock screen interface of the lock screen application is abnormal. Figure 35 Figure 36
[0305] And such Figure 35 As shown in (2), after other applications obtain the window orientation as landscape from WMS, they can determine that landscape orientation does not meet their required window orientation. Therefore, when drawing the portrait application interface, other applications can simultaneously notify WMS to set the window orientation to portrait. In this way, since the smart tabletop application has not yet finished exiting, and the window orientation has already changed, WMS will notify the standby application to change the window orientation to portrait, thereby triggering the smart tabletop application to redraw the smart tabletop interface in the portrait window, resulting in a display error problem where the smart tabletop interface shows an abnormal orientation. For reference, see [link to relevant documentation]. Figure 36 and Figure 35 The abnormal interface diagram is shown in the image and will not be described in detail here.
[0306] Therefore, to prevent other applications from displaying abnormal orientations when the standby window is exited / closed, and to prevent users from perceiving any abnormal orientation issues in the standby interface when the standby window is exited / closed, this application embodiment solves these problems by pre-setting the window orientation to portrait mode and adding black frames.
[0307] For example, Figure 37 A flowchart illustrating a method for exiting / closing a standby application is shown. Figure 37 Taking a lock screen application as an example, this diagram illustrates an interface where other applications display normally when the application is exited / closed in a standby scenario.
[0308] like Figure 38 As shown in (1), after receiving the first operation that triggers exit / close and notifies PMS to exit doze mode, the smart tabletop application first notifies WMS to set the window orientation to portrait mode, and then notifies other applications to start. In this way, other applications can directly obtain the portrait window orientation from WMS, so that other applications can draw the portrait interface in the portrait window. The window orientation and the required display orientation of the interface are the same, so the display orientation of the interface of other applications perceived by the user will be normal, such as Figure 38 As shown. Furthermore, because the smart tabletop application pre-sets the window to portrait mode, even if other applications do not notify WMS to set the window orientation, the standby application will still experience display orientation issues after the window is changed to portrait mode.
[0309] Regarding this, as Figure 38As shown in FIG. 2, the smart stand application in the embodiment of the present application further performs the step of adding a black frame after receiving the first operation. In this way, even if the WMS notifies the smart stand application window to change to a portrait screen, because the black frame blocks the standby interface, the user can only perceive a black screen, and thus will not perceive that the standby interface has a display orientation abnormality problem, thereby ensuring the user experience.
[0310] For example, the lock screen application is taken as an example, Figure 38 A schematic diagram of a standby exit / closing interface without abnormality is shown. As shown in FIG. 3, Figure 38 During the process of exiting the smart stand and starting the lock screen application, because the window orientation is set to a portrait screen in advance and a black frame is added. Therefore, during the process of exiting the standby application, the interface displays a black screen, and the user cannot perceive the display orientation abnormality problem of the standby interface. After the standby application exits, the interface of the lock screen application is displayed accordingly, and because the window has been set to a portrait screen in advance, the lock screen application will not have a display orientation abnormality problem.
[0311] In addition, regarding the second and third scenarios described above, it should be noted that because the display abnormality problems in the second and third scenarios are caused by the switching of the inner and outer screens, the display orientation abnormality problem described in the second scenario and the interface layout abnormality problem described in the third scenario may occur simultaneously.
[0312] For example, Figure 39 For example, Figure 39 A schematic diagram of an interface with simultaneous display orientation and interface layout abnormality is shown, taking the switching between the tent state and the notebook B state as an example. Among them, Figure 39 As shown in FIG. 4(1), a schematic diagram of an interface with simultaneous display orientation and interface layout abnormality is shown when the tent state is switched to the notebook B state. Figure 39 As shown in FIG. 4(2), a schematic diagram of an interface with simultaneous display orientation and interface layout abnormality is shown when the notebook B state is switched to the tent state. As shown in FIG. 4(2), Figure 39 As shown in FIGS. 4(1) and (2), when the tent state and the notebook B state are switched to each other, both the inner screen and the outer screen have problems of interface layout abnormality and display orientation abnormality.
[0313] However, because in the third scenario, a black frame is added to block the interface layout abnormality, thereby avoiding the user from perceiving the display abnormality problem. Therefore, to some extent, if the WMS switches the screen faster than the standby redraws the interface, even if the WMS does not adjust the window orientation in advance as described in the second scenario, based on the black frame added in the third scenario, the user can actually be blocked from perceiving the display abnormality problem in the second scenario.
[0314] However, it is emphasized that in actual implementation, because the WMS sets the window orientation in advance and the standby application redraws the interface are not executed synchronously, the processing timing of the two steps cannot be guaranteed. Therefore, if the speed of the WMS switching the screen is slower than the speed of the standby application redrawing the interface, it is possible that after the standby application removes the black frame, the WMS has not completed the screen switching, so that in the case of adding the black frame to block, the display orientation abnormality problem recorded in the second scenario still exists. In this way, in order to guarantee that the display abnormality problem recorded in the second scenario and the display abnormality problem recorded in the third scenario can be completely avoided from being perceived by the user, the WMS actually needs to set the window orientation in advance to completely avoid the display orientation abnormality problem recorded in the second scenario. That is, in order to guarantee that the display abnormality problems in the above-mentioned second scenario and third scenario can be properly solved, the WMS setting the window orientation in advance proposed in the above-mentioned second scenario and adding the black frame proposed in the above-mentioned third scenario need to be executed.
[0315] Reference Figure 40 , exemplary, Still taking the switching between the tent state and the notebook B state as an example, a normal interface schematic diagram of the display orientation and the interface layout is shown. Among them, (1) in the tent state switching notebook B state, the display orientation and the interface layout are normal. (2) in the notebook B state switching tent state, the display orientation and the interface layout are normal. As (1) and (2) shown, when the tent state and the notebook B state are switched to each other, the black frame is added at the same time, and the window orientation is set in advance by the WMS, so that the interface layout abnormality and the display orientation abnormality in the inner screen and the outer screen can be completely avoided.
[0316] Another embodiment of the present application provides an electronic device, comprising: a display screen, one or more processors and a memory. The display screen, the memory are respectively coupled with the processor; the memory stores one or more computer program codes, and the computer program codes comprise computer instructions; when the processor executes the computer instructions, the electronic device realizes the display method recorded in the above-mentioned embodiments. Specifically, it can be the display method recorded in the first scenario and the fourth scenario.
[0317] In some embodiments, the display screen includes a first screen and a second screen. The first screen is the inner screen as described in the above embodiments. The second screen is the outer screen as described in the above embodiments. Thus, when the processor executes the computer instructions, the electronic device implements the display method as described in any of the above embodiments, including the display method as described in any one or more of the first scenario, the second scenario, the third scenario, and the fourth scenario.
[0318] Another embodiment of the present application provides a computer readable storage medium storing a computer program, when the computer program is executed by a processor in an electronic device, the electronic device implements the display method as described in any of the above embodiments.
[0319] The embodiments of the present application also provide a computer program product, when the computer program product is run on a computer, the computer executes each function or step in the above method embodiments.
[0320] The embodiments of the present application also provide a chip system, as shown in the figure, the chip system 400 includes at least one processor 4001 and at least one interface circuit 4002. The processor 4001 and the interface circuit 4002 can be interconnected through a line. For example, the interface circuit 4002 can be used to receive signals from other devices (such as the memory of a computer). For another example, the interface circuit 4002 can be used to send signals to other devices (such as the processor 1101). For example, the interface circuit 4002 can read the instructions stored in the memory and send the instructions to the processor 4001. When the instructions are executed by the processor 4001, the computer can execute each step in the above embodiments. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not make specific limitations thereto.
[0321] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0322]
[0323] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other manners. For example, the division of the apparatus embodiments is merely an example, and the division of the modules or units can be different, for example, multiple modules or units can be combined or integrated into another apparatus, or some features can be ignored or not executed. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection can be indirect coupling or communication connection through some interfaces, apparatuses or units, and can be in electrical, mechanical or other forms.
[0324] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, i.e., may be located in one place or distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0325] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0326] If the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or the parts that make contributions to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium, includes a number of instructions to make a device (which can be a single chip, a chip, etc.) or a processor execute all or part of the steps of the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0327] The above is merely a specific implementation of the present application, but the protection scope of the present application is not limited thereto, any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A display method characterized by comprising: The application is applied to an electronic device, the electronic device comprising a first application and a lock screen application; the method comprising: starting the first application at a first time point; before the first time point, the electronic device enters a cradle state, the lock screen application is started, and a display orientation of an interface of the lock screen application is a vertical screen, and a window orientation is set as the vertical screen; at a second time point, based on a display orientation of an interface of the first application being a horizontal screen, the window orientation is set as the horizontal screen; after the second time point, the interface of the first application is displayed in the window whose window orientation is the horizontal screen; between the first time point and the second time point, the interface of the first application is not displayed.
2. The method of claim 1, wherein, The electronic device further comprises a second application, and the method further comprises: receiving a first operation, the first operation being used to trigger exiting the first application and starting the second application; in response to the first operation, displaying a black frame; after displaying the black frame, exiting the first application, starting the second application, and displaying an interface of the second application.
3. The method of claim 2, wherein, The method further comprises: before starting the second application, based on an initial display orientation of an interface of the second application being a vertical screen, the window orientation is set as the vertical screen; wherein the initial display orientation is a display orientation of an interface when an application is started.
4. The method according to claim 2 or 3, characterized in that, The first operation comprises any one or more of an operation of clicking a close control in the interface of the first application, an operation of clicking a message notification in the interface of the first application, an operation of opening the second application in the interface of the first application, and an operation of controlling the electronic device to exit the cradle state.
5. The method according to any one of claims 1-4, characterized in that, The electronic device comprises a window manager WMS; the method further comprises: at the second time point, the WMS receives a notification of the first application, and in response to the notification, based on a display orientation of an interface of the first application being a horizontal screen, the window orientation is set as the horizontal screen; after the second time point, the WMS displays the interface of the first application in the window whose window orientation is the horizontal screen; between the first time point and the second time point, in response to the first application being started, the WMS does not display the interface of the first application in a window.
6. The method according to any one of claims 1-5, characterized in that, The electronic device comprises a display screen, the display screen comprising an inner screen and an outer screen; the cradle state comprises a first posture and a second posture, and the horizontal screen comprises a first direction or a second direction; in the first posture, the interface of the first application is displayed on the inner screen, and a display orientation of the interface of the first application is the first direction; in the second posture, the interface of the first application is displayed on the outer screen, and a display orientation of the interface of the first application is the second direction; The electronic device comprises a window manager WMS; The method further comprises: based on the electronic device switching from the second posture to the first posture, the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the second direction to the first direction, so that the interface of the first application is displayed in the inner screen and in the window whose window orientation is the first direction. and / or based on the electronic device switching from the second posture to the first posture, the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the second direction to the first direction, so that the interface of the first application is displayed in the inner screen and in the window whose window orientation is the first direction.
7. The method according to any one of claims 1 to 6, characterized in that, The electronic device comprises a display screen comprising an inner screen and an outer screen; the posture comprises a third posture and a fourth posture, and the landscape screen comprises a first direction or a second direction; in the third posture, the interface of the first application is displayed on the inner screen, and the display orientation of the interface of the first application is the second direction; in the fourth posture, the interface of the first application is displayed on the outer screen, and the display orientation of the interface of the first application is the first direction; The electronic device further comprises a window manager (WMS); The method further comprises: based on the electronic device switching from the third posture to the fourth posture, the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the second direction to the first direction, so that the interface of the first application is displayed in the outer screen and in the window whose window orientation is the first direction; and / or based on the electronic device switching from the fourth posture to the third posture, the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, and before the first application notifies the WMS to set the window orientation, the WMS adjusts the window orientation from the first direction to the second direction, so that the interface of the first application is displayed in the inner screen and in the window whose window orientation is the second direction.
8. The method according to claim 6 or 7, characterized in that, The inner screen can be folded to form an A screen and a B screen; in the first posture and the third posture, the interface layout of the first application is non-full screen display; in the first posture, the interface of the first application is displayed only in the A screen; in the third posture, the interface of the first application is displayed only in the B screen; in the second posture, the interface layout of the first application is full screen display, and the interface of the first application is displayed in full screen in the outer screen; the method further comprises: based on the electronic device switching from the first posture or the third posture to the second posture, before the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to full-screen display, the first application removes the black frame, and the interface of the first application is displayed in full screen in the outer screen; and / or, based on the electronic device switching from the second posture to the first posture or the third posture, before the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to non-full-screen display, the first application removes the black frame, and the interface of the first application is displayed only in the A screen or the B screen.
9. The method according to any one of claims 6-8, characterized in that, The inner screen can be folded to form an A screen and a B screen; in the first posture and the third posture, the interface layout of the first application is non-full-screen display; in the first posture, the interface of the first application is displayed only in the A screen; in the third posture, the interface of the first application is displayed only in the B screen; In the fourth posture, the interface layout of the first application is full-screen display, and the interface of the first application is displayed in full screen in the outer screen; the method further comprises: based on the electronic device switching from the first posture or the third posture to the fourth posture, before the WMS switches the display screen displaying the interface of the first application from the inner screen to the outer screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to full-screen display, the first application removes the black frame, and the interface of the first application is displayed in full screen in the outer screen; and / or, based on the electronic device switching from the fourth posture to the first posture or the third posture, before the WMS switches the display screen displaying the interface of the first application from the outer screen to the inner screen, the WMS instructs the first application to add a black frame on the interface of the first application; after the first application sets the interface layout to non-full-screen display, the first application removes the black frame, and the interface of the first application is displayed only in the A screen or the B screen.
10. The method according to claim 8 or 9, characterized in that, The first application removes the black frame, comprising: after the duration of adding the black frame reaches a preset duration, the black frame is removed; wherein the preset duration is determined based on the duration of the first application redrawing the interface, and the redrawing of the interface includes setting the interface layout to non-full-screen display or setting the interface layout to full-screen display.
11. An electronic device, comprising: comprising: The electronic device comprises a display screen, one or more processors and a memory, the display screen, the memory and the processor being coupled; the memory stores one or more computer program codes, the computer program codes comprising computer instructions; when the processor executes the computer instructions, the electronic device executes the display method according to any one of claims 1-5.
12. The electronic device of claim 11, wherein, The display screen comprises an inner screen and an outer screen; the inner screen can be folded to form an A screen and a B screen; when the processor executes the computer instructions, the electronic device further executes the display method according to any one of claims 6-10.
13. A computer readable storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor of the electronic device, so that the electronic device executes the display method according to any one of claims 1-10.
14. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor of the electronic device, so that the electronic device executes the display method according to any one of claims 1-10.
Citation Information
Patent Citations
Screen display direction control method, device, mobile terminal, and readable storage medium
CN109254715A
Folding screen display method, electronic equipment and computer readable storage medium
CN117389496A
Full-screen display method, electronic equipment and computer readable storage medium
CN117909001A
Window interaction method and electronic device
WO2023131313A1