WO2021012955A1 - Interface switching method and terminal device - Google Patents

Interface switching method and terminal device Download PDF

Info

Publication number
WO2021012955A1
WO2021012955A1 PCT/CN2020/100927 CN2020100927W WO2021012955A1 WO 2021012955 A1 WO2021012955 A1 WO 2021012955A1 CN 2020100927 W CN2020100927 W CN 2020100927W WO 2021012955 A1 WO2021012955 A1 WO 2021012955A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
input
user
target
terminal device
Prior art date
Application number
PCT/CN2020/100927
Other languages
French (fr)
Chinese (zh)
Inventor
王俊贤
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021012955A1 publication Critical patent/WO2021012955A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to an interface switching method and terminal equipment.
  • the user can trigger the terminal device to switch between different interfaces of the application. For example, suppose an application program includes interface 1, interface 2, interface 3, and interface 4, and when the user triggers the terminal device to display interface 1, interface 2, interface 3, and interface 4 in sequence, if the terminal device displays interface 4, the user To view interface 1, the user needs to trigger the terminal device to gradually return to interface 1 multiple times. At this time, if the user needs to view interface 3 again, the user still needs to trigger the terminal device to gradually switch to interface 3 multiple times. In this way, a series of operations may be required to trigger the terminal device to switch to the interface required by the user when the user needs to view different interfaces, which results in a cumbersome and complicated interface switching process and poor human-computer interaction performance.
  • the embodiments of the present disclosure provide an interface switching method and terminal device to solve the problem of tedious and complicated interface switching process and poor human-computer interaction performance.
  • an embodiment of the present disclosure provides an interface switching method.
  • the method includes, in a case where M interface identifiers are displayed on the display interface of the target application, receiving a user's notification of the target interface identifier among the M interface identifiers. First input, and in response to the first input, display a target interface corresponding to the target interface identifier; wherein, M interface identifiers are added according to the user's input, and M is a positive integer.
  • embodiments of the present disclosure provide a terminal device, which includes a receiving module and a display module.
  • the receiving module is used to receive the first input of the target interface identifier of the M interface identifiers by the user when the display interface of the target application program displays M interface identifiers; the display module is used to respond to the information received by the receiving module
  • the first input is to display the target interface corresponding to the target interface identifier; wherein the M interface identifiers are added according to the user's input, and M is a positive integer.
  • the embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program is executed by the processor, the above-mentioned first aspect is implemented. Steps of the interface switching method.
  • the embodiments of the present disclosure provide a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the interface switching method of the first aspect are implemented.
  • the terminal device may receive the first of the target interface identifiers of the M interface identifiers from the user when the display interface of the target application program displays M interface identifiers (that is, added according to the user's input). Input; and in response to the first input, the target interface corresponding to the target interface identifier is displayed; where M is a positive integer.
  • the M interface identifiers are added according to the user's input (for example, they can be added by the user to trigger the terminal device in the process of browsing the interface), so when the user needs to view a certain interface,
  • the user can directly input the target interface identifier indicating the target interface (such as the first input) to trigger the terminal device to directly display the target interface corresponding to the target interface identifier, without having to trigger the terminal device step by step.
  • Switching to the target interface can simplify the interface switching process when users need to view different interfaces, thereby improving the human-computer interaction performance.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure
  • FIG. 2 is one of the schematic diagrams of the interface switching method provided by the embodiments of the disclosure.
  • FIG 3 is one of the schematic diagrams of the interface of the interface switching method application provided by the embodiment of the disclosure.
  • FIG. 5 is the second schematic diagram of the interface switching method provided by an embodiment of the disclosure.
  • FIG. 6 is the third schematic diagram of the interface of the interface switching method application provided by the embodiment of the disclosure.
  • FIG. 7 is the third schematic diagram of an interface switching method provided by an embodiment of the disclosure.
  • FIG. 9 is the fifth schematic diagram of the interface of the interface switching method application provided by the embodiments of the disclosure.
  • FIG. 10 is the fourth schematic diagram of the interface switching method provided by the embodiments of the disclosure.
  • FIG. 11 is the sixth schematic diagram of the interface of the interface switching method application provided by the embodiments of the disclosure.
  • FIG. 12 is one of schematic structural diagrams of a terminal device provided by an embodiment of the disclosure.
  • FIG. 13 is a second structural diagram of a terminal device provided by an embodiment of the disclosure.
  • FIG. 14 is a schematic diagram of hardware of a terminal device provided by an embodiment of the disclosure.
  • first”, “second”, “third”, and “fourth” in the specification and claims of the present disclosure are used to distinguish different objects, rather than describing a specific order of objects.
  • the first threshold, the second threshold, the third threshold, and the fourth threshold are used to distinguish different thresholds, not to describe the specific order of the thresholds.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple processing units refers to two or more processing units; multiple elements Refers to two or more elements, etc.
  • Task stack also known as task storage stack, refers to a collection of tasks. Among them, a task refers to a series of activities that the terminal device interacts with the user when performing a specific task. For the user, the task is the application program interface (including information in the application program interface). The user can trigger the terminal device to add tasks to the task stack, or trigger the terminal device to delete existing tasks from the task stack, or trigger the terminal device to select any task in the task stack, and the terminal device can run in the foreground of the terminal device Any task selected.
  • the interface identifier of the interface means the interface identifier used to indicate the interface.
  • the interface identifier of the interface and the interface identifier for indicating the interface can be interchanged, and the two have the same meaning.
  • the embodiments of the present disclosure provide an interface switching method and a terminal device.
  • the terminal device can receive the M interface identifiers from the user when the display interface of the target application displays M interface identifiers (that is, added according to the user's input) In response to the first input, display the target interface corresponding to the target interface identifier; where M is a positive integer.
  • M interface identifiers can be added according to the user's input
  • the user when the user needs to view a certain interface, such as a target interface, the user can directly indicate the target interface of the target interface
  • the input of the logo (such as the first input) triggers the terminal device to directly display the target interface corresponding to the target interface logo, instead of triggering the terminal device multiple times to gradually switch to the target interface, which can simplify the interface switching when users need to view different interfaces Process, which in turn can improve human-computer interaction performance.
  • the following takes the Android operating system as an example to introduce the software environment applied by the interface switching method provided by the embodiments of the present disclosure.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop a software program that implements the interface switching method provided by the embodiment of the present disclosure based on the system architecture of the Android operating system as shown in FIG. 1, so that the interface The switching method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal can implement the interface switching method provided by the embodiments of the present disclosure by running the software program in the Android operating system.
  • the mobile terminal in the embodiment of the present disclosure may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., and the embodiments of the present disclosure are not specifically limited.
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the execution subject of the interface switching method provided by the embodiments of the present disclosure may be the above-mentioned mobile terminal, or may be a functional module and/or functional entity in the mobile terminal that can implement the method, and the specifics can be determined according to actual usage requirements.
  • the embodiment is not limited.
  • the following uses a mobile terminal as an example to illustrate the interface switching method provided in the embodiments of the present disclosure.
  • the user when the user needs to view different interfaces, the user can first trigger the terminal device to add the interface identification of each interface that may need to be viewed again in an interface (for example, this The display interface of the target application in the disclosed embodiment), so that when the user needs to view a certain interface (such as the target interface in the embodiment of the present disclosure), the user can directly identify the interface used to indicate the interface (such as The input of the target interface identifier in the embodiment of the present disclosure (for example, the first input in the embodiment of the present disclosure) triggers the terminal device to directly display the interface.
  • the input of the target interface identifier in the embodiment of the present disclosure for example, the first input in the embodiment of the present disclosure
  • the user can directly trigger the terminal device to display these interfaces by inputting the interface identifiers indicating these interfaces, instead of repeatedly triggering the terminal device to gradually switch to these interfaces.
  • the interface can simplify the interface switching process when the user needs to view different interfaces, thereby improving the performance of human-computer interaction.
  • an embodiment of the present disclosure provides an interface switching method, which may include the following S201 and S202.
  • the above-mentioned target interface identifier may be an identifier in the above-mentioned M interface identifiers, and each of the M interface identifiers may be used to indicate an interface, and the M interface identifiers may be added according to user input .
  • each of the above-mentioned M interface identifiers can be any identifier that can uniquely indicate the interface, such as keywords in the indicated interface, the name of the interface, etc., which is not limited in the embodiment of the present disclosure.
  • the above-mentioned M interface identifiers may include the interface identifier of the display interface of the target application, or may not include the interface identifier of the display interface of the target application, which can be specifically determined according to actual usage requirements.
  • the embodiments of the present disclosure are not limited.
  • the above-mentioned display interface of the target application can be understood as the interface currently displayed by the terminal device when the terminal device is running the target application in the foreground of the terminal device; in the embodiment of the present disclosure, the display interface of the target application and the terminal device The currently displayed interface can be interchanged, and the two have the same meaning; and the display interface of the target application can be referred to as the display interface for short, and the interface currently displayed on the terminal device can be referred to as the current interface for short. In the embodiments of the present disclosure, the current interface and the display interface They can also be interchanged, and the two have the same meaning.
  • the interface indicated by the foregoing M interface identifiers may be an interface in the same application (for example, the target application), or may be an interface in a different application, which may be specifically based on actual usage requirements.
  • the embodiments of the present disclosure are not limited.
  • the above M interface identifiers when the interface indicated by the above M interface identifiers is an interface in the same application, the above M interface identifiers may be displayed on each interface of the application; when the above M interface identifiers indicate When the interface of is an interface in different application programs, the above M identifiers may be displayed on each interface of each application program. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the above-mentioned M interface identifiers are added according to the user's input means that the user triggers the terminal device to add the M interface identifiers to the display interface of the target application while browsing the interface.
  • the M interface identifiers may be the interface identifiers of the interface that the user needs to view again when the user browses the interface (that is, the M interface identifiers may be identifiers that the user triggers to add according to their own needs).
  • the user when the user needs to view an interface again, he can input the interface identifier displayed on the display interface of the target application to indicate the interface to trigger the terminal device to directly display the interface indicated by the interface identifier, that is, trigger the terminal
  • the device directly displays the interface that the user needs to view.
  • the above-mentioned first input may be any possible form of input such as click input, long press input, double press input, drag input, and sliding input, etc., which can be determined according to actual usage requirements.
  • the embodiment is not limited.
  • the above-mentioned click input may be input of single click, double click, or continuous click for a preset number of times.
  • the aforementioned long-press input may be an input for a preset time of contact.
  • the above-mentioned re-press input is also called pressure touch input, which refers to an input in which the user presses with a pressure value greater than or equal to the pressure threshold.
  • the aforementioned drag input may be an input of dragging in any direction.
  • the aforementioned sliding input may be an input of sliding in any direction.
  • the foregoing preset times, preset times, and pressure thresholds may all be determined according to actual use requirements, and the embodiments of the present disclosure are not limited.
  • the terminal device In response to the first input, the terminal device displays a target interface corresponding to the target interface identifier.
  • the above-mentioned target interface corresponding to the target interface identifier can be understood as an interface indicated by the target interface identifier.
  • the terminal device displaying the target interface corresponding to the target interface identifier may be: the terminal device switches from the display interface of the target application to the target interface; or, the terminal device displays the target on the display interface
  • the interface for example, the terminal device displays the target interface on a certain area of the display interface of the target application. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the above-mentioned target interface and the display interface of the target application may be two interfaces in the same application, or two interfaces in different applications. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the interface indicated by the M interface identifiers are 2 interfaces in the "Shopping 1" application (not shown in the figure) (Ie M is equal to 2), and the M interface identifiers are respectively identifier one and identifier two, where identifier one is used to indicate the message interface, identifier two is used to indicate the logistics interface of order 1, and the "shopping 1" application
  • the display interface is the logistics interface of order 1; it is also assumed that the user needs to consult the message interface (that is, the target interface is a message interface), and the first input is the user's click input on the interface identifier used to indicate the message interface.
  • the logistics interface 30 of order 1 displays logo one 32 for indicating the message interface and logo two 33 for indicating the logistics interface of order 1.
  • Click on that is, the terminal device receives the user's first input of the target interface identifier in the M interface identifiers, and then the terminal device responds to the first input, as shown in Figure 3 (b), the terminal device can display the identifier An indicated message interface 34.
  • FIG. 3 is a schematic diagram of the interface of the application of the interface switching method provided by the embodiment of the disclosure
  • FIG. 4 is a schematic diagram of the application of the traditional interface switching method.
  • the user can directly input the interface identifier indicating a certain interface to trigger the terminal device to directly display the interface, instead of requiring multiple triggers like the traditional interface switching method.
  • the terminal device gradually switches to the target interface, which can simplify the interface switching process when the user needs to view different interfaces, thereby improving the human-computer interaction performance.
  • the M interface identifiers (including the target interface identifier) are added by the user (for example, the user can trigger the terminal device to be added to the display interface of the target application during the interface browsing process) ), so when the user needs to view a certain interface, such as a target interface, the user can directly input the target interface identifier indicating the target interface (for example, the first input) to trigger the terminal device to directly display the target interface without needing to
  • the terminal device is triggered multiple times to gradually switch to the target interface, which can simplify the interface switching process when the user needs to view different interfaces, thereby improving the human-computer interaction performance.
  • the terminal device may directly display the aforementioned M interface identifiers on the display interface of the target application, and the terminal device may also display the first control on the display interface of the target application (as shown in Figure 3). 31) shown in (a) and (b), and the above M interface identifiers are displayed in the first control, which can be specifically determined according to actual usage requirements, which is defined in the embodiment of the present disclosure.
  • the first control when the interface indicated by the M interface identifiers is an interface in the same application, the first control may be a control for the application (that is, each application has its own specific Control).
  • the foregoing first control may be a control for different applications in the terminal device. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the terminal device when the terminal device displays a control (for example, the first control described below) on the display interface of the target application, and displays the above M interface identifiers in the first control,
  • the terminal device can hide the first control, cancel the display of the first control, or change the display size of the first control in the current interface (for example, the display interface of the target application), so as to avoid the first control pairing
  • the display content of the current interface is blocked, thereby improving the user experience.
  • the terminal device after the terminal device hides the first control, cancels the display of the first control, or changes the display size of the first control, if the user needs to switch from the current interface to the target interface, the user can check the target interface for indicating the target interface.
  • the terminal device is triggered to display the first control normally (that is, the first control is displayed or the first control is displayed in a normal display size) through an input.
  • the interface switching method provided by the embodiment of the present disclosure may further include the following S203 and S204.
  • S203 The terminal device receives the second input of the user.
  • the above-mentioned second input may be an input of the user to the second control, or an input of the user performing a preset gesture on the terminal device.
  • it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the above-mentioned second control can be used to indicate the entry of the first control. That is, the user can trigger the terminal device to display the first control by inputting the second control.
  • the above-mentioned second control may be superimposed and displayed on the display interface of the target application with the first preset transparency, and the specific value of the first preset transparency may be determined according to actual usage requirements.
  • the embodiment is not limited.
  • the above-mentioned first control and the second control may be two different controls, or may be one control in different display states.
  • the user input to the second control can trigger the terminal device to display the first control.
  • the user input to the second control that is, the first control in one display state
  • the terminal device to display the first control in another display state .
  • it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the terminal device can hide the first control or cancel the display of the first control in the current interface (for example, the display interface of the target application), and display the second control in the current interface.
  • the terminal device can change the display size of the first control from the first size (ie The aforementioned first control in another state) is changed to a second size (that is, the aforementioned first control in one display state). Wherein, the first size is larger than the second size.
  • the specific numerical values of the first size and the second size can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the second input when the second input is the user's input to the second control, the second input may specifically be click input, long press input, double press input, drag input, sliding input, etc. Any possible form of input can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • click input, long press input, double press input, drag input, and slide input please refer to the relevant description in S201 above, which will not be repeated here.
  • the above-mentioned preset gesture may be any preset possible gesture.
  • the aforementioned second input may be an input in which the user performs a preset track with respect to the terminal device (specifically, it may be an input in a preset direction relative to the screen of the terminal device).
  • it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the terminal device In response to the second input, the terminal device displays the first control.
  • the foregoing first control may include M interface identifiers.
  • M interface identifiers please refer to the related description of the M interface identifiers in S201, which will not be repeated here.
  • the terminal device may display the first control in the current interface (for example, the display interface of the target application mentioned above).
  • the terminal device may float and display the first control with the second preset transparency in the current interface.
  • the specific value of the second preset transparency may be determined according to actual use requirements, which is not limited in the embodiment of the present disclosure.
  • the display interface of the target application is the chat interface between the user and shop A.
  • the display interface is a chat interface between the user and shop A (hereinafter referred to as chat interface 60)
  • the terminal device superimposes and displays the second control in the chat interface 60 with the first preset transparency 61.
  • the user clicks on the second control 61 that is, the terminal device receives the user's second input, and the terminal device responds to the second input.
  • the terminal device can be in the chat interface 60, The first control 62 is displayed with the second preset transparency, and the display of the second control in the chat interface 60 is cancelled.
  • the terminal device when the user does not need to operate the first control, can hide the first control, cancel the display of the first control, or change the display size of the first control, and when the user needs to operate the first control, the user The terminal device can be triggered to display the first control through the second input. Therefore, the first control can be avoided when the first control is always displayed in the current interface (for example, the display interface of the target application above). Improve the interface display effect, which in turn can improve the user experience.
  • the foregoing M interface identifiers can trigger the user to trigger the identifier added to the display interface of the target application, that is, the interface indicated by each interface identifier in the M interface identifiers is the user The interface that has been browsed. Therefore, if the user needs to view an interface again (such as the target interface mentioned above) during the user browsing the interface, the user can pass an input (such as the third Input) triggers the terminal device to add the interface identifier of the interface (for example, the aforementioned target interface identifier) to the display interface of the target application. Therefore, when the user needs to view the interface again, he can directly trigger the terminal device to directly display the interface through another input (for example, the aforementioned second input).
  • an input such as the third Input
  • the interface switching method provided by the embodiment of the present disclosure may further include the following S205 and S206.
  • S205 The terminal device receives the third input of the user on the target interface.
  • the terminal device In response to the third input, the terminal device adds M interface identifiers to the display interface of the target application.
  • the terminal device adding M interface identifiers to the display interface of the target application program may specifically be that the terminal device adds the M interface identifiers in the first task stack corresponding to the target application program. Moreover, after the terminal device adds the M interface identifiers to the first task stack, the terminal device can display the M interface identifiers on each interface of the target application, that is, the terminal device adds M targets on the display interface of the target application. Interface logo.
  • the above-mentioned first task stack is a collection of tasks created by the terminal device in the terminal device during the execution of the application program.
  • the terminal device adds M interface labels to the display interface of the target application program as a manifestation of the terminal device adding M interface identifiers to the user interface in the first task stack.
  • the terminal device adds M interface identifiers to the display interface of the target application, that is, the terminal device adds M interface identifiers to the first control.
  • the aforementioned first control is an expression form of the first task stack on the user interface.
  • the first task stack and the first control exist and disappear at the same time. That is, when the terminal device creates the first task stack, the first control can be displayed on the user interface of the terminal device; when the terminal device deletes the first task stack, the first control can be cancelled on the user interface of the terminal device. That is, a first control corresponds to a task stack.
  • the aforementioned third input may include a first sub-input and a second sub-input.
  • the user can trigger the terminal device to add one interface identifier (for example, the above-mentioned target interface identifier) to the display interface of the target application at a time, or trigger the terminal device to add multiple interfaces to the display interface of the target application at a time.
  • one interface identifier for example, the above-mentioned target interface identifier
  • Each identifier can be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
  • the user triggers the terminal device to add an interface identifier (for example, the above-mentioned target interface identifier) to the display interface of the target application at a time, and display the interface identifier in the first control Take it as an example.
  • an interface identifier for example, the above-mentioned target interface identifier
  • the first sub-input may be the user's input on the target interface (for example, the display interface of the target application), and the first sub-input is specifically used to trigger the terminal device to control the target interface in an editable state ;
  • the second sub-input may also be the user's input on the target interface, and the second sub-input is specifically used to trigger the terminal device to add the target interface identifier in the first control.
  • the above-mentioned first sub-input may be the user's input on a blank area on the target interface.
  • the aforementioned second sub-input may be an input of the user dragging the target interface or the thumbnail of the target interface to the second control.
  • the aforementioned first sub-input can also trigger the terminal device to change the display size of the second control from the aforementioned second size to a third size, where the third size is greater than or equal to the second size.
  • the recognition range of the second control can be expanded to reduce the difficulty of the user performing the second sub-input operation, thereby increasing the convenience of the operation and improving the human-computer interaction performance.
  • the user can use the chat interface 80 between the user and friend A (hereinafter referred to as the chat interface 80) in the blank area long press, that is, the terminal device receives the user's first sub-input on the target interface, and then, in response to the first sub-input, the terminal device controls the chat interface 80 to be in an editable state, and sets the second control
  • the display size of 81 is changed from the second size (s1 shown in Figure 8 (a)) to the third size (s2 shown in Figure 8 (a)); at this time, the user can change the chat interface Drag the 80’s thumbnail to the second control, that is, the terminal device receives the second sub-input of the user, and then, in response to the second sub-input, the terminal device adds the interface identifier of the chat interface (that is, the target interface) to the first control. logo).
  • the first sub-input may be the user's input on the target interface, and the first sub-input is specifically used to trigger the terminal device to display the target selection box; the second sub-input may be the user's selection of the target selection box The second sub-input is specifically used to trigger the terminal device to add the target interface identifier in the first control.
  • the above-mentioned first sub-input may be the user's input on any area in the target interface.
  • the input form of the first sub-input please refer to the relevant description of the input form of the first input in S201, which is not repeated here.
  • the target selection box may include prompt information and two options.
  • the prompt message can be "Do you want to add the current interface?"
  • the two options can be a "Yes" option and a "No” option.
  • the user can trigger the terminal device to add the target interface identifier to the first control by inputting the "Yes” option, that is, the terminal device can add the target interface identifier to the first control, and cancel the target selection box in the target interface. Display; the user can trigger the terminal device to cancel the display of the target selection box in the target interface by inputting the "No" option.
  • the target interface is a chat interface between the user and friend A
  • the user can use the chat interface 90 (hereinafter referred to as chat interface 90) between the user and friend A Long press any area, that is, the terminal device receives the user's first sub-input, and then, in response to the first sub-input, the terminal device displays a target selection box 91.
  • the target selection box 91 may include the prompt message "Add current interface?" "", "Yes” option and "No" option.
  • the terminal device can respond to the second sub-input and set it in the first control
  • the first control 92 may include the interface identifier 93 of the chat interface 90.
  • the above-mentioned first control may also include a target option.
  • the target option may include at least one of the following: add option, delete option. That is, the target option can include an add option, can also include a delete option, and can also include an add option and a delete option.
  • the add option can be used to add the interface identification to the first control
  • the delete option can be used to delete the interface identification from the first control.
  • the first sub-input may be the user's input to the second control, and the first sub-input is specifically used to trigger the terminal device to display the first control; the second sub-input may be the user's input to the first control The second sub-input is specifically used to trigger the terminal device to add the target interface identifier in the first control.
  • the input form of the first sub-input and the second sub-input please refer to the relevant description of the input form of the first input in S201, which will not be repeated here.
  • the user when the first control is displayed in the target interface, the user can directly perform the second sub-input without performing the first sub-input, that is, the first control is displayed in the target interface.
  • the third input is the second sub-input.
  • the user can directly input the add option 35 in the first control 31, that is, the terminal device receives the user's second sub-input .
  • the terminal device can add a target interface identifier (used to indicate the target interface) in the first control.
  • the above descriptions of the embodiments of the present disclosure are all based on adding the target interface identifier in the first control as an example.
  • the above M interface identifiers can be added by the method described in the above embodiment. In the first control. To avoid repetition, I won’t repeat them here.
  • the user can also trigger the terminal device to display at least one of the following through the foregoing second sub-input: Interface identifier, the interface identifier of the next level interface of the target interface.
  • Interface identifier the interface identifier of the next level interface of the target interface.
  • all interface identifiers that the user triggers to display on the terminal device through the second sub-input may be located in one interface (for example, the first interface), and each interface identifier in the first interface may display a first selection box.
  • the user can trigger the terminal device to add the interface identifiers corresponding to the N first selection boxes in the first control by inputting the N first selection boxes; where N is a positive integer, and N is less than or equal to the value in the first interface The total number of interface identifiers.
  • the terminal device may The target interface identifier is displayed in the current interface (for example, the display interface of the target application program), or the target interface identifier may not be displayed, which can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • the first control may include the target interface identifier.
  • the flexibility of adding the interface identification can be increased. It can improve the performance of human-computer interaction.
  • the user when the delete option is included in the first control, the user can trigger the terminal device to delete the interface identifier from the first control by inputting the delete option in the first control.
  • the terminal device when the user inputs a delete option (for example, the delete option 36 shown in (b) in Figure 3), the terminal device can be triggered to directly delete the interface identifier of the current interface from the first control (understandably, this In this case, the first control includes the interface identifier of the current interface); or, the terminal device can also be triggered to directly delete the interface identifier added by the user for the last or first time from the first control; or, the terminal device can also be triggered Delete the interface identifier selected by the user.
  • a delete option for example, the delete option 36 shown in (b) in Figure 3
  • the terminal device can be triggered to directly delete the interface identifier of the current interface from the first control (understandably, this In this case, the first control includes the interface identifier of the current interface); or, the terminal device can also be triggered to directly delete the interface identifier added by the user for the last or first time from the first control; or, the terminal device can also be triggered Delete the interface identifier selected by the
  • the user's input to the delete option may first trigger the terminal device to display a second interface, which may include all interface identifiers in the first control ( That is, the above M interface identifiers); and, each interface identifier in the second interface displays a second selection box, and the user can input the second selection box on the P interface identifiers of the M interface identifiers , Triggering the terminal device to delete P interface identifiers from the first control.
  • P is a positive integer less than or equal to M.
  • the flexibility and convenience of deleting the interface identification can be increased, thereby improving human-computer interaction performance.
  • the terminal device as the user browses the interface, he can trigger the terminal device to add the interface identifier to the first control at any time according to his own needs, and can trigger the terminal device to delete the interface from the first control at any time according to his needs Logo, that is, users can adjust the interface logo in the first control at any time according to their own needs. Therefore, the flexibility and convenience of adding or deleting interface logos can be increased, which can simplify the interface switching when users need to view different interfaces. Process, thereby improving human-computer interaction performance.
  • the terminal device may create the interface when the user triggers the terminal device to open the application For the task stack of the application, or when the application is running in the foreground of the terminal device, the user can trigger the terminal device to create a task stack for the application through input on any interface of the application .
  • the terminal device when the terminal device creates a task stack for the application program, it can display a control corresponding to the task stack (for example, the first control above) on the interface of the application program.
  • the interface switching method provided by the embodiment of the present disclosure may further include the following S207.
  • the terminal device In the case of receiving the fourth input of the user, the terminal device creates a first task stack for the target application, and displays a first control corresponding to the first task stack.
  • the foregoing fourth input may be an input for the user to trigger the terminal device to open the target application.
  • the fourth input may specifically be an input that the user triggers the terminal device to start the target application (that is, the target application is in the closed state before the user performs the fourth input) (implementation method 1); or, the fourth input may specifically For the user to trigger the terminal device to switch the target application from the background of the terminal device to the input of the foreground of the terminal device (implementation mode 2).
  • it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the above-mentioned fourth input may also be the user's input on the interface of the target application, that is, the fourth input is that when the target application is running in the foreground of the terminal device, the user is in the target application Input on the interface (implementation mode 3).
  • the terminal device in the case of receiving the fourth input of the user, can directly create the first task stack; or it can display a prompt box, which can be used to prompt the user whether to create the first task stack. If the user needs to create the first task stack, the user can trigger the terminal device to create the first task stack.
  • the terminal device can create the first task stack according to the name of the target application and the number of the process started this time.
  • the process number also known as the process ID, namely (process identification, PID)
  • PID process identification
  • the terminal device may first determine whether the first task stack exists. If the first task stack does not exist, the terminal device can directly create the first task stack; or the terminal device can display a prompt box, which can be used to prompt the user whether to create the first task stack of the task. If the user needs to create the first task stack, Then the terminal device can create the first task stack.
  • the terminal device may create the first task stack in response to the fourth input.
  • the terminal device since the user can start the target application or the target application is running in the foreground of the terminal device, the terminal device is triggered to create the first task stack to add or delete the interface identifier, and the target application
  • the first control corresponding to the first task stack is displayed on the interface of the application program, which can improve the flexibility and convenience of the operation interface identification, thereby simplifying the interface switching process when users need to view different interfaces, thereby improving human-computer interaction performance.
  • the terminal device may delete the first task stack and cancel the display The first control.
  • the first task stack is the task stack for the "Shopping 1" application (ie the target application)
  • the display interface of the target application is the "Shopping 1" application
  • the logistics interface of order 1 in the program It is also assumed that the first control corresponding to the first task stack is displayed on the logistics interface of order 1.
  • the first control 113 is displayed on the logistics interface 112 of Order 1.
  • the user can trigger the terminal device to exit the "Shopping 1" application, then, as shown in Figure 11 ( As shown in b), the terminal device can display the interface 114 in the desktop of the terminal device, and cancel the display of the first control in the interface 114.
  • the first task stack is a task stack for the target application
  • the first task stack can be deleted when the user triggers the closing of the target application. In this way, it is possible to prevent the first control and the interface identifier in the first control from occupying the resources of the terminal device, thereby saving resources of the terminal device and improving the performance of the terminal device.
  • the interface switching methods shown in the figures of the above methods are all exemplified in conjunction with a figure in the embodiments of the present disclosure.
  • the interface switching methods shown in the figures of the above methods can also be implemented in combination with any other figures that can be combined as illustrated in the above embodiments, and will not be repeated here.
  • the terminal device 900 may include a receiving module 901 and a display module 902.
  • the receiving module 901 may be used to receive the first input of the target interface identifier of the M interface identifiers by the user when the display interface of the target application program displays M interface identifiers; the display module 902 may be used to respond to The first input received by the receiving module 901 displays the target interface corresponding to the target interface identifier; wherein the M interface identifiers may be identifiers that are added according to the user's input trigger, and M is a positive integer.
  • the receiving module 901 may also be configured to receive a second input from the user before receiving the user's first input to the target interface identifier among the M interface identifiers; the display module 902 , Can also be used to display the first control in response to the second input received by the receiving module 901; wherein, the first control can include M interface identifiers.
  • the foregoing terminal device 900 may further include a processing module 903.
  • the receiving module 901 may also be used to receive the user's third input on the target interface before receiving the user's first input of the target interface identifier in the M interface identifiers; the processing module 903 may be used to respond to receiving The third input received by the module 901 adds the M interface identifiers to the target interface of the target application.
  • the above-mentioned processing module 903 may also be used to, before the receiving module 901 receives the user's third input on the target interface, when the receiving module 901 receives the user's fourth input, Create a first task stack for the target application; the above-mentioned display module 902 can also be used to display the first control corresponding to the first task stack created by the processing module 903.
  • the foregoing fourth input may be an input by the user to trigger the terminal device to open the target application, or the foregoing fourth input may be an input by the user on the interface of the target application.
  • the above-mentioned first control may further include a target option, and the target option may include at least one of the following: add option, delete option.
  • the add option can be used to add the interface identification to the first control
  • the delete option can be used to delete the interface identification from the first control.
  • the terminal device provided in the embodiments of the present disclosure can implement the various processes implemented by the terminal device shown in the foregoing method embodiments. To avoid repetition, details are not described herein again.
  • the embodiment of the present disclosure provides a terminal device, which can receive the target interface of the M interface identifiers from the user when the display interface of the target application program displays M interface identifiers (that is, added according to user input) The first input of the identifier; and in response to the first input, the target interface corresponding to the target interface identifier is displayed; where M is a positive integer.
  • the M interface identifiers are added according to the user's input (for example, they can be added by the user to trigger the terminal device in the process of browsing the interface), so when the user needs to view a certain interface,
  • the user can directly input the target interface identifier indicating the target interface (such as the first input) to trigger the terminal device to directly display the target interface corresponding to the target interface identifier, without having to trigger the terminal device step by step.
  • Switching to the target interface can simplify the interface switching process when users need to view different interfaces, thereby improving the human-computer interaction performance.
  • FIG. 14 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure.
  • the terminal device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , The processor 110, and the power supply 111 and other components.
  • the terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. Layout.
  • terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and pedometers.
  • the user input unit 107 is configured to receive the first input of the target interface identifier of the M interface identifiers by the user when the display interface of the target application program displays M interface identifiers; the display unit 106 is used to respond In the first input received by the receiving module, the target interface corresponding to the target interface identifier is displayed; wherein, the M interface identifiers are added according to the user's input, and M is a positive integer.
  • the receiving module 901 in the above-mentioned structural diagram of the terminal device may be implemented by the above-mentioned user input unit 107.
  • the display module 902 in the above-mentioned structural schematic diagram of the terminal device may be implemented by the above-mentioned display unit 106.
  • the processing module 903 in the above-mentioned structural schematic diagram of the terminal device may be implemented by the above-mentioned processor 110.
  • the embodiment of the present disclosure provides a terminal device, which can receive the target interface of the M interface identifiers from the user when the display interface of the target application program displays M interface identifiers (that is, added according to user input) The first input of the identifier; and in response to the first input, the target interface corresponding to the target interface identifier is displayed; where M is a positive integer.
  • the M interface identifiers are added according to the user's input (for example, they can be added by the user to trigger the terminal device in the process of browsing the interface), so when the user needs to view a certain interface,
  • the user can directly input the target interface identifier indicating the target interface (such as the first input) to trigger the terminal device to directly display the target interface corresponding to the target interface identifier, without having to trigger the terminal device step by step.
  • Switching to the target interface can simplify the interface switching process when users need to view different interfaces, thereby improving the human-computer interaction performance.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output them as sounds. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the mobile terminal 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the mobile terminal.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it is transmitted to the processor 110 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the mobile terminal is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the mobile terminal 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the mobile terminal 100 or can be used to connect to the mobile terminal 100 and external Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect the various parts of the entire mobile terminal, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the mobile terminal 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a mobile terminal, which may include the aforementioned processor 110 shown in FIG. 10, a memory 109, and a computer program stored on the memory 109 and running on the processor 110,
  • a mobile terminal which may include the aforementioned processor 110 shown in FIG. 10, a memory 109, and a computer program stored on the memory 109 and running on the processor 110,
  • the computer program is executed by the processor 110, each process of the control method of the mobile terminal shown in any one of FIG. 2 to FIG. 7 in the above method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, it is not here. Repeat it again.
  • the embodiment of the present disclosure also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program When the computer program is executed by a processor, the computer program shown in any one of FIGS. 2 to 7 in the above method embodiment is implemented.
  • Each process of the control method of the mobile terminal can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a mobile terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • a mobile terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided in the embodiments of the present disclosure are an interface switching method and a terminal device. The solution comprises: insofar as M interface identifiers are displayed in a display interface of a target application, receiving a first input of a user with respect to a target interface identifier among the M interface identifiers and, in response to the first input, displaying target interfaces corresponding to the M interface identifiers, where the addition of the M interface identifiers is triggered on the basis of the input of the user, and M is a positive integer.

Description

界面切换方法及终端设备Interface switching method and terminal equipment
相关申请的交叉引用Cross references to related applications
本申请主张在2019年07月23日在中国提交的中国专利申请号No.201910667692.8的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201910667692.8 filed in China on July 23, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开实施例涉及通信技术领域,尤其涉及一种界面切换方法及终端设备。The embodiments of the present disclosure relate to the field of communication technologies, and in particular, to an interface switching method and terminal equipment.
背景技术Background technique
随着终端技术的发展,终端设备的应用越来越广泛。用户可以通过终端设备上安装的应用程序浏览内容。With the development of terminal technology, the application of terminal equipment becomes more and more extensive. Users can browse content through applications installed on terminal devices.
通常,用户可以触发终端设备在应用程序的不同界面之间切换。例如,假设一个应用程序包括界面1、界面2、界面3和界面4,且当用户触发终端设备依次显示界面1、界面2、界面3和界面4时,如果在终端设备显示界面4时,用户需求查看界面1,则用户需要多次触发终端设备逐步返回界面1,此时,若用户又需求查看界面3,则用户仍然需要多次触发终端设备逐步切换到界面3。如此,由于用户需求查看不同界面时可能需要进行一系列操作才能触发终端设备切换到用户需求的界面,因此导致界面切换过程繁琐且复杂,人机交互性能差。Generally, the user can trigger the terminal device to switch between different interfaces of the application. For example, suppose an application program includes interface 1, interface 2, interface 3, and interface 4, and when the user triggers the terminal device to display interface 1, interface 2, interface 3, and interface 4 in sequence, if the terminal device displays interface 4, the user To view interface 1, the user needs to trigger the terminal device to gradually return to interface 1 multiple times. At this time, if the user needs to view interface 3 again, the user still needs to trigger the terminal device to gradually switch to interface 3 multiple times. In this way, a series of operations may be required to trigger the terminal device to switch to the interface required by the user when the user needs to view different interfaces, which results in a cumbersome and complicated interface switching process and poor human-computer interaction performance.
发明内容Summary of the invention
本公开实施例提供一种界面切换方法及终端设备,以解决界面切换过程繁琐且复杂,人机交互性能差的问题。The embodiments of the present disclosure provide an interface switching method and terminal device to solve the problem of tedious and complicated interface switching process and poor human-computer interaction performance.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例提供了一种界面切换方法,该方法包括,在目标应用程序的显示界面显示M个界面标识的情况下,接收用户对该M个界面标识中的目标界面标识的第一输入,并响应于第一输入,显示与目标界面标识对应的目标界面;其中,M个界面标识为根据用户的输入添加的,M为正整数。In the first aspect, an embodiment of the present disclosure provides an interface switching method. The method includes, in a case where M interface identifiers are displayed on the display interface of the target application, receiving a user's notification of the target interface identifier among the M interface identifiers. First input, and in response to the first input, display a target interface corresponding to the target interface identifier; wherein, M interface identifiers are added according to the user's input, and M is a positive integer.
第二方面,本公开实施例提供了一种终端设备,该终端设备包括:包括接收模块和显示模块。接收模块,用于在目标应用程序的显示界面显示M个界面标识的情况下,接收用户对该M个界面标识中的目标界面标识的第一输入;显示模块,用于响应于接收模块接收的第一输入,显示与目标界面标识对应的目标界面;其中,该M个界面标识为根据用户的输入添加的,M为正整数。In a second aspect, embodiments of the present disclosure provide a terminal device, which includes a receiving module and a display module. The receiving module is used to receive the first input of the target interface identifier of the M interface identifiers by the user when the display interface of the target application program displays M interface identifiers; the display module is used to respond to the information received by the receiving module The first input is to display the target interface corresponding to the target interface identifier; wherein the M interface identifiers are added according to the user's input, and M is a positive integer.
第三方面,本公开实施例提供了一种终端设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述第一方面的界面切换方法的步骤。In a third aspect, the embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored on the memory and running on the processor. When the computer program is executed by the processor, the above-mentioned first aspect is implemented. Steps of the interface switching method.
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面的界面切换方法的步骤。In a fourth aspect, the embodiments of the present disclosure provide a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the interface switching method of the first aspect are implemented.
在本公开实施例中,终端设备可以在目标应用程序的显示界面显示M个界面标识 (即根据用户的输入添加)的情况下,接收用户对该M个界面标识中的目标界面标识的第一输入;且响应于第一输入,显示与目标界面标识对应的目标界面;其中,M为正整数。通过该方案,由于M个界面标识(包括目标界面标识)为根据用户的输入添加的(例如,可以为用户在浏览界面的过程中触发终端设备添加的),因此当用户需求查看某个界面,例如目标界面时,用户可以通过直接对指示该目标界面的目标界面标识的输入(例如第一输入),触发终端设备直接显示与目标界面标识对应的目标界面,而无需再多次触发终端设备逐步切换到目标界面,从而可以简化用户需求查看不同界面时界面的切换过程,进而可以提高人机交互性能。In the embodiment of the present disclosure, the terminal device may receive the first of the target interface identifiers of the M interface identifiers from the user when the display interface of the target application program displays M interface identifiers (that is, added according to the user's input). Input; and in response to the first input, the target interface corresponding to the target interface identifier is displayed; where M is a positive integer. Through this solution, since the M interface identifiers (including the target interface identifier) are added according to the user's input (for example, they can be added by the user to trigger the terminal device in the process of browsing the interface), so when the user needs to view a certain interface, For example, in the case of a target interface, the user can directly input the target interface identifier indicating the target interface (such as the first input) to trigger the terminal device to directly display the target interface corresponding to the target interface identifier, without having to trigger the terminal device step by step. Switching to the target interface can simplify the interface switching process when users need to view different interfaces, thereby improving the human-computer interaction performance.
附图说明Description of the drawings
图1为本公开实施例提供的一种可能的安卓操作***的架构示意图;FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure;
图2为本公开实施例提供的界面切换方法的示意图之一;FIG. 2 is one of the schematic diagrams of the interface switching method provided by the embodiments of the disclosure;
图3为本公开实施例提供的界面切换方法应用的界面示意图之一;3 is one of the schematic diagrams of the interface of the interface switching method application provided by the embodiment of the disclosure;
图4为本公开实施例提供的界面切换方法应用的界面示意图之二;4 is the second schematic diagram of the interface of the interface switching method application provided by the embodiment of the disclosure;
图5为本公开实施例提供的界面切换方法的示意图之二;FIG. 5 is the second schematic diagram of the interface switching method provided by an embodiment of the disclosure;
图6为本公开实施例提供的界面切换方法应用的界面示意图之三;6 is the third schematic diagram of the interface of the interface switching method application provided by the embodiment of the disclosure;
图7为本公开实施例提供的界面切换方法的示意图之三;FIG. 7 is the third schematic diagram of an interface switching method provided by an embodiment of the disclosure;
图8为本公开实施例提供的界面切换方法应用的界面示意图之四;8 is the fourth schematic diagram of the interface of the interface switching method application provided by the embodiments of the disclosure;
图9为本公开实施例提供的界面切换方法应用的界面示意图之五;9 is the fifth schematic diagram of the interface of the interface switching method application provided by the embodiments of the disclosure;
图10为本公开实施例提供的界面切换方法的示意图之四;10 is the fourth schematic diagram of the interface switching method provided by the embodiments of the disclosure;
图11为本公开实施例提供的界面切换方法应用的界面示意图之六;11 is the sixth schematic diagram of the interface of the interface switching method application provided by the embodiments of the disclosure;
图12为本公开实施例提供的终端设备的结构示意图之一;FIG. 12 is one of schematic structural diagrams of a terminal device provided by an embodiment of the disclosure;
图13为本公开实施例提供的终端设备的结构示意图之二;FIG. 13 is a second structural diagram of a terminal device provided by an embodiment of the disclosure;
图14为本公开实施例提供的终端设备的硬件示意图。FIG. 14 is a schematic diagram of hardware of a terminal device provided by an embodiment of the disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
本公开的说明书和权利要求书中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一阈值、第二阈值、第三阈值和第四阈值等是用于区别不同的阈值,而不是用于描述阈值的特定顺序。The terms "first", "second", "third", and "fourth" in the specification and claims of the present disclosure are used to distinguish different objects, rather than describing a specific order of objects. For example, the first threshold, the second threshold, the third threshold, and the fourth threshold are used to distinguish different thresholds, not to describe the specific order of the thresholds.
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
在本公开实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元;多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present disclosure, unless otherwise specified, the meaning of "multiple" refers to two or more than two, for example, multiple processing units refers to two or more processing units; multiple elements Refers to two or more elements, etc.
下面首先对本公开的权利要求书和说明书中涉及的一些名词或者术语进行解释说 明。The following first explains some terms or terms involved in the claims and specification of the present disclosure.
任务栈:也称为任务收纳栈,是指任务的集合。其中,任务是指终端设备在执行特定作业时与用户交互的一系列动作(activity),对于用户来说,任务即应用程序界面(包括应用程序界面中的信息)。用户可以触发终端设备添加任务到任务栈中,也可以触发终端设备从任务栈中删除已存在的任务,还可以触发终端设备选中任务栈中的任意任务,以及终端设备可以在终端设备的前台运行选中的任意任务。Task stack: also known as task storage stack, refers to a collection of tasks. Among them, a task refers to a series of activities that the terminal device interacts with the user when performing a specific task. For the user, the task is the application program interface (including information in the application program interface). The user can trigger the terminal device to add tasks to the task stack, or trigger the terminal device to delete existing tasks from the task stack, or trigger the terminal device to select any task in the task stack, and the terminal device can run in the foreground of the terminal device Any task selected.
需要说明的是,本公开实施例中,界面的界面标识,即表示用于指示界面的界面标识。在本公开实施例中,界面的界面标识与用于指示界面的界面标识可以互换,两者意思相同。It should be noted that, in the embodiment of the present disclosure, the interface identifier of the interface means the interface identifier used to indicate the interface. In the embodiments of the present disclosure, the interface identifier of the interface and the interface identifier for indicating the interface can be interchanged, and the two have the same meaning.
本公开实施例提供一种界面切换方法及终端设备,终端设备可以在目标应用程序的显示界面显示M个界面标识(即根据用户的输入添加的)的情况下,接收用户对该M个界面标识中的目标界面标识的第一输入;且响应于第一输入,显示与目标界面标识对应的目标界面;其中,M为正整数。通过该方案,由于M个界面标识(包括目标界面标识)可以为根据用户的输入添加的,因此当用户需求查看某个界面,例如目标界面时,用户可以通过直接对指示该目标界面的目标界面标识的输入(例如第一输入),触发终端设备直接显示与目标界面标识对应的目标界面,而无需再多次触发终端设备逐步切换到目标界面,从而可以简化用户需求查看不同界面时界面的切换过程,进而可以提高人机交互性能。The embodiments of the present disclosure provide an interface switching method and a terminal device. The terminal device can receive the M interface identifiers from the user when the display interface of the target application displays M interface identifiers (that is, added according to the user's input) In response to the first input, display the target interface corresponding to the target interface identifier; where M is a positive integer. With this solution, since M interface identifiers (including target interface identifiers) can be added according to the user's input, when the user needs to view a certain interface, such as a target interface, the user can directly indicate the target interface of the target interface The input of the logo (such as the first input) triggers the terminal device to directly display the target interface corresponding to the target interface logo, instead of triggering the terminal device multiple times to gradually switch to the target interface, which can simplify the interface switching when users need to view different interfaces Process, which in turn can improve human-computer interaction performance.
下面以安卓操作***为例,介绍一下本公开实施例提供的界面切换方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment applied by the interface switching method provided by the embodiments of the present disclosure.
如图1所示,为本公开实施例提供的一种可能的安卓操作***的架构示意图。在图1中,安卓操作***的架构包括4层,分别为:应用程序层、应用程序框架层、***运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure. In Figure 1, the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作***中的各个应用程序(包括***应用程序和第三方应用程序)。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
***运行库层包括库(也称为***库)和安卓操作***运行环境。库主要为安卓操作***提供其所需的各类资源。安卓操作***运行环境用于为安卓操作***提供软件环境。The system runtime layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作***的操作***层,属于安卓操作***软件层次的最底层。内核层基于Linux内核为安卓操作***提供核心***服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作***为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作***的***架构,开发实现本公开实施例提供的界面切换方法的软件程序,从而使得该界面切换方法可以基于如图1所示的安卓操作***运行。即处理器或者终端可以通过在安卓操作***中运行该软件程序实现本公开实施例提供的界面切换方法。Taking the Android operating system as an example, in the embodiment of the present disclosure, developers can develop a software program that implements the interface switching method provided by the embodiment of the present disclosure based on the system architecture of the Android operating system as shown in FIG. 1, so that the interface The switching method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal can implement the interface switching method provided by the embodiments of the present disclosure by running the software program in the Android operating system.
本公开实施例中的移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,本公开实施例不作具 体限定。The mobile terminal in the embodiment of the present disclosure may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., and the embodiments of the present disclosure are not specifically limited.
本公开实施例提供的界面切换方法的执行主体可以为上述的移动终端,也可以为该移动终端中能够实现该方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。下面以移动终端为例,对本公开实施例提供的界面切换方法进行示例性的说明。The execution subject of the interface switching method provided by the embodiments of the present disclosure may be the above-mentioned mobile terminal, or may be a functional module and/or functional entity in the mobile terminal that can implement the method, and the specifics can be determined according to actual usage requirements. The embodiment is not limited. The following uses a mobile terminal as an example to illustrate the interface switching method provided in the embodiments of the present disclosure.
本公开实施例中,当用户需求查看不同界面时,用户可以在浏览各个界面的过程中,先触发终端设备将用于指示可能需求再次查看的各个界面的界面标识添加在一个界面(例如,本公开实施例中的目标应用程序的显示界面)中,从而当用户需求查看某个界面(例如本公开实施例中的目标界面)时,用户可以通过直接对用于指示该界面的界面标识(例如本公开实施例中的目标界面标识)的输入(例如本公开实施例中的第一输入),触发终端设备直接显示该界面。如此,在用户浏览界面的过程中,当用户需求浏览不同界面时,用户可以直接通过对指示这些界面的界面标识的输入触发终端设备显示这些界面,而无需再多次触发终端设备逐步切换到这些界面,从而可以简化用户需求查看不同界面时界面的切换过程,进而可以提高人机交互性能。In the embodiments of the present disclosure, when the user needs to view different interfaces, the user can first trigger the terminal device to add the interface identification of each interface that may need to be viewed again in an interface (for example, this The display interface of the target application in the disclosed embodiment), so that when the user needs to view a certain interface (such as the target interface in the embodiment of the present disclosure), the user can directly identify the interface used to indicate the interface (such as The input of the target interface identifier in the embodiment of the present disclosure (for example, the first input in the embodiment of the present disclosure) triggers the terminal device to directly display the interface. In this way, in the process of user browsing the interface, when the user needs to browse different interfaces, the user can directly trigger the terminal device to display these interfaces by inputting the interface identifiers indicating these interfaces, instead of repeatedly triggering the terminal device to gradually switch to these interfaces. The interface can simplify the interface switching process when the user needs to view different interfaces, thereby improving the performance of human-computer interaction.
下面具体结合各个附图对本公开实施例提供的界面切换方法进行示例性的描述。Hereinafter, the interface switching method provided by the embodiments of the present disclosure will be exemplarily described in detail with reference to the drawings.
如图2所示,本公开实施例提供一种界面切换方法,该方法可以包括下述的S201和S202。As shown in FIG. 2, an embodiment of the present disclosure provides an interface switching method, which may include the following S201 and S202.
S201、在目标应用程序的显示界面显示M个界面标识的情况下,终端设备接收用户对该M个界面标识中的目标界面标识的第一输入。S201: In a case where M interface identifiers are displayed on the display interface of the target application, the terminal device receives a user's first input of the target interface identifier among the M interface identifiers.
其中,上述目标界面标识可以为上述M个界面标识中的标识,且该M个界面标识中的每个界面标识可以用于指示一个界面,以及该M个界面标识可以为根据用户的输入添加的。Wherein, the above-mentioned target interface identifier may be an identifier in the above-mentioned M interface identifiers, and each of the M interface identifiers may be used to indicate an interface, and the M interface identifiers may be added according to user input .
本公开实施例中,上述M个界面标识中的每个界面标识可以为其指示的界面中的关键词、界面的名称等任意能够唯一指示该界面的标识,本公开实施例不作限定。In the embodiments of the present disclosure, each of the above-mentioned M interface identifiers can be any identifier that can uniquely indicate the interface, such as keywords in the indicated interface, the name of the interface, etc., which is not limited in the embodiment of the present disclosure.
可选地,本公开实施例中,上述M个界面标识中可以包括目标应用程序的显示界面的界面标识,也可以不包括目标应用程序的显示界面的界面标识,具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the above-mentioned M interface identifiers may include the interface identifier of the display interface of the target application, or may not include the interface identifier of the display interface of the target application, which can be specifically determined according to actual usage requirements. The embodiments of the present disclosure are not limited.
其中,上述目标应用程序的显示界面,可以理解为终端设备在终端设备的前台运行目标应用程序的过程中,终端设备当前显示的界面;本公开实施例中,目标应用程序的显示界面与终端设备当前显示的界面可以互换,两者意思相同;且目标应用程序的显示界面可以简称为显示界面,终端设备当前显示的界面可以简称为当前界面,在本公开实施例中,当前界面与显示界面也可以互换,两者意思相同。Among them, the above-mentioned display interface of the target application can be understood as the interface currently displayed by the terminal device when the terminal device is running the target application in the foreground of the terminal device; in the embodiment of the present disclosure, the display interface of the target application and the terminal device The currently displayed interface can be interchanged, and the two have the same meaning; and the display interface of the target application can be referred to as the display interface for short, and the interface currently displayed on the terminal device can be referred to as the current interface for short. In the embodiments of the present disclosure, the current interface and the display interface They can also be interchanged, and the two have the same meaning.
可选地,本公开实施例中,上述M个界面标识指示的界面可以为同一应用程序(例如上述目标应用程序)中的界面,也可以为不同应用程序中的界面,具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the interface indicated by the foregoing M interface identifiers may be an interface in the same application (for example, the target application), or may be an interface in a different application, which may be specifically based on actual usage requirements. Certainly, the embodiments of the present disclosure are not limited.
可以理解,本公开实施例中,当上述M个界面标识指示的界面为同一应用程序中的界面时,上述M个界面标识可以显示在该应用程序的各个界面上;当上述M个界面标识指示的界面为不同应用程序中的界面时,上述M个标识可以显示在各个应用程序的各个界面上。具体可以根据实际使用需求确定,本公开实施例不作限定。It can be understood that, in the embodiment of the present disclosure, when the interface indicated by the above M interface identifiers is an interface in the same application, the above M interface identifiers may be displayed on each interface of the application; when the above M interface identifiers indicate When the interface of is an interface in different application programs, the above M identifiers may be displayed on each interface of each application program. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
可选地,本公开实施例中,上述M个界面标识为根据用户的输入添加的是指:用户在浏览界面的过程中,触发终端设备将M个界面标识添加在目标应用程序的显示界面。具体的,该M个界面标识可以为用户在浏览界面的过程中,用户需求再次查看的界面的界面标识(即该M个界面标识可以为用户根据自身需求触发添加的标识)。如此,当用户需求再次查看某个界面时,可以对显示在目标应用程序的显示界面中,用于指示该界面的界面标识输入,以触发终端设备直接显示该界面标识指示的界面,即触发终端设备直接显示用户需求查看的界面。Optionally, in the embodiment of the present disclosure, the above-mentioned M interface identifiers are added according to the user's input means that the user triggers the terminal device to add the M interface identifiers to the display interface of the target application while browsing the interface. Specifically, the M interface identifiers may be the interface identifiers of the interface that the user needs to view again when the user browses the interface (that is, the M interface identifiers may be identifiers that the user triggers to add according to their own needs). In this way, when the user needs to view an interface again, he can input the interface identifier displayed on the display interface of the target application to indicate the interface to trigger the terminal device to directly display the interface indicated by the interface identifier, that is, trigger the terminal The device directly displays the interface that the user needs to view.
可选地,本公开实施例中,上述第一输入可以为点击输入、长按输入、重按输入、拖动输入和滑动输入等任意可能形式的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the above-mentioned first input may be any possible form of input such as click input, long press input, double press input, drag input, and sliding input, etc., which can be determined according to actual usage requirements. The embodiment is not limited.
其中,上述点击输入可以为单击、双击或者连续点击预设次数的输入。上述长按输入可以为接触预设时间的输入。上述重按输入也称为压力触控输入,是指用户以大于或等于压力阈值的压力值按下的输入。上述拖动输入可以为向任意方向拖动的输入。上述滑动输入可以为向任意方向滑动的输入。Wherein, the above-mentioned click input may be input of single click, double click, or continuous click for a preset number of times. The aforementioned long-press input may be an input for a preset time of contact. The above-mentioned re-press input is also called pressure touch input, which refers to an input in which the user presses with a pressure value greater than or equal to the pressure threshold. The aforementioned drag input may be an input of dragging in any direction. The aforementioned sliding input may be an input of sliding in any direction.
本公开实施例中,上述预设次数、预设时间以及压力阈值均可以根据实际使用需求确定,本公开实施例不作限定。In the embodiments of the present disclosure, the foregoing preset times, preset times, and pressure thresholds may all be determined according to actual use requirements, and the embodiments of the present disclosure are not limited.
S202、终端设备响应于第一输入,显示与目标界面标识对应的目标界面。S202: In response to the first input, the terminal device displays a target interface corresponding to the target interface identifier.
其中,上述与目标界面标识对应的目标界面,可以理解为目标界面标识指示的界面。Among them, the above-mentioned target interface corresponding to the target interface identifier can be understood as an interface indicated by the target interface identifier.
可选地,本公开实施例中,上述终端设备显示与目标界面标识对应的目标界面可以为:终端设备从目标应用程序的显示界面切换到目标界面;或者,终端设备在该显示界面上显示目标界面,例如终端设备在目标应用程序的显示界面的某个区域上显示目标界面。具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the terminal device displaying the target interface corresponding to the target interface identifier may be: the terminal device switches from the display interface of the target application to the target interface; or, the terminal device displays the target on the display interface The interface, for example, the terminal device displays the target interface on a certain area of the display interface of the target application. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
可选地,本公开实施例中,上述目标界面和目标应用程序的显示界面可以为同一应用程序中的两个界面,也可以为不同应用程序中的两个界面。具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the above-mentioned target interface and the display interface of the target application may be two interfaces in the same application, or two interfaces in different applications. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
下面再结合图3和图4对上述S201和S202所示的界面切换方法进行进一步示例性的说明。The interface switching method shown in S201 and S202 will be further exemplified below in conjunction with FIG. 3 and FIG. 4.
示例性的,以上述M个界面标识指示的界面为同一应用程序中的界面为例,假设M个界面标识指示的界面为“购物1”应用程序(图中未示出)中的2个界面(即M等于2),且该M个界面标识分别为标识一和标识二,其中,标识一用于指示消息界面,标识二用于指示订单1的物流界面,且“购物1”应用程序的显示界面为订单1的物流界面;又假设用户需求查阅消息界面(即目标界面为消息界面),且第一输入为用户对用于指示消息界面的界面标识的点击输入。那么,如图3中的(a)所示,订单1的物流界面30上显示用于指示消息界面的标识一32和用于指示订单1的物流界面的标识二33,用户可以在标识一32上点击,即终端设备接收到用户对M个界面标识中的目标界面标识的第一输入,然后,终端设备响应于第一输入,如图3中的(b)所示,终端设备可以显示标识一指示的消息界面34。如此,在“购物1”应用程序的显示界面为订单1的物流界面(如图3中的(a)所示的30),而用户又需求查阅消 息界面的情况下,用户可以直接在订单1的物流界面上,对用于指示消息界面的标识一输入,以触发终端设备直接显示消息界面,而无需再触发终端设备先从订单1的物流界面(如图4中的(a)所示的30)切换到交易物流界面(如图4中的(b)所示的37),然后再触发终端设备从交易物流界面切换到消息界面(如图4中的(c)所示的34),从而可以简化用户需求查看不同界面时界面的切换过程,进而可以提高人机交互性能。Exemplarily, taking the interface indicated by the M interface identifiers as an interface in the same application as an example, assume that the interfaces indicated by the M interface identifiers are 2 interfaces in the "Shopping 1" application (not shown in the figure) (Ie M is equal to 2), and the M interface identifiers are respectively identifier one and identifier two, where identifier one is used to indicate the message interface, identifier two is used to indicate the logistics interface of order 1, and the "shopping 1" application The display interface is the logistics interface of order 1; it is also assumed that the user needs to consult the message interface (that is, the target interface is a message interface), and the first input is the user's click input on the interface identifier used to indicate the message interface. Then, as shown in (a) in Figure 3, the logistics interface 30 of order 1 displays logo one 32 for indicating the message interface and logo two 33 for indicating the logistics interface of order 1. Click on, that is, the terminal device receives the user's first input of the target interface identifier in the M interface identifiers, and then the terminal device responds to the first input, as shown in Figure 3 (b), the terminal device can display the identifier An indicated message interface 34. In this way, when the display interface of the "Shopping 1" application is the logistics interface of order 1 (as shown in Figure 3 (a) 30), and the user needs to check the message interface, the user can directly enter the order 1 On the logistics interface, input the identifier used to indicate the message interface to trigger the terminal device to directly display the message interface, without triggering the terminal device to start the logistics interface of order 1 (as shown in Figure 4 (a) 30) Switch to the transaction logistics interface (37 shown in (b) in Figure 4), and then trigger the terminal device to switch from the transaction logistics interface to the message interface (34 in Figure 4 (c)), Thereby, the interface switching process when users need to view different interfaces can be simplified, and the human-computer interaction performance can be improved.
可以理解,本公开实施例中,上述图3为本公开实施例提供的界面切换方法应用的界面示意图,图4为传统界面切换方法应用的界面示意图。如此,本公开实施例提供的界面切换方法中,用户可以通过直接对指示某个界面的界面标识的输入,触发终端设备直接显示该界面,而无需再像传统界面切换方法一样,需要多次触发终端设备逐步切换到目标界面,从而可以简化用户需求查看不同界面时界面的切换过程,进而可以提高人机交互性能。It can be understood that, in the embodiment of the present disclosure, the above-mentioned FIG. 3 is a schematic diagram of the interface of the application of the interface switching method provided by the embodiment of the disclosure, and FIG. 4 is a schematic diagram of the application of the traditional interface switching method. In this way, in the interface switching method provided by the embodiment of the present disclosure, the user can directly input the interface identifier indicating a certain interface to trigger the terminal device to directly display the interface, instead of requiring multiple triggers like the traditional interface switching method. The terminal device gradually switches to the target interface, which can simplify the interface switching process when the user needs to view different interfaces, thereby improving the human-computer interaction performance.
本公开实施例提供的界面切换方法中,由于M个界面标识(包括目标界面标识)为用户触发添加的(例如,可以为用户在浏览界面过程中触发终端设备添加在目标应用程序的显示界面中的),因此当用户需求查看某个界面,例如目标界面时,用户可以通过直接对指示该目标界面的目标界面标识的输入(例如第一输入),触发终端设备直接显示目标界面,而无需再多次触发终端设备逐步切换到目标界面,从而可以简化用户需求查看不同界面时界面的切换过程,进而可以提高人机交互性能。In the interface switching method provided by the embodiment of the present disclosure, since the M interface identifiers (including the target interface identifier) are added by the user (for example, the user can trigger the terminal device to be added to the display interface of the target application during the interface browsing process) ), so when the user needs to view a certain interface, such as a target interface, the user can directly input the target interface identifier indicating the target interface (for example, the first input) to trigger the terminal device to directly display the target interface without needing to The terminal device is triggered multiple times to gradually switch to the target interface, which can simplify the interface switching process when the user needs to view different interfaces, thereby improving the human-computer interaction performance.
可选地,本公开实施例中,终端设备可以在目标应用程序的显示界面上直接显示上述M个界面标识,终端设备也可以在目标应用程序的显示界面上显示第一控件(如图3中的(a)和(b)所示的31),并将上述M个界面标识显示在第一控件中,具体可以根据实际使用需求确定,本公开实施例限定。Optionally, in the embodiment of the present disclosure, the terminal device may directly display the aforementioned M interface identifiers on the display interface of the target application, and the terminal device may also display the first control on the display interface of the target application (as shown in Figure 3). 31) shown in (a) and (b), and the above M interface identifiers are displayed in the first control, which can be specifically determined according to actual usage requirements, which is defined in the embodiment of the present disclosure.
可以理解,本公开实施例中,当上述M个界面标识指示的界面为同一应用程序中的界面时,上述第一控件可以为针对该应用程序的控件(即每个应用程序分别有针对其的控件)。当上述M个界面标识指示的界面为不同应用程序中的界面时,上述第一控件可以为针对终端设备中的不同应用程序的控件。具体可以根据实际使用需求确定,本公开实施例不作限定。It can be understood that, in the embodiment of the present disclosure, when the interface indicated by the M interface identifiers is an interface in the same application, the first control may be a control for the application (that is, each application has its own specific Control). When the interfaces indicated by the foregoing M interface identifiers are interfaces in different applications, the foregoing first control may be a control for different applications in the terminal device. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
可选地,本公开实施例中,当终端设备在目标应用程序的显示界面上显示一个控件(例如下述的第一控件),并将上述M个界面标识显示在第一控件中时,在用户浏览界面的过程中,终端设备可以在当前界面(例如,目标应用程序的显示界面)中隐藏第一控件、取消显示第一控件或者改变第一控件的显示尺寸,从而可以避免第一控件对当前界面的显示内容遮挡,进而可以提高用户体验。具体的,在终端设备隐藏第一控件、取消显示第一控件或者改变第一控件的显示尺寸之后,若用户需求从当前界面切换到目标界面,那么用户可以在对用于指示目标界面的目标界面标识执行第一输入之前,先通过一个输入触发终端设备正常显示第一控件(即显示第一控件或以正常显示尺寸显示第一控件)。Optionally, in the embodiment of the present disclosure, when the terminal device displays a control (for example, the first control described below) on the display interface of the target application, and displays the above M interface identifiers in the first control, When the user browses the interface, the terminal device can hide the first control, cancel the display of the first control, or change the display size of the first control in the current interface (for example, the display interface of the target application), so as to avoid the first control pairing The display content of the current interface is blocked, thereby improving the user experience. Specifically, after the terminal device hides the first control, cancels the display of the first control, or changes the display size of the first control, if the user needs to switch from the current interface to the target interface, the user can check the target interface for indicating the target interface. Before the identification performs the first input, the terminal device is triggered to display the first control normally (that is, the first control is displayed or the first control is displayed in a normal display size) through an input.
示例性的,结合上述图2,如图5所示,在上述S201之前,本公开实施例提供的界面切换方法还可以包括下述的S203和S204。Exemplarily, in conjunction with the foregoing FIG. 2, as shown in FIG. 5, before the foregoing S201, the interface switching method provided by the embodiment of the present disclosure may further include the following S203 and S204.
S203、终端设备接收用户的第二输入。S203: The terminal device receives the second input of the user.
可选地,本公开实施例中,上述第二输入可以为用户对第二控件的输入,也可以为用户对终端设备执行预设手势的输入。具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the above-mentioned second input may be an input of the user to the second control, or an input of the user performing a preset gesture on the terminal device. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
其中,上述第二控件可以用于指示第一控件的入口。即用户通过对第二控件的输入,可以触发终端设备显示第一控件。The above-mentioned second control can be used to indicate the entry of the first control. That is, the user can trigger the terminal device to display the first control by inputting the second control.
可选地,本公开实施例中,上述第二控件可以以第一预设透明度叠加显示在目标应用程序的显示界面中,且第一预设透明度的具体数值可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the above-mentioned second control may be superimposed and displayed on the display interface of the target application with the first preset transparency, and the specific value of the first preset transparency may be determined according to actual usage requirements. The embodiment is not limited.
可选地,本公开实施例中,上述第一控件和第二控件可以为两个不同的控件,也可以为处于不同显示状态的一个控件。当第一控件和第二控件为两个不同的控件时,用户对第二控件输入可以触发终端设备显示第一控件。当第一控件和第二控件为处于不同显示状态的一个控件时,用户对第二控件(即处于一种显示状态的第一控件)输入可以触发终端设备以另一种显示状态显示第一控件。具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the above-mentioned first control and the second control may be two different controls, or may be one control in different display states. When the first control and the second control are two different controls, the user input to the second control can trigger the terminal device to display the first control. When the first control and the second control are one control in different display states, the user input to the second control (that is, the first control in one display state) can trigger the terminal device to display the first control in another display state . Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
进一步的,本公开实施例中,当上述第一控件和第二控件为两个不同的控件,且用户在预设时长内未对第一控件进行任意操作(例如上述第一输入)时,终端设备可以隐藏第一控件或者在当前界面(例如,目标应用程序的显示界面)中取消显示第一控件,并在当前界面中显示第二控件。当第一控件和第二控件为处于不同显示状态的一个控件,且用户在预设时长内未对第一控件进行任意操作时,终端设备可以将第一控件的显示尺寸从第一尺寸(即上述处于另一种状态的第一控件)改变为第二尺寸(即上述处于一种显示状态的第一控件)。其中,第一尺寸大于第二尺寸。对于第一尺寸和第二尺寸的具体数值,可以根据实际使用需求确定,本公开实施例不作限定。Further, in the embodiment of the present disclosure, when the first control and the second control are two different controls, and the user does not perform any operation on the first control (for example, the first input) within a preset time period, the terminal The device can hide the first control or cancel the display of the first control in the current interface (for example, the display interface of the target application), and display the second control in the current interface. When the first control and the second control are one control in different display states, and the user does not perform any operation on the first control within the preset period of time, the terminal device can change the display size of the first control from the first size (ie The aforementioned first control in another state) is changed to a second size (that is, the aforementioned first control in one display state). Wherein, the first size is larger than the second size. The specific numerical values of the first size and the second size can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
可选地,本公开实施例中,当上述第二输入为用户对第二控件的输入时,上述第二输入具体可以为点击输入、长按输入、重按输入、拖动输和滑动输等任意可能形式的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。对于点击输入、长按输入、重按输入、拖动输入和滑动输入的描述具体可以参见上述S201中的相关描述,此处不再赘述。Optionally, in the embodiment of the present disclosure, when the second input is the user's input to the second control, the second input may specifically be click input, long press input, double press input, drag input, sliding input, etc. Any possible form of input can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure. For the description of click input, long press input, double press input, drag input, and slide input, please refer to the relevant description in S201 above, which will not be repeated here.
可选地,本公开实施例中,当上述第二输入为用户对终端设备执行预设手势的输入时,上述预设手势可以为预设的任意可能的手势。例如,上述第二输入可以为用户相对于终端设备(具体可以为相对于终端设备的屏幕)执行预设轨迹的输入或沿预设方向的输入。具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, when the above-mentioned second input is an input for the user to perform a preset gesture on the terminal device, the above-mentioned preset gesture may be any preset possible gesture. For example, the aforementioned second input may be an input in which the user performs a preset track with respect to the terminal device (specifically, it may be an input in a preset direction relative to the screen of the terminal device). Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
S204、终端设备响应于第二输入,显示第一控件。S204. In response to the second input, the terminal device displays the first control.
其中,上述第一控件中可以包括M个界面标识。Wherein, the foregoing first control may include M interface identifiers.
对于M个界面标识的描述具体可以参见上述S201中对M个界面标识的相关描述,此处不再赘述。For the description of the M interface identifiers, please refer to the related description of the M interface identifiers in S201, which will not be repeated here.
可选地,本公开实施例中,终端设备可以在当前界面(例如,上述目标应用程序的显示界面)中显示第一控件。示例性的,终端设备可以在当前界面中,以第二预设透明度悬浮显示第一控件。其中,第二预设透明度的具体数值可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the terminal device may display the first control in the current interface (for example, the display interface of the target application mentioned above). Exemplarily, the terminal device may float and display the first control with the second preset transparency in the current interface. Wherein, the specific value of the second preset transparency may be determined according to actual use requirements, which is not limited in the embodiment of the present disclosure.
下面再结合图6对上述S203和S204所示的界面切换方法进行进一步示例性的说明。The interface switching method shown in S203 and S204 will be further exemplified below in conjunction with FIG. 6.
示例性的,假设第二输入为用户对第二控件的点击输入,且第二控件与第一控件为两个不同的控件。又假设目标应用程序的显示界面为用户与店铺A的聊天界面。那么,如图6中的(a)所示,显示界面为用户与店铺A的聊天界面(以下简称为聊天界面60),终端设备在聊天界面60中以第一预设透明度叠加显示第二控件61。此时,用户点击第二控件61,即终端设备接收到用户的第二输入,那么终端设备响应于第二输入,如图6中的(b)所示,终端设备可以在聊天界面60中,以第二预设透明度显示第一控件62,并取消第二控件在聊天界面60中的显示。Exemplarily, suppose that the second input is a user's click input on the second control, and the second control and the first control are two different controls. It is also assumed that the display interface of the target application is the chat interface between the user and shop A. Then, as shown in (a) in Figure 6, the display interface is a chat interface between the user and shop A (hereinafter referred to as chat interface 60), and the terminal device superimposes and displays the second control in the chat interface 60 with the first preset transparency 61. At this time, the user clicks on the second control 61, that is, the terminal device receives the user's second input, and the terminal device responds to the second input. As shown in (b) in Figure 6, the terminal device can be in the chat interface 60, The first control 62 is displayed with the second preset transparency, and the display of the second control in the chat interface 60 is cancelled.
本公开实施例中,由于在用户不需求操作第一控件时,终端设备可以隐藏第一控件、取消显示第一控件或者改变第一控件的显示尺寸,并且在用户需求操作第一控件时,用户可以通过第二输入触发终端设备显示第一控件,因此,可以避免第一控件一直显示在当前界面(例如,上述目标应用程序的显示界面)中时对当前界面中的显示内容的遮挡,从而可以提高界面显示效果,进而可以提高用户体验。In the embodiments of the present disclosure, when the user does not need to operate the first control, the terminal device can hide the first control, cancel the display of the first control, or change the display size of the first control, and when the user needs to operate the first control, the user The terminal device can be triggered to display the first control through the second input. Therefore, the first control can be avoided when the first control is always displayed in the current interface (for example, the display interface of the target application above). Improve the interface display effect, which in turn can improve the user experience.
可选地,本公开实施例中,由于上述M个界面标识可以为用户触发添加在目标应用程序的显示界面中的标识,即M个界面标识中的每个界面标识指示的界面,均为用户已经浏览过的界面,因此,在用户浏览界面的过程中,若用户需求再次查看一个界面(例如上述目标界面),则用户可以在浏览该界面的过程中,通过一个输入(例如下述第三输入)触发终端设备将该界面的界面标识(例如上述目标界面标识)添加在目标应用程序的显示界面中。从而,用户可以在需求再次查看该界面时,可以直接通过另一个输入(例如上述第二输入)触发终端设备直接显示该界面。Optionally, in the embodiment of the present disclosure, since the foregoing M interface identifiers can trigger the user to trigger the identifier added to the display interface of the target application, that is, the interface indicated by each interface identifier in the M interface identifiers is the user The interface that has been browsed. Therefore, if the user needs to view an interface again (such as the target interface mentioned above) during the user browsing the interface, the user can pass an input (such as the third Input) triggers the terminal device to add the interface identifier of the interface (for example, the aforementioned target interface identifier) to the display interface of the target application. Therefore, when the user needs to view the interface again, he can directly trigger the terminal device to directly display the interface through another input (for example, the aforementioned second input).
示例性的,结合上述图2,如图7所示,在上述S201之前,本公开实施例提供的界面切换方法还可以包括下述的S205和S206。Exemplarily, in conjunction with the foregoing FIG. 2, as shown in FIG. 7, before the foregoing S201, the interface switching method provided by the embodiment of the present disclosure may further include the following S205 and S206.
S205、终端设备接收用户在目标界面上的第三输入。S205: The terminal device receives the third input of the user on the target interface.
S206、终端设备响应于第三输入,在目标应用程序的显示界面添加M个界面标识。S206. In response to the third input, the terminal device adds M interface identifiers to the display interface of the target application.
本公开实施例中,上述S206中,终端设备在目标应用程序的显示界面添加M个界面标识具体可以为终端设备在与目标应用程序对应的第一任务栈中添加该M个界面标识。并且,终端设备在第一任务栈中添加该M个界面标识之后,终端设备可以在目标应用程序的各个界面显示该M个界面标识,也即终端设备在目标应用程序的显示界面添加M个目标界面标识。In the embodiment of the present disclosure, in the above S206, the terminal device adding M interface identifiers to the display interface of the target application program may specifically be that the terminal device adds the M interface identifiers in the first task stack corresponding to the target application program. Moreover, after the terminal device adds the M interface identifiers to the first task stack, the terminal device can display the M interface identifiers on each interface of the target application, that is, the terminal device adds M targets on the display interface of the target application. Interface logo.
需要说明的是,上述第一任务栈为终端设备在应用程序的执行过程中,在终端设备内部创建的用于收集任务的集合。终端设备在目标应用程序的显示界面添加M个界面标为终端设备在第一任务栈中添加M个界面标识在用户界面上的表现形式。It should be noted that the above-mentioned first task stack is a collection of tasks created by the terminal device in the terminal device during the execution of the application program. The terminal device adds M interface labels to the display interface of the target application program as a manifestation of the terminal device adding M interface identifiers to the user interface in the first task stack.
进一步的,当上述M个界面标识显示在第一控件中时,终端设备在目标应用程序的显示界面添加M个界面标识即终端设备在第一控件中添加M个界面标识。这种情况下,上述第一控件为第一任务栈在用户界面上的表现形式。Further, when the aforementioned M interface identifiers are displayed in the first control, the terminal device adds M interface identifiers to the display interface of the target application, that is, the terminal device adds M interface identifiers to the first control. In this case, the aforementioned first control is an expression form of the first task stack on the user interface.
可以理解,本公开实施例中,第一任务栈和第一控件是同时存在、同时消失的。即当终端设备创建第一任务栈时,终端设备的用户界面上可以显示第一控件;当终端设备删除第一任务栈时,终端设备的用户界面上可以取消显示第一控件。也即一个第 一控件对应一个任务栈。It can be understood that, in the embodiment of the present disclosure, the first task stack and the first control exist and disappear at the same time. That is, when the terminal device creates the first task stack, the first control can be displayed on the user interface of the terminal device; when the terminal device deletes the first task stack, the first control can be cancelled on the user interface of the terminal device. That is, a first control corresponds to a task stack.
可选地,本公开实施例中,上述第三输入可以包括第一子输入和第二子输入。Optionally, in the embodiment of the present disclosure, the aforementioned third input may include a first sub-input and a second sub-input.
可以理解,本公开实施例中,用户可以触发终端设备一次在目标应用程序的显示界面添加一个界面标识(例如,上述目标界面标识),也可以触发终端设备一次在目标应用程序的显示界面添加多个标识,具体可以根据实际使用需求确定,本公开实施例不作限定。It can be understood that, in the embodiments of the present disclosure, the user can trigger the terminal device to add one interface identifier (for example, the above-mentioned target interface identifier) to the display interface of the target application at a time, or trigger the terminal device to add multiple interfaces to the display interface of the target application at a time. Each identifier can be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
下面分别以三种可能的实现方式对上述的S205和S206进行示例性的描述。The above S205 and S206 will be exemplarily described below in three possible implementation manners.
其中,在下述三种可能的实现方式中,均以用户触发终端设备一次在目标应用程序的显示界面添加一个界面标识(例如,上述目标界面标识),且将该界面标识显示在第一控件中为例进行示意。Among them, in the following three possible implementation manners, the user triggers the terminal device to add an interface identifier (for example, the above-mentioned target interface identifier) to the display interface of the target application at a time, and display the interface identifier in the first control Take it as an example.
一种可能的实现方式中,第一子输入可以为用户在目标界面(例如,目标应用程序的显示界面)上的输入,且第一子输入具体用于触发终端设备控制目标界面处于可编辑状态;第二子输入也可以为用户在目标界面上的输入,且第二子输入具体用于触发终端设备在第一控件中添加目标界面标识。In a possible implementation manner, the first sub-input may be the user's input on the target interface (for example, the display interface of the target application), and the first sub-input is specifically used to trigger the terminal device to control the target interface in an editable state ; The second sub-input may also be the user's input on the target interface, and the second sub-input is specifically used to trigger the terminal device to add the target interface identifier in the first control.
具体的,上述第一子输入可以为用户在目标界面上的空白区域上的输入。上述第二子输入可以为用户将目标界面或者目标界面的缩略图拖动到第二控件中的输入。Specifically, the above-mentioned first sub-input may be the user's input on a blank area on the target interface. The aforementioned second sub-input may be an input of the user dragging the target interface or the thumbnail of the target interface to the second control.
进一步的,本公开实施例中,上述第一子输入还可以触发终端设备将第二控件的显示尺寸从上述第二尺寸改变为第三尺寸,其中第三尺寸大于或等于第二尺寸。如此,可以使得第二控件的识别范围扩大,以降低用户执行第二子输入的操作难度,从而可以增加操作的便捷性,提高人机交互性能。Further, in the embodiment of the present disclosure, the aforementioned first sub-input can also trigger the terminal device to change the display size of the second control from the aforementioned second size to a third size, where the third size is greater than or equal to the second size. In this way, the recognition range of the second control can be expanded to reduce the difficulty of the user performing the second sub-input operation, thereby increasing the convenience of the operation and improving the human-computer interaction performance.
示例性的,假设用户需求再次查看的界面为用户与朋友A的聊天界面,那么,如图8中的(a)所示,用户可以在用户与朋友A的聊天界面80(以下简称为聊天界面80)中的空白区域长按,即终端设备接收到用户在目标界面上的第一子输入,然后,终端设备响应于第一子输入,控制聊天界面80处于可编辑状态,并将第二控件81的显示尺寸由第二尺寸(如图8中的(a)所示的s1)改变为第三尺寸(如图8中的(a)所示的s2);此时,用户可以将聊天界面80的缩略图拖动至第二控件中,即终端设备接收到用户的第二子输入,然后,终端设备响应于第二子输入,在第一控件中添加聊天界面的界面标识(即目标界面标识)。此时,如图8中的(b)所示,当终端设备显示第一控件82时,第一控件中可以包括聊天界面80的界面标识83。Exemplarily, assuming that the interface that the user needs to view again is the chat interface between the user and friend A, then, as shown in (a) in Figure 8, the user can use the chat interface 80 between the user and friend A (hereinafter referred to as the chat interface 80) in the blank area long press, that is, the terminal device receives the user's first sub-input on the target interface, and then, in response to the first sub-input, the terminal device controls the chat interface 80 to be in an editable state, and sets the second control The display size of 81 is changed from the second size (s1 shown in Figure 8 (a)) to the third size (s2 shown in Figure 8 (a)); at this time, the user can change the chat interface Drag the 80’s thumbnail to the second control, that is, the terminal device receives the second sub-input of the user, and then, in response to the second sub-input, the terminal device adds the interface identifier of the chat interface (that is, the target interface) to the first control. Logo). At this time, as shown in (b) of FIG. 8, when the terminal device displays the first control 82, the first control may include the interface identifier 83 of the chat interface 80.
另一种可能的实现方式中,第一子输入可以为用户在目标界面上的输入,且第一子输入具体用于触发终端设备显示目标选择框;第二子输入可以为用户对目标选择框的输入,且第二子输入具体用于触发终端设备在第一控件中添加目标界面标识。其中,上述第一子输入可以为用户在目标界面中的任意区域上的输入。对于第一子输入的输入形式的描述,具体可以参见上述S201中对第一输入的输入形式的相关描述,此处不再赘述。In another possible implementation manner, the first sub-input may be the user's input on the target interface, and the first sub-input is specifically used to trigger the terminal device to display the target selection box; the second sub-input may be the user's selection of the target selection box The second sub-input is specifically used to trigger the terminal device to add the target interface identifier in the first control. Wherein, the above-mentioned first sub-input may be the user's input on any area in the target interface. For the description of the input form of the first sub-input, please refer to the relevant description of the input form of the first input in S201, which is not repeated here.
可选地,本公开实施例中,上述目标选择框中可以包括提示信息和两个选项。例如,提示信息可以为“是否添加当前界面?”,两个选项可以为“是”选项和“否”选项。其中,用户通过对“是”选项输入,可以触发终端设备在第一控件中添加目标界面标识,即终端设备可以将目标界面标识添加在第一控件中,并取消目标选择框在 目标界面中的显示;用户通过对“否”选项输入,可以触发终端设备取消目标选择框在目标界面中的显示。Optionally, in this embodiment of the present disclosure, the target selection box may include prompt information and two options. For example, the prompt message can be "Do you want to add the current interface?", and the two options can be a "Yes" option and a "No" option. Among them, the user can trigger the terminal device to add the target interface identifier to the first control by inputting the "Yes" option, that is, the terminal device can add the target interface identifier to the first control, and cancel the target selection box in the target interface. Display; the user can trigger the terminal device to cancel the display of the target selection box in the target interface by inputting the "No" option.
示例性的,假设目标界面为用户与朋友A的聊天界面,那么,如图9中的(a)所示,用户可以在用户与朋友A的聊天界面90(以下简称为聊天界面90)中的任意区域长按,即终端设备接收到用户的第一子输入,然后,终端设备响应于第一子输入,显示目标选择框91,该目标选框91中可以包括提示信息“是否添加当前界面?”、“是”选项和“否”选项,此时,若用户点击“是”选项,即终端设备接收到用户的第二子输入,则终端设备可以响应于第二子输入,在第一控件中显示聊天界面的界面标识。如图9中的(b)所示,当终端设备显示第一控件92时,第一控件92中可以包括聊天界面90的界面标识93。Exemplarily, assuming that the target interface is a chat interface between the user and friend A, then, as shown in Figure 9(a), the user can use the chat interface 90 (hereinafter referred to as chat interface 90) between the user and friend A Long press any area, that is, the terminal device receives the user's first sub-input, and then, in response to the first sub-input, the terminal device displays a target selection box 91. The target selection box 91 may include the prompt message "Add current interface?" "", "Yes" option and "No" option. At this time, if the user clicks the "Yes" option, that is, the terminal device receives the user's second sub-input, the terminal device can respond to the second sub-input and set it in the first control The interface ID of the chat interface displayed in. As shown in (b) of FIG. 9, when the terminal device displays the first control 92, the first control 92 may include the interface identifier 93 of the chat interface 90.
可选地,本公开实施例中,上述第一控件中还可以包括目标选项。该目标选项可以包括以下至少一项:添加选项、删除选项。即该目标选项可以包括添加选项,也可以包括删除选项,还可以包括添加选项和删除选项。其中,添加选项可以用于在第一控件中添加界面标识,删除选项可以用于从第一控件中删除界面标识。Optionally, in the embodiment of the present disclosure, the above-mentioned first control may also include a target option. The target option may include at least one of the following: add option, delete option. That is, the target option can include an add option, can also include a delete option, and can also include an add option and a delete option. Wherein, the add option can be used to add the interface identification to the first control, and the delete option can be used to delete the interface identification from the first control.
又一种可能的实现方式中,第一子输入可以为用户对第二控件的输入,且第一子输入具体用于触发终端设备显示第一控件;第二子输入可以为用户对第一控件中的添加选项的输入,且第二子输入具体用于触发终端设备在第一控件中添加目标界面标识。对于上述第一子输入和第二子输入的输入形式的描述具体可以参见上述S201中对第一输入的输入形式的相关描述,此处不再赘述。In another possible implementation manner, the first sub-input may be the user's input to the second control, and the first sub-input is specifically used to trigger the terminal device to display the first control; the second sub-input may be the user's input to the first control The second sub-input is specifically used to trigger the terminal device to add the target interface identifier in the first control. For the description of the input form of the first sub-input and the second sub-input, please refer to the relevant description of the input form of the first input in S201, which will not be repeated here.
需要说明的是,本公开实施例中,在目标界面中显示第一控件的情况下,用户可以直接执行第二子输入,而无需执行第一子输入,即在目标界面中显示第一控件的情况下,第三输入即第二子输入。It should be noted that, in the embodiment of the present disclosure, when the first control is displayed in the target interface, the user can directly perform the second sub-input without performing the first sub-input, that is, the first control is displayed in the target interface. In this case, the third input is the second sub-input.
示例性的,假设目标界面中显示第一控件,如图3中的(b)所示,用户可以直接对第一控件31中的添加选项35输入,即终端设备接收到用户的第二子输入,那么终端设备响应于第二子输入,可以在第一控件中添加目标界面标识(用于指示目标界面)。Exemplarily, assuming that the first control is displayed in the target interface, as shown in (b) in Figure 3, the user can directly input the add option 35 in the first control 31, that is, the terminal device receives the user's second sub-input , In response to the second sub-input, the terminal device can add a target interface identifier (used to indicate the target interface) in the first control.
需要说明的是,本公开实施例的上述描述均是以在第一控件中添加目标界面标识为例进行示意的,实际实现中,上述M个界面标识均可以通过上述实施例中描述的方法添加在第一控件中。为避免重复,此处不再赘述。It should be noted that the above descriptions of the embodiments of the present disclosure are all based on adding the target interface identifier in the first control as an example. In actual implementation, the above M interface identifiers can be added by the method described in the above embodiment. In the first control. To avoid repetition, I won’t repeat them here.
进一步的,在上述另一种可能的实现方式中和又一种可能的实现方式中,用户通过上述第二子输入,还可以触发终端设备显示以下至少一项:目标界面的上一层级界面的界面标识,目标界面的下一层级界面的界面标识。具体的,用户通过第二子输入触发终端设备显示的所有界面标识可以位于一个界面(例如第一界面)中,且第一界面中的每个界面标识上可以显示一个第一选框。用户可以通过对N个第一选框的输入触发终端设备在第一控件中添加该N个第一选框对应的界面标识;其中,N为正整数,且N小于或等于第一界面中的界面标识的总数量。Further, in the foregoing another possible implementation manner and in another possible implementation manner, the user can also trigger the terminal device to display at least one of the following through the foregoing second sub-input: Interface identifier, the interface identifier of the next level interface of the target interface. Specifically, all interface identifiers that the user triggers to display on the terminal device through the second sub-input may be located in one interface (for example, the first interface), and each interface identifier in the first interface may display a first selection box. The user can trigger the terminal device to add the interface identifiers corresponding to the N first selection boxes in the first control by inputting the N first selection boxes; where N is a positive integer, and N is less than or equal to the value in the first interface The total number of interface identifiers.
可选地,本公开实施例中,在用户通过上述第三输入(即第一子输入和第二子输入)触发终端设备在目标应用程序的显示界面中添加目标界面标识之后,终端设备可以在当前界面(例如,目标应用程序的显示界面)中显示目标界面标识,也可以不显示目标界面标识,具体可以根据实际使用需求确定,本公开实施例不作限定。进一步 的,在用户通过上述第三输入触发终端设备在目标应用程序的显示界面中添加目标界面标识之后,第一控件中可以包括目标界面标识。Optionally, in the embodiment of the present disclosure, after the user triggers the terminal device to add the target interface identifier in the display interface of the target application through the above third input (ie, the first sub-input and the second sub-input), the terminal device may The target interface identifier is displayed in the current interface (for example, the display interface of the target application program), or the target interface identifier may not be displayed, which can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure. Further, after the user triggers the terminal device to add the target interface identifier to the display interface of the target application through the above third input, the first control may include the target interface identifier.
本公开实施例中,由于用户可以在浏览界面的过程中,根据自身需求随时触发终端设备将需求再次查看的界面的界面标识添加在目标应用程序的显示界面中,因此可以增加添加界面标识的灵活性和便捷性,从而可以提高人机交互性能。In the embodiments of the present disclosure, since the user can trigger the terminal device to add the interface identification of the interface that needs to be viewed again to the display interface of the target application at any time according to his own needs while browsing the interface, the flexibility of adding the interface identification can be increased. It can improve the performance of human-computer interaction.
可选地,本公开实施例中,在第一控件中包括删除选项时,用户可以通过对第一控件中的删除选项的输入,触发终端设备从第一控件中删除界面标识。Optionally, in the embodiment of the present disclosure, when the delete option is included in the first control, the user can trigger the terminal device to delete the interface identifier from the first control by inputting the delete option in the first control.
示例性的,当用户对删除选项(例如,图3中的(b)所示的删除选项36)输入时,可以触发终端设备直接从第一控件中删除当前界面的界面标识(可以理解,这种情况下,第一控件中包括当前界面的界面标识);或者,也可以触发终端设备直接从第一控件中删除用户最近一次或第一次触发添加的界面标识;或者,还可以触发终端设备删除用户选择的界面标识。具体的,在用户触发终端设备删除用户选择的界面标识的场景中,用户对删除选项的输入可以先触发终端设备显示第二界面,该第二界面中可以包括第一控件中的所有界面标识(即上述M个界面标识);并且,第二界面中的每个界面标识上分别显示一个第二选框,用户可以通过对M个界面标识中的P个界面标识上的第二选框的输入,触发终端设备从第一控件中删除P个界面标识。其中,P为小于或等于M的正整数。Exemplarily, when the user inputs a delete option (for example, the delete option 36 shown in (b) in Figure 3), the terminal device can be triggered to directly delete the interface identifier of the current interface from the first control (understandably, this In this case, the first control includes the interface identifier of the current interface); or, the terminal device can also be triggered to directly delete the interface identifier added by the user for the last or first time from the first control; or, the terminal device can also be triggered Delete the interface identifier selected by the user. Specifically, in a scenario where the user triggers the terminal device to delete the interface identifier selected by the user, the user's input to the delete option may first trigger the terminal device to display a second interface, which may include all interface identifiers in the first control ( That is, the above M interface identifiers); and, each interface identifier in the second interface displays a second selection box, and the user can input the second selection box on the P interface identifiers of the M interface identifiers , Triggering the terminal device to delete P interface identifiers from the first control. Among them, P is a positive integer less than or equal to M.
本公开实施例中,由于用户可以根据自身需求随时对删除选项输入,以触发终端设备从第一控件中删除界面标识,因此可以增加删除界面标识的灵活性和便捷性,从而可以提高人机交互性能。In the embodiment of the present disclosure, since the user can input the delete option at any time according to his own needs to trigger the terminal device to delete the interface identification from the first control, the flexibility and convenience of deleting the interface identification can be increased, thereby improving human-computer interaction performance.
本公开实施例中,由于用户在浏览界面的过程中,可以根据自身需求,随时触发终端设备在第一控件中添加界面标识,并且可以根据自身需求,随时触发终端设备从第一控件中删除界面标识,即用户可以根据自身需求,随时对第一控件中的界面标识进行调整,因此可以增加添加界面标识或删除界面标识的灵活性和便捷性,从而可以简化用户需求查看不同界面时界面的切换过程,进而提高人机交互性能。In the embodiments of the present disclosure, as the user browses the interface, he can trigger the terminal device to add the interface identifier to the first control at any time according to his own needs, and can trigger the terminal device to delete the interface from the first control at any time according to his needs Logo, that is, users can adjust the interface logo in the first control at any time according to their own needs. Therefore, the flexibility and convenience of adding or deleting interface logos can be increased, which can simplify the interface switching when users need to view different interfaces. Process, thereby improving human-computer interaction performance.
可选地,本公开实施例中,当M个界面标识指示的界面为同一应用程序(例如,上述目标应用程序)中的界面时,终端设备可以在用户触发终端设备打开该应用程序时,创建针对该应用程序的任务栈,或者,在该应用程序在终端设备的前台运行的过程中,用户可以通过在该应用程序的任意一个界面上的输入,触发终端设备创建针对该应用程序的任务栈。Optionally, in the embodiment of the present disclosure, when the interface indicated by the M interface identifiers is an interface in the same application (for example, the above-mentioned target application), the terminal device may create the interface when the user triggers the terminal device to open the application For the task stack of the application, or when the application is running in the foreground of the terminal device, the user can trigger the terminal device to create a task stack for the application through input on any interface of the application .
可以理解,终端设备创建针对该应用程序的任务栈时,即可在该应用程序的界面上显示与该任务栈对应的控件(例如上述第一控件)。It can be understood that when the terminal device creates a task stack for the application program, it can display a control corresponding to the task stack (for example, the first control above) on the interface of the application program.
示例性的,结合上述图7,如图10所示,在上述S205之前,本公开实施例提供的界面切换方法还可以包括下述的S207。Exemplarily, in conjunction with the foregoing FIG. 7, as shown in FIG. 10, before the foregoing S205, the interface switching method provided by the embodiment of the present disclosure may further include the following S207.
S207、在接收到用户的第四输入的情况下,终端设备创建针对目标应用程序的第一任务栈,并显示与第一任务栈对应的第一控件。S207. In the case of receiving the fourth input of the user, the terminal device creates a first task stack for the target application, and displays a first control corresponding to the first task stack.
可选地,本公开实施例中,上述第四输入可以为用户触发终端设备打开目标应用程序的输入。示例性的,第四输入具体可以为用户触发终端设备开启目标应用程序(即用户执行第四输入之前,目标应用程序处于关闭状态)的输入(实现方式一);或者, 第四输入具体也可以为用户触发终端设备将目标应用程序从终端设备的后台切换到终端设备的前台的输入(实现方式二)。具体可以根据实际使用需求确定,本公开实施例不作限定。Optionally, in the embodiment of the present disclosure, the foregoing fourth input may be an input for the user to trigger the terminal device to open the target application. Exemplarily, the fourth input may specifically be an input that the user triggers the terminal device to start the target application (that is, the target application is in the closed state before the user performs the fourth input) (implementation method 1); or, the fourth input may specifically For the user to trigger the terminal device to switch the target application from the background of the terminal device to the input of the foreground of the terminal device (implementation mode 2). Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
可选地,本公开实施例中,上述第四输入还可以为用户在目标应用程序的界面上的输入,即第四输入为目标应用程序在终端设备的前台运行时,用户在目标应用程序的界面上的输入(实现方式三)。Optionally, in the embodiment of the present disclosure, the above-mentioned fourth input may also be the user's input on the interface of the target application, that is, the fourth input is that when the target application is running in the foreground of the terminal device, the user is in the target application Input on the interface (implementation mode 3).
实现方式一Realization method one
在实现方式一中,在接收到用户的第四输入的情况下,终端设备可以直接创建第一任务栈;也可以显示提示框,该提示框可以用于提示用户是否需要创建第一任务栈,若用户需求创建第一任务栈,则用户可以触发终端设备创建第一任务栈。In the first implementation mode, in the case of receiving the fourth input of the user, the terminal device can directly create the first task stack; or it can display a prompt box, which can be used to prompt the user whether to create the first task stack. If the user needs to create the first task stack, the user can trigger the terminal device to create the first task stack.
本公开实施例中,终端设备可以根据目标应用程序的名称和此次启动的进程号创建第一任务栈。其中,进程号,也称为进程ID,即(process identification,PID),是终端设备的操作***的内核用于唯一标识进程的一个标识。In the embodiment of the present disclosure, the terminal device can create the first task stack according to the name of the target application and the number of the process started this time. Among them, the process number, also known as the process ID, namely (process identification, PID), is an identifier used by the kernel of the operating system of the terminal device to uniquely identify the process.
实现方式二Implementation method two
在实现方式二中,在接收到用户的第四输入的情况下,终端设备可以先判断第一任务栈是否存在。若第一任务栈不存在,则终端设备可以直接创建第一任务栈;或者,终端设备可以显示提示框,该提示框可以用于提示用户是否需要创建任务第一任务栈,若用户需求创建,则终端设备可以创建第一任务栈。In the second implementation manner, in the case of receiving the fourth input of the user, the terminal device may first determine whether the first task stack exists. If the first task stack does not exist, the terminal device can directly create the first task stack; or the terminal device can display a prompt box, which can be used to prompt the user whether to create the first task stack of the task. If the user needs to create the first task stack, Then the terminal device can create the first task stack.
实现方式三Implementation mode three
在实现方式三中,当用户在目标应用程序的任意界面上执行上述第四输入时,终端设备可以响应于该第四输入,创建第一任务栈。In the third implementation manner, when the user performs the foregoing fourth input on any interface of the target application, the terminal device may create the first task stack in response to the fourth input.
对于第一任务栈的描述具体可以参见上述名词解释部分对任务栈的相关解释,为避免重复,此处不再赘述。For the description of the first task stack, please refer to the related explanation of the task stack in the above-mentioned noun explanation section. To avoid repetition, it will not be repeated here.
本公开实施例中,由于用户可以在目标应用程序开启,或者目标应用程序在终端设备的前台运行的过程中,触发终端设备创建第一任务栈,以添加界面标识或删除界面标识,并在目标应用程序的界面上显示与第一任务栈对应的第一控件,从而可以提高操作界面标识的灵活性和便捷性,进而可以简化用户需求查看不同界面时界面的切换过程,进而可以提高人机交互性能。In the embodiments of the present disclosure, since the user can start the target application or the target application is running in the foreground of the terminal device, the terminal device is triggered to create the first task stack to add or delete the interface identifier, and the target application The first control corresponding to the first task stack is displayed on the interface of the application program, which can improve the flexibility and convenience of the operation interface identification, thereby simplifying the interface switching process when users need to view different interfaces, thereby improving human-computer interaction performance.
可选地,本公开实施例中,在终端设备显示与第一任务栈对应的第一控件之后,并在用户触发终端设备退出目标应用程序之后,终端设备可以删除第一任务栈,并取消显示第一控件。Optionally, in the embodiment of the present disclosure, after the terminal device displays the first control corresponding to the first task stack, and after the user triggers the terminal device to exit the target application, the terminal device may delete the first task stack and cancel the display The first control.
示例性的,假设目标应用程序为“购物1”应用程序,第一任务栈为针对“购物1”应用程序(即目标应用程序)的任务栈,目标应用程序的显示界面为“购物1”应用程序中的订单1的物流界面。又假设与第一任务栈对应的第一控件显示在订单1的物流界面上。那么,如图11中的(a)所示,订单1的物流界面112上显示第一控件113,此时,用户可以触发终端设备退出“购物1”应用程序,那么,如图11中的(b)所示,终端设备可以显示终端设备桌面中的界面114,并取消第一控件在界面114中的显示。Exemplarily, suppose the target application is the "Shopping 1" application, the first task stack is the task stack for the "Shopping 1" application (ie the target application), and the display interface of the target application is the "Shopping 1" application The logistics interface of order 1 in the program. It is also assumed that the first control corresponding to the first task stack is displayed on the logistics interface of order 1. Then, as shown in Figure 11 (a), the first control 113 is displayed on the logistics interface 112 of Order 1. At this time, the user can trigger the terminal device to exit the "Shopping 1" application, then, as shown in Figure 11 ( As shown in b), the terminal device can display the interface 114 in the desktop of the terminal device, and cancel the display of the first control in the interface 114.
本公开实施例中,由于第一任务栈为针对目标应用程序的任务栈,因此可以在用户触 发目标应用程序关闭时删除第一任务栈。如此,可以避免第一控件以及第一控件中的界面标识占用终端设备的资源,从而可以节省终端设备的资源,提高终端设备的性能。In the embodiment of the present disclosure, since the first task stack is a task stack for the target application, the first task stack can be deleted when the user triggers the closing of the target application. In this way, it is possible to prevent the first control and the interface identifier in the first control from occupying the resources of the terminal device, thereby saving resources of the terminal device and improving the performance of the terminal device.
需要说明的是,本公开实施例中,上述各个方法附图所示的界面切换方法均是以结合本公开实施例中的一个附图为例示例性的说明的。具体实现时,上述各个方法附图所示的界面切换方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present disclosure, the interface switching methods shown in the figures of the above methods are all exemplified in conjunction with a figure in the embodiments of the present disclosure. In specific implementation, the interface switching methods shown in the figures of the above methods can also be implemented in combination with any other figures that can be combined as illustrated in the above embodiments, and will not be repeated here.
如图12所示,本公开实施例提供一种终端设备900,该终端设备900可以包括接收模块901和显示模块902。接收模块901,可以用于在目标应用程序的显示界面显示M个界面标识的情况下,接收用户对该M个界面标识中的目标界面标识的第一输入;显示模块902,可以用于响应于接收模块901接收的第一输入,显示与目标界面标识对应的目标界面;其中,该M个界面标识可以为根据用户的输入触发添加的标识,M为正整数。As shown in FIG. 12, an embodiment of the present disclosure provides a terminal device 900. The terminal device 900 may include a receiving module 901 and a display module 902. The receiving module 901 may be used to receive the first input of the target interface identifier of the M interface identifiers by the user when the display interface of the target application program displays M interface identifiers; the display module 902 may be used to respond to The first input received by the receiving module 901 displays the target interface corresponding to the target interface identifier; wherein the M interface identifiers may be identifiers that are added according to the user's input trigger, and M is a positive integer.
可选地,本公开实施例中,上述接收模块901,还可以用于在接收用户对上述M个界面标识中的目标界面标识的第一输入之前,接收用户的第二输入;上述显示模块902,还可以用于响应于接收模块901接收的第二输入,显示第一控件;其中,第一控件中可以包括M个界面标识。Optionally, in the embodiment of the present disclosure, the receiving module 901 may also be configured to receive a second input from the user before receiving the user's first input to the target interface identifier among the M interface identifiers; the display module 902 , Can also be used to display the first control in response to the second input received by the receiving module 901; wherein, the first control can include M interface identifiers.
可选地,本公开实施例中,结合上述图12,如图13所示,上述终端设备900还可以包括处理模块903。上述接收模块901,还可以用于在接收用户对上述M个界面标识中的目标界面标识的第一输入之前,接收用户在目标界面上的第三输入;处理模块903,可以用于响应于接收模块901接收的第三输入,在目标应用程序的目标界面添加该M个界面标识。Optionally, in the embodiment of the present disclosure, in conjunction with the foregoing FIG. 12, as shown in FIG. 13, the foregoing terminal device 900 may further include a processing module 903. The receiving module 901 may also be used to receive the user's third input on the target interface before receiving the user's first input of the target interface identifier in the M interface identifiers; the processing module 903 may be used to respond to receiving The third input received by the module 901 adds the M interface identifiers to the target interface of the target application.
可选地,本公开实施例中,上述处理模块903,还可以用于在接收模块901接收用户在目标界面上的第三输入之前,在接收模块901接收到用户的第四输入的情况下,创建针对目标应用程序的第一任务栈;上述显示模块902,还可以用于显示与处理模块903创建的第一任务栈对应的第一控件。Optionally, in the embodiment of the present disclosure, the above-mentioned processing module 903 may also be used to, before the receiving module 901 receives the user's third input on the target interface, when the receiving module 901 receives the user's fourth input, Create a first task stack for the target application; the above-mentioned display module 902 can also be used to display the first control corresponding to the first task stack created by the processing module 903.
其中,上述第四输入可以为用户触发终端设备打开目标应用程序的输入,或者,上述第四输入可以为用户在目标应用程序的界面上的输入。The foregoing fourth input may be an input by the user to trigger the terminal device to open the target application, or the foregoing fourth input may be an input by the user on the interface of the target application.
可选地,本公开实施例中,上述第一控件中还可以包括目标选项,目标选项可以包括以下至少一项:添加选项、删除选项。其中,添加选项可以用于在第一控件中添加界面标识,删除选项可以用于从第一控件中删除界面标识。Optionally, in the embodiment of the present disclosure, the above-mentioned first control may further include a target option, and the target option may include at least one of the following: add option, delete option. Wherein, the add option can be used to add the interface identification to the first control, and the delete option can be used to delete the interface identification from the first control.
本公开实施例提供的终端设备能够实现上述方法实施例所示的终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device provided in the embodiments of the present disclosure can implement the various processes implemented by the terminal device shown in the foregoing method embodiments. To avoid repetition, details are not described herein again.
本公开实施例提供一种终端设备,该终端设备可以在目标应用程序的显示界面显示M个界面标识(即根据用户的输入添加)的情况下,接收用户对该M个界面标识中的目标界面标识的第一输入;且响应于第一输入,显示与目标界面标识对应的目标界面;其中,M为正整数。通过该方案,由于M个界面标识(包括目标界面标识)为根据用户的输入添加的(例如,可以为用户在浏览界面的过程中触发终端设备添加的),因此当用户需求查看某个界面,例如目标界面时,用户可以通过直接对指示该目标界面的目标界面标识的输入(例如第一输入),触发终端设备直接显示与目标界面标识 对应的目标界面,而无需再多次触发终端设备逐步切换到目标界面,从而可以简化用户需求查看不同界面时界面的切换过程,进而可以提高人机交互性能。The embodiment of the present disclosure provides a terminal device, which can receive the target interface of the M interface identifiers from the user when the display interface of the target application program displays M interface identifiers (that is, added according to user input) The first input of the identifier; and in response to the first input, the target interface corresponding to the target interface identifier is displayed; where M is a positive integer. Through this solution, since the M interface identifiers (including the target interface identifier) are added according to the user's input (for example, they can be added by the user to trigger the terminal device in the process of browsing the interface), so when the user needs to view a certain interface, For example, in the case of a target interface, the user can directly input the target interface identifier indicating the target interface (such as the first input) to trigger the terminal device to directly display the target interface corresponding to the target interface identifier, without having to trigger the terminal device step by step. Switching to the target interface can simplify the interface switching process when users need to view different interfaces, thereby improving the human-computer interaction performance.
图14为实现本公开各个实施例的一种终端设备的硬件结构示意图。如图14所示,该终端设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图14中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。FIG. 14 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure. As shown in FIG. 14, the terminal device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , The processor 110, and the power supply 111 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 14 does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present disclosure, terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and pedometers.
其中,用户输入单元107,用于在目标应用程序的显示界面显示M个界面标识的情况下,接收用户对该M个界面标识中的目标界面标识的第一输入;显示单元106,用于响应于接收模块接收的第一输入,显示与目标界面标识对应的目标界面;其中,该M个界面标识为根据用户的输入添加的,M为正整数。Wherein, the user input unit 107 is configured to receive the first input of the target interface identifier of the M interface identifiers by the user when the display interface of the target application program displays M interface identifiers; the display unit 106 is used to respond In the first input received by the receiving module, the target interface corresponding to the target interface identifier is displayed; wherein, the M interface identifiers are added according to the user's input, and M is a positive integer.
可以理解,本公开实施例中,上述终端设备的结构示意图(例如图12和图13)中的接收模块901可以通过上述用户输入单元107实现。上述终端设备的结构示意图(例如图12和图13)中的显示模块902可以通过上述显示单元106实现。上述终端设备的结构示意图(例如图13)中的处理模块903可以通过上述处理器110实现。It can be understood that, in the embodiment of the present disclosure, the receiving module 901 in the above-mentioned structural diagram of the terminal device (for example, FIG. 12 and FIG. 13) may be implemented by the above-mentioned user input unit 107. The display module 902 in the above-mentioned structural schematic diagram of the terminal device (for example, FIG. 12 and FIG. 13) may be implemented by the above-mentioned display unit 106. The processing module 903 in the above-mentioned structural schematic diagram of the terminal device (for example, FIG. 13) may be implemented by the above-mentioned processor 110.
本公开实施例提供一种终端设备,该终端设备可以在目标应用程序的显示界面显示M个界面标识(即根据用户的输入添加)的情况下,接收用户对该M个界面标识中的目标界面标识的第一输入;且响应于第一输入,显示与目标界面标识对应的目标界面;其中,M为正整数。通过该方案,由于M个界面标识(包括目标界面标识)为根据用户的输入添加的(例如,可以为用户在浏览界面的过程中触发终端设备添加的),因此当用户需求查看某个界面,例如目标界面时,用户可以通过直接对指示该目标界面的目标界面标识的输入(例如第一输入),触发终端设备直接显示与目标界面标识对应的目标界面,而无需再多次触发终端设备逐步切换到目标界面,从而可以简化用户需求查看不同界面时界面的切换过程,进而可以提高人机交互性能。The embodiment of the present disclosure provides a terminal device, which can receive the target interface of the M interface identifiers from the user when the display interface of the target application program displays M interface identifiers (that is, added according to user input) The first input of the identifier; and in response to the first input, the target interface corresponding to the target interface identifier is displayed; where M is a positive integer. Through this solution, since the M interface identifiers (including the target interface identifier) are added according to the user's input (for example, they can be added by the user to trigger the terminal device in the process of browsing the interface), so when the user needs to view a certain interface, For example, in the case of a target interface, the user can directly input the target interface identifier indicating the target interface (such as the first input) to trigger the terminal device to directly display the target interface corresponding to the target interface identifier, without having to trigger the terminal device step by step. Switching to the target interface can simplify the interface switching process when users need to view different interfaces, thereby improving the human-computer interaction performance.
应理解的是,本公开实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信***与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output them as sounds. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器 (Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the mobile terminal 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图10中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it is transmitted to the processor 110 to determine the type of the touch event. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 10, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元108为外部装置与移动终端100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、 存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device with the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the mobile terminal 100 or can be used to connect to the mobile terminal 100 and external Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect the various parts of the entire mobile terminal, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
移动终端100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理***与处理器110逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。The mobile terminal 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,移动终端100包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 100 includes some functional modules not shown, which will not be repeated here.
可选地,本公开实施例还提供一种移动终端,可以包括上述如图10所示的处理器110,存储器109,以及存储在存储器109上并可在该处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例中图2至图7任意之一所示的移动终端的控制方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。Optionally, an embodiment of the present disclosure further provides a mobile terminal, which may include the aforementioned processor 110 shown in FIG. 10, a memory 109, and a computer program stored on the memory 109 and running on the processor 110, When the computer program is executed by the processor 110, each process of the control method of the mobile terminal shown in any one of FIG. 2 to FIG. 7 in the above method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, it is not here. Repeat it again.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例中图2至图7任意之一所示的移动终端的控制方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present disclosure also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the computer program shown in any one of FIGS. 2 to 7 in the above method embodiment is implemented. Each process of the control method of the mobile terminal can achieve the same technical effect. In order to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相 关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台移动终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a mobile terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, many forms can be made without departing from the purpose of the present disclosure and the scope of protection of the claims, all of which fall within the protection of the present disclosure.

Claims (12)

  1. 一种界面切换方法,应用于终端设备,所述方法包括:An interface switching method, applied to a terminal device, the method including:
    在目标应用程序的显示界面显示M个界面标识的情况下,接收用户对所述M个界面标识中的目标界面标识的第一输入,所述M个界面标识为根据用户的输入添加的,M为正整数;In the case where the display interface of the target application program displays M interface identifiers, the first input of the user to the target interface identifier in the M interface identifiers is received, and the M interface identifiers are added according to the user's input. Is a positive integer;
    响应于所述第一输入,显示与所述目标界面标识对应的目标界面。In response to the first input, a target interface corresponding to the target interface identifier is displayed.
  2. 根据权利要求1所述的方法,其中,所述接收用户对所述M个界面标识中的目标界面标识的第一输入之前,所述方法还包括:The method according to claim 1, wherein before said receiving a user's first input of a target interface identifier among the M interface identifiers, the method further comprises:
    接收用户的第二输入;Receiving a second input from the user;
    响应于所述第二输入,显示第一控件,所述第一控件中包括所述M个界面标识。In response to the second input, a first control is displayed, and the first control includes the M interface identifiers.
  3. 根据权利要求1所述的方法,其中,所述接收用户对所述M个界面标识中的目标界面标识的第一输入之前,所述方法还包括:The method according to claim 1, wherein before said receiving a user's first input of a target interface identifier among the M interface identifiers, the method further comprises:
    接收用户在目标界面上的第三输入;Receive the user's third input on the target interface;
    响应于所述第三输入,在所述目标应用程序的显示界面添加所述M个界面标识。In response to the third input, the M interface identifiers are added to the display interface of the target application.
  4. 根据权利要求3所述的方法,其中,所述接收用户在目标界面上的第三输入之前,所述方法还包括:The method according to claim 3, wherein, before the receiving the third input from the user on the target interface, the method further comprises:
    在接收到用户的第四输入的情况下,创建针对所述目标应用程序的第一任务栈,并显示与所述第一任务栈对应的第一控件;In the case of receiving the fourth input of the user, creating a first task stack for the target application, and displaying a first control corresponding to the first task stack;
    其中,所述第四输入为用户触发所述终端设备打开所述目标应用程序的输入,或所述第四输入为用户在所述目标应用程序的界面上的输入。The fourth input is an input by the user to trigger the terminal device to open the target application, or the fourth input is an input by the user on the interface of the target application.
  5. 根据权利要求2或4所述的方法,其中,所述第一控件中还包括目标选项,所述目标选项包括以下至少一项:添加选项、删除选项;The method according to claim 2 or 4, wherein the first control further includes a target option, and the target option includes at least one of the following: add option, delete option;
    其中,所述添加选项用于在所述第一控件中添加界面标识,所述删除选项用于从所述第一控件中删除界面标识。Wherein, the add option is used to add an interface identifier to the first control, and the delete option is used to delete an interface identifier from the first control.
  6. 一种终端设备,其中,包括接收模块和显示模块;A terminal device, which includes a receiving module and a display module;
    所述接收模块,用于在目标应用程序的显示界面显示M个界面标识的情况下,接收用户对所述M个界面标识中的目标界面标识的第一输入,所述M个界面标识为根据用户的输入添加的,M为正整数;The receiving module is configured to receive a user's first input of the target interface identifier in the M interface identifiers when the display interface of the target application displays M interface identifiers, and the M interface identifiers are based on Added by user input, M is a positive integer;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,显示与所述目标界面标识对应的目标界面。The display module is configured to display a target interface corresponding to the target interface identifier in response to the first input received by the receiving module.
  7. 根据权利要求6所述的终端设备,其中,所述接收模块,还用于在接收用户对所述M个界面标识中的目标界面标识的第一输入之前,接收用户的第二输入;The terminal device according to claim 6, wherein the receiving module is further configured to receive a user's second input before receiving the user's first input of the target interface identifier among the M interface identifiers;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,显示第一控件,所述第一控件中包括所述M个界面标识。The display module is further configured to display a first control in response to the second input received by the receiving module, and the first control includes the M interface identifiers.
  8. 根据权利要求6所述的终端设备,其中,所述终端设备还包括处理模块;The terminal device according to claim 6, wherein the terminal device further comprises a processing module;
    所述接收模块,还用于在接收用户对所述M个界面标识中的目标界面标识的第一输入之前,接收用户在目标界面上的第三输入;The receiving module is further configured to receive the user's third input on the target interface before receiving the user's first input of the target interface identifier in the M interface identifiers;
    所述处理模块,用于响应于所述接收模块接收的所述第三输入,在所述目标应用程序的显示界面添加所述M个界面标识。The processing module is configured to add the M interface identifiers to the display interface of the target application in response to the third input received by the receiving module.
  9. 根据权利要求8所述的终端设备,其中,所述处理模块,还用于在所述接收模块接收用户在目标界面上的第三输入之前,在所述接收模块接收到用户的第四输入的情况下,创建针对所述目标应用程序的第一任务栈;The terminal device according to claim 8, wherein the processing module is further configured to: before the receiving module receives the user's third input on the target interface, after the receiving module receives the user's fourth input In this case, create a first task stack for the target application;
    所述显示模块,还用于显示与所述处理模块创建的所述第一任务栈对应的第一控件;The display module is further configured to display a first control corresponding to the first task stack created by the processing module;
    其中,所述第四输入为用户触发所述终端设备打开所述目标应用程序的输入,或所述第四输入为用户在所述目标应用程序的界面上的输入。The fourth input is an input by the user to trigger the terminal device to open the target application, or the fourth input is an input by the user on the interface of the target application.
  10. 根据权利要求7或9中任一项所述的终端设备,其中,所述第一控件中还包括目标选项,所述目标选项包括以下至少一项:添加选项、删除选项;The terminal device according to any one of claims 7 or 9, wherein the first control further includes a target option, and the target option includes at least one of the following: add option, delete option;
    其中,所述添加选项用于在所述第一控件中添加界面标识,所述删除选项用于从所述第一控件中删除界面标识。Wherein, the add option is used to add an interface identifier to the first control, and the delete option is used to delete an interface identifier from the first control.
  11. 一种终端设备,其中,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的界面切换方法的步骤。A terminal device, which includes a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor as claimed in claims 1 to 5. Steps of any one of the interface switching methods.
  12. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的界面切换方法的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the interface switching method according to any one of claims 1 to 5 are realized .
PCT/CN2020/100927 2019-07-23 2020-07-08 Interface switching method and terminal device WO2021012955A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910667692.8A CN110502295A (en) 2019-07-23 2019-07-23 A kind of interface switching method and terminal device
CN201910667692.8 2019-07-23

Publications (1)

Publication Number Publication Date
WO2021012955A1 true WO2021012955A1 (en) 2021-01-28

Family

ID=68587671

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/100927 WO2021012955A1 (en) 2019-07-23 2020-07-08 Interface switching method and terminal device

Country Status (2)

Country Link
CN (1) CN110502295A (en)
WO (1) WO2021012955A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502295A (en) * 2019-07-23 2019-11-26 维沃移动通信有限公司 A kind of interface switching method and terminal device
CN111142673B (en) * 2019-12-31 2022-07-08 维沃移动通信有限公司 Scene switching method and head-mounted electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271878A1 (en) * 2005-05-24 2006-11-30 Kabushiki Kaisha Toshiba Information processing apparatus capable of displaying a plurality of windows
CN108196930A (en) * 2018-01-18 2018-06-22 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN108762861A (en) * 2018-04-27 2018-11-06 努比亚技术有限公司 A kind of application interface display methods, terminal and computer readable storage medium
CN110502295A (en) * 2019-07-23 2019-11-26 维沃移动通信有限公司 A kind of interface switching method and terminal device
CN111158841A (en) * 2019-12-31 2020-05-15 北京乐学帮网络技术有限公司 Page jump method, page jump creation method, device and terminal equipment
CN111638848A (en) * 2020-05-29 2020-09-08 维沃移动通信(杭州)有限公司 Page switching method and device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867925B (en) * 2016-03-29 2022-06-28 联想(北京)有限公司 Shortcut establishing method and electronic equipment
CN107678641A (en) * 2017-09-08 2018-02-09 维沃移动通信有限公司 A kind of method and mobile terminal into target display interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271878A1 (en) * 2005-05-24 2006-11-30 Kabushiki Kaisha Toshiba Information processing apparatus capable of displaying a plurality of windows
CN108196930A (en) * 2018-01-18 2018-06-22 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN108762861A (en) * 2018-04-27 2018-11-06 努比亚技术有限公司 A kind of application interface display methods, terminal and computer readable storage medium
CN110502295A (en) * 2019-07-23 2019-11-26 维沃移动通信有限公司 A kind of interface switching method and terminal device
CN111158841A (en) * 2019-12-31 2020-05-15 北京乐学帮网络技术有限公司 Page jump method, page jump creation method, device and terminal equipment
CN111638848A (en) * 2020-05-29 2020-09-08 维沃移动通信(杭州)有限公司 Page switching method and device and electronic equipment

Also Published As

Publication number Publication date
CN110502295A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
WO2021083052A1 (en) Object sharing method and electronic device
WO2021104365A1 (en) Object sharing method and electronic device
WO2021218902A1 (en) Display control method and apparatus, and electronic device
WO2020258929A1 (en) Folder interface switching method and terminal device
WO2021197263A1 (en) Content sharing method and electronic device
WO2021083132A1 (en) Icon moving method and electronic device
WO2021115278A1 (en) Group management method and electronic device
WO2020151525A1 (en) Message sending method, and terminal device
WO2020238351A1 (en) Application downloading and classification method and terminal device
WO2021098695A1 (en) Information sharing method and electronic device
WO2021083087A1 (en) Screen capturing method and terminal device
WO2020181955A1 (en) Interface control method and terminal device
CN109614061B (en) Display method and terminal
WO2021129536A1 (en) Icon moving method and electronic device
WO2021004327A1 (en) Method for setting application permission, and terminal device
WO2021012927A1 (en) Icon display method and terminal device
WO2020215932A1 (en) Method for displaying unread message and terminal device
WO2021057290A1 (en) Information control method and electronic device
WO2020199783A1 (en) Interface display method and terminal device
WO2020215982A1 (en) Desktop icon management method and terminal device
WO2020192299A1 (en) Information display method and terminal device
WO2021129538A1 (en) Control method and electronic device
WO2020192282A1 (en) Notification message display method and terminal device
WO2021104163A1 (en) Icon arrangement method and electronic device
WO2021083058A1 (en) Image processing method, server, and terminal device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20844671

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20844671

Country of ref document: EP

Kind code of ref document: A1