A data set merging method, device, medium, program product and retrieval system

By dynamically matching and applying appropriate data set merging strategies, the problem of resource shortage or waste caused by changes in node resource utilization in the retrieval system is solved, and system performance and efficiency are improved.

CN118377810BActive Publication Date: 2024-10-15JINAN INSPUR DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410834407.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-15
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

In the existing retrieval system, the data set merging strategy cannot be adjusted according to the dynamic changes of the operating performance and resource utilization of different nodes, resulting in resource shortage or waste and affecting the efficiency of the retrieval task.

Method used

By continuously collecting the instantaneous running information of nodes, matching it with multiple preset data set merging strategies, and selecting the strategy application suitable for the current node status, including merging priority strategy, balanced merging strategy, business priority strategy and custom threshold strategy, dynamically Adjust merge speed to optimize resource utilization.

Benefits of technology

It realizes the adjustment of the merging strategy according to the node status, ensures the normal operation of the retrieval task and the effective utilization of resources, and improves the overall performance and efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118377810B_ABST
    Figure CN118377810B_ABST
Patent Text Reader

Abstract

The present invention discloses a data set merging method, device, medium, program product and retrieval system in the field of computer technology. The present invention determines whether the data set merging strategies of N matches are the same by comparing N instantaneous operation information of the current node with multiple data set merging strategies. If yes, the target data set merging strategies of the N matches are applied to the current node, so that the node-level merging strategy adjustment is realized according to the node status, which can ensure the merging speed and the normal operation of the business, and can balance the operation of the system business and the execution of the merging operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a data set merging method, device, medium, program product and retrieval system. Background Art

[0002] In the current retrieval system, a merge strategy is applied to all nodes in the entire system. However, the retrieval system is a dynamic system. Different nodes in the system will have different operating performance requirements according to different business scenarios and business periods, and different business models will also cause dynamic changes in node performance and resource utilization. For example, if some nodes have frequent write operations and some nodes are relatively idle, if the data set is merged at the maximum merge speed, it will lead to resource shortages in the nodes with frequent write operations; if the data set is merged at the minimum merge speed, resources are easily wasted on the relatively idle nodes, and node resources cannot be fully utilized.

[0003] Therefore, how to set the merging strategy without affecting the retrieval task is a problem that technicians in this field need to solve. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a data set merging method, device, medium, program product and retrieval system to set the merging strategy without affecting the retrieval task. The specific scheme is as follows:

[0005] In a first aspect, the present invention provides a data set merging method, which is applied to a node in a distributed retrieval system, comprising:

[0006] Continuously collect the instantaneous operation information of the current node N times to obtain N arrays;

[0007] Matching the N arrays with a plurality of preset data set merging strategies; wherein each data set merging strategy is set with a corresponding operation information range;

[0008] If the N arrays match the same target data set merging strategy among the multiple data set merging strategies, the target data set merging strategy is applied to the current node; the target data set merging strategy is any one of the multiple data set merging strategies.

[0009] On the other hand, the instantaneous operation information of the current node is collected N times continuously to obtain N arrays, including:

[0010] Continuously collect instantaneous operation information of each device in the current node and retrieve task operation information N times at preset intervals; each device includes: disk, memory, processor and / or network card;

[0011] The information collected at a single moment is made to form an array, and N arrays are obtained.

[0012] On the other hand, the instantaneous operation information of each device in the current node is continuously collected N times at a preset interval, including:

[0013] The instantaneous read and write rate of the disk in the current node, the instantaneous capacity occupancy information of the memory, the instantaneous resource occupancy information of the processor and / or the instantaneous bandwidth occupancy information of the network card are continuously collected N times at preset intervals as the instantaneous operation information.

[0014] On the other hand, the retrieval task running information in the current node is continuously collected N times at a preset interval, including:

[0015] The retrieval task delay information and the retrieval task processing rate in the current node are continuously collected N times at preset intervals as the retrieval task running information.

[0016] On the other hand, matching the N arrays with a plurality of preset data set merging strategies includes:

[0017] Merging the N arrays and the multiple data sets in pairs without duplication to obtain multiple target pairs;

[0018] For each target pair, detect whether each information in the array of the current target pair falls within the operating information range set in the data set merging strategy of the current target pair;

[0019] If so, it is determined that the array in the current target pair and the data set merging strategy in the current target pair match each other; otherwise, it is determined that the array in the current target pair and the data set merging strategy in the current target pair do not match each other.

[0020] On the other hand, it also includes:

[0021] After each acquisition of instantaneous operation information, it is detected whether the currently acquired instantaneous operation information meets the abnormal operation conditions;

[0022] If so, a data set merging strategy for dealing with the anomaly is selected from the multiple data set merging strategies, and the currently selected data set merging strategy is applied to the current node.

[0023] On the other hand, it is detected whether the currently collected instantaneous operation information meets the abnormal operation conditions, including:

[0024] Detect whether at least two items of the currently collected instantaneous operation information exceed corresponding thresholds;

[0025] If so, the currently collected instantaneous operation information meets the abnormal operation condition; otherwise, the currently collected instantaneous operation information does not meet the abnormal operation condition.

[0026] On the other hand, the multiple data set merging strategies include: a merging priority strategy, a balanced merging strategy, a business priority strategy and a custom threshold strategy.

[0027] On the other hand, selecting a data set merging strategy for dealing with anomalies from among the multiple data set merging strategies includes:

[0028] A service priority strategy is selected from the multiple data set merging strategies.

[0029] On the other hand, if N is equal to 2, then after each instantaneous operation information is collected, the currently collected instantaneous operation information is matched with the preset multiple data set merging strategy;

[0030] If the target data set merging strategy is matched, the strategy is switched, instantaneous operation information is collected again, and the step of matching the currently collected instantaneous operation information with the preset multiple data set merging strategies is performed;

[0031] If the target data set merging strategy is matched again, the target data set merging strategy is applied to the current node to complete the strategy switching.

[0032] On the other hand, after applying the target data set merging strategy to the current node, the method further includes:

[0033] The dataset in the memory and the dataset in the disk of the current node are merged according to the target dataset merging strategy.

[0034] In another aspect, the present invention provides an electronic device, comprising:

[0035] Memory for storing computer programs;

[0036] A processor is used to execute the computer program to implement the aforementioned disclosed data set merging method.

[0037] On the other hand, the present invention provides a non-volatile storage medium for storing a computer program, wherein the computer program implements the aforementioned disclosed data set merging method when executed by a processor.

[0038] On the other hand, the present invention provides a computer program product, comprising a computer program / instruction, which implements the steps of the aforementioned disclosed data set merging method when executed by a processor.

[0039] On the other hand, the present invention provides a retrieval system, comprising: a plurality of nodes, each node being used to implement the aforementioned disclosed data set merging method.

[0040] It can be seen from the above scheme that the present invention provides a data set merging method, which is applied to nodes in a distributed retrieval system, including: continuously collecting instantaneous operation information of the current node N times to obtain N arrays; matching the N arrays with multiple preset data set merging strategies; wherein each data set merging strategy is set with a corresponding operation information range; if the N arrays match the same target data set merging strategy among the multiple data set merging strategies, then applying the target data set merging strategy to the current node; the target data set merging strategy is any one of the multiple data set merging strategies.

[0041] It can be seen that the beneficial effect of the present invention is: by comparing the N instantaneous operation information of the current node with multiple data set merging strategies, it is determined whether the data set merging strategies of the N matches are the same; if so, the target data set merging strategies of the N matches are applied to the current node, thereby realizing node-level merging strategy adjustment according to the node status, which can ensure both the merging speed and the normal operation of the business, and can balance the operation of the system business and the execution of the merging operation.

[0042] Correspondingly, a data set merging device, medium, program product and retrieval system provided by the present invention also have the above technical effects. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0044] Figure 1 A flow chart of a data set merging method disclosed in the present invention;

[0045] Figure 2 This is a flow chart of another data set merging method disclosed in the present invention;

[0046] Figure 3 A schematic diagram of a data set merging device disclosed in the present invention;

[0047] Figure 4 A schematic diagram of a data set merging system disclosed in the present invention;

[0048] Figure 5 A schematic diagram of an electronic device disclosed in the present invention;

[0049] Figure 6 A server structure diagram provided by the present invention;

[0050] Figure 7 A terminal structure diagram provided by the present invention. DETAILED DESCRIPTION

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

[0052] At present, a merging strategy takes effect on all nodes in the entire system. However, the retrieval system is a dynamic system. According to different business scenarios and business periods, different nodes in the system will have different operating performance requirements, and different business models will also cause dynamic changes in node performance and resource utilization. For example: when some nodes have frequent write operations, while some nodes are relatively idle, if the data set is merged at the maximum merging speed, it will cause resource shortages on the nodes with frequent write operations; if the data set is merged at the minimum merging speed, then resources are easily wasted on the relatively idle nodes, and node resources cannot be fully utilized. To this end, the present invention provides a data set merging scheme that can set a merging strategy without affecting the retrieval task.

[0053] See also Figure 1 As shown, an embodiment of the present invention discloses a data set merging method, which is applied to a node in a distributed retrieval system, including:

[0054] S101. Continuously collect instantaneous operation information of the current node N times to obtain N arrays.

[0055] In a distributed retrieval system, all nodes will start a segment (data set) merging process in the background, and this process will merge segments according to the configured data set merging strategy. This embodiment runs a segment merging process on each node, and the method provided by this embodiment is implemented in this process, which can achieve node-level policy adjustment and control the merging speed of segments. This embodiment combines the business resource consumption during the actual operation of the system, and enables merging strategies that are more in line with the corresponding node's own scenario mode and resource status at different nodes. In complex cluster scenarios, each node can work with a merging strategy that matches its own status, thereby optimizing the overall resource utilization and operating performance of the cluster.

[0056] In this embodiment, the instantaneous operation information of the node includes: the instantaneous read and write rate of the disk, the instantaneous capacity occupancy information of the memory, the instantaneous resource occupancy information of the processor, and the instantaneous bandwidth occupancy information of the network card, etc. The data in an array includes: the instantaneous read and write rate of the disk, the instantaneous capacity occupancy information of the memory, the instantaneous resource occupancy information of the processor, and the instantaneous bandwidth occupancy information of the network card, etc., collected at a single moment.

[0057] In one embodiment, the instantaneous operation information of the current node is continuously collected N times to obtain N arrays, including: continuously collecting the instantaneous operation information of each device in the current node and the retrieval task operation information N times at a preset interval; each device includes: a disk, a memory, a processor and / or a network card; each information collected at a single moment constitutes an array to obtain N arrays. Among them, the instantaneous operation information of each device in the current node is continuously collected N times at a preset interval, including: continuously collecting the instantaneous read and write rate of the disk in the current node, the instantaneous capacity occupancy information of the memory, the instantaneous resource occupancy information of the processor and / or the instantaneous bandwidth occupancy information of the network card at a preset interval as the instantaneous operation information. Among them, the retrieval task operation information in the current node is continuously collected N times at a preset interval, including: continuously collecting the retrieval task delay information and the retrieval task processing rate in the current node N times at a preset interval as the retrieval task operation information.

[0058] In one example, if N is equal to 2, then after each instantaneous operation information is collected, the currently collected instantaneous operation information is matched with the preset multiple data set merging strategies; if the target data set merging strategy is matched, the strategy switching is prepared, the instantaneous operation information is collected again, and the step of matching the currently collected instantaneous operation information with the preset multiple data set merging strategies is executed; if the target data set merging strategy is matched again, the target data set merging strategy is applied to the current node to complete the strategy switching.

[0059] S102: Match the N arrays with a plurality of preset data set merging strategies.

[0060] The corresponding operation information range is set in each data set merging strategy. The multiple data set merging strategies include: merging priority strategy, balanced merging strategy, business priority strategy and custom threshold strategy.

[0061] In one embodiment, N arrays are matched with multiple preset data set merging strategies, including: N arrays are matched with multiple data set merging strategies in pairs without duplication to obtain multiple target pairs; for each target pair, it is detected whether each information in the array of the current target pair falls within the operating information range set in the data set merging strategy of the current target pair; if so, it is determined that the array in the current target pair and the data set merging strategy in the current target pair match each other; otherwise, it is determined that the array in the current target pair and the data set merging strategy in the current target pair do not match each other.

[0062] S103: If the N arrays match the same target data set merging strategy among the multiple data set merging strategies, the target data set merging strategy is applied to the current node.

[0063] The target data set merging strategy is any one of multiple data set merging strategies.

[0064] In one embodiment, after each instantaneous operation information is collected, it is detected whether the currently collected instantaneous operation information meets the abnormal operation conditions; if so, a data set merging strategy for dealing with the abnormality is selected from multiple data set merging strategies, and the currently selected data set merging strategy is applied to the current node.

[0065] In one embodiment, detecting whether the currently collected instantaneous operation information meets the abnormal operation conditions includes: detecting whether there are at least two items in the currently collected instantaneous operation information that exceed the corresponding thresholds; if so, the currently collected instantaneous operation information meets the abnormal operation conditions; otherwise, the currently collected instantaneous operation information does not meet the abnormal operation conditions.

[0066] In one implementation, selecting a data set merging strategy for dealing with an exception from a plurality of data set merging strategies includes: selecting a service priority strategy from a plurality of data set merging strategies.

[0067] In one implementation, after applying the target data set merging strategy to the current node, the method further includes: merging the data set in the memory and the data set in the disk of the current node according to the target data set merging strategy.

[0068] It can be seen that this embodiment determines whether the N matching data set merging strategies are the same by comparing the N instantaneous operation information of the current node with multiple data set merging strategies. If so, the target data set merging strategies of these N matches are applied to the current node. In this way, the node-level merging strategy adjustment is implemented according to the node status, which can ensure both the merging speed and the normal operation of the business, and can balance the operation of the system business and the execution of the merging operation.

[0069] See also Figure 2, this embodiment provides a solution including an information module, a merging strategy model and a merging control module.

[0070] The information module is used to collect node information and process it. The collected information includes the maximum IOPS of the disk, memory usage information, CPU usage information, network usage information, and performance parameters of read and write tasks running on a single node. The collected information is matched with each merge strategy model (i.e., matching strategy model), and the matching result is passed to the merge control module for reconfirmation of the merge strategy and merge control.

[0071] Specifically, the main purpose of information collection and processing is to analyze the environment resources of the node to compare the real-time operation status with the set interval. For the monitored hardware resources, such as disk IO, memory usage, CPU usage, and network usage, set the interval for judgment. For example, the set conditions are: the average CPU usage within a 5-minute interval is 50%, and the network bandwidth usage within a 5-minute interval is 30%.

[0072] The performance parameters of the read and write tasks running on a single node are instantaneous values. The resource information monitored by the information module will be collected, processed, and packaged at intervals and transmitted to the merge control module. In addition, when the information module detects abnormal scenarios, such as a sudden increase in the instantaneous business pressure of the node, a sudden increase in the consumption of a certain resource, or a blocking delay in the read and write tasks, it will immediately trigger a merge signal, that is, transmit resource abnormality information, and notify the merge control module to immediately switch to a low-frequency merge strategy to release the resource occupation of the merge process and protect the node business.

[0073] Different types of resource consumption and task operation will constitute different business scenarios, so different merge strategy models need to be defined. Merge strategy models such as: Merge priority model, which is used when the usage and consumption of disk IO, network, CPU, and memory are all less than 30% of the node, and there is no obvious delay in the single node running read and write tasks, that is, the task operation is stable, it can be classified as a high-frequency merge state, that is, the business resource pressure is low, there are sufficient remaining resources, and the merge strategy is allowed to use 70% of the node resources for merge operations (the node has certain read task support) or even unlimited (the node read task ratio is less than 10%). Business priority model, which is used to monitor disk IO, network, CPU, and memory consumption at high water levels, and the single node read and write task latency is high, and the performance consumption is large. This strategy model is used to limit the operation of merge tasks to maintain the minimum resource consumption level to ensure the smooth operation of the cluster's external business. This model strategy is the opposite of the operation mode of the merge priority model. The balanced merge model is used to make the merge and business share node resources equally. The custom threshold model is used to customize the ratio of resources occupied by the merge and business priority according to the actual business characteristics of the cluster.

[0074] The merge control module is used to establish a merge strategy control mechanism. The merge strategy model contains merge strategies defined by different layers of the model. After the information module data matches the corresponding strategy model, the merge control module will match again to reconfirm whether to execute the subsequent merge control strategy. Executing the merge control strategy means: merging the data sets in each node according to the selected merge strategy model, and then recording the merge information to the corresponding log.

[0075] The selection of the merge strategy model is constantly adjusted with the business changes and resource changes of the retrieval system. As the information module continuously matches and transmits the matching results, the merge control module also reconfirms and adjusts the merge strategy at any time. In addition, the merge control module also needs to receive the message of abnormal release merge action transmitted by the information module, and timely control the merge operation under abnormal scenarios to ensure normal business operation.

[0076] For example, the merge control module receives the relevant resources transmitted by the information module at a fixed time interval (such as 5 seconds). When receiving the message that a node loads the low-frequency merge business priority strategy model, it starts to analyze the water level status of the main resources and the resource status occupied by the node's actual tasks. For example, the sum of the average of the read IOPS and write IOPS of the node disk IO within 5 minutes exceeds 80% of the maximum supported IOPS, the CPU usage exceeds 90% in 5 minutes, and the average of the network bandwidth usage within 5 minutes exceeds 80%. At this time, the corresponding delay of all read tasks and retrieval tasks of the node is synchronously checked to see if it exceeds 200 milliseconds, confirming that the disk read and write IOPS, CPU usage, and network bandwidth usage have actually affected the retrieval task performance. When it is confirmed that the parameter indicators match the business priority strategy model, it can be determined that the current business high-pressure scenario is in line with the business priority strategy model, and then the merge strategy is switched to the low-frequency merge strategy that maintains the lowest resource consumption level. When the merge control module receives the abnormal merge release signal from the information module, it will not match the resource information again, but directly switch to the low-frequency merge strategy action to protect the normal resources and performance space required for the node's business operation in a timely manner.

[0077] Furthermore, the core functions of the information module are: information collection, information processing, and matching merge strategies. Information collection mainly involves obtaining and collecting cluster resource status information within the instantaneous time of each node in the cluster, including disk-related read and write IOPS statistics, memory instantaneous occupancy, CPU instantaneous occupancy, network instantaneous occupancy, single-node running tasks and task queues, etc. Information processing includes: collecting classification interval means and statistical resource information peaks, including the mean of disk IO, memory occupancy, network, CPU, tasks and other resource task information in dimension intervals such as 5 seconds or 1 minute, and recording the occurrence of resource peaks in the corresponding statistical mean dimension interval. For example, there is a 60% probability that the memory share in the 1-minute interval will exceed 80% of the peak value 5 times, which is used to evaluate the impact of the peak frequency on the actual task operation, so as to match a better strategy. Matching merge strategies is: based on the results of information collection and information processing, an initial evaluation of the business scenario is performed, and the merge strategy model is matched. If there is a merge strategy model that meets the conditions and the strategy model is not the currently used model, the model evaluation and switching of the merge control module is triggered.

[0078] For some extreme task scenarios, such as when the information collection module receives a large number of retrieval tasks instantly and the read and write operation delays increase abnormally, and CPU, disk read and write, memory and other resources are quickly consumed to trigger the danger threshold, it can be determined that the current task is an extreme scenario and it is necessary to trigger the immediate switching of the merging strategy model to a low-frequency merging business priority model.

[0079] The monitored and recorded information includes: recording the maximum IOPS of each disk and defining the disk resource usage standard as the IOPS percentage value of read and write IO, recording the network bandwidth / memory / CPU as the usage percentage value of the network bandwidth / memory / CPU directly obtained through the API, and the node running task status such as query delay, extraction delay (search performance indicator), index writing delay and data refresh delay (index data writing indicator).

[0080] The defined danger thresholds of parameter indicators are used to detect whether abnormal scenarios are triggered. For example, the danger thresholds of network bandwidth, memory, and disk IO usage are defined as 80%, 80%, and 90% respectively, the sum of disk read and write IO of the node as a whole reaches 90% of the total IO capacity, and the delay of the node's retrieval performance indicator reaches 1 second, which can be used as the standard for penalty danger thresholds. The danger thresholds of other parameter indicators can be set accordingly.

[0081] Define the above-listed indicators such as disk IO, memory, network, CPU, etc., including instantaneous indicators and interval indicators. Different indicators correspond to different behavior analysis rules. For example, the analysis rule of memory resources is defined as detecting that the average usage of the memory resource of the current node exceeds 80% within a 5-minute interval, or the usage of the 5-minute interval is less than 80% but there are ten instantaneous peak usage of memory resources exceeding 90% within 5 minutes. When both rules are met, it can be confirmed as a behavior feature. For other indicators such as disk IO, network bandwidth, CPU, and various delay performance, set corresponding behavior feature analysis standards.

[0082] Merge strategy model matching action: Determine whether the merge model currently running on the node is the current matching merge strategy model. If so, no subsequent operation is required. If not, trigger the message of switching the merge strategy model to the merge control module.

[0083] For some extremely abnormal scenarios, that is, when more than two of the information analysis indicators reach the danger threshold, the merge strategy model will no longer be matched, but the message action of switching the merge strategy model will be immediately triggered to ensure that the scenario protection can take effect as soon as possible.

[0084] The merge strategy model mainly defines and classifies the actual executable merge scenarios and sets matching standards, so that the behavioral feature groups of the information modules that meet the corresponding standards can be successfully matched. The definition of the strategy model is mainly based on the business characteristics and resource conditions of the actual operating environment, representing the operating scenarios and business status of the distributed retrieval cluster. The definition of the strategy model adopts a hierarchical definition mode, defining different cluster business operating states, i.e. scenarios, as different strategy models, and setting corresponding model parameter indicator groups. During the merge process, different strategy model parameter indicator groups can match the behavioral feature group parameters of the information module and perform specific scenario matching confirmation. Different strategy models contain the scope of specific business scenarios. All hierarchical model strategies can cover all scenarios of the retrieval cluster to ensure that various scenarios can be matched with executable merge strategies, ensuring efficient operation of cluster merge strategies and stable cluster business performance.

[0085] The policy model is defined in layers, which are divided into four types: merge priority model, balanced merge model, business priority model, and custom threshold model. The first three are standard layered models, and the custom threshold model is a policy model that allows custom parameter indicator thresholds in special cluster scenarios.

[0086] Merge priority model: The fastest merge model strategy is the merge priority model that is started and used in scenarios where business operation is relatively idle. It consumes more node resources, but can quickly merge the segment data sets in the node. In the threshold setting, when the average usage consumption ratio of resources such as disk IO / network / CPU / memory is low, such as less than 30% of the total node resources, and the number of peaks exceeding 30% in a 5-minute interval is less than 5 times, and the latency delays related to reading and writing are all within 100 milliseconds, the various threshold parameter indicators together constitute the model feature group.

[0087] Balanced merging model: The balanced merging model is a balanced parameter model. All indicators are set in the median state. The resource performance allocation of this policy model is roughly evenly divided between merging and business. In terms of threshold setting, the average usage consumption ratio threshold of resources such as disk IO / network / CPU / memory is set between 30% and 70%. The peak fluctuation does not exceed 30% or 70% within a 5-minute interval for no more than 10 times, and the latency delay standard is within 200 milliseconds.

[0088] The business priority model is opposite to the merge priority model. It is a strategy that needs to be switched in busy business scenarios. During the period when the strategy is enabled, node resources prioritize business, and the merge process runs at a low speed in the minimum resource usage mode. In the threshold setting, when the average usage consumption of resources such as disk IO / network / CPU / memory exceeds 70%, or the peak 5-minute interval exceeds 80% for more than 10 times, and the delay exceeds 200 milliseconds.

[0089] The policy model of custom parameter indicator thresholds allows users to independently set corresponding resource thresholds and node index read and write performance parameter indicators according to their own cluster characteristics and free needs, to implement autonomous control of merging strategies and methods of adjusting resource allocation, so as to achieve an operation strategy that is more in line with the characteristics of the user's own maintenance cluster and ensure that the service runs with better efficiency and performance.

[0090] The merge control module is the core of the entire segment merge strategy solution implementation. The module's task is to load a specific strategy model after receiving the matching merge strategy scenario from the information module. In the conventional switching scenario, the received strategy model parameters need to be monitored and collected for further analysis and confirmation. The analysis method is the same as the information module's behavior feature group and the merge strategy model parameter index matching rule, that is, identifying the information index parameter group statistically collected by the information module, and then confirming the executable state of the scenario to perform the actual merge strategy model switch; for abnormal scenarios that trigger the danger threshold, the merge control module will no longer match the merge strategy model, but immediately trigger the information module to send a message action to switch the merge strategy model; the execution switch of the merge strategy uses the retrieval system's per second merge size threshold upper limit setting action processing, such as setting the execution upper limit of size to 100MB, which means that a maximum of 100MB of segment data is allowed to be executed per second for merge execution. This method is conducive to better limiting the resources consumed by the merge. For example: the collection and analysis of data by the receiving message module, receiving the merge strategy message, and parsing the specific received data information and merge strategy information.

[0091] In the common merge strategy model switching scenario, after receiving the specific switching merge strategy model, the merge control module will analyze and match the resources and read / write performance information of the current node and the current time point again to confirm whether it meets the merge strategy model to be switched. If it is confirmed to be correct, the next switching operation will be performed. For example, if the received switching merge strategy is a business priority model, the average consumption of CPU / network / disk read / write IO / memory in the current cluster within 5 minutes exceeds 70%, or the peak value exceeds 80% more than 10 times within 5 minutes, and the corresponding read and write latency exceeds 200 milliseconds, after comparing the merge strategy in effect on the current node to a non-business priority model, it can be confirmed that the merge strategy allows switching.

[0092] The model strategy switching message triggered by the danger threshold, due to the urgency of ensuring business priority in abnormal scenarios, does not need to reconfirm the switching strategy model as in the common merge strategy switching scenario, but directly enforces the switching of the strategy model that ensures business priority. If the danger threshold problem is subsequently resolved, the new merge strategy model will be re-triggered according to the original process, and the subsequent automatic switching can be performed;

[0093] The merge strategy execution operation standard is determined according to the main defined merge model. For example, the business priority model, balanced model, and merge priority model mainly correspond to the merge control values ​​of data sets such as 100MB, GB, 0GB (or unlimited) per second, while the custom threshold strategy needs to independently confirm the constraints on the size of the merged data set based on the user-defined threshold standards.

[0094] In addition, when merging control, the merging strategy and abnormal operations are switched and log information is recorded to facilitate subsequent function maintenance.

[0095] In this embodiment, an effective switching strategy is used to control the operation of the merging tasks of the distributed retrieval system, so that the segment merging actions of the distributed retrieval system can be differentiated and adjusted according to the actual resource conditions and retrieval performance conditions of each node in the cluster, thereby improving the operating efficiency of the node merging actions, improving the stability of the merging tasks, optimizing the cluster resource utilization and effectively improving the cluster's retrieval performance.

[0096] Information processing can effectively record and analyze cluster node resources in real time, providing effective data basis for subsequent merge strategies and merge control. After the message module has a preliminary analysis and definition of the running status of resources and node tasks, it can match and trigger the corresponding merge strategy switching message to ensure the reliability and efficiency of merge strategy switching. The information module can also integrate, analyze and retrieve the resource and task performance indicator data of cluster nodes, provide accurate data basis for the switching of merge strategy models and the data analysis basis for the release of merge strategies in abnormal business scenarios. The information module matches the standards in the merge strategy model, accurately matches and locates the scene with the merge strategy model parameter standards, and notifies the merge control module to re-evaluate and confirm the scene or directly trigger the actual merge control action, adjust the resource quota, so as to achieve the purpose of reasonably maximizing the use of cluster resources and improving cluster efficiency. After the information module preliminarily classifies and confirms the scene mode and the running status of cluster tasks, it matches the preset specific scene task model in the merge strategy model, and finally the merge control module reconfirms the scene and actually allocates and controls the merged resources.

[0097] The merge strategy model is a hierarchical basic division and customized division of the merge strategy model for different retrieval cluster business scenarios. The hierarchical basic strategy division can cover 90% or more of the cluster operation mode scenarios, ensuring the accuracy of the matching merge strategy with a small error. In addition, the customized threshold strategy can be used to supplement the differentiated scenario strategy configuration requirements of the actual cluster, and improve the accuracy and effectiveness of the merge strategy scenario.

[0098] The merge control module can re-analyze and confirm the strategy information according to the specific merge strategy matched by the information module, and execute the merge operation specifically. At the same time, it can receive the merge release message triggered by the abnormal threshold in real time and no longer verify the scenario again, so as to ensure that the merge strategy is switched in time after receiving the threshold release to protect the cluster business; the entire control process can optimize the original fixed merge speed control of the entire retrieval cluster into a merge strategy that is based on a single node and flexibly adjusted according to the actual resource status and business operation status. While ensuring the stable operation of the business, it can improve the efficiency of the merge program by 30%-50% in general business scenarios, and can optimize the node resource utilization by 20%-40% during relatively off-peak business periods. The high efficiency of the merge also indirectly improves the response speed and performance of the cluster retrieval service.

[0099] In one example, the information module is used to collect resource information of all nodes in the entire cluster, collect index library read and write performance indicators, analyze relevant information and indicators, determine the resource scenario mode of the node, and then match and verify the determined resource scenario mode with the defined policy model parameters of the merge policy model module, and trigger the specific policy switching action of the merge control module. The merge policy model defines the scenario models commonly used in actual business, including user-defined free policy models for the information module to use for scenario matching. The scenario model of each merge policy is the actual corresponding reference for the corresponding resources and task scenarios of the retrieval cluster, and can match the defined resource usage standards and task performance scenario standards. After the information module sends the switching strategy of the specific merge control scenario, the merge control can re-confirm the resource scenario, execute the merge strategy after ensuring the accuracy and reliability of the switch, or directly switch the merge strategy after identifying the abnormal scenario to force the switch merge policy instruction, and adjust the merged resource allocation.

[0100] It can be seen that this embodiment improves and optimizes the original merging method of the retrieval cluster, and adjusts the original cluster-level single merging speed setting method to a node-level hierarchical merging strategy scheme, ensuring that the merging speed can be adjusted in real time according to the node resource status and business performance status. The information module is responsible for collecting basic node resource information and task information, and performing real-time information processing analysis and matching model strategies to ensure that the data basis for merging strategy control is reliable and efficient. The merging strategy model defines a variety of standard hierarchical merging strategy models and custom threshold strategy models, covering the resource business feature scenarios of the retrieval cluster operation, and providing model basis and matching parameter indicators for strategy matching. After receiving the merging strategy switch triggered by the successful match between the information module and the merging strategy model or the abnormal threshold, the merging control performs the actual merging strategy switching operation, adjusts and switches the original merging strategy and merging speed that do not match the existing scenario characteristics, optimizes the node resource space usage and ensures the smooth and efficient operation of the retrieval system business.

[0101] A data set merging device provided in an embodiment of the present invention is introduced below. The data set merging device described below can be referenced to other embodiments described in this document.

[0102] See also Figure 3 As shown, an embodiment of the present invention discloses a data set merging method, which is applied to a node in a distributed retrieval system, including:

[0103] The acquisition module is used to continuously acquire the instantaneous operation information of the current node N times to obtain N arrays;

[0104] A matching module, used for matching the N arrays with a plurality of preset data set merging strategies; wherein each data set merging strategy is set with a corresponding operation information range;

[0105] The application module is used to apply the target data set merging strategy to the current node if the N arrays match the same target data set merging strategy among the multiple data set merging strategies; the target data set merging strategy is any one of the multiple data set merging strategies.

[0106] In one embodiment, the acquisition module is specifically used for:

[0107] Continuously collect instantaneous operation information of each device in the current node and retrieve task operation information N times at preset intervals; each device includes: disk, memory, processor and / or network card;

[0108] The information collected at a single moment is made to form an array, and N arrays are obtained.

[0109] In one embodiment, the acquisition module is specifically used for:

[0110] The instantaneous read and write rate of the disk in the current node, the instantaneous capacity occupancy information of the memory, the instantaneous resource occupancy information of the processor and / or the instantaneous bandwidth occupancy information of the network card are continuously collected N times at preset intervals as instantaneous operation information.

[0111] In one embodiment, the acquisition module is specifically used for:

[0112] The retrieval task delay information and the retrieval task processing rate in the current node are continuously collected N times at preset intervals as the retrieval task running information.

[0113] In one implementation, the matching module is specifically used to:

[0114] Merge N arrays with multiple data sets in pairs without duplication to obtain multiple target pairs;

[0115] For each target pair, detect whether each information in the array of the current target pair falls within the operating information range set in the data set merging strategy of the current target pair;

[0116] If so, it is determined that the array in the current target pair and the data set merging strategy in the current target pair match each other; otherwise, it is determined that the array in the current target pair and the data set merging strategy in the current target pair do not match each other.

[0117] In one embodiment, it further includes:

[0118] The anomaly detection module is used to detect whether the currently collected instantaneous operation information meets the abnormal operation conditions after each collection of instantaneous operation information; if so, a data set merging strategy for dealing with the anomaly is selected from multiple data set merging strategies, and the currently selected data set merging strategy is applied to the current node.

[0119] In one implementation, the anomaly detection module is specifically used to:

[0120] Detect whether at least two items of the currently collected instantaneous operation information exceed corresponding thresholds;

[0121] If so, the currently collected instantaneous operation information meets the abnormal operation condition; otherwise, the currently collected instantaneous operation information does not meet the abnormal operation condition.

[0122] In one implementation, the plurality of data set merging strategies include: a merging priority strategy, a balanced merging strategy, a business priority strategy, and a custom threshold strategy.

[0123] In one implementation, the anomaly detection module is specifically used to:

[0124] Select business-first strategy among multiple data set merging strategies.

[0125] In one embodiment, if N is equal to 2, then after each instantaneous operation information is collected, the currently collected instantaneous operation information is matched with the preset multiple data set merging strategies; if the target data set merging strategy is matched, the strategy switching is prepared, the instantaneous operation information is collected again, and the step of matching the currently collected instantaneous operation information with the preset multiple data set merging strategies is executed; if the target data set merging strategy is matched again, the target data set merging strategy is applied to the current node to complete the strategy switching.

[0126] In one embodiment, it further includes:

[0127] The merging module is used to merge the data set in the memory and the data set in the disk of the current node according to the target data set merging strategy after applying the target data set merging strategy to the current node.

[0128] Among them, for more specific working processes of each module and unit in this embodiment, reference can be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0129] It can be seen that this embodiment determines whether the N matching data set merging strategies are the same by comparing the N instantaneous operation information of the current node with multiple data set merging strategies. If so, the target data set merging strategies of these N matches are applied to the current node. In this way, the node-level merging strategy adjustment is implemented according to the node status, which can ensure both the merging speed and the normal operation of the business, and can balance the operation of the system business and the execution of the merging operation.

[0130] A retrieval system provided by an embodiment of the present invention is introduced below. The retrieval system described below can be referenced to other embodiments described in this document.

[0131] See also Figure 4 As shown, an embodiment of the present invention discloses a retrieval system, including: a plurality of nodes, each node is used to implement the aforementioned disclosed data set merging method.

[0132] An electronic device provided by an embodiment of the present invention is introduced below. The electronic device described below can be referenced to other embodiments described in this document.

[0133] See also Figure 5 As shown, an embodiment of the present invention discloses an electronic device, including:

[0134] Memory 501, used for storing computer programs;

[0135] The processor 502 is used to execute the computer program to implement the method disclosed in any of the above embodiments.

[0136] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: continuously collecting instantaneous operation information of the current node N times to obtain N arrays; matching the N arrays with multiple preset data set merging strategies; wherein each data set merging strategy is set with a corresponding operation information range; if the N arrays match the same target data set merging strategy among the multiple data set merging strategies, then applying the target data set merging strategy to the current node; the target data set merging strategy is any one of the multiple data set merging strategies.

[0137] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: continuously collecting the instantaneous operation information of each device in the current node N times at a preset interval and retrieving the task operation information; each device includes: a disk, a memory, a processor and / or a network card; and making each information collected at a single moment constitute an array to obtain N arrays.

[0138] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: continuously collecting N times at preset intervals the instantaneous read and write rate of the disk in the current node, the instantaneous capacity occupancy information of the memory, the instantaneous resource occupancy information of the processor and / or the instantaneous bandwidth occupancy information of the network card as instantaneous operation information.

[0139] In this embodiment, when the processor executes the computer program stored in the memory, the following steps may be specifically implemented: continuously collecting the retrieval task delay information and the retrieval task processing rate in the current node N times at a preset interval as the retrieval task running information.

[0140] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: N arrays and multiple data set merging strategies are constructed in pairs without duplication to obtain multiple target pairs; for each target pair, it is detected whether each information in the array of the current target pair falls within the operating information range set in the data set merging strategy of the current target pair; if so, it is determined that the array in the current target pair and the data set merging strategy in the current target pair match each other; otherwise, it is determined that the array in the current target pair and the data set merging strategy in the current target pair do not match each other.

[0141] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: after each acquisition of instantaneous operation information, detect whether the currently acquired instantaneous operation information meets the abnormal operation conditions; if so, select a data set merging strategy for dealing with the abnormality from multiple data set merging strategies, and apply the currently selected data set merging strategy to the current node.

[0142] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: detecting whether there are at least two items in the currently collected instantaneous operation information that exceed the corresponding threshold value; if so, the currently collected instantaneous operation information meets the abnormal operation conditions; otherwise, the currently collected instantaneous operation information does not meet the abnormal operation conditions.

[0143] In this embodiment, when the processor executes the computer program stored in the memory, the following steps may be specifically implemented: selecting a service priority strategy from a plurality of data set merging strategies.

[0144] In this embodiment, when the processor executes the computer program stored in the memory, the following steps can be specifically implemented: if N is equal to 2, then after each instantaneous operation information is collected, the currently collected instantaneous operation information is matched with the preset multiple data set merging strategies; if the target data set merging strategy is matched, prepare to switch the strategy, collect the instantaneous operation information again, and execute the step of matching the currently collected instantaneous operation information with the preset multiple data set merging strategies; if the target data set merging strategy is matched again, the target data set merging strategy is applied to the current node to complete the strategy switching.

[0145] In this embodiment, when the processor executes the computer program stored in the memory, the following steps may be specifically implemented: after applying the target data set merging strategy to the current node, the data set in the memory and the data set in the disk of the current node are merged according to the target data set merging strategy.

[0146] Furthermore, an embodiment of the present invention also provides an electronic device. The electronic device can be Figure 6 The server shown can also be Figure 7 Terminal shown. Figure 6 and Figure 7 All of them are structural diagrams of electronic devices according to an exemplary embodiment, and the contents in the diagrams cannot be regarded as any limitation on the scope of application of the present invention.

[0147] Figure 6 A schematic diagram of the structure of a server provided in an embodiment of the present invention. The server may specifically include: at least one processor, at least one memory, a power supply, a communication interface, an input / output interface, and a communication bus. The memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the relevant steps in the data set merging disclosed in any of the aforementioned embodiments.

[0148] In this embodiment, the power supply is used to provide working voltage for each hardware device on the server; the communication interface can create a data transmission channel between the server and external devices, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present invention, and is not specifically limited here; the input and output interface is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0149] In addition, the memory as a carrier for resource storage can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon include operating system, computer programs and data, etc. The storage method can be temporary storage or permanent storage.

[0150] The operating system is used to manage and control the hardware devices and computer programs on the server to realize the operation and processing of the data in the memory by the processor, and it can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the data set merging method disclosed in any of the above embodiments, the computer program can also further include computer programs that can be used to complete other specific tasks. In addition to data such as application update information, the data can also include data such as application developer information.

[0151] Figure 7 A schematic diagram of the structure of a terminal provided in an embodiment of the present invention, wherein the terminal may specifically include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0152] Generally, the terminal in this embodiment includes: a processor and a memory.

[0153] Among them, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0154] The memory may include one or more computer non-volatile storage media, which may be non-transitory. The memory may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory is at least used to store the following computer program, wherein, after the computer program is loaded and executed by the processor, it can implement the relevant steps in the data set merging method performed by the terminal side disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory may also include an operating system and data, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system may include Windows, Unix, Linux, etc. The data may include, but is not limited to, update information of the application.

[0155] In some embodiments, the terminal may also include a display screen, an input and output interface, a communication interface, a sensor, a power supply, and a communication bus.

[0156] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than those shown in the figure.

[0157] A nonvolatile storage medium provided in an embodiment of the present invention is introduced below. The nonvolatile storage medium described below and other embodiments described herein may be referenced to each other.

[0158] A non-volatile storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the data set merging method disclosed in the above-mentioned embodiment. The non-volatile storage medium is a computer-readable non-volatile storage medium, which, as a carrier for storing resources, may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system, a computer program and data, etc., and the storage method may be temporary storage or permanent storage.

[0159] A computer program product provided by an embodiment of the present invention is introduced below. The computer program product described below can be referenced to other embodiments described in this document.

[0160] A computer program product includes a computer program / instruction, which implements the steps of the aforementioned disclosed data set merging method when executed by a processor.

[0161] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0162] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of non-volatile storage medium known in the art.

[0163] Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for merging data sets, characterized in that: The dataset merging process applied to nodes in the distributed retrieval system includes: Continuously collect the instantaneous operation information of the current node N times to obtain N arrays; Match the N arrays with multiple preset data set merging strategies; wherein each data set merging strategy is set with a corresponding operation information range; the multiple data set merging strategies include: merging priority strategy, balanced merging strategy, business priority strategy and custom threshold strategy; the merging priority strategy is used to classify the single node into a high-frequency merging state when the read and write tasks are running stably; the balanced merging strategy is used to make the merging and business evenly share the node resources; the business priority strategy is used to limit the merging task to run at the minimum resource consumption level to ensure the smooth operation of the cluster's external business; the custom threshold model is used to customize the ratio of resources occupied by the merging and business priority according to the actual business characteristics of the cluster; If the N arrays match the same target data set merging strategy among the multiple data set merging strategies, then the target data set merging strategy is applied to the current node; the target data set merging strategy is any one of the multiple data set merging strategies; The N arrays are matched with a plurality of preset data set merging strategies, including: Merging the N arrays and the multiple data sets in pairs without duplication to obtain multiple target pairs; For each target pair, detect whether each information in the array of the current target pair falls within the operating information range set in the data set merging strategy of the current target pair; If so, it is determined that the array in the current target pair and the data set merging strategy in the current target pair match each other; otherwise, it is determined that the array in the current target pair and the data set merging strategy in the current target pair do not match each other; After each acquisition of instantaneous operation information, it is detected whether the currently acquired instantaneous operation information meets the abnormal operation conditions; If yes, then the resource information is not matched again, a data set merging strategy for dealing with the exception is selected from the multiple data set merging strategies, and the currently selected data set merging strategy is directly and forcibly applied to the current node; Among them, detecting whether the currently collected instantaneous operation information meets the abnormal operation conditions includes: Detect whether at least two items of the currently collected instantaneous operation information exceed corresponding thresholds; If yes, the currently collected instantaneous operation information meets the abnormal operation condition; otherwise, the currently collected instantaneous operation information does not meet the abnormal operation condition; Among them, the instantaneous operation information of the current node is collected N times continuously to obtain N arrays, including: Continuously collect instantaneous operation information of each device in the current node and retrieve task operation information N times at preset intervals; each device includes: disk, memory, processor and / or network card; Make each piece of information collected at a single moment form an array, and obtain N arrays; The instantaneous operation information of each device in the current node is continuously collected N times at a preset interval, including: Continuously collecting N times the instantaneous read and write rate of the disk in the current node, the instantaneous capacity occupancy information of the memory, the instantaneous resource occupancy information of the processor and / or the instantaneous bandwidth occupancy information of the network card at a preset interval as the instantaneous operation information; The retrieval task running information in the current node is continuously collected N times at a preset interval, including: Continuously collecting the retrieval task delay information and the retrieval task processing rate in the current node N times at a preset interval as the retrieval task running information; Among the plurality of data set merging strategies, selecting a data set merging strategy for dealing with anomalies includes: Selecting a business priority strategy among the multiple data set merging strategies; After the target data set merging strategy is applied to the current node, the method further includes: The dataset in the memory and the dataset in the disk of the current node are merged according to the target dataset merging strategy.

2. The method according to claim 1, characterized in that If N is equal to 2, then after each instantaneous operation information is collected, the currently collected instantaneous operation information is matched with the preset multiple data set merging strategy; If the target data set merging strategy is matched, the strategy is switched, instantaneous operation information is collected again, and the step of matching the currently collected instantaneous operation information with the preset multiple data set merging strategies is performed; If the target data set merging strategy is matched again, the target data set merging strategy is applied to the current node to complete the strategy switching.

3. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the method according to any one of claims 1 to 2.

4. A non-volatile storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.

5. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 2 is implemented.

6. A retrieval system, characterized in that: include: Multiple nodes, each node is used to implement the method described in any one of claims 1 to 2.