Data retrieval method and device and electronic equipment

By assigning unique identifiers to each business line and using different retrieval operators for data retrieval, the problems of poor reusability of retrieval systems and high development and maintenance costs between different business lines were solved, achieving data isolation and efficiency improvement.

CN119311713APending Publication Date: 2025-01-14BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310862219.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-13
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The retrieval systems across different business lines have poor reusability and excessively high development and maintenance costs.

Method used

By assigning a unique business line identifier to each business line and using different retrieval operators to retrieve data, data isolation is achieved by limiting the data retrieved by different business lines.

Benefits of technology

By using the same search system across different business lines, the problems of poor reusability and high development and maintenance costs of the search system were solved, reducing labor costs and improving search efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311713A_ABST
    Figure CN119311713A_ABST
Patent Text Reader

Abstract

The invention discloses a data retrieval method and device and electronic equipment, and relates to the technical field of data processing. The method comprises the following steps: acquiring a retrieval request with a service line identifier sent by a client; identifying the service line identifier, and determining a retrieval operator corresponding to the service line identifier; based on the retrieval request, calling a retrieval operator corresponding to the service line identifier to obtain target data; and feeding back the target data to the client. According to the method, the traditional retrieval architecture is improved, the retrieval function is not triggered by a single engine any more, and the retrieval function is split to the retrieval operator. Due to the fact that different service line identifiers have corresponding retrieval operators, and different retrieval operators have different data search capabilities, when different service lines share the same set of retrieval system, mutual data isolation is achieved, and the problems that retrieval systems between different service lines are poor in reusability and high in development and maintenance cost are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data retrieval method, device and electronic equipment. Background Art

[0002] Currently, customized retrieval systems are usually used for different business lines that require search functions. For example, when there are multiple business lines, the data and applicability required by different business lines are inconsistent, which leads to the need to customize the retrieval system for each business line. This greatly increases labor costs, and there are problems such as poor reusability of retrieval systems between different business lines and excessively high development and maintenance costs. Summary of the invention

[0003] In view of this, the present application provides a data retrieval method, device and electronic device, which can solve the problems of poor reusability of retrieval systems between different business lines and excessively high development and maintenance costs.

[0004] In a first aspect, the present application provides a data retrieval method, comprising:

[0005] Obtaining a search request with a business line identifier sent by a client; the business line identifier has a unique corresponding relationship with the business line corresponding to the client;

[0006] Identify the business line identifier and determine a search operator corresponding to the business line identifier; wherein the search operator is used to search for data or is used in combination with other search operators to search for data, and search operators corresponding to different business line identifiers have different data search capabilities;

[0007] Based on the search request, calling a search operator corresponding to the business line identifier to obtain target data;

[0008] The target data is fed back to the client.

[0009] In a second aspect, the present application provides a data retrieval device, comprising:

[0010] An acquisition unit is configured to acquire a search request with a business line identifier sent by a client; the business line identifier has a unique corresponding relationship with the business line corresponding to the client;

[0011] an identification unit configured to identify the business line identifier and determine a search operator corresponding to the business line identifier; wherein the search operator is used to search for data or to search for data in combination with other search operators, and search operators corresponding to different business line identifiers have different data search capabilities;

[0012] A processing unit configured to call a search operator corresponding to the business line identifier based on the search request to obtain target data;

[0013] The returning unit is configured to feed back the target data to the client.

[0014] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data retrieval method described in the first aspect.

[0015] In a fourth aspect, the present application provides an electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the data retrieval method described in the first aspect when executing the computer program.

[0016] By means of the above technical scheme, a data retrieval method, device and electronic device provided by the present application first obtain a retrieval request with a business line identifier sent by a client, where the business line identifier has a unique corresponding relationship with the business line corresponding to the client, that is, each business line is pre-assigned with a dedicated business line identifier. Then the business line identifier is identified, and the retrieval operator corresponding to the business line identifier is determined, wherein the retrieval operator is used to retrieve data or to retrieve data in combination with other retrieval operators, and the retrieval operators corresponding to different business line identifiers have different data search capabilities. Based on the retrieval request, the retrieval operator corresponding to the business line identifier is called to obtain the target data, and the target data is fed back to the business line. Compared with the related art, the present application improves the architecture of the traditional retrieval system, and the retrieval function is no longer triggered by a single engine, but the retrieval function is split into many retrieval operators with different data retrieval capabilities. Since different business line identifiers have their corresponding retrieval operators, and the data search capabilities of different retrieval operators are different, this limits the data that can be retrieved by the business line. Therefore, when different business lines share the same retrieval system, data can be isolated from each other, solving the problems of poor reusability of retrieval systems between different business lines and high development and maintenance costs.

[0017] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

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

[0020] Figure 1 A schematic diagram of a data retrieval method provided in an embodiment of the present application is shown;

[0021] Figure 2 A schematic diagram showing the relationship between the number of business lines and labor costs provided in an embodiment of the present application;

[0022] Figure 3 A schematic diagram of a hot update method provided in an embodiment of the present application is shown;

[0023] Figure 4 A schematic diagram of the module architecture of a retrieval system provided in an embodiment of the present application is shown;

[0024] Figure 5 A schematic diagram of the structure of an online service module provided in an embodiment of the present application is shown;

[0025] Figure 6 A schematic diagram of a process flow of a service line registration process provided by an embodiment of the present application is shown;

[0026] Figure 7 A schematic diagram showing a flow chart of another data retrieval method provided in an embodiment of the present application is shown;

[0027] Figure 8 A structural schematic diagram of a data retrieval device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0028] In order to be able to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that, in the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other. In addition, in order to be able to understand the characteristics and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings, and the attached drawings are only for reference purposes and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided by multiple details. However, in the absence of these details, one or more embodiments can still be implemented. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0029] A data retrieval method provided in this embodiment is applied to a data retrieval device or electronic device. The device or electronic device can be configured on a computer side, a vehicle side, etc. The device includes a storage medium and a processor, and the processor is used to execute the data retrieval method provided in this embodiment.

[0030] In order to solve the problem of poor reusability of retrieval systems between different business lines and high development and maintenance costs, this embodiment proposes a data retrieval method. Figure 1 As shown, the method includes:

[0031] S101, obtaining a search request with a business line identifier sent by a client.

[0032] Obtaining the search request of the client refers to obtaining the search request sent by the user on the business line side corresponding to the client. The business line identifier has a unique correspondence with the business line, that is, each business line has its corresponding unique identifier, which is allocated in the registration stage in advance. The search request can also include fields or search content related to the search.

[0033] S102, identifying the business line identifier and determining a search operator corresponding to the business line identifier.

[0034] Identify the business line identifier and determine the search operator corresponding to the business line identifier. Among them, the search operator is used to retrieve data or to search data in combination with other search operators. The search operators corresponding to different business line identifiers have different data search capabilities. Specifically, during the registration process, the configuration center allocates the business line identifier based on the relevant information of the business line and also establishes a corresponding mapping relationship for the search operator required by the business line. As a result, when the business line searches, the corresponding search operator will be used for the search. Specifically, a variety of preset search operators are set in the search engine framework, which may include recall operators, sorting operators, reordering operators, etc. Recall, sorting, and reordering correspond to the three execution stages in the search process, and each operator corresponds to the implementation form of the functions in different stages.

[0035] S103: Based on the search request, call the search operator corresponding to the business line identifier to obtain the target data.

[0036] For example, you can find the corresponding search field in the search request, and then call the search operator corresponding to the business line identifier and search in combination with the search field to obtain the required target data.

[0037] S104, feeding back the target data to the client.

[0038] In this embodiment, a search request with a business line identifier sent by a client is first obtained. Here, the business line identifier has a unique correspondence with the business line, that is, each business line is pre-assigned with a dedicated business line identifier. Then, the business line identifier is identified, and the search operator corresponding to the business line identifier is determined, wherein the search operators corresponding to different business line identifiers have different data search capabilities. Based on the search request, the search operator corresponding to the business line identifier is called to obtain the target data, and the target data is fed back to the client. Compared with the related art, this embodiment improves the architecture of the traditional search system. The search function is no longer triggered by a single engine, but the search function is split into many search operators with different data search capabilities. Since different business line identifiers have their corresponding search operators, and the data search capabilities of different search operators are different, this limits the data that can be retrieved by the business line. Therefore, when different business lines share the same search system, data isolation is achieved, which solves the problems of poor reusability of the search system between different business lines and high development and maintenance costs.

[0039] It should be noted that, at present, some data between different business lines or industrial lines do not want to be interoperable, but if a retrieval system is customized for each business line, first, different business needs need to be customized and developed, and duplicate work accounts for a large proportion, resulting in a waste of development resources and poor reusability; second, a single retrieval function requires the development of offline data streams, online services and retrieval strategies, and the development cycle is long; third, the labor cost and server resource usage cost are high. In the scheme provided in this embodiment, the data is still unified, but the retrieval function is not only based on the search engine, but also with the help of retrieval operators with different data search capabilities. In the registration stage of a new business line, the configuration center can pre-determine one or more retrieval operators required by the business line according to the needs of the business line, and then assign an exclusive business line identifier to the business line. Through the different data search capabilities of different retrieval operators, different business lines are restricted to retrieve different data through a certain retrieval operator or a combination of multiple retrieval operators. It solves the problem of poor reusability of retrieval systems between different business lines and high development and maintenance costs.

[0040] like Figure 2As shown, the solid line is used to represent the data retrieval method provided in this embodiment, corresponding to the labor cost of the general solution, the dotted line is used to represent the targeted customized solutions for different business lines in the prior art, the x-axis is used to represent the number of business lines, and the y-axis is used to represent the labor cost. It can be seen that as the number of businesses increases, the labor cost (including development and maintenance costs) of the targeted customized solution will increase in direct proportion to the number of businesses, while the general solution provided in this embodiment has laid a stable and reusable framework logic in the early stage, and the labor cost will gradually stabilize (only basic maintenance costs remain), and will no longer show a significant increase. Therefore, it can be seen that as the number of business lines increases, the solution provided in this embodiment significantly reduces the labor cost when the number of business lines increases.

[0041] Optionally, the business line identifier is identified and a search operator corresponding to the business line identifier is determined, including: searching for the search operator corresponding to the business line identifier according to a pre-stored mapping relationship.

[0042] In this embodiment, the corresponding search operator obtained by the business line identifier is determined according to the pre-stored mapping relationship. Furthermore, the mapping relationship is completed in the registration stage, thereby solving the problem of poor reusability of the search system between different business lines and high development and maintenance costs.

[0043] Optionally, based on the retrieval request, the retrieval operator corresponding to the business line identifier is called to obtain the target data, including: parsing the retrieval request to obtain the retrieval field; calling the retrieval operator corresponding to the business line identifier, searching according to the retrieval field, and determining the target data.

[0044] In this embodiment, the corresponding search field is found in the search request, and then the search operator corresponding to the business line identifier is called in combination with the search field to perform a search to obtain the required target data. The specific search process may include recall, sorting, re-arrangement, etc., thereby making the search more efficient.

[0045] Optionally, when a registration request is received from a client, a search configuration registration is performed for the business line to be registered; after the search configuration registration is completed, the local data is updated by hot update.

[0046] In this embodiment, the registration request here refers to the first time a business line registers for configuration in the configuration center. The configuration center stores a mapping table of information such as each business line and the corresponding data storage configuration, data format configuration, search field configuration, and operator configuration at each stage. When a business line accesses the search function, it must first complete the registration operation, and modify the mapping table of the configuration center through the registration operation to complete the configuration. After completing the search configuration registration, the local data is updated through hot update. In this way, different business lines have corresponding search operators.

[0047] Optionally, performing a search configuration registration for the business line to be registered includes: obtaining characteristic information of the business line to be registered; configuring a corresponding search operator based on the characteristic information; allocating a business line identifier to the business line to be registered, and establishing a mapping relationship between the business line identifier and the search operator.

[0048] In this embodiment, the specific registration process is introduced. First, the configuration center obtains the characteristic information of the business line to be registered, where the characteristic information may include business type, business demand, business required data, etc. Then, based on the business type, business demand, business required data, etc. of the business line, the corresponding search operator is configured; and the business line identifier is allocated and a mapping relationship between the business line identifier and the search operator is established. In this way, the corresponding search operator can be determined by the business line identifier, which is conducive to subsequent searches.

[0049] Optionally, updating local data by hot update includes: storing the retrieval configuration registration information after completing the retrieval configuration registration; and updating local data according to the new retrieval configuration registration information after detecting that new retrieval configuration registration information is stored.

[0050] In this embodiment, after completing the retrieval configuration registration, the retrieval configuration registration information is stored. That is, the mapping relationship table of information such as data storage configuration, data format configuration, retrieval field configuration, and each stage operator configuration mentioned above. By establishing configuration and mapping relationships, the business line has the function of allowing retrieval. After detecting that there is new retrieval configuration registration information stored, the local data is updated according to the new retrieval configuration registration information.

[0051] Specifically, the hot update process after service registration is as follows: Figure 3As shown, a management system such as Zookeeper can be used. The design of the system framework and the use process can ensure that when adding a new business line search demand, there is no need for the intervention of developers. Business personnel can customize a dedicated search engine according to the process according to the guidance document, and the use of the new business line will not have any impact on the use of the engine. The configuration center in the system ensures that the access of new business lines can be completed without restarting the service through the service "hot update" mechanism. The "hot update" mechanism is implemented through the Zookeeper framework. The Zookeeper framework provides a data management system in the form of a file tree. There are many data nodes in a file tree. When the business line registers and generates new registration data (such as S301), the data on each node can be monitored. After the business line completes the registration, the relevant mapping configuration data will be written to a data node in Zookeeper that is monitored by the configuration center (such as S302). In this way, whenever new business line information is written, the monitoring mechanism of the data node will detect that the data has changed (such as S303), thereby triggering the action of the configuration center: pull the latest configuration data from the Zookeeper data node to update the local data (such as S304).

[0052] Optionally, after feeding back the target data to the business line, the method further includes: prioritizing the search results of each client according to the feedback information of the historical search results.

[0053] In this embodiment, the historical search results are the target data obtained by each business line through the client, and then the target data is recorded and stored. The retrieval system also provides a learning capability that can record the user's positive and negative feedback information on the search results (such as clicks, views), and use it as a basis for sorting, and integrate it into the sorting strategy in a weighted manner, so as to adjust the priority of some data in the display results. For example, if most users have recently clicked or browsed result A in the search results, then result A will soon be presented to the user at the top of the list in the search results returned by the engine.

[0054] Next, the solution provided by this embodiment is described in conjunction with a schematic diagram of a specific system module architecture. First, the framework of the data retrieval system is introduced. Figure 4, showing a schematic diagram of a system module architecture provided by this embodiment, including: multi-source heterogeneous data 401 of the business party, including data sources provided by multiple business parties, the formats of these data sources may not be unified. Offline data access management module 402, mainly used to unify and store the data format of the data source, so as to achieve uniform allocation of data. Online service module 403 is used to respond to and execute the instructions of the configuration center, and also includes a variety of retrieval operators and a general retrieval engine framework to perform general retrieval functions. Finally, the retrieval results are fed back to the client 404. It also includes a configuration center 405 for unified regulation of offline data access modules and online service modules and a self-evolution module 406 for providing learning capabilities. The solid lines in the figure represent the data flow direction, and the dotted lines represent control instructions.

[0055] When the online service module 403 performs the search function, it can be specifically as follows: Figure 5 As shown. Figure 5 In the process, when the online service module receives the search request and business line identifier from the client, the configuration center identifies the business line identifier and informs the online service module, thereby determining the corresponding search operator. Then, the general search engine in the online service module is combined with search operators with different data search capabilities to search for target data. The client refers to the docking client used by multiple business lines. Figure 5 Taking the recall phase, sorting phase, and re-arrangement phase in the search as an example, they correspond to the three execution phases in the search process respectively. After receiving the search request, the general search engine calls the search operators in the operator pool of the corresponding phase at different phases. To determine whether it is operator 1 or operator 3, the corresponding information in the business line identifier will be used to determine the operator, and then search for the target data.

[0056] Furthermore, the configuration center is responsible for the unified regulation of offline data access modules and online service modules. The configuration center stores the mapping relationship table between each business line and the corresponding data storage configuration, data format configuration, search field configuration, operator configuration at each stage, and other information. When accessing the search function, the business line must first complete the registration operation, and modify the mapping table of the configuration center through the registration operation to complete the configuration. Figure 6, can be used as an example of the registration process to explain the registration process when the business line first accesses the search function. First, the business line generates a search demand, and data preparation is required for the first time (S601). Then, an exclusive business line identifier is obtained (S602), and the data is stored in the data storage center through a data table (S603), and the relevant field configuration and operator configuration, as well as the mapping relationship are stored in the configuration center (S604 and S605), so that the search operator corresponding to the business line can be determined during the search. That is, during the registration process, the configuration center determines one or more search operators to be used based on the characteristics and demand data of the business line to be registered, and assigns an exclusive identifier to correspond to it. In the search process, the relevant information and corresponding search operator of the business line can be determined according to the identifier.

[0057] Finally combined Figure 7 , the retrieval process of this embodiment is explained. First, the user of the business line sends a search request with a business line identifier, and then the search engine queries the configuration center for the retrieval operator and the corresponding configuration corresponding to the identifier. Then the search engine combines the operators in the operator pool of each retrieval stage, obtains the corresponding target data according to the search request, and returns it to the user. It should be noted that in actual scenarios here, a server is usually set up to replace the search engine's query function to the configuration center, or the server can be used to integrate some functions of the configuration center and the search engine, such as mentioned above Figure 4 In the structure mentioned above, the search engine and operator pool are equivalent to Figure 4 The configuration center includes not only various configurations, but also some server functions, such as interaction with the client. The specific application functions of these modules can be set according to the actual situation and are not limited. It only needs to ensure the necessary functions such as user interaction, configuration storage, and retrieval.

[0058] Compared with the related art, the solution provided in this embodiment improves the architecture of the traditional retrieval system. The retrieval function is no longer triggered by a single engine, but the retrieval function is split into many retrieval operators with different data retrieval capabilities. Since different business line identifiers have their corresponding retrieval operators, and different retrieval operators have different data search capabilities, this limits the data that can be retrieved by the business line. Therefore, when different business lines share the same retrieval system, data is isolated from each other, solving the problem of poor reusability of retrieval systems between different business lines and high development and maintenance costs.

[0059] In addition, the solution provided in this embodiment can enable the enterprise-level search engine to have the ability to self-evolve, greatly improve the flexibility of the search engine and the degree of matching with different business needs, shorten the development cycle when the needs are complex, and significantly reduce development costs. When the number of businesses is small, targeted customized solutions can be quickly developed and iterated online according to the specific needs of the business party.

[0060] Further, as Figures 1 to 7 The specific implementation of the method shown in this embodiment provides a data retrieval device, such as Figure 8 As shown, the device includes: an acquisition unit 801, an identification unit 802, a processing unit 803 and a returning unit 804.

[0061] The acquisition unit 801 is configured to acquire a search request with a business line identifier sent by a client; the business line identifier has a unique corresponding relationship with the business line corresponding to the client;

[0062] The identification unit 802 is configured to identify the business line identifier and determine a search operator corresponding to the business line identifier; wherein the search operator is used to search for data or to search for data in combination with other search operators, and search operators corresponding to different business line identifiers have different data search capabilities;

[0063] The processing unit 803 is configured to call a search operator corresponding to the business line identifier based on the search request to obtain target data;

[0064] The returning unit 804 is configured to feed back the target data to the client.

[0065] In a specific application scenario, the identification unit 802 is specifically configured to search for a retrieval operator corresponding to the business line identifier according to a pre-stored mapping relationship.

[0066] In a specific application scenario, the processing unit 803 is further configured to parse the search request to obtain a search field; call a search operator corresponding to the business line identifier, perform a search based on the search field, and determine the target data.

[0067] In a specific application scenario, the processing unit 803 is further configured to perform a search configuration registration for the business line to be registered when a registration request is received from a client; after completing the search configuration registration, update the local data by hot update.

[0068] In a specific application scenario, the processing unit 803 is further configured to obtain characteristic information of the business line to be registered; configure a corresponding retrieval operator based on the characteristic information; assign a business line identifier to the business line to be registered, and establish a mapping relationship between the business line identifier and the retrieval operator.

[0069] In a specific application scenario, the processing unit 803 is further configured to store the retrieval configuration registration information after completing the retrieval configuration registration; after detecting that new retrieval configuration registration information is stored, update local data according to the new retrieval configuration registration information.

[0070] In a specific application scenario, the processing unit 803 is further configured to prioritize the search results of each client according to the feedback information of the historical search results.

[0071] It should be noted that for other corresponding descriptions of the functional units involved in the data retrieval device provided in this embodiment, reference can be made to Figures 1 to 7 The corresponding description in will not be repeated here.

[0072] Based on the above Figures 1 to 7 The method shown in the embodiment also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned Figures 1 to 7 The method shown.

[0073] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.

[0074] Based on the above Figures 1 to 7 The method shown, and Figure 8 In order to achieve the above-mentioned purpose, the embodiment of the present application further provides an electronic device, which can be configured on a computer side or a vehicle side, etc. The device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figures 1 to 7 The method shown.

[0075] Optionally, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.

[0076] Those skilled in the art will appreciate that the above-mentioned physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.

[0077] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.

[0078] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by hardware. By applying the solution of this embodiment, compared with the related art, the present application improves the architecture of the traditional retrieval system, and the retrieval function is no longer triggered by a single engine, but the retrieval function is split into many retrieval operators with different data retrieval capabilities. Since different business line identifiers have their corresponding retrieval operators, and different retrieval operators have different data search capabilities, this limits the data that can be retrieved by the business line. Therefore, when different business lines share the same retrieval system, data is isolated from each other, solving the problems of poor reusability of retrieval systems between different business lines and high development and maintenance costs.

[0079] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0080] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features of the present application.

[0081] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0082] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0083] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A data retrieval method, characterized in that: include: Get the retrieval request with the business line identifier sent by the client; The business line identifier has a unique corresponding relationship with the business line corresponding to the client; Identify the business line identifier and determine a search operator corresponding to the business line identifier; wherein the search operator is used to search for data or is used in combination with other search operators to search for data, and search operators corresponding to different business line identifiers have different data search capabilities; Based on the search request, calling a search operator corresponding to the business line identifier to obtain target data; The target data is fed back to the client.

2. The method according to claim 1, characterized in that The identifying the business line identifier and determining a search operator corresponding to the business line identifier includes: According to the pre-stored mapping relationship, search for the retrieval operator corresponding to the business line identifier.

3. The method according to claim 1, characterized in that The step of calling a search operator corresponding to the business line identifier based on the search request to obtain target data includes: Parsing the search request to obtain a search field; The search operator corresponding to the business line identifier is called, and a search is performed according to the search field to determine the target data.

4. The method according to claim 1, characterized in that: The method further comprises: When receiving a registration request from a client, search and configure the registration for the business line to be registered; After completing the retrieval configuration registration, the local data is updated through hot update.

5. The method according to claim 4, characterized in that Search and configure the business line to be registered, including: Acquire characteristic information of the business line to be registered; Based on the feature information, configure a corresponding search operator; A business line identifier is allocated to the business line to be registered, and a mapping relationship between the business line identifier and the search operator is established.

6. The method according to claim 4, characterized in that Update local data through hot update, including: After completing the retrieval configuration registration, storing the retrieval configuration registration information; After detecting that new retrieval configuration registration information is stored, the local data is updated according to the new retrieval configuration registration information.

7. The method according to any one of claims 1 to 6, characterized in that After feeding back the target data to the client, the method further includes: According to the feedback information of historical search results, the search results of each client are prioritized.

8. A data retrieval device, characterized in that: include: An acquisition unit, configured to acquire a retrieval request with a business line identifier sent by a client; The business line identifier has a unique corresponding relationship with the business line corresponding to the client; an identification unit configured to identify the business line identifier and determine a search operator corresponding to the business line identifier; wherein the search operator is used to search for data or to search for data in combination with other search operators, and search operators corresponding to different business line identifiers have different data search capabilities; A processing unit configured to call a search operator corresponding to the business line identifier based on the search request to obtain target data; The returning unit is configured to feed back the target data to the client.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.