Resource search method, device, electronic device and readable storage medium

Through system-level detection and cross-platform search application recommendations, users' cumbersome operations and uncertain search results are solved when searching for resources, and a fast and definite resource search experience is achieved.

CN112035752BActive Publication Date: 2025-01-03NANJING VIVO SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011134110.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-21
Publication Date
2025-01-03
Estimated Expiration
2041-01-03

AI Technical Summary

Technical Problem

When searching for resources, users need to frequently switch the search platform and repeatedly enter search terms, resulting in high cumbersome operations and long search time, and uncertain search results.

Method used

Through system-level detection, after analyzing the keywords entered by the user, the preset information of recommending the second application is output, and the user is guided to select the target application for searching, and the target application is automatically controlled to search resources with the keywords entered by the user to realize cross-platform search application recommendations .

Benefits of technology

It greatly saves user time, simplifies operational steps, and improves the certainty of search results. Users do not need to manually switch applications and re-enter keywords to realize a single-shot solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112035752B_ABST
    Figure CN112035752B_ABST
Patent Text Reader

Abstract

The present application discloses a resource search method and device, which belongs to the field of computer technology. The method includes: receiving a first input of a user to a first application, the first input includes an input keyword for search; when there is no target resource matching the keyword in the first resource of the first application, in response to the first input, outputting preset information of a second application, wherein the second resource of the second application includes the target resource; receiving a second input of the user to the preset information of the second application; in response to the second input, controlling the target application in the second application to search for the target resource using the keyword as the search term. The present application eliminates the user's selection process for the search platform, saves the user's time, and the operation process is simple and fast, and the operation steps are simplified; and the second application recommended to the user for search can provide the target resource that the user needs to search, thereby further improving the certainty of the search results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and specifically relates to a resource search method, device, electronic device and readable storage medium. Background Art

[0002] Currently, various types of applications installed in electronic devices generally have a search function. Due to copyright restrictions on resources, it may be difficult for the application used by the user to provide the resource requested by the user.

[0003] For example, if a TV series named "XX" does not have the copyright to play the main film under the operator of application 1, then when a user uses application 1 to search for resources of the TV series named "XX", it is difficult for application 1 to provide the complete main film resources (i.e., target resources) of the TV series, and it may only be possible to provide resources of some video clips of the TV series "XX". Since the user does not know which platforms' APPs have the copyright for the resources he requested to search, the user can only manually switch search platforms and try to search for resources of the TV series named "XX" in the applications of each search platform one by one. Moreover, each time the user switches to a new search platform, he needs to repeatedly open the search interface of the new search platform and type the same search term to perform repeated search operations.

[0004] Obviously, when a certain resource cannot be found on the search platform, in the resource search solution in the related art, the user needs to manually switch the search platform frequently and repeatedly type the search term to search for the resource, which not only increases the complexity of the operation and the search time, but also increases the uncertainty of the search results. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a resource search method, device, electronic device and readable storage medium, which can solve the problem of high operation complexity and long search time caused by the resource search solution in the related art due to the user's need to manually switch search platforms frequently and repeatedly type in search terms to search for resources.

[0006] In order to solve the above technical problems, this application is implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a resource search method, the method comprising:

[0008] Receiving a first input from a user to a first application, wherein the first input includes a keyword input for searching;

[0009] In a case where there is no target resource matching the keyword in the first resource of the first application, outputting preset information of a second application in response to the first input, wherein the second resource of the second application includes the target resource;

[0010] receiving a second input of the user regarding the preset information of the second application, wherein the second input includes the preset information of a target application selected in the preset information of the second application;

[0011] In response to the second input, the target application is controlled to search for the target resource using the keyword as a search term.

[0012] In a second aspect, an embodiment of the present application provides a resource search device, the device comprising:

[0013] A first receiving module, configured to receive a first input from a user to a first application, wherein the first input includes a keyword input for searching;

[0014] A first response module, configured to output preset information of a second application in response to the first input if there is no target resource matching the keyword in the first resource of the first application, wherein the second resource of the second application includes the target resource;

[0015] A second receiving module, configured to receive a second input of the user on the preset information of the second application, wherein the second input includes the preset information of a target application selected in the preset information of the second application;

[0016] A second response module is configured to control the target application to search for the target resource using the keyword as a search term in response to the second input.

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

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

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

[0020] In an embodiment of the present application, through system-level detection capabilities, after detecting the keyword entered by the user for search in the first application, the system analyzes whether there is a target resource matching the keyword in the application resources that can be provided by the first application. If not, and there is a second application that can provide the target resource, the preset information of the second application is output to guide the user to select the target application in the second application to search for the target resource. In addition, in this process, the user only needs to perform a single search, and the user does not need to manually switch the application for search, nor does the user need to re-enter the keyword in the switched application to trigger the search operation. The system can automatically control the target application to initiate a search for the target resource using the keyword entered by the user in the first application as the search term. Through system-level capabilities, cross-platform search application recommendations are implemented, thereby eliminating the user's selection process for the search platform, greatly saving the user's time, and the operation process is simple and fast, optimizing the user's resource search experience, and simplifying the operation steps; and the second application recommended to the user for search can provide the target resource that the user needs to search, without the user having to frequently try different applications for resource search, thereby further improving the certainty of the search results. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a flow chart of a resource search method according to an embodiment of the present application;

[0022] Figure 2 This is one of the schematic diagrams of the search interface of application A in one embodiment of the present application;

[0023] Figure 3 This is a second schematic diagram of a search interface of application A according to an embodiment of the present application;

[0024] Figure 4 is a schematic diagram of a search result interface of application B according to an embodiment of the present application;

[0025] Figure 5 This is a third schematic diagram of a search interface of application A according to an embodiment of the present application;

[0026] Figure 6 is a block diagram of a resource search device according to an embodiment of the present application;

[0027] Figure 7 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application;

[0028] Figure 8 It is a schematic diagram of the hardware structure of an electronic device according to another embodiment of the present application. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

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

[0031] The resource search method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0032] Reference Figure 1 , shows a flow chart of a resource search method according to an embodiment of the present application, which method can be applied to a system of a resource search device, and the method can specifically include the following steps:

[0033] Step 101, receiving a first input from a user to a first application;

[0034] Wherein, the first input includes a keyword input for searching;

[0035] The first application may be any application with a search function installed in the resource search device, or may be an application in the monitoring list described in the following embodiments.

[0036] In one example, taking application A as the first application, Figure 2 A schematic diagram of a search interface 11 of application A is shown, wherein an input box 12 (i.e., a text box) and a search button 13 are displayed in the search interface 11. A user can enter a keyword for search in the input box 12, which is "XX Chuan" here. Then, the system can monitor the input box 12. If it is detected that a keyword is entered into the input box 12, i.e., "XX Chuan" here, it indicates that the user's first input for application A is received. Of course, it may also be that first, "XX Chuan" entered into the input box 12 is received, and then the user clicks on the search button 13. Figure 2The first input is triggered by pressing the search button 13 in the image. That is, the first input in the embodiment of the present application can be a search operation for the input keyword, or can be an input of a keyword by the user.

[0037] Step 102: if there is no target resource matching the keyword in the first resource of the first application, output preset information of the second application in response to the first input;

[0038] Wherein, the second resource of the second application includes the target resource;

[0039] The first resource of the first application refers to: the application resource of the first application that can be searched; the second resource of the second application refers to: the application resource of the second application that can be searched;

[0040] The "matching" of a keyword and a resource may include, but is not limited to: a matching of the keyword and the name or alias of the resource, or a semantic matching of the keyword and the content of the resource.

[0041] Optionally, the target resource matching the keyword refers to: a genuine complete resource matching the keyword, such as a complete video feature resource, rather than a certain video clip in the feature. Of course, optionally, the target resource matching the keyword may also refer to a resource of a preset size including the keyword, or a resource of a preset quality (such as high definition), or a resource of a preset type.

[0042] In addition, the type of the target resource is not limited to being the same as the resource type of the first resource of the first application. For example, if the first application is video software, and the resource type of the first resource is video type, then the type of the target resource may include but is not limited to video type, audio type, novel type, etc.

[0043] If the system detects that the first application cannot provide the target resource, the system may output preset information of a second application that can provide the target resource.

[0044] Combined with the above Figure 2 For example, after the user clicks the search button 13, the system detects that application A cannot provide the genuine complete video resources about "XX Biography", then it can be as follows Figure 3 As shown in FIG. 1 , a “Search more” control 14 associated with the second application is displayed in the search interface 11 of application A. The control may be a button or a floating window. The preset information here is the “Search more” control 14. Alternatively, Figure 5As shown, in the search interface 11 of application A, an icon 15 of application B1 and an icon 16 of application B2 are displayed, which can provide genuine and complete video resources about "XX Chuan". The second application here includes application B1 and application B2. The preset information here is the application icon of the second application, and of course it can also be other application identification information such as the name of the second application.

[0045] In addition, users can click Figure 3 , click the Search More control14 to switch to Figure 5 interface.

[0046] Optionally, Figure 5 A close icon 17 is also displayed in the figure. When the user clicks the close icon 17, Figure 5 The interface is restored to Figure 2 interface.

[0047] Step 103, receiving a second input of the user regarding the preset information of the second application, wherein the second input includes the preset information of the target application selected in the preset information of the second application;

[0048] The number of the second applications may be one or more, and the target application is a second application;

[0049] In one example, when the number of the second application is one, if Figure 3 The preset information of the second application is output in a manner as shown in FIG. 1 , and the user can trigger the second input by clicking the “Search More” control 14 to select the target application;

[0050] In another example 2, when the number of the second application is multiple, if Figure 3 The preset information of the second application is output in a manner, and the user can switch the interface to the "Search More" control 14 by clicking the "Search More" control 14. Figure 5 The search interface of application A is shown, and then the user selects an icon of a target application from two icons of second applications to select the target application.

[0051] Step 104: In response to the second input, control the target application to search for the target resource using the keyword as a search term.

[0052] In the above example 1, if the number of the second application is only one, that is, application B, then after step 103, the system can control application B to search for the target resource using "XX Chuan" as the search term, and finally present the following: Figure 4 The search result interface of application B shown in FIG. 1 shows a search result interface of application B, in which: Figure 4 The search interface 11 of application A also has an input box 22 and a search button 23 similar to those of the search interface 11 of application A.

[0053] In the above example 2, if the target application selected by the user is application B1, after step 103, the system can control application B1 to search for the target resource using "XX Chuan" as the search term, and finally present an interface showing the search results of application B1 for the target resource.

[0054] Optionally, since there are the search interface of the first application and the search result interface of the target application in the above process, after step 104, the display interface may be jumped from the search interface of the first application to the search result interface of the target application.

[0055] In an embodiment of the present application, through system-level detection capabilities, after detecting the keyword entered by the user for search in the first application, the system analyzes whether there is a target resource matching the keyword in the application resources that can be provided by the first application. If not, and there is a second application that can provide the target resource, the preset information of the second application is output to guide the user to select the target application in the second application to search for the target resource. In addition, in this process, the user only needs to perform a single search, and the user does not need to manually switch the application for search, nor does the user need to re-enter the keyword in the switched application to trigger the search operation. The system can automatically control the target application to initiate a search for the target resource using the keyword entered by the user in the first application as the search term. Through system-level capabilities, cross-platform search application recommendations are implemented, thereby eliminating the user's selection process for the search platform, greatly saving the user's time, and the operation process is simple and fast, optimizing the user's resource search experience, and simplifying the operation steps; and the second application recommended to the user for search can provide the target resource that the user needs to search, without the user having to frequently try different applications for resource search, thereby further improving the certainty of the search results.

[0056] In addition, the above process is a pure software operation, does not require hardware support, and has extremely low cost.

[0057] In addition, the scenarios covered by the embodiments of the present application may include but are not limited to film and television, novels, music, and application market. Taking the first application as an application market as an example, for example, a user searches for "M Browser" in Application Store 1, but Application Store 1 does not have "M Browser" on the shelves. At this time, the system detects and pops up a floating window with the text "Search More". The user can click on the floating window to search and download "M Browser" in Application Store 2. This application uses the system-level view control detection capability to intelligently prompt the user's search results in the application, which can prompt the user to go to a more suitable application to search for the search term. After implementation, it can greatly improve the user's search experience, shorten the search path, save user time, and improve user satisfaction with search results.

[0058] Optionally, in one embodiment, when executing step 101, a first input of a user to a first input box in a first interface of a first application may be received, wherein the first input is an input of a keyword entered by the user in the first input box;

[0059] In one example, if Figure 2 As shown, the system detects that the user has entered the keyword "XX Chuan" in the input box 12 of the search interface 11 of application A. However, since there are many applications with search functions and each application can also have at least one search interface and at least one input box for search, in order to reduce the signaling overhead of the system, the system does not need to respond to each first input detected, but only when the target association relationship between the first application, the first interface and the first input box matches the candidate association relationship in the preset list, the system will respond to the first input and output the preset information of the second application.

[0060] The preset list includes candidate association relationships among candidate applications, application interfaces, and candidate input boxes.

[0061] The number of the candidate association relationships is one or more.

[0062] For example, the system may preset a monitoring list (ie, the preset list mentioned above), indicating that the search boxes on the search pages of the applications in the list need to be monitored, and the list supports cloud control configuration.

[0063] The list includes candidate association relationships among candidate applications, application interfaces, and candidate input boxes. In the list, the application can be uniquely identified by the application package name, the application interface can be uniquely identified by the page class name, and the candidate input box can be represented by information that can identify the input box (wherein, the information that can identify the input box is detailed below); therefore, the list can include the association relationship between the application package name, the page class name, and the input box identifier.

[0064] exist Figure 2 In the example, if the search interface 11 of application A entered by the user and the target association relationship corresponding to the input box 12 that triggers the search (i.e., application A package name + class name of search interface 11 + identification information of input box 12) are a set of candidate association relationships in the system preset monitoring list, it means that the above-mentioned first input needs to be monitored by the system of the embodiment of the present application, and then, the first input will be responded to to find whether there is a second application that can provide the target resources, and output the preset information of the second application; on the contrary, if the above-mentioned target association relationship does not belong to the above-mentioned monitoring list, the system will not respond to the first input.

[0065] That is to say, the system can monitor the change of the text content (i.e., keywords) in the specified search box (input box) control on the specified search page of the specified application in the monitoring list. As long as the text content in the specified search boxes to be monitored changes, the system can respond to the first input corresponding to the changed text content.

[0066] In addition, since the system needs to output the preset information of the second application, there is a process of determining the second application.

[0067] In one example, the step of determining the second application can be completed by the server side corresponding to the above system. Each time the search term in the input box belonging to the monitoring list changes, the system will use the latest monitored search term and the package name of the application program (in the Figure 2 example, it is the package name of Application A and the search term "XX Transmission") as parameters in the request sent to the server to request the server side to obtain whether there is a second application that can process the search term and is more suitable than Application A. Among them, the server side can configure an algorithm to determine the second application.

[0068] In one embodiment, the algorithm may include the correspondence between the package name of the application and the search term. Among them, the corresponding package name and search term express that the application corresponding to the package name can provide target resources matching the search term. Therefore, the correspondence can be queried with the package name of Application A and the search term "XX Transmission" to determine whether the package name of Application A matches "XX Transmission" (such as text matching, alias matching, semantic matching, etc.). If there is no corresponding (or matching) package name of Application A and "XX Transmission" in the correspondence of the algorithm, it means that Application A cannot provide the target resources, and it is necessary to find an application other than Application A (here it is the second application) in the correspondence of the algorithm that can match "XX Transmission".

[0069] In another embodiment, the algorithm may include the mapping relationship between different applications (this correspondence can be any one of one-to-one, one-to-many, or many-to-many mapping relationships). Then, Application A can be used to find the third application (one or more applications) corresponding to Application A in the mapping relationship. Then, according to the above keywords, query whether there is a second application that matches the target resources in the application resources provided by the third application, where the third application includes the second application.

[0070] Among them, the above mapping relationship can be configured according to the type of the application. For example, applications of the same type (such as video type) are configured as mutually mapped applications. Of course, in order to make the types of target resources provided by the recommended second application more diverse (such as video, audio, novel, etc.), an application of one type can also be mapped to multiple third applications of multiple types.

[0071] In another example, the step of determining the second application can also be completed by the above system, and the above algorithm is configured in the local system of the resource search device. Therefore, the system can directly use the algorithm to obtain whether there is a second application that is more suitable than application A to process the search term.

[0072] In an embodiment of the present application, a user's first input to a first input box in a first interface of a first application can be received, wherein the first input includes a keyword for search entered in the first input box; and when the target association relationship between the first application, the first interface and the first input box matches the candidate association relationship in the preset list, in response to the first input, preset information of the second application is output; wherein the preset list includes the candidate association relationship between the candidate application, the application interface and the candidate input box. That is to say, the method of the embodiment of the present application can monitor the input of keywords into a specific input box of a specific page of a specific application, and only perform a cross-platform resource search for the search operation that needs to be monitored to determine the second application, and output the preset information of the second application that can provide the target resource. By monitoring targeted applications, pages and input boxes, the problem of excessive system signaling overhead caused by frequent monitoring of each input box of each page of each application can be avoided. While performing cross-platform search application recommendation of search results, the problem of system jamming caused by excessive system signaling overhead can be avoided.

[0073] Optionally, the information used to identify the candidate input box in the candidate association relationship (i.e., identification information of the input box) includes at least one of the following:

[0074] The control ID of the candidate input box;

[0075] The control level of the candidate input box;

[0076] The control level of the candidate input box and the control index of the candidate input box;

[0077] The parent control ID of the candidate input box;

[0078] The parent control ID of the candidate input box and the control level of the candidate input box;

[0079] The parent control ID of the candidate input box, the control level of the candidate input box, and the control index of the candidate input box.

[0080] Before explaining the various information of the above embodiments, various terms of computer interface are first defined and explained:

[0081] View control: that is, View. All application interfaces are composed of many view controls, and this combination is called a layout. Among them, the input box is a common view control. View controls are generally nested. A page (or interface) will have many view controls, so there are the concepts of parent controls and child controls. The parent control contains several child controls.

[0082] View control ID: In the application code, a unique ID is generally assigned to the view control, through which the view control can be uniquely located.

[0083] Input box control: A type of view control, EditText, which can be easily distinguished from ordinary view controls.

[0084] Page class name: Each page of all applications will have a class name path, and the page class name can be used to accurately and uniquely identify the page.

[0085] The input box positioning method can be achieved by any of the following methods 1, 2, 3 and 4:

[0086] Method 1: Using the view control ID of the input box is a relatively effective view control positioning method; that is, the information used to identify the candidate input box in the candidate association relationship includes the control ID of the candidate input box;

[0087] Method 2: View hierarchical positioning method, specifically positioning the input box control according to the nesting level of the input box control relative to the root layout and the sub-layout element index.

[0088] For example, there are multiple input boxes in a page, and different input boxes have different levels. Therefore, the input box can be identified by the level of the control. Therefore, the information used to identify the candidate input box in the candidate association relationship may include the control level of the candidate input box.

[0089] In addition, if there are multiple input boxes at one level, the indexes of different input boxes are different, and the input box can be identified by using the control level + control index method. Therefore, the information used to identify the candidate input box in the candidate association relationship may include the control level of the candidate input box and the control index of the candidate input box;

[0090] Method 3: Parent control ID positioning method, that is, using the parent control ID to identify the child control.

[0091] Specifically, the ViewID (control ID) of the input box of some applications is not sufficiently characterized. For example, some input box controls do not have a control ID. Therefore, the ViewID method cannot be used to directly locate the input box. However, the parent control of the input box has an ID, namely the ViewID. In this case, the parent control of the input box can be located first, and then the View level positioning method of method 2 can be used to locate the input box.

[0092] Therefore, the information used to identify the candidate input box in the candidate association relationship may include the parent control ID of the candidate input box, or include the parent control ID of the candidate input box and the control level of the candidate input box (the case where there is one input box under the parent control), or include the parent control ID of the candidate input box and the control level of the candidate input box and the control index of the candidate input box (that is, the case where there are multiple input boxes at the same level under the parent control).

[0093] Method 4: Recursively search for input box controls. Specifically, in general, the search page of an application will only have one input box, so you can directly start from the root layout of the search page control and recursively traverse the sub-layouts until you find an input box control. Therefore, in this case, the candidate association relationship in the monitoring list does not need to record any information about the input box, but only needs to record the package name of the application + the class name of the search page.

[0094] In an embodiment of the present application, the input box to be monitored can be identified in a variety of ways, so that the identification of the input box to be monitored can be flexibly determined based on the different layouts of the input boxes in different search interfaces of different applications, thereby improving the flexibility of input box monitoring.

[0095] Optionally, when executing the step of outputting preset information of the second application in response to the first input in step 102, in response to the first input, first, obtaining preset parameters corresponding to the first input; and then outputting preset information of the second application matching the preset parameters.

[0096] The preset parameters include at least one of the following: user identification information of a user who logs in to the first application, system information of an electronic device on which the first application is installed, and device information of the electronic device.

[0097] The logged-in user may be the same as or different from the user who triggers the first input.

[0098] With the aid of the identification information of the logged-in user, the user level corresponding to the logged-in user in the second application (eg, ordinary user, VIP user, VVIP user, etc.) can be determined.

[0099] The system information may include, but is not limited to, the type of operating system (such as Android or iOS), the version of the operating system, the screen resolution, etc.

[0100] The device information may include, but is not limited to, the device name, the device model, etc.

[0101] In addition, since the system needs to output the preset information of the second application, there is a process of determining the second application.

[0102] In this embodiment, the determined second application is not only an application that can provide the application resources including the above target resources (that is, the application has the target resources matching the keyword), but also the second application is adapted to the above preset parameters corresponding to the first input.

[0103] In an example, the step of determining the second application is completed by the server side corresponding to the above system. Each time the search term in the input box belonging to the monitoring list changes, the system will use the latest monitored search term and the package name of the application program (in Figure 2 the example, it is the package name of Application A and the search term "XX transfer") as the parameters in the request sent to the server. And in this embodiment, the parameter may further include the above preset parameters corresponding to the first input. The system sends a request carrying the parameter to the server side to request to obtain whether there is a second application that can process the search term and is more suitable than Application A. Among them, the server side can configure an algorithm to determine the second application.

[0104] In an embodiment, the algorithm may not only include the correspondence between the package name of the application described above and the search term, but may also configure corresponding parameter information for the package name of each application in the correspondence (including at least one of the following: user level, system information of the electronic device, device information of the electronic device).

[0105] For example, the server first looks at Figure 2 the parameters in the example of

[0106] For example, the first candidate applications that can provide the target resource of "XX transfer" include application B1, application B2 and application B3, and the operating system of the electronic device corresponding to the first input is the IOS system, and application B3 is only compatible with the Android system, and application B1 and application B2 are compatible with the IOS system. Therefore, the second application finally determined in this embodiment is application B1 and application B2, and does not include application B3.

[0107] In another example, the step of determining the second application can also be completed by the above system, and the above algorithm is configured in the local system of the resource search device. Therefore, the system can directly use the algorithm to obtain whether there is a second application that is more suitable than application A to process the search term. The principle is similar and will not be repeated here.

[0108] In an embodiment of the present application, when the first application used by the user to search for resources using keywords does not include the target resource, the system side can determine which second applications to recommend to the user for search based not only on whether the application can provide the target resource, but also on the identification information of the logged-in user of the first application, and / or the system information of the electronic device on which the first application is installed, and / or the device information of the electronic device, to flexibly determine the second application that can be adapted to any of the above information. For example, a second application can be customized and personally recommended based on the user's identification. For another example, a second application that is compatible with the system information of the electronic device can be recommended based on the system information of the electronic device (avoiding the problem that the recommended second application is incompatible with the system of the electronic device, resulting in the inability to use the second application for target resource search). For another example, a second application for the electronic device can be targeted and recommended based on the device information of the electronic device, thereby achieving personalized customized recommendation of the second application.

[0109] Optionally, after obtaining the preset parameters corresponding to the first input, the method according to the embodiment of the present application may further include: determining the information of the jump page of the second application (specifically, it may be a combination of the package name of the second application + the class name of the second interface in the second application for a new search + the identifier of the input box in the second interface for a new search). This step may be implemented by the above-mentioned server or by the system of the embodiment of the present application, and the execution principle is the same. The following example uses the server implementation as an example for explanation.

[0110] In the above algorithm, at least one set of jump page information can be configured for each application in the correspondence between the package name of the application and the keyword. Since an application can have one or more search interfaces, and each search interface can also have one or more search boxes, the information about the jump page for searching the same application can be one or more groups, and the information of each set of jump pages is a combination of the application package name + page class name + input box identifier. In addition, when configuring at least one set of jump page information for each application, the corresponding parameter information (which can be at least one of the three types of parameters in the above preset parameters) can be configured for each set of jump page information of each application. For example, the input box 1 of page 1 of application B1 is configured to correspond to screen resolution 1; the input box 2 of page 2 of application B1 is configured to correspond to screen resolution 2, and the screen resolution of the electronic device of the first input is screen resolution 1, then the second interface matching the preset parameters is page 1 of application B1, and the second input box matching the preset parameters is input box 1 of application B1.

[0111] Then when the step of determining the information of the jump page of the second application is implemented by the server corresponding to the system side of the embodiment of the present application, the server here uses the parameters in the received request to extract the above-mentioned preset parameters, and then selects a group of jump page information that matches the above-mentioned preset parameters from at least one group of jump page information configured for the second application (that is, for the second application, determine the second interface of the second application and the second input box in the second interface that match the preset parameters;), and then, the server returns the information of the selected group of jump pages to the system side, and the specific return information includes the package name of the second application + the class name of the second interface + the identifier of the second input box (the information used to identify the input box can refer to the detailed parameters of the above-mentioned embodiment).

[0112] Among them, when the information of the jump page of the second application, that is, the step of determining the second interface and the second input box of the second application is implemented by the system, the execution order between this step and the above-mentioned step of outputting preset information may not be restricted by this application; and if the step of determining the second interface and the second input box is implemented by the server, this step is executed before the step of outputting preset information, that is, the system will output the preset information of the second application only after receiving the information of the jump page of the second application returned by the server.

[0113] Then in an embodiment of the present application, when executing the above step 104, the target application can be controlled to start the second interface corresponding to the target application in response to the second input, and the target application can be controlled to write the keyword into the second input box corresponding to the target application in the second interface, and the target application can be controlled to search the target resource for the keyword in the second input box; optionally, the search results of the target application can be further displayed, wherein the search results include the target resource.

[0114] For example, if application B is the target application, then Figure 4 As shown, the search interface of application B is started (rendering the search interface), and then the keyword in the first input, that is, Figure 2 The "XX transfer" entered by the user into input box 12 is automatically filled in Figure 4 Then, trigger the input box 22 in the search interface of Figure 4 By clicking the search button 23 in the input box 22, application B is controlled to search the target resource for the keyword "XX Chuan" in the input box 22, and further Figure 4 The search interface displays search results including the target resource.

[0115] In an embodiment of the present application, the information of the application's jump page (including a search interface and an input box) can be configured based on parameters (including but not limited to at least one of the following: user identification, system information and device information of the electronic device), so that the second interface of the second application and the second input box in the second interface that match the preset parameters can be determined based on the preset parameters corresponding to the first input, and when controlling the target application to perform a keyword search, the keywords are filled into the second input box in the second interface of the second application to search for target resources, so that the resource search interface and the resource search box of the second application match the above-mentioned preset parameters, and the jump interface of the second application can be flexibly selected for searching target resources according to different users and different system information and device information of electronic devices.

[0116] Optionally, when executing the above step 104, in response to the second input, a second interface and a second input box matching preset parameters can be determined for the target application, wherein the preset parameters are preset parameters corresponding to the first input; then, the target application is controlled to start the second interface corresponding to the target application, and the target application is controlled to write the keyword into the second input box corresponding to the target application in the second interface, and the target application is controlled to search for the target resource for the keyword in the second input box; optionally, the search results of the target application can be further displayed, wherein the search results include the target resource.

[0117] Regarding the preset parameters corresponding to the first input in this embodiment, and the process of determining the second interface and the second input box of the target application that match the preset parameters, reference can be made to the detailed description of the above embodiments. The principles are similar and will not be repeated here.

[0118] In an embodiment of the present application, the second interface of the second application and the second input box in the second interface that match the preset parameters can be determined based on the preset parameters corresponding to the first input, and when controlling the target application to perform a keyword search, the keywords are filled into the second input box in the second interface of the second application to search for target resources, so that the resource search interface and the resource search box of the second application match the above-mentioned preset parameters, and automatic search of the search interface and automatic filling of search terms are realized, thereby improving search efficiency; and the second interface for search of the target application and the second input box for filling in search terms can be flexibly determined based on the preset parameters corresponding to the first input for different users and different system information and device information of electronic devices, thereby facilitating quick search of target resources.

[0119] Optionally, the preset parameters include at least one of the following: user identification information of a user who logs in to the first application, system information of an electronic device on which the first application is installed, and device information of the electronic device.

[0120] Optionally, in one embodiment, the application type of the second application is the same as the application type of the first application, that is, the embodiment of the present application can preferably recommend a second application of the same type as the first application to search for target resources. In this way, it can ensure that the type of search results is the resource type expected by the user, thereby improving the accuracy of the search results.

[0121] For example, if the first application is a video application, the above algorithm can configure the type of each application in the correspondence between the application package name and the keyword, so that the second application that is also a video application can be screened out to recommend to the user. In this way, when the user searches the second application with the keyword entered in the first application, it can be ensured that the target resource obtained by the search is also a video resource, which is the resource type expected by the user, thereby improving the accuracy of the search results. In this way, the user can search for resources of the same type of application for the same keyword through a single search, thereby improving the accuracy of the search.

[0122] Optionally, in another embodiment, the present application may not limit whether the application type of the first application is the same as the application type of the second application. Preferably, the second application of the same application type as the first application may be selected first, and if there is no second application of the same application type as the first application, then the second application that meets the algorithm requirements may be selected from applications of a different application type than the first application.

[0123] For example, when a user searches for a video named "XXM" in a video application A, when pushing the second application, not only the video application B that has the video copyright of the video named "XXM" can be pushed, but also the novel application C that has purchased the copyright of the novel named "XXM" can be pushed, and the music application D that has the music version of the theme song of "XXM" can be pushed, thereby realizing the ability of one-end search and full-end copyright result coverage. That is to say, although application A provides resources of type A, the recommended second application is not limited to applications of the same type as application A, but can be various types of applications that can provide various types of search results related to the search term.

[0124] Optionally, if the system determines that there are one or more more suitable applications (i.e., second applications) to process the search term, the system may Figure 3 As shown, a floating window is created in the search interface 11 of application A, such as a "Search More" control 14. The specific floating window method is not limited to Figure 3 In a manner, the above algorithm can be dynamically issued according to actual needs. Therefore, the preset information may include a floating window.

[0125] In one example, when the step of determining the second application is completed by the server, if the server-side algorithm returns an application B, then when the user clicks Figure 3 After clicking the "Search More" control 14 in the application, the system starts the following process according to the information of the jump page of application B sent by the server. Figure 4 The search interface of application B is shown, and the search term "XX Chuan" in application A is brought into Figure 4 A search is initiated in the input box 22 of the search interface of application B.

[0126] Optionally, the preset information includes a floating window associated with a second application, the number of the second application is multiple, and the second input includes a first sub-input and a second sub-input;

[0127] Then, when executing step 103, the user's first sub-input to the floating window can be first received; then, in response to the first sub-input, application identification information of multiple second applications matching the floating window can be output; then, the user's second sub-input of application identification information of multiple second applications can be received, and the second sub-input includes a target application selected from the multiple second applications.

[0128] In one example, when the step of determining the second application is completed by the server, if the server returns multiple package names of the second application to the system, when the user clicks Figure 3 After clicking the "Search More" control 14 (i.e., floating window) in the image, the floating window can be expanded a second time to present the following Figure 5 The interface shown in FIG. 1 shows a second application, where the second application includes application B1 and application B2 associated with the floating window. The application identification information is the application icon, and of course, it can also be other identification information such as the application name. Then, the user selects the application from the floating window. Figure 5 An application icon (for example, icon 16 of application 2) is selected from icon 15 of application B1 and icon 16 of application B2. The system starts the search page of the selected application based on the information of the jump page of the selected application sent by the server, and brings the search term in application A into the input box of the search page of the selected application to initiate the search.

[0129] In an embodiment of the present application, through system-level capabilities, after the system detects that a user inputs a keyword in a first application, if the system analyzes that the first application does not have a target resource that matches the keyword, but there are multiple second applications that have a target resource that matches the keyword, a floating window can be displayed in the search interface of the first application, and then, by receiving a first sub-input from the user to the floating window and outputting identification information of the multiple second applications in response to the first sub-input, and then receiving a target application selected by the user from the identification information of the multiple second applications, the target application is controlled to search for target resources that match the keyword. The embodiment of the present application implements cross-platform search application recommendations through system-level capabilities, optimizes the user search experience, and shortens the time cost of user searches.

[0130] Optionally, after step 103, if the target application selected by the user is not installed in the above-mentioned electronic device, the user can be prompted to download and install the target application. After the target application is installed, step 104 is executed. The user does not need to search and download the target application in the application store, which can further shorten the user's time cost.

[0131] It should be noted that the resource search method provided in the embodiment of the present application can be executed by a resource search device or a control module in the resource search device for executing the resource search method. In the embodiment of the present application, the resource search device provided in the embodiment of the present application is described by taking the resource search method executed by the resource search device as an example.

[0132] Reference Figure 6 , shows a block diagram of a resource search device according to an embodiment of the present application. The resource search device includes:

[0133] A first receiving module 401 is used to receive a first input from a user to a first application, wherein the first input includes a keyword input for searching;

[0134] A first response module 402 is configured to output preset information of a second application in response to the first input if there is no target resource matching the keyword in the first resource of the first application, wherein the second resource of the second application includes the target resource;

[0135] A second receiving module 403 is configured to receive a second input of the user on the preset information of the second application, wherein the second input includes the preset information of the target application selected in the preset information of the second application;

[0136] The second response module 404 is configured to control the target application to search for the target resource using the keyword as a search term in response to the second input.

[0137] Optionally, the first receiving module 401 is further configured to receive a first input from a user to a first input box in a first interface of a first application, wherein the first input is an input of a keyword entered by the user in the first input box;

[0138] The first response module 402 is further configured to output preset information of the second application in response to the first input when the target association relationship among the first application, the first interface and the first input box matches the candidate association relationship in the preset list;

[0139] The preset list includes candidate association relationships among candidate applications, application interfaces, and candidate input boxes.

[0140] Optionally, the information used to identify the candidate input box in the candidate association relationship includes at least one of the following:

[0141] The control ID of the candidate input box;

[0142] The control level of the candidate input box;

[0143] The control level of the candidate input box and the control index of the candidate input box;

[0144] The parent control ID of the candidate input box;

[0145] The parent control ID of the candidate input box and the control level of the candidate input box;

[0146] The parent control ID of the candidate input box, the control level of the candidate input box, and the control index of the candidate input box.

[0147] Optionally, the first response module 402 includes:

[0148] an acquisition submodule, configured to acquire, in response to the first input, a preset parameter corresponding to the first input, wherein the preset parameter includes at least one of the following: user identification information of a user who logs in to the first application, system information of an electronic device on which the first application is installed, and device information of the electronic device;

[0149] The output submodule is used to output the preset information of the second application matching the preset parameters.

[0150] Optionally, the second response module 404 includes:

[0151] a determination submodule, configured to determine, in response to the second input, for the target application, a second interface and a second input box that match preset parameters, wherein the preset parameters are preset parameters corresponding to the first input;

[0152] A control submodule is used to control the target application to start the second interface corresponding to the target application, and to control the target application to write the keyword into the second input box corresponding to the target application in the second interface, and to control the target application to search for the target resource for the keyword in the second input box.

[0153] Optionally, the device further comprises:

[0154] A determination module, configured to determine, for the second application, a second interface and a second input box that match the preset parameters;

[0155] The second response module 404 is also used to control the target application to start the second interface corresponding to the target application in response to the second input, and control the target application to write the keyword into the second input box corresponding to the target application in the second interface, and control the target application to search the target resource for the keyword in the second input box.

[0156] Optionally, the preset information includes a floating window, the number of the second applications is multiple, the second input includes a first sub-input and a second sub-input, and the second receiving module 403 includes:

[0157] A first receiving submodule, configured to receive a first sub-input of the user to the floating window;

[0158] A first response submodule, configured to output application identification information of a plurality of second applications matching the floating window in response to the first sub-input;

[0159] The second receiving submodule is configured to receive a second sub-input of the application identification information of the user among the plurality of second applications, wherein the second sub-input includes a target application selected from the plurality of second applications.

[0160] In an embodiment of the present application, through system-level detection capabilities, after detecting the keyword entered by the user for search in the first application, the system analyzes whether there is a target resource matching the keyword in the application resources that can be provided by the first application. If not, and there is a second application that can provide the target resource, the preset information of the second application is output to guide the user to select the target application in the second application to search for the target resource. In addition, in this process, the user only needs to perform a single search, and the user does not need to manually switch the application for search, nor does the user need to re-enter the keyword in the switched application to trigger the search operation. The system can automatically control the target application to initiate a search for the target resource using the keyword entered by the user in the first application as the search term. Through system-level capabilities, cross-platform search application recommendations are implemented, thereby eliminating the user's selection process for the search platform, greatly saving the user's time, and the operation process is simple and fast, optimizing the user's resource search experience and simplifying the operation steps; and the second application recommended to the user can provide the target resource that the user needs to search, without the user having to frequently try different applications for resource search, thereby further improving the certainty of the search results.

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

[0162] The resource search device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0163] The resource search device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0164] Alternatively, if Figure 7 As shown, an embodiment of the present application also provides an electronic device 2000, including a processor 2002, a memory 2001, and a program or instruction stored in the memory 2001 and executable on the processor 2002. When the program or instruction is executed by the processor 2002, the various processes of the above-mentioned resource search method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0166] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0167] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

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

[0169] The user input unit 1007 is used to receive a first input from a user for a first application, wherein the first input includes a keyword input for searching, and to receive a second input from the user for preset information of a second application, wherein the second input includes preset information of a target application selected in the preset information of the second application;

[0170] Processor 1010 is used to output preset information of a second application in response to the first input when there is no target resource matching the keyword in the first resource of the first application, wherein the second resource of the second application includes the target resource, and to control the target application to search for the target resource using the keyword as a search term in response to the second input.

[0171] In an embodiment of the present application, through system-level detection capabilities, after detecting the keyword entered by the user for search in the first application, the system analyzes whether there is a target resource matching the keyword in the application resources that can be provided by the first application. If not, and there is a second application that can provide the target resource, the preset information of the second application is output to guide the user to select the target application in the second application to search for the target resource. In addition, in this process, the user only needs to perform a single search, and the user does not need to manually switch the application for search, nor does the user need to re-enter the keyword in the switched application to trigger the search operation. The system can automatically control the target application to initiate a search for the target resource using the keyword entered by the user in the first application as the search term. Through system-level capabilities, cross-platform search application recommendations are implemented, thereby eliminating the user's selection process for the search platform, greatly saving the user's time, and the operation process is simple and fast, optimizing the user's resource search experience and simplifying the operation steps; and the second application recommended to the user for search can provide the target resource that the user needs to search, without the user having to frequently try different applications for resource search, thereby further improving the certainty of the search results.

[0172] Optionally, the user input unit 1007 is used to receive a first input from a user to a first input box in a first interface of a first application, wherein the first input is an input of a keyword entered by the user in the first input box;

[0173] Processor 1010, configured to output preset information of a second application in response to the first input when a target association relationship among the first application, the first interface, and the first input box matches a candidate association relationship in a preset list;

[0174] The preset list includes candidate association relationships among candidate applications, application interfaces, and candidate input boxes.

[0175] In an embodiment of the present application, a user's first input to a first input box in a first interface of a first application can be received, wherein the first input includes a keyword for search entered in the first input box; and when the target association relationship between the first application, the first interface and the first input box matches the candidate association relationship in the preset list, in response to the first input, preset information of the second application is output; wherein the preset list includes the candidate association relationship between the candidate application, the application interface and the candidate input box. That is to say, the method of the embodiment of the present application can monitor the input of keywords into a specific input box of a specific page of a specific application, and only perform a cross-platform resource search for the search operation that needs to be monitored to determine the second application, and output the preset information of the second application that can provide the target resource. By monitoring targeted applications, pages and input boxes, the problem of excessive system signaling overhead caused by frequent monitoring of the response to the first input in each input box of each page of each application can be avoided, and the problem of system jamming caused by excessive system signaling overhead can be avoided while performing cross-platform search application recommendation of search results.

[0176] Optionally, the information used to identify the candidate input box in the candidate association relationship includes at least one of the following:

[0177] The control ID of the candidate input box;

[0178] The control level of the candidate input box;

[0179] The control level of the candidate input box and the control index of the candidate input box;

[0180] The parent control ID of the candidate input box;

[0181] The parent control ID of the candidate input box and the control level of the candidate input box;

[0182] The parent control ID of the candidate input box, the control level of the candidate input box, and the control index of the candidate input box.

[0183] In an embodiment of the present application, the input box to be monitored can be identified in a variety of ways, so that the identification of the input box to be monitored can be flexibly determined based on the different layouts of the input boxes in different search interfaces of different applications, thereby improving the flexibility of input box monitoring.

[0184] Optionally, processor 1010 is used to obtain preset parameters corresponding to the first input in response to the first input, wherein the preset parameters include at least one of the following: user identification information of a logged-in user of the first application, system information of an electronic device on which the first application is installed, and device information of the electronic device, and output preset information of the second application that matches the preset parameters.

[0185] In an embodiment of the present application, when the first application used by the user to search for resources using keywords does not include the target resource, the system side can determine which second applications to recommend to the user for search based not only on whether the application can provide the target resource, but can also further determine the second application that can be compatible with any of the above information based on the identification information of the logged-in user of the first application, and / or the system information of the electronic device on which the first application is installed, and / or the device information of the electronic device, to flexibly determine. For example, a second application can be customized and personally recommended based on the user's identification. For another example, a second application that is compatible with the system information of the electronic device can be recommended based on the system information of the electronic device (avoiding the problem that the recommended second application is incompatible with the system of the electronic device, resulting in the inability to use the second application for target resource search). For another example, a second application for the electronic device can be targeted based on the device information of the electronic device to achieve personalized customized recommendation of the second application.

[0186] Optionally, processor 1010 is used to determine, in response to the second input, a second interface and a second input box that match preset parameters for the target application, wherein the preset parameters are preset parameters corresponding to the first input; control the target application to start the second interface corresponding to the target application, control the target application to write the keyword into the second input box corresponding to the target application in the second interface, and control the target application to search for the target resource for the keyword in the second input box.

[0187] In an embodiment of the present application, the second interface of the second application and the second input box in the second interface that match the preset parameters can be determined based on the preset parameters corresponding to the first input, and when controlling the target application to perform a keyword search, the keywords are filled into the second input box in the second interface of the second application to search for target resources, so that the resource search interface and the resource search box of the second application match the above-mentioned preset parameters, and automatic search of the search interface and automatic filling of search terms are realized, thereby improving search efficiency; and the second interface for search of the target application and the second input box for filling in search terms can be flexibly determined based on the preset parameters corresponding to the first input for different users and different system information and device information of electronic devices, thereby facilitating quick search of target resources.

[0188] Optionally, the preset information includes a floating window, the number of the second applications is multiple, and the second input includes a first sub-input and a second sub-input;

[0189] A user input unit 1007, configured to receive a first sub-input of the user to the floating window;

[0190] Processor 1010, configured to output application identification information of a plurality of second applications matching the floating window in response to the first sub-input;

[0191] The user input unit 1007 is used to receive a second sub-input of the user's application identification information among the plurality of second applications, where the second sub-input includes a target application selected from the plurality of second applications.

[0192] In an embodiment of the present application, through system-level capabilities, after the system detects that a user inputs a keyword in a first application, if the system analyzes that the first application does not have a target resource that matches the keyword, but there are multiple second applications that have target resources that match the keyword, a floating window can be displayed in the search interface of the first application, and then, by receiving a first sub-input from the user to the floating window and outputting identification information of the multiple second applications in response to the first sub-input, and then receiving a target application selected by the user from the identification information of the multiple second applications, the target application is controlled to search for target resources that match the keyword. The embodiment of the present application implements cross-platform search application recommendations through system-level capabilities, optimizes the user search experience, and shortens the time cost of user searches.

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

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

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

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

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

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

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

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

Claims

1. A resource search method, characterized in that: The method comprises: Receiving a first input from a user to a first application, wherein the first input includes a keyword input for searching; In a case where there is no target resource matching the keyword in the first resource of the first application, outputting preset information of a second application in response to the first input, wherein the second resource of the second application includes the target resource; receiving a second input of the user regarding the preset information of the second application, wherein the second input includes the preset information of a target application selected in the preset information of the second application; In response to the second input, controlling the target application to search for the target resource using the keyword as a search term; The receiving a first input of a user to a first application includes: Receiving a first input from a user into a first input box in a first interface of a first application, wherein the first input is an input of a keyword entered by the user into the first input box; The outputting, in response to the first input, preset information of the second application includes: When the target association relationship among the first application, the first interface and the first input box matches the candidate association relationship in the preset list, outputting preset information of the second application in response to the first input; The preset list includes candidate association relationships among candidate applications, application interfaces, and candidate input boxes.

2. The method according to claim 1, characterized in that The information used to identify the candidate input box in the candidate association relationship includes at least one of the following: The control ID of the candidate input box; The control level of the candidate input box; The control level of the candidate input box and the control index of the candidate input box; The parent control ID of the candidate input box; The parent control ID of the candidate input box and the control level of the candidate input box; The parent control ID of the candidate input box, the control level of the candidate input box, and the control index of the candidate input box.

3. The method according to claim 1, characterized in that The outputting, in response to the first input, preset information of the second application includes: In response to the first input, obtaining preset parameters corresponding to the first input, wherein the preset parameters include at least one of the following: user identification information of a user who logs in to the first application, system information of an electronic device on which the first application is installed, and device information of the electronic device; Outputting preset information of the second application matching the preset parameters.

4. The method according to claim 1, characterized in that: In response to the second input, controlling the target application to search for the target resource using the keyword as a search term comprises: In response to the second input, determining, for the target application, a second interface and a second input box that match preset parameters, wherein the preset parameters are preset parameters corresponding to the first input; Control the target application to start the second interface corresponding to the target application, control the target application to write the keyword into the second input box corresponding to the target application in the second interface, and control the target application to search the target resource for the keyword in the second input box.

5. The method according to claim 1, characterized in that The preset information includes a floating window, the number of the second applications is multiple, the second input includes a first sub-input and a second sub-input, and the receiving the second input of the user for the preset information of the second application includes: Receiving a first sub-input of the user to the floating window; In response to the first sub-input, outputting application identification information of a plurality of second applications matching the floating window; A second sub-input of application identification information of the user among the plurality of second applications is received, where the second sub-input includes a target application selected from the plurality of second applications.

6. A resource search device, characterized in that: The device comprises: A first receiving module, configured to receive a first input from a user to a first application, wherein the first input includes a keyword input for searching; A first response module, configured to output preset information of a second application in response to the first input if there is no target resource matching the keyword in the first resource of the first application, wherein the second resource of the second application includes the target resource; A second receiving module, configured to receive a second input of the user on the preset information of the second application, wherein the second input includes the preset information of a target application selected in the preset information of the second application; A second response module, configured to control the target application to search for the target resource using the keyword as a search term in response to the second input; The first receiving module is further used to receive a first input from a user to a first input box in a first interface of a first application, wherein the first input is an input of a keyword entered by the user in the first input box; The first response module is further configured to output preset information of the second application in response to the first input when the target association relationship among the first application, the first interface and the first input box matches the candidate association relationship in the preset list; The preset list includes candidate association relationships among candidate applications, application interfaces, and candidate input boxes.

7. An electronic device, characterized in that: The method comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the resource search method as described in any one of claims 1 to 5.

8. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the resource search method according to any one of claims 1 to 5 are implemented.