Interface display method and device, electronic equipment and storage medium
By entering search terms in the search box of the electronic device and obtaining and displaying target information in multiple applications, the problem of users needing to open multiple applications in sequence to obtain information is solved, improving the convenience of user experience and information comparison.
Patent Information
- Application Number
- CN202311379770.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2025-04-25
AI Technical Summary
In electronic devices, when a user needs to obtain target information from multiple applications, he needs to open each application in turn, resulting in poor user experience.
By entering a search term in the search box, the electronic device performs an interface display method, receives search terms through the search box, obtains interface content of multiple applications, stores it in a designated storage space, and obtains target information matching the search terms from the stored interface content, and finally displays target information on the display screen.
It enables users to obtain target information from multiple applications through one search, simplifying the search process, improving user experience, and facilitating users to compare the information of multiple applications.
Smart Images

Figure CN119883444A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronics, and in particular to an interface display method, device, electronic device and storage medium. Background Art
[0002] With the continuous development of electronic technology, the storage space of electronic devices is constantly increasing, and the number of applications (Application, APP) installed by users in electronic devices is also increasing. Based on this, when a user needs to obtain target information, the target information may exist in multiple APPs of the electronic device. For example, when a user needs to buy a certain product, multiple shopping apps installed in the electronic device may have the product information of the product.
[0003] At this time, if the user needs to obtain product information in each shopping app, he needs to open each shopping app in turn to obtain the product information, which results in a poor user experience. Summary of the invention
[0004] Embodiments of the present application provide an interface display method, device, electronic device, and storage medium.
[0005] According to a first aspect of an embodiment of the present application, there is provided an interface display method, which is performed by an electronic device, and the method includes:
[0006] receiving a search term via a search box;
[0007] Acquire target information matching the search term from multiple applications;
[0008] The target information is displayed on a display screen.
[0009] Optionally, acquiring target information matching the search term from a plurality of applications includes:
[0010] Obtaining interface content of each application in the plurality of applications;
[0011] Storing the interface content in a designated storage space;
[0012] Target information matching the search term is acquired from the interface content stored in the designated storage space.
[0013] Optionally, storing the interface content in a designated storage space includes:
[0014] After receiving the search words, the plurality of applications are run in the background by using a virtual screen technology, and the interface contents of the plurality of applications are written into the designated storage space;
[0015] or,
[0016] When a first candidate application among the multiple applications is run in the foreground, the application interface content of the first candidate application is written into the designated storage space.
[0017] Optionally, the method further comprises:
[0018] When the multiple applications are running in the background based on the virtual screen technology, the application interface opened by the running application is switched through the simulated input operated by the user to obtain the interface content of the running application.
[0019] Optionally, the method further comprises:
[0020] When the amount of the target information obtained from an application interface of an application reaches a first preset value, the application running in the background based on the virtual screen technology is switched.
[0021] Optionally, the application ID used when the multiple applications are run in the background based on the virtual screen technology is different from the application ID used when the multiple applications are run in the foreground based on user operations.
[0022] Optionally, acquiring target information indicated by the search term from multiple applications includes:
[0023] Determine application information based on the search term, the application information at least including an application type and / or an application function related to the search term;
[0024] Determining, from the plurality of applications of the electronic device, according to the application information, a target application that is of the same type as the application involved in the search term and / or has the application function involved in the search term;
[0025] Target information matching the search term is acquired from the target application.
[0026] Optionally, determining, from a plurality of applications, according to the application information, a target application of the same type as the application involved in the search term and / or having an application function involved in the search term includes:
[0027] Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term;
[0028] The application indicated by the first identifier is used as the target application.
[0029] Optionally, determining, from the multiple applications, according to the application information, a target application of the same type as the application involved in the search term and / or having an application function involved in the search term, includes:
[0030] Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term;
[0031] Using the application indicated by the first identifier as a second candidate application;
[0032] Displaying an application icon of the second candidate application on the display screen;
[0033] The target application is determined from the second candidate applications according to a user operation performed on the application icon.
[0034] Optionally, the method further includes:
[0035] The source information of each target information is displayed on the display interface of the target information, wherein the source information at least includes: an application identifier of the application where the target information is located.
[0036] Optionally, the source information further includes: a jump link of an application where the target information is located, and the method further includes:
[0037] When a user operation on a first jump link is detected, an application interface of an application indicated by the first jump link is displayed.
[0038] In a second aspect of an embodiment of the present application, an interface display device is provided, the device comprising:
[0039] A collection module, for receiving search terms through a search box;
[0040] An acquisition module, used for acquiring target information matching the search term from multiple applications;
[0041] The first display module is used to display the target information on a display screen.
[0042] Optionally, the acquisition module includes:
[0043] A first acquisition unit, configured to acquire interface content of each of the plurality of applications;
[0044] A storage unit, used to store the interface content in a designated storage space;
[0045] The second acquisition unit is used to acquire target information matching the search term from the interface content stored in the designated storage space.
[0046] Optionally, the storage unit is used to:
[0047] After receiving the search words, the plurality of applications are run in the background by using a virtual screen technology, and the interface contents of the plurality of applications are written into the designated storage space;
[0048] or,
[0049] When a first candidate application among the multiple applications is run in the foreground, the application interface content of the first candidate application is written into the designated storage space.
[0050] Optionally, the device further comprises:
[0051] The opening module is used to switch the application interface opened by the running application through the simulated input of the user operation when the multiple applications are running in the background based on the virtual screen technology, so as to obtain the interface content of the running application.
[0052] Optionally, the device further comprises:
[0053] The switching module is used to switch the application running in the background based on the virtual screen technology when the amount of the target information obtained from the application interface of an application reaches a first preset value.
[0054] Optionally, the application ID used when the multiple applications are run in the background based on the virtual screen technology is different from the application ID used when the multiple applications are run in the foreground based on user operations.
[0055] Optionally, the acquisition module further includes:
[0056] A first determining unit, configured to determine application information based on the search term, wherein the application information at least includes an application type and / or an application function related to the search term;
[0057] A second determining unit is used to determine, from the multiple applications of the electronic device according to the application information, a target application that is of the same type as the application involved in the search term and / or has the application function involved in the search term;
[0058] The third acquisition unit is used to acquire target information matching the search term from the target application.
[0059] Optionally, the second determining unit is configured to:
[0060] Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term;
[0061] The application indicated by the first identifier is used as the target application.
[0062] Optionally, the second determining unit is further configured to:
[0063] Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term;
[0064] Using the application indicated by the first identifier as a second candidate application;
[0065] Displaying an application icon of the second candidate application on the display screen;
[0066] The target application is determined from the second candidate applications according to a user operation performed on the application icon.
[0067] Optionally, the device further comprises:
[0068] The second display module is used to display the source information of each target information on the display interface of the target information, wherein the source information at least includes: an application identifier of the application where the target information is located.
[0069] Optionally, the source information includes: a jump link of an application where the target information is located, and the device further includes:
[0070] The third display module is used to display the application interface of the application indicated by the first jump link when a user operation on the first jump link is detected.
[0071] According to a third aspect of the present application, an electronic device is provided, including:
[0072] a memory for storing processor-executable instructions;
[0073] A processor connected to the memory;
[0074] Wherein, the processor is used to execute the interface display method as described in any one of the above items.
[0075] In a fourth aspect of an embodiment of the present application, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a computer, the computer is enabled to execute any one of the interface display methods described above.
[0076] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0077] In the embodiment of the present application, a search word can be entered in a search box to search for target information matching the search word in multiple applications installed in the electronic device, and the target information searched from multiple applications can be displayed on the display screen. Based on this, the user can obtain target information from multiple applications through a single search, which simplifies the search process and improves the user experience compared to obtaining target information in each application by sequentially entering the search word in the search boxes of different applications.
[0078] In addition, by displaying the target information searched from multiple applications on the display screen, it is convenient for users to compare the target information obtained from multiple applications, thereby further improving the user experience.
[0079] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0081] Figure 1 is a flowchart of an interface display method according to an exemplary embodiment;
[0082] Figure 2 is a flowchart of an interface display method according to another exemplary embodiment;
[0083] Figure 3 is a flowchart of an interface display method according to another exemplary embodiment;
[0084] Figure 4 is a structural schematic diagram of an application interface according to an exemplary embodiment;
[0085] Figure 5 is a structural schematic diagram of another application interface according to an exemplary embodiment;
[0086] Figure 6 is a system structure diagram related to an interface display method according to an exemplary embodiment;
[0087] Figure 7 is a structural schematic diagram of an interface display device according to another exemplary embodiment;
[0088] Figure 8 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0089] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.
[0090] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0091] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the embodiments of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at..." or "when..." or "in response to determination".
[0092] refer to Figure 1 , Figure 1 is a flow chart of an interface display method, such as Figure 1 As shown, in some implementations, the interface display method of the embodiment of the present application can be executed by an electronic device, and the method includes:
[0093] S101: receiving a search term through a search box;
[0094] S102: Acquire target information matching the search term from multiple applications;
[0095] S103: Displaying target information on a display screen.
[0096] In this embodiment, the electronic device may be a terminal device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, and a car computer that can install an APP.
[0097] The search box in the embodiment of the present application may be a global search box capable of searching any application in the electronic device, or may be a search box capable of searching some applications in the electronic device.
[0098] Exemplarily, the search box can be integrated on the negative first screen of the electronic device, where the negative first screen refers to the screen corresponding to the leftmost split screen when the main screen of the electronic device slides to the right. When the search box is located on the negative first screen, the target information displayed on the display screen can be displayed in the area below the search box on the negative first screen.
[0099] In some embodiments, the search box may be a search box provided by the operating system, and may be displayed in a pull-down bar or a pull-up bar of a system message.
[0100] In some embodiments, the electronic device may be provided with an aggregate application that can collect target information from other applications. In this case, the search box may display an application interface of the aggregate application.
[0101] In other embodiments, the search box may be a search box displayed in any application of the electronic device. It is worth noting that the search words entered into the search box will be based on the interface with the operating system so that they can be received by the operating system or aggregate application of the electronic device, thereby facilitating the execution of steps S102 and S103.
[0102] The above-mentioned multiple applications may be applications pre-associated with the search box in the electronic device, or may be all applications in the electronic device.
[0103] Exemplarily, the application pre-associated with the search box may be an application that enables the search box to obtain the search right based on the user's authorization operation.
[0104] For example, when a user needs to obtain target information in various applications, he or she may enter a search term in the search box. Based on this, the electronic device may receive the search term entered by the user in the search box, and search for target information matching the search term from applications associated with the search box installed in the electronic device, or search for target information matching the search term from all applications installed in the electronic device.
[0105] After the electronic device obtains the application information from the first application, it can immediately display the obtained target information on the display screen, and after obtaining the target information from other applications, the target information displayed on the display screen is updated. The electronic device can also display the target information after obtaining the target information from the application interfaces of all applications. The embodiment of the present application does not limit the display method of the target information.
[0106] In some embodiments, the target information mentioned above may be any information that can be obtained from an application, such as product information, commodity information, or real-time information.
[0107] Exemplarily, the target information displayed on the display screen may be original information obtained from an application interface of the application. For example, the target information displayed on the display screen may be a picture and / or text obtained from the application that matches the search term.
[0108] For example, when the search term received from the search box is a product name, the target information displayed on the display screen may be product images and product prices obtained from various shopping applications.
[0109] Exemplarily, the target information displayed on the display screen may also be information obtained by processing original information obtained from an application interface of the application.
[0110] For example, when the target information obtained from the application is a plurality of product images, product size information may be extracted from the product images, and the extracted product size information may be displayed on the display screen as the target information.
[0111] In the embodiment of the present application, a search word can be entered in a search box to search for target information matching the search word in multiple applications installed in the electronic device, and the target information searched from multiple applications can be displayed on the display screen. Based on this, the user can obtain target information from multiple applications through a single search operation, which simplifies the search process and improves the user experience compared to obtaining target information in each application by sequentially entering search words in the search boxes of different applications.
[0112] In addition, by displaying the target information searched from multiple applications on the display screen, it is convenient for users to compare the target information obtained from multiple applications, thereby further improving the user experience.
[0113] refer to Figure 2 In one embodiment, S102 includes:
[0114] S201: Obtaining interface content of each application in a plurality of applications;
[0115] S202: Storing the interface content in a designated storage space;
[0116] S203: Acquire target information matching the search term from the interface content stored in the designated storage space.
[0117] It is understandable that after receiving the search term, the electronic device can sequentially run multiple applications in the electronic device and obtain the interface content of the application interface from the multiple running applications. Afterwards, the electronic device can store the interface content obtained from the application interface of each application in the designated storage space. After storing the application interfaces of multiple applications in the designated storage space, the electronic device can search the designated storage space for target information matching the search term according to the search term.
[0118] In some embodiments, the electronic device may obtain the interface content of the main interface of the running application, or may obtain the interface content of the multi-level application interface of the application. After obtaining each interface content, the electronic device stores the obtained interface content in a designated storage space, and after storing the interface content of one application or the interface content of multiple applications in the designated storage space, searches for target information matching the search term from the interface content stored in the designated storage space.
[0119] Exemplarily, when the search term received by the electronic device is a product name, the electronic device can sequentially determine whether the product information indicated by the search term exists in the main interface of each installed application. When the electronic device determines that the product information matching the search term exists in the main interface of the application, it stores the interface content of the main interface of the application to the designated storage space. If the electronic device determines that the product information matching the search term does not exist in the main interface of the application, it determines whether the product information matching the search term exists in the next level interface of the main interface, and if so, stores the interface content of the next level interface to the designated storage space.
[0120] In some embodiments, the electronic device may pre-allocate a designated storage space for storing the interface content of the application, or may temporarily allocate a designated storage space for storing the interface content when searching for target information matching a search term from the interface content of the application.
[0121] In addition, when the electronic device searches for target information matching the search term from the interface content of the application, the size of the designated storage space temporarily allocated for storing the target information can be determined according to the number of applications. The size of the designated storage space can be positively correlated with the number of target information.
[0122] In some embodiments, the above-mentioned designated storage space may be located in the internal memory or in the external memory, which is not limited in the embodiments of the present application.
[0123] In some embodiments, S202 includes:
[0124] After receiving the search words, multiple applications are run in the background through the virtual screen technology, and the interface contents of the multiple applications are written into the designated storage space;
[0125] or,
[0126] When a first candidate application of multiple applications is run in the foreground, application interface content of the first candidate application is written into the designated storage space.
[0127] In some embodiments, after receiving the search term, the electronic device may also create a virtual screen in the operating system, and run multiple applications installed in the electronic device in sequence in the background based on the created virtual screen. In the process of running multiple applications in the background based on the virtual screen technology, the electronic device may obtain the interface content of the application interface currently opened by the application, and store the obtained interface content in the designated storage space.
[0128] In some embodiments, when the electronic device runs an application in the background based on the virtual screen, it can store the interface content of the entire application interface of the application to a designated storage space, and can also store the area with target information in the application interface to the designated storage space.
[0129] For example, refer to Figure 4 and Figure 5 When the electronic device runs the installed application in the background based on the virtual screen technology, it can obtain the currently opened application interface of the running application based on the virtual screen technology. At this time, the electronic device can search for target information matching the search term from the opened application interface, and if the target information matching the search term is found, the interface content of the application interface can be stored in the designated storage space, or the target information obtained from the application interface can be stored in the designated storage space.
[0130] in, Figure 4 and Figure 5 The box in can indicate the search granularity of the target information. That is, when the electronic device displays the application interface of the running application based on the virtual screen technology, it can divide the currently opened application interface of the running application into multiple areas, and search for target information matching the search term in units of areas. If the electronic device searches for target information matching the search term from the first area of the application interface, it can store the interface content of the entire application interface to the designated storage space, or it can store the content in the first area to the designated storage space.
[0131] It should be noted that if the electronic device obtains target information matching the search term from the application interface of the application running in the background based on the virtual screen technology, the designated storage space allocated by the above-mentioned electronic device for storing interface content may be a storage space temporarily allocated when the interface content needs to be stored.
[0132] In some embodiments, after displaying the target information, the electronic device may delete the interface content stored in the designated storage space and release the allocated designated storage space.
[0133] In some embodiments, after the electronic device completes the search for target information matching the search term in all applications based on the virtual screen technology, it can destroy the created virtual screen and recreate the virtual screen the next time it searches for target information based on a new search term.
[0134] In an embodiment of the present application, after the electronic device completes the search for target information matching the search term in all applications based on the virtual screen technology, the created virtual screen is destroyed, which can reduce the storage resources occupied by the idle virtual screen in the electronic device.
[0135] In an embodiment of the present application, the electronic device creates a virtual screen in the system and runs multiple applications installed in the electronic device in the background based on the created virtual screen. This allows the target information collection process to be performed in the background and is invisible to the user, thereby reducing the bad experience brought to the user by the frequent changes of the application interface displayed on the display screen.
[0136] In some embodiments, the first candidate application may be an application for which the search box has search permissions. The electronic device may store the application interface of the first candidate application and the search term obtained from the search box of the first candidate application in a designated storage space in correspondence with each other while the first candidate application is running in the foreground. Based on this, after receiving the search term from the search box of the negative one screen, the interface content corresponding to the received search term is obtained from the designated storage space, and then the target information matching the search term is searched from the interface content corresponding to the search term.
[0137] It should be noted that, if the designated storage space is used to store the interface content of the first candidate application running in the foreground, the designated storage space may be a pre-allocated fixed storage space.
[0138] In an embodiment of the present application, the electronic device collects the interface content of the first alternative application in advance while the first alternative application is running in the foreground. In this way, after the electronic device receives the search term from the search box, it can obtain the target information matching the search term from the interface content stored in the designated storage space, thereby improving the search effect of the target information.
[0139] In some embodiments, the method further comprises:
[0140] When multiple applications are running in the background based on the virtual screen technology, the application interface opened by the running application is switched through the simulated input operated by the user to obtain the interface content of the running application.
[0141] It can be understood that when an electronic device runs multiple installed applications in sequence in the background based on virtual screen technology, if it needs to obtain the interface content of the next level application interface of the currently running application, the electronic device can also switch the application interface of the currently running application through simulated input operated by the user.
[0142] In some embodiments, when the electronic device searches for target information that matches the search term on the application interface of an application running in the background based on the acquired search term, if the target information that matches the search term does not exist in the application interface opened based on the virtual screen technology, the electronic device can switch the currently opened application interface of the application running in the background through simulated input operated by the user, and continue to search for the target information that matches the search term from the switched application interface.
[0143] The simulated input of the user operation performed by the electronic device includes, but is not limited to, simulating a user's click operation, sliding operation, and input operation on the virtual screen.
[0144] For example, when an electronic device opens a main interface of an application based on the virtual screen technology, the electronic device can simulate a user entering a search term in a search box on the main interface of the application, and open the application interface searched by the search term in the application by simulating a user clicking a search button on the main interface. Afterwards, the electronic device can search for target information matching the search term from the opened application interface.
[0145] For another example, when there is no target information matching the search term in the current application interface of an application opened by the electronic device based on the virtual screen technology, the electronic device can also switch the current application interface of the application to the next-level application interface by simulating the user's sliding operation, and continue to search for the target information matching the search term on the next-level application interface.
[0146] For another example, if an electronic device has a tab that matches the search term in the current application interface of an application opened based on virtual screen technology, the electronic device can also open the next-level application interface of the tab by simulating the user's click operation, and continue to search the next-level application interface for target information that matches the search term.
[0147] In another embodiment, when an electronic device obtains target information from an application interface of an application opened based on virtual screen technology, it can also record the obtained target information and the user simulation operation performed on the virtual screen during the process of obtaining the target information, so that when the electronic device needs to run an application in the foreground, it can display the application interface with the target information in the foreground according to the recorded simulated input of the user operation corresponding to the target information.
[0148] In some embodiments, the method further comprises:
[0149] When the amount of target information obtained from an application interface of an application reaches a first preset value, the application running in the background based on the virtual screen technology is switched.
[0150] For example, since there are multiple applications to be searched, and there may be multiple target information matching the search term obtained from the interface content of each application, when the amount of target information obtained from one application reaches a first preset value, the operation of the application is terminated, and the next application is run based on the virtual screen technology, and target information matching the search term is continuously obtained from the next application.
[0151] The first preset value can be determined as needed, for example, according to the size of the display screen. When the size of the display screen is large, it means that more target information can be displayed on the display screen. At this time, the electronic device can set the first preset value to a larger value, for example, any value between 5 and 10. When the size of the display screen is small, it means that the amount of target information that can be displayed on the display screen is small. At this time, the electronic device can set the first preset value to a smaller value, for example, any value between 2 and 5.
[0152] In some embodiments, the application ID used when running multiple applications in the background based on the virtual screen technology is different from the application ID used when running multiple applications in the foreground based on user operations.
[0153] For example, when an application is running in the background based on the virtual screen technology, the electronic device can create a first application ID (Identity document) for the application and allocate a first memory for the running of the application. When the application is running in the foreground based on user operations, a second application ID is created for the application and a second memory is allocated for the running of the application in the foreground.
[0154] In an embodiment of the present application, when the electronic device obtains target information matching the search term from multiple applications running in the background, it may open the multi-level application interface of the application running in the background by simulating the user's click, slide or input operation. If the application ID and memory used by an application running in the foreground and in the background based on a virtual screen are the same, the previous operation record of the application when it was running in the foreground based on the user operation will be changed, affecting the user experience. Based on this, when an application is running in the background based on the virtual screen technology, the application ID is re-established for the application, which can isolate the records of the application running in the background from the records of the application running in the foreground before, thereby retaining the records generated when the user used the application before, which can further improve the user experience.
[0155] It should be noted that after the search for target information matching the search term in an application is completed, the first application ID of the application may be deleted and the first memory may be released.
[0156] refer to Figure 3 In some embodiments, S102 further includes:
[0157] S301: Determine application information based on a search term, where the application information at least includes an application type and / or an application function related to the search term;
[0158] S302: Determine, from multiple applications of the electronic device, a target application that is of the same type as the application involved in the search term and / or has the application function involved in the search term, based on the application information;
[0159] S303: Acquire target information matching the search term from the target application.
[0160] In one embodiment, each application of the electronic device may be searched based on the search term.
[0161] In the embodiment of the present application, it is considered that the target information is searched from all applications installed in the electronic device or all applications associated with the search box each time. In the case of a large number of applications, the search time may be prolonged, affecting the user experience. Therefore, after receiving the search term from the search box, the electronic device may also determine the application type that the search term may involve and / or the application function involved in the search term, and use the application of the same application type as the search term in the electronic device as the target application, or use the application with the application function involved in the search term as the target application.
[0162] For example, when the search term received from the search box is a product name, it can be determined that the application involved in the search term is a shopping application. At this time, all shopping applications in the electronic device can be used as target applications.
[0163] For another example, when the search term received from the search box is the name of a breakfast, it can be determined that the user needs to search for a breakfast shop. At this time, all meal ordering applications in the electronic device can be used as target applications.
[0164] For another example, when the search term received from the search box is address information or a building name, all map applications in the electronic device may be used as target applications.
[0165] Exemplarily, the application functions involved in the search terms received from the search box may also be determined, wherein the application functions include at least: a video playback function, a music playback function, and an instant information search function, etc.
[0166] For example, when the search term received from the search box is the title of a TV series, it can be determined that the function of the application involved in the search term is a TV series playback function. At this time, the video playback application installed in the electronic device can be used as the target application.
[0167] After determining a target application from a plurality of applications of the electronic device, the target application is started in the background, and target information is obtained from the interface content of the target application.
[0168] For example, when the determined target applications are multiple shopping applications in an electronic device, and the search term obtained from the search box is "dress", relevant information of "dress" is obtained from the multiple shopping applications installed in the electronic device, and the obtained "dress" related information is displayed on the display screen as target information.
[0169] For another example, when the determined target application is a map application in an electronic device and the search term obtained from the search box is a building name, the navigation route between the current location of the electronic device to the location of the building indicated by the building name can be used as target information, and relevant information of the searched navigation route can be displayed on the display screen.
[0170] In some embodiments, after receiving the search word from the search box, the number of applications installed in the electronic device may also be obtained. When the number of applications installed in the electronic device is greater than the second preset value, it means that the number of applications installed in the electronic device is large. At this time, the target application may be determined from multiple applications installed in the electronic device based on the application information of the search word, and then the target information matching the search word may be obtained from the target application.
[0171] When the number of applications installed in the electronic device is less than or equal to the second preset value, it means that the number of applications installed in the electronic device is small, and all applications installed in the electronic device can be used as target applications, that is, target information matching the search term is searched from all applications installed in the electronic device.
[0172] The second preset value may be set as required, for example, according to the computing performance and storage performance of the electronic device.
[0173] When the operation performance and storage performance of the electronic device are strong, the second preset value is set to a larger value; when the operation performance and storage performance of the electronic device are weak, the second preset value is set to a smaller value.
[0174] In some embodiments, S302 includes: inputting a search term into a target model to obtain a first identifier output by the target model according to an application type and / or an application function related to the search term; and using the application indicated by the first identifier as a second candidate application.
[0175] Exemplarily, the first identification can be a type identification of the application type involved in the search term. Applications installed in the electronic device can be classified. Based on this, after receiving the search term from the search box, the search term can also be input into the trained target model to obtain the type identification output by the target model according to the application type involved in the search term. After obtaining the type identification output by the target model, the same type of application indicated by the type identification output by the target model in the electronic device is used as the target application.
[0176] For example, when the target model outputs a shopping identifier based on the application type and / or application function involved in the input search term, the shopping application installed in the electronic device is used as the target application. When the target model outputs a social identifier based on the application type and / or application function involved in the input search term, the social application in the electronic device is used as the target application.
[0177] Exemplarily, the first identifier output by the target model may also be an application identifier, that is, after the search term is input into the target model, the target model may determine the target application from the applications installed in the electronic device based on the application type and / or application function involved in the search term, and output the application identifier of the target application. Based on this, the electronic device may determine the target application according to the application identifier output by the target model.
[0178] Among them, the application identifier output by the target model can be an application name or an application icon, or it can be other identification information that can uniquely identify each application installed in the electronic device, which is not limited in this embodiment of the present application.
[0179] In some embodiments, S302 further includes:
[0180] Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term;
[0181] Using the application indicated by the first identifier as a second candidate application;
[0182] Displaying an application icon of a second candidate application on the display screen;
[0183] Based on a user operation on the application icon, a target application is determined from the second candidate applications.
[0184] It is understandable that the user may not need to search for target information from all applications determined by the target model according to the search term. Therefore, the electronic device can also use the application determined by the target model according to the search term as the second candidate application, and display the application images of all second candidate applications on the display screen, so that the user can determine which second candidate applications to search for target information from. Based on this, when the electronic device detects a user operation on the application icon of the second candidate application displayed on the display screen, the second candidate application indicated by the user operation is used as the target application.
[0185] In another embodiment, the electronic device may also select an application of the same type as the application involved in the search term as the second candidate application, and / or select an application having the application function involved in the search term as the second candidate application.
[0186] When the user needs to select some of the second candidate applications as target applications, the user can perform a selection operation on the determined target application. Based on this, when the electronic device detects the user's selection operation, the second candidate application corresponding to the application icon selected by the user is used as the target application to search for target information matching the search term.
[0187] The above selection operation includes but is not limited to a click operation, a check operation or a slide operation.
[0188] For example, when the display screen displays the application icons of the second candidate application, a selection box is displayed in front of each application icon, and the second candidate application corresponding to the application icon selected by the user is used as the target application.
[0189] Exemplarily, when the display screen displays the application icons of the second candidate applications, the user's selection operation may be detected, and the second candidate applications corresponding to the application icons not selected by the user may be used as the target applications.
[0190] For example, when the display screen displays the application icons of the second candidate applications, a selection box is displayed in front of each application icon, and the application icons of the candidate applications displayed on the display screen are checked by default. If it is detected that the user cancels the check operation of the selection box of the first application icon, the first application icon is unchecked, and the second candidate application corresponding to the first application icon is disqualified as the target application, wherein the first application icon is the application icon of any second candidate application.
[0191] For example, when the electronic device displays the application icon of the second candidate application, if the application icon of the first application required by the user is not included in the application icons displayed on the display screen, the user can also perform an add operation on the first application. Accordingly, when the electronic device detects the add operation of the first application, it displays the application icon of the first application on the display screen and also uses the first application as the target application.
[0192] In an embodiment of the present application, by displaying the application icons of the second alternative applications on the display screen, the user can determine which second alternative applications to use as target applications. This can improve the accuracy of the determined target applications, thereby increasing the probability that the searched target information is the information required by the user, further improving the user experience.
[0193] In some embodiments, the implementation method of the electronic device obtaining target information matching the search term from the target application can refer to the implementation method of the above-mentioned electronic device obtaining target information matching the search term from multiple applications, and the embodiments of the present application will not be repeated here.
[0194] In some embodiments, the method further comprises:
[0195] The source information of each target information is displayed on the target information display interface, wherein the source information at least includes: an application identifier of the application where the target information is located.
[0196] From the above introduction, it can be seen that the search process of target information is carried out in the background and is invisible to the user. Based on this, the user may not know the source of the target information. Therefore, the source information of the target information can also be displayed on each target information, wherein the source information can be the application identifier of the application where the target information is located, so that the user knows the source of each target information, which can further improve the user experience.
[0197] Among them, the above-mentioned application identifier can be an application icon or an application name, or it can be other identification information that can uniquely identify different applications, which is not limited in this embodiment of the present application.
[0198] In some embodiments, the source information further includes: a jump link of the application where the target information is located, and the method further includes:
[0199] When a user operation on the first jump link is detected, an application interface of the application indicated by the first jump link is displayed.
[0200] Exemplarily, in the process of acquiring target information from the application interface of an application running based on the virtual screen technology through a simulated operation input by a user, the electronic device will also record the process of acquiring the target information. Based on this, when the display screen displays the target information, the electronic device can also display the jump link of each target information on the display screen based on the recorded process of acquiring the target information. When the electronic device detects a user operation on the first jump link, it determines the target information corresponding to the first jump link and the application where the target information is located, starts the application where the target information is located, and displays the application interface indicated by the first jump link on the display screen.
[0201] Considering that when a lot of target information is obtained, one application interface may not be able to display all the target information and the corresponding jump links. Therefore, the electronic device can display the target information and the corresponding jump links from the same application on the same interface, and display the target information and jump links from different applications in pages. It is also possible to display all the target information from different applications in one interface, and display the jump links corresponding to the target information from different applications in another interface, so as to facilitate the user to select the jump link.
[0202] In an embodiment of the present application, while displaying the target information, a jump link to the application where the target information is located is displayed on the display screen. When the user needs to browse the application interface where the target information is located, the user can directly jump to the application interface with the target information by operating the jump link corresponding to the target information, without having to search for the target information from the application, thereby further improving the user experience.
[0203] refer to Figure 6 , Figure 6 This is a system structure diagram of an interface display method provided in an embodiment of the present application. The system structure includes:
[0204] The search module 61 is used to execute the above step of receiving the search word through the search box.
[0205] The search term identification module 62 is connected to the search module 61, and is used to receive the search term sent by the search module 61, and execute the above-mentioned steps of determining application information based on the search term, and determining a target application of the same application type as the application involved in the search term from multiple applications of the electronic device based on the application information, and / or a target application having the application function involved in the search term.
[0206] The virtual screen module 63 is used to implement the functions of the above-mentioned virtual screen technology.
[0207] The analog input module 64 is used to implement the above-mentioned analog input function of user operation.
[0208] The information identification module 65 is used to execute relevant steps of acquiring target information from the interface content of the target application when the virtual screen module 63 runs the interface content of the target application.
[0209] The processing module 66 is connected to the information identification module 65 and is used to execute the above-mentioned steps of processing the target information obtained by the information identification module from the target application.
[0210] The storage module 67 is connected to the processing module 66 and is used to store target information.
[0211] The display module 68 is connected to the storage module 67 and is used to control the display screen of the electronic device to display the target information stored in the storage module 67 .
[0212] The jump module 69 is connected to the display module 68 and the analog input module 64, and is used to execute the steps of obtaining a jump link in the target application of the target information indicated by the user operation from the analog input module 64 when a user operation on the target information displayed on the display screen is detected, and to execute the steps of displaying an application interface with the target information on the display screen based on the jump link.
[0213] The present application also provides another interface display method, including:
[0214] When the user needs to search for target information, he can enter a search term in the search box. Accordingly, the electronic device can receive the search term entered by the user from the search box and classify the search term based on the search term recognition module. For example, a machine learning algorithm can be used to classify the search term, or the classification label on the application market can be directly used to determine the category to which the currently entered search term belongs, and then the target application is determined from the electronic device based on the category to which the search term belongs. For example, if it is determined that the search term received from the search box is the name of a breakfast, the catering application installed in the electronic device can be used as the target application. If the search term received from the search box is a news and information search term, the news and information application installed in the electronic device can be used as the target application.
[0215] In addition, the applications determined based on the search terms may be used as candidate applications, application icons of the candidate applications may be displayed on the display screen, and a target application may be determined from the candidate applications based on the user's selection.
[0216] For example, when the display screen displays the application icons of the second candidate applications, all the determined second candidate applications are selected as candidates for the target application by default. At this time, the user can determine whether to cancel the check operation on some of the second candidate applications, or to check the unchecked applications installed in the electronic device to determine the application as the target application.
[0217] After the target application is determined based on the user operation, a virtual screen can be created in the system, and the target applications can be sequentially run in the background based on the virtual screen, and target information matching the search term can be searched from the target applications running on the virtual screen. After the search for the previous target application is completed, the next target application to be searched can be run in the background through the virtual screen.
[0218] In addition, when the target application is running in the background based on the virtual screen, a different application ID will be created for the target application, so that the application ID used by the target application when it is running in the background based on the virtual screen is different from the application ID used when the target application is running in the foreground. This will help to make the interface and process between the target application running in the background based on the virtual screen and the target application running in the foreground based on the display screen independent, and reduce the probability of the display position and logic being tampered with while the target application is running in the background.
[0219] The recognition module will recognize the editing component and the search button (search image display), submit the search term to the target application for search by default, grab the target content matching the search term from the search results, and pass the grabbed target content to the data processing and recognition module for processing. For example, when the target information is product information, the target information includes but is not limited to price, star icon, location, distance, release time, title, sales data and other information introduction content for storage, and the evaluation star icon can also be converted into a number based on the data processing and recognition module.
[0220] The processed and converted target information is stored in the storage module. The recognition module can also directly match the label text in the target application interface with the search term, and then simulate clicking the matching label to perform a more detailed content search for the remaining search terms. The recognition module can directly identify the item to which the content belongs. The content of each item is more accurately defined, so the segmented content is relatively clear, such as Figure 4 and Figure 5 The interface and process of the original application are independent to prevent changes to the display position and logic of the original application.
[0221] The accessibility module will identify the editing components and search button (search image display), submit the keywords to the application for search by default, and grab the data of each search result item in the search results. The grabbed content is handed over to the data processing and recognition module, which stores the commonly used information including but not limited to price, star icon, location, distance, release time, title, sales data and other information introduction content, and recognizes commonly used icon information, such as converting the star rating icon into numbers. The information after processing and conversion is stored in the storage module.
[0222] The information recognition module can directly identify the label text in the application interface of the target application, determine the label that matches the search term, and then simulate the click operation on the label that matches the search term through the simulation input module to perform a more detailed content search for the search term. The information recognition module can directly identify the target information that matches the search term, and has a relatively accurate definition of the content of each item in the application interface, so the segmented content is relatively clear, such as Figure 5 and Figure 6 .
[0223] The target information obtained from the application interface is two or more. When many target information are obtained from the application interface of a target application, the first five are taken. After the search of all target applications is completed, the storage module will record multiple target information. Through a one-time loading operation, all target information stored in the storage module is displayed below the search box.
[0224] The virtual screen is deleted after the search is completed, and the application ID created when the target application is running in the background based on the virtual screen is also destroyed after the current search of the application is completed. After the acquisition of the target information in the first target application is completed, the searched target information can be immediately displayed below the search box displayed on the display screen: and after searching for new target information from subsequent target applications, the target information displayed on the display screen is updated. Due to the creation of the virtual screen, the process of acquiring and searching terms from the target application is carried out in the background and is invisible to the user. The user is always waiting for the display of the target information on the search interface, giving the user a better user experience.
[0225] The input control and recording module controls the simulated user input actions on the virtual screen, and also records the component information of the target application currently running on the virtual screen and which simulated inputs will result in the current interface of the target application. Once the target information is obtained, the search process information will also be recorded at the same time. When the target information displayed on the display is clicked by the user, this information will guide the jump action, which can be jumped through the application component information, or restored to the application page that was once searched through simulated input.
[0226] Based on the same concept, an embodiment of the present application also provides an interface display device.
[0227] It is understandable that the interface display device provided in the embodiment of the present application includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present application, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present application.
[0228] refer to Figure 7 The embodiment of the present application further provides an interface display device, the device comprising:
[0229] A collection module 701 is used to receive search terms through a search box;
[0230] An acquisition module 702 is used to acquire target information matching the search term from multiple applications of the electronic device;
[0231] The first display module 703 is used to display target information on a display screen.
[0232] Optionally, obtain a module, including:
[0233] A first acquisition unit, used to acquire the interface content of each application in the plurality of applications;
[0234] A storage unit, used to store the interface content in a designated storage space;
[0235] The second acquisition unit is used to acquire target information matching the search term from the interface content stored in the designated storage space.
[0236] Optionally, the storage unit is used to:
[0237] After receiving the search words, multiple applications are run in the background through the virtual screen technology, and the interface contents of the multiple applications are written into the designated storage space;
[0238] or,
[0239] When a first candidate application among multiple applications is run in the foreground, application interface content of the first candidate application is written into the designated storage space.
[0240] Optionally, the interface display device further includes:
[0241] The opening module is used to switch the application interface opened by the running application through the simulated input of the user operation when multiple applications are running in the background based on the virtual screen technology, so as to obtain the interface content of the running application.
[0242] Optionally, the interface display device further includes:
[0243] The switching module is used to switch the application running in the background based on the virtual screen technology when the amount of target information obtained from the application interface of an application reaches a first preset value.
[0244] Optionally, the application ID used when multiple applications are run in the background based on the virtual screen technology is different from the application ID used when multiple applications are run in the foreground based on user operations.
[0245] Optionally, the acquisition module further includes:
[0246] A first determining unit, configured to determine application information based on the search term, wherein the application information at least includes an application type and / or an application function related to the search term;
[0247] A second determining unit is used to determine, from the multiple applications of the electronic device, a target application that is of the same type as the application involved in the search term and / or has the application function involved in the search term according to the application information;
[0248] The third acquisition unit is used to acquire target information matching the search term from the target application.
[0249] Optionally, the second determining unit is configured to:
[0250] Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term;
[0251] The application indicated by the first identifier is used as the target application.
[0252] Optionally, the second determining unit is further configured to:
[0253] Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term;
[0254] Using the application indicated by the first identifier as a second candidate application;
[0255] Displaying an application icon of the second candidate application on the display screen;
[0256] The target application is determined from the second candidate applications according to a user operation performed on the application icon.
[0257] Optionally, the interface display device further includes:
[0258] The second display module is used to display the source information of each target information on the display interface of the target information, wherein the source information at least includes: an application identifier of the application where the target information is located.
[0259] Optionally, the source information further includes: a jump link of an application where the target information is located, and the device further includes:
[0260] The third display module is used to display the application interface of the application indicated by the first jump link when a user operation on the first jump link is detected.
[0261] refer to Figure 8 In an embodiment of the present application, an electronic device 800 is provided, the electronic device comprising:
[0262] Memory 804 for storing processor executable instructions;
[0263] A processor 820 connected to the memory 804;
[0264] Among them, the processor 820 is configured to execute the interface display method provided by any of the aforementioned technical solutions.
[0265] A block diagram of an electronic device 800 is shown according to an exemplary embodiment. For example, the electronic device 800 may be a terminal device such as a mobile phone, a tablet computer, a notebook computer, or a desktop computer.
[0266] refer to Figure 8 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 818 .
[0267] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0268] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0269] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.
[0270] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0271] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 818. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0272] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0273] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD biometric information sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0274] The communication component 818 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 818 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 818 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0275] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0276] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0277] An embodiment of the present application provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of a computer, the computer can execute the interface display method described in one or more of the aforementioned technical solutions.
[0278] When the processor executes the instruction, it can at least perform the following steps:
[0279] According to a first aspect of an embodiment of the present application, there is provided an interface display method, which is performed by an electronic device, and the method includes:
[0280] receiving a search term via a search box;
[0281] Acquire target information matching the search term from a plurality of applications of the electronic device;
[0282] Displays target information on the display.
[0283] Optionally, target information matching the search term is obtained from multiple applications, including:
[0284] Get the interface content of each application in multiple applications;
[0285] Store the interface content to the specified storage space;
[0286] Get target information matching the search term from the interface content stored in the specified storage space.
[0287] Optionally, the interface content is stored in a specified storage space, including:
[0288] After receiving the search words, multiple applications are run in the background through the virtual screen technology, and the interface contents of the multiple applications are written into the designated storage space;
[0289] or,
[0290] When a first candidate application of multiple applications is run in the foreground, application interface content of the first candidate application is written into the designated storage space.
[0291] Optionally, the interface display method further includes:
[0292] When multiple applications are running in the background based on the virtual screen technology, the application interface opened by the running application is switched through the simulated input operated by the user to obtain the interface content of the running application.
[0293] Optionally, the method further comprises:
[0294] When the amount of target information obtained from an application interface of an application reaches a first preset value, the application running in the background based on the virtual screen technology is switched.
[0295] Optionally, the application ID used when multiple applications are run in the background based on the virtual screen technology is different from the application ID used when multiple applications are run in the foreground based on user operations.
[0296] Optionally, acquiring target information indicated by the search term from multiple applications includes:
[0297] Determine application information based on the search term, the application information at least including an application type and / or an application function related to the search term;
[0298] Determining, from the plurality of applications of the electronic device, according to the application information, a target application that is of the same type as the application involved in the search term and / or has the application function involved in the search term;
[0299] Target information matching the search term is acquired from the target application.
[0300] Optionally, determining, based on the application information, a target application of the same type as the application involved in the search term and / or having the application function involved in the search term from the multiple applications includes:
[0301] Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term;
[0302] The application indicated by the first identifier is used as the target application.
[0303] Optionally, determining, from the multiple applications, according to the application information, a target application of the same type as the application involved in the search term and / or having an application function involved in the search term, includes:
[0304] Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term;
[0305] Using the application indicated by the first identifier as a second candidate application;
[0306] Displaying an application icon of a second candidate application on the display screen;
[0307] According to the user operation on the application icon, a target application is determined from the second candidate applications.
[0308] Optionally, the method further includes:
[0309] The source information of each target information is displayed on the target information display interface, wherein the source information at least includes: an application identifier of the application where the target information is located.
[0310] Optionally, the source information further includes: a jump link to an application where the target information is located, and the method further includes:
[0311] When a user operation on the first jump link is detected, an application interface of the application indicated by the first jump link is displayed.
[0312] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0313] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. An interface display method, characterized in that: The method comprises: receiving a search term via a search box; Acquire target information matching the search term from multiple applications; The target information is displayed on a display screen.
2. The method according to claim 1, characterized in that The acquiring target information matching the search term from a plurality of applications includes: Obtaining interface content of each application in the plurality of applications; Storing the interface content in a designated storage space; Target information matching the search term is acquired from the interface content stored in the designated storage space.
3. The method according to claim 2, characterized in that The storing the interface content to a designated storage space includes: After receiving the search words, the plurality of applications are run in the background by using a virtual screen technology, and the interface contents of the plurality of applications are written into the designated storage space; or, When a first candidate application among the multiple applications is run in the foreground, the application interface content of the first candidate application is written into the designated storage space.
4. The method according to claim 3, characterized in that The method further comprises: When the multiple applications are running in the background based on the virtual screen technology, the application interface opened by the running application is switched through the simulated input operated by the user to obtain the interface content of the running application.
5. The method according to claim 3, characterized in that: The method further comprises: When the amount of the target information obtained from an application interface of an application reaches a first preset value, the application running in the background based on the virtual screen technology is switched.
6. The method according to any one of claims 3 to 5, characterized in that The application ID used when the multiple applications are run in the background based on the virtual screen technology is different from the application ID used when the multiple applications are run in the foreground based on user operations.
7. The method according to claim 1, characterized in that The acquiring target information matching the search term from a plurality of applications includes: Determine application information based on the search term, the application information at least including an application type and / or an application function related to the search term; Determining, from the multiple applications, a target application that is of the same type as the application involved in the search term and / or has the application function involved in the search term according to the application information; Target information matching the search term is acquired from the target application.
8. The method according to claim 7, characterized in that The step of determining, from the multiple applications, based on the application information, a target application that is of the same type as the application involved in the search term and / or has the application function involved in the search term, comprises: Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term; The application indicated by the first identifier is used as the target application.
9. The method according to claim 7, characterized in that: The step of determining, from the multiple applications, based on the application information, a target application that is of the same type as the application involved in the search term and / or has the application function involved in the search term, comprises: Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term; Using the application indicated by the first identifier as a second candidate application; Displaying an application icon of the second candidate application on the display screen; The target application is determined from the second candidate applications according to a user operation performed on the application icon.
10. The method according to claim 1, characterized in that The method further comprises: The source information of each target information is displayed on the display interface of the target information, wherein the source information at least includes: an application identifier of the application where the target information is located.
11. The method according to claim 10, characterized in that The source information also includes: a jump link of the application where the target information is located. The method further includes: When a user operation on a first jump link is detected, an application interface of an application indicated by the first jump link is displayed.
12. An interface display device, characterized in that: The device comprises: A collection module, for receiving search terms through a search box; An acquisition module, used for acquiring target information matching the search term from multiple applications; The first display module is used to display the target information on a display screen.
13. The device according to claim 12, characterized in that The acquisition module comprises: A first acquisition unit, configured to acquire interface content of each of the plurality of applications; A storage unit, used to store the interface content in a designated storage space; The second acquisition unit is used to acquire target information matching the search term from the interface content stored in the designated storage space.
14. The device according to claim 13, characterized in that The storage unit is used for: After receiving the search words, the plurality of applications are run in the background by using a virtual screen technology, and the interface contents of the plurality of applications are written into the designated storage space; or, When a first candidate application among the multiple applications is run in the foreground, the application interface content of the first candidate application is written into the designated storage space.
15. The device according to claim 14, characterized in that The device also includes: The opening module is used to switch the application interface opened by the running application through the simulated input of the user operation when the multiple applications are running in the background based on the virtual screen technology, so as to obtain the interface content of the running application.
16. The device according to claim 14, characterized in that The device also includes: The switching module is used to switch the application running in the background based on the virtual screen technology when the amount of the target information obtained from the application interface of an application reaches a first preset value.
17. The device according to any one of claims 14 to 16, characterized in that The application ID used when the multiple applications are run in the background based on the virtual screen technology is different from the application ID used when the multiple applications are run in the foreground based on user operations.
18. The device according to claim 12, characterized in that The acquisition module further includes: A first determining unit, configured to determine application information based on the search term, wherein the application information at least includes an application type and / or an application function related to the search term; A second determining unit, configured to determine, from a plurality of applications, a target application that is of the same type as the application involved in the search term and / or has the application function involved in the search term, based on the application information; The third acquisition unit is used to acquire target information matching the search term from the target application.
19. The device according to claim 18, characterized in that The second determining unit is configured to: Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term; The application indicated by the first identifier is used as the target application.
20. The device according to claim 18, characterized in that The second determining unit is further configured to: Inputting the search term into a target model, obtaining a first identifier output by the target model according to an application type and / or an application function related to the search term; Using the application indicated by the first identifier as a second candidate application; Displaying an application icon of the second candidate application on the display screen; The target application is determined from the second candidate applications according to a user operation performed on the application icon.
21. The device according to claim 12, characterized in that The device further comprises: The second display module is used to display the source information of each target information on the display interface of the target information, wherein the source information at least includes: an application identifier of the application where the target information is located.
22. The device according to claim 21, characterized in that The source information also includes: a jump link of the application where the target information is located, and the device also includes: The third display module is used to display the application interface of the application indicated by the first jump link when a user operation on the first jump link is detected.
23. An electronic device, characterized in that: include: a memory for storing processor-executable instructions; A processor connected to the memory; Wherein, the processor is used to execute the interface display method as described in any one of claims 1 to 11.
24. A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a computer, enables the computer to execute the interface display method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Information search method and device
CN103995845A
Information search method and electronic equipment
CN110990679A
Search display method and device and electronic equipment
CN112099684A
Information display method and device
CN113805996A
Commodity search method and device, electronic equipment and readable storage medium
CN114510635A