Interface switching method, electronic equipment, chip system and readable storage medium

By displaying cards of multiple theme display modes side by side in the standby state of the electronic device and providing one-click switching function, the problem of low switching efficiency of theme display mode in the prior art is solved, and the user experience is improved.

CN120045255APending Publication Date: 2025-05-27HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410038037.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-11-15
Filing Date
2024-01-10
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In the prior art, electronic devices have low switching efficiency between multiple theme display modes, and users need to swipe multiple times to find the desired theme display mode.

Method used

Provides a method of interface switching, by displaying cards of multiple second theme display modes side by side, allowing users to select the theme mode they want to display according to their needs, and quickly switch the theme mode through one-click operation.

Benefits of technology

It realizes rapid switching of theme display mode, improving user experience and operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045255A_ABST
    Figure CN120045255A_ABST
Patent Text Reader

Abstract

The invention discloses an interface switching method, electronic equipment, a chip system and a readable storage medium, and belongs to the technical field of terminals. The electronic equipment is in a first state. Under the condition that the target state switching condition is met, the first state is switched to a second state, a first interface in the second state is displayed, the electronic equipment is in a low-power-consumption mode and is displayed in a transverse screen mode in the second state, and the target state switching condition includes that the electronic equipment is in a support state, and the first interface displays a card in a first theme display mode. And in response to a first operation received in the first interface, switching from the first interface to a second interface, the second interface displaying cards of a plurality of second theme display modes. In response to a second operation on the first card in the second interface, the second interface is switched to a third interface, the first card is displayed in the third interface, and the first card is a card in the second theme display mode. According to the invention, theme display mode switching can be efficiently carried out.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on November 15, 2023, with application number 202311533131.1 and application name “Interaction method of electronic device, electronic device and readable storage medium”, the entire contents of which are incorporated by reference in this application. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to an interface switching method, electronic device, chip system and readable storage medium. Background Art

[0003] With the rapid development of terminal technology, the working states of electronic devices are becoming more and more diverse. For example, electronic devices can enter standby mode. In standby mode, electronic devices are in low power consumption mode and displayed in landscape mode. The standby state usually includes multiple theme display modes. Different cards can be pushed to users in different theme display modes, and different cards display different theme contents. For example, multiple theme display modes include gallery theme display mode. The gallery theme display mode is a theme display mode that pushes picture cards. In the gallery theme display mode, the electronic device displays picture cards in the standby interface, and the picture cards display a picture in the gallery. Summary of the invention

[0004] The present application provides an interface switching method, electronic device, chip system and readable storage medium, which can solve the problem of how to quickly switch between multiple theme display modes in the related art. The technical solution is as follows:

[0005] In a first aspect, a method for interface switching is provided, which is applied to an electronic device, and the method includes:

[0006] The electronic device is in a first state, and the first state includes a screen-on state or a screen-off state. When the electronic device meets the target state switching condition, the electronic device switches from the first state to the second state, and displays the first interface in the second state. In the second state, the electronic device is in a low power consumption mode and is displayed in landscape mode. The target state switching condition includes that the electronic device is in a stand state, and the first interface displays a card in a first theme display mode. In response to a first operation received in the first interface, the electronic device switches from the first interface to the second interface, and the second interface displays a card for each of a plurality of second theme display modes. In response to a second operation on a first card in the second interface, the electronic device switches from the second interface to a third interface, and the first card is displayed in the third interface, and the first card is a card in the second theme display mode.

[0007] In this way, by displaying multiple cards of the second theme display mode side by side, the user can select the second theme display mode to be displayed according to the needs, and can trigger the electronic device to quickly switch the theme mode with one click.

[0008] As an example of the present application, when the electronic device includes only one display unit, the support state means that the electronic device is in a horizontal screen state and the duration is greater than the first duration; when the electronic device includes two display units, the support state means that the angle between the two display units is less than or equal to the first preset angle and greater than or equal to the second preset angle, and the duration is greater than the first duration, and the first preset angle is greater than the second preset angle. In this way, when the electronic device is in the support state, it can enter the second state, so that it can display the screen horizontally in the second state, and when the screen is displayed horizontally, it supports the user to quickly trigger the electronic device to switch the theme display mode.

[0009] As an example of the present application, a desktop interface is displayed in the first state. In response to a second operation on a first card in the second interface, after the electronic device switches from the second interface to the third interface, the method further includes: when the electronic device meets the second state exit condition, switching from the third interface to the lock screen interface or the desktop interface. In this way, the lock screen function of the electronic device can still be implemented in the second state.

[0010] As an example of the present application, when the electronic device meets the second state exit condition, switching from the third interface to the lock screen interface or the desktop interface includes: when the electronic device meets the second state exit condition, if the electronic device has reached the automatic lock screen time, switching from the third interface to the lock screen interface. If the electronic device has not reached the automatic lock screen time, switching from the third interface to the desktop interface. In this way, the lock screen function of the electronic device can still be implemented in the second state.

[0011] As an example of the present application, the second state exit condition includes the electronic device entering the non-stand state or receiving a third operation on the third interface, and the third operation is an operation of sliding upward from the bottom of the screen of the electronic device. In this way, the user can trigger the electronic device to exit the second state in a variety of ways.

[0012] As an example of the present application, the first card displayed in the third interface is a video card in a video theme display mode, and a video playback control is displayed in the third interface, and the video theme display mode is a second theme display mode for pushing video content. In this case, in response to the second operation on the first card in the second interface, after the electronic device switches from the second interface to the third interface, it also includes: in response to the fourth operation on the video playback control in the third interface, the electronic device switches from the third interface to the video playback interface, and starts playing the video corresponding to the video content displayed in the first card. In this way, when the electronic device enters the second state and displays a video card, the user can trigger the electronic device to play the video corresponding to the displayed video card with one click, thereby increasing the video playback speed and thus improving the user experience.

[0013] As an example of the present application, in response to the fourth operation on the video playback control in the third interface, the electronic device switches from the third interface to the video playback interface, including: in response to the fourth operation on the video playback control in the third interface, when the electronic device does not set a lock screen password, the electronic device switches from the third interface to the video playback interface. In this way, when the electronic device sets a lock screen password, the electronic device switches from the third interface to the unlocking interface, so that the user unlocks, and displays the video playback interface when the unlocking is successful, thereby improving the safety of the electronic device.

[0014] As an example of the present application, before the electronic device switches from the first interface to the second interface, the electronic device determines the most recently played video; generates a corresponding video card according to the most recently played video; and determines the video card as a card to be displayed in the video theme display mode. In this way, by providing the user with the video card of the most recently played video, it is convenient for the user to continue to watch the drama, thereby improving the user experience.

[0015] As an example of the present application, the first card displayed in the third interface is a weather card in a clock weather theme display mode, and the clock weather theme display mode is a second theme display mode for pushing time information and / or weather information. In response to the second operation on the first card in the second interface, after the electronic device switches from the second interface to the third interface, in response to the triggering operation on the third interface, the electronic device displays a jump control in the third interface. In response to the triggering operation on the jump control, the electronic device switches from the third interface to the weather application details page. In this way, by displaying the hidden jump control, the user can trigger the electronic device to enter the weather application details page with one click through the jump control, thereby quickly viewing the information details and improving the user experience.

[0016] As an example of the present application, in response to a second operation on a first card in a second interface, after the electronic device switches from the second interface to the third interface, in response to a first sliding operation received in the third interface, the electronic device switches from the third interface to the fourth interface, the first sliding operation is a sliding operation in the horizontal direction, and the third interface and the fourth interface belong to interfaces of different theme display modes; or, in response to a second sliding operation received in the third interface, the electronic device switches from the third interface to the fifth interface, the second sliding operation is a sliding operation in the vertical direction, and the third interface and the fifth interface are different interfaces of the same theme display mode. In this way, the user can trigger the electronic device to switch the theme display mode by sliding left and right, and trigger the electronic device to switch cards in the same theme display mode by sliding up and down, thereby improving the convenience of operation.

[0017] As an example of the present application, in response to a second operation on a first card in a second interface, after the electronic device switches from the second interface to the third interface, in response to an editing operation on the third interface, the electronic device switches from the third interface to the editing interface, and multiple editing controls and thumbnails of the first card are provided in the editing interface. In response to a triggering operation on a first editing control among multiple editing controls, the electronic device displays a card adding interface, and at least one second card is displayed in the card adding interface, and the first card and at least one second card are cards of the same theme display mode. In response to an adding operation on a target second card in at least one second card, the card adding interface is switched to the editing interface, and the target second card is added as the previous card or the next card of the first card. In this way, the electronic device also supports users to edit cards, such as adding cards, thereby improving the user experience.

[0018] As an example of the present application, in response to an editing operation on the third interface, after the electronic device switches from the third interface to the editing interface, in response to a sixth operation on the thumbnail of the first card, a delete control of the first card is displayed. In response to a triggering operation on the delete control of the first card, the first card is deleted, and thumbnails of adjacent cards of the first card are displayed in the editing interface. In this way, the electronic device also supports users to delete cards, thereby improving the richness of functions and user experience.

[0019] As an example of the present application, in response to an editing operation on the third interface, after the electronic device switches from the third interface to the editing interface, in response to a third sliding operation on the thumbnail of the first card, the thumbnail of the first card in the editing interface is switched to a thumbnail of a third card adjacent to the first card in the sliding direction of the third sliding operation, and the third sliding operation is a sliding operation in the vertical direction. In response to a seventh operation on the thumbnail of the third card, the editing interface is switched to the sixth interface, and the third card is displayed in the sixth interface. In this way, the editing interface can support users to slide cards up and down, and it is convenient to edit any card, thereby improving the user experience.

[0020] As an example of the present application, in response to an editing operation on the third interface, after the electronic device switches from the third interface to the editing interface, in response to a triggering operation on a second editing control among multiple editing controls, the electronic device displays a detailed editing floating window in the editing interface, and the detailed editing floating window is used for the user to edit the display form of the first card or the area where the thumbnail of the first card is located. In this way, by displaying the detailed floating window, the user can edit the display form of the first card, or edit the area where the thumbnail of the first card is located, thereby increasing the richness of editing.

[0021] As an example of the present application, in response to the second operation on the first card in the second interface, after the electronic device switches from the second interface to the third interface, in response to the triggering operation of the power button of the electronic device, the electronic device switches from the third interface to the screen-off interface; or, when the electronic device is in an uncharged state, after displaying the third interface, if no user operation is received within a second time period, the electronic device switches from the third interface to the screen-off interface. In this way, the electronic device also supports the user to turn off the interface display of the second state, thereby saving power consumption when the user does not need it.

[0022] As an example of the present application, after the electronic device switches from the third interface to the screen-off interface, after detecting that the user's gaze duration reaches the third duration, or after receiving a re-triggering operation on the power button, or after receiving a triggering operation on the screen of the electronic device, the electronic device switches from the screen-off interface to the third interface. In this way, after closing the interface display in the second state, the interface in the second state can be redisplayed, so that the user can trigger the electronic device to switch according to needs, thereby improving the user experience.

[0023] In a second aspect, an electronic device is provided, comprising: one or more processors, and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the electronic device executes a method as described in any one of the above-mentioned first aspect.

[0024] In a third aspect, a chip system is provided, which is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes a method as described in any one of the above-mentioned first aspects.

[0025] In a fourth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on a computer, the computer executes the interface switching method described in the first aspect.

[0026] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the interface switching method described in the first aspect.

[0027] The technical effects obtained by the above-mentioned second, third, fourth and fifth aspects are similar to the technical effects obtained by the corresponding technical means in the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a schematic diagram showing a bracket state according to an exemplary embodiment;

[0029] Figure 2 is a schematic diagram showing an application scenario according to an exemplary embodiment;

[0030] Figure 3 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0031] Figure 4 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0032] Figure 5 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0033] Figure 6 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0034] Figure 7 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0035] Figure 8 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0036] Fig. 9 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0037] Fig.10 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0038] Fig.11 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0039] Fig.12 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0040] Fig.13 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0041] Fig.14 is a schematic diagram of an application scenario according to another exemplary embodiment;

[0042] Fig.15 is a flowchart of a method for interface switching according to an exemplary embodiment;

[0043] Fig.16 is a schematic diagram of an interface in a standby state according to an exemplary embodiment;

[0044] Fig.17 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0045] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0046] It should be understood that the "multiple" mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of this application, the words "first" and "second" are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not limit them to be different.

[0047] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0048] At present, the working states of electronic devices are becoming more and more diverse. For example, electronic devices can enter the standby state, and the power consumption of electronic devices in the standby state is very low. The standby state can also be called a low-power state or a smart display state. The standby state usually includes a variety of theme display modes. Different cards can be pushed to users in different theme display modes, and different cards display different theme contents. In some cases, users need electronic devices to switch between multiple theme display modes. Usually, users need to trigger the electronic device to switch the theme display mode by sliding operations, such as switching by sliding the standby interface left and right. The standby interface is the display interface in the standby state. However, if the number of theme display modes is large, when the user wants to switch to a certain theme display mode, the user may need to slide multiple times to find the desired theme display mode. This method results in a low switching efficiency of the theme display mode. To this end, an embodiment of the present application provides a method for interface switching, which can achieve rapid switching of theme display modes.

[0049] For ease of understanding, before the method provided in the embodiment of the present application is introduced in detail, the application scenarios involved in the embodiment of the present application are introduced.

[0050] As an example of the present application, the electronic device can enter the stand state when it is in the stand state. The stand state can be positioned as being in the table mode or the relaxation mode. For example, taking the electronic device as a bar phone, the stand state is when the bar phone is placed horizontally or fixed on the stand, such as Figure 1 As shown in Figure (a), when the bottom edge of the horizontal screen of the candy-bar phone is parallel to the horizontal plane or the angle between it and the horizontal plane is less than a certain angle, the candy-bar phone is also said to be in the horizontal screen state. Taking the electronic device as an example, the folding screen device is in the notebook state, tent state, calendar state, external screen horizontal state, internal screen horizontal state, internal screen vertical state or book state. The various stand states of the folding screen device are as follows: Figure 1 As shown in (b) to (h) in FIG. 1 , the laptop state refers to a folding angle range of 45 degrees to 145 degrees for the folding screen device and a certain length of time (such as 500ms). Figure 1 As shown in Figure (b) in the figure; the tent state refers to the folding angle range of the folding screen device being 0 degrees to 85 degrees and being stationary for a certain period of time, such as Figure 1 As shown in Figure (c) in the figure; the calendar state refers to the folding angle range of the folding screen device being 0 degrees to 80 degrees and being stationary for a certain period of time, such as Figure 1 As shown in Figure (d) in the figure; the horizontal screen state of the outer screen refers to the folding screen device being folded into a straight-screen shape and then left to stand for a certain period of time, such as Figure 1 As shown in Figure (e) in the figure; the inner screen horizontal state refers to the folding screen device's screen being unfolded to 180 degrees and then kept horizontal for a certain period of time, such as Figure 1 As shown in Figure (f) in the figure; the inner screen vertical screen state refers to the folding screen device's screen being unfolded to 180 degrees and the vertical screen being static for a certain period of time, such as Figure 1 As shown in Figure (g) in the figure; the book state refers to unfolding the screen of the folding screen device to a certain angle so that the folding screen device can be like an open book and can be left still for a certain period of time, such as Figure 1 As shown in Figure (h).

[0051] It should be noted that Figure 1 The stand state of the electronic device shown is only exemplary. In another example, other situations may also be included. For example, the stand state of a folding screen device may also include a horizontal screen state after the inner screen is folded outward into a straight-screen shape, etc. The embodiments of the present application are not limited to this.

[0052] When the electronic device is in the stand state, it can enter the standby state from different working states. For ease of understanding, the following uses the electronic device being a straight-screen device (such as a mobile phone) as an example to illustrate several possible situations in which the electronic device enters the standby state:

[0053] In one example, see Figure 2 In Figure (a), the electronic device is in the locked screen state. When the electronic device enters the stand state, see Figure 2 In Figure (e), the electronic device switches from the lock screen state to the standby state. For example, when the electronic device displays the lock screen interface, if the electronic device is placed horizontally on a bracket, the electronic device can automatically enter the standby state and switch from the lock screen interface to the standby interface. As an example and not a limitation, after the electronic device enters the standby state, it displays clock information, that is, a clock card (immersive display) that displays a clock weather theme display mode, and the clock information is displayed in the clock card, wherein the clock weather theme display mode is a theme display mode that pushes clock information and weather information.

[0054] In another example, see Figure 2 In (b), the electronic device is in the desktop state. When the electronic device enters the stand state, see Figure 2 In Figure (e), the electronic device switches from the desktop state to the standby state. For example, when the electronic device displays the desktop interface, if the electronic device is placed horizontally on a bracket, the electronic device automatically enters the standby state and switches from the desktop interface to the standby interface. As an example and not a limitation, the electronic device displays clock information after entering the standby state.

[0055] In yet another example, see Figure 2 In Figure (c), the electronic device is in the screen-off state. When the electronic device enters the stand state, see Figure 2 In Figure (e), the electronic device switches from the screen-off state to the standby state. For example, when the electronic device is in the screen-off state, if the electronic device is placed horizontally on a bracket, the electronic device automatically enters the standby state and switches from the screen-off interface to the standby interface. As an example and not a limitation, the electronic device displays clock information after entering the standby state.

[0056] In yet another example, see Figure 2 In Figure (d), the electronic device is in the AOD (always on display) state. When the electronic device enters the stand state, see Figure 2In Figure (e), the electronic device switches from the AOD state to the standby state. For example, when the electronic device displays the AOD interface, if the electronic device is placed horizontally on a bracket, the electronic device automatically enters the standby state and switches from the AOD interface to the standby interface. As an example and not a limitation, the electronic device displays clock information after entering the standby state.

[0057] In addition, electronic devices can Figure 2 In addition to entering the standby state from the several working states shown, the standby state can also be entered from any other use state. Figure 3 In (a) of FIG. 1 , a user places the electronic device horizontally on a bracket, and the electronic device is playing a video. In this case, if the user presses the power button of the electronic device, in response to the user's pressing of the power button, see Figure 3 As shown in Figure (b), the electronic device enters the standby state. As an example and not a limitation, the electronic device displays clock information after entering the standby state. Optionally, when a lock screen password is set for the electronic device, after the electronic device detects that the user presses the power button, before displaying the standby interface, it may first display an unlock interface to instruct the user to unlock, and the user may unlock by entering the unlock password or by face recognition. Accordingly, the electronic device performs unlock authentication. If the unlock authentication passes, the electronic device displays the standby interface, otherwise, if the unlock authentication fails, the electronic device does not display the standby interface, for example, it may display an unlock failure prompt.

[0058] After the electronic device enters the standby state, if the user wants the electronic device to exit the standby state, the user can trigger the electronic device to exit the standby state in a variety of ways. As an example but not a limitation, the following two possible implementations may be included:

[0059] In the first possible implementation, see Figure 4 In Figure (a), the user can swipe up from the bottom of the screen of the electronic device. In response to the user swiping up from the bottom of the screen, the electronic device exits the standby state. That is, in the standby state, if the user swipes up from the bottom of the screen, the electronic device does not trigger multitasking, the standby state does not appear in the multitasking manager, and the electronic device exits the standby state. As an example and not a limitation, after the electronic device exits the standby state, it can redisplay the working state before entering the standby state. For example, see Figure 4In (b) of FIG. 1 , when the electronic device enters the standby state from the lock screen state, in response to the user sliding upward from the bottom of the screen, the electronic device exits the standby state and redisplays the lock screen interface. Figure 4 In (c) of FIG. 1 , when the electronic device enters the standby state from the desktop state, in response to the user sliding upward from the bottom of the screen, the electronic device exits the standby state and redisplays the desktop interface. As an example and not a limitation, if the electronic device always maintains the stand state, after the electronic device exits the stand state and redisplays the desktop interface, it may not enter the standby state again, and enter the standby state again when it is in the stand state again.

[0060] In one example, when an electronic device enters a standby state from a desktop state, in response to a user sliding upward from the bottom of the screen, if the electronic device has reached the automatic screen lock time, the electronic device exits the standby state and enters the lock screen state, that is, switches from the standby interface to the lock screen interface. Otherwise, if the electronic device has not reached the automatic screen lock time, the electronic device exits the standby state and enters the desktop state, that is, switches from the standby interface to the desktop interface. For example, when the electronic device is in the desktop state, if there are still 10 seconds until the automatic screen lock time, the electronic device enters the standby state and displays the standby interface. Afterwards, if the user slides upward from the bottom of the screen within 10 seconds, since the automatic screen lock time has not yet been reached, in response to the user sliding upward from the bottom of the screen, the electronic device switches from the standby state to the desktop state, that is, switches from the standby interface to the desktop interface. Alternatively, after the electronic device enters the standby state, if the user swipes upward from the bottom of the screen after 10 seconds, since the automatic lock screen time has been reached, the electronic device switches from the standby state to the lock screen state in response to the user swiping upward from the bottom of the screen, that is, switches from the standby interface to the lock screen interface.

[0061] In the second possible implementation, see Figure 5 In (a) of FIG. 1 , the electronic device enters the stand state. After that, if the electronic device exits the stand state, for example, the user removes the electronic device from the stand, or turns the electronic device vertically, the electronic device automatically exits the stand state and can switch to the state before entering the stand state. For example, see Figure 5In (b) of FIG. 1 , when the electronic device enters the standby state from the lock screen state, if the user turns the electronic device vertically, the electronic device detects this operation and switches from the standby state to the lock screen state, and redisplays the lock screen interface. Figure 5 In (c), when the electronic device enters the standby state from the desktop state, if the user turns the electronic device vertically, the electronic device detects this operation and switches from the standby state to the desktop state, and redisplays the desktop interface. As an example and not a limitation, the electronic device can detect whether the electronic device is in the horizontal or vertical state through a sensor such as a gyroscope.

[0062] In one example, when the electronic device enters the stand state from the desktop state, if the electronic device exits the stand state and the electronic device has reached the automatic screen lock time, the electronic device exits the stand state and enters the lock screen state, that is, switches from the standby interface to the lock screen interface. Otherwise, if the electronic device has not reached the automatic screen lock time, the electronic device exits the standby state and enters the desktop state, that is, switches from the standby interface to the desktop interface.

[0063] As an example of the present application, the electronic device also supports the user to turn off the display of the standby interface. Figure 6 In (a), after the electronic device enters the standby state, if the user wants to control the electronic device not to display the standby interface, the user can press the power button. In response to the user pressing the power button, see Figure 6 In the figure (b), the electronic device no longer displays the standby interface, that is, enters the screen-off state. In one example, when the user presses the power button or touches the screen again, the electronic device displays the standby interface again, that is, enters the state as shown in the figure again. Figure 6 In another example, if the electronic device turns on the smart recognition function, for example, the user turns on the switch of the smart recognition function through the "Settings-Accessibility" path, then when the screen is off (i.e., the display is as shown in FIG. Figure 6 In the case of the interface shown in (b) of FIG. 1 ), if it is detected that the user is staring at the screen for a long time, the electronic device redisplays the standby interface, that is, redisplays the Figure 6 The interface shown in Figure (a).

[0064] As an example of the present application, when the electronic device is not in a charging state, after the electronic device enters the standby state, if the user does not operate the electronic device within a certain period of time (such as 20 seconds), the electronic device may no longer display the standby interface and enter the state such as Figure 6The interface shown in Figure (b) in the figure can be used to save power. The user can then touch the screen, press the power button, or stare at the screen for a long time to trigger the electronic device to display the standby interface again. When the electronic device is in a charging state, the standby interface can be displayed after the electronic device enters the standby state. Afterwards, if the user unplugs the charging cable and the electronic device enters an uncharged state, the electronic device can start timing. If the user does not operate the electronic device within a certain period of time (such as 20 seconds), the electronic device may no longer display the standby interface and enter a state such as Figure 6 The interface shown in Figure (b) in order to save power.

[0065] As an example, after the electronic device enters the standby state, the power button and the fingerprint unlocking function in the screen can be disabled to prevent conflicts with other operations in the standby state.

[0066] As an example of the present application, when a lock screen password is set for an electronic device, after the user triggers the electronic device to close the display of the standby interface, that is, the electronic device enters the state of Figure 6 After the state shown in (b) of FIG. 1 , if the user presses the power button of the electronic device or the user touches the screen, the electronic device may first enter the unlocking interface in response to the user pressing the power button or the user touching the screen before redisplaying the standby interface, and then the user may unlock the device in the unlocking interface, for example, the user may unlock the device by entering an unlocking password or by face recognition. Accordingly, the electronic device performs unlocking authentication. If the unlocking authentication passes, the electronic device redisplays the standby interface, otherwise, if the unlocking authentication fails, the standby interface may not be redisplayed.

[0067] It should also be noted that the above embodiment is only described by taking the display of clock information after entering the standby state, that is, entering the clock weather theme display mode as an example. In another example, the standby state also supports other theme display modes, such as other theme display modes including but not limited to the album (i.e. gallery) theme display mode and the video theme display mode, where the album theme display mode is a theme display mode for pushing pictures, and the video theme display mode is a theme display mode for pushing video content. Figure 7 In Figure (a), the electronic device is in the locked screen state as an example. In this case, after the electronic device is in the stand state, it may enter the following theme display modes:

[0068] In one possible case, see Figure 7In Figure (b), after the electronic device enters the standby state, the clock information is displayed, that is, the clock weather theme display mode is entered, and a clock card including clock information in the clock weather theme display mode is displayed in an immersive manner.

[0069] In another possible case, see Figure 7 In Figure (c), after the electronic device enters the standby state, it displays a picture in the album (i.e., the gallery), that is, it enters the album theme display mode and displays a picture card in the album theme display mode. For example, the electronic device can randomly select a picture from the album for display, or it can select a picture from the album for display according to a certain strategy, for example, it can display the latest picture taken, or it can also display a picture taken on this day last year, etc., which is not limited in the embodiments of the present application.

[0070] In another possible case, see Figure 7 In the figure (d), after the electronic device enters the standby state, the video screen of the target video is displayed, that is, the video theme display mode is entered, and a video card of the video theme display mode is displayed. Among them, the target video is a video played in a video application that supports the standby state in the electronic device, and the video application that supports the standby state belongs to the whitelist, and can be referred to as the whitelist video application in the future. In one example, the target video can be a video that the user has recently watched in the whitelist video application. If the user has only watched videos through a whitelist video application recently, a video played by the electronic device through the whitelist video application is determined as the target video, for example, the video can be the one played most recently; if the user has recently watched different videos through multiple whitelist video applications, the electronic device can select the video that the user has watched most recently through the whitelist video application as the target video. In a possible implementation, if the user has not watched a video through a whitelist video application recently, the electronic device can display the homepage of the whitelist video application, and if the number of whitelist video applications is multiple, a whitelist video application can be selected from multiple whitelist video applications, for example, it can be randomly selected, and then the homepage of this whitelist video application is displayed.

[0071] Alternatively, see Figure 7 In (d) of FIG. 1 , the video card includes a “play” control, and the “play” control may be a resident control. The user may click the “play” control. In response to the user’s click operation on the “play” control, see Figure 7In Figure (e), the electronic device enters the video playback page and plays the video to which the video card belongs, that is, plays the target video. Exemplarily, the electronic device can display the video playback page in full screen and play the video. Afterwards, the user can trigger the electronic device to display the desktop interface by sliding upward from the bottom of the screen. In this way, by providing a "play" control in the video card, the user can trigger the electronic device to play the video being followed with one click in the standby state, providing the user with an interactive way to quickly follow the drama, thereby improving the user experience.

[0072] In the case where the electronic device is set with a lock screen password, after receiving the user's click operation on the "play" control, the electronic device can first display the unlock interface to instruct the user to unlock. The user can unlock in the unlock interface, for example, the user can unlock by entering an unlock password or face recognition. Accordingly, the electronic device performs unlock authentication. If the unlock authentication passes, the electronic device enters the video playback page. If the interface unlock authentication fails, the electronic device does not enter the video playback page. After entering the video playback page, the electronic device exits the standby state. If it needs to enter the standby state again next time, it needs to meet the conditions for entering the standby state again.

[0073] In one example, if the video card displays the home page of a whitelist video application, after the user clicks on the video card, the electronic device enters the home page of the whitelist video application.

[0074] When the electronic device displays the clock weather theme display interface in the standby state, if the displayed card supports jump, when the user clicks the displayed card, the electronic device displays a hidden jump icon, and the user can trigger the electronic device to enter the application details page through the jump icon. Figure 8 In Figure (a), the electronic device displays a weather card in the clock weather theme display mode in the standby state, and the user can click on the weather card. Figure 8 In (b), in response to the user's click operation on the weather card, the electronic device displays a jump icon 80 in the weather card, and the user can click the jump icon 80. In response to the user's click operation on the jump icon 80, see Figure 8In Figure (c), the electronic device enters the weather application and displays the weather details page, so that the user can quickly browse the weather details information. Optionally, when the electronic device is set with a lock screen password, after the electronic device receives the user's click operation on the jump icon 80, it can first display the unlock interface to instruct the user to unlock. The user can unlock in the unlock interface, for example, the user can unlock by entering an unlock password or face recognition. Accordingly, the electronic device performs unlock authentication. If the unlock authentication passes, the electronic device enters the weather details page. If the unlock authentication fails, the electronic device does not enter the weather details page, for example, a prompt for unlock failure can be displayed.

[0075] As an example of the present application, if the electronic device enters the standby state for the first time, the electronic device may enter the clock weather theme display mode by default. If the electronic device does not enter the standby state for the first time, the electronic device may determine the theme display mode according to the intelligent recommendation strategy. The intelligent recommendation strategy may be set according to the demand. The intelligent recommendation strategy may comprehensively consider factors such as time, location, and user active feedback. As an example, the electronic device may display in the theme display mode before the last exit from the standby state. For example, the clock information was displayed after entering the standby state last time. The user actively slides to the album theme display mode. After entering the standby state this time, the picture card of the album theme display mode may be displayed, that is, the album theme display mode is entered. As another example, the user can also count the theme display modes adopted by the electronic device after entering the standby state in different time periods, so as to display according to the current time period. For example, if statistics show that after the electronic device enters the standby state within a certain time period, the user will actively trigger the electronic device to switch to the video theme display mode, for example, after the electronic device enters the standby state during the noon time period, the user will trigger the electronic device to switch to the video theme display mode, then when the electronic device enters the standby state during the noon time period, it enters the video theme display mode, that is, the video card is displayed.

[0076] It should be noted that the above display mode after entering the standby state is only exemplary. In another example, other implementation methods may also be included. For example, each time the electronic device enters the standby state, it may randomly select a theme display mode from the above three theme display modes for display. In addition, the electronic device may also support other theme display modes in the standby state, such as fitness theme display mode, takeaway theme display mode, music theme display mode, tutorial theme display mode, etc. Among them, the fitness theme display mode is a theme display mode for pushing sports health information, the takeaway theme display mode is a theme display mode for pushing takeaway information, the music theme display mode is a theme display mode for pushing music, and the tutorial theme display mode may push cooking, beauty and other content.

[0077] As an example of the present application, each theme display mode may provide one or more different cards, and different cards may display different information. For example, the video theme display mode includes card a and card b, card a is used to push the video screen of TV series A, and card b is used to push the video screen of TV series B. For another example, the clock weather theme display mode includes a weather card and a clock card, the weather card is used to push weather information, and the clock card is used to push clock information.

[0078] In one example, a user can trigger the electronic device to switch between different theme display modes by sliding left and right, and trigger the electronic device to switch between different cards in the same theme display mode by sliding up and down. Fig. 9 In Figure (a), the electronic device enters the standby state and displays the video card. When the user slides left (or right) in the standby interface, see Fig. 9 In (b) of FIG. 1 , in response to the user's left (or right) sliding operation, the electronic device enters another theme display mode, such as entering the clock weather theme display mode, and displays the clock card. In addition, in the case where the electronic device displays the video card after entering the standby state, when the user slides up (or down) in the standby interface, see Fig. 9 In (c) of FIG. 1 , in response to the user's upward (or downward) sliding operation, the electronic device displays another video card in the video theme display mode. During the sliding process, when the sliding stops, the electronic device can display a rebound effect when continuing to slide, or it can also display cards in a loop. For example, when entering a certain theme display mode, if the user slides down to the last card and then slides down again, the electronic device can display a rebound effect, or it can also redisplay the first card of the theme display mode.

[0079] According to the above embodiments, it can be seen that multiple theme display modes are supported in the standby state. In one possible case, the user needs to quickly find a theme display mode. To this end, the electronic device can also support fast theme display mode switching. For example, see Fig.10 In Figure (a), when the user wants to quickly find a theme display mode, he can pinch with multiple fingers in the currently displayed standby interface, for example, he can use the thumb and index finger to pinch. Fig.10 In (b), in response to the user's multi-finger pinch operation, the electronic device displays a card of each theme display mode in multiple theme display modes side by side, for example, 6 cards are displayed. If the number of theme display modes supported in the standby state exceeds 6, the user can trigger the electronic device to display more theme display mode cards by sliding left and right, and a rebound effect can be displayed after touching the bottom. In this way, the user can click on the theme display mode card to be found from the multiple cards displayed side by side according to the needs. For example, see Fig.10 In (b) of FIG. 1 , the user clicks on the card 1000. In response to the user's click operation on the card 1000, see Fig.10 In Figure (c), the user displays card 1000 in the standby interface. Of course, if the user continues to click the "play" control in card 1000, see Fig.10 In Figure (d), in response to the user's triggering operation on the "play" control, the electronic device displays the video playback page and starts playing the video. In this way, the user can trigger the electronic device to display multiple theme display mode cards side by side by pinching with multiple fingers, so that the user can quickly and efficiently find the theme display mode that the user wants to display, avoiding the need for the user to swipe left and right multiple times to find, and improving the speed of switching theme display modes, thereby improving the user experience.

[0080] As an example of the present application, the electronic device also supports editing the cards displayed in the standby state. Fig.11 In Figure (a), the electronic device is in standby mode and currently displays a clock card. When the user wants to edit the card, he can long press the standby interface. Fig.11 In (b), in response to a user's long press operation on the standby interface, the electronic device displays an editing interface, which may be displayed with a dynamic effect, for example. The editing interface includes a thumbnail of a clock card and multiple editing controls, and the user can edit the card based on the multiple editing controls.

[0081] In one example, see Fig.12 In Figure (a), the multiple edit controls include edit control a, and the user can click on edit control a. Fig.12In (b) of FIG. 1 , in response to a user clicking on the editing control a, the electronic device displays a detailed editing floating window 1200 on the editing interface, and the user can edit the color, font, style, etc. of the currently displayed clock card based on the detailed editing floating window 1200. For example, the user can select a font from the multiple displayed fonts according to the needs, and in response to the user's font selection operation, the electronic device changes the font of the text in the clock card to the font selected by the user. For another example, the user can select a color from the multiple displayed colors, and in response to the user's color selection operation, the electronic device changes the color of the text in the clock card to the color selected by the user.

[0082] In one example, see Fig.13 In Figure (a), the multiple edit controls may further include an edit control b, and the user may click on the edit control b. Fig.13 In (b) of FIG. 1 , in response to the user clicking the editing control b, the electronic device displays a card adding interface U1, in which the cards that can be added to the clock weather theme display mode are displayed. Thus, the user can select a card in the card adding interface U1, for example, the user selects card 2. Fig.13 In Figure (c), in response to the user's selection operation on card 2, the electronic device redisplays the editing interface, adds the thumbnail of card 2 as the previous or next thumbnail of card 1 in the editing interface, and displays the thumbnail of card 2 in the editing interface. As a non-limiting example, a theme display mode can include up to 10 cards. If 10 cards are reached, the editing control b can be grayed out, indicating that no more cards can be added.

[0083] After adding Card 2, if the user wants to display Card 2 in the standby state, he can click Card 2. Fig.13 In (d) of FIG. 1 , in response to the user's click operation on card 2, the electronic device displays card 2 in the standby state, that is, the editing interface is no longer displayed. If the user needs to continue editing the card, he can long press the interface where card 2 is located to trigger the electronic device to display the editing interface. Alternatively, a "back" control is provided in the editing interface. If the user wants to display card 2 in the standby state, the user can click the "back" control. In response to the user's click operation on the "back" control, the electronic device displays card 2 in the standby state.

[0084] It should be noted that the above-mentioned card adding process is only exemplary. In another example, the electronic device can also support batch adding. Exemplarily, a complete adding control can also be provided in the card adding interface U1. When the user wants to add multiple cards, he can long press a card in the card adding interface U1. In response to the user's long press operation, the electronic device displays the card long pressed by the user as a selected state, and displays other cards in the card adding interface U1 as optional states. In this way, the user can select the card to be added from other optional cards as needed. After selecting multiple cards, the user can click the complete adding control. In response to the user's click operation on the complete adding control, the electronic device adds the multiple cards selected by the user to the clock weather theme display mode, and displays thumbnails of the added cards in the editing interface. In this way, the efficiency of adding cards can be improved.

[0085] It should be noted that the above embodiment only exemplarily illustrates several editing controls included in the editing interface. In another example, the editing interface may also include other editing controls, which is not limited in the embodiment of the present application.

[0086] When the editing interface is displayed, the user can also delete the card. For example, the user can slide the thumbnail of the card up and down in the editing interface to make the electronic device switch to display thumbnails of different cards in the editing interface. When the user wants to delete the thumbnail of a currently displayed card, he can slide the thumbnail of the card to the left, for example, Fig.14 In (a) of FIG. 1 , when the user wants to delete the clock card, the user can slide the clock card to the left. In response to the user's operation of sliding the clock card to the left, see Fig.14 In (b) of FIG. 1 , the electronic device displays a delete control in the editing interface. The user can click the delete control. In response to the user's click operation on the delete control, the electronic device deletes the clock card from the clock weather theme display mode and displays a thumbnail of the next card of the clock card in the editing interface, such as Fig.14 As shown in Figure (c) in the figure. When there is only one card left in the clock card theme display mode, card deletion is no longer supported. For example, when the user slides the thumbnail of the remaining card to the left in the editing interface, the electronic device no longer displays the deletion control.

[0087] It should be noted that the above-mentioned deletion operation process is only exemplary. In another example, the electronic device can also support batch deletion of cards. Exemplarily, the electronic device can provide a deletion control in the editing interface. When the user wants to delete cards in batches, he can long press the thumbnail of the clock card currently displayed in the editing interface. In response to the user's long press operation, the electronic device displays the thumbnail of the clock card as selected. After that, the user can slide the thumbnail of the clock card up or down so that the thumbnails of other unselected cards are displayed in the editing interface of the electronic device. The user can select the thumbnails of other unselected cards as needed. The current electronic device does not support full selection. After selecting the thumbnails of multiple cards, the user can click the delete control. In response to the user's click operation on the delete control, the electronic device deletes the multiple cards selected by the user from the clock weather theme display mode. In this way, the efficiency of card deletion can be improved.

[0088] See also Fig.11 In (b) of FIG. 1, in addition to the thumbnail of the clock card and multiple editing controls, the editing interface also displays a card page number mark 1100 to indicate how many cards there are when the current theme display mode includes multiple cards. Among them, the card page number mark corresponding to the clock card in the card page number mark 1100 can be displayed as a selected state, indicating which card is currently displayed. In this way, the user can see how many cards there are before and after the clock card, for example, see Fig.11 From Figure (b) in the figure, we can see that there is 1 card in front of the clock card and 2 cards behind it.

[0089] Optionally, when the electronic device is set with a lock screen password, the electronic device may display an unlocking interface before displaying the editing interface. When the user successfully unlocks the device based on the unlocking interface, the electronic device displays the editing interface.

[0090] As an example of the present application, in the standby state, when the user slides down from the right side of the top of the screen, in response to the user sliding down from the right side of the top of the screen, the electronic device displays the control center. Or, when the user slides down from the left side of the top of the screen, in response to the user sliding down from the left side of the top of the screen, the electronic device displays the notification center. Optionally, in the case where the electronic device is set with a lock screen password, before displaying the control center or the notification center, an unlocking interface can also be displayed to instruct the user to unlock. The control center or the notification center is displayed when the unlocking is successful, otherwise it is not displayed.

[0091] After introducing the application scenarios involved in the embodiments of the present application, the method provided by the embodiments of the present application is introduced next. Fig.15 , Fig.15This is a flowchart of a method for interface switching according to an exemplary embodiment. The method can be applied to electronic devices and may mainly include part or all of the following contents:

[0092] S1501: The electronic device is in a first state, where the first state includes a screen-on state or a screen-off state.

[0093] The screen-on state includes displaying the desktop interface, the lock screen interface, or other interfaces in use state, such as the video playback interface, etc. The screen-off state includes displaying the screen-off interface or the AOD interface.

[0094] S1502: When the electronic device meets the target state switching condition, the electronic device switches from the first state to the second state, and displays the first interface in the second state.

[0095] In the second state, the electronic device is in a low power consumption mode and is displayed in a horizontal screen, for example, the second state is a standby state.

[0096] The target state switching condition includes that the electronic device is in a stand state. As an example of the present application, when the electronic device includes only one display unit, the stand state means that the electronic device is in a horizontal screen state and the duration is greater than a first duration. When the electronic device includes two display units, the stand state means that the angle between the two display units is less than or equal to the first preset angle and greater than or equal to the second preset angle, and the duration is greater than the first duration, and the first preset angle is greater than the second preset angle. Or the stand state means that the angle between the two display units of the electronic device is 0 degrees or 180 degrees in a horizontal screen state and the duration is greater than or equal to the first duration.

[0097] The first preset angle and the second preset angle can be set as required. For example, the first preset angle is 145 degrees and the second preset angle is 45 degrees; or the first preset angle is 85 degrees and the second preset angle is 0 degrees; or the first preset angle is 85 degrees and the second preset angle is 0 degrees. Figure 1 (b) to (h) in the figure.

[0098] The first duration can be set according to demand, for example, the first duration is 500ms.

[0099] In one example, the target state switching condition also includes receiving a power button pressing operation by the user.

[0100] As an example and not a limitation, the posture, folding angle and duration of the electronic device can be determined by acquiring sensor data collected by sensors such as acceleration sensors and gyroscope sensors, and the embodiments of the present application are not limited to this.

[0101] The first interface may display a card of the first theme display mode among multiple theme display modes. For example, the first interface displays a card of the clock weather theme display mode, or the first interface displays a card of the video theme display mode, or the first interface displays a card of the album theme display mode. For specific implementation, please refer to Figure 7 The embodiment shown.

[0102] S1503: In response to a first operation received in the first interface, the electronic device switches from the first interface to a second interface, and the second interface displays a card of each second theme display mode among a plurality of second theme display modes.

[0103] For example, see Fig.10 In Figure (a), the first operation can be a multi-finger pinch operation. The second interface is Fig.10 The interface shown in Figure (b).

[0104] The plurality of second theme display modes may be all theme display modes except the first theme display mode in the second state, or may be some theme display modes except the first theme display mode in the second state.

[0105] The second interface may also display a card in the first theme display mode, for example, this card may be the card displayed in the first interface.

[0106] As an example of the present application, before displaying the second interface, the electronic device determines the most recently played video, for example, when receiving the first operation, and then generates a corresponding video card according to the most recently played video, and the electronic device determines the generated video card as a card to be displayed in the video theme display mode. Exemplarily, the most recently played video can be a video recently played by a whitelist video application, such as a TV series that the user is currently following through the whitelist video application.

[0107] That is, before displaying the second interface, the video recently played by the whitelist video application in the electronic device can be determined, for example, the recently played video can be searched from the playlist of the whitelist video application. Then a video card corresponding to the video is generated, so that the generated video card can be displayed in one of the multiple display areas in the second interface. For example, see Fig.10 In Figure (b), the generated video card is card 1000.

[0108] S1504: In response to a second operation on the first card in the second interface, the electronic device switches from the second interface to the third interface, and the first card is displayed in the third interface.

[0109] The second card may be the same as or different from the card displayed in the first interface. For example, the card displayed in the first interface is a clock card, and the second card is a video card.

[0110] The second operation can be a click operation. Fig.10 In (b) of FIG. 100, the second operation on the first card may be a click operation on the card 1000. In this case, it means that the user wants to display the first card in the second state. At this time, the electronic device switches from the second interface to the third interface. For example, the third interface is as shown in FIG. Fig.10 As shown in Figure (c).

[0111] Thus, after entering the second state and displaying the first interface, the user can trigger the electronic device to display cards of each second theme display mode in multiple second theme display modes side by side through the first operation. Thus, the user can select the second theme display mode to be displayed according to the needs, and can trigger the electronic device to quickly switch the theme mode with one click.

[0112] S1505: When the desktop interface is displayed in the first state, when the electronic device meets the second state exit condition, it switches from the third interface to the lock screen interface or the desktop interface.

[0113] When the electronic device meets the second state exit condition, if the electronic device has reached the automatic screen lock time, it switches from the third interface to the lock screen interface. If the electronic device has not reached the automatic screen lock time, it switches from the third interface to the desktop interface.

[0114] In one example, the second state exit condition includes the electronic device entering the non-stand state or receiving a third operation on the third interface, where the third operation is an operation of sliding upward from the bottom of the screen of the electronic device. Figure 4 and Figure 5 The embodiment shown.

[0115] It should be noted that the embodiment of the present application is described by taking the case where the electronic device enters the second state from the desktop interface and when the second state exit condition is met, switching from the third interface to the lock screen interface or the desktop interface as an example. In another example, when the electronic device enters the second state from the desktop interface and when the second state exit condition is met, the electronic device may also directly switch from the third interface to the desktop interface, that is, regardless of whether the automatic lock screen time is reached, the electronic device returns to the desktop interface, and the embodiment of the present application does not limit this.

[0116] As an example of the present application, the first card displayed in the third interface is a video card in the video theme display mode, and a video playback control is displayed in the third interface. In this case, after switching to the third interface, in response to the fourth operation on the video playback control in the third interface, the electronic device switches from the third interface to the video playback interface and starts playing the video corresponding to the video content displayed in the first card. Exemplarily, the fourth operation is a click operation. For specific implementation, see Figure 7 Figures (d) to (e) in the figure.

[0117] Optionally, in response to the fourth operation on the video playback control in the third interface, the specific implementation of the electronic device switching from the third interface to the video playback interface includes: in response to the fourth operation on the video playback control in the third interface, when the electronic device does not set a lock screen password, the electronic device switches from the third interface to the video playback interface. In the case where the electronic device sets a lock screen password, the electronic device switches from the third interface to the unlock interface, and when the user's unlock information is received, the unlock authentication is performed, and the video playback interface is switched from the unlock interface when the authentication is passed. The unlock information can be an unlock password or facial information entered by the user.

[0118] As an example of the present application, the first card displayed in the third interface is a weather card in the clock weather theme display mode. In this case, after switching to the third interface, in response to the triggering operation of the third interface, the electronic device displays a jump control in the third interface. In response to the triggering operation of the jump control, the electronic device switches from the third interface to the weather application details page. For example, see Figure 8 The embodiment shown.

[0119] It should be noted that the embodiment of the present application is described by taking the case where a weather card is displayed and a jump control is displayed when a user triggers the third interface. In another example, as long as the displayed card supports jump, when a trigger operation is received on the interface where the displayed card is located, a corresponding jump control can be displayed, so that the user triggers the electronic device to enter the application details page through the jump control.

[0120] As an example of the present application, in response to a first sliding operation received in the third interface, the electronic device switches from the third interface to the fourth interface, the first sliding operation is a sliding operation in the horizontal direction, and the third interface and the fourth interface belong to interfaces of different theme display modes; or, in response to a second sliding operation received in the third interface, the electronic device switches from the third interface to the fifth interface, the second sliding operation is a sliding operation in the vertical direction, and the third interface and the fifth interface are different interfaces of the same theme display mode. For example, see Fig. 9In the embodiment shown, the first sliding operation can be a left or right sliding operation, and the second sliding operation can be an up and down sliding operation, that is, the user can trigger the electronic device to switch to different theme display modes by sliding left and right, and trigger the electronic device to switch to different cards in the same theme display mode by sliding up and down.

[0121] As an example of the present application, in response to an editing operation on a third interface, the electronic device switches from the third interface to an editing interface, in which multiple editing controls and thumbnails of the first card are provided. In response to a triggering operation on a first editing control among multiple editing controls, the electronic device displays a card adding interface, in which at least one second card is displayed, and the first card and the at least one second card are cards in the same theme display mode. In response to an adding operation on a target second card among at least one second card, the card adding interface is switched to the editing interface, and the second card is added as the previous card or the next card of the first card. For specific implementation, please refer to Fig.11 and Fig.13 In the embodiment shown, for example, the first editing control is Fig.13 (a) in figure b.

[0122] As an example of the present application, after switching to the editing interface, in response to the sixth operation on the thumbnail of the first card, the delete control of the first card is displayed. In response to the triggering operation of the delete control of the first card, the first card is deleted, and the thumbnails of the adjacent cards of the first card are displayed in the editing interface. Exemplarily, the sixth operation can be a left swipe operation. For specific implementation, please refer to Fig.14 The embodiment shown.

[0123] As an example of the present application, in response to the third sliding operation on the thumbnail of the first card, the thumbnail of the first card in the editing interface is switched to the thumbnail of the third card adjacent to the first card in the sliding direction of the third sliding operation, and the third sliding operation is a sliding operation in the vertical direction, that is, the third sliding operation can be an up and down sliding operation. In response to the seventh operation on the thumbnail of the third card, the editing interface is switched to the sixth interface, and the third card is displayed in the sixth interface. Exemplarily, the seventh operation is a click operation. That is, the user can slide the thumbnails up and down in the editing interface, and then click on the thumbnail displayed after the sliding, so that the electronic device displays the card corresponding to the clicked thumbnail in the second state.

[0124] As an example of the present application, in response to a triggering operation on a second editing control among multiple editing controls, the electronic device displays a detailed editing floating window in the editing interface, and the detailed editing floating window is used for the user to edit the display form of the first card or the area where the thumbnail of the first card is located. Fig.12 , the second edit control is Fig.12 (a) in the figure, the detailed editing pop-up window is Fig.12 1200 in (b) Figure 1.

[0125] It should be noted that Fig.12 The following is an example of displaying the detailed editing pop-up window corresponding to the clock card. For other cards, the display content in the corresponding detailed editing pop-up window may be different, which may be determined by the business. Fig.16 , Fig.16 1 is a schematic diagram of a detailed editing floating window corresponding to a picture card according to an exemplary embodiment, which includes a smart selection option, a specified album option, a specified picture option, and a picture playback interval setting option. When the user clicks on the smart selection option, in response to the user's click operation on the smart selection option, the electronic device plays the pictures in the smart selection album in the area where the picture card 1600 is located, and the playback interval is 10 seconds. The pictures in the smart selection album can be pictures selected and collected by the user. When the user clicks on the specified album option, in response to the user's click operation on the specified album option, the electronic device plays the pictures in the specified album in the area where the picture card 1600 is located, and the playback interval is 10 seconds. The specified album can be an album set according to demand, such as an album for storing screenshots or an album for storing certain specific types of pictures. When the user clicks on the specified picture option, in response to the user's click operation on the specified picture option, the electronic device displays the gallery interface, and the user can select the picture to be played from the gallery interface. After that, the electronic device plays the picture selected by the user in the area where the picture card 1600 is located, and the playback interval is 10 seconds. When the user clicks on the picture playback interval setting option, in response to the user's click operation on the picture playback interval setting option, the electronic device displays a playback interval setting interface, so that the user can set the picture playback interval in the playback interval setting interface, for example, set it to 5 seconds, and then the electronic device plays a picture every 5 seconds in the area where the picture card 1600 is located, such as playing pictures in the smart selection album. During the picture playback process, if it is detected that the user clicks on the picture played in the area where the picture card 1600 is located, the electronic device exits the editing interface and displays the picture clicked by the user in the second state.

[0126] As an example of the present application, after switching to the third interface, in response to the triggering operation of the power button of the electronic device, the electronic device switches from the third interface to the screen-off interface. For specific implementation, see Figure 6 Alternatively, when the electronic device is not charged, after switching to the third interface, if no user operation is received within the second time period, the electronic device can switch from the third interface to the screen-off interface. The second time period can be set as required, for example, the second time period is 500ms.

[0127] As an example of the present application, after switching from the third interface to the screen-off interface, when it is detected that the user's gaze time reaches the third time length, or when the power button is triggered again, or when a trigger operation (such as a tap operation) is received on the screen of the electronic device, the electronic device switches from the screen-off interface to the third interface.

[0128] The user's gaze duration may refer to the length of time the user's gaze point is on the screen.

[0129] The third duration can be set according to demand, and this embodiment of the present application does not limit this.

[0130] In an embodiment of the present application, the electronic device is in a first state, and the first state includes a screen-on state or a screen-off state. When the electronic device meets the target state switching condition, it switches from the first state to the second state, and displays the first interface in the second state. In the second state, the electronic device is in a low power consumption mode and is displayed in a horizontal screen. The target state switching condition includes that the electronic device is in a bracket state, and the first display interface displays a card of the first theme display mode. In response to the first operation received in the first interface, the electronic device switches from the first interface to the second interface, and the second interface displays a card of each second theme display mode in a plurality of second theme display modes. In this way, the user can choose which theme display mode to switch to according to the needs. For example, when the user wants to switch to the second theme display mode to which the first card belongs, the first card in the second interface can be triggered. After receiving the second operation on the first card in the second interface, the electronic device switches from the second interface to the third interface, and the first card is displayed in the third interface. In this way, the electronic device can be quickly switched to the theme display mode required by the user, thereby improving the switching efficiency of the theme display mode.

[0131] Before explaining the interface switching method provided in the embodiment of the present application in detail, the terminal involved in the embodiment of the present application is first explained. The electronic device can be a mobile phone, a sports camera (GoPro), a digital camera, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a vehicle-mounted device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR)\virtual reality (virtual reality, VR) device, etc., and the embodiment of the present application does not limit this.

[0132] Fig.17 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.17The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 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, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0133] Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air 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.

[0134] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0135] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0136] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0137] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

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

[0139] The charging management module 140 is used to receive charging input from the charger. While the charging management module 140 is charging the battery 142, it can also power the electronic device 100 through the power management module 141. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and powers the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193 and the wireless communication module 160.

[0140] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0141] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0142] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is an integer greater than 1.

[0143] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0144] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0145] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created by the electronic device 100 during use (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0146] The electronic device 100 can implement audio functions, such as music playback, recording, etc., through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D and the application processor.

[0147] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0148] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (such as: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (such as: infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital versatile disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).

[0149] The above are optional embodiments provided for the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the technical scope disclosed in the present application shall be included in the protection scope of the present application.

Claims

1. A method for interface switching, characterized in that: Applied to electronic equipment, the method comprises: The electronic device is in a first state, wherein the first state includes a screen-on state or a screen-off state; When the electronic device satisfies the target state switching condition, the electronic device switches from the first state to the second state and displays the first interface in the second state, in which the electronic device is in a low power consumption mode and displayed in landscape mode, and the target state switching condition includes that the electronic device is in a stand state and the first interface displays a card in a first theme display mode; In response to a first operation received in the first interface, the electronic device switches from the first interface to a second interface, where the second interface displays a card of each of a plurality of second theme display modes; In response to a second operation on the first card in the second interface, the electronic device switches from the second interface to a third interface, and the first card is displayed in the third interface, and the first card is a card in the second theme display mode.

2. The method according to claim 1, characterized in that In the case where the electronic device includes only one display unit, the support state means that the electronic device is in a horizontal screen state and the duration is greater than the first duration; When the electronic device includes two display units, the support state means that the angle between the two display units is less than or equal to a first preset angle and greater than or equal to a second preset angle, and the duration is greater than the first duration, and the first preset angle is greater than the second preset angle.

3. The method according to claim 1 or 2, characterized in that Displaying the desktop interface in the first state; In response to the second operation on the first card in the second interface, after the electronic device switches from the second interface to the third interface, the electronic device further includes: When the electronic device meets the second state exit condition, it switches from the third interface to the lock screen interface or the desktop interface.

4. The method according to claim 3, characterized in that When the electronic device satisfies the second state exit condition, switching from the third interface to the lock screen interface or the desktop interface includes: When the electronic device satisfies the second state exit condition, if the electronic device has reached the automatic screen lock time, switching from the third interface to the lock screen interface; If the electronic device has not reached the automatic screen lock time, it switches from the third interface to the desktop interface.

5. The method according to claim 3 or 4, characterized in that The second state exit condition includes the electronic device entering a non-stand state or receiving a third operation on the third interface, where the third operation is an operation of sliding upward from the bottom of the screen of the electronic device.

6. The method according to claim 1 or 2, characterized in that: The first card displayed in the third interface is a video card in a video theme display mode, and a video playback control is displayed in the third interface, and the video theme display mode is a second theme display mode for pushing video content; In response to the second operation on the first card in the second interface, after the electronic device switches from the second interface to the third interface, the electronic device further includes: In response to a fourth operation on the video playback control in the third interface, the electronic device switches from the third interface to the video playback interface and starts playing the video corresponding to the video content displayed in the first card.

7. The method according to claim 6, characterized in that In response to the fourth operation on the video playback control in the third interface, the electronic device switches from the third interface to the video playback interface, comprising: In response to the fourth operation on the video playback control in the third interface, when no lock screen password is set for the electronic device, the electronic device switches from the third interface to the video playback interface.

8. The method according to claim 6 or 7, characterized in that Before the electronic device switches from the first interface to the second interface, the electronic device further includes: The electronic device determines the most recently played video; Generate a corresponding video card according to the most recently played video; The video card is determined as a card to be displayed in the video theme display mode.

9. The method according to claim 1 or 2, characterized in that: The first card displayed in the third interface is a weather card in a clock weather theme display mode, and the clock weather theme display mode is a second theme display mode for pushing time information and / or weather information; In response to the second operation on the first card in the second interface, after the electronic device switches from the second interface to the third interface, the electronic device further includes: In response to a triggering operation on the third interface, the electronic device displays a jump control in the third interface; In response to the triggering operation of the jump control, the electronic device switches from the third interface to the weather application details page.

10. The method according to claim 1 or 2, characterized in that: In response to the second operation on the first card in the second interface, after the electronic device switches from the second interface to the third interface, the electronic device further includes: In response to a first sliding operation received in the third interface, the electronic device switches from the third interface to a fourth interface, the first sliding operation is a sliding operation in a horizontal direction, and the third interface and the fourth interface belong to interfaces of different theme display modes; or, In response to a second sliding operation received in the third interface, the electronic device switches from the third interface to the fifth interface, the second sliding operation is a sliding operation in the vertical direction, and the third interface and the fifth interface are different interfaces of the same theme display mode.

11. The method according to claim 1 or 2, characterized in that: In response to the second operation on the first card in the second interface, after the electronic device switches from the second interface to the third interface, the electronic device further includes: In response to an editing operation on the third interface, the electronic device switches from the third interface to an editing interface, where a plurality of editing controls and thumbnails of the first card are provided; In response to a triggering operation on a first editing control among the multiple editing controls, the electronic device displays a card adding interface, wherein at least one second card is displayed in the card adding interface, and the first card and the at least one second card are cards of the same theme display mode; In response to an adding operation of a target second card in the at least one second card, the card adding interface is switched to the editing interface, and the target second card is added as a previous card or a next card of the first card.

12. The method according to claim 11, characterized in that In response to the editing operation on the third interface, after the electronic device switches from the third interface to the editing interface, the method further includes: In response to a sixth operation on the thumbnail of the first card, displaying a delete control of the first card; In response to a triggering operation on a delete control of the first card, the first card is deleted, and thumbnails of adjacent cards of the first card are displayed in the editing interface.

13. The method according to claim 11, characterized in that In response to the editing operation on the third interface, after the electronic device switches from the third interface to the editing interface, the method further includes: In response to a third sliding operation on the thumbnail of the first card, switching the thumbnail of the first card in the editing interface to a thumbnail of a third card adjacent to the first card in a sliding direction of the third sliding operation, wherein the third sliding operation is a sliding operation in a vertical direction; In response to a seventh operation on the thumbnail of the third card, the editing interface is switched to a sixth interface, and the third card is displayed in the sixth interface.

14. The method according to claim 11, characterized in that In response to the editing operation on the third interface, after the electronic device switches from the third interface to the editing interface, the method further includes: In response to a triggering operation on a second editing control among the multiple editing controls, the electronic device displays a detailed editing pop-up window in the editing interface, and the detailed editing pop-up window is used for the user to edit the display form of the first card or the area where the thumbnail of the first card is located.

15. The method according to claim 1 or 2, characterized in that: In response to the second operation on the first card in the second interface, after the electronic device switches from the second interface to the third interface, the electronic device further includes: In response to a triggering operation on a power button of the electronic device, the electronic device switches from the third interface to a screen-off interface; or, When the electronic device is in an uncharged state, after displaying the third interface, if no user operation is received within a second time period, the electronic device switches from the third interface to the screen-off interface.

16. The method according to claim 15, characterized in that After the electronic device switches from the third interface to the screen-off interface, the electronic device further includes: After detecting that the user's gaze duration reaches a third duration, or after receiving a re-triggering operation on the power button, or after receiving a triggering operation on the screen of the electronic device, the electronic device switches from the screen-off interface to the third interface.

17. An electronic device, characterized in that: The electronic device comprises: one or more processors, and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the electronic device executes the method as described in any one of claims 1 to 16.

18. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method as described in any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Screen-off display control method and device and computer readable storage medium

    CN111367398A

  • Context-specific user interfaces

    CN113010089A

  • Screen-off display theme display method and mobile device

    CN113138816A

  • Limited operation of electronic device

    CN113157190A

  • Display method and folding screen equipment

    CN116301514A