Information retrieval method and device, electronic equipment and storage medium

By binding the retrieval plug-in to the target software, extracting and backfilling information, the problem of frequent platform switching during the information retrieval process is solved, convenience and efficiency are improved, and efficient knowledge acquisition and application are achieved.

CN118567735APending Publication Date: 2024-08-30THE FOURTH PARADIGM BEIJING TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310339931.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the existing technology, users need to frequently switch between the original workflow and other retrieval platforms when performing information retrieval. The operation is cumbersome, the convenience is poor, and it cannot meet the needs of quickly mastering and applying knowledge.

Method used

By binding the retrieval plug-in to the target software, the search terms are extracted and relevant information is obtained from the application server, and then backfilled into the workflow of the target software, thereby completing information retrieval in the original workflow and reducing platform switching.

Benefits of technology

It simplifies the operation process, improves the convenience and efficiency of information retrieval, ensures the relevance and hit rate of retrieval results, and meets the need for rapid acquisition and application of knowledge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567735A
    Figure CN118567735A
Patent Text Reader

Abstract

The invention relates to an information retrieval method and device, electronic equipment and a storage medium, the method is applied to a retrieval plug-in, the retrieval plug-in is bound with target software, and the method comprises the steps that a retrieval word is extracted from a target workflow of the target software; obtaining target information associated with the search word from an application server; and backfilling the target information into the target workflow to display the target information in a display interface of the target software. Therefore, in the method and the device, the target software and the retrieval plug-in can be bound in advance, namely, the function of the retrieval plug-in can be embedded into the target software in advance, so that the information retrieval can be completed in the target workflow of the target software, namely, the information retrieval can be completed in the original workflow; and frequent switching between the original workflow and other retrieval platforms is not needed, so that the operation process is simplified, and the information retrieval convenience and retrieval efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and more specifically, to an information retrieval method, device, electronic device, and storage medium. Background Art

[0002] In the course of their work, users often encounter scenarios where they need to perform information retrieval or information query. For example, when reviewing a document, a user encounters a word whose specific meaning is unknown, and needs to open an information query platform to query the word's meaning.

[0003] In the related art, when a user needs to search for information, he needs to extract keywords from the original workflow, then jump to other search platforms, and after retrieving the corresponding information on other search platforms, he needs to return to the original workflow to apply the retrieved information to the original workflow. If the user needs to retrieve a lot of information, he needs to frequently switch between the original workflow and other search platforms, which is cumbersome and inconvenient. Summary of the invention

[0004] The present disclosure provides an information retrieval method, device, electronic device and storage medium to at least solve the problem in the above-mentioned related technologies that when performing information retrieval, it is necessary to frequently switch between the original workflow and other retrieval platforms, the operation is cumbersome and the convenience is poor.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an information retrieval method, which is applied to a retrieval plug-in, and the retrieval plug-in is bound to a target software. The method comprises: extracting a search term in a target workflow of the target software; acquiring target information associated with the search term from an application server; and backfilling the target information into the target workflow to display the target information in a display interface of the target software.

[0006] Optionally, the application server stores a search data packet corresponding to the search plug-in, and obtaining target information associated with the search term from the application server includes: obtaining the target information associated with the search term from the search data packet stored in the application server.

[0007] Optionally, the search term is a first designated character input by a user in an editing page of the target software, and the target information is input prompt information for the first designated character, wherein the input prompt information includes at least one of the following items: candidate input characters containing the first designated character, candidate annotation information containing the first designated character, usage prompt information for the first designated character, and content interpretation information for the first designated character.

[0008] Optionally, in the case where the input prompt information is the candidate annotation information, the number of the candidate annotation information is at least one, and after backfilling the target information into the target workflow, it also includes: obtaining target annotation information, wherein the target annotation information is candidate annotation information selected by the user from at least one candidate annotation information displayed in the display interface of the target software; obtaining a target code snippet corresponding to the target annotation information from the application server; and backfilling the target code snippet into the target workflow to display the target code snippet in the display interface of the target software.

[0009] Optionally, the search term is a second designated character selected by a user in a target workflow of the target software, and the target information is content prompt information for the second designated character, wherein the content prompt information includes at least one of the following items: definition information for the second designated character, and definition information for an approximate character that is similar to the second designated character.

[0010] According to a second aspect of an embodiment of the present disclosure, there is provided an information retrieval method, which is applied to a target software, wherein the target software is bound to a retrieval plug-in, and the method comprises: obtaining a target workflow of the target software, wherein the target workflow carries target information backfilled by the retrieval plug-in; and displaying the target information in a display interface of the target software, wherein the target information is information associated with the search term obtained from an application server by the retrieval plug-in after the retrieval plug-in extracts the search term in the target workflow of the target software.

[0011] According to a third aspect of an embodiment of the present disclosure, there is provided an information retrieval method, which is applied to an application server, and the method comprises: receiving a retrieval request from a retrieval plug-in; sending target information to the retrieval plug-in, so that the retrieval plug-in backfills the target information into a target workflow of a target software, so as to display the target information in a display interface of the target software; wherein the target information is information associated with a search term, and the search term is a search term extracted by the retrieval plug-in in the target workflow.

[0012] According to a fourth aspect of an embodiment of the present disclosure, there is provided an information retrieval method, which is applied to a target software, and the method comprises: extracting a search term in a target workflow of the target software; acquiring target information associated with the search term from an application server; backfilling the target information into the target workflow; and displaying the target information in a display interface of the target software.

[0013] According to a fifth aspect of an embodiment of the present disclosure, an information retrieval device is provided, which is included in a retrieval plug-in, and the retrieval plug-in is bound to a target software, including: a retrieval term extraction module, configured to extract retrieval terms in a target workflow of the target software; a target information acquisition module, configured to obtain target information associated with the retrieval terms from an application server; and a target information backfill module, configured to backfill the target information into the target workflow to display the target information in a display interface of the target software.

[0014] According to a sixth aspect of an embodiment of the present disclosure, there is provided an information retrieval device, which is included in a target software, and the target software is bound to a retrieval plug-in, comprising: a workflow acquisition module, configured to acquire a target workflow of the target software, wherein the target workflow carries target information backfilled by the retrieval plug-in; a target information display module, configured to display the target information in a display interface of the target software, wherein the target information is information associated with the search term obtained from an application server by the retrieval plug-in after the retrieval plug-in extracts the search term in the target workflow of the target software.

[0015] According to the seventh aspect of an embodiment of the present disclosure, an application server is provided, comprising: a retrieval request receiving module, configured to receive a retrieval request from a retrieval plug-in; a target information sending module, configured to send target information to the retrieval plug-in, so that the retrieval plug-in backfills the target information into a target workflow of a target software, so as to display the target information in a display interface of the target software; wherein the target information is information associated with a search term, and the search term is a search term extracted by the retrieval plug-in in the target workflow.

[0016] According to an eighth aspect of an embodiment of the present disclosure, there is provided an information retrieval device, which is included in a target software, and comprises: a search term extraction module, configured to extract search terms in a target workflow of the target software; a target information acquisition module, configured to obtain target information associated with the search terms from an application server; a backfill module, configured to backfill the target information into the target workflow; and a target information display module, configured to display the target information in a display interface of the target software.

[0017] According to a ninth aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the information retrieval method according to the present disclosure.

[0018] According to a tenth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information retrieval method according to the present disclosure.

[0019] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0020] In the present disclosure, since the target software and the retrieval plug-in can be bound in advance, that is, since the function of the retrieval plug-in can be embedded in the target software in advance, it is possible to complete information retrieval in the target workflow of the target software, that is, information retrieval can be completed in the original workflow without frequent switching between the original workflow and other retrieval platforms, which simplifies the operation process and improves the convenience and efficiency of information retrieval.

[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0023] Figure 1 is a flowchart illustrating an information retrieval method according to an exemplary embodiment of the present disclosure;

[0024] Figure 2 is a schematic diagram showing a pop-up window displaying code comment information according to an exemplary embodiment of the present disclosure;

[0025] Figure 3 is a schematic diagram showing an annotation method supported by various computer languages ​​according to an exemplary embodiment of the present disclosure;

[0026] Figure 4 is a schematic diagram showing a pop-up window displaying interpretation information of a second designated character according to an exemplary embodiment of the present disclosure;

[0027] Figure 5 is a schematic diagram showing a pop-up window displaying a target code snippet according to an exemplary embodiment of the present disclosure;

[0028] Figure 6 is a schematic diagram showing a highlighted target code snippet according to an exemplary embodiment of the present disclosure;

[0029] Figure 7 is a schematic diagram showing a method of canceling a display pop-up window according to an exemplary embodiment of the present disclosure;

[0030] Figure 8 is a schematic diagram showing a user viewing other code snippets by selecting other candidate annotation information according to an exemplary embodiment of the present disclosure;

[0031] Fig. 9 is a flow chart illustrating another information retrieval method according to an exemplary embodiment of the present disclosure;

[0032] Fig.10 is a schematic diagram showing a plug-in login interface according to an exemplary embodiment of the present disclosure;

[0033] Fig.11 is a schematic diagram showing a plug-in management interface according to an exemplary embodiment of the present disclosure;

[0034] Fig.12 is a schematic diagram showing a pop-up window prompting how to upload a license according to an exemplary embodiment of the present disclosure;

[0035] Fig.13 is a schematic diagram showing a pop-up window prompting how to upload a retrieval data packet according to an exemplary embodiment of the present disclosure;

[0036] Fig.14 is a schematic diagram showing detailed information corresponding to a search data packet in a shell language according to an exemplary embodiment of the present disclosure;

[0037] Fig.15 is a schematic diagram showing a service monitoring page according to an exemplary embodiment of the present disclosure;

[0038] Fig.16 is a flow chart illustrating another information retrieval method according to an exemplary embodiment of the present disclosure;

[0039] Fig.17 is a flow chart illustrating another information retrieval method according to an exemplary embodiment of the present disclosure;

[0040] Fig.18 is a block diagram illustrating an information retrieval apparatus according to an exemplary embodiment of the present disclosure;

[0041] Fig.19 is a block diagram illustrating another information retrieval device according to an exemplary embodiment of the present disclosure;

[0042] Fig. 20 is a block diagram illustrating an application server according to an exemplary embodiment of the present disclosure;

[0043] Fig.21 is a block diagram illustrating another information retrieval device according to an exemplary embodiment of the present disclosure;

[0044] Fig. 22 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0045] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0046] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation methods described in the following examples do not represent all implementation methods consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.

[0047] It should be noted that the phrase "at least one of the items" in the present disclosure includes three types of parallel situations: "any one of the items", "a combination of any number of the items", and "all of the items". For example, "including at least one of A and B" includes the following three parallel situations: (1) including A; (2) including B; (3) including A and B. Another example is "executing at least one of step 1 and step 2" which means the following three parallel situations: (1) executing step 1; (2) executing step 2; (3) executing step 1 and step 2.

[0048] In the software construction and implementation of some vertical scenarios, more business knowledge and skills knowledge are often required. In the context of high personnel mobility in the current software industry, many companies are relatively short of employees with both abilities. How to enable ordinary employees to quickly master and apply these business knowledge and skills knowledge has become a difficult point.

[0049] Traditional knowledge management companies rely on building a knowledge base for knowledge management to provide enterprises with a set of structured / unstructured knowledge precipitation and retrieval platforms to meet employees' needs for knowledge application. However, when users need to retrieve information, they need to extract keywords from the original workflow, then jump to other retrieval platforms, and after retrieving the corresponding information on other retrieval platforms, they need to return to the original workflow to apply the retrieved information to the original workflow. If users need to retrieve a lot of information, they need to frequently switch between the original workflow and other retrieval platforms. The operation is cumbersome, the convenience is poor, and the retrieval efficiency is low, which cannot meet the needs of quickly mastering and applying knowledge.

[0050] In order to solve the above-mentioned problems in the related art, the information retrieval method, device, electronic device and storage medium provided by the present invention can bind the target software with the retrieval plug-in in advance, that is, since the function of the retrieval plug-in can be embedded in the target software in advance, therefore, information retrieval can be completed in the target workflow of the target software, that is, information retrieval can be completed in the original workflow, without frequent switching between the original workflow and other retrieval platforms, thereby simplifying the operation process and improving the convenience and efficiency of information retrieval.

[0051] Example 1

[0052] Figure 1 is a flow chart illustrating an information retrieval method according to an exemplary embodiment of the present disclosure, which is applied to a retrieval plug-in, and the retrieval plug-in is bound to a target software.

[0053] Reference Figure 1 ,In step 101, search terms may be extracted in a target workflow of a target software.

[0054] The target software may be any software with a plug-in binding function, for example, it may be software of a third party (such as a client enterprise), or software of the same enterprise, without any particular limitation. Below, the target software is the software of the client enterprise as an example for explanation. The search plug-in may be a plug-in provided by a supplier to the client enterprise for use, and the target workflow may be a workflow generated in the process of using the target software.

[0055] In this step, the search terms extracted by the search plug-in may be various types of characters, and may include, but not limited to, at least one of the following: words, letters, numbers, annotation symbols, punctuation marks, etc., without exhausting the list.

[0056] In step 102, target information associated with the search term may be obtained from an application server.

[0057] The application server may be a server corresponding to the target software and may provide corresponding software services for the target software. After installing the search plug-in on the application server and integrating the search plug-in with the target software of the client enterprise at the front end, the target software and the search plug-in may be bound. At this point, when the employees of the client enterprise use the target software within the enterprise, they may use the information search function of the search plug-in bound to the target software.

[0058] In this step, the "target information" may include but is not limited to at least one of the following: interpretation content for the search term, interpretation content for words similar to the search term, code annotation information containing the search term, etc. Exemplarily, assuming that the search term is the English word "speak", the interpretation content for the search term "speak" may be the Chinese interpretation, part of speech, and related grammar of "speak", etc.; a word similar to the search term "speak" may be "talk", and the interpretation content for the word "talk" similar to the search term "speak" may be the Chinese interpretation, part of speech, and related grammar of "talk", etc.; assuming that the search term is "#delete", the code annotation information containing the search term "#delete" may be "#delete file function", that is, the code annotation information may be the specific name of the code function containing the search term.

[0059] According to an exemplary embodiment of the present disclosure, a search data packet corresponding to the search plug-in may be stored in the application server, and the search plug-in may obtain target information associated with the search term from the search data packet stored in the application server. It should be noted that the search plug-in may also query the target information associated with the search term online or in other ways, and the present disclosure does not specifically limit the way of obtaining the target information.

[0060] The "search data package" may also be referred to as a "knowledge package", a "service package", etc. The search data package may be stored in the application server when the search plug-in is installed.

[0061] The "search data packet" may include multiple code annotation information and code snippets corresponding to each code annotation information. Exemplarily, the "search data packet" may include multiple script files (Script) and multiple functions (function) in each of multiple computer languages. The multiple computer languages ​​may be at least one of shell language, sql language, python language, powershell language, perl language, windows language, and bat language, which are not exhaustive.

[0062] The "search data packet" may also include interpretation information corresponding to each of the multiple characters. Exemplarily, the "search data packet" may include interpretation information of multiple application programming interfaces (APIs) in each of the multiple computer languages.

[0063] It should be noted that in the related art, when information retrieval is performed on other retrieval platforms, a large number of retrieval results are usually returned, but in fact the results that the user wants are only a small part of the large number of retrieval results. Therefore, the retrieval results obtained by the retrieval method in the related art are difficult to directly hit the results that the user wants, and the retrieval hit rate is poor. In the present disclosure, since the correspondence between the retrieval content and the retrieval results is pre-defined in the retrieval data packet, the present disclosure can ensure that the results obtained by the retrieval are results that are highly correlated with the retrieval content, that is, it can ensure that the retrieval results just hit the results that the user wants, and the retrieval hit rate is high.

[0064] Furthermore, in the related art, other search platforms perform an unordered search when performing information retrieval, that is, all results related to the search content are returned to the user, which requires the user to spend a long time reading all the results to find the results they want, which reduces the search efficiency. In the present disclosure, since the correspondence between the search content and the search results is pre-defined in the search data packet, the present disclosure will only return specific results in the search data packet that are strongly related to the search content, that is, the present disclosure can ensure that the returned search results are likely to directly hit the results that the user wants, and the user does not need to read and search in a large number of search results to obtain the results they want, which can greatly improve the search efficiency.

[0065] Furthermore, by defining the domain knowledge in the retrieval data packet, by controlling different retrieval data packets, the knowledge application for different scenarios can be controlled, which greatly reduces the cost of scenario migration and data update, and realizes flexible migration, flexible update and flexible acquisition of knowledge. The application scenarios of the retrieval plug-in in the present disclosure may include but are not limited to at least one of the following: code writing scenario, contract review scenario, question-answering scenario, etc., which are not exhaustive. At this time, the above-mentioned target software can be the corresponding code writing software, contract review software, question-answering software, etc. Furthermore, in different application scenarios, the content contained in the retrieval data packet may be different.

[0066] For example. For code writing scenarios, the search data package may include multiple code annotation information and code snippets corresponding to each code annotation information; for contract review scenarios, the search data package may include multiple legal clauses and specific legal content corresponding to each legal clause; for question-answering scenarios, if the question-answering software is math question-answering software, the search data package may include the names of multiple math functions and specific function formulas corresponding to the name of each math function and corresponding test examples; if the question-answering software is physics question-answering software, the search data package may include the names of multiple physical laws and the physical law formulas corresponding to the name of each physical law and corresponding test examples; if the question-answering software is chemistry question-answering software, the search data package may include multiple chemical terms and the chemical properties, uses, chemical equations for reactions with other substances, etc. corresponding to each chemical term.

[0067] Furthermore, the target information returned by the application server may be in a variety of forms, for example, text, static image, dynamic image, audio and video, etc. The present disclosure does not impose any specific restrictions on the specific form of the target information, and the aforementioned implementation is merely an exemplary description.

[0068] According to an exemplary embodiment of the present disclosure, the above-mentioned "search term" may be the first designated character input by the user in the editing page of the target software, and the above-mentioned "target information" may be input prompt information for the first designated character. The "input prompt information" may include at least one of the following items: "candidate input characters containing the first designated character", "candidate annotation information containing the first designated character", "usage prompt information for the first designated character", "content interpretation information for the first designated character".

[0069] Exemplarily, the "candidate input character" may be a whole code segment including the first designated character; the "candidate comment information" may be code comment information including the first designated character; the "usage hint information for the first designated character" may be hint information for indicating how the code related to the first designated character should be written, or may be hint information for indicating how the first designated character is used in the code; when the first designated character itself is a code fragment, the "content interpretation information for the first designated character" may be content interpretation information for the code fragment.

[0070] Exemplarily, the first designated character entered by the user in the editing page of the target software may be "#delete", and the target information associated with "#delete" may be code comment information containing "#delete". Furthermore, the number of code comment information containing "#delete" may be 5, namely "#delete user", "#delete file", "#delete file function", "#user delete function", and "#loop delete directory". Furthermore, a pop-up window may pop up in the display interface of the target software, and the above code comment information may be displayed in the pop-up window.

[0071] Figure 2 is a schematic diagram showing a pop-up window displaying code comment information according to an exemplary embodiment of the present disclosure. Figure 2 , the first designated character entered by the user in the editing page of the target software is “#delete”, at this time, the pop-up window displays the above 5 code comment information including “#delete”.

[0072] It should be noted that different computer languages ​​may support different annotation methods. Figure 3 is a schematic diagram showing an annotation method supported by various computer languages ​​according to an exemplary embodiment of the present disclosure. Figure 3 , the comment method supported by shell language is “#comment”; the comment method supported by bat language is “rem comment”, “@remcomment”, “::comment”; the comment method supported by perl language is “#comment”; the comment method supported by python language is “#comment”; the comment method supported by sql language is “--comment”; the comment method supported by powershell language is “#comment”.

[0073] It should be understood that the disclosed embodiment has no particular restrictions on what characters the user customizes to input. However, in this embodiment, when the character customized to input by the user is a preset first designated character, this solution can be triggered to display the target information corresponding to the first designated character. The first designated character is a character contained in the search data packet, and the first designated character can be customized and preset in advance within the scope of the search data packet. In different business scenarios, the data in the search data packet is different, and the preset content of the first designated character can also be different.

[0074] According to an exemplary embodiment of the present disclosure, the above-mentioned "search term" may also be a second designated character selected by the user in the target workflow of the target software, and the above-mentioned "target information" may be content prompt information for the second designated character. The "content prompt information" may include at least one of the following items: interpretation information for the second designated character, and interpretation information for an approximate character similar to the second designated character.

[0075] For example, the second designated character selected by the user in the target workflow of the target software may be "adduser", and in this case, the "target information" may be interpretation information for the second designated character "adduser". Furthermore, a pop-up window may be popped up in the display interface of the target software, and the above interpretation information may be displayed in the pop-up window.

[0076] Figure 4 2 is a schematic diagram showing a pop-up window displaying interpretation information of a second designated character according to an exemplary embodiment of the present disclosure. Figure 4 , a pop-up window popped up in the display interface of the target software displays the interpretation information for the second specified character "adduser".

[0077] It should be noted that the second designated character is determined based on the user's selection in the target software. Specifically, when the user selects the second designated character in the target software, there are multiple selection methods. Exemplarily, the user can select the second designated character through "hover operation", "swipe operation" or any other selection method.

[0078] Among them, for the "hover operation", the user can hover the mouse at the second designated character in the display interface of the target software. When the hovering time reaches the preset time, a pop-up window can be popped up, and the content prompt information for the second designated character can be displayed in the pop-up window. When the user moves the mouse to other positions in the display interface of the target software except the pop-up window and stays for the preset time, the pop-up window can be canceled. The "preset time" can be set according to actual needs. For example, it can be set to 200 milliseconds, which is not exhaustive or limited.

[0079] For the "swipe operation", the user can swipe any word consisting of a string, number, underscore, or dash (not exhaustive) in the display interface of the target software. At this time, a pop-up window will pop up (or directly display in the display interface of the target software, as explained later), and the content prompt information for the swiped word will be displayed in the pop-up window. When the user clicks anywhere in the display interface of the target software, the pop-up window can be canceled. In addition, the priority of the "swipe operation" can be higher than that of the "hover operation", that is, the user moving the mouse after swiping the content will not trigger the hover logic, unless the swipe is canceled by clicking anywhere in the display interface of the target software.

[0080] In this way, as long as the user hovers or swipes in the display interface of the target software, the system will automatically pick up the relevant search terms, i.e. keywords, and then directly pop up a window to prompt content prompt information related to the search terms, thereby realizing automatic picking up of knowledge, that is, information retrieval can be completed in the original workflow without frequent switching between the original workflow and other retrieval platforms, simplifying the operation process and improving the convenience and efficiency of information retrieval.

[0081] In step 103, the target information may be backfilled into the target workflow to display the target information in the display interface of the target software.

[0082] As mentioned above, a pop-up window can be popped up in the display interface of the target software and the target information can be displayed in the pop-up window. Alternatively, the target information can be directly displayed in the display interface of the target software, for example, the target information can be displayed in the input area of ​​the display interface, or the target information can be displayed in the status bar of the display interface, or the target information can be displayed in the left (or right) area of ​​the display interface. The area in the display interface for displaying the target information can be a fixed area for normal display, or it can be a display area with a hiding function. For example, when the target information does not need to be displayed, the area can be hidden in the display interface, and when the target information needs to be displayed, the area is displayed in the display interface.

[0083] In the present disclosure, different prompting methods can be adopted based on the prompting type of the target information in the business scenario. Specifically, the target information that can be used to input content in the business scenario can be directly displayed in the input box (or other editable area) of the display interface of the target software, for example, the editable code, editable text, character, formula, etc. in the editing scenario can be prompted in the input box; or, the target information that is only used for prompting can be prompted through a non-editing prompting method, for example, the usage or explanation of a certain character can be prompted.

[0084] Give an example. The application scenarios of the retrieval plug-in in the present disclosure can be code writing scenarios, contract review scenarios, question-answering scenarios, and the like. In the code writing scenario, the target information that needs to be prompted is editable information (such as code). Therefore, the target information can be directly displayed in the editing interface of the display interface of the target software, avoiding a series of tedious operations in which the user manually enters lengthy code snippets, and the operation is more convenient; however, in the contract review scenario and question-answering scenario, the target information that needs to be prompted is only used to prompt the user, for example, prompting problem-solving ideas, contract review rules, and doubtful points in the contract. Then, since the application server returns prompt information, the target information can be displayed through pop-ups, status bars, (hidden) sidebars, and the like.

[0085] According to an exemplary embodiment of the present disclosure, when the input prompt information is candidate annotation information, the number of candidate annotation information may be at least one, and after the candidate annotation information is backfilled into the target workflow, the target annotation information may also be obtained. The target annotation information may be the candidate annotation information selected by the user from at least one candidate annotation information displayed in the display interface of the target software. Exemplarily, the user may select the target annotation information by pressing the up and down keys on the keyboard or controlling the mouse to slide up and down.

[0086] Return to reference Figure 2 , the user can select the target annotation information: "#deleteuser" from the five code annotation information displayed in the display interface of the target software. Then, the retrieval plug-in can obtain the target code snippet corresponding to the target annotation information from the application server, that is, the target code snippet corresponding to "#deleteuser" can be obtained from the application server. Next, the target code snippet can be backfilled into the target workflow to display the target code snippet in the display interface of the target software. Exemplarily, the target code snippet can be displayed in a pop-up window on the display interface of the target software.

[0087] Figure 5 is a schematic diagram showing a pop-up window displaying a target code snippet according to an exemplary embodiment of the present disclosure. Figure 5 , a pop-up window is displayed on the display interface of the target software, the left side of the pop-up window displays the above 5 code annotation information, and the right side of the pop-up window displays the target annotation information: the code snippet corresponding to "#delete user". In this way, the present disclosure also has the ability of intelligent backfilling. The user only needs to select from multiple candidate annotation information, and the system can intelligently remind the relevant code snippets, that is, it can realize the completion of information retrieval in the original workflow, without the need to frequently switch between the original workflow and other retrieval platforms, simplifying the operation process and improving the convenience and efficiency of information retrieval.

[0088] If the user wants to keep the target code snippet, the user can adopt the target code snippet by clicking the "Tab" button or clicking the target comment information (or other custom preset methods). At this time, the adopted target code snippet can be highlighted. Figure 6 is a schematic diagram showing a highlighted target code segment according to an exemplary embodiment of the present disclosure.

[0089] Alternatively, if the user does not want to keep the target code snippet, the user can click the "Enter" button (or other custom preset methods) to prohibit the adoption of the target code snippet. At this time, the pop-up window can be canceled. Figure 7 2 is a schematic diagram showing a method of canceling a display pop-up window according to an exemplary embodiment of the present disclosure.

[0090] Further, after adopting a code snippet, the user can continue to view code snippets corresponding to other candidate annotation information, that is, the user can view other code snippets by selecting other candidate annotation information. At this time, the last adopted code snippet can be displayed below the multiple candidate annotation information. Figure 8 FIG. 1 is a schematic diagram showing a user viewing other code snippets by selecting other candidate annotation information according to an exemplary embodiment of the present disclosure. Figure 8 The pop-up window displays 5 code comments and the code snippet corresponding to the code comment "#Delete user", and the last adopted code snippet is highlighted below the 5 code comments.

[0091] Example 2

[0092] Fig. 9 is a flow chart illustrating another information retrieval method according to an exemplary embodiment of the present disclosure, which is applied to target software, and the target software is bound to a retrieval plug-in.

[0093] Reference Fig. 9 In step 901, a target workflow of a target software may be obtained.

[0094] The target workflow may carry target information filled in by the search plug-in. The meaning and description of the target software, target workflow and search plug-in can be found in the previous text and will not be repeated here.

[0095] In step 902, target information may be displayed in a display interface of the target software.

[0096] The target information may be information associated with the search term obtained from the application server after the search plug-in extracts the search term in the target workflow of the target software.

[0097] like Fig. 9The embodiment shown is an information retrieval scheme executed by the target software side and executed by the retrieval plug-in side (eg Figure 1 Therefore, for details, please refer to the previous embodiment, and no further description will be given here.

[0098] According to an exemplary embodiment of the present disclosure, before obtaining the target workflow of the target software, the front-end code corresponding to the retrieval plug-in can also be obtained. Among them, the volume of the front-end code corresponding to the retrieval plug-in is relatively small, and may be only a few dozen lines of code. Then, the target software and the front-end code can be code-fused to bind the target software to the retrieval plug-in. Exemplarily, the IT personnel of the client company can copy and paste the front-end code corresponding to the retrieval plug-in into the code of the target software of the client company, that is, the front-end code corresponding to the retrieval plug-in can be copied and pasted into the extension program page of the target software platform, so as to achieve the binding of the target software and the retrieval plug-in. At this point, when using the target software, the retrieval function of the retrieval plug-in bound to the target software can be used.

[0099] Thus, in the present disclosure, as long as the search plug-in is deployed on the application server and the code fusion is completed on the front end, information retrieval can be completed in the original workflow, that is, knowledge enhancement can be completed in the original workflow, without frequent switching between the original workflow and other search platforms, which simplifies the operation process and improves the convenience and efficiency of information retrieval. In addition, the cost of code fusion of the search plug-in with the target software is low, the search plug-in is plug-and-play, and it only takes 1 to 2 days of development to embed the plug-in with the target software.

[0100] According to an exemplary embodiment of the present disclosure, as described above, the search term may be the first designated character input by the user in the editing page of the target software, and the target information may be input prompt information for the first designated character. In the case where the input prompt information is candidate annotation information, the number of candidate annotation information may be at least one. After displaying at least one candidate annotation information in the display interface of the target software, the target annotation information selected by the user from the at least one candidate annotation information displayed in the display interface of the target software may also be determined. Exemplarily, the user may select the target annotation information by pressing the up and down keys on the keyboard or by controlling the mouse to slide up and down.

[0101] Then, the target code snippet that the retrieval plug-in backfills into the target workflow can be obtained. Next, the target code snippet can be displayed in the display interface of the target software. Among them, the target code snippet can be a code snippet corresponding to the target annotation information obtained by the retrieval plug-in from the application server. Exemplarily, the target code snippet can be displayed in a pop-up window on the display interface of the target software. In this way, the present disclosure also has intelligent backfilling capabilities. Users only need to select from multiple candidate annotation information, and the system can intelligently remind relevant code snippets, that is, information retrieval can be completed in the original workflow without frequent switching between the original workflow and other retrieval platforms, which simplifies the operation process and improves the convenience and efficiency of information retrieval.

[0102] According to an exemplary embodiment of the present disclosure, after the target code snippet is displayed in the display interface of the target software, the target code snippet can also be retained in response to a retention operation for the target code snippet, and the target code snippet can be highlighted. Exemplarily, if the user wants to retain the target code snippet, the target code snippet can be adopted by clicking the "Tab" button or by clicking the target annotation information with the mouse. At this time, the adopted target code snippet can be highlighted. Alternatively, if the user does not want to retain the target code snippet, the adoption of the target code snippet can be prohibited by clicking the "Enter" button. At this time, the pop-up window can be canceled.

[0103] In this way, by highlighting the adopted target code snippet, the adopted code snippet can be distinguished from other code snippets currently viewed by the user, making it easier for the user to intuitively understand which code snippets have been adopted and which code snippets are being viewed, thereby avoiding confusion between the adopted code snippet and the code snippet that the user is viewing that has not yet been adopted.

[0104] According to an exemplary embodiment of the present disclosure, before obtaining the target workflow of the target software, a link to the plug-in management interface corresponding to the retrieval plug-in can also be obtained. The link can be a link generated after the retrieval plug-in is installed on the application server. It should be noted that the supplier can provide an installation package for the retrieval plug-in, and the IT personnel of the client company can install the installation package on the application server of the client company. After the deployment of the retrieval plug-in is completed on the application server, a link to the plug-in management interface and a customer ID will be generated, and the customer ID is used to uniquely indicate which customer company the corresponding customer company is.

[0105] Then, in response to the link being triggered, the plug-in management interface can be obtained and displayed from the application server. Exemplarily, after the IT personnel of the client company obtains the link, they can click on the link, and at this time, the plug-in management interface can be obtained from the application server. It should be noted that the application server can directly return the plug-in management interface to the front end, or the application server can first return a plug-in login interface to the front end, and the IT personnel of the client company will only obtain the plug-in management interface from the application server after entering the user name and password in the plug-in login interface. Fig.10 is a schematic diagram showing a plug-in login interface according to an exemplary embodiment of the present disclosure.

[0106] Next, you can upload the license and retrieval data package in the plug-in management interface to send the license and retrieval data package to the application server, so that the application server can open the use rights of the retrieval data package based on the license. Among them, the license is a form of contract between the supplier and the customer to authorize / be authorized on the scope of use, term, etc. of the products sold / purchased. Through the license, the customer obtains the corresponding services promised by the supplier. As mentioned above, after the deployment of the retrieval plug-in is completed on the application server, a customer ID will be generated. The IT personnel of the customer company can send the customer ID to the supplier, and then the supplier can provide the license and retrieval data package to the IT personnel of the customer company, and the license provided by the supplier can include the above customer ID.

[0107] Fig.11 is a schematic diagram showing a plug-in management interface according to an exemplary embodiment of the present disclosure. Fig.11 , the name of the client company and the client ID are displayed at the top of the plugin management interface of the search plugin. It should be noted that in the present disclosure, the interpretation information of script files, functions and APIs in different computer languages ​​can be placed in the same search data packet, or a corresponding search data packet can be set separately for each computer language. In this case, the search data packet corresponding to each computer language only contains the interpretation information of script files, functions and APIs in that computer language.

[0108] Reference Fig.11The plug-in management interface of the retrieval plug-in displays labels such as "Data Package Name", "Version", "Update Cycle", "Subscription Deadline", and "Data Package Status". Among them, the "Update Cycle" is used to indicate how long the retrieval data package is updated. The "Subscription Deadline" is used to indicate the expiration date of the retrieval data package, that is, before the "Subscription Deadline", that is, within the validity period of the license, the retrieval data package can be updated for free; after the "Subscription Deadline", that is, after the license expires, the customer company will no longer enjoy the free update service of the retrieval data package. The "Data Package Status" can include 4 states, namely "Not Imported", "Import Failed", "Subscribing", and "Expired". Fig.11 In the figure, the relevant information of the search data package in 6 computer languages ​​is displayed. These 6 computer languages ​​are shell language, sql language, python language, powershell language, perl language and bat language.

[0109] Furthermore, Fig.11 The plug-in management interface shown also includes the options of "Import Data Package", "Update Data Package", "License Import" and "Update License". The IT personnel of the customer company can import / update the license by clicking "License Import" / "Update License". The uploaded license file format needs to be in the "license.key" format, and other formats of files will not be parsed. Fig.12 FIG. 1 is a schematic diagram showing a pop-up window prompting how to upload a license according to an exemplary embodiment of the present disclosure. Fig.12 The pop-up window displays a prompt message: "Drag the file to the designated area or click Upload to complete the upload", "Support license.key format upload". In addition, the pop-up window also displays a "Confirm" button and a "Cancel" button.

[0110] The IT staff of the client company can also import / update the search data package by clicking "Import Data Package" / "Update Data Package". The uploaded search data package can be in "zip" format. Fig.13 is a schematic diagram showing a pop-up window prompting how to upload a retrieval data packet according to an exemplary embodiment of the present disclosure. Fig.13 The pop-up window displays a prompt message: "Drag the file to the specified area or click Upload to complete the upload", "Support zip compressed package upload". In addition, the pop-up window also displays a "Confirm" button and a "Cancel" button.

[0111] Furthermore, the IT personnel of the client company can also click the expansion button corresponding to the search data package under a certain computer language, and then the detailed introduction information of the search data package can be displayed. Fig.11 If the user clicks the expansion button corresponding to the search data package under the shell language, the creation date, update time, information of the script file contained in the search data package under the shell language, and API information can be displayed. Fig.14 FIG. 1 is a schematic diagram showing detailed information corresponding to a search data packet in a shell language according to an exemplary embodiment of the present disclosure. Fig.14 The creation date of the search data package under the shell language is 2023-01-09 14:24:30; the update time is 2023-01-09 16:51:21; the search data package under the shell language contains 500 api data and 300 script data. It should be noted that the IT staff of the customer company can also click Fig.11 Click the "Logout button" in the upper right corner to log out of the plug-in management interface.

[0112] It should be noted that the target software can also manage the search data package, that is, as long as the search data package of the new field is imported, the information search scope of the search plug-in can be freely expanded. As mentioned above, the application scenarios of the search plug-in in the present disclosure can be code writing scenarios, contract review scenarios, question-answering scenarios, etc.

[0113] Exemplarily, for the scenario of brushing questions, if the target software is a physics brushing question software, the retrieval data packet may contain the names of multiple physical laws and the physical law formulas corresponding to the names of each physical law and the corresponding test examples. However, physics and mathematics are closely related, that is, various functions in the field of mathematics are often needed in the physics problem-solving scenario. Therefore, in the case where the target software is a physics brushing question software, in addition to storing retrieval data packets related to physical knowledge in the application server, a part of retrieval data packets related to mathematical knowledge can also be uploaded to the application server through the plug-in management interface. In this way, it is realized that the information retrieval scope of the retrieval plug-in is expanded by managing the retrieval data packet through the target software, that is, cross-disciplinary and cross-domain information retrieval can be realized, and the retrieved target information can be made more comprehensive and the knowledge covered is wider, which improves the retrieval function of the retrieval plug-in and improves the service quality of the retrieval plug-in.

[0114] According to an exemplary embodiment of the present disclosure, the plug-in management interface may further include a service monitoring option. In response to a click operation on the service monitoring option, a service monitoring page may be obtained and displayed from the application server. The service monitoring page may include at least one of the following items: the total number of calls for retrieving data packets, the service status of retrieving data packets, the number of terminals currently using the retrieval plug-in, and the average response time for obtaining target information associated with the search term from the application server.

[0115] Fig.15 is a schematic diagram showing a service monitoring page according to an exemplary embodiment of the present disclosure. Fig.15 , showing the total number of calls to the search data package: 100,000 times; the service status of the search data package: normal; the number of terminals currently using the search plug-in, that is, the number of current online pages: 15; the average response time to obtain the target information associated with the search term from the application server: 320.00 milliseconds (10 minutes), 300.00 milliseconds (days), 300.00 milliseconds (weeks), 300.00 milliseconds (months). In addition, the service monitoring page can also display information such as service memory, CPU usage, and service address.

[0116] In this way, by displaying the service monitoring page, the IT personnel of the client company can monitor the usage of the retrieval data package in real time, and then update and maintain the retrieval data package in time, thereby ensuring the effectiveness and accuracy of the retrieval data package and improving the service quality of the retrieval data package.

[0117] Example 3

[0118] Fig.16 is a flow chart illustrating another information retrieval method according to an exemplary embodiment of the present disclosure, which is applied to an application server.

[0119] Reference Fig.16 In step 1601, a search request from a search plug-in may be received. The search plug-in is bound to the target software. The meaning and description of the target software and the search plug-in can be found in the previous text and will not be repeated here.

[0120] In step 1602, the target information may be sent to the search plug-in so that the search plug-in fills the target information back into the target workflow of the target software to display the target information in the display interface of the target software. The target information may be information associated with the search term, the search term may be the search term extracted by the search plug-in in the target workflow, and the target workflow may be a workflow generated in the process of using the target software.

[0121] According to an exemplary embodiment of the present disclosure, before receiving a search request from a search plug-in, an installation package corresponding to the search plug-in can also be obtained, and the installation package can be an installation package of the search plug-in provided by the supplier to the client enterprise. Then, the IT personnel of the client enterprise can install the search plug-in on the application server of the client enterprise based on the installation package. After the installation of the search plug-in is completed, that is, after the deployment of the search plug-in is completed on the application server, a customer ID and a link to the plug-in management interface corresponding to the search plug-in can be generated. Among them, the customer ID is used to uniquely indicate which customer enterprise the corresponding customer enterprise is.

[0122] According to an exemplary embodiment of the present disclosure, before receiving a search request from a search plug-in, a plug-in management interface corresponding to the search plug-in may be sent to the target software. The plug-in management interface may be an interface sent to the target software after a link is triggered, the link may be a link to the plug-in management interface acquired by the target software, and the link may be a link generated after the search plug-in is installed on the application server.

[0123] Then, the license certificate and the search data packet sent by the target software can be received, wherein the license certificate and the search data packet can be sent to the application server by the target software by uploading the license certificate and the search data packet to the plug-in management interface.

[0124] As described in the previous embodiment, a license is a form of contract between a supplier and a customer to authorize / be authorized for the scope of use and term of the product sold / purchased. Through the license, the customer obtains the corresponding service promised by the supplier. In addition, after the deployment of the retrieval plug-in is completed on the application server, a customer ID will be generated. The IT personnel of the customer company can send the customer ID to the supplier, and then the supplier can provide the IT personnel of the customer company with the license and the retrieval data package, and the license provided by the supplier can include the above customer ID. Next, the use rights of the retrieval data package can be opened based on the license.

[0125] According to an exemplary embodiment of the present disclosure, the target client ID may be included in the license certificate. If the target client ID is consistent with the current login client ID of the plug-in management interface, the right to use the retrieval data package may be opened; otherwise, the right to use the retrieval data package may be prohibited.

[0126] As mentioned above, the IT staff of the client company can upload the license and search data package in the plug-in management interface to send the license and search data package to the application server. At this time, the application server can determine whether the customer ID included in the license is consistent with the current login customer ID in the plug-in management interface.

[0127] When the customer ID contained in the license is consistent with the currently logged-in customer ID of the plug-in management interface, it can be determined that the license is indeed the license corresponding to the customer enterprise, that is, it can be determined that the customer enterprise does have the right to use the retrieval data package. In this case, the right to use the retrieval data package can be opened; when the customer ID contained in the license is inconsistent with the currently logged-in customer ID of the plug-in management interface, it can be determined that the license is not the license corresponding to the customer enterprise, but may be a license corresponding to other enterprises obtained by the customer enterprise from other enterprises, that is, it can be determined that the customer enterprise does not have the right to use the retrieval data package. In this case, the right to use the retrieval data package can be prohibited.

[0128] In this way, by embedding the customer ID in the license certificate and comparing the customer ID contained in the license certificate with the currently logged-in customer ID of the plug-in management interface, it is possible to determine whether the customer enterprise currently logged into the plug-in management interface has the right to use the retrieval data package, thereby avoiding the situation where some enterprises steal the retrieval data packages purchased by other enterprises, and effectively reducing the economic losses caused to suppliers due to the theft of retrieval data packages.

[0129] Example 4

[0130] Fig.17 1 is a flowchart showing another information retrieval method according to an exemplary embodiment of the present disclosure, which is applied to target software. The target software itself may have an information retrieval function, that is, the target software itself may include an information retrieval module, that is, the target software does not need to be bound to a separate retrieval plug-in. In addition, the steps of the aforementioned embodiments 1 and 2 may be executed by the target software in this embodiment.

[0131] Reference Fig.17 In step 1701, the search term may be extracted from the target workflow of the target software. The meaning and description of the target workflow and the search term may be referred to in the previous text, and will not be repeated here.

[0132] In step 1702, target information associated with the search term may be obtained from the application server, wherein the "target information" may include but is not limited to: interpretation content for the search term, interpretation content for words similar to the search term, code annotation information containing the search term, and the like.

[0133] According to an exemplary embodiment of the present disclosure, the above-mentioned “search term” may be the first designated character input by the user in the editing page of the target software, and the above-mentioned “target information” may be input prompt information for the first designated character. The “input prompt information” may include at least one of the following items:

[0134] “Candidate input characters including the first designated character”, “Candidate annotation information including the first designated character”, “Usage prompt information for the first designated character”, “Content interpretation information for the first designated character”.

[0135] According to an exemplary embodiment of the present disclosure, the above-mentioned “search term” may also be a second designated character selected by the user in the target workflow of the target software, and the above-mentioned “target information” may be content prompt information for the second designated character. The “content prompt information” may include at least one of the following items:

[0136] Definition information for the second designated character, and definition information for similar characters similar to the second designated character.

[0137] In step 1703, the target information may be backfilled into the target workflow, that is, the input prompt information or content prompt information associated with the search term may be backfilled into the target workflow of the target software.

[0138] In step 1704, the target information may be displayed in the display interface of the target software. For example, a pop-up window may be popped up in the display interface of the target software, and the target information may be displayed in the pop-up window.

[0139] According to an exemplary embodiment of the present disclosure, when the input prompt information is candidate annotation information, the number of candidate annotation information can be at least one. After displaying at least one candidate annotation information in the display interface of the target software, the target annotation information selected by the user from the at least one candidate annotation information displayed in the display interface of the target software can also be determined.

[0140] Then, the target code fragment corresponding to the target annotation information can be obtained from the application server. Next, the target code fragment can be displayed in the display interface of the target software.

[0141] According to an exemplary embodiment of the present disclosure, after the target code snippet is displayed in the display interface of the target software, the target code snippet may be retained in response to a retaining operation on the target code snippet, and the target code snippet may be highlighted.

[0142] Example 5

[0143] Based on the information retrieval method provided in Example 1, the present disclosure further provides an information retrieval device and a retrieval plug-in. Fig.18 is a block diagram illustrating an information retrieval device according to an exemplary embodiment of the present disclosure, the information retrieval device may be included in a retrieval plug-in, and the retrieval plug-in may be bound to target software.

[0144] Reference Fig.18 The device 1800 may include a search term extraction module 1801 , a target information acquisition module 1802 and a target information backfilling module 1803 .

[0145] The search term extraction module 1801 is configured to extract the search term in the target workflow of the target software;

[0146] The target information acquisition module 1802 is configured to acquire target information associated with the search term from the application server;

[0147] The target information backfilling module 1803 is configured to backfill the target information into the target workflow so as to display the target information in the display interface of the target software.

[0148] According to an exemplary embodiment of the present disclosure, a search data packet corresponding to the search plug-in is stored in the application server, and the target information acquisition module 1802 is configured to acquire target information associated with the search term from the search data packet stored in the application server.

[0149] According to an exemplary embodiment of the present disclosure, the search term is the first designated character input by the user in the editing page of the target software, and the target information is input prompt information for the first designated character, wherein the input prompt information includes at least one of the following items: candidate input characters containing the first designated character, candidate annotation information containing the first designated character, usage prompt information for the first designated character, and content interpretation information for the first designated character.

[0150] According to an exemplary embodiment of the present disclosure, when the input prompt information is candidate annotation information, the number of candidate annotation information is at least one, and the information retrieval device 1800 may further include:

[0151] An annotation information acquisition module is configured to acquire target annotation information, wherein the target annotation information is candidate annotation information selected by a user from at least one piece of candidate annotation information displayed in a display interface of the target software;

[0152] A code snippet acquisition module is configured to acquire a target code snippet corresponding to the target annotation information from the application server;

[0153] The code snippet backfill module is configured to backfill the target code snippet into the target workflow to display the target code snippet in the display interface of the target software.

[0154] According to an exemplary embodiment of the present disclosure, the search term is a second designated character selected by a user in a target workflow of a target software, and the target information is content prompt information for the second designated character, wherein the content prompt information includes at least one of the following items: interpretation information for the second designated character, and interpretation information for an approximate character that is similar to the second designated character.

[0155] Example 6

[0156] Based on the information retrieval method provided in Example 2, the present disclosure further provides an information retrieval device and target software. Fig.19 is a block diagram showing another information retrieval device according to an exemplary embodiment of the present disclosure, the information retrieval device may be included in target software, and the target software may be bound to a retrieval plug-in.

[0157] Reference Fig.19 , the device 1900 may include a workflow acquisition module 1901 and a target information display module 1902.

[0158] The workflow acquisition module 1901 is configured to acquire a target workflow of a target software, wherein the target workflow carries target information filled in by the search plug-in;

[0159] The target information display module 1902 is configured to display target information in the display interface of the target software, wherein the target information is information associated with the search term obtained from the application server after the search plug-in extracts the search term in the target workflow of the target software.

[0160] According to an exemplary embodiment of the present disclosure, a search data packet corresponding to the search plug-in is stored in the application server, and the target information is information associated with the search term obtained by the search plug-in from the search data packet stored in the application server.

[0161] According to an exemplary embodiment of the present disclosure, the search term is a first designated character input by a user in an editing page of the target software, and the target information is input prompt information for the first designated character, wherein the input prompt information includes at least one of the following items:

[0162] Candidate input characters including the first designated character, candidate annotation information including the first designated character, usage prompt information for the first designated character, and content interpretation information for the first designated character.

[0163] According to an exemplary embodiment of the present disclosure, when the input prompt information is candidate annotation information, the number of candidate annotation information is at least one, and the information retrieval device 1900 may further include:

[0164] An annotation information determination module is configured to determine target annotation information selected by a user from at least one piece of candidate annotation information displayed in a display interface of the target software;

[0165] A code snippet acquisition module is configured to acquire a target code snippet that is backfilled into a target workflow by the retrieval plug-in;

[0166] The code snippet display module is configured to display a target code snippet in a display interface of the target software, wherein the target code snippet is a code snippet corresponding to the target annotation information obtained by the search plug-in from the application server.

[0167] According to an exemplary embodiment of the present disclosure, the information retrieval device 1900 may further include:

[0168] The code snippet retaining module is configured to, in response to a retaining operation on a target code snippet, retain the target code snippet and highlight the target code snippet.

[0169] According to an exemplary embodiment of the present disclosure, the search term is a second designated character selected by a user in a target workflow of a target software, and the target information is content prompt information for the second designated character, wherein the content prompt information includes at least one of the following items: interpretation information for the second designated character, and interpretation information for an approximate character that is similar to the second designated character.

[0170] According to an exemplary embodiment of the present disclosure, the information retrieval device 1900 may further include:

[0171] A link acquisition module is configured to acquire a link of a plug-in management interface corresponding to the search plug-in, wherein the link is a link generated after the search plug-in is installed on the application server;

[0172] A plug-in management interface acquisition module, configured to acquire and display the plug-in management interface from the application server in response to the link being triggered;

[0173] The license certificate and retrieval data package upload module is configured to upload the license certificate and retrieval data package in the plug-in management interface to send the license certificate and retrieval data package to the application server so that the application server opens the use rights of the retrieval data package based on the license certificate.

[0174] According to an exemplary embodiment of the present disclosure, the plug-in management interface further includes a service monitoring option, and the information retrieval device 1900 may further include:

[0175] The service monitoring page acquisition module is configured to obtain and display a service monitoring page from an application server in response to a click operation on a service monitoring option, wherein the service monitoring page includes at least one of the following items: the total number of calls to retrieve data packets, the service status of retrieved data packets, the number of terminals currently using the retrieval plug-in, and the average response time for obtaining target information associated with the search term from the application server.

[0176] According to an exemplary embodiment of the present disclosure, the information retrieval device 1900 may further include:

[0177] A front-end code acquisition module is configured to acquire the front-end code corresponding to the search plug-in;

[0178] The code fusion module is configured to perform code fusion on the target software and the front-end code so as to bind the target software with the retrieval plug-in.

[0179] Example 7

[0180] Based on the information retrieval method provided in Example 3, the present disclosure further provides an application server. Fig. 20 is a block diagram illustrating an application server according to an exemplary embodiment of the present disclosure.

[0181] Reference Fig. 20 , the application server 2000 may include a retrieval request receiving module 2001 and a target information sending module 2002.

[0182] The search request receiving module 2001 is configured to receive a search request from a search plug-in;

[0183] The target information sending module 2002 is configured to send the target information to the search plug-in, so that the search plug-in fills the target information back into the target workflow of the target software to display the target information in the display interface of the target software;

[0184] The target information is information associated with the search term, and the search term is the search term extracted by the search plug-in in the target workflow.

[0185] According to an exemplary embodiment of the present disclosure, the application server 2000 may further include:

[0186] An installation package acquisition module is configured to acquire an installation package corresponding to the search plug-in;

[0187] A search plug-in installation module is configured to install the search plug-in based on the installation package;

[0188] The generation module is configured to generate a customer ID and a link to a plug-in management interface corresponding to the retrieval plug-in after the retrieval plug-in is installed.

[0189] According to an exemplary embodiment of the present disclosure, the application server 2000 may further include:

[0190] A plug-in management interface sending module is configured to send a plug-in management interface corresponding to the search plug-in to the target software, wherein the plug-in management interface is an interface sent to the target software after the link is triggered, the link is a link of the plug-in management interface obtained by the target software, and the link is a link generated after the search plug-in is installed on the application server;

[0191] A license certificate and retrieval data packet receiving module is configured to receive a license certificate and a retrieval data packet sent by the target software, wherein the license certificate and the retrieval data packet are sent to the application server by the target software by uploading the license certificate and the retrieval data packet to the plug-in management interface;

[0192] The usage permission opening module is configured to open the usage permission of the retrieval data package based on the license certificate.

[0193] According to an exemplary embodiment of the present disclosure, the target customer ID is included in the license certificate, and the usage permission opening module is configured to: when the target customer ID is consistent with the current login customer ID of the plug-in management interface, the usage permission of the retrieval data package is opened; otherwise, the usage permission of the retrieval data package is prohibited.

[0194] Example 8

[0195] Based on the information retrieval method provided in Example 4, the present disclosure further provides an information retrieval device and target software. Fig.21 1 is a block diagram showing another information retrieval device according to an exemplary embodiment of the present disclosure, which can be included in the target software. The target software itself can have an information retrieval function, that is, the target software itself can include an information retrieval module, that is, the target software does not need to be bound to a separate retrieval plug-in.

[0196] Reference Fig.21 , the device 2100 may include:

[0197] The search term extraction module 2101 is configured to extract the search term in the target workflow of the target software;

[0198] The target information acquisition module 2102 is configured to acquire target information associated with the search term from the application server;

[0199] A backfill module 2103 is configured to backfill the target information into the target workflow;

[0200] The target information display module 2104 is configured to display the target information in the display interface of the target software.

[0201] Fig. 22 is a block diagram illustrating an electronic device 2200 according to an exemplary embodiment of the present disclosure.

[0202] Reference Fig. 22 The electronic device 2200 includes at least one memory 2201 and at least one processor 2202. The at least one memory 2201 stores instructions. When the instructions are executed by the at least one processor 2202, the information retrieval method according to the exemplary embodiment of the present disclosure is executed.

[0203] As an example, the electronic device 2200 may be a PC, a tablet device, a personal digital assistant, a smart phone, or other device capable of executing the above instructions. Here, the electronic device 2200 is not necessarily a single electronic device, but may also be any device or circuit capable of executing the above instructions (or instruction sets) individually or in combination. The electronic device 2200 may also be part of an integrated control system or a system manager, or may be configured as a portable electronic device interconnected with a local or remote (e.g., via wireless transmission) interface.

[0204] In the electronic device 2200, the processor 2202 may include a central processing unit (CPU), a graphics processing unit (GPU), a programmable logic device, a dedicated processor system, a microcontroller or a microprocessor. As an example and not limitation, the processor may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, etc.

[0205] The processor 2202 may execute instructions or codes stored in the memory 2201, wherein the memory 2201 may also store data. Instructions and data may also be sent and received over a network via a network interface device, wherein the network interface device may employ any known transmission protocol.

[0206] The memory 2201 may be integrated with the processor 2202, for example, by placing RAM or flash memory within an integrated circuit microprocessor or the like. In addition, the memory 2201 may include a separate device, such as an external disk drive, a storage array, or any other storage device that can be used by a database system. The memory 2201 and the processor 2202 may be operationally coupled, or may communicate with each other, such as through an I / O port, a network connection, etc., so that the processor 2202 can read files stored in the memory.

[0207] In addition, the electronic device 2200 may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, a mouse, a touch input device, etc.) All components of the electronic device 2200 may be connected to each other via a bus and / or a network.

[0208] According to an exemplary embodiment of the present disclosure, a computer-readable storage medium may also be provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the above-mentioned information retrieval method. Examples of computer-readable storage media here include: read-only memory (ROM), random access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), card storage (such as, multimedia card, secure digital (SD) card or extreme digital (XD) card), magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid state disk and any other device, any other device is configured to store computer programs and any associated data, data files and data structures in a non-transitory manner and provide the computer programs and any associated data, data files and data structures to a processor or computer so that the processor or computer can execute the computer program. The computer program in the above-mentioned computer-readable storage medium can be run in an environment deployed in a computer device such as a client, a host, an agent device, a server, etc. In addition, in one example, the computer program and any associated data, data files and data structures are distributed on a networked computer system, so that the computer program and any associated data, data files and data structures are stored, accessed and executed in a distributed manner by one or more processors or computers.

[0209] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0210] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An information retrieval method, characterized in that: Applied to a search plug-in, the search plug-in is bound to a target software, the method comprising: In the target workflow of the target software, extracting search terms; Acquiring target information associated with the search term from an application server; The target information is backfilled into the target workflow to display the target information in the display interface of the target software.

2. An information retrieval method, characterized in that: Applied to target software, the target software is bound to a search plug-in, the method comprising: Acquire a target workflow of the target software, wherein the target workflow carries the target information backfilled by the search plug-in; The target information is displayed in the display interface of the target software, wherein the target information is information associated with the search term obtained from the application server by the search plug-in after the search term is extracted from the target workflow of the target software.

3. An information retrieval method, characterized in that: Applied to an application server, the method comprises: Receive a search request from a search plug-in; Sending target information to the search plug-in so that the search plug-in backfills the target information into the target workflow of the target software to display the target information in the display interface of the target software; The target information is information associated with a search term, and the search term is a search term extracted by the search plug-in in the target workflow.

4. An information retrieval method, characterized in that: Applied to target software, the method comprises: In the target workflow of the target software, extracting search terms; Acquiring target information associated with the search term from an application server; Backfilling the target information into the target workflow; The target information is displayed in a display interface of the target software.

5. An information retrieval device, characterized in that: The information retrieval device is included in a retrieval plug-in, and the retrieval plug-in is bound to the target software, including: A search term extraction module, configured to extract search terms in a target workflow of the target software; A target information acquisition module, configured to acquire target information associated with the search term from an application server; The target information backfill module is configured to backfill the target information into the target workflow so as to display the target information in the display interface of the target software.

6. An information retrieval device, characterized in that: The information retrieval device is included in the target software, and the target software is bound to the retrieval plug-in, including: A workflow acquisition module, configured to acquire a target workflow of the target software, wherein the target workflow carries the target information backfilled by the search plug-in; The target information display module is configured to display the target information in the display interface of the target software, wherein the target information is the information associated with the search term obtained from the application server by the search plug-in after the search term is extracted from the target workflow of the target software.

7. An application server, characterized in that: include: A search request receiving module, configured to receive a search request from a search plug-in; a target information sending module, configured to send the target information to the search plug-in, so that the search plug-in fills the target information back into the target workflow of the target software, so as to display the target information in the display interface of the target software; The target information is information associated with a search term, and the search term is a search term extracted by the search plug-in in the target workflow.

8. An information retrieval device, characterized in that: The information retrieval device is included in the target software, including: A search term extraction module, configured to extract search terms in a target workflow of the target software; A target information acquisition module, configured to acquire target information associated with the search term from an application server; A backfill module, configured to backfill the target information into the target workflow; The target information display module is configured to display the target information in the display interface of the target software.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the information retrieval method according to any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information retrieval method as described in any one of claims 1 to 4.

Citation Information

Cited By

  • Extensible electronic archive business element retrieval method and system, terminal and medium

    CN120407892A