A modular, scalable, configurable search two-pass method and system

By adopting a modular, scalable, and configurable search second-row method and system, the problem of rapidly displaying diverse search results on large-scale websites has been solved, achieving the effect of flexibly responding to changes in search requirements and reducing development costs.

CN115495647BActive Publication Date: 2026-06-16SHENZHEN SEKORM COMPONENT NETWORK CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN SEKORM COMPONENT NETWORK CO LTD
Filing Date
2022-08-26
Publication Date
2026-06-16

Smart Images

  • Figure CN115495647B_ABST
    Figure CN115495647B_ABST
Patent Text Reader

Abstract

The application discloses a modular, scalable and configurable search two-row method and system, and the method comprises the following steps: receiving a search request word; splitting the search request word to obtain a word element and a corresponding part of speech; obtaining a search scene according to the word element and the part of speech; dividing search information into a content component and a custom component through the search scene; processing the content component and the custom component to obtain a two-row intermediate result set and a custom result set respectively; inserting the content of the custom result set into a specified position of the two-row intermediate result set; and outputting a final search result. Through implementation of the application, the flexibility of responding to search demand changes is improved, the cost of repeated development is reduced, and the diversity and richness of a search result page are provided through a configurable search scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of page data rearrangement technology in the field of search, and in particular to a modular, scalable, and configurable search second-row method and system. Background Technology

[0002] In everyday search scenarios, it's not enough to simply provide users with the search results they want based on their search terms. Furthermore, it's necessary to offer more content based on the terminology and relevance of those terms to showcase the richness and diversity of the website's content. As websites grow in scale and the diversity of their data expands, more complex data presentation methods need to be defined based on the terminology, accelerating development iterations and making search logic more intricate. This, in turn, leads to negative consequences such as slow development response times and redundant code. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to address at least one deficiency in the existing technology: how to quickly display a diverse search results page to users, and to provide a modular, scalable and configurable search second-row method and system.

[0004] The technical solution adopted by this invention to solve its technical problem is: to construct a modular, scalable, and configurable search two-row method, including the following steps:

[0005] S1: Receive search request terms;

[0006] S2: Decompose the search request terms to obtain word elements and corresponding parts of speech;

[0007] S3: Obtain the search scenario based on the lexical elements and the parts of speech;

[0008] S4: Divide the search information into content components and custom components based on the search scenario;

[0009] S5: Process the content component and the custom component to obtain two rows of intermediate result sets and a custom result set, respectively;

[0010] S6: Insert the contents of the custom result set into the specified position of the second row of intermediate result sets;

[0011] S7: Output the final search results.

[0012] Preferably, in the modular, scalable, and configurable search two-row method of the present invention, step S5 includes:

[0013] The content component obtains a grouped result set based on the word element, the category combination related to the word element, and the number of each type in the category combination. The grouped result set is used for aggregation to obtain the original search result set. The original search result set is used for processing to obtain the second row of intermediate result sets.

[0014] The custom component obtains a custom result set based on the lexical term and the search results with similar parts of speech.

[0015] Preferably, in the modular, scalable, and configurable search second-row method of the present invention, the original search result set is used for processing to obtain a second-row intermediate result set, including:

[0016] The original search results are grouped, sorted, and compensated.

[0017] Preferably, in the modular, scalable, and configurable search two-row method of the present invention, the sorting includes:

[0018] The search information is sorted according to its priority, which is related to the number of terms, term coverage, term proportion, and term position in the search information.

[0019] Preferably, in the modular, scalable, and configurable search two-row method of the present invention, step S2 further includes:

[0020] The word elements are filtered according to their parts of speech, and irrelevant word elements are filtered out to obtain the filtered word elements.

[0021] This invention also constructs a modular, scalable, and configurable search two-row system, comprising:

[0022] The receiving module is used to receive search request terms;

[0023] The splitting module is used to split the search request terms to obtain word elements and corresponding parts of speech;

[0024] The generation module is used to obtain the search scenario based on the lexical elements and the part-of-speech tags;

[0025] A segmentation module is used to segment search information into content components and custom components based on the search scenario;

[0026] The processing module is used to process the content component and the custom component to obtain two rows of intermediate result sets and custom result sets respectively;

[0027] The data sorting module is used to insert the contents of the custom result set into a specified position in the second row of intermediate result sets;

[0028] The output module is used to output the final search results.

[0029] Preferably, in the modular, scalable, and configurable search two-row system of the present invention, the processing module is further used for:

[0030] The content component obtains a grouped result set based on the word element, the category combination related to the word element, and the number of each type in the category combination. The grouped result set is used for aggregation to obtain the original search result set. The original search result set is used for processing to obtain the second row of intermediate result sets.

[0031] The custom component obtains a custom result set based on the lexical term and the search results with similar parts of speech.

[0032] Preferably, in the modular, scalable, and configurable two-row search system of the present invention, the original search result set is used for processing to obtain a second-row intermediate result set, including:

[0033] The original search results are grouped, sorted, and compensated.

[0034] Preferably, in the modular, scalable, and configurable search two-row system of the present invention, the sorting includes:

[0035] The search information is sorted according to its priority, which is related to the number of terms, term coverage, term proportion, and term position in the search information.

[0036] Preferably, in the modular, scalable, and configurable search two-row system of the present invention, the splitting module further includes:

[0037] The word elements are filtered according to their parts of speech, and irrelevant word elements are filtered out to obtain the filtered word elements.

[0038] By implementing this invention, the following beneficial effects are achieved:

[0039] This invention discloses a modular, scalable, and configurable search second-row method and system. It obtains a search scenario by splitting received search terms into word units and corresponding parts of speech, then obtains content components and custom components from the search scenario, leading to a second-row intermediate result set and a custom result set. The content of the custom result set is inserted into a specified position in the second-row intermediate result set to finally obtain the search results. The scalable data modules improve flexibility in responding to changes in search requirements and reduce the cost of repetitive development. The configurable search scenarios provide diversity and richness to the search results page, displaying a varied search results page. Attached Figure Description

[0040] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings:

[0041] Figure 1 This is a flowchart illustrating the modular, scalable, and configurable search two-row method of the present invention;

[0042] Figure 2 This is a schematic diagram of the timing flow of the search for the second row in this invention;

[0043] Figure 3 This is a schematic diagram of the two rows of basic elements of the present invention;

[0044] Figure 4 This is a block diagram of the modular, scalable, and configurable search two-row system of the present invention. Detailed Implementation

[0045] To provide a clearer understanding of the technical features, objectives, and effects of the present invention, specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0046] It should be noted that the flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0047] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0048] In this embodiment, as Figure 1 As shown, this invention constructs a modular, scalable, and configurable search two-row method, including the following steps:

[0049] S1: Receive search request terms;

[0050] S2: Break down the search query terms to obtain word elements and their corresponding parts of speech;

[0051] S3: Obtain the search scenario based on lexical elements and parts of speech;

[0052] S4: Divide search information into content components and custom components based on search scenarios;

[0053] S5: Process the content component and the custom component to obtain the two rows of intermediate result sets and the custom result set respectively;

[0054] S6: Insert the contents of the custom result set into the specified position in the middle of the second row of result sets;

[0055] S7: Output the final search results.

[0056] Preferably, such as Figure 2 As shown, when receiving user-input search terms, the system first analyzes the site type and then truncates the long search terms into multiple word units. These word units are then filtered based on their parts of speech to ultimately obtain the corresponding word units and their parts of speech. The search term object contains the following attributes: the original search term, the site type, and the processed search term.

[0057] Search terms are assigned to a word segmenter for processing. The analysis object of the word element list includes attributes such as part-of-speech and keywords. Word element filtering, multi-part-of-speech processing, and full matching calculation are performed. Multi-part-of-speech processing includes: each word element has multiple meanings and types, and the part-of-speech of each word element is determined by combining multiple word elements.

[0058] The search scenario is derived by combining lexical elements and parts of speech. The resulting scenario word object contains attributes: scenario word, keyword object, part of speech, and full match identifier. These attributes constitute the decision for the search scenario.

[0059] Specifically:

[0060] like Figure 3 As shown, step S5 includes:

[0061] The content component obtains a grouped result set based on lexical units, lexical unit-related category combinations, and the number of each type in the category combinations. The grouped result set is used for aggregation to obtain the original search result set. The original search result set is used for processing to obtain the second row of intermediate result sets.

[0062] The custom component generates a custom result set based on search results with similar terms and parts of speech.

[0063] The original search results set is used for processing to obtain a second set of intermediate results, including:

[0064] Group, sort, and compensate the original search results.

[0065] The process begins with scenario-based decision-making to process content components. The search engine then groups the result sets, aggregating these groups to obtain the original search results set. Next, the search results are grouped according to content type within each set. After sorting, an approximate number of search results are extracted from each group, with additional information provided to groups with fewer search results.

[0066] Next, the custom components are processed. Based on the lexical units and parts of speech, relevant and similar information is obtained. The information is combined to obtain a custom result set. The content of the custom result set is inserted into the second row of intermediate result sets as needed to obtain the final search results.

[0067] Preferably, after obtaining the final search results, the sorting of the search information can be changed and the display priority of the search information can be adjusted through manual intervention.

[0068] Furthermore, the sorting includes:

[0069] The search results are sorted according to their priority, which is related to the number of terms, term coverage, term percentage, and term position in the search results.

[0070] Furthermore, in this embodiment, step S2 further includes:

[0071] Filter the words according to their parts of speech, removing irrelevant words to obtain the filtered words.

[0072] The part-of-speech analysis of lexical units includes filtering out useless lexical units based on the nature of words such as brand name, product category, application, model name, synonyms, and aliases. For example, if a user enters the search term: "I want to buy an EPSON sensor SGPM01," lexical unit analysis will yield relevant parts of speech for electronic components: EPSON is the brand name, sensor is the product category, and SGPM01 is the model name. Non-component-related words will be filtered out before further data selection.

[0073] like Figure 4 As shown, one embodiment of the present invention discloses a modular, scalable, and configurable search two-row system, comprising:

[0074] The receiving module is used to receive search request terms;

[0075] The splitting module is used to split the search query terms to obtain word elements and their corresponding parts of speech;

[0076] The generation module is used to obtain the search scenario based on lexical elements and parts of speech;

[0077] The segmentation module is used to divide search information into content components and custom components based on the search scenario.

[0078] The processing module is used to process the content component and the custom component to obtain two rows of intermediate result sets and custom result sets respectively;

[0079] The data sorting module is used to insert the contents of a custom result set into a specified position in the middle of the second row of result sets;

[0080] The output module is used to output the final search results.

[0081] Preferably, such as Figure 2 As shown, when receiving user-input search terms, the system first analyzes the site type and then truncates the long search terms into multiple word units. These word units are then filtered based on their parts of speech to ultimately obtain the corresponding word units and their parts of speech. The search term object contains the following attributes: the original search term, the site type, and the processed search term.

[0082] Search terms are assigned to a word segmenter for processing. The analysis object of the word element list includes attributes such as part-of-speech and keywords. Word element filtering, multi-part-of-speech processing, and full matching calculation are performed. Multi-part-of-speech processing includes: each word element has multiple meanings and types, and the part-of-speech of each word element is determined by combining multiple word elements.

[0083] The search scenario is derived by combining lexical elements and parts of speech. The resulting scenario word object contains attributes: scenario word, keyword object, part of speech, and full match identifier. These attributes constitute the decision for the search scenario.

[0084] Specifically:

[0085] like Figure 3 As shown, the processing module is further used for:

[0086] The content component obtains a grouped result set based on lexical units, lexical unit-related category combinations, and the number of each type in the category combinations. The grouped result set is used for aggregation to obtain the original search result set. The original search result set is used for processing to obtain the second row of intermediate result sets.

[0087] The custom component generates a custom result set based on search results with similar terms and parts of speech.

[0088] The original search results set is used for processing to obtain a second set of intermediate results, including:

[0089] Group, sort, and compensate the original search results.

[0090] The process begins with scenario-based decision-making to process content components. The search engine then groups the result sets, aggregating these groups to obtain the original search results set. Next, the search results are grouped according to content type within each set. After sorting, an approximate number of search results are extracted from each group, with additional information provided to groups with fewer search results.

[0091] Next, the custom components are processed. Based on the lexical units and parts of speech, relevant and similar information is obtained. The information is combined to obtain a custom result set. The content of the custom result set is inserted into the second row of intermediate result sets as needed to obtain the final search results.

[0092] Preferably, after obtaining the final search results, the sorting of the search information can be changed and the display priority of the search information can be adjusted through manual intervention.

[0093] Furthermore, the sorting includes:

[0094] The search results are sorted according to their priority, which is related to the number of terms, term coverage, term percentage, and term position in the search results.

[0095] Furthermore, in this embodiment, the splitting module further includes:

[0096] Filter the words according to their parts of speech, removing irrelevant words to obtain the filtered words.

[0097] The part-of-speech analysis of lexical units includes filtering out useless lexical units based on the nature of words such as brand name, product category, application, model name, synonyms, and aliases. For example, if a user enters the search term: "I want to buy an EPSON sensor SGPM01," lexical unit analysis will yield relevant parts of speech for electronic components: EPSON is the brand name, sensor is the product category, and SGPM01 is the model name. Non-component-related words will be filtered out before further data selection.

[0098] By implementing this invention, the following beneficial effects are achieved:

[0099] This invention discloses a modular, scalable, and configurable search second-row method and system. It obtains a search scenario by splitting received search terms into word units and corresponding parts of speech, then obtains content components and custom components from the search scenario, leading to a second-row intermediate result set and a custom result set. The content of the custom result set is inserted into a specified position in the second-row intermediate result set to finally obtain the search results. The scalable data modules improve flexibility in responding to changes in search requirements and reduce the cost of repetitive development. The configurable search scenarios provide diversity and richness to the search results page, displaying a varied search results page.

[0100] It is understood that the above embodiments only illustrate preferred embodiments of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can freely combine the above technical features without departing from the concept of the present invention, and can also make several modifications and improvements, all of which fall within the protection scope of the present invention. Therefore, all equivalent transformations and modifications made with respect to the scope of the claims of the present invention should fall within the scope of the claims of the present invention.

Claims

1. A modular, scalable, and configurable search method for two-row ranking, characterized in that, Includes the following steps: S1: Receive search request terms; the search request terms include the following attributes: original search term, site type, and processed search request term; S2: The processed search request terms are split to obtain word elements and corresponding parts of speech, and multi-part-of-speech processing is performed; wherein, multi-part-of-speech processing includes: limiting the part of speech of each word element by combining a preset number of word elements; S3: Obtain the search scenario based on the lexical elements and the parts of speech; S4: Divide the search information into content components and custom components based on the search scenario; S5: Processing the content component and the custom component to obtain a second-row intermediate result set and a custom result set respectively, including: the content component obtaining a grouped result set based on the word element, the category combination related to the word element, and the number of each type in the category combination; the grouped result set is used for aggregation to obtain an original search result set; the original search result set is used for processing to obtain a second-row intermediate result set; the custom component obtaining a custom result set based on the word element and the search results with the same part of speech; the original search result set is used for processing to obtain a second-row intermediate result set, including: grouping according to the content type within the search result set; extracting an approximate number of search results from the search results of each group after sorting; and compensating groups with fewer than a preset number of search results with additional information to obtain a second-row intermediate result set; S6: Insert the contents of the custom result set into the specified position of the second row of intermediate result sets; S7: Output the final search results.

2. The modular, scalable, and configurable search two-row method according to claim 1, characterized in that, The sorting includes: The search information is sorted according to its priority, which is related to the number of terms, term coverage, term proportion, and term position in the search information.

3. The modular, scalable, and configurable search two-row method according to claim 1, characterized in that, Step S2 also includes: The word elements are filtered according to their parts of speech, and irrelevant word elements are filtered out to obtain the filtered word elements.

4. A modular, scalable, and configurable search two-row system, characterized in that, include: The receiving module is used to receive search request terms; The search request terms include the following attributes: the original search term, the site type, and the processed search request terms; The splitting module is used to split the processed search request terms to obtain word elements and corresponding parts of speech, and to perform multi-part-of-speech processing; wherein, multi-part-of-speech processing includes: limiting the part of speech of each word element by combining a preset number of word elements; The generation module is used to obtain the search scenario based on the lexical elements and the part-of-speech tags; A segmentation module is used to segment search information into content components and custom components based on the search scenario; The processing module is used to process the content component and the custom component to obtain a second-row intermediate result set and a custom result set, respectively. The processing module is further used for: obtaining a grouped result set in the content component based on the lexical, the lexical-related category combination, and the number of each type in the category combination; the grouped result set is used for aggregation to obtain an original search result set; the original search result set is used for processing to obtain a second-row intermediate result set; obtaining a custom result set in the custom component based on the lexical and the search results with similar parts of speech; and processing the original search result set to obtain a second-row intermediate result set, including: grouping according to the content type within the search result set, extracting an approximate number of search results from each group after sorting, and compensating groups with fewer than a preset number of search results with additional information to obtain a second-row intermediate result set. The data sorting module is used to insert the contents of the custom result set into a specified position in the second row of intermediate result sets; The output module is used to output the final search results.

5. The modular, scalable, and configurable search two-row system according to claim 4, characterized in that, The sorting includes: The search information is sorted according to its priority, which is related to the number of terms, term coverage, term proportion, and term position in the search information.

6. The modular, scalable, and configurable search two-row system according to claim 4, characterized in that, The splitting module also includes: The word elements are filtered according to their parts of speech, and irrelevant word elements are filtered out to obtain the filtered word elements.