Function searching method and device, electronic equipment and storage medium

By generating and executing target operation scripts to start the target function of the application, the complex and time-consuming problem of functional search configuration in the prior art is solved, and the stability and maintenance efficiency of the search function are improved.

CN119939003APending Publication Date: 2025-05-06BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311444748.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-01
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The functional search configuration process of the application in the prior art is complex and time-consuming, resulting in increased maintenance costs and the stability of the search function being affected.

Method used

By obtaining the search keywords corresponding to the target function, generating the target operation script, and performing jump operations on the operation link in turn to start the target function, avoiding configuring the function during the development stage.

Benefits of technology

Simplifies the configuration process of function search, reduces configuration time, reduces application maintenance costs, and improves the stability of function search.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119939003A_ABST
    Figure CN119939003A_ABST
Patent Text Reader

Abstract

Embodiments of the invention provide a function search method and apparatus, an electronic device and a storage medium. The method comprises the steps of obtaining a search keyword corresponding to a target function; according to the search keyword, a corresponding target operation script is obtained, the target operation script is used for executing an operation link for starting a target function, and the operation link comprises at least one operation node for interface jump; and based on the target operation script, executing jump operations corresponding to the operation nodes on the operation link in sequence to start the target function. The corresponding pre-generated target operation script is obtained by searching the keyword, and the corresponding operation link is executed by executing the target operation script, so that the target function is positioned and started, and the target operation script can be obtained by running the application program and performing operation recording. The functions in the application program do not need to be configured in the development stage of the application program, and the problems of complex configuration process, long configuration time and the like are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of Internet technology, and in particular, to a function search method, device, electronic device, and storage medium. Background Art

[0002] Currently, a single application provides more and more functions to users, which meets the needs of users to perform different functions in the same application, but at the same time increases the difficulty for users to locate the target function they are interested in in the application. Therefore, in the prior art, application developers usually search and configure different functions during the development stage of the application, so that when the application is running, the functions in the application can be located by function search.

[0003] However, the existing solutions for searching and configuring functions within an application during the development phase have problems such as a complex configuration process and a long configuration time, which increases the maintenance cost of the application and affects the stability of the function search within the application. Summary of the invention

[0004] The embodiments of the present disclosure provide a function search method, device, electronic device and storage medium to overcome the problems of complex storage configuration process and time-consuming configuration.

[0005] In a first aspect, an embodiment of the present disclosure provides a function search method, including:

[0006] Obtain a search keyword corresponding to a target function; based on the search keyword, obtain a corresponding target operation script, wherein the target operation script is used to execute an operation link for starting the target function, wherein the operation link includes at least one operation node for interface jump; based on the target operation script, execute jump operations corresponding to each operation node on the operation link in sequence to start the target function.

[0007] In a second aspect, an embodiment of the present disclosure provides a function search device, including:

[0008] An acquisition module is used to obtain the search keywords corresponding to the target function;

[0009] A search module, used to obtain a corresponding target operation script according to the search keyword, wherein the target operation script is used to execute an operation link for starting the target function, wherein the operation link includes at least one operation node for interface jump;

[0010] An execution module is used to execute the jump operations corresponding to each operation node on the operation link in sequence based on the target operation script to start the target function.

[0011] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0012] A processor, and a memory communicatively connected to the processor;

[0013] The memory stores computer-executable instructions;

[0014] The processor executes the computer-executable instructions stored in the memory to implement the function search method described in the first aspect and various possible designs of the first aspect.

[0015] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the function search method described in the first aspect and various possible designs of the first aspect is implemented.

[0016] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the function search method described in the first aspect and various possible designs of the first aspect.

[0017] The function search method, device, electronic device and storage medium provided in this embodiment obtain the search keyword corresponding to the target function; according to the search keyword, obtain the corresponding target operation script, the target operation script is used to execute the operation link for starting the target function, and the operation link includes at least one operation node for interface jump; based on the target operation script, the jump operation corresponding to each operation node on the operation link is executed in sequence to start the target function. The corresponding pre-generated target operation script is obtained by searching the keyword, and the corresponding operation link is executed by executing the target operation script, so as to locate and start the target function. Since the target operation script can be obtained by running the application and recording the operation, it is not necessary to configure the function in the application during the development stage of the application, avoiding the problems of complicated configuration process and time-consuming configuration, and improving the stability of the search function of the application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0019] Figure 1 An application scenario diagram of the function search method provided in the embodiment of the present disclosure;

[0020] Figure 2 Schematic diagram of the function search method provided in the embodiment of the present disclosure Figure 1 ;

[0021] Figure 3 A schematic diagram of an operation link provided by an embodiment of the present disclosure;

[0022] Figure 4 for Figure 2 A flowchart of a specific implementation method of step S103 in the illustrated embodiment;

[0023] Figure 5 A schematic diagram of a process of searching for a target function provided by an embodiment of the present disclosure;

[0024] Figure 6 A schematic diagram of another process of searching for a target function provided by an embodiment of the present disclosure;

[0025] Figure 7 Schematic diagram of the function search method provided in the embodiment of the present disclosure Figure 2 ;

[0026] Figure 8 for Figure 7 A flowchart of a specific implementation method of step S202 in the illustrated embodiment;

[0027] Fig. 9 for Figure 7 A flowchart of a specific implementation method of step S203 in the illustrated embodiment;

[0028] Fig.10 for Figure 7 A flowchart of a specific implementation method of step S204 in the illustrated embodiment;

[0029] Fig.11 A schematic diagram of a process for generating a script data set provided by an embodiment of the present disclosure;

[0030] Fig.12 A structural block diagram of a function search device provided by an embodiment of the present disclosure;

[0031] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure;

[0032] Fig.14 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0034] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0035] The application scenarios of the embodiments of the present disclosure are explained below:

[0036] Figure 1 This is an application scenario diagram of the function search method provided by the embodiment of the present disclosure. The function search method provided by the embodiment of the present disclosure can be applied to the application scenario of function search within an application. Specifically, Figure 1 As shown, the method provided by the embodiment of the present disclosure can be applied to a terminal device, such as a smart phone. The terminal device has a target application installed in it. After the terminal device runs the target application, the search interface 11 can be called up in response to a user operation. After that, the target function of the application can be searched by receiving a search keyword input by the user, and the searched target function can be executed in an automatic or manually triggered manner, for example Figure 1 As shown in , after the user enters the keyword "login settings" in the function search bar 12 in the search interface 11 and triggers the search command, the corresponding search results are displayed in the search interface 11. After that, the user clicks on the search results to execute the corresponding target function and start the login settings interface. The execution result of the target function is that the login interface is displayed in the application. In another possible implementation, the user can also enter the search keyword in the operating system interface of the terminal device through the search component provided by the operating system, and realize the search and triggering of the internal functions of the application in the operating system interface. The specific implementation process will not be repeated.

[0037] In the related art, for function search within an application, the developer of the application usually searches and configures different functions during the development phase of the application so that when the application is running, the functions within the application can be located by function search. For example, when developing an application, a searchable and configurable manifest file is created, and the keywords and jump paths (DeepLink) corresponding to the functions are declared in the configuration file, and then registered to the application manifest. When installing the application, the operating system scans the application manifest, finds the search configuration file, and records the keywords, jumps and other information in the search index database. However, the above-mentioned scheme in the prior art requires the search and configuration of the functions within the application during the development phase. Whenever the application needs to upgrade its version or add or remove functions, the above-mentioned search and configuration process needs to be performed simultaneously. The configuration process has problems such as complex operation and time-consuming configuration, which increases the maintenance cost of the application and affects the stability of the search function within the application.

[0038] The embodiment of the present disclosure provides a function search method to solve the above problem.

[0039] refer to Figure 2 , Figure 2 Schematic diagram of the function search method provided in the embodiment of the present disclosure Figure 1 The method of this embodiment can be applied in a terminal device, such as a smart phone. The function search method includes:

[0040] Step S101: Obtain the search keyword corresponding to the target function.

[0041] Step S102: According to the search keyword, a corresponding target operation script is obtained, where the target operation script is used to execute an operation link for starting a target function, and the operation link includes at least one operation node for interface jump.

[0042] For example, reference Figure 1The application scenario schematic diagram shown takes the search in the application as an example. After the target application is started, the search control (search box) is displayed in the search interface of the target application. The user enters the search keyword through the search control to trigger the search for the target function. The terminal device responds to the user's input operation on the search control and obtains the search keyword entered by the user. After that, the search is performed based on the search keyword to obtain the target operation script corresponding to the search keyword, wherein the operation script refers to an executable file generated based on a specific descriptive language for executing an operation link composed of a series of operations, and its implementation method is determined based on the operating system of the terminal device so that the operation script is compatible with the operating system and can be run in the operating system of the terminal device. In this embodiment, the target operation script corresponding to the target function is an executable file for executing the operation link for starting the target function, wherein the operation link includes at least one operation node, and the operation node is used to jump the interface in the target application, thereby starting the target function. For example, the target function is the "cache setting" function in the target application. Starting the target function means that the current interface of the target application jumps to the "cache setting interface". In the cache setting interface, one or more controls related to "cache setting" are provided, such as an editable text box for controlling "cache amount", a radio button for turning on a non-caching function, and the like.

[0043] Furthermore, the interface jump operation corresponding to each operation node in the operation link is implemented through operation coordinates and operation methods, and the operation coordinates and operation methods corresponding to each operation node are recorded in the target operation script. Figure 3 A schematic diagram of an operation link provided by an embodiment of the present disclosure, such as Figure 3 As shown, the operation link includes three operation nodes, namely operation node P1, operation node P2 and operation node P3, wherein operation node P1 is used to perform a click operation at the co_1 coordinate position (in the A interface); operation node P2 is used to perform a slide down operation at the co_2 coordinate position (in the B interface); operation node P3 is used to perform a click operation at the co_3 coordinate position (in the B interface); the set composed of the above three operation nodes executed in order is the operation link, and the operation link is implemented by the target operation script.

[0044] Among them, the target operation script can be generated by recording the user operation. This process will be described in detail in the subsequent embodiments and will not be expanded here.

[0045] Step S103: Based on the target operation script, execute the jump operations corresponding to the operation nodes on the operation link in sequence to start the target function.

[0046] For example, after obtaining the target operation script corresponding to the search keyword, the terminal device can execute the target operation script to sequentially execute the jump operations corresponding to each operation node on the operation link, and finally start the target function. In a possible implementation, the operation link includes at least a terminal operation node, such as Figure 4 As shown, the specific implementation of step S103 includes:

[0047] Step S1031: Based on the terminal operation node, the target operation coordinates are obtained, where the target operation coordinates represent the position of the target control for starting the target function within the first application interface.

[0048] Step S1032: In the first application interface, based on the target operation coordinates, trigger the target control corresponding to the target function to start the target function.

[0049] Exemplarily, in this embodiment, the operation link includes at least a terminal operation node, which corresponds to the last operation before starting the target function. A target control for triggering the target operating system is provided in the first application interface. The position of the target control in the first application interface, i.e., the target operation coordinates, is obtained through the target operation script. Then, an operation is triggered based on the target operation coordinates, such as applying an operation of clicking the target operation coordinates to execute the terminal operation node, thereby triggering the target control corresponding to the target function, and then starting the target function. Figure 3 As shown in the schematic diagram, the first application interface is the B interface, and the target operation coordinate is the co_3 coordinate position in the B interface.

[0050] Furthermore, before the first application interface triggers the target control, the step of entering the first application interface is also included. In one possible implementation, the first application interface is the main interface of the target application, or the search interface for performing search operations. In this case, no additional interface jump operation is required, that is, the operation link only includes the terminal operation node. Based on the above steps, the purpose of starting the target function can be directly achieved. In another possible implementation, the first application interface is not the main interface or search interface of the target application. After the terminal device responds to the user's input operation on the search control, it can enter the first application interface after performing an interface jump. That is, in addition to the terminal operation node, the operation link also includes a front operation node, that is, a non-terminal operation node. For the latter case, exemplarily, before step S1031, it also includes:

[0051] Step S1030: Based on the operation link, execute the non-terminal operation nodes in sequence and jump to the first application interface.

[0052] Exemplarily, the non-terminal operation node may be the same as the terminal operation node, corresponding to the target operation coordinates and the corresponding operation method, or may only correspond to the operation method without including the operation coordinates. For example, the operation method corresponding to the non-terminal operation node is "shaking the phone", and jumping to the corresponding interface by "shaking the phone". The above non-terminal operation node is similar to the terminal operation node, stored in the target operation script, and the non-terminal operation nodes are executed in sequence by executing the target operation script, thereby jumping to the first application interface.

[0053] Figure 5 A process diagram of a search target function provided by an embodiment of the present disclosure is shown below. Figure 5 The above process is described in detail. Figure 5 As shown, the user enters the search keyword "cache settings" in the function search box on the main interface of the target application and searches for triggers. After that, the terminal device searches for the target operation script (including operation nodes P1 and P2) corresponding to the cache settings. After starting to execute the target operation script, the terminal device first executes the first jump operation corresponding to the operation node (the specific implementation method is to simulate clicking the co_1 position in the main interface), and jumps to the Page_1 interface. The Page_1 interface is the first application interface in the above embodiment; then the terminal device executes the second jump operation corresponding to the operation node P2 (the specific implementation method is to simulate clicking the co_2 position in the Page_1 interface), and jumps to the Page_2 interface. The operation node P2 is the terminal operation node, and the Page_2 interface is the cache settings interface. After jumping to the Page_2 interface, the target function is started.

[0054] Further, optionally, in the process of starting the target function, the terminal device may shield the user's input operation and display a shielding layer in the display interface of the target application, thereby achieving a seamless search process for the target function. Figure 6 A schematic diagram of another process of searching for a target function provided in an embodiment of the present disclosure. After a user enters the search keyword "cache settings" in the function search box on the main interface of the target application, the terminal device executes the above-mentioned search target function and starts the process. The specific implementation process can be referred to in the previous embodiment (for example Figure 5 On the other hand, the text "Searching" is displayed in the application interface, and the implementation process of the jump operation corresponding to the above operation link is blocked by a masking layer. After the target function is started, the cache setting interface (i.e., Page_2 interface) is displayed in the target application, thereby realizing non-sensitive function search and startup, achieving a similar use effect to the function search solution based on search configuration, and experiencing the stability of the search function operation.

[0055] In this embodiment, by obtaining the search keyword corresponding to the target function; according to the search keyword, the corresponding target operation script is obtained, the target operation script is used to execute the operation link for starting the target function, and the operation link includes at least one operation node for interface jump; based on the target operation script, the jump operation corresponding to each operation node on the operation link is executed in sequence to start the target function. The corresponding pre-generated target operation script is obtained by searching the keyword, and the corresponding operation link is executed by executing the target operation script, so as to locate and start the target function. Since the target operation script can be obtained by running the application and recording the operation, it is not necessary to configure the function in the application during the development stage of the application, avoiding the problems of complicated configuration process and time-consuming configuration, and improving the stability of the search function of the application.

[0056] refer to Figure 7 , Figure 7 Schematic diagram of the function search method provided in the embodiment of the present disclosure Figure 2 This example is described in detail in Figure 2 On the basis of the embodiment shown, step S102 is further refined, and a process of generating a script data set is added. The function search method includes:

[0057] Step S201: Run a target application program including a target function.

[0058] Step S202: In response to a first instruction for a target application, jump to at least a first application interface, wherein the first application interface includes a target control corresponding to a triggered target function.

[0059] Exemplarily, after running the target application, the terminal device jumps to the first application interface based on the first instruction, wherein the first application interface can be the main interface of the target application, or it can be a secondary interface of the main interface, that is, a functional interface entered from the main interface. Among them, in one possible implementation, when the first application interface is the main interface of the target application, the first instruction is the initialization instruction of the target application, and the initialization instruction can generally refer to any instruction used to trigger the display of the main interface after starting the target application. When the first application interface is not the main interface of the target application, the first instruction can be an instruction for executing an automation script. By responding to the first instruction, the terminal device executes the automation script, thereby jumping to the first application interface after at least one jump operation. Among them, the automation script can be a pre-recorded script file, and the specific implementation method is a prior art and will not be repeated here.

[0060] In a possible implementation, the first instruction includes an initialization instruction and at least one sub-instruction to be executed in sequence, wherein the initialization instruction is an instruction for entering the main interface of the target application, which has been introduced before and will not be repeated here. The sub-instruction can be generated by a pre-automated script or based on a user's operation instruction. For example, Figure 8 As shown, the specific implementation of step S202 includes:

[0061] Step S2021: Execute the initialization instruction to display the main interface of the target application.

[0062] Step S2022: If the current application interface is not the first application interface, execute step S2023, otherwise end the loop.

[0063] Step S2023: Obtain the jump operation for the current application interface and obtain the corresponding target sub-instruction;

[0064] Step S2024: In response to the execution of the target sub-instruction, jump to the target application interface corresponding to the target sub-instruction.

[0065] Step S2025: Update the current application interface to the target application interface and return to step S2012.

[0066] Exemplarily, the first application interface is a preset target interface, such as a "cache setting interface" or a "display setting interface", which can be manually set by the user or automatically obtained. In the case of automatic acquisition, a preset function list can be used to obtain one function as the target function in turn, and the interface where it is located is used as the first application interface, thereby realizing the recording of operation scripts corresponding to all application functions.

[0067] After entering the main interface of the target application, execute the loop from step S2022 to S2025. Specifically, if the current application interface is not the first application interface where the target function is located, obtain the jump operation for the current application interface and obtain the corresponding target sub-instruction, wherein the jump operation can be generated based on the actual operation input by the user, or can be generated based on an automated script, which is not limited here. The jump operation is used to trigger an operation control in the current interface, and then generate the corresponding target sub-instruction. The target sub-instruction is executed to trigger the interface jump, so that the current interface of the target application displays the target application interface corresponding to the target sub-instruction. That is, the current application interface is updated to the target application interface. Afterwards, return to step S2022 to determine whether the current interface after the jump is the first application interface. If so, it means that it has jumped to the interface containing the trigger control corresponding to the target function, and the loop is jumped out at this time; if not, continue to execute the above steps until the current interface is the first application interface.

[0068] Step S203: performing target recognition on the first application interface to obtain control information of the target control, where the control information represents the position of the target control and a control identifier corresponding to the target control.

[0069] For example, after jumping to the first application interface, the first application interface is subjected to target recognition, and the control information of the target control in the first application interface can be recognized, wherein the spatial information may include the position and control identifier of the target control, more specifically, the coordinates and control name of the target control in the first application interface. Afterwards, the target space is indexed and located based on the above control information.

[0070] Among them, for example, Fig. 9 As shown, the specific implementation of step S203 includes:

[0071] Step S2031: taking a screenshot of the first application interface to obtain a corresponding interface image;

[0072] Step S2032: Perform character recognition on the interface image to obtain control information of the target control.

[0073] Exemplarily, each time the terminal device enters the first application interface, it first takes a screenshot of the first application interface to generate a corresponding interface image, and then the interface image can be recognized based on optical character recognition (OCR) technology to obtain the control identifier of the target control, such as "display settings", "login settings", "cache settings", etc. Then, based on the location of the above control identifier, when the control identifier coincides with the trigger position of the target control, the location of the target control can be obtained, thereby obtaining the above control information.

[0074] Further, optionally, for the implementation of the above step S202, after step S2024, the method further includes:

[0075] Step S2024A: Target recognition is performed on the target application interface to obtain control information of candidate controls in the target application interface. The control information of the candidate controls is used to generate a script data set containing non-target operation scripts.

[0076] For example, during the execution of step S202, if the first application interface is not the main interface, then in the process of continuously jumping interfaces, each time a target application interface is entered, the target application interface is identified to obtain the control information of the candidate controls in the target application interface. The specific implementation process is similar to the implementation process of step S203. For example, the position and control identifier of the candidate control can be identified by OCR technology to obtain the control information of the candidate control, which will not be repeated here.

[0077] Step S204: Generate a script data set based on the control information of the target control, the control information of the candidate controls and the first instruction.

[0078] Exemplarily, after the above jump operation is completed, the target control for starting the target function is located, that is, based on the control information obtained above and the first instruction, a target operation script for starting the target function can be generated. Afterwards, in order to realize the reuse of the target operation script and the subsequent repeated search for the target function, the target operation script is saved to a script data set, and then the target operation script corresponding to the target function of interest can be obtained by searching the script data set, thereby realizing the search for the target function of interest. Among them, the script data set includes at least a target index corresponding to the search keyword, and a target operation script corresponding to the target index, and the target index is generated based on the control identifier of the target control that triggers the target function in the first application interface.

[0079] For example, for example, Fig.10 As shown, the specific implementation of step S204 includes:

[0080] Step S2041: Acquire a first operation link corresponding to the first instruction, where the first operation link is used to jump unidirectionally from the main interface of the target application to the first application interface.

[0081] Step S2042: Generate a target index and terminal operation node corresponding to the target control according to the control information.

[0082] Step S2043: Obtain a target operation script according to the terminal operation node and the first operation link.

[0083] Step S2044: Generate a script data set according to the target index and the target operation script.

[0084] Exemplarily, referring to the introduction in the previous embodiment steps, the first instruction can be composed of one or more sub-instructions, and the first operation link corresponding to the first instruction is obtained according to the previous interface jump process. Among them, the operation nodes included in the first operation link are all one-way jumps, that is, jumping from the main interface (upper interface) to the first application interface (lower interface), and there is no jump from the first application interface (lower interface) to the main interface (upper interface). Among them, the step of obtaining the first operation link can be achieved by recording the execution process of the above-mentioned execution of the first instruction, such as creating a user interface (UserInterface, UI) script. The specific implementation method is the existing technology and will not be repeated here. Afterwards, according to the control information of the first application interface located after the first instruction is executed, the position and control identifier of at least one control for interface jump in the first application interface are obtained, and then, based on the position of the target control, the terminal operation node is generated, wherein the default operation form corresponding to the terminal operation node is, for example, click, and the terminal operation node is obtained by the default operation form and the position of the generated target control. Then, the terminal operation node and the first operation link corresponding to the first instruction are combined to obtain the target operation script. The target operation script is composed of one or more operation nodes including the terminal operation node. Finally, based on the control identifier obtained from the control information, as the index of the target operation script, data in the form of key-value pairs is formed and generated or stored in a script data set. In the script data set, in addition to the target operation script corresponding to the target function, non-target operation scripts corresponding to other non-target functions may also be included. Therefore, the script data set can be used to implement function searches for other non-target functions. The specific implementation method is the same as the function search for the target function, which will not be repeated here.

[0085] Fig.11 A schematic diagram of a process for generating a script data set provided in an embodiment of the present disclosure is shown below. Fig.11 For further description of the above process, refer to Fig.11 As shown, after the target application is started, it first enters the main interface based on the initialization instruction;

[0086] Afterwards, according to the first jump instruction, click the jump control W1 in the main interface to jump to the first level interface under the main interface, and identify the control identifier in the main interface through OCR to generate the control identifier Info_1; and generate the first operation node corresponding to the first jump instruction, the first operation node includes the operation position (i.e., component position) and the corresponding operation mode;

[0087] Afterwards, according to the second jump instruction, click the jump control W2 of the first-level interface to jump to the second-level interface under the first-level interface, and identify the control identifier of the first-level interface through OCR to generate the control identifier Info_2; and generate the second operation node corresponding to the second jump instruction, the second operation node includes the operation position (i.e., component position) and the corresponding operation mode;

[0088] This process is repeated until the target control that implements the target function is jumped to the first application interface, and the control identifier of the first application interface is identified by OCR to generate the control identifier Info_N and the corresponding terminal operation node. After that, the target operation script corresponding to the target operation link is composed of the first operation node, the second operation node, and the terminal operation node; the target index is generated by the control identifier Info_N; and then the generated script data set is obtained based on the target operation script and the target index.

[0089] At the same time, other non-target operation scripts consisting of more than one operation node and the corresponding index also constitute part of the content in the script data set. For example, the operation script R1 consisting of the first operation node and the second operation node and the index generated by the control identifier Info_2 constitute another set of script data in the script data set, thereby realizing the search and start of the function corresponding to the control corresponding to the control identifier Info_2, and so on.

[0090] In this embodiment, by recording the operations of multi-level interface jumps in the target application and collecting OCR for the interface, operation scripts for different functions including the target function and corresponding retrieval indexes are obtained, and then a script data set including operation scripts for different functions is generated, thereby achieving rapid search and startup of different functions within the target application and improving search efficiency and accuracy.

[0091] It should be noted that the above process of generating a script data set includes creating a new script data set, or adding, modifying and deleting operation scripts to an existing script data set. The above process of steps S201-S204 can be performed synchronously or asynchronously with the subsequent process of querying based on the script data set. In a possible implementation, the above process of generating a script data set can occur when the target application is first run, when a version is updated, or can be manually triggered based on user instructions. And after an unlimited period of time, the subsequent step of querying the script data set is performed.

[0092] Step S205: Obtain the search keyword corresponding to the target function.

[0093] Step S206: Using the search keyword as an index, query the script data set to obtain the target operation script.

[0094] Step S207: Based on the target operation script, execute the jump operations corresponding to the operation nodes on the operation link in sequence to start the target function.

[0095] Exemplarily, after obtaining the search keyword for the target function, the script data set is queried using the search keyword as an index. Combined with the previous introduction to the script data set, a target index matching the search keyword can be obtained. Then, based on the key-value correspondence between the index and the operation script in the script data set, the corresponding target operation script can be obtained. The specific implementation process can refer to the introduction to the script data set in the previous step.

[0096] Further, execute the target operation script and execute the jump operations corresponding to each operation node on the operation link in sequence to start the target function. Figure 2 The illustrated embodiment has been described in detail and will not be described again here.

[0097] In this embodiment, the specific implementation of step S205 and step S207 is the same as Figure 2 Step S101 and step S103 in the embodiment shown are the same, and detailed description can be found in Figure 2 The relevant introduction in the illustrated embodiment will not be repeated here.

[0098] Corresponding to the function search method of the above embodiment, Fig.12 This is a structural block diagram of a function search device provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown.

[0099] Reference Fig.12 , the function search device 3 comprises:

[0100] An acquisition module 31 is used to acquire a search keyword corresponding to a target function;

[0101] A search module 32, used to obtain a corresponding target operation script according to the search keyword, the target operation script is used to execute an operation link for starting a target function, and the operation link includes at least one operation node for interface jump;

[0102] The execution module 33 is used to execute the jump operations corresponding to the operation nodes on the operation link in sequence based on the target operation script to start the target function.

[0103] In one embodiment of the present disclosure, the execution module 33 is specifically used to: obtain target operation coordinates based on the terminal operation node, the target operation coordinates represent the position of the target control for starting the target function within the first application interface; in the first application interface, trigger the target control corresponding to the target function based on the target operation coordinates to start the target function.

[0104] In one embodiment of the present disclosure, the operation link also includes non-terminal operation nodes. Before triggering the target control corresponding to the target function based on the target operation coordinates, the execution module 33 is also used to: execute the non-terminal operation nodes in sequence based on the operation link and jump to the first application interface.

[0105] In one embodiment of the present disclosure, the search module 32 is specifically used to: query a script data set with a search keyword as an index to obtain a target operation script, wherein the script data set includes at least a target index corresponding to the search keyword and a target operation script corresponding to the target index, and the target index is generated based on a control identifier of a target control that triggers a target function in the first application interface.

[0106] In one embodiment of the present disclosure, before querying a script data set with a search keyword as an index to obtain a target operation script, the search module 32 is also used to: run a target application including a target function; in response to a first instruction for the target application, jump to at least a first application interface, wherein the first application interface includes a target control corresponding to the triggering target function; perform target identification on the first application interface to obtain control information of the target control, wherein the control information represents a position of the target control and a control identifier corresponding to the target control; and generate a script data set based on the control information of the target control and the first instruction.

[0107] In one embodiment of the present disclosure, the first instruction includes an initialization instruction and at least one sub-instruction that are executed in sequence; when the search module 32 responds to the first instruction for the target application and jumps to at least the first application interface, it is specifically used to: execute the initialization instruction and display the main interface of the target application; loop the following steps until the current application interface is the first application interface: obtain a jump operation for the current application interface and obtain the corresponding target sub-instruction; in response to the execution of the target sub-instruction, jump to the target application interface corresponding to the target sub-instruction; update the current application interface to the target application interface.

[0108] In one embodiment of the present disclosure, after jumping to the target application interface corresponding to the target sub-instruction in response to the execution of the target sub-instruction, the search module 32 is also used to: perform target identification on the target application interface to obtain control information of the alternative controls in the target application interface; when the search module 32 generates a script data set based on the control information of the target control and the first instruction, it is specifically used to: generate a script data set according to the control information of at least one alternative control, the control information of the target control and the first instruction.

[0109] In one embodiment of the present disclosure, when the search module 32 generates a script data set based on the control information of the target control and the first instruction, it is specifically used to: obtain a first operation link corresponding to the first instruction, the first operation link being used to jump unidirectionally from the main interface of the target application to the first application interface; generate a target index and a terminal operation node corresponding to the target control according to the control information; obtain a target operation script according to the terminal operation node and the first operation link; and generate a script data set according to the target index and the target operation script.

[0110] In one embodiment of the present disclosure, when the search module 32 performs target recognition on the first application interface and obtains the control information of the target control, it is specifically used to: take a screenshot of the first application interface to obtain the corresponding interface image; perform character recognition on the interface image to obtain the control information of the target control.

[0111] The acquisition module 31, search module 32 and execution module 33 are connected in sequence. The function search device 3 provided in this embodiment can execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated in this embodiment.

[0112] Fig.13 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown in FIG. Fig.13 As shown, the electronic device 4 includes:

[0113] A processor 41, and a memory 42 communicatively connected to the processor 41;

[0114] The memory 42 stores computer executable instructions;

[0115] The processor 41 executes the computer execution instructions stored in the memory 42 to implement the following Figure 2-Figure 11 The function search method in the illustrated embodiment.

[0116] Optionally, the processor 41 and the memory 42 are connected via a bus 43 .

[0117] For related instructions, please refer to Figure 2-Figure 11 The relevant descriptions and effects corresponding to the steps in the corresponding embodiments can be understood, and no further elaboration is made here.

[0118] The present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which are used to implement the present invention when executed by a processor. Figure 2-Figure 11 The function search method provided in any one of the corresponding embodiments.

[0119] The present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements Figure 2-Figure 11 The function search method in the illustrated embodiment.

[0120] refer to Fig.14 , which shows a schematic diagram of the structure of an electronic device 900 suitable for implementing the embodiment of the present disclosure, and the electronic device 900 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.14 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0121] like Fig.14 As shown, the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 to a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0122] Typically, the following devices may be connected to the I / O interface 905: input devices 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 908 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.14 The electronic device 900 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0123] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0124] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0125] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0126] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

[0127] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0128] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0129] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0130] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0131] 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.

[0132] In a first aspect, according to one or more embodiments of the present disclosure, a function search method is provided, comprising:

[0133] Obtain a search keyword corresponding to a target function; based on the search keyword, obtain a corresponding target operation script, wherein the target operation script is used to execute an operation link for starting the target function, wherein the operation link includes at least one operation node for interface jump; based on the target operation script, execute jump operations corresponding to each operation node on the operation link in sequence to start the target function.

[0134] According to one or more embodiments of the present disclosure, the operation link includes at least a terminal operation node; based on the target operation script, the jump operations corresponding to the operation nodes on the operation link are executed in sequence to start the target function, including: based on the terminal operation node, obtaining target operation coordinates, the target operation coordinates representing the position of a target control for starting the target function in a first application interface; in the first application interface, based on the target operation coordinates, triggering a target control corresponding to the target function to start the target function.

[0135] According to one or more embodiments of the present disclosure, the operation link also includes a non-terminal operation node. Before triggering the target control corresponding to the target function based on the target operation coordinates, the method also includes: based on the operation link, executing the non-terminal operation nodes in sequence and jumping to the first application interface.

[0136] According to one or more embodiments of the present disclosure, obtaining the corresponding target operation script based on the search keyword includes: using the search keyword as an index, querying a script data set, and obtaining the target operation script, wherein the script data set includes at least a target index corresponding to the search keyword, and a target operation script corresponding to the target index, and the target index is generated based on a control identifier of a target control that triggers the target function within the first application interface.

[0137] According to one or more embodiments of the present disclosure, before querying the script data set with the search keyword as the index to obtain the target operation script, it also includes: running the target application that includes the target function; in response to a first instruction for the target application, jumping to at least a first application interface, wherein the first application interface includes a target control corresponding to triggering the target function; performing target identification on the first application interface to obtain control information of the target control, wherein the control information represents the position of the target control and a control identifier corresponding to the target control; and generating the script data set based on the control information of the target control and the first instruction.

[0138] According to one or more embodiments of the present disclosure, the first instruction includes an initialization instruction and at least one sub-instruction that are executed in sequence; in response to the first instruction for the target application, at least jump to the first application interface, including: executing the initialization instruction to display the main interface of the target application; looping the following steps until the current application interface is the first application interface: obtaining a jump operation for the current application interface to obtain a corresponding target sub-instruction; in response to the execution of the target sub-instruction, jumping to the target application interface corresponding to the target sub-instruction; updating the current application interface to the target application interface.

[0139] According to one or more embodiments of the present disclosure, after jumping to the target application interface corresponding to the target sub-instruction in response to the execution of the target sub-instruction, it also includes: performing target identification on the target application interface to obtain control information of alternative controls in the target application interface; generating the script data set based on the control information of the target control and the first instruction, including: generating the script data set according to the control information of at least one of the alternative controls, the control information of the target control and the first instruction.

[0140] According to one or more embodiments of the present disclosure, the script data set is generated based on the control information of the target control and the first instruction, including: obtaining a first operation link corresponding to the first instruction, the first operation link being used for unidirectionally jumping from a main interface of a target application to the first application interface; generating a target index and a terminal operation node corresponding to the target control according to the control information; obtaining a target operation script according to the terminal operation node and the first operation link; and generating the script data set according to the target index and the target operation script.

[0141] According to one or more embodiments of the present disclosure, performing target recognition on the first application interface to obtain control information of the target control includes: taking a screenshot of the first application interface to obtain a corresponding interface image; performing character recognition on the interface image to obtain control information of the target control.

[0142] In a second aspect, according to one or more embodiments of the present disclosure, a function search device is provided, including:

[0143] An acquisition module is used to obtain the search keywords corresponding to the target function;

[0144] A search module, used to obtain a corresponding target operation script according to the search keyword, wherein the target operation script is used to execute an operation link for starting the target function, wherein the operation link includes at least one operation node for interface jump;

[0145] An execution module is used to execute the jump operations corresponding to each operation node on the operation link in sequence based on the target operation script to start the target function.

[0146] According to one or more embodiments of the present disclosure, the execution module is specifically used to: obtain target operation coordinates based on the terminal operation node, and the target operation coordinates represent the position of the target control for starting the target function within the first application interface; within the first application interface, trigger the target control corresponding to the target function based on the target operation coordinates to start the target function.

[0147] According to one or more embodiments of the present disclosure, the operation link also includes non-terminal operation nodes. Before triggering the target control corresponding to the target function based on the target operation coordinates, the execution module is also used to: execute the non-terminal operation nodes in sequence based on the operation link, and jump to the first application interface.

[0148] According to one or more embodiments of the present disclosure, the search module is specifically used to: use the search keyword as an index to query a script data set to obtain a target operation script, wherein the script data set includes at least a target index corresponding to the search keyword, and a target operation script corresponding to the target index, and the target index is generated based on a control identifier of a target control that triggers the target function within the first application interface.

[0149] According to one or more embodiments of the present disclosure, before querying the script data set with the search keyword as the index to obtain the target operation script, the search module is also used to: run the target application that includes the target function; in response to a first instruction for the target application, jump to at least a first application interface, wherein the first application interface includes a target control corresponding to triggering the target function; perform target identification on the first application interface to obtain control information of the target control, wherein the control information represents the position of the target control and a control identifier corresponding to the target control; and generate the script data set based on the control information of the target control and the first instruction.

[0150] According to one or more embodiments of the present disclosure, the first instruction includes an initialization instruction and at least one sub-instruction that are executed in sequence; when the search module responds to the first instruction for the target application and jumps to at least the first application interface, it is specifically used to: execute the initialization instruction to display the main interface of the target application; loop the following steps until the current application interface is the first application interface: obtain a jump operation for the current application interface to obtain the corresponding target sub-instruction; in response to the execution of the target sub-instruction, jump to the target application interface corresponding to the target sub-instruction; and update the current application interface to the target application interface.

[0151] According to one or more embodiments of the present disclosure, in response to the execution of the target sub-instruction, after jumping to the target application interface corresponding to the target sub-instruction, the search module is further used to: perform target identification on the target application interface to obtain control information of alternative controls in the target application interface; when the search module generates the script data set based on the control information of the target control and the first instruction, the search module is specifically used to: generate the script data set according to the control information of at least one of the alternative controls, the control information of the target control and the first instruction.

[0152] According to one or more embodiments of the present disclosure, when the search module generates the script data set based on the control information of the target control and the first instruction, it is specifically used to: obtain a first operation link corresponding to the first instruction, and the first operation link is used to jump unidirectionally from the main interface of the target application to the first application interface; generate a target index and a terminal operation node corresponding to the target control according to the control information; obtain a target operation script according to the terminal operation node and the first operation link; and generate the script data set according to the target index and the target operation script.

[0153] According to one or more embodiments of the present disclosure, when the search module performs target recognition on the first application interface and obtains the control information of the target control, it is specifically used to: take a screenshot of the first application interface to obtain the corresponding interface image; perform character recognition on the interface image to obtain the control information of the target control.

[0154] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0155] The memory stores computer-executable instructions;

[0156] The processor executes the computer-executable instructions stored in the memory to implement the function search method described in the first aspect and various possible designs of the first aspect.

[0157] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the function search method described in the first aspect and various possible designs of the first aspect is implemented.

[0158] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the function search method described in the first aspect and various possible designs of the first aspect.

[0159] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0160] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0161] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A function search method, characterized in that: include: Get the search keywords corresponding to the target function; According to the search keyword, a corresponding target operation script is obtained, wherein the target operation script is used to execute an operation link for starting the target function, and the operation link includes at least one operation node for interface jump; Based on the target operation script, the jump operations corresponding to the operation nodes on the operation link are executed in sequence to start the target function.

2. The method according to claim 1, characterized in that The operation link includes at least a terminal operation node; The step of sequentially executing jump operations corresponding to the operation nodes on the operation link based on the target operation script to start the target function includes: Based on the terminal operation node, a target operation coordinate is obtained, where the target operation coordinate represents a position of a target control that starts the target function in the first application interface; In the first application interface, based on the target operation coordinates, a target control corresponding to the target function is triggered to start the target function.

3. The method according to claim 2, characterized in that The operation link also includes a non-terminal operation node. Before triggering the target control corresponding to the target function based on the target operation coordinates, the method also includes: Based on the operation link, the non-terminal operation nodes are executed in sequence and jump to the first application interface.

4. The method according to claim 1, characterized in that: The step of obtaining a corresponding target operation script according to the search keyword includes: Using the search keyword as an index, query a script data set to obtain a target operation script, wherein the script data set includes at least a target index corresponding to the search keyword, and a target operation script corresponding to the target index, and the target index is generated based on a control identifier of a target control that triggers the target function within the first application interface.

5. The method according to claim 4, characterized in that Before querying the script data set with the search keyword as the index to obtain the target operation script, the method further includes: Running a target application program including the target function; In response to a first instruction for a target application, jump to at least a first application interface, wherein the first application interface includes a target control corresponding to triggering the target function; Performing target recognition on the first application interface to obtain control information of the target control, where the control information represents a position of the target control and a control identifier corresponding to the target control; The script data set is generated based on the control information of the target control and the first instruction.

6. The method according to claim 5, characterized in that The first instruction includes an initialization instruction and at least one sub-instruction that are executed in sequence; In response to a first instruction for a target application, at least jumping to a first application interface includes: Executing the initialization instruction to display the main interface of the target application; The following steps are executed repeatedly until the current application interface is the first application interface: Acquire a jump operation for the current application interface and obtain a corresponding target sub-instruction; in response to the execution of the target sub-instruction, jump to a target application interface corresponding to the target sub-instruction; and update the current application interface to the target application interface.

7. The method according to claim 6, characterized in that After jumping to the target application interface corresponding to the target sub-instruction in response to the execution of the target sub-instruction, the method further includes: Performing target recognition on the target application interface to obtain control information of candidate controls in the target application interface; The step of generating the script data set based on the control information of the target control and the first instruction includes: The script data set is generated according to the control information of at least one candidate control, the control information of the target control and the first instruction.

8. The method according to claim 5, characterized in that The step of generating the script data set based on the control information of the target control and the first instruction includes: Acquire a first operation link corresponding to the first instruction, where the first operation link is used to jump from the main interface of the target application program to the first application interface in a one-way manner; Generate a target index and a terminal operation node corresponding to the target control according to the control information; Obtaining a target operation script according to the terminal operation node and the first operation link; The script data set is generated according to the target index and the target operation script.

9. The method according to claim 5, characterized in that The performing target recognition on the first application interface to obtain control information of the target control includes: Taking a screenshot of the first application interface to obtain a corresponding interface image; Character recognition is performed on the interface image to obtain control information of the target control.

10. A function search device, characterized in that: include: An acquisition module is used to obtain the search keywords corresponding to the target function; A search module, used to obtain a corresponding target operation script according to the search keyword, wherein the target operation script is used to execute an operation link for starting the target function, wherein the operation link includes at least one operation node for interface jump; An execution module is used to execute the jump operations corresponding to each operation node on the operation link in sequence based on the target operation script to start the target function.

11. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the function search method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the function search method according to any one of claims 1 to 9 is implemented.

13. A computer program product, characterized in that The invention comprises a computer program, which implements the function search method according to any one of claims 1 to 9 when being executed by a processor.