Interface switching method and device

By displaying interface snapshots of historical interfaces in electronic devices and combining them with floating control technology, the problem of inconvenient interface switching is solved and fast and convenient interface switching operations are achieved.

CN113821293BActive Publication Date: 2025-01-24VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111115607.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-23
Publication Date
2025-01-24
Estimated Expiration
2041-09-23

AI Technical Summary

Technical Problem

The prior art is inconvenient when switching interfaces in electronic devices. Users need to return to the upper interface layer by layer through the return key, and the interface displayed in history may have disappeared and need to be reloaded.

Method used

By displaying interface snapshots of historical interfaces that have been displayed on the electronic device, the user can select a target interface snapshot from the historical interface snapshots and switch to the target interface based on the user's selection. Combined with floating control technology, rapid switching between interfaces is achieved.

Benefits of technology

It realizes fast switching between various interfaces in electronic devices, which is convenient and interesting to operate, avoids the cumbersome operation of layer-by-layer switching of the return key, and ensures the accessibility of historical interfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113821293B_ABST
    Figure CN113821293B_ABST
Patent Text Reader

Abstract

The present application discloses an interface switching method and device, belonging to the field of communication technology. The method comprises: receiving a first input, the first input being used by a user to select a target interface snapshot from at least one first interface snapshot; in response to the first input, displaying a target interface corresponding to the target interface snapshot; wherein the first interface corresponding to the first interface snapshot is a historical interface that has been displayed; the first input comprises a first sub-input of the user rotating the floating control a first number of times; different first numbers of times correspond to different first interface snapshots.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to an interface switching method and device. Background Art

[0002] When using electronic devices, users may need to switch between different interfaces.

[0003] When an electronic device displays a certain interface, if the user wants to return to the upper interface or switch to a previously displayed interface, the existing technical solution can only return to the upper interface layer by layer through the return key, and some previously displayed interfaces may have disappeared and need to be reloaded, resulting in inconvenient interface switching operations. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an interface switching method and device, which can solve the problem of inconvenient switching between interfaces in an electronic device.

[0005] In a first aspect, an embodiment of the present application provides an interface switching method, the method comprising:

[0006] receiving a first input, wherein the first input is used by a user to select a target interface snapshot from at least one first interface snapshot;

[0007] In response to the first input, displaying a target interface corresponding to the target interface snapshot;

[0008] The first interface corresponding to the first interface snapshot is a historical interface that has been displayed;

[0009] The first input includes a first sub-input in which the user rotates the floating control a first number of times;

[0010] Different first lap numbers correspond to different first interface snapshots.

[0011] In a second aspect, an embodiment of the present application provides an interface switching device, the device comprising:

[0012] A first receiving module, configured to receive a first input, wherein the first input is used by a user to select a target interface snapshot from at least one first interface snapshot;

[0013] A first response module, configured to display a target interface corresponding to the target interface snapshot in response to the first input;

[0014] The first interface corresponding to the first interface snapshot is a historical interface that has been displayed;

[0015] The first input includes a first sub-input in which the user rotates the floating control a first number of times;

[0016] Different first lap numbers correspond to different first interface snapshots.

[0017] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0018] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0019] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0020] In an embodiment of the present application, by displaying an interface snapshot of at least one historical interface that has been displayed in the electronic device, the user can select a target interface snapshot from the interface snapshots of at least one historical interface that has been displayed, and then can switch to the target interface corresponding to the target interface snapshot based on the target interface snapshot selected by the user. In addition, by combining the interface snapshot and the floating control technology, fast switching between interfaces in the electronic device can be achieved, which is convenient and interesting to operate. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flowchart of the interface switching method provided in the embodiment of the present application;

[0022] Figure 2 This is one of the interface schematic diagrams of the interface switching method provided in the embodiment of the present application;

[0023] Figure 3 This is the second interface schematic diagram of the interface switching method provided in the embodiment of the present application;

[0024] Figure 4 This is the third interface schematic diagram of the interface switching method provided in the embodiment of the present application;

[0025] Figure 5 This is the fourth interface schematic diagram of the interface switching method provided in the embodiment of the present application;

[0026] Figure 6 This is the fifth interface schematic diagram of the interface switching method provided in the embodiment of the present application;

[0027] Figure 7 is a schematic diagram of the structure of the interface switching device provided in an embodiment of the present application;

[0028] Figure 8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0029] Fig. 9 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0031] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0032] The interface switching method and device provided by the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0033] Figure 1 is a flow chart of the interface switching method provided in the embodiment of the present application, such as Figure 1 As shown, the method includes the following process:

[0034] Step 100, receiving a first input, where the first input is used by a user to select a target interface snapshot from at least one first interface snapshot;

[0035] Step 110, in response to the first input, displaying a target interface corresponding to the target interface snapshot;

[0036] The first interface corresponding to the first interface snapshot is a historical interface that has been displayed;

[0037] The first input includes a first sub-input in which the user rotates the floating control a first number of times;

[0038] Different first lap numbers correspond to different first interface snapshots.

[0039] Optionally, the execution subject of the embodiment of the present application may be an electronic device, where the electronic device may be a mobile phone, a tablet computer, etc. The embodiment of the present application does not specifically limit this, and the embodiment of the present application is described by taking the execution subject being a mobile phone as an example.

[0040] Optionally, the electronic device may receive a first input, and the first input may be used for a user to select a target interface snapshot from at least one first interface snapshot.

[0041] Optionally, the first input may include an operation in which a user clicks on an area displayed by the target interface snapshot to determine the target interface snapshot.

[0042] Optionally, the first input may include an operation in which a user clicks on an area displayed by a target interface identifier of the target interface snapshot to determine the target interface snapshot.

[0043] Optionally, the first input may include an operation in which the user long presses the floating control and rotates the floating control to determine the target interface snapshot.

[0044] Optionally, the first input may include an operation of the user determining the target interface snapshot through voice.

[0045] Optionally, the electronic device may display a target interface corresponding to the target interface snapshot in response to the first input.

[0046] Optionally, the first interface corresponding to the first interface snapshot may be a historical interface that has been displayed.

[0047] Optionally, the electronic device may capture and back up historical interfaces that have been displayed on the electronic device, form an interface snapshot, and save it in a cache.

[0048] Optionally, the electronic device may capture and back up the historical interfaces that have been displayed in the target application, form an interface snapshot, and save it in a cache.

[0049] For example, the electronic device can capture and back up the historical interface that has been displayed in a target application, form an interface snapshot and save it in the cache.

[0050] For example, the electronic device can capture and back up the historical interface that has been displayed in a target application, form multiple interface snapshots and save them in the cache.

[0051] For example, the electronic device may capture and back up historical interfaces that have been displayed in multiple target applications, form multiple interface snapshots, and save them in a cache.

[0052] Optionally, an interface snapshot corresponding to a historical interface that has been displayed by the electronic device may be displayed in the selection interface, so that the user can select a target interface snapshot.

[0053] Optionally, based on the target interface snapshot selected by the user, the target interface corresponding to the target interface snapshot may be displayed.

[0054] Optionally, an interface identifier of an interface snapshot corresponding to a displayed historical interface, such as an interface thumbnail, may be displayed in the selection interface, so that the user can select a target interface identifier.

[0055] Optionally, based on the target interface identifier selected by the user, the target interface corresponding to the target interface snapshot represented by the target interface identifier may be displayed.

[0056] Optionally, the interface snapshots corresponding to the displayed historical interfaces or the interface identifiers of the interface snapshots may be displayed in a tiled manner in the selection interface.

[0057] Optionally, the interface snapshots corresponding to the displayed historical interfaces or interface identifiers of the interface snapshots may be displayed in the selection interface in the form of a list.

[0058] Optionally, the interface snapshot corresponding to the displayed historical interface or the interface identifier of the interface snapshot may be displayed in a drop-down status bar of the electronic device in the form of a message box.

[0059] Optionally, the interface snapshot corresponding to the displayed historical interface or the interface identifier of the interface snapshot may be displayed in a background interface overlay manner.

[0060] Optionally, the interface identifier may be a time identifier of the time when the interface snapshot is generated.

[0061] Optionally, the interface identifier may be a coded identifier that is coded in the order in which the interface snapshots are generated.

[0062] Optionally, the interface identifier may be a keyword identifier that extracts different keywords based on different contents displayed on each interface.

[0063] Optionally, the interface identifier may be a name identifier based on different interface names corresponding to different interfaces.

[0064] Optionally, the first input may include a first sub-input in which the user rotates the floating control a first number of times.

[0065] Optionally, the first input may include a first sub-input in which the user rotates the floating control counterclockwise a first number of times.

[0066] Optionally, the first input may include a first sub-input in which the user rotates the floating control clockwise a first number of times.

[0067] Optionally, the first number of circles may be 0.5 circles, 1 circle, 1.5 circles, or 2 circles of the floating control, which is not specifically limited in the embodiment of the present application.

[0068] Optionally, different first lap numbers may correspond to different first interface snapshots.

[0069] For example, when the floating control rotates counterclockwise, 0.5 circles may correspond to the first interface snapshot corresponding to the previous interface of the interface currently displayed by the electronic device. That is to say, when the floating control rotates counterclockwise by 0.5 circles, it is determined that the target interface snapshot selected by the user is the first interface snapshot corresponding to the previous interface of the interface currently displayed by the electronic device, then the target interface corresponding to the target interface snapshot is displayed, and this target interface is the previous interface of the interface currently displayed by the electronic device.

[0070] For example, when the floating control rotates counterclockwise, one circle may correspond to the first interface snapshot corresponding to the second previous interface of the interface currently displayed by the electronic device. That is to say, when the floating control rotates counterclockwise one circle, it is determined that the target interface snapshot selected by the user is the first interface snapshot corresponding to the second previous interface of the interface currently displayed by the electronic device, then the target interface corresponding to the target interface snapshot is displayed, and this target interface is the second previous interface of the interface currently displayed by the electronic device.

[0071] For example, when the floating control rotates clockwise, 0.5 circles may correspond to the first interface snapshot corresponding to the next interface of the interface currently displayed by the electronic device. That is to say, when the floating control rotates clockwise by 0.5 circles, it is determined that the target interface snapshot selected by the user is the first interface snapshot corresponding to the next interface of the interface currently displayed by the electronic device, then the target interface corresponding to the target interface snapshot is displayed, and this target interface is the next interface of the interface currently displayed by the electronic device.

[0072] For example, when the floating control rotates clockwise, one circle may correspond to the first interface snapshot corresponding to the second interface behind the interface currently displayed by the electronic device. That is to say, when the floating control rotates one circle clockwise, it is determined that the target interface snapshot selected by the user is the first interface snapshot corresponding to the second interface behind the interface currently displayed by the electronic device, then the target interface corresponding to the target interface snapshot is displayed, and this target interface is the second interface behind the interface currently displayed by the electronic device.

[0073] Optionally, in order to avoid the tedious operation of the user switching to the target interface layer by layer through the return key, the embodiment of the present application displays an interface snapshot of at least one historical interface that has been displayed in the electronic device, so that the user can select a target interface snapshot from the interface snapshots of at least one historical interface that has been displayed, and then can switch to the target interface corresponding to the target interface snapshot based on the target interface snapshot selected by the user. In addition, the interface snapshot and floating control technology are combined to realize fast switching of various interfaces in the electronic device, which is convenient and interesting to operate.

[0074] In an embodiment of the present application, by displaying an interface snapshot of at least one historical interface that has been displayed in the electronic device, the user can select a target interface snapshot from the interface snapshots of at least one historical interface that has been displayed, and then can switch to the target interface corresponding to the target interface snapshot based on the target interface snapshot selected by the user. In addition, by combining the interface snapshot and the floating control technology, fast switching between interfaces in the electronic device can be achieved, which is convenient and interesting to operate.

[0075] Optionally, the first number of circles is inversely proportional to the generation time value of the first interface snapshot.

[0076] Optionally, the number of the first laps may be inversely proportional to the value of the time when the first interface snapshot is generated.

[0077] For example, if the generation time value of the first interface snapshot is 1 second on the timeline, the first number of circles can be 2 circles of the floating control, and if the generation time value of the first interface snapshot is 2 seconds on the timeline, the first number of circles can be 1 circle of the floating control.

[0078] Optionally, the first number of circles is proportional to the value of the time when the first interface snapshot is generated.

[0079] Optionally, the number of the first circles may be proportional to the value of the time when the first interface snapshot is generated.

[0080] For example, if the generation time value of the first interface snapshot is 1 second on the timeline, the first number of circles can be 1 circle of the floating control, and if the generation time value of the first interface snapshot is 2 seconds on the timeline, the first number of circles can be 2 circles of the floating control.

[0081] Optionally, the display state of the floating control includes a first display state and a second display state;

[0082] The first sub-input is used by the user to rotate the floating control in the second display state by the first number of circles.

[0083] Optionally, the display state of the floating control may include a first display state and a second display state.

[0084] Optionally, the first sub-input may be used by the user to rotate the floating control in the second display state a first number of times.

[0085] Optionally, the first sub-input may be used by the user to rotate the floating control in the second display state counterclockwise a first number of times.

[0086] Optionally, the first sub-input may be used by the user to rotate the floating control in the second display state clockwise a first number of times.

[0087] For example, Figure 2 is one of the interface schematic diagrams of the interface switching method provided in the embodiment of the present application, such as Figure 2 As shown, in the interface being displayed by the electronic device, the floating control is in the first display state.

[0088] Optionally, the electronic device may receive an operation of the user moving the floating control in the first display state to a first area where a return key is located in an interface being displayed by the electronic device.

[0089] For example, Figure 3 This is the second interface diagram of the interface switching method provided in the embodiment of the present application. Figure 3 As shown, in the interface being displayed by the electronic device, the electronic device can receive an operation by the user to move the floating control in the first display state to the first area where the return key is located in the interface being displayed by the electronic device.

[0090] Optionally, the characteristics of the floating control in the first display state and the characteristics of the return key in the interface being displayed by the electronic device can be combined to form a floating control in the second display state.

[0091] For example, Figure 4 This is the third interface diagram of the interface switching method provided in the embodiment of the present application. Figure 4 As shown, in the interface being displayed by the electronic device, the electronic device can combine the characteristics of the floating control in the first display state with the characteristics of the return key in the interface being displayed by the electronic device to form a floating control in the second display state.

[0092] The floating control in the second display state can be rotated counterclockwise or clockwise.

[0093] Optionally, the electronic device can receive a counterclockwise or clockwise rotation of the user on the floating control in the second display state, and can switch to different interfaces in the electronic device based on different numbers of rotations by the user.

[0094] Optionally, when the user rotates the floating control in the second display state counterclockwise, the electronic device can switch from the interface currently displayed by the electronic device to the previous interface.

[0095] Optionally, when the user rotates the floating control in the second display state counterclockwise by half a circle to one circle, the electronic device can switch from the interface currently displayed by the electronic device to the previous interface.

[0096] Optionally, when the user rotates the floating control in the second display state counterclockwise for multiple circles and the user rotates the floating control in the second display state faster, the speed at which the electronic device switches to the previous interface will also increase.

[0097] Optionally, when the user rotates the floating control in the second display state clockwise, the electronic device can switch from the interface currently displayed by the electronic device to the subsequent interface.

[0098] Optionally, when the user rotates the floating control in the second display state clockwise by half a circle to one circle, the electronic device can switch from the interface currently displayed by the electronic device to the next interface.

[0099] Optionally, when the user rotates the floating control in the second display state clockwise for multiple circles and the user rotates the floating control in the second display state faster, the speed at which the electronic device switches to the next interface will also increase.

[0100] Optionally, after each interface switch, the electronic device will display a prompt message to remind that the user interface switch is successful.

[0101] Optionally, the electronic device may use a prompt box or sound effect to remind the user that the user interface switch is successful. The embodiment of the present application does not specifically limit the specific prompt method.

[0102] Optionally, when the user no longer needs the function of the floating control in the second display state, the electronic device can receive an operation by the user to move the floating control in the second display state to the first area where the return key is located in the interface being displayed by the electronic device.

[0103] Optionally, after the electronic device receives an operation from the user to move the floating control in the second display state to the first area where the return key is located in the interface being displayed by the electronic device, the floating control in the second display state can be automatically separated from the return key, and the floating control in the second display state can be restored to a floating control in the first display state.

[0104] In the embodiment of the present application, by combining interface snapshot and floating control technology, arbitrary switching between interfaces in the electronic device can be effectively realized, and the operation is convenient and interesting.

[0105] Optionally, the first input further includes a second sub-input, and the second sub-input is used by the user to switch the floating control from the first display state to the second display state.

[0106] Optionally, the first input may further include a second sub-input.

[0107] Optionally, the second sub-input may be used by the user to switch the floating control from the first display state to the second display state.

[0108] For example, Figures 2 to 4 As shown, after the electronic device receives the user's operation of moving the floating control in the first display state to the first area where the return key is located in the interface being displayed by the electronic device, the characteristics of the floating control in the first display state and the characteristics of the return key in the interface being displayed by the electronic device can be combined to form a floating control in the second display state.

[0109] Optionally, the first input may include a third sub-input of the user for the floating control.

[0110] Optionally, the third sub-input may be used to trigger display of a selection interface.

[0111] Optionally, the first input may further include a fourth sub-input of the user selecting a target interface snapshot from at least one first interface snapshot in the selection interface.

[0112] Optionally, the third sub-input may include an operation of the user long pressing the floating control and quickly moving the floating control horizontally.

[0113] For example, Figure 5 This is a fourth interface diagram of the interface switching method provided in the embodiment of the present application, such as Figure 5 As shown, in the interface being displayed by the electronic device, the electronic device receives an operation of the user long pressing the floating control and quickly moving the floating control horizontally.

[0114] Optionally, when the electronic device receives the third sub-input, a selection interface may be displayed in response to the third sub-input.

[0115] Optionally, an interface snapshot corresponding to a displayed historical interface may be displayed in the selection interface.

[0116] For example, Figure 6 This is a fifth interface diagram of the interface switching method provided in the embodiment of the present application, such as Figure 6As shown, in the interface currently being displayed by the electronic device, the electronic device displays the interface snapshots corresponding to the historical interfaces that have been displayed by the electronic device in the selection interface, namely, interface snapshot A, interface snapshot B, interface snapshot C, interface snapshot D, ..., interface snapshot Z in the figure.

[0117] Optionally, an interface identifier of an interface snapshot corresponding to a displayed historical interface, such as an interface thumbnail, may be displayed in the selection interface.

[0118] Optionally, the interface snapshots corresponding to the displayed historical interfaces or the interface identifiers of the interface snapshots may be displayed in a tiled manner in the selection interface.

[0119] Optionally, the interface snapshots corresponding to the displayed historical interfaces or interface identifiers of the interface snapshots may be displayed in the selection interface in the form of a list.

[0120] Optionally, the interface snapshot corresponding to the displayed historical interface or the interface identifier of the interface snapshot may be displayed in a drop-down status bar of the electronic device in the form of a message box.

[0121] Optionally, the interface snapshot corresponding to the displayed historical interface or the interface identifier of the interface snapshot may be displayed in a background interface overlay manner.

[0122] Optionally, the interface identifier may be a time identifier of the time when the interface snapshot is generated.

[0123] Optionally, the interface identifier may be a coded identifier that is coded in the order in which the interface snapshots are generated.

[0124] Optionally, the interface identifier may be a keyword identifier that extracts different keywords based on different contents displayed on each interface.

[0125] Optionally, the interface identifier may be a name identifier based on different interface names corresponding to different interfaces.

[0126] Optionally, the electronic device may receive an operation of the user selecting a target interface snapshot or a target interface identifier corresponding to the target interface snapshot in the selection interface.

[0127] Optionally, after the electronic device receives an operation by the user to select a target interface snapshot or a target interface identifier corresponding to the target interface snapshot in the selection interface, it can display the target interface corresponding to the target interface snapshot, or can display the target interface corresponding to the target interface snapshot represented by the target interface identifier.

[0128] Optionally, when the user no longer needs to switch interfaces, the electronic device can receive an operation of the user long pressing the floating control and moving the floating control horizontally.

[0129] Optionally, after the electronic device receives an operation of the user long pressing the floating control and moving the floating control horizontally, the selection interface can be withdrawn and the floating control can be restored to the floating control in the first display state.

[0130] Optionally, in order to avoid the tedious operation of the user switching to the target interface layer by layer through the return key, the embodiment of the present application displays an interface snapshot of at least one historical interface that has been displayed in the electronic device in the selection interface, so that the user can select the target interface snapshot from the interface snapshots of at least one historical interface that has been displayed, and then can switch to the target interface corresponding to the target interface snapshot based on the target interface snapshot selected by the user, thereby realizing fast switching of various interfaces in the electronic device and convenient operation.

[0131] In the embodiment of the present application, by combining interface snapshot and floating control technology, arbitrary switching between interfaces in the electronic device is effectively achieved, which greatly facilitates users to use various functions of the target application.

[0132] It should be noted that the interface switching method provided in the embodiment of the present application can be executed by an interface switching device or a control module in the interface switching device for executing the interface switching method. In the embodiment of the present application, the interface switching device executing the interface switching method is taken as an example to illustrate the interface switching device provided in the embodiment of the present application.

[0133] Figure 7 is a schematic diagram of the structure of the interface switching device provided in the embodiment of the present application, such as Figure 7 As shown, the device includes: a first receiving module 710 and a first responding module 720; wherein:

[0134] The first receiving module 710 is used to receive a first input, where the first input is used by a user to select a target interface snapshot from at least one first interface snapshot;

[0135] The first response module 720 is used for displaying the target interface corresponding to the target interface snapshot in response to the first input;

[0136] The first interface corresponding to the first interface snapshot is a historical interface that has been displayed;

[0137] The first input includes a first sub-input in which the user rotates the floating control a first number of times;

[0138] Different first lap numbers correspond to different first interface snapshots.

[0139] In an embodiment of the present application, by displaying an interface snapshot of at least one historical interface that has been displayed in the electronic device, the user can select a target interface snapshot from the interface snapshots of at least one historical interface that has been displayed, and then can switch to the target interface corresponding to the target interface snapshot based on the target interface snapshot selected by the user. In addition, by combining the interface snapshot and the floating control technology, fast switching between interfaces in the electronic device can be achieved, which is convenient and interesting to operate.

[0140] Optionally, the first number of circles is inversely proportional to the generation time value of the first interface snapshot.

[0141] Optionally, the first number of circles is proportional to the value of the time when the first interface snapshot is generated.

[0142] Optionally, the display state of the floating control includes a first display state and a second display state;

[0143] The first sub-input is used by the user to rotate the floating control in the second display state by the first number of circles.

[0144] Optionally, the first input further includes a second sub-input, and the second sub-input is used by the user to switch the floating control from the first display state to the second display state.

[0145] In an embodiment of the present application, by displaying an interface snapshot of at least one historical interface that has been displayed in the electronic device, the user can select a target interface snapshot from the interface snapshots of at least one historical interface that has been displayed, and then can switch to the target interface corresponding to the target interface snapshot based on the target interface snapshot selected by the user. In addition, by combining the interface snapshot and the floating control technology, fast switching between interfaces in the electronic device can be achieved, which is convenient and interesting to operate.

[0146] The interface switching device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0147] The interface switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0148] The interface switching device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0149] Optionally, Figure 8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801, a memory 802, and a program or instruction stored in the memory 802 and executable on the processor 801. When the program or instruction is executed by the processor 801, each process of the above-mentioned interface switching method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0150] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0151] Fig. 9 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0152] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910 and other components.

[0153] Those skilled in the art will appreciate that the electronic device 900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0154] The user input unit 907 is used for:

[0155] receiving a first input, wherein the first input is used by a user to select a target interface snapshot from at least one first interface snapshot;

[0156] The processor 910 is configured to:

[0157] In response to the first input, displaying a target interface corresponding to the target interface snapshot;

[0158] The first interface corresponding to the first interface snapshot is a historical interface that has been displayed;

[0159] The first input includes a first sub-input in which the user rotates the floating control a first number of times;

[0160] Different first lap numbers correspond to different first interface snapshots.

[0161] In an embodiment of the present application, by displaying an interface snapshot of at least one historical interface that has been displayed in the electronic device, the user can select a target interface snapshot from the interface snapshots of at least one historical interface that has been displayed, and then can switch to the target interface corresponding to the target interface snapshot based on the target interface snapshot selected by the user. In addition, by combining the interface snapshot and the floating control technology, fast switching between interfaces in the electronic device can be achieved, which is convenient and interesting to operate.

[0162] Optionally, the first number of circles is inversely proportional to the generation time value of the first interface snapshot.

[0163] Optionally, the first number of circles is proportional to the value of the time when the first interface snapshot is generated.

[0164] Optionally, the display state of the floating control includes a first display state and a second display state;

[0165] The first sub-input is used by the user to rotate the floating control in the second display state by the first number of circles.

[0166] Optionally, the first input further includes a second sub-input, and the second sub-input is used by the user to switch the floating control from the first display state to the second display state.

[0167] In an embodiment of the present application, by displaying an interface snapshot of at least one historical interface that has been displayed in the electronic device, the user can select a target interface snapshot from the interface snapshots of at least one historical interface that has been displayed, and then can switch to the target interface corresponding to the target interface snapshot based on the target interface snapshot selected by the user. In addition, by combining the interface snapshot and the floating control technology, fast switching between interfaces in the electronic device can be achieved, which is convenient and interesting to operate.

[0168] It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 909 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 910 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 910.

[0169] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned interface switching method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0170] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0171] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned interface switching method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0172] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0173] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0174] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0175] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An interface switching method, characterized in that: The method comprises: receiving a first input, wherein the first input is used by a user to select a target interface snapshot from at least one first interface snapshot; In response to the first input, displaying a target interface corresponding to the target interface snapshot; The first interface corresponding to the first interface snapshot is a historical interface that has been displayed; The first input includes a first sub-input in which the user rotates the floating control a first number of times; Different first lap numbers correspond to different first interface snapshots; The display state of the floating control includes a first display state and a second display state; the method further includes: receiving an operation of a user moving the floating control in the first display state to a first area where a return key is located in the interface being displayed; Combining the characteristics of the floating control in the first display state with the characteristics of the return key in the interface being displayed to form a floating control in the second display state; The first sub-input is used by the user to rotate the floating control in the second display state by the first number of circles.

2. The interface switching method according to claim 1, characterized in that: The first number of circles is inversely proportional to the time value of generating the first interface snapshot.

3. The interface switching method according to claim 1, characterized in that: The first number of circles is proportional to the time value of generating the first interface snapshot.

4. An interface switching device, characterized in that: The device comprises: A first receiving module, configured to receive a first input, wherein the first input is used by a user to select a target interface snapshot from at least one first interface snapshot; A first response module, configured to display a target interface corresponding to the target interface snapshot in response to the first input; The first interface corresponding to the first interface snapshot is a historical interface that has been displayed; The first input includes a first sub-input in which the user rotates the floating control a first number of times; Different first lap numbers correspond to different first interface snapshots; The display state of the floating control includes a first display state and a second display state; a first receiving module is used to receive an operation of a user moving the floating control in the first display state to a first area where a return key in the interface being displayed is located; a first responding module is used to combine the characteristics of the floating control in the first display state with the characteristics of the return key in the interface being displayed to form a floating control in the second display state; the first sub-input is used by the user to rotate the floating control in the second display state the first number of times.

5. The interface switching device according to claim 4, characterized in that: The first number of circles is inversely proportional to the time value of generating the first interface snapshot.

6. The interface switching device according to claim 4, characterized in that: The first number of circles is proportional to the time value of generating the first interface snapshot.

Citation Information

Patent Citations

  • Saving and restoring collaborative applications in context

    CN102314344A

  • Method and device for switching application interfaces of main menus

    CN103777869A

  • Display apparatus and method of controlling display apparatus

    CN105320453A