Application intention response method, device, equipment, storage medium and program product
By responding to the operating system's application registry instructions in the host application client, obtaining application intention information and searching for the target applet, the problem that the host application client cannot appear in the option of opening the target file is solved, and the function expansion and user needs are fully met.
Patent Information
- Application Number
- CN202011507128.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-18
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2040-12-18
AI Technical Summary
In the prior art, when the user needs to open a specific format file, the host application client cannot appear in the option of opening the target file, resulting in the inability to fully utilize the mini program functions and lack the opportunity to meet user needs.
By responding to the operating system's application registry instructions in the host application client, obtain application intent information, search for matching target applets, and start the applet in the host application client to respond to application intent.
It expands the capability boundaries of the host application client, meets the actual application needs of users to the greatest extent, and improves the matching accuracy and user experience of the mini program.
Smart Images

Figure CN112685093B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, in particular to artificial intelligence and intelligent search technology, and specifically to a method, device, equipment, storage medium and program product for responding to application intentions. Background Art
[0002] Mini Program is a purely offline H5 application that can be run in the host application client without installation. With the continuous development of the Mini Program ecosystem, more and more applications (Application, App) are converted to Mini Programs. Therefore, the Mini Program ecosystem has gradually formed functional complementarity with App.
[0003] Generally speaking, users open mini programs in the following ways: Figure 1 As shown, that is, the user first opens the host application, and then searches for the mini-program with the required functions within the host application.
[0004] In the prior art, when a user needs to select an application client with a specific function to open a target file in the operating system, even if the mini-program in the host application client has the function of opening the target file, because the host application client itself does not have this function, the host application client will not appear in the alternative options for opening the target file, and the host application client loses the opportunity to meet the user's needs. Summary of the invention
[0005] The embodiments of the present application provide a method, apparatus, device, storage medium and program product for responding to application intent, provide a method for invoking a small program that can respond to application intent, and expand the capability boundaries of the host application client.
[0006] In a first aspect, an embodiment of the present application provides a method for responding to an application intention, which is executed by a host application client and includes:
[0007] In response to an application invocation instruction of the operating system, acquiring application intent information matching the application invocation instruction;
[0008] According to the application intent information, search for a target mini program that matches the application intent information;
[0009] The target applet is launched in the host application client, and the application intent matching the application intent information is responded to in the target applet.
[0010] In a second aspect, an embodiment of the present application further provides a method for responding to an application intention, which is executed by a server and includes:
[0011] Collect the response intent information of the mini program, and store the response intent information and the matching mini program in correspondence;
[0012] In response to the application intent information sent by the host application client, the application intent information is matched with the response intent information of each mini-program to obtain at least one candidate mini-program;
[0013] According to the order of matching degree from large to small, each candidate mini-program is formed into a candidate mini-program list, and the candidate mini-program list is fed back to the host application client.
[0014] In a third aspect, an embodiment of the present application further provides a device for responding to application intent, which is executed by a host application client and includes:
[0015] An acquisition module, configured to respond to an application invocation instruction of the operating system and acquire application intent information matching the application invocation instruction;
[0016] A search module, used to search for a target mini-program matching the application intent information according to the application intent information;
[0017] The response module is used to start the target applet in the host application client and respond to the application intent matching the application intent information in the target applet.
[0018] In a fourth aspect, an embodiment of the present application further provides a device for responding to application intentions, which is executed by a server and includes:
[0019] An information collection module, used to collect the response intention information of the mini-program, and store the response intention information and the matching mini-program in correspondence;
[0020] An intent matching module, configured to respond to application intent information sent by the host application client, match the application intent information with the response intent information of each mini-program, and obtain at least one candidate mini-program;
[0021] The feedback module is used to form a candidate mini-program list according to the order of matching degree from large to small, and feed back the candidate mini-program list to the host application client.
[0022] In a fifth aspect, an embodiment of the present application further provides an electronic device, including:
[0023] at least one processor; and
[0024] a memory communicatively connected to at least one processor; wherein,
[0025] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the method for responding to application intentions provided in any embodiment of the present application.
[0026] In a sixth aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to enable a computer to execute a method for responding to an application intention provided in any embodiment of the present application.
[0027] In a seventh aspect, an embodiment of the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for responding to application intent as described in any embodiment of the present invention.
[0028] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.
[0030] Figure 1 It is a schematic diagram of a keyword matching query in the prior art;
[0031] Figure 2 It is a schematic diagram of calling an application client in an operating system in the prior art;
[0032] Figure 3 is a schematic diagram of a method for responding to application intent in an embodiment of the present application;
[0033] Figure 4 is a schematic diagram of another method for responding to application intent in an embodiment of the present application;
[0034] Figure 5 is a schematic diagram of a method for invoking a mini-program in response to an application intention in an embodiment of the present application;
[0035] Figure 6 is a schematic diagram of another method for responding to application intent in an embodiment of the present application;
[0036] Figure 7 is a schematic diagram of another method for responding to application intent in an embodiment of the present application;
[0037] Figure 8 is a structural schematic diagram of a device for responding to application intent in an embodiment of the present application;
[0038] Fig. 9 is a structural schematic diagram of another device for responding to application intentions in an embodiment of the present application;
[0039] Fig.10 It is a block diagram of an electronic device used to implement the method for responding to the application intention of an embodiment of the present application. DETAILED DESCRIPTION
[0040] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0041] In the prior art, such as Figure 2 As shown, when a user needs to open a PDF file in the operating system, he can select the opening method to call out all the application clients installed in the operating system that can open the PDF file. At this time, if a host application client itself does not have the function of opening the PDF file, even if its internal applet can open the PDF file, the host application client will not appear in the alternative options for opening the PDF file, so the host application client lacks the opportunity to meet the user's needs. In particular, when all the application clients installed in the operating system cannot open the PDF file, the user may need to download a new application client separately to meet the user's application needs, which not only consumes the user's time and traffic, increases the burden on the operating system, but also does not fully utilize the functions of the applet of the host application client.
[0042] The technical solution of the embodiment of the present application utilizes the mini-program ecosystem to expand the capabilities of the host application client, expands the capability boundary of the host application client, and satisfies the user's actual application needs to the greatest extent with the minimum use of the application client in the operating system.
[0043] Figure 3 This is a schematic diagram of a method for responding to application intent in an embodiment of the present application. The technical solution of this embodiment is applicable to the case where a corresponding applet in a host application client is called up based on application intent. This method can be executed by an application intent response device, which can be implemented in software and / or hardware, and can generally be integrated in the host application client and used in conjunction with a server for implementing host application functions. The method of this embodiment specifically includes the following steps:
[0044] Step 310: In response to the application invocation instruction of the operating system, obtain application intent information matching the application invocation instruction.
[0045] The application invocation instruction refers to an instruction that triggers the host application client in the operating system and instructs the host application client to satisfy an application invocation intention that matches the application invocation instruction.
[0046] In this embodiment, the application invocation instruction is generated by the operating system based on the user's application intention. For example, when the user wants to open a file A of a specific format within the operating system (i.e., outside the host application client), the operating system will provide the user with a list of all application clients that can open the file A (opening method list). If the user selects a host application client in the list, the operating system will send a matching application invocation instruction to the host application client, triggering the host application client to open the file A.
[0047] Correspondingly, after the host application client is triggered by the application call-up instruction of the operating system, the matching application intent information can be extracted from the application call-up instruction. That is, in response to the application call-up instruction of the operating system, the application call-up instruction can be analyzed and the application intent information that matches the application call-up instruction can be determined according to the relevant call-up parameters in the instruction, that is, the user's mini-program call-up intention can be determined.
[0048] In this embodiment, a mapping relationship may be established in advance between the application invocation instruction and the application intent information, so that, in response to the application invocation instruction of the operating system, the mapping relationship is directly queried locally to obtain the application intent information matching the application invocation instruction.
[0049] Step 320: According to the application intent information, search for a target mini-program that matches the application intent information.
[0050] In this embodiment, the mini program refers to a mini program that is parasitic on an application program and can supplement the functions of the application program. For example, the XX cloud disk mini program can provide the cloud disk sharing function for the application program, and the XX travel mini program can provide the taxi travel function for the application program.
[0051] The method of searching for the target applet that matches the application intent information may be a local search or a server search. Accordingly, the target applet obtained by the search may be a applet stored locally by the host application client, or a applet downloaded from the server by the host application client.
[0052] In this embodiment, although the mini program does not need to be installed before running, it must be downloaded to the host application client. Therefore, after obtaining the application intent information, you can first search locally whether there is a target mini program that matches the application intent information based on the application intent information. If it exists, there is no need to download the target mini program, and it can be directly called up for use; if it does not exist, you need to download the target mini program that matches the application intent information from the server to the local computer, so as to complete the corresponding mini program calling operation later.
[0053] Step 330: Start the target applet in the host application client, and respond to the application intent that matches the application intent information in the target applet.
[0054] In this embodiment, by starting the target applet in the host application client, the specified function can be provided to the user to respond to the user's application intention. For example, by starting the PDF reader applet in the host application client, the host application client can provide the user with the function of opening a PDF file, thereby opening the PDF file specified by the user to meet the user's needs.
[0055] In this embodiment, for certain functions required by users, when the host application client cannot provide these functions, the mini program ecosystem can be used to expand the capabilities of the host application client. For example, the host application client can use the internal parasitic XX bank mini program to provide payment functions; use the XX network disk mini program downloaded from the server to provide network disk sharing functions; use the PDF conversion tool mini program to convert PDF files to Word files, etc.
[0056] The technical solution of the embodiment of the present application is that the host application client obtains application intent information that matches the application invocation instruction by responding to the application invocation instruction of the operating system; searches for a target applet that matches the application intent information based on the application intent information; starts the target applet in the host application client, and responds to the application intent that matches the application intent information in the target applet, which solves the problem in the prior art that the functions of the applet of the host application client cannot be fully utilized, provides a method for invoking the applet that can respond to application intent, and expands the capability boundary of the host application client.
[0057] Figure 4 This is a schematic diagram of another method for responding to application intent in an embodiment of the present application. This embodiment further refines each step based on the above embodiment. Figure 4 A method for responding to an application intention provided in an embodiment of the present application is described, comprising the following steps:
[0058] Step 410: pre-register a general call-up behavior list with the operating system.
[0059] Among them, each general invocation behavior in the general invocation behavior list is associated with the application intent responded to by each mini-program carried in the host application client.
[0060] In this embodiment, the general invocation behavior refers to the functions that the host application client reports to the operating system that it can satisfy, such as opening files of a set type, web browsing, and information sharing. Figure 5As shown, in order to respond to the user's call-up intention within the operating system, the user needs to register a general call-up behavior list with the operating system when installing the host application client into the operating system. That is, the list of functions that the host application client can provide is registered within the operating system, so that when the user has demand for functions that the host application client can satisfy, the operating system will display the host application client in the opening method list and provide it for the user to choose, thereby giving the host application client the opportunity to meet the user's needs.
[0061] Among them, the functions that the host application client can provide may include functions that the host client itself can satisfy, as well as functions that the mini-program of the host application client can provide.
[0062] In this embodiment, the general call-up behavior list includes at least one general call-up behavior, such as opening a PDF file, opening a video file, etc. Each general call-up behavior matches at least one applet of the host application client. For example, opening a PDF file can match XX PDF reader, MM PDF reader, XX network disk, and WPS applet in the host application client. In order to facilitate the determination of the applet that implements each general call-up behavior, the application intent to which the corresponding applet responds can be associated with each general call-up behavior.
[0063] Step 420: In response to the application invocation instruction of the operating system, obtain application intent information matching the application invocation instruction.
[0064] In this embodiment, Figure 5 As shown, when the user initiates a mini-program call intention to the host application client, that is, the user wants to obtain the target function in the operating system, and the user selects the host application client in the opening method list provided by the operating system, the host application client will receive the application call instruction sent by the operating system. By processing the application call instruction, that is, obtaining the relevant call parameters in the application call instruction, or querying the mapping relationship between the application call instruction and the application intention information, it is determined that the application intention information matching the application call instruction is the operating system's intention for the host application client to provide the user with the target function, for example, to let the host application client open the PDF file specified by the user.
[0065] Step 430: According to the application intent information, search for a target applet that matches the application intent information.
[0066] In this embodiment, Figure 5As shown, after determining the user's application intent, you can first search locally to see if there is a target applet that can respond to the application intent information. If it exists, you can directly call up the target applet for use; if it does not exist, you need to download the target applet that matches the application intent information from the server for local use.
[0067] Optionally, searching for a target mini-program that matches the application intent information based on the application intent information may include: comparing the response intent information of each locally stored mini-program with the application intent information to determine whether there is at least one local mini-program that matches the application intent information, the response intent information being sent by the server to the host application client; if so, determining the target mini-program among the local mini-programs; if not, sending the application intent information to the server, and receiving a list of alternative mini-programs that match the application intent information from the server; and determining the target mini-program in the list of alternative mini-programs.
[0068] In this embodiment, the host application client pre-stores the response intent information sent by the server that matches each mini-program, so that after determining the application intent information, it can compare the response intent information of each mini-program stored locally with the application intent information to determine whether there is a local mini-program matching the application intent information.
[0069] If so, a target mini program may be selected from the matching local mini programs as the target mini program. The target mini program may be selected randomly from the matching mini programs, or may be selected based on the user's preference for the matching mini program or the frequency of use, or may be selected based on other factors.
[0070] If there is no local applet that can match the application intent information, the application intent information needs to be sent to the server to obtain a list of candidate applet that matches the application intent information from the server, and then select one from at least one candidate applet included in the candidate applet list as the target applet.
[0071] Among them, after obtaining the list of alternative mini-programs matching the application intent information from the server, the application intent information can be used as the primary key and the list of alternative mini-programs can be stored locally as a value, so that the next time the application intent is initiated, the target mini-program matching the application intent can be directly searched locally.
[0072] Optionally, determining the target mini-program in the list of candidate mini-programs may include: determining the first candidate mini-program in the list of candidate mini-programs as the target mini-program; or displaying the list of candidate mini-programs to the user, and determining the candidate mini-program selected by the user as the target mini-program.
[0073] In this embodiment, when the server retrieves multiple candidate applets that can respond to application intent information, it will prioritize each candidate applet according to the degree of match between each candidate applet and the application intent information, and generate a list of candidate applets in descending order of priority and feed it back to the host application client. Therefore, the host application client can directly use the first candidate applet in the candidate applet list, that is, the candidate applet with the highest priority, as the target applet. Alternatively, the candidate applet list can be displayed to the user in the form of a pop-up dialog box, and the target applet can be determined based on the user's selection.
[0074] Optionally, while sending application intent information to the server, it can also include: sending real-time geographic location information, and / or device description information that matches the host application client to the server; the device description information includes: user account information, and / or device identification information; wherein the real-time geographic location information is used by the server to assist in matching the mini-program, and the device description information is used by the server to substitute information into each alternative mini-program after determining the list of alternative mini-programs.
[0075] In this embodiment, when requesting a mini-program that can respond to application intent information from the server, in order to facilitate more accurate service provision, the host application client may, in addition to sending application intent information to the server, also simultaneously send at least one of the real-time geographic location information, user account information, and device identification information to the server, so that the server can more accurately search for alternative mini-programs that match the application intent based on the real-time geographic location information.
[0076] For example, the application intent information sent by the host application client to the server is to purchase subway tickets, and the current geographical location is Tianjin. When the server searches for alternative mini-programs, it can further filter out alternative mini-programs that can purchase subway tickets in Tianjin from the mini-programs that can purchase subway tickets based on the geographical location.
[0077] The user account information and device identification information can enable the server to provide the above information to each candidate mini program after obtaining a matching candidate mini program, so that each candidate mini program can provide more accurate query information to the user after being called up. For example, order information associated with the user account information or device identification information.
[0078] Step 440: Start the target applet in the host application client, and respond to the application intent that matches the application intent information in the target applet.
[0079] Optionally, the application intent information is an intention to open a target document of a set format; wherein, responding to an application intent that matches the application intent information within the target applet may include: opening a target document that matches the application intent information within the target applet.
[0080] Exemplarily, the application intent information may be to let the host application client open PDF file A. After the host application client determines the target applet that can open the PDF file, for example, the XX PDF reader applet, it may start the XX PDF reader applet and open PDF file A in the XX PDF reader applet to meet the user's needs.
[0081] Of course, application intent information is not limited to the intention to open a target document in a set format, but can also be other intent information that can meet user needs, such as the intention to open a target audio or video in a specified format, or the intention to pay for a target order.
[0082] Optionally, it may also include: when the host application client is in an activated state, in response to application intent search information input in the search box of the host application client, searching for at least one search applet that matches the application intent search information; providing each search applet for user display; and in response to a selected target search applet, starting the target search applet in the host application client.
[0083] In this example, in addition to calling up the mini-program within the operating system, the user can also call up the mini-program that can provide the specified function within the host application client. In order to respond to the internal call of the host application client, the application intent information that each mini-program can respond to, which has been obtained from the server, will be stored locally. Therefore, when the user enters the application intent search information in the search box of the host application client, at least one search mini-program that matches the application intent search information can be obtained from the local search, and each search mini-program can be displayed to the user to obtain the target search mini-program selected by the user, and then the target search mini-program can be called up in the host application client to meet the user's needs.
[0084] In the prior art, users can only call up a mini program by entering a keyword, such as Figure 1 As shown, the name of the mini-program package must include the specified keywords, which is not a good experience for developers and users, and the matching accuracy of the mini-program is not high. This embodiment implements a mini-program invocation method based on application intent, so that the mini-program can be invoked without keywords, and the mini-program package name does not need to include the specified keywords to be matched, thereby improving the matching accuracy of the mini-program, expanding the search scope of the mini-program, and enhancing the user's search experience for the mini-program.
[0085] In this embodiment, in order to improve the user experience, an application intent preference management page may also be provided to the user, so that the user can manage the preferred options for the target mini-program to be called up for different application intent information.
[0086] According to the technical solution of the embodiment of the present application, the host application client obtains application intent information matching the application invocation instruction by responding to the application invocation instruction of the operating system; searches for a target applet matching the application intent information based on the application intent information; starts the target applet in the host application client, and responds to the application intent matching the application intent information in the target applet, which solves the problem that the functions of the applet of the host application client are not fully utilized in the prior art, provides a method for invoking applet that can respond to application intent, expands the capabilities of the host application client by utilizing the applet ecosystem, expands the capability boundaries of the host application client, and satisfies the actual application needs of users to the greatest extent with the least utilization of the application client in the operating system.
[0087] Figure 6 This is a schematic diagram of another method for responding to application intent in an embodiment of the present application. The technical solution of this embodiment is applicable to the case where a list of mini-programs matching application intent is provided to a host application client. This method can be executed by an application intent response device, which can be implemented in software and / or hardware, and can generally be integrated in a server for implementing host application functions and used in conjunction with a host application client. The method of this embodiment specifically includes the following steps:
[0088] Step 610: Collect the response intention information of the mini-program, and store the response intention information and the matching mini-program in correspondence.
[0089] In this embodiment, in order to accurately search for candidate mini-programs when the host application client requests to obtain a list of candidate mini-programs matching the application intent information, the server needs to collect the response intent information of each mini-program, and can use the response intent information as a keyword and store the mini-programs matching the response intent information as a value. For example, the response intent information "open and edit PDF files" can be stored in correspondence with the XX PDF reader mini-program.
[0090] Step 620: In response to the application intent information sent by the host application client, the application intent information is matched with the response intent information of each mini-program to obtain at least one candidate mini-program.
[0091] In this embodiment, after receiving the application intent information sent by the host application client, the application intent information can be compared with the response intent information of each mini-program stored locally, and the mini-program corresponding to the response intent information with a higher similarity to the application intent information can be selected as an alternative mini-program.
[0092] Step 630: According to the order of matching degree from large to small, the candidate mini-programs are organized into a candidate mini-program list, and the candidate mini-program list is fed back to the host application client.
[0093] In this embodiment, in order to facilitate the host application client to determine the matching program between each candidate mini-program and the application intent information, the candidate mini-programs can be sorted in order from large to small matching degree, and a list of candidate mini-programs can be generated and fed back to the host application client.
[0094] According to the technical solution of the embodiment of the present application, the server collects the response intent information of the mini-programs, and stores the response intent information and the matching mini-programs in correspondence; in response to the application intent information sent by the host application client, the server matches the application intent information with the response intent information of each mini-program to obtain at least one candidate mini-program; according to the order of matching degree from large to small, each candidate mini-program is formed into a candidate mini-program list, and the candidate mini-program list is fed back to the host application client, which solves the problem in the prior art that the functions of the mini-programs of the host application client cannot be fully utilized. By providing the host application client with a list of mini-programs that match the application intent, a method for calling up mini-programs that can respond to the application intent is provided, thereby expanding the capability boundary of the host application client.
[0095] Figure 7 This is a schematic diagram of another method for responding to application intent in an embodiment of the present application. This embodiment further refines each step based on the above embodiment. Figure 7 Another method for responding to application intent provided in an embodiment of the present application is described, comprising the following steps:
[0096] Step 710: Collect the response intention information of the mini-program, and store the response intention information and the matching mini-program in correspondence.
[0097] In this embodiment, Figure 5 As shown, there are two ways to collect the response intent information of the mini program, one is to collect it through the mini program installation package, and the other is to collect it through the mini program material information. The response intent information can be used as a keyword, and the mini program matching the response intent information can be stored as a value.
[0098] Optionally, collecting the response intent information of the mini program may include: obtaining the mini program installation package reported by the mini program developer, and parsing the response intent information corresponding to the mini program in the global configuration file in the mini program installation package; and / or obtaining the mini program material information reported by the mini program developer, and extracting the response intent information corresponding to the mini program from the mini program material information.
[0099] In this embodiment, the server can obtain the mini-program installation package reported by the mini-program developer, use the JSON format file app.json described in a static manner in the mini-program installation package as the global configuration file, and obtain the response intent information corresponding to the mini-program by parsing the global configuration file. Alternatively, the server can also obtain the mini-program material information reported by the mini-program developer on the developer platform, such as the short video recommended to the user in the player mini-program, and extract the response intent information corresponding to the mini-program added by the developer in the mini-program material information, for example, the video file can be opened.
[0100] In this embodiment, by collecting the response intention information of each mini-program, the server can search for matching alternative mini-programs based on the user's application intention, which solves the problem in the prior art that the server can only determine the alternative mini-programs by matching keywords with the names of each mini-program package, resulting in poor matching of the alternative mini-programs and inability to accurately meet the user's mini-program needs. This improves the matching accuracy of mini-programs and expands the search range of mini-programs.
[0101] Step 720: In response to the application intent information sent by the host application client, the application intent information is matched with the response intent information of each mini-program to obtain at least one candidate mini-program.
[0102] Optionally, in response to application intent information sent by the host application client, matching the application intent information with the response intent information of each mini-program to obtain at least one alternative mini-program may include: in response to application intent information and real-time geographic location information sent by the host application client, matching the application intent information and real-time geographic location information with the response intent information of each mini-program to obtain at least one alternative mini-program.
[0103] In this embodiment, if the real-time geographic location information sent by the host application client is received, the server needs to more accurately search for alternative mini-programs that match the application intent information based on both the application intent information and the real-time geographic location information. For example, if the application intent information received by the server is to buy subway tickets, and the real-time geographic location is Tianjin, when searching for alternative mini-programs, the server can further filter out the alternative mini-programs that can buy subway tickets in Tianjin from the mini-programs that can buy subway tickets based on the real-time geographic location information, or directly use "buy subway tickets in Tianjin" as the application intent information to search for alternative mini-programs that match the application intent information.
[0104] Step 730: According to the order of matching degree from large to small, the candidate mini-programs are organized into a candidate mini-program list, and the candidate mini-program list is fed back to the host application client.
[0105] Optionally, after forming an alternative mini-program list according to the order of matching degree from large to small, it may also include: responding to the device description information sent by the host application client, substituting the device description information into each alternative mini-program in the alternative mini-program list; wherein the device description information includes: user account information, and / or device identification information.
[0106] In this embodiment, if user account information and / or device identification information is received from the host application client, after generating a list of alternative mini-programs, the user account information and / or device identification information can be provided to each alternative mini-program, so that after each alternative mini-program is called up, more accurate query information can be provided to the user, for example, order information associated with the user account information or device identification information.
[0107] According to the technical solution of the embodiment of the present application, the server collects the response intention information of the mini-program and stores the response intention information and the matching mini-program in correspondence; in response to the application intention information sent by the host application client, the server matches the application intention information with the response intention information of each mini-program to obtain at least one candidate mini-program; according to the order of matching degree from large to small, each candidate mini-program is formed into a candidate mini-program list, and the candidate mini-program list is fed back to the host application client, which solves the problem that the functions of the mini-programs of the host application client are not fully utilized in the prior art. By providing the host application client with a list of mini-programs that match the application intention, a method for calling up the mini-programs that can respond to the application intention is provided, and the mini-program ecosystem is used to expand the capabilities of the host application client, thereby expanding the capability boundaries of the host application client, and minimizing the use of the application client in the operating system to meet the user's actual application needs to the greatest extent.
[0108] Figure 8 8 is a schematic diagram of the structure of a device for responding to application intent in an embodiment of the present application. This embodiment is applicable to the case where a corresponding applet is called up based on application intent. The device can be implemented by software and / or hardware, and can generally be integrated in a host application client and used in conjunction with a server for implementing host application functions. The device for responding to application intent includes: an acquisition module 810, a search module 820, and a response module 830.
[0109] An acquisition module 810 is used to respond to an application invocation instruction of the operating system and acquire application intent information matching the application invocation instruction;
[0110] A search module 820 is used to search for a target applet matching the application intent information according to the application intent information;
[0111] The response module 830 is used to start the target applet in the host application client and respond to the application intent matching the application intent information in the target applet.
[0112] The technical solution of the embodiment of the present application is that the host application client obtains application intent information that matches the application invocation instruction by responding to the application invocation instruction of the operating system; searches for a target applet that matches the application intent information based on the application intent information; starts the target applet in the host application client, and responds to the application intent that matches the application intent information in the target applet, which solves the problem in the prior art that the functions of the applet of the host application client are not fully utilized, provides a method for invoking the applet that can respond to application intent, and expands the capability boundary of the host application client.
[0113] Optionally, also include:
[0114] A registration module, used for pre-registering a general call-up behavior list with the operating system before obtaining application intention information provided by the operating system in response to a call-up execution instruction of the operating system;
[0115] Among them, each general invocation behavior in the general invocation behavior list is associated with the application intent responded to by each mini-program carried in the host application client.
[0116] Optionally, the search module 820 includes:
[0117] A judgment unit, used to compare the response intent information of each mini-program stored locally with the application intent information, and judge whether there is at least one local mini-program matching the application intent information, wherein the response intent information is sent by the server to the host application client;
[0118] A first determination unit, configured to determine a target applet in each local applet if there is at least one local applet matching the application intent information;
[0119] A sending unit, configured to send the application intent information to a server if there is no at least one local applet matching the application intent information, and receive a list of candidate applet matching the application intent information fed back by the server;
[0120] The second determining unit is used to determine a target mini-program in the candidate mini-program list.
[0121] Optionally, the second determining unit is specifically configured to:
[0122] Determine the first candidate mini program in the candidate mini program list as the target mini program; or
[0123] The list of candidate mini-programs is displayed to the user, and the candidate mini-program selected by the user is determined as the target mini-program.
[0124] Optionally, the sending unit is further configured to:
[0125] When the application intent information is sent to the server, the real-time geographic location information and / or the device description information matching the host application client is sent to the server; the device description information includes: user account information and / or device identification information;
[0126] Among them, the real-time geographic location information is used by the server to assist in matching the mini-programs, and the device description information is used by the server to substitute information into each candidate mini-program after determining the list of candidate mini-programs.
[0127] Optionally, also include:
[0128] A second response module is used to search for at least one search applet matching the application intent search information in response to application intent search information input in the search box of the host application client when the host application client is in an activated state;
[0129] Provide each search applet for user display;
[0130] In response to the selected target search applet, the target search applet is launched within the host application client.
[0131] Optionally, the application intent information is an intention to open a target document of a set format; wherein the response module 830 is specifically used to: open the target document matching the application intent information within the target applet.
[0132] The application intent response device provided in the embodiment of the present application can execute the application intent response method applied to the host application client provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
[0133] Fig. 9 9 is a schematic diagram of the structure of another application intent response device of an embodiment of the present application. This embodiment is applicable to the case where a list of mini-programs matching the application intent is provided to the host application client. The device can be implemented by software and / or hardware, and can generally be integrated in a server for implementing the host application function and used in conjunction with the host application client. The application intent response device includes: an information collection module 910, an intent matching module 920, and a feedback module 930.
[0134] An information collection module 910 is used to collect the response intention information of the mini-program and store the response intention information and the matching mini-program in correspondence;
[0135] The intent matching module 920 is used to respond to the application intent information sent by the host application client, match the application intent information with the response intent information of each mini-program, and obtain at least one candidate mini-program;
[0136] The feedback module 930 is used to form a candidate mini-program list according to the order of matching degree from large to small, and feed back the candidate mini-program list to the host application client.
[0137] According to the technical solution of the embodiment of the present application, the server collects the response intent information of the mini-programs, and stores the response intent information and the matching mini-programs in correspondence; in response to the application intent information sent by the host application client, the application intent information is matched with the response intent information of each mini-program to obtain at least one candidate mini-program; according to the order of matching degree from large to small, each candidate mini-program is formed into a candidate mini-program list, and the candidate mini-program list is fed back to the host application client, which solves the problem that the functions of the mini-programs of the host application client are not fully utilized in the prior art. By providing the host application client with a list of mini-programs that match the application intent, a method for calling up mini-programs that can respond to the application intent is provided, thereby expanding the capability boundary of the host application client.
[0138] Optionally, the information collection module 910 is specifically used to:
[0139] Obtain the mini-program installation package reported by the mini-program developer, and parse the response intent information corresponding to the mini-program in the global configuration file in the mini-program installation package; and / or
[0140] Obtain the mini program material information reported by the mini program developer, and extract the response intent information corresponding to the mini program from the mini program material information.
[0141] Optionally, the intention matching module 920 is specifically used for:
[0142] In response to the application intent information and real-time geographic location information sent by the host application client, the application intent information and real-time geographic location information are matched with the response intent information of each mini-program to obtain at least one candidate mini-program.
[0143] Optionally, it further includes: an information substitution module, which is used to substitute the device description information into each candidate mini-program in the candidate mini-program list in response to the device description information sent by the host application client after forming the candidate mini-program list according to the order of matching degree from large to small;
[0144] The device description information includes: user account information, and / or device identification information.
[0145] The device for responding to application intentions provided in the embodiments of the present application can execute the method for responding to application intentions applied to a server provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
[0146] According to an embodiment of the present application, the present application also provides an electronic device, a readable storage medium and a computer program product. .
[0147] like Fig.10 , is a block diagram of an electronic device for implementing a response method of an application intention of an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present application described and / or required herein.
[0148] like Fig.10 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0149] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0150] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the response method of the application intention. For example, in some embodiments, the response method of the application intention may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the response method of the application intention described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute the response method of the application intention by any other appropriate means (e.g., by means of firmware).
[0151] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0152] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0153] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0154] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0155] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0156] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0157] According to the technical solution of the embodiment of the present application, the host application client obtains application intent information that matches the application invocation instruction by responding to the application invocation instruction of the operating system; searches for a target applet that matches the application intent information based on the application intent information; starts the target applet in the host application client, and responds to the application intent that matches the application intent information in the target applet, which solves the problem in the prior art that the functions of the applet of the host application client are not fully utilized, provides a method for invoking the applet that can respond to application intent, and expands the capability boundary of the host application client.
[0158] According to the technical solution of the embodiment of the present application, the server collects the response intent information of the mini-programs, and stores the response intent information and the matching mini-programs in correspondence; in response to the application intent information sent by the host application client, the server matches the application intent information with the response intent information of each mini-program to obtain at least one alternative mini-program; according to the order of matching degree from large to small, each alternative mini-program is formed into an alternative mini-program list, and the alternative mini-program list is fed back to the host application client, which solves the problem that the functions of the mini-programs of the host application client are not fully utilized in the prior art. By providing the host application client with a list of mini-programs that match the application intent, a method for calling up mini-programs that can respond to application intent is provided, thereby expanding the capability boundary of the host application client.
[0159] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0160] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for responding to an application intention, executed by a host application client, comprising: In response to an application invocation instruction of the operating system, application intent information matching the application invocation instruction is acquired; wherein, when a user chooses to open a file of a specific format in the operating system, the operating system provides the user with a list of all application clients for opening the file, and if the user selects a host application client in the list, the operating system sends an application invocation instruction to the host application client, triggering the host application client to open the file; According to the application intent information, searching for a target applet matching the application intent information; Launching the target applet in the host application client, and responding to an application intent matching the application intent information in the target applet; Wherein, before the step of responding to the application initiation instruction of the operating system and acquiring the application intention information matching the application initiation instruction, the step further includes: Register a list of common call-up behaviors with the operating system in advance; Among them, each general call-up behavior in the general call-up behavior list is associated with the application intention responded to by each mini-program carried in the host application client; wherein, the general call-up behavior refers to the function that the host application client reports to the operating system.
2. The method according to claim 1, wherein: According to the application intent information, searching for a target applet matching the application intent information includes: Compare the locally stored response intent information of each mini-program with the application intent information to determine whether there is at least one local mini-program matching the application intent information, wherein the response intent information is sent by the server to the host application client; If yes, then determining a target applet in each of the local applet; If not, the application intent information is sent to the server, and a list of candidate mini-programs matching the application intent information is received from the server; In the candidate applet list, determine the target applet.
3. The method according to claim 2, wherein: Determine the target applet in the candidate applet list, including: Determine the first candidate mini-program in the candidate mini-program list as the target mini-program; or The list of candidate mini-programs is displayed to the user, and the candidate mini-program selected by the user is determined as the target mini-program.
4. The method according to claim 2, while sending the application intent information to the server, further comprises: Sending real-time geographic location information and / or device description information matching the host application client to the server; The device description information includes: user account information, and / or device identification information; The real-time geographic location information is used by the server to assist in matching the mini-programs, and the device description information is used by the server to substitute information into each candidate mini-program after determining the list of candidate mini-programs.
5. The method according to any one of claims 1 to 4, further comprising: When the host application client is in an activated state, in response to application intent search information input in a search box of the host application client, searching for at least one search applet matching the application intent search information; Providing each of the search applets for user display; In response to the selected target search applet, the target search applet is launched in the host application client.
6. The method according to any one of claims 1 to 4, wherein: The application intention information is an intention to open a target document of a set format; Wherein, responding to the application intent matching the application intent information in the target applet includes: In the target applet, the target document matching the application intent information is opened.
7. A method for responding to an application intention, executed by a server, comprising: Collecting the response intention information of the mini-program, and storing the response intention information and the matching mini-program in correspondence; In response to application intent information sent by the host application client, the application intent information is matched with the response intent information of each applet to obtain at least one candidate applet; wherein, when the user chooses to open a file of a specific format in the operating system, the operating system provides the user with a list of all application clients for opening the file, and if the user selects the host application client in the list, the operating system sends an application call instruction to the host application client to trigger the host application client to open the file, and the application intent information is to open a file of a specific format in the operating system; According to the order of the matching degree from large to small, the candidate mini-programs are grouped into a candidate mini-program list, and the candidate mini-program list is fed back to the host application client; Among them, the application intentions responded by each mini-program are associated with each general call-up behavior in the general call-up behavior list pre-registered in the operating system; wherein, the general call-up behavior refers to the functions that the host application client reports to the operating system.
8. The method according to claim 7, wherein: Collect the response intent information of the mini program, including: Obtaining the mini-program installation package reported by the mini-program developer, and parsing the response intent information corresponding to the mini-program in the global configuration file in the mini-program installation package; and / or The mini program material information reported by the mini program developer is obtained, and the response intent information corresponding to the mini program is extracted from the mini program material information.
9. The method according to claim 7, wherein: In response to the application intent information sent by the host application client, the application intent information is matched with the response intent information of each mini-program to obtain at least one candidate mini-program, including: In response to the application intent information and real-time geographic location information sent by the host application client, the application intent information and real-time geographic location information are matched with the response intent information of each mini-program to obtain at least one candidate mini-program.
10. The method according to claim 7, after forming a candidate mini-program list according to the order of the matching degree from large to small, further comprises: In response to the device description information sent by the host application client, substitute the device description information into each of the candidate mini-programs in the candidate mini-program list; The device description information includes: user account information, and / or device identification information.
11. A device for responding to application intentions, executed by a host application client, comprising: an acquisition module, configured to respond to an application invocation instruction of the operating system and acquire application intention information matching the application invocation instruction; wherein, when a user chooses to open a file of a specific format in the operating system, the operating system provides the user with a list of all application clients for opening the file, and if the user selects a host application client in the list, the operating system sends an application invocation instruction to the host application client, triggering the host application client to open the file; A search module, configured to search for a target applet matching the application intent information according to the application intent information; A response module, configured to start the target applet in the host application client and respond to an application intent matching the application intent information in the target applet; A registration module is used to pre-register a general call-up behavior list with the operating system before responding to an application call-up instruction of the operating system and obtaining application intent information matching the application call-up instruction; wherein each general call-up behavior in the general call-up behavior list is associated with the application intent responded to by each mini-program carried in the host application client; wherein the general call-up behavior refers to the function that the host application client reports to the operating system.
12. The device according to claim 11, wherein Search modules, including: A judgment unit, configured to compare the locally stored response intent information of each mini-program with the application intent information to determine whether there is at least one local mini-program matching the application intent information, wherein the response intent information is sent by the server to the host application client; A first determining unit, configured to determine a target applet in each of the local applet if there is at least one local applet matching the application intent information; A sending unit, configured to send the application intent information to a server if there is no at least one local applet matching the application intent information, and receive a list of candidate applet matching the application intent information fed back by the server; The second determining unit is used to determine a target mini-program in the candidate mini-program list.
13. The device according to claim 12, wherein: The second determining unit is specifically configured to: Determine the first candidate mini-program in the candidate mini-program list as the target mini-program; or The list of candidate mini-programs is displayed to the user, and the candidate mini-program selected by the user is determined as the target mini-program.
14. The device according to claim 12, wherein the sending unit is further configured to: When the application intent information is sent to the server, the real-time geographic location information and / or the device description information matching the host application client is sent to the server; the device description information includes: User account information, and / or device identification information; The real-time geographic location information is used by the server to assist in matching the mini-programs, and the device description information is used by the server to substitute information into each candidate mini-program after determining the list of candidate mini-programs.
15. A device for responding to application intention, executed by a server, comprising: An information collection module, used to collect the response intention information of the mini-program, and store the response intention information in correspondence with the matching mini-program; an intent matching module, for responding to application intent information sent by a host application client, matching the application intent information with response intent information of each applet, and obtaining at least one candidate applet; wherein, when a user chooses to open a file of a specific format in an operating system, the operating system provides the user with a list of all application clients for opening the file, and if the user selects a host application client in the list, the operating system sends an application call instruction to the host application client, triggering the host application client to open the file, and the application intent information is to open a file of a specific format in the operating system; A feedback module, configured to form a candidate mini-program list from each candidate mini-program in descending order of matching degree, and feed back the candidate mini-program list to the host application client; Among them, the application intentions responded by each mini-program are associated with each general call-up behavior in the general call-up behavior list pre-registered in the operating system; wherein, the general call-up behavior refers to the functions that the host application client reports to the operating system.
16. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method of any one of claims 1-6, or execute the method of any one of claims 7-10.
17. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method of any one of claims 1 to 6, or to execute the method of any one of claims 7 to 10.
18. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method according to any one of claims 1 to 6, or performs the method according to any one of claims 7 to 10.
Citation Information
Patent Citations
Method and device for quickly searching boarding application
CN108846100A
A method and apparatus for searching for a hosting program
CN109359237A
Method and device for sharing hosted applications
WO2019205718A1