Application searching method, electronic equipment and readable storage medium
By displaying interface snapshots of target applications in terminal devices, the problem of users finding applications in multiple application environments is solved, and the function of quickly positioning and starting applications is realized.
Patent Information
- Application Number
- CN202311041463.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-17
- Publication Date
- 2025-02-21
AI Technical Summary
In electronic devices, users search for applications more and more, especially when there are many applications, users need to perform multiple page turn operations to find the target application.
By providing an application search method in the terminal device, when the terminal device finds a target application, it displays a snapshot of the interface where the target application's icon is located or the interface of the folder where the target application's icon belongs to, enriching the way of application search.
Users can not only quickly find applications, but also quickly locate the interface where the target application is located or the folder where the icon of the target application belongs, improving the efficiency and user experience of application search.
Smart Images

Figure CN119493505A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of terminal technology, and in particular, to an application search method, an electronic device, and a readable storage medium. Background Art
[0002] As more and more applications (APPs) are installed in electronic devices, it takes longer and longer for users to find an application. For example, when a user wants to use an application, he needs to find the application startup entry in the electronic device, such as finding the icon of the application. When there are many applications installed in the electronic device, the user may need to perform multiple page turning operations and search one by one to find the application.
[0003] In order to facilitate users to quickly find the application, refer to Figure 2 Currently, a user can enter the name of an application in a search box on the negative first screen of an electronic device, and the electronic device can feedback the application installed in the electronic device, but the current method for searching applications is single. Summary of the invention
[0004] The embodiments of the present application provide an application search method, an electronic device, and a readable storage medium. When a terminal device finds a target application, it can display a snapshot of the interface where the icon of the target application is located or the interface of the folder to which the icon of the target application belongs, thereby enriching the application search method.
[0005] In the first aspect, an embodiment of the present application provides an application search method, and the execution subject of the method can be a terminal device or a chip in the terminal device. The following description takes the terminal device as an example. In this method, the terminal device displays a first interface, and the first interface can be any desktop interface of the terminal device, or a negative one-screen interface, or an interface of any application. The user can perform a first operation on the first interface to trigger the terminal device to search for a target application. Accordingly, the terminal device can receive the user's first operation on the first interface, and search for the target application in response to the first operation. Among them, the first operation is used to find the target application.
[0006] In some embodiments, when the target application is installed on the terminal device, the terminal device displays a snapshot of the target interface on the first interface. The target interface is the interface where the icon of the target application is located or the interface where the folder to which the icon of the target application belongs is located. The target interface can be, for example, the desktop interface where the icon of the target application is located, or the interface of the folder to which the icon of the target application belongs, or the desktop interface where the folder to which the icon of the target application belongs is located.
[0007] In an embodiment of the present application, in order to highlight the target element in the snapshot of the target interface so that the user can quickly locate the target element in the snapshot of the target interface, the target element in the snapshot is in a first display style, and other elements in the snapshot are in a second display style. The target element is the icon of the target application and / or the icon of the folder to which the icon of the target application belongs, and the size of the snapshot is smaller than the size of the first interface.
[0008] In some embodiments, the first display style and the second display style differ in at least one of the following: size, shape, color, transparency, and whether to highlight. The target element has a different display style from other elements, which can facilitate users to quickly locate the icon of the target application and / or the icon of the folder to which the icon of the target application belongs, so that users can quickly find the icon of the target application.
[0009] In an embodiment of the present application, in response to a user's operation of searching for a target application on a first interface, the terminal device may query whether the target application has been installed. When the target application is installed on the terminal device, the terminal device may display a snapshot of the target interface on the first interface, so that the user can not only quickly find the application, but also quickly locate the interface where the target application is located or the interface where the folder to which the icon of the target application belongs is located, thereby facilitating the user to quickly locate the target application and enriching the method of searching for applications.
[0010] In a possible implementation, when the target application is not installed on the terminal device, the terminal device may display a recommended installation list, where the recommended installation list includes an identifier of the target application.
[0011] In this implementation, when the target application that the user is looking for is not installed on the terminal device, the terminal device can recommend the target application to be installed to the user, so that the user can quickly install and use the target application.
[0012] The first interface and the first operation are introduced below:
[0013] In some embodiments, the first interface is any interface of the terminal device, for example, the first interface can be any desktop interface or the interface of any application installed in the terminal device.
[0014] The user may perform a trigger operation on the first interface, and the trigger operation is used to instruct the user to trigger the search for an application. Exemplarily, the trigger operation may include but is not limited to: long pressing a preset position of the first interface, or tapping the first interface with a knuckle, or tapping the first interface with a knuckle and staying for a period of time, etc. In response to receiving the trigger operation of the user on the first interface, the terminal device may determine that the user starts searching for an application.
[0015] After the user performs the trigger operation, the user can perform a sliding operation on the first interface to write the characters of the target application. Accordingly, in response to receiving the sliding operation of the user on the first interface, the terminal device can identify the characters corresponding to the trajectory of the sliding operation, and determine the target application based on the characters. Among them, the characters are any of the following: the name of the target application, the first word of the name, the first letter of the first word, and the first letter of the name.
[0016] In this example, the first operation includes the trigger operation and the sliding operation.
[0017] In some embodiments, the first interface is a negative one-screen interface, and the user can perform trigger operations and sliding operations on the first interface to trigger the terminal device to search for the target application. Please refer to the above related description.
[0018] In some embodiments, the first interface is a negative one screen interface, and the negative one screen interface includes a search box. A user can enter characters in the search box, and the first operation is that the user enters characters in the search box. In response to receiving the first operation of the characters entered by the user in the search box, the terminal device can determine the target application according to the characters.
[0019] In the embodiment of the present application, the first interface is not limited. When the user needs to find the target application, the user can perform the first operation in the current interface to trigger the terminal device to find the target application, which is efficient and fast. In addition, the user can trigger the terminal device to find the target application in a way that he is accustomed to, which can improve the user experience. Among them, the user's own accustomed method may include but is not limited to: entering characters in the search box, or performing trigger operations and sliding operations on the first interface, etc.
[0020] The following describes the target interface, target elements, and a display method of a snapshot of the target interface displayed on the first interface:
[0021] In some embodiments, when the icon of the target application is in the desktop interface, the target interface may be the interface where the icon of the target application is located, the target interface is the desktop interface, and the target element is the icon of the target application. That is, in the snapshot of the desktop interface, the icon of the target application is in the first display style, and the other elements are in the second display style. The purpose of this setting is to highlight the icon of the target application in the snapshot of the desktop interface, so that the user can quickly locate the icon of the target application.
[0022] In some embodiments, when the icon of the target application is in a folder in the desktop interface, the target interface may be the interface where the folder to which the icon of the target application belongs is located, wherein the folder is on the desktop interface, the target interface is the desktop interface, and the target element is the icon of the target application and / or the icon of the folder. That is to say, in the snapshot of the desktop interface, the icon of the target application and / or the icon of the folder are in the first display style, and the other elements are in the second display style. The purpose of this setting is to highlight the icon of the target application and / or the folder to which the icon of the target application belongs in the snapshot of the desktop interface, so that the user can quickly locate the icon of the target application and / or the folder to which the icon of the target application belongs.
[0023] In some embodiments, when the icon of the target application is in a folder in the desktop interface, the target interface may be the interface where the icon of the target application is located, the target interface is the interface of the folder, and the target element is the icon of the target application. That is to say, in the snapshot of the interface of the folder, the icon of the target application is in the first display style, and the other elements are in the second display style. The purpose of this setting is to highlight the icon of the target application in the snapshot of the interface of the folder, so that the user can quickly locate the icon of the target application.
[0024] In some embodiments, when the terminal device finds multiple installed target applications, the target interface may be one or more.
[0025] Exemplarily, when multiple target applications are in the same desktop interface or the same folder interface, the desktop interface or the folder interface can be used as the target interface, and the target interface is one. Exemplarily, when there are multiple target applications, some of the icons of the target applications can be in the same or different desktop interfaces, and other icons of the target applications can be in the same or different folders, so there can be multiple target interfaces.
[0026] When there are multiple target interfaces, the following describes how to display a snapshot of the target interface on the first interface:
[0027] First, in order to allow the user to see the snapshot of each target interface as much as possible, the terminal device can display the snapshot of each target interface in a tiled form.
[0028] Secondly, in order to reduce the amount of the snapshot of the target interface covering the content of the first interface, the terminal device may display the snapshot of each target interface in a stacked form.
[0029] Third, when the number of target interfaces is less than or equal to the first threshold, the terminal device can display the snapshot of each target interface in a tiled form on the first interface. When the number of target interfaces is greater than the first threshold, the snapshot of each target interface is displayed in a stacked form on the first interface.
[0030] In "third", in order to facilitate the user to see the complete snapshot of each target interface, the terminal device can display each target interface in a rotating manner. Exemplarily, the terminal device can rotate the snapshot of the target interface once every preset time. The rotation can be understood as: rotating the snapshot of the target interface at the top to the bottom, rotating the snapshot of the target interface at the second rank to the top, rotating the snapshot of the target interface at the third rank to the second rank, and so on.
[0031] In an embodiment of the present application, after the terminal device displays a snapshot of the target interface on the first interface, the user can also operate the target element in the snapshot of the target interface to quickly start the application corresponding to the target element.
[0032] In some embodiments, when the target element in the snapshot of the target interface includes an icon of a target application, the user can operate the icon of the target application in the snapshot of the target interface to trigger the terminal device to start the target application. For example, the first position in the snapshot of the target interface corresponds to the icon of the target application, and the user operates the first position in the snapshot of the target interface to trigger the terminal device to start the target application.
[0033] In addition, the user can also operate other elements in the snapshot of the target interface to trigger the terminal device to start the application corresponding to the element. For example, taking the other element as the icon of the first application, the second position in the snapshot of the target interface corresponds to the icon of the first application, and the first application is an application other than the target application on the target interface. The user operates the second position in the snapshot of the target interface to trigger the terminal device to start the first application.
[0034] In some embodiments, when the target element in the snapshot of the target interface does not include the icon of the target application, such as when the target element in the snapshot of the target interface includes the icon of the folder to which the icon of the target application belongs but does not include the icon of the target application, the user cannot directly operate the icon of the target application in the snapshot of the target interface. The user can operate the icon of the folder in the snapshot of the target interface to trigger the terminal device to display the interface of the folder or the snapshot of the interface of the folder, and the interface of the folder and the snapshot of the interface of the folder both include the icon of the target application. The user can operate the icon of the target application to trigger the terminal device to start the target application.
[0035] Exemplarily, the third position in the snapshot of the target interface corresponds to the icon of the folder to which the icon of the target application belongs. After the terminal device displays the snapshot of the target interface on the first interface, in response to the user's operation on the third position, the terminal device can display the interface of the folder, and the interface of the folder includes the icon of the target application. In an embodiment of the present application, in order to highlight the icon of the target application and facilitate the user to quickly locate the icon of the target application, in the interface of the folder, the icon of the target application is displayed differently from other elements. Because the icon of the target application is included in the interface of the folder, the user can operate the icon of the target application to trigger the terminal device to start the target application. Accordingly, in response to the user's operation on the location of the icon of the target application, the terminal device can call the startup function of the target application to start the target application.
[0036] Exemplarily, the third position in the snapshot of the target interface corresponds to the icon of the folder to which the icon of the target application belongs. After the terminal device displays the snapshot of the target interface on the first interface, in response to the user's operation on the third position, the terminal device can display a snapshot of the interface of the folder, and the snapshot of the interface of the folder includes the icon of the target application. In an embodiment of the present application, in order to highlight the icon of the target application and facilitate the user to quickly locate the icon of the target application, in the snapshot of the interface of the folder, the display style of the icon of the target application is different from that of other elements. Similarly, because the snapshot of the interface of the folder includes the icon of the target application, the user can operate the icon of the target application to trigger the terminal device to start the target application. Accordingly, in response to the user's operation on the location of the icon of the target application, the terminal device can call the startup function of the target application to start the target application.
[0037] As in the above example, after the terminal device displays a snapshot of the target interface on the first interface, the user can operate an element in the snapshot of the target interface to trigger the terminal device to quickly launch an application corresponding to the element.
[0038] The following describes the principle by which terminal devices can quickly start applications:
[0039] In a possible implementation, the terminal device includes at least one interface, and the interface includes a desktop interface. When the terminal device includes a folder, the interface includes the desktop interface and an interface of a folder to which an application icon belongs. The terminal device may pre-acquire snapshot data of each interface, and the snapshot data includes: a snapshot of the interface.
[0040] In this implementation, the terminal device responds to the user's first operation, and when it is determined that the target application is installed on the terminal device, the terminal device can determine the interface where the icon of the target application is located or the interface where the folder to which the icon of the target application belongs is located, that is, the terminal device can determine the target interface, and obtain the snapshot data of the target interface in the snapshot data of the interface. Because the snapshot data of the target interface includes the snapshot of the target interface, the terminal device can directly use the snapshot of the target interface without taking a screenshot to obtain the snapshot of the target interface, which can increase the speed of displaying the snapshot of the target interface on the first interface.
[0041] In a possible implementation, the terminal device can also obtain the position of each element in the snapshot of the interface, and the startup function of the application corresponding to each element. Accordingly, the snapshot data of the interface also includes: the position of the elements in the interface in the snapshot of the interface, and the startup function of the application corresponding to the element, and the position of the elements in the interface in the snapshot of the interface is used to characterize the mapping relationship. Accordingly, the snapshot data of the target interface also includes: the position of the elements in the target interface in the snapshot of the interface, and the startup function of the application corresponding to the element, and the position of the elements in the target interface in the snapshot of the target interface is used to characterize the mapping relationship between the icon and the position of the application corresponding to the element in the target interface.
[0042] For example, when the user operates the first position in the snapshot of the target interface, the terminal device can determine that the first position corresponds to the icon of the target application based on the mapping relationship between the application icon and the position in the snapshot of the target interface. The terminal device can determine the startup function of the target application in the snapshot data of the target interface, and call the startup function of the target application to start the target application.
[0043] For example, when the user operates the second position in the snapshot of the target interface, the terminal device can determine that the second position corresponds to the icon of the first application based on the mapping relationship between the application icon and the position in the snapshot of the target interface. The terminal device can determine the startup function of the first application in the snapshot data of the target interface, and call the startup function of the first application to start the target application.
[0044] For example, when the icon of the target application is in a folder in the desktop interface, and the target interface is the desktop interface, the third position in the snapshot corresponds to the icon of the folder. When the user operates the third position in the snapshot of the target interface, the terminal device can determine that the third position corresponds to the icon of the folder to which the icon of the target application belongs based on the position of the element in the snapshot of the target interface.
[0045] In some embodiments, the terminal device can determine the snapshot of the interface of the folder in the snapshot data of the interface of the folder, so that the terminal device can display the snapshot of the interface of the folder. The snapshot of the interface of the folder includes the icon of the target application, and the snapshot data of the interface of the folder includes the position of the icon of the target application. In response to the user operating the position of the icon of the target application, the terminal device can determine the startup function of the target application in the snapshot data of the interface of the folder, and call the startup function of the target application to start the target application.
[0046] In some embodiments, in response to the user operating the third position in the snapshot of the target interface, the terminal device may display the interface of the folder. The interface of the folder includes an icon of the target application, and in response to the user operating the position of the icon of the target application in the interface of the folder, the terminal device starts the target application.
[0047] In a second aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory. The memory is used to store computer executable program code, and the program code includes instructions; when the processor executes the instructions, the instructions cause the electronic device to execute the method in the first aspect.
[0048] In a third aspect, an embodiment of the present application provides an electronic device, which may include a unit, a module or a circuit for executing the method provided in the first aspect above.
[0049] In a fourth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method in the first aspect.
[0050] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes the method in the first aspect above.
[0051] The beneficial effects of the possible implementation methods of the second to fifth aspects mentioned above can be referred to the beneficial effects brought about by the first aspect mentioned above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1A A schematic diagram for switching desktop interfaces;
[0053] Figure 1B A schematic diagram of the folder logo and the folder interface;
[0054] Figure 1C Another schematic diagram of the folder logo and the folder interface;
[0055] Figure 2 A schematic diagram of an interface for searching for applications in a terminal device;
[0056] Figure 3 A flowchart of an embodiment of an application search method provided in an embodiment of the present application;
[0057] Figure 4A A schematic diagram of an interface of a search application provided in an embodiment of the present application;
[0058] Figure 4B A schematic diagram of another interface of a search application provided in an embodiment of the present application;
[0059] Figure 4C A schematic diagram of another interface of a search application provided in an embodiment of the present application;
[0060] Figure 4D A schematic diagram of another interface of a search application provided in an embodiment of the present application;
[0061] Figure 4E A schematic diagram of another interface of a search application provided in an embodiment of the present application;
[0062] Figure 4F A schematic diagram of another interface of a search application provided in an embodiment of the present application;
[0063] Figure 5 A flowchart of another embodiment of the application search method provided in the embodiment of the present application;
[0064] Fig. 6A A schematic diagram of another interface of a search application provided in an embodiment of the present application;
[0065] Figure 6B A schematic diagram of another interface of a search application provided in an embodiment of the present application;
[0066] Figure 7 A flowchart of another embodiment of the application search method provided in the embodiment of the present application;
[0067] Figure 8 A schematic diagram of another interface of a search application provided in an embodiment of the present application;
[0068] Fig. 9 A flowchart of another embodiment of the application search method provided in the embodiment of the present application;
[0069] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] For ease of understanding, the following first introduces the relevant terms and concepts involved in the embodiments of the present application:
[0071] Desktop interface: In some embodiments, the terminal device may include at least one desktop interface, and each desktop interface may display application icons. In some embodiments, the desktop interface may also include elements such as time information and weather information. Figure 1A In a, the terminal device displays desktop interface 1, which may include application icons, time information, weather information and other elements. For example, a user swipes right on desktop interface 1 to trigger the terminal device to display desktop interface 2, which may include application icons. The embodiment of the present application does not limit the number of desktop interfaces included in the terminal device, nor does it limit the way to trigger the terminal device to switch desktop interfaces. In some embodiments, desktop interface 1 may also be referred to as the main desktop.
[0072] Snapshot of the desktop interface: Screen capture of the desktop interface.
[0073] Snapshot of the interface: Screen capture of the interface.
[0074] Folder Icon: Exemplary, Figure 1B a in the figure shows an icon 11 of a folder of a terminal device (such as a laptop computer). Figure 1C A in the figure shows an icon 12 of a folder of a terminal device (such as a mobile phone). The embodiment of the present application does not limit the style of the folder icon. The drawings in the following embodiments are illustrated by taking the folder icon 12 as an example.
[0075] Folder interface: exemplary, user operation Figure 1B In the folder a of the terminal device, the terminal device can display the interface 101 of the folder 1, and the interface of the folder 1 includes at least one element, such as Figure 1B As shown in b in FIG. Elements may include but are not limited to: application icons, documents, emails, widgets, etc. It should be understood that Figure 1B In b, the interface 101 of folder 1 includes the icon of application 1, the icon of application 2, and document 1 as an example.
[0076] For example, user operation Figure 1C The terminal device may display an interface 102 of the folder 1, wherein the interface of the folder 1 includes at least one element, such as Figure 1C It should be understood that a folder may include at least one application icon. Figure 1C In a and b of FIG. 1 , a folder including icons of four applications is taken as an example.
[0077] Application startup function: The startup function is used to trigger the startup of the application. Exemplarily, in an embodiment of the present application, the terminal device may call the startup function to start the application. In some embodiments, the startup function of starting the application may be, for example, to start an Activity (startActivity).
[0078] In some embodiments, each application has its own startup Activity. For example, when a user clicks an application icon on a desktop interface, the application will call its own startup Activity, and the application can call an activity manager service (AMS) to create an application process. AMS is used to manage the application's Activity.
[0079] The terminal device in the embodiment of the present application may be an electronic device including a screen, and the terminal device may be referred to as user equipment (UE), terminal, etc. For example, the terminal device may be a mobile phone, a portable android device (PAD), a personal digital assistant (PDA), a handheld device with a wireless communication function, a computing device, a vehicle-mounted device or a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in a smart home, etc. The form of the terminal device is not specifically limited in the embodiment of the present application.
[0080] Figure 2 A schematic diagram of an interface for searching applications in a terminal device. Figure 2 In a, the terminal device displays the desktop interface 1. Figure 2 In b, the user slides left on the desktop interface 1, which can trigger the terminal device to display the negative one screen interface 201. The negative one screen interface 201 may include a search box 21, such as Figure 2 As shown in b. Figure 2 In b, the user enters the name of the application, such as abc, in the search box 21, which can trigger the terminal device to search for an application named "abc" in the installed applications. Figure 2 In c, after the terminal device finds the application, the search result 22 can be displayed. Although this method can find the application in the terminal device, the current method of finding the application is relatively simple.
[0081] An application search method is provided in an embodiment of the present application. In response to a user's operation of searching for an application, a terminal device can display a snapshot of the interface where the application icon is located. In this way, the user can not only quickly find the application in the terminal device, but also determine the interface where the application is located, thereby enriching the method of application search.
[0082] The following is a description of the application search method provided by the embodiments of the present application in conjunction with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0083] Figure 3 A flowchart of an embodiment of the application search method provided in the present application embodiment. Figure 3 , the application search method provided in the embodiment of the present application may include:
[0084] S301, displaying a first interface.
[0085] The first interface may be any interface of the terminal device.
[0086] In some embodiments, the first interface may be any desktop interface of the terminal device. In some embodiments, the first interface may be an interface of any application of the terminal device. In some embodiments, the first interface may be a negative one screen interface of the terminal device.
[0087] S302, receiving a first operation of a user on a first interface, where the first operation is used to search for a target application.
[0088] The first operation is used to search for a target application. In other words, the first operation is used to trigger the terminal device to search for a target application.
[0089] In some embodiments, the first operation may include triggering operations such as long pressing a preset position of the first interface, or tapping the first interface with a knuckle, or tapping the first interface with a knuckle and staying for a period of time, and the embodiments of the present application do not limit the triggering operation. Among them, when the first operation is long pressing a preset position of the first interface, the preset position can be, for example, a blank space of the first interface, and the blank space can be understood as a position where no elements are displayed in the first interface. Among them, after the user performs the triggering operation, the terminal device can respond to the triggering operation and determine the user's need to find an application.
[0090] In addition, the first operation may also include an operation for indicating a target application. For example, after the user performs a trigger operation, the user may continue to perform a sliding operation on the first interface to write characters for indicating a target application. In this example, the first operation may include a trigger operation and a sliding operation.
[0091] Exemplarily, for example, after the user performs a trigger operation, the terminal device can be triggered to display an input method keyboard, and the user's operation on the input method keyboard can input characters for indicating the target application to the terminal device. In this example, the first operation can include the trigger operation and the input operation of operating the input method keyboard. The embodiments of the present application do not limit the operation for indicating the target application.
[0092] In some embodiments, the characters for indicating the target application can include any one of the following: the name of the target application, the first character of the name of the target application, the first letter of the first character of the name of the target application, the first letter of the name of the target application. Exemplarily, if the name of the target application is "Sky", the characters written by the user or input through the input method keyboard can be: the name of the application "Sky", the first character of the name of the application "天", the first letter of the first character "t" or "T", or the first letters of the name "Sky" "TK", "tk", etc. The embodiments of the present application do not limit the case of letters.
[0093] Exemplarily, referring to Figure 4A a in, the terminal device displays the desktop interface 1. The user wants to quickly find the application "Sky", but the user forgets which desktop interface the application is on. If searching page by page, it takes a long time. Referring to Figure 4A b in, the user can long-press on the blank area of the desktop interface 1. The terminal device responds to the operation of the user long-pressing on the blank area of the desktop interface 1 and can determine that the user needs to find an application. Referring to Figure 4A c in, after the user long-presses on the blank area of the desktop interface 1, the user can (or can lift the hand) and perform a sliding operation without lifting the hand to write the first letter "T" of the first character of the application "Sky" on the desktop interface 1, which can trigger the terminal device to find an application whose first letter of the first character in the name is "T", or an application whose first letter in the name contains "T". Among them, the first operation can include: the operation of long-pressing on the blank area of the desktop interface 1, and the sliding operation of writing "T".
[0094] Exemplarily, referring to Figure 4B a in, the terminal device displays the interface of any application, Figure 4B Taking the application as a memo application as an example in. When the user uses the memo application, the user needs to find another application. The user does not need to perform the operation of minimizing the memo application to the background, but directly long-presses on the blank area of the interface of the memo application, as shown in Figure 4B b in. The terminal device responds to the operation of the user long-pressing on the blank area of the interface of the memo application and can determine that the user needs to find an application. Referring to Figure 4BFor c in [the above], after the user long - presses on the blank area of the interface of the memo application, the user can (or can lift the hand) not lift the hand and perform a sliding operation to write the first letter "T" of the first word of the application "Sky" on the interface of the memo application, which can trigger the terminal device to search for applications whose first letter of the first word in the name is "T", or applications whose first letter in the name contains "T". Among them, the first operation may include: the operation of long - pressing on the blank area of the interface of the memo application, and the sliding operation of writing "T".
[0095] In some embodiments, since the first interface is different, the first operation may be different. Exemplarily, when the first interface is the negative first - screen interface of the terminal device, the first operation may be the operation of the user on the search box of the negative first - screen interface. Specifically, the first operation may be the operation of inputting the characters of the target application in the search box of the negative first - screen interface.
[0096] Exemplarily, referring to Figure 4C In a of [the above], the terminal device displays the negative first - screen interface, and the negative first - screen interface may include a search box 41. The user clicks on the search box 41, which can trigger the terminal device to display the input method keyboard. For example, the user can operate the input method keyboard and input the characters of the target application "Sky" in the search box 41. Among them, the first operation is the operation of the user inputting the characters of the target application "Sky" in the search box of the negative first - screen interface.
[0097] In some embodiments, the first operations corresponding to different first interfaces may be preset in the terminal device, or may be custom - set by the user. Exemplarily, the user can set in the settings application or in the settings option of the application. The embodiments of the present application do not limit this.
[0098] In some embodiments, the first operation may also be the operation of the user speaking the password for searching for the target application. Exemplarily, for example, the user can speak the password "Search for Application A" to trigger the terminal device to search for Application A. The embodiments of the present application do not limit the first operation.
[0099] S303, when the target application is installed on the terminal device, display a snapshot of the target interface on the first interface. The target interface is the interface where the icon of the target application is located or the folder where the icon of the target application belongs. The target element in the snapshot of the target interface is in the first display style, and the other elements in the snapshot of the target interface are in the second display style. The target element is the icon of the target application, and / or the icon of the folder where the icon of the target application belongs. The size of the snapshot is smaller than the size of the first interface.
[0100] In response to the first operation, the terminal device may search whether the target application is included in the applications installed by the terminal device according to the target application indicated by the first operation. In some embodiments, the terminal device may manage installed applications. The terminal device may store the names of installed applications. In this way, the terminal device may search whether the target application is included in the applications installed by the terminal device according to the target application indicated by the first operation and the names of installed applications.
[0101] In some embodiments, when the first operation includes a trigger operation and a sliding operation, the terminal device can identify characters corresponding to the trajectory according to the trajectory of the sliding operation, and then search for the target application.
[0102] In some embodiments, when the first operation includes a trigger operation and an input operation of operating an input method keyboard, the terminal device can search for a target application according to the input characters.
[0103] In some embodiments, when the first operation includes: when the user enters characters of the target application in the search box of the negative first screen interface, the terminal device can search for the target application according to the entered characters.
[0104] Exemplarily, when the terminal device determines that the character input by the user is the letter "T", the terminal device can search for applications whose first letter of the first character of the name is "T" in the installed applications, and use the found application as the target application. Exemplarily, when the character is the letter "T", the terminal device searches for applications whose first letter of the name contains "T" in the installed applications, and uses the found application as the target application. Exemplarily, when the character is the name "sky", the terminal device searches for applications whose name is "sky" or applications whose names include "sky" in the installed applications, and uses the found application as the target application.
[0105] In some embodiments, when the first operation is an operation in which the user speaks a password to search for a target application, the terminal device may parse the password, identify the target application corresponding to the password, and search for the target application.
[0106] When the target application is installed on the terminal device, the terminal device can output the search results on the first interface. In the embodiment of the present application, in order to facilitate the user to intuitively see the target application, and the interface where the icon of the target application is located or the interface where the folder to which the icon of the target application belongs is located, the terminal device can display a snapshot of the target interface on the first interface. Among them, the target interface is the interface where the icon of the target application is located, or the interface where the folder to which the icon of the target application belongs is located.
[0107] In some embodiments, after the terminal device installs the target application, the icon of the target application can be located on the desktop interface of the terminal device or in a folder of the desktop interface. Alternatively, the user can place icons of applications of the same type in a folder according to their own usage habits. Therefore, the icon of the target application can be located on the desktop interface or in a folder.
[0108] Among them, when the icon of the target application is in the desktop interface, the target interface is the desktop interface, that is, the target interface is the interface where the icon of the target application is located. In other words, when the target application is installed on the terminal device and the icon of the target application is in the desktop interface, the terminal device can display a snapshot of the desktop interface on the first interface. Exemplarily, when the icon of the target application is in desktop interface 1, the target interface is desktop interface 1.
[0109] Among them, when the icon of the target application is in a folder in the desktop interface, the target interface can be the desktop interface or the interface of the folder. Among them, when the icon of the target application is in a folder in the desktop interface and the target interface is the interface of the folder, it can be regarded as the interface where the icon of the target application is located (i.e., the interface of the folder). When the icon of the target application is in a folder in the desktop interface and the target interface is the desktop interface, it can be regarded as the interface where the folder to which the icon of the target application belongs is located (i.e., the desktop interface).
[0110] That is, when the target application is installed on the terminal device and the icon of the target application is in a folder in the desktop interface, the terminal device can display a snapshot of the desktop interface (the interface where the folder to which the icon of the target application belongs is located) or a snapshot of the folder interface (the interface where the icon of the target application is located) on the first interface. Exemplarily, when the icon of the target application is in folder 1 in desktop interface 1, the target interface can be the interface of desktop interface 1 or folder 1.
[0111] In some embodiments, when there are multiple target applications, the icons of the target applications may be in the same desktop interface or in the same folder, so the target interface may be one. When there are multiple target applications, the icons of some of the target applications may be in the same or different desktop interfaces, and the icons of other target applications may be in the same or different folders, so the target interface may be multiple. Exemplarily, for example, when there are two target applications, the icon of one target application is on desktop interface 1, and the icon of another target application is in folder 1 of desktop interface 2, so the target interface may include desktop interface 1 and desktop interface 2, or the target interface may include the interface of desktop interface 1 and folder 1.
[0112] In an embodiment of the present application, the size of the snapshot of the target interface is smaller than the size of the first interface. In some embodiments, the snapshot of the target interface may be above the first interface, and the snapshot of the target interface may cover part of the content of the first interface, so that the user can see the snapshot of the target interface and part of the first interface. In some embodiments, when the terminal device displays the first interface in full screen, the size of the first interface is the same as the full screen size, and the size of the snapshot of the target interface is smaller than the full screen size.
[0113] In addition, the target element in the snapshot of the target interface is in the first display style, and other elements in the snapshot of the target interface are in the second display style. The purpose of this setting is to highlight the target element in the snapshot of the target interface so that the user can quickly locate the target element in the snapshot of the target interface.
[0114] In some embodiments, the first display style and the second display style may include at least one of the following differences: size, shape, color, transparency, and whether to highlight.
[0115] Exemplarily, in the snapshot of the target interface, the size of the target element is larger than the sizes of other elements. For example, the first display style includes the size of the target element being a first size, and the second display style includes the sizes of other elements being a second size, and the first size is larger than the second size.
[0116] Exemplarily, in the snapshot of the target interface, the shape of the target element is different from the shapes of other elements, such as the shapes of other elements are rectangles, and the shape of the target element is triangle. For example, the first display style includes the shape of the target element being a first shape, and the second display style includes the shape of other elements being a second shape. The first shape and the second shape are different, such as the first shape is a triangle, and the second shape is a rectangle.
[0117] Exemplarily, in the snapshot of the target interface, the transparency of the target element is lower than the transparency of other elements to highlight the target element. For example, the first display style includes the transparency of the target element as a first transparency, and the second display style includes the transparency of other elements as a second transparency, and the first transparency is lower than the second transparency.
[0118] Exemplarily, "whether to highlight" can be understood as: a way to highlight the icon other than "size, shape, color, transparency" and the like. For example, highlighting can include, but is not limited to: highlighting, flashing, boxing, underlining, and the like. Taking highlighting as an example, for example, the first display style includes highlighting the target element, and for example, the second display style includes non-highlighting other elements.
[0119] The above describes how to highlight the target elements in the target interface in different display styles. The following describes the target elements in the target interface:
[0120] In some embodiments, when the icon of the target application is in the desktop interface, the target interface is the desktop interface, and the target element is the icon of the target application. That is, in the snapshot of the desktop interface, the icon of the target application is in the first display style, and other elements (such as icons of other applications, widgets, etc.) are in the second display style. The purpose of this setting is to highlight the icon of the target application in the snapshot of the desktop interface, so that the user can quickly locate the icon of the target application.
[0121] In some embodiments, when the icon of the target application is in a folder in the desktop interface, the target interface is the desktop interface, and the target element may be the icon of the target application and / or the icon of the folder. That is, in the snapshot of the desktop interface, the icon of the target application and / or the icon of the folder is in the first display style, and other elements (such as icons of other applications, icons of other folders, and widgets, etc.) are in the second display style. The purpose of this setting is to highlight the icon of the target application and / or the icon of the folder to which the icon of the target application belongs in the snapshot of the desktop interface, so that the user can quickly locate the target application and / or the folder to which the icon of the target application belongs.
[0122] In some embodiments, when the icon of the target application is in a folder in the desktop interface, the target interface is the interface of the folder, and the target element is the icon of the target application. That is, in the snapshot of the folder interface, the icon of the target application is in the first display style, and other elements (such as icons of other applications, documents, and widgets, etc.) are in the second display style. The purpose of this setting is to highlight the icon of the target application in the snapshot of the folder interface, so that the user can quickly locate the icon of the target application.
[0123] Example 1: The icon of the target application is on the desktop interface, the target interface is the desktop interface, and the target element is the icon of the target application.
[0124] For example, refer to Figure 4A d in the example, the terminal device can search for a target application whose first letter of the name is "T". When the target application "Sky" has been installed on the terminal device and the icon of the target application "Sky" is on the desktop interface, the terminal device can display a snapshot 42 of the desktop interface on the desktop interface 1. The desktop interface containing the icon of the target application "Sky" is referred to as the target desktop interface. In the snapshot 42 of the target desktop interface, the size of the icon of the target application "Sky" is larger than that of other icons, and a box 43 is displayed on the periphery of the icon of the target application "Sky", indicating that the icon of the target application "Sky" is in a highlighted display style.
[0125] In some embodiments, the target desktop interface may be the same as or different from desktop interface 1. Figure 4A Take the example where the target desktop interface can be different from Desktop Interface 1.
[0126] Exemplarily, referring to Figure 4B d in Figure 4A d in Figure 4A For the same reason as d in
[0127] Exemplarily, referring to Figure 4C b in Figure 4A For the same reason as d in Figure 4A d in
[0128] In some embodiments, the user can input multiple characters of the target application. Among them, whenever the user inputs a character, the terminal device can search for the target application according to the characters already input by the user. Exemplarily, taking the first interface as the desktop interface of the terminal device as an example, when the user writes the first letter 'T' of the first character of the application 'Sky' on the desktop interface, assuming there are two target applications, Application 2 and Application 3, among the applications already installed on the terminal device, and the first letters of the names of Application 2 and Application 3 are both 'T'. For example, the icon of Application 2 is on one desktop interface, and the icon of Application 3 is on another desktop interface. In the embodiments of the present application, the desktop interface containing the icon of Application 2 is referred to as the first target desktop interface, and the desktop interface containing the icon of Application 3 is referred to as the second target desktop interface. Referring to Figure 4D d in
[0129] Referring to Figure 4D e in Figure 4D After the user continues to write the first letter 'K' of the second character of the application 'Sky' on the desktop interface, the terminal device can determine that the final target application is Application 2 whose name's first letters respectively contain 'T' and 'K'. Referring to Figure 4D a - c in Figure 4A The ac in is the same as that in Figure 4A Description in .
[0130] Example 2: When the icon of the target application is in a folder in the desktop interface, the target interface is the desktop interface, and the target element may be the icon of the target application and / or the icon of the folder. Figure 4E In the description, the target elements include the icon of the target application and the icon of the folder as an example.
[0131] Reference Figure 4E d in, the terminal device can search for the target application whose first letter of the name is "T". When the target application "Sky" has been installed on the terminal device, and the icon of the target application "Sky" is in the folder 1 of the desktop interface 2, the terminal device can display a snapshot 44 of the desktop interface 2 on the desktop interface 1. The snapshot 44 of the desktop interface 2 includes: an icon 45 of file 1, and file 1 includes an icon of the target application "Sky". In order to highlight the icon of file 1 and the icon of the target application "Sky", in the snapshot 44 of the desktop interface 2, the icon 45 of file 1 is larger than the size of the icons of other folders, and the icon of the target application "Sky" in file 1 is larger than the size of the icons of other applications. It should be understood that Figure 4E The ac in Figure 4A The ac in is the same as that in Figure 4A Description in .
[0132] In some embodiments, when the target element includes an icon of a target application and an icon of a folder, the icon of the target application is in the first display style, the icon of the folder can be in the first display style or the third display style, and the icons of other folders can be in the second display style or the fourth display style. The third display style and the fourth display style include at least one of the following differences: size, shape, color, transparency, whether to highlight, and the details can refer to the relevant descriptions of the first display style and the second display style.
[0133] Example 3: When the icon of the target application is in a folder in the desktop interface, the target interface is the interface of the folder, and the target element is the icon of the target application.
[0134] Reference Figure 4Fd in the search box, the terminal device can search for the target application whose first letter of the name is "T". When the target application "Sky" has been installed on the terminal device, and the icon of the target application "Sky" is in the folder 1 of the desktop interface 2, the terminal device can display a snapshot 46 of the interface of the folder 1 on the desktop interface 1. The snapshot 46 of the interface of the folder 1 includes: the icon of the target application "Sky", and the icons of other applications. For the icon of the target application "Sky", in the snapshot 46 of the interface of the folder 1, the icon of the target application "Sky" is larger than the icons of other applications. It should be understood that Figure 4F The ac in Figure 4A The ac in is the same as that in Figure 4A Description in .
[0135] In an embodiment of the present application, in response to a user's operation of searching for a target application on a first interface, the terminal device may query whether the target application has been installed. When the target application is installed on the terminal device, the terminal device may display a snapshot of the desktop interface where the icon of the target application is located on the first interface. In this way, the user can not only quickly find the application, but also quickly locate the desktop interface where the target application is located, thereby enriching the method of searching for applications.
[0136] In some embodiments, after the terminal device displays the snapshot of the target interface on the first interface, the user can also operate the icon of the application in the snapshot to trigger the terminal device to start the application. Figure 5 , the application search method provided in the embodiment of the present application may include:
[0137] S501, for each interface of the terminal device, obtaining snapshot data of each interface.
[0138] It should be understood that S501 can be regarded as a step performed before the user searches for an application, and this step can be performed once, and does not need to be performed every time before the user searches for an application. In some embodiments, for example, when the terminal device displays an interface for the first time, the terminal device can make a snapshot for each interface after loading the elements on each interface, and save the snapshot of each interface. The snapshot of the interface can be understood as a screen shot of the interface.
[0139] The interface may include a desktop interface, wherein when the terminal device includes a folder, the interface may also include an interface of the folder.
[0140] In some embodiments, after obtaining the snapshot of each interface, the terminal device may reduce the snapshot of each interface to a preset size, which is smaller than the size of the full screen. It should be understood that when the snapshot of the interface is reduced, the size of the elements on the interface may also be reduced. In some embodiments, reduction may be understood as proportional reduction.
[0141] The target interface is included in at least one interface of the terminal device, and the snapshot of the target interface has a preset size. In some embodiments, when the terminal device displays the first interface in full screen, the size of the snapshot of the target interface is smaller than the size of the first interface, that is, the size of the snapshot of the target interface is smaller than the size of the full screen.
[0142] In some embodiments, the snapshot of the interface before the size reduction can be called a first snapshot, and the snapshot of the interface after the size reduction can be called a second snapshot. The following takes a second snapshot as an example to illustrate the process of the terminal device obtaining snapshot data of each interface:
[0143] In the second snapshot, the terminal device can obtain the position of the element in the interface in the second snapshot.
[0144] In some embodiments, for each element in the second snapshot, the terminal device can obtain the startup function of the application corresponding to the element. Exemplarily, the interface includes application icons, and the terminal device can obtain the startup function of each application. The startup function of the application is used to assist in the startup of the application. Exemplarily, taking the interface also including a widget as an example, the terminal device can obtain the startup function of the application corresponding to the widget. Exemplarily, for example, the widget carries weather information, and the application corresponding to the widget can be a weather application. Exemplarily, for example, the widget carries time information, and the application corresponding to the widget can be a clock application. The embodiments of the present application do not exhaustively list the applications corresponding to the elements.
[0145] In some embodiments, the snapshot data of the interface may include: a snapshot of the interface, the positions of elements in the interface in the snapshot, and the startup function of the application corresponding to each element in the interface. In some embodiments, the positions of elements in the interface in the snapshot may include: the identifier of the application corresponding to each element and the position of the icon of each application. Exemplarily, the positions of elements in the interface in the snapshot may include: icon 1—position 1, icon 2—position 2, etc. In some embodiments, because elements can correspond to applications, the positions of elements in the desktop interface in the snapshot can be used as a "mapping relationship between icons and positions of applications corresponding to elements."
[0146] It should be understood that when the terminal device installs or deletes an application, the icon of the application on the desktop interface may change, and the terminal device may update the snapshot data of the interface whose icon has changed. Exemplarily, for the interface whose icon has changed, the terminal device may reacquire the snapshot of the interface, the position of the element in the interface, and the startup function of the application corresponding to the element, so as to update the snapshot data of the interface.
[0147] S502, displaying the first interface.
[0148] S503: Receive a first operation of the user on the first interface, where the first operation is used to search for a target application.
[0149] S504: When the target application is installed on the terminal device, a snapshot of the target interface is displayed on the first interface.
[0150] S502 - S504 may refer to the description in S301 - S303 .
[0151] In some embodiments, when the terminal device determines that the target application has been installed, the terminal device can determine the target interface where the icon of the target application is located, and query the snapshot data of the target interface in the snapshot data of the acquired interface. Because the snapshot data of the target interface includes the snapshot of the target interface, the terminal device does not need to draw the snapshot of the target interface, and can directly display the snapshot of the target interface on the first interface, which is fast.
[0152] S505 , in response to the user's operation on the first position in the snapshot of the target interface, determine an icon of the target application corresponding to the first position according to the snapshot data of the target interface.
[0153] The snapshot data of each interface may include: a mapping relationship between icons and positions, where icons can be considered as icons of applications in each interface. Similarly, the snapshot data of the target interface may include: a mapping relationship between icons and positions in the target interface.
[0154] After the terminal device displays the snapshot of the target interface on the first interface, the user can operate the first position in the snapshot of the target interface. The terminal device determines the icon of the target application corresponding to the first position by querying the snapshot data of the target interface, specifically, querying the "mapping relationship between icons and positions" in the snapshot data of the target interface. In this way, the terminal device can determine the icon of the target application in the snapshot of the target interface operated by the user.
[0155] S506, start the target application.
[0156] The snapshot data of each interface may include: the startup function of the application corresponding to the element in the desktop interface. Similarly, the snapshot data of the target interface may include: the startup function of the application corresponding to the element in the target interface. The terminal device determines that the first position corresponds to the icon of the target application, and the terminal device may call the startup function of the target application to start the target application.
[0157] For example, Figure 4A For example, refer to Figure 4A In d, in the snapshot of the target desktop interface, the user operates the position of the icon of the target application "Sky", and the terminal device can start the target application "Sky". Figure 4A In e, the terminal device can display the startup interface of the target application "Sky". Figure 4A In e, the startup interface includes the icon of the target application "Sky" as an example.
[0158] In some embodiments, in the snapshot of the target interface, the user can not only operate the position of the icon of the target application to trigger the terminal device to start the target application, but also operate the position of other elements (such as icons of other applications) to trigger the terminal device to start other applications. Exemplarily, taking the second position in the snapshot of the target interface corresponding to the icon of the first application as an example, in response to the user's operation on the second position, the terminal device can determine that the second position corresponds to the icon of the first application by querying the snapshot data of the target interface. Accordingly, the terminal device can search for the startup function of the first application in the snapshot data of the target interface and call the startup function to start the first application.
[0159] For example, Figure 4A For example, refer to Figure 4A In d, the snapshot of the target interface may include icons of other applications. For example, the icons of other applications include the icon of application 1. When the user operates the position of the icon of application 1, the terminal device may start application 1. Figure 4A Not shown.
[0160] In some embodiments, when the icon of the target application is in a folder in the desktop interface, and the target interface is a desktop interface, in response to the user's first operation, the terminal device can display a snapshot of the desktop interface. When the snapshot of the desktop interface only includes the icon of the folder and does not include the icon of the target application, the user cannot directly operate the icon of the target application. In this example, illustratively, the third position in the snapshot of the desktop interface corresponds to the icon of the folder. After the terminal device displays the snapshot of the desktop interface, the user can operate the third position to trigger the terminal device to display the interface of the folder or a snapshot of the interface of the folder.
[0161] Among them, when the terminal device displays the interface of the folder, the interface of the folder includes the icon of the target application. In order to facilitate highlighting the icon of the target application in the embodiment of the present application, in the interface of the folder displayed by the terminal device, the icon of the target application is displayed differently from other elements. Exemplarily, the display style of the icon of the target application is the fifth display style, and the other elements in the interface of the folder are the sixth display style. In some embodiments, the fifth display style may be the same as or different from the first display style, and the sixth display style may be the same as the second display style.
[0162] Because the folder interface includes the icon of the target application, the user can operate the icon of the target application to trigger the terminal device to start the target application. Accordingly, in response to the user's operation on the location of the icon of the target application, the terminal device can call the start function of the target application to start the target application.
[0163] Among them, when the terminal device displays a snapshot of the interface of the folder, the snapshot of the interface of the folder includes the icon of the target application. In order to highlight the icon of the target application in the embodiment of the present application, in the snapshot of the interface of the folder displayed by the terminal device, the icon of the target application is displayed differently from other elements. Exemplarily, the display style of the icon of the target application is the fifth display style, and the other elements in the interface of the folder are the sixth display style. In some embodiments, the fifth display style may be the same as or different from the first display style, and the sixth display style may be the same as the second display style.
[0164] Similarly, because the snapshot of the folder interface includes the icon of the target application, the user can operate the icon of the target application to trigger the terminal device to start the target application. Accordingly, in response to the user's operation on the location of the icon of the target application, the terminal device can call the start function of the target application to start the target application.
[0165] In the embodiment of the present application, because the terminal device can obtain the snapshot data of each interface in advance, the snapshot data may include the snapshot of the interface, the position of the elements in the interface, and the startup function of the application corresponding to the element in the interface. Therefore, when the terminal device determines that the target application searched by the user has been installed, the terminal device can display the snapshot of the target interface on the first interface according to the snapshot data of the target interface where the target application is located. In addition, in response to the position in the snapshot of the target interface operated by the user, the terminal device can determine the element corresponding to the position operated by the user according to the snapshot data of the target interface, and the terminal device can call the startup function of the application corresponding to the element in the snapshot data of the target interface to start the application. In the embodiment of the present application, not only can the application be quickly found, but also the user can quickly start the application.
[0166] In some embodiments, when the terminal device finds only one installed target application, the terminal device may display a snapshot of the target interface at a preset position on the screen. For example, the preset position may be the upper left corner of the screen, and the present embodiment does not limit the preset position.
[0167] In some embodiments, when the terminal device finds multiple installed target applications, the target interface may be one or more.
[0168] Exemplarily, when multiple target applications are in the same desktop interface or the interface of the same folder, the desktop interface or the interface of the folder can be used as the target interface, and there is only one target interface.
[0169] Exemplarily, when there are multiple target applications, some of the icons of the target applications may be in the same or different desktop interfaces, and other icons of the target applications may be in the same or different folders, so there may be multiple target interfaces. Exemplarily, for example, when there are two target applications, the icon of one target application is on desktop interface 1, and the icon of the other target application is in folder 1 of desktop interface 2, so the target interface may include desktop interface 1 and desktop interface 2, or the target interface may include the interface of desktop interface 1 and folder 1.
[0170] In the embodiment of the present application, when there are multiple target interfaces, the terminal device can display multiple target interfaces on the first interface in the following manner:
[0171] First, in order to allow the user to see the snapshot of each target interface as much as possible, the terminal device can display the snapshot of each target interface in a tiled form.
[0172] Secondly, in order to reduce the amount of the snapshot of the target interface covering the content of the first interface, the terminal device may display the snapshot of each target interface in a stacked form.
[0173] Third, when the number of target interfaces is less than or equal to the first threshold, the terminal device can display a snapshot of each target interface in a tiled form on the first interface. In some embodiments, the first threshold can be a preset value, for example, the first threshold can be 2, which is not limited in the embodiments of the present application.
[0174] In some embodiments, Fig. 6A The ac in can be Figure 4A The ac in are the same, and can be referred to Figure 4A The terminal device can find the target application including application 2 and application 3 according to the letter "T" input by the user. The icon of application 2 is on desktop interface 2, the icon of application 3 is on desktop interface 3, and the target interface can include desktop interface 2 and desktop interface 3. Fig. 6A In d, the number of target interfaces is equal to 2, and the terminal device can display the snapshot of desktop interface 2 and the snapshot of desktop interface 3 in a tiled form on the first interface. Specifically, the terminal device can display the snapshot of desktop interface 2 in a tiled form on the first interface, in a first preset area of the screen, and display the snapshot of desktop interface 3 in a tiled form on the second preset area of the screen. The sizes of the first preset area and the second preset area are equal to the preset sizes of the snapshots.
[0175] In some embodiments, the snapshots of desktop interface 2 and the snapshots of desktop interface 3 may be arranged left to right, or up to down, or in other ways, and this is not limited in the embodiments of the present application. Fig. 6AIn d, the snapshots of desktop interface 2 and desktop interface 3 are arranged side by side as an example. It should be understood that in this embodiment, because the preset size of the snapshot and the first threshold can be set in advance, it can be ensured that when the terminal device displays snapshots of multiple target interfaces in a tiled form, the snapshots of the target interfaces do not block each other, and the user can directly see the complete snapshots of the multiple target interfaces on the first interface.
[0176] Fourth, when the number of target interfaces is greater than the first threshold, in some embodiments, the terminal device may display the snapshot of each target interface in a tiled form on the first interface. Because the number of target interfaces is large, when the snapshot of each target interface is displayed in a tiled form, the screen size is not enough to accommodate the snapshot of the target interface, so the user can view the snapshot of each target interface by sliding up and down.
[0177] In order to reduce the user's operations and enable the user to intuitively see snapshots of multiple target interfaces, in some embodiments, the terminal device can display the snapshot of each target interface in a stacked form on the first interface.
[0178] For example, Figure 6B The ac in can be Figure 4A The ac in are the same, and can be referred to Figure 4A . The terminal device can find the target applications including application 2, application 3 and application 4 according to the letter "T" input by the user. The icon of application 2 is on desktop interface 2, the icon of application 3 is on desktop interface 3, and the icon of application 4 is on desktop interface 4. The target interface may include desktop interface 2, desktop interface 3 and desktop interface 4. Figure 6B In d, the number of target interfaces is greater than 2, and the terminal device can display the snapshot of desktop interface 2, the snapshot of desktop interface 3, and the snapshot of desktop interface 4 in a stacked form on the first interface. Figure 6B As shown in d in FIG. 1 , there is an obstruction between the snapshot of desktop interface 2, the snapshot of desktop interface 3, and the snapshot of desktop interface 4. Taking the snapshot of desktop interface 2 at the top as an example, the user can see the complete snapshot of desktop interface 2, the partial snapshot of desktop interface 3, and the partial snapshot of desktop interface 4.
[0179] In some embodiments, in order to facilitate the user to see the complete snapshot of each target interface, the terminal device can display the snapshot of desktop interface 2, the snapshot of desktop interface 3, and the snapshot of desktop interface 4 in a rotating manner. Exemplarily, the terminal device can rotate the snapshots of the target interface every preset time. Exemplarily, the rotation can be understood as: rotating the snapshot at the top to the bottom, rotating the snapshot at the second position to the top, rotating the snapshot at the third position to the second position, and so on. Figure 6B In e, after one rotation, the snapshot of desktop interface 3 is at the top, and the user can see the complete snapshot of desktop interface 3. Similarly, after another rotation, the snapshot of desktop interface 4 is at the top, and the user can see the complete snapshot of desktop interface 4. Figure 6B Not shown.
[0180] In some embodiments, in order to facilitate the user to see the complete snapshot of any target interface, the user can also operate the snapshot of the target interface he wants to view (for example, click), and the terminal device can display the target interface operated by the user at the top for the user to view.
[0181] In some embodiments, in response to the user's operation of searching for the target application on the first interface, the terminal device can query whether the target application has been installed. When the target application is not installed on the terminal device, the terminal device can search for the target application in the application market and feedback the target application to the user.
[0182] Reference Figure 7 , the application search method provided in the embodiment of the present application may include:
[0183] S701, displaying a first interface.
[0184] S702, receiving a first operation of a user on a first interface, where the first operation is used to search for a target application.
[0185] S703: When the target application is installed on the terminal device, a snapshot of the target interface is displayed on the first interface.
[0186] S701 - S703 may refer to the description in S301 - S303 .
[0187] S704: When the target application is not installed on the terminal device, a recommended installation list is displayed on the first interface, where the recommended installation list includes an identifier of the target application.
[0188] It should be understood that S703 and S704 are steps to be performed alternatively.
[0189] When the terminal device fails to find the target application in the installed applications in response to the first operation, the terminal device can search for the target application in the application market and recommend the found target application to the user. In one scenario, the user needs to search for an application that is not installed or forgets whether the application is installed in the terminal device. The user can perform the first operation on the first interface to trigger the terminal device to search for the target application.
[0190] In some embodiments, an application market can be understood as an APP that assists a terminal device in installing applications, and multiple applications can be stored in the application market. Exemplarily, when a user inputs the first character "Tian" of the name of a target application, the terminal device can search in the application market for a target application whose name starts with the character "Tian".
[0191] In the embodiments of the present application, after the terminal device searches for a target application in the application market, it can display a recommended installation list on a first interface, and the recommended installation list includes the identifier of the target application. The identifier of the target application can, for example, include: the name of the target application, the icon, and information for differentiating different applications. In some embodiments, there can be at least one target application.
[0192] In some embodiments, the recommended installation list can include: all the target applications found by the terminal device in the application market. In some embodiments, after finding all the target applications in the application market, the terminal device can also filter out applications with an installation volume greater than a preset installation volume, and the recommended installation list can include: the applications with an installation volume greater than the preset installation volume among all the target applications.
[0193] Exemplarily, Figure 8 a-c in Figure 4A can be the same as a-c in Figure 4A respectively, and reference can be made to the description in
[0194] Exemplarily, the target applications include Application 4 and Application 5. Referring to Figure 8 d in
[0195] the terminal device can display a recommended installation list 81 on the first interface. The recommended installation list 81 can include the identifier of Application 4, such as the name "Application 4" of Application 4, and the identifier of Application 5, such as the name "Application 5" of Application 5. Additionally, in the recommended installation list 81, the identifier of each target application can correspond to an "Install" option 82. When the user operates the "Install" option 82, the terminal device can be triggered to install the corresponding application. Exemplarily, for example, when the user operates the "Install" option 82 corresponding to Application 4, the terminal device can install Application 4.
[0196] In some embodiments, reference Fig. 9 The terminal device may include: an input monitoring module, a search module, a display module, and an application market APP. Fig. 9 , from the perspective of the internal module of the terminal device, the method for searching applications provided by the embodiment of the present application is described:
[0197] S901, for each interface, the search module obtains snapshot data of each interface.
[0198] S901 may refer to the description in S501.
[0199] S902, the display module displays the first interface.
[0200] S902 may refer to the description in S301.
[0201] S903: In response to monitoring a first operation of the user on the first interface, the input monitoring module sends characters of the target application to the search module.
[0202] S904, when the search module determines that the target application has been installed based on the characters of the target application, it searches for snapshot data of the target interface in the snapshot data of each desktop interface.
[0203] S905: The search module obtains a snapshot of the target interface from the snapshot data of the target interface.
[0204] S906: The search module adjusts the target element in the snapshot of the target interface to the first display style, and adjusts other elements to the second display style.
[0205] S907, the search module sends the adjusted snapshot of the target interface to the display module.
[0206] S908: The display module displays the adjusted snapshot of the target interface on the first interface.
[0207] S903 - S908 may refer to the description in S303 .
[0208] S909: When the search module determines, based on the characters of the target application, that the target application is not installed, the search module sends the characters of the target application to the application market.
[0209] S910, the application market searches for a target application according to the characters of the target application, and sends an identifier of the target application to a search module.
[0210] In some embodiments, after finding the target application according to the characters of the target application, the application market may directly send the identifier of the target application to the display module so that the display module can execute S912.
[0211] S911, the search module sends the identifier of the target application to the display module.
[0212] S912, the display module displays a recommended installation list on the first interface, where the recommended installation list includes an identifier of the target application.
[0213] S909-S911 may refer to the description in S704.
[0214] It should be understood that the embodiments of the present application have the same technical principles and technical effects as the above embodiments, and reference may be made to the description in the above embodiments, and the embodiments of the present application will not be repeated here.
[0215] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0216] In one embodiment, the present application also provides an electronic device, which may be the terminal device described in the above embodiment. Fig.10 , the electronic device may include: a processor 1001 (such as a CPU), and a memory 1002. The memory 1002 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory. The memory 1002 may store various instructions for completing various processing functions and implementing the method steps of the present application.
[0217] Optionally, the electronic device involved in the present application may further include: a power supply 1003, a communication bus 1004 and a communication port 1005. The above-mentioned communication port 1005 is used to realize the connection and communication between the electronic device and other peripherals. In the embodiment of the present application, the memory 1002 is used to store computer executable program code, and the program code includes instructions; when the processor 1001 executes the instruction, the instruction causes the processor 1001 of the electronic device to perform the action in the above-mentioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0218] Optionally, the electronic device involved in the present application may further include: a display screen 1006, and the display screen 1006 is used to display an interface of the electronic device.
[0219] It should be noted that the modules or components described in the above embodiments may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes, such as a controller. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0220] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0221] The term "plurality" in this article refers to two or more than two. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship; in the formula, the character " / " indicates that the previous and next associated objects are in a "division" relationship. In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0222] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.
[0223] It can be understood that in the embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Claims
1. An application search method, characterized in that: Applied to a terminal device, the method comprises: Display the first interface; Receiving a first operation of a user on the first interface, where the first operation is used to search for a target application; When the target application is installed on the terminal device, a snapshot of the target interface is displayed on the first interface, and the target interface is: the interface where the icon of the target application is located or the interface where the folder to which the icon of the target application belongs is located, the target element in the snapshot is of the first display style, and other elements in the snapshot are of the second display style, the target element is the icon of the target application and / or the icon of the folder to which the icon of the target application belongs, and the size of the snapshot is smaller than the size of the first interface.
2. The method according to claim 1, characterized in that When the icon of the target application is on a desktop interface, the target interface is the desktop interface, and the target element is the icon of the target application; or, When the icon of the target application is in a folder in the desktop interface, the target interface is the desktop interface, and the target element is the icon of the target application and / or the icon of the folder; or, When the icon of the target application is in a folder in the desktop interface, the target interface is the interface of the folder, and the target element is the icon of the target application.
3. The method according to claim 1 or 2, characterized in that: The first position in the snapshot corresponds to the icon of the target application, and after displaying the snapshot of the target interface on the first interface, the method further includes: In response to the user's operation on the first position, the target application is started.
4. The method according to claim 3, characterized in that Before starting the target application, the method further includes: According to the mapping relationship between the position and the icon in the snapshot, it is determined that the first position corresponds to the icon of the target application.
5. The method according to claim 1 or 2, characterized in that: The second position in the snapshot corresponds to an icon of a first application, and the first application is not the target application. After displaying the snapshot of the target interface on the first interface, the method further includes: In response to the user's operation on the second location, the first application is started.
6. The method according to claim 2, characterized in that When the icon of the target application is in a folder in the desktop interface, and the target interface is the desktop interface, the third position in the snapshot corresponds to the icon of the folder, and after displaying the snapshot of the target interface on the first interface, the method further includes: In response to the user's operation on the third position, displaying an interface of the folder, the interface of the folder including an icon of the target application, wherein the icon of the target application is displayed in a different style from other elements in the interface of the folder; In response to the user's operation on the icon of the target application, the target application is started.
7. The method according to claim 2, characterized in that When the icon of the target application is in a folder in the desktop interface, and the target interface is the desktop interface, the third position in the snapshot corresponds to the icon of the folder, and after displaying the snapshot of the target interface on the first interface, the method further includes: In response to the user's operation on the third position, displaying a snapshot of the interface of the folder, the snapshot of the interface of the folder including the icon of the target application, wherein the icon of the target application is displayed in a different style from other elements in the snapshot of the interface of the folder; In response to the user's operation on the icon of the target application, the target application is started.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: When the target application is not installed on the terminal device, a recommended installation list is displayed, and the recommended installation list includes an identifier of the target application.
9. The method according to any one of claims 1 to 8, characterized in that The first interface is any desktop interface or an interface of any application installed in the terminal device, and the receiving a first operation of the user on the first interface includes: receiving a trigger operation of the user on the first interface, wherein the trigger operation is used to instruct the user to trigger a search for an application; receiving a sliding operation of the user on the first interface, where the first operation includes the triggering operation and the sliding operation; After receiving the first operation of the user on the first interface, the method further includes: Identify the character corresponding to the track of the sliding operation; The target application is determined according to the character.
10. The method according to claim 9, characterized in that The character is any one of the following: the name of the target application, the first word of the name, the first letter of the first word, the first letter of the name.
11. The method according to any one of claims 1 to 8, characterized in that The first interface is a negative one screen interface, the negative one screen interface includes a search box, and receiving a first operation of the user on the first interface includes: receiving characters input by the user in the search box, wherein the first operation is that the user inputs characters in the search box; After receiving the first operation of the user on the first interface, the method further includes: The target application is determined according to the character.
12. The method according to any one of claims 1 to 11, characterized in that There are multiple target applications and one or more target interfaces.
13. The method according to claim 12, characterized in that When there are multiple target interfaces, displaying a snapshot of the target interface on the first interface includes: Displaying each target interface in a tiled form on the first interface; or, Displaying each target interface in a stacked form on the first interface; or, When the number of target interfaces is less than or equal to a first threshold, a snapshot of each target interface is displayed in a tiled form on the first interface; when the number of target interfaces is greater than the first threshold, a snapshot of each target interface is displayed in a stacked form on the first interface.
14. The method according to claim 13, characterized in that When the snapshots of each target interface are displayed in a stacked form on the first interface, the method further includes: The snapshot of the target interface is rotated every preset time.
15. The method according to claim 3 or 4, characterized in that: The terminal device includes at least one interface, the interface includes a desktop interface and an interface of a folder to which an application icon belongs, and the method further includes: Acquire snapshot data of each interface, the snapshot data comprising: a snapshot of the interface; Before displaying the snapshot of the target interface on the first interface, the method further includes: In the snapshot data of the target interface, a snapshot of the target interface is determined.
16. The method according to claim 15, characterized in that The snapshot data also includes: a startup function of an application corresponding to the element in the interface; and the starting of the target application includes: Determining a startup function of the target application in the snapshot data of the target interface; The start function of the target application is called to start the target application.
17. The method according to any one of claims 1 to 16, characterized in that The first display style and the second display style differ in at least one of the following: size, shape, color, transparency, and whether to highlight.
18. An electronic device, characterized in that: include: Processor and memory; The memory stores computer instructions; The processor executes the computer instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 17.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed, the method according to any one of claims 1 to 17 is implemented.