A behavior-based personalized search system
By extracting the target words and the number of operations in the user's search behavior, combined with the search parameters, a personalized search link is constructed, which solves the problem of inaccurate search results in the existing technology and improves the accuracy and efficiency of data search.
Patent Information
- Application Number
- CN202411001325.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-25
AI Technical Summary
When the existing behavior-based search system processes a large amount of non-uniform data, it is difficult to accurately analyze the characteristics of user search behavior, resulting in inaccurate search results, increased search time, and reduced efficiency.
By extracting the target words and the number of operations in the user's search behavior, we construct feature bits and search features, combine the content relevance, timeliness over-limit rate and effective response rate to generate the search fit, determine whether the personalized search needs are met, and classify Sub-datasets to build personalized search links to improve search accuracy and efficiency.
It achieves accurate satisfaction of users' personalized search needs, improves the accuracy and efficiency of data search, and ensures fast and accurate search results.
Smart Images

Figure CN118535609B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and more specifically, to a behavior-based personalized search system. Background Art
[0002] In the daily work of the human resources department of an enterprise, a large amount of personnel data of employees needs to be accurately classified and managed. When the personnel data of employees changes, the corresponding personnel data needs to be searched out and updated to achieve efficient management of personnel data. In order to quickly and accurately search for the required data from a large amount of complex personnel data, it is necessary to identify and analyze the user's search behavior, so as to search for the target data that matches the search behavior.
[0003] The patent application with reference publication number CN104035927A discloses a search method and system based on user behavior, including a basic search server generating a search result page according to a search term input by a user in a search engine; a sorting server obtains a corresponding tag in a pre-generated mapping relationship according to the search term, marks the search result page with a tag with the highest similarity to the search result page, and classifies the search result pages with the same tag into one category; the sorting server obtains an interest category of the tag corresponding to the search result page according to a preset correspondence between the interest category and the web page, matches the pre-generated user interest category with the interest category of the tag, increases the weight value of the search result page corresponding to the matched tag, and pushes the search result page obtained after sorting according to the weight value to the user; according to the user's collection behavior and marking behavior, the display order of the search result pages provided by the search engine is adjusted, and the search result page of interest to the user is displayed preferentially in all search result pages, so as to provide the user with more targeted and personalized search results, improve the personalized service level of the search engine, reduce the interactive operation between the user and the search engine, reduce the burden on the search engine, and improve the search efficiency;
[0004] The prior art has the following deficiencies:
[0005] The existing behavior-based search system analyzes the behavior characteristics corresponding to the search behavior, searches for data with a certain correlation with the behavior characteristics from the database, and summarizes the searched data and provides it to the user for screening. Since the types of a large amount of data in the database are not uniform, and the behavior characteristics are also affected by the personalized behavior of the user and have diversified characteristics, the correlation between the searched data and the behavior characteristics is not consistent. When the correlation between the searched data and the behavior characteristics is greatly different, the searched data cannot be accurately analyzed and judged, which makes it easy for the search data to be inaccurate, further increasing the search time for the required data and reducing the search efficiency.
[0006] In view of this, the present invention proposes a behavior-based personalized search system to solve the above problems. Summary of the invention
[0007] In order to overcome the above defects of the prior art and to achieve the above objectives, the present invention provides the following technical solutions: a behavior-based personalized search system, comprising:
[0008] The feature extraction module obtains the user's search behavior data and extracts behavior features from the behavior data. The behavior features include target words and operation times.
[0009] The search feature module constructs a basic feature with feature bits, and imports the target words and operation times into the feature bits to generate search features;
[0010] A search calculation module searches for data to be verified from the database based on search features, collects search parameters for the data to be verified, and generates search fit, where the search parameters include content relevance, timeliness overrun rate, and effective response rate;
[0011] A comparison and determination module compares the search fit with a preset search fit threshold to determine whether the personalized search requirement is met;
[0012] A partitioning and sorting module divides the data to be verified into sub-data sets based on the partitioning criteria and arranges the sub-data sets in order;
[0013] The search link module marks the link points of the sub-datasets, connects the link points between adjacent sub-datasets, and constructs a personalized search link.
[0014] Furthermore, the behavior data includes click behavior, input behavior, browsing behavior, and collection behavior;
[0015] Methods for extracting target words and operation times include:
[0016] Use natural language processing technology to identify the behavioral words in click behavior, input behavior, browsing behavior, and collection behavior one by one, and count the number of behavioral words;
[0017] Record entry, resignation, social security, contract, salary and attendance as standard terms;
[0018] Record the behavior words that exist in any standard word as valid words, and obtain i valid words;
[0019] Count the number of i valid words, and compare the number of i valid words with the number of behavioral words to obtain the proportion of i words;
[0020] The expression of word proportion is:
[0021] ;
[0022] In the formula, is the proportion of the i-th word, is the number of the i-th valid words, is the number of behavioral words;
[0023] The word proportion value greater than the standard proportion value is recorded as the effective proportion value, and the effective words corresponding to the effective proportion value are recorded as target words, and p target words are obtained;
[0024] The number of click operations and the number of input operations corresponding to the p target words are counted one by one through the search record system, and recorded as the first value and the second value respectively;
[0025] After accumulating the p first-time values with the corresponding p second-time values one by one, p operation times are obtained.
[0026] Further, the characteristic bit includes a first characteristic bit and a second characteristic bit;
[0027] The construction methods of basic features include:
[0028] Establish p phrases with k character positions in the natural language processing library, and number the k character positions in ascending order;
[0029] Count the character values corresponding to the p target words and the p operation times one by one to obtain p first character values and p second character values;
[0030] Mark the character positions whose numbers are equal to the p first character values and the p second character values in the p word groups in ascending order, to obtain p first character groups and p second character groups;
[0031] Combine the character bits in the p first character groups and the character bits in the p second character groups head to tail, respectively, to obtain p first characteristic bits and p second characteristic bits;
[0032] The character positions other than the first feature position and the second feature position in the p phrases are deleted, and feature lines are drawn at the front end of the first feature position and the rear end of the second feature position to obtain p basic features.
[0033] Furthermore, the method for generating the search feature includes:
[0034] Arrange the p target words and the corresponding p operation times one by one, and bind the arranged target words and operation times to form p combined features;
[0035] Count the total number of character positions of the target words and operation times in the p combination features one by one to obtain the total value of p required characters;
[0036] Count the total number of character bits of the first feature bit and the second feature bit in the p basic features to obtain the total value of p supplied characters;
[0037] The combined features and basic features with the same total value of the required characters and the total value of the supplied characters are recorded as an import object group, and p import object groups are obtained;
[0038] The target words and operation times in the p import object groups are imported one by one into the first feature bit and the second feature bit in the corresponding import object group to obtain p search features.
[0039] Furthermore, the method for obtaining content relevance includes:
[0040] Arrange the p search features in order from the largest to the smallest number of operations, and record the target words in the top three search features as approved words;
[0041] Using natural language processing technology, key words in m pieces of data to be verified are identified one by one to obtain m key words;
[0042] The key words that are consistent with the approved words are recorded as words to be verified, and the number of words to be verified is counted;
[0043] Compare the number of words to be verified with the number of key words to obtain content relevance;
[0044] The expression of content relevance is:
[0045] ;
[0046] In the formula, is the content relevance, is the number of words to be verified, is the number of key words.
[0047] Furthermore, the method for obtaining the time limit excess rate includes:
[0048] Query the time when p search features send the search to the database through the timestamp to obtain p sending times;
[0049] Sort the p sending times in chronological order, and record the last sending time as the starting time;
[0050] Mark the moments when m data to be verified are searched and exported from the database one by one, and obtain m export moments;
[0051] The time between the start time and the m export times is recorded as the search time, and m search time is obtained;
[0052] The delay time of querying the database through the search record system is subtracted from the delay time in sequence by the m search time to obtain m search time efficiencies;
[0053] The expression for search time is:
[0054] ;
[0055] In the formula, is the mth search time, is the mth search duration, is the delay duration;
[0056] The search time that is greater than the standard search safety value is recorded as the exceeded time, and the number of exceeded time is counted. After comparing the number of exceeded time with the number of search time, the time limit exceeding rate is obtained;
[0057] The expression of the aging excess rate is:
[0058] ;
[0059] In the formula, is the time limit excess rate, is the number of overdue validity periods, is the number of search times.
[0060] Furthermore, the method for obtaining the effective response rate includes:
[0061] Query the storage time of m pieces of data to be verified one by one through the database to obtain m storage times;
[0062] The storage time after the storage split time is recorded as the response time, and the number of response times is counted;
[0063] After comparing the number of response times with the number of storage times, the effective response rate is obtained;
[0064] The expression of effective response rate is:
[0065] ;
[0066] In the formula, is the effective response rate, is the number of response times, The amount of storage time.
[0067] Furthermore, the expression for searching for fit is:
[0068] :
[0069] In the formula, To search for fit, , , is the weight factor, , , All are greater than 0;
[0070] Methods for determining whether personalized search needs are met include:
[0071] Search fit Matches the preset search threshold Compare;
[0072] when Greater than or equal to When the personalized search needs are met;
[0073] when Less than When it is determined that the personalized search needs are not met, it is determined that the personalized search needs are not met.
[0074] Furthermore, the division criterion is: the division is performed using the boundary between two adjacent word sets as the division point;
[0075] The methods for dividing sub-datasets include:
[0076] Construct p blank data sets;
[0077] Using natural language processing technology, the key words in the m data to be verified are identified one by one, and the data to be verified with the same key words are aggregated to form a word set, thereby obtaining p word sets;
[0078] Mark a dividing point at the midpoint of the p-th word set and the p+1-th word set, and draw a dividing line along the vertical direction through the dividing point to obtain p-1 dividing lines;
[0079] Using p-1 dividing lines as dividing points, the data to be verified is divided into p sub-data sets.
[0080] Further, the chain point includes a first chain point and a second chain point;
[0081] The method for constructing a personalized search link includes:
[0082] Draw a collection line in the vertical direction on the front side of the first data to be verified and the back side of the last data to be verified of the p sub-data sets, which are recorded as the starting line and the ending line respectively;
[0083] Mark two nodes equidistantly on the starting line and the ending line respectively to obtain two first chain points and two second chain points;
[0084] From top to bottom, the two first chain points on the same starting line and the two second chain points on the same ending line are numbered in ascending order;
[0085] Connect the first link point of the p+1th sub-data set and the second link point of the pth sub-data set with the same number to form a link line, and obtain 2p-2 link lines;
[0086] After expanding outwards with the link line as the center, a closed channel is obtained, and the closed channel with a smaller first link point number on the link line is recorded as an uplink channel, and the closed channel with a larger first link point number on the link line is recorded as a downlink channel;
[0087] After the uplink channel and the downlink channel between two adjacent sub-datasets are bound, they are numbered and annotated to generate p-1 personalized search links.
[0088] The technical effects and advantages of the behavior-based personalized search system of the present invention are as follows:
[0089] The present invention obtains the behavioral data of the user during the search and extracts the behavioral features from the behavioral data, the behavioral features including the target words and the number of operations, constructs a basic feature with a feature bit, and imports the target words and the number of operations into the feature bit to generate a search feature, searches for the data to be verified from the database based on the search feature, collects the search parameters of the data to be verified, and generates a search fit, compares the search fit with a preset search fit threshold to determine whether the personalized search needs are met, divides the data to be verified into sub-data sets based on the division criteria, arranges the sub-data sets in order, marks the link points of the sub-data sets, connects the link points between adjacent sub-data sets, and constructs a personalized search link; compared with the prior art, the present invention can accurately extract the target words and the number of operations reflecting the user's search behavior characteristics from the user's search behavior data, and eliminates the search process. The irrelevant data that interferes with the search is combined with the target words and the number of operations into search features to search for the data to be verified. At the same time, combined with the collection and calculation operations of the search parameters, the correlation fit between the data to be verified and the personalized search needs of the user can be obtained, so as to verify the data searched based on the search features to ensure that the searched data to be verified can meet the personalized search needs of the user, and by constructing sub-data sets, different types of search data can be distinguished. At the same time, combined with the personalized search link with dual channels, it is ensured that the multi-type data searched can perform fast, smooth and two-way search interaction processing with each other, so as to provide data that meets the user's search behavior needs, and ensure that the user can quickly and accurately achieve the search purpose by searching the data, which greatly improves the search accuracy of the data and shortens the time of data search. BRIEF DESCRIPTION OF THE DRAWINGS
[0090] Figure 1 A schematic diagram of a behavior-based personalized search system provided in Example 1 of the present invention;
[0091] Figure 2 A flowchart of a behavior-based personalized search method provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0092] 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 embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0093] Example 1: Please refer to Figure 1 As shown, the behavior-based personalized search system described in this embodiment includes:
[0094] The feature extraction module obtains the user's search behavior data and extracts behavior features from the behavior data. The behavior features include target words and operation times.
[0095] Behavioral data refers to the data that can represent the search behavior generated when users search for the required data in the database according to their own wishes, so as to comprehensively and accurately represent the search behavior generated by users and serve as the data basis for subsequent personalized searches;
[0096] Behavioral data includes click behavior, input behavior, browsing behavior and collection behavior; click behavior is used to record the user's search click objects during the search process, input behavior is used to record the user's search input data during the search process, browsing behavior is used to record the user's information browsing behavior during the search process, and collection behavior is used to record the user's information collection behavior during the search process; click behavior, input behavior, browsing behavior and collection behavior are all detected and obtained through the system monitoring tools in the database.
[0097] Behavioral features refer to features that can truly represent the key behaviors of the user's behavioral data, so that complex behavioral actions can be represented by concise text features, which facilitates the subsequent fast and accurate search operation of the positioning data;
[0098] The behavior characteristics include target words and operation times; the target words refer to the words whose number of words corresponding to click operations in the behavior data exceeds the standard ratio, which can represent the words corresponding to the click behavior in the behavior characteristics; the operation times refer to the number of times the words in the behavior data are clicked and input, which can represent the operation frequency of the words in the behavior characteristics;
[0099] Methods for extracting target words and operation times include:
[0100] Use natural language processing technology to identify the behavioral words in click behavior, input behavior, browsing behavior, and collection behavior one by one, and count the number of behavioral words;
[0101] Record entry, resignation, social security, contract, salary and attendance as standard terms; so that standard terms can fully and accurately represent the personnel data of employees;
[0102] Record the behavior words that exist in any standard word as valid words, and obtain i valid words;
[0103] Count the number of i valid words, and compare the number of i valid words with the number of behavioral words to obtain the proportion of i words;
[0104] The expression of word proportion is:
[0105] ;
[0106] In the formula, is the proportion of the i-th word, is the number of the i-th valid words, is the number of behavioral words;
[0107] The word proportion value greater than the standard proportion value is recorded as the effective proportion value, and the effective word corresponding to the effective proportion value is recorded as the target word, and p target words are obtained; the standard proportion value is used to represent the minimum value of the word proportion value marked as the effective proportion value, so that the word proportion value corresponding to the target word can be numerically limited, and the target word can be accurately and reasonably selected from a large number of behavior words, thereby truly and accurately representing the user's behavior characteristics;
[0108] The number of click operations and the number of input operations corresponding to the p target words are counted one by one through the search record system, and recorded as the first value and the second value respectively;
[0109] After accumulating the p first-time values with the corresponding p second-time values one by one, p operation times are obtained.
[0110] The search feature module constructs a basic feature with feature bits, and imports the target words and operation times into the feature bits to generate search features;
[0111] The basic feature is the blank original feature that is constructed into the search feature. It is used to provide a reasonable carrier for the combination of target words and operation times, so that the target words and the corresponding operation times can be accurately bound. The feature bit is the smallest component unit in the basic feature, which is used to provide an import position for specific behavioral features.
[0112] The feature bit includes a first feature bit and a second feature bit; the first feature bit is a position for providing an introduction to the target word, and the second feature bit is a position for providing an introduction to the number of operations;
[0113] The construction methods of basic features include:
[0114] Establish p phrases with k character positions in the natural language processing library, and number the k character positions in ascending order; a phrase refers to a blank word before the behavior feature is filled in and imported, which can provide a basis for the import of the behavior feature and serve as a component of the basic feature;
[0115] Count the character values corresponding to the p target words and the p operation times one by one to obtain p first character values and p second character values;
[0116] Mark the character positions whose numbers are equal to the p first character values and the p second character values in the p word groups in ascending order, to obtain p first character groups and p second character groups;
[0117] Combine the character bits in the p first character groups and the character bits in the p second character groups head to tail, respectively, to obtain p first characteristic bits and p second characteristic bits;
[0118] Delete the character positions other than the first feature position and the second feature position in p phrases, and draw feature lines at the front end of the first feature position and the back end of the second feature position to obtain p basic features; the feature lines are contour lines used to define the corresponding positions of the first feature position and the second feature position to ensure that a basic feature can contain a first feature position and a second feature position, thereby achieving a relatively closed effect of the basic features.
[0119] Search features refer to search information that can directly and accurately represent the user's personalized search operation behavior by combining the target words and the corresponding operation times, and serve as input information for searching data information in the database;
[0120] The methods for generating search features include:
[0121] Arrange the p target words and the corresponding p operation times one by one, and bind the arranged target words and operation times to form p combined features; binding refers to the mutual connection between data, so that the two bound data can have the same imprint, so as to facilitate subsequent rapid search;
[0122] Count the total number of character positions of the target words and operation times in the p combination features one by one to obtain the total value of p required characters;
[0123] Count the total number of character bits of the first feature bit and the second feature bit in the p basic features to obtain the total value of p supplied characters;
[0124] The combined features and basic features with the same total value of the required characters and the total value of the supplied characters are recorded as an import object group, and p import object groups are obtained;
[0125] Import the target words and operation times in the p import object groups into the first feature bit and the second feature bit in the corresponding import object group one by one to obtain p search features;
[0126] It should be noted that after the search features are obtained, since the number of search features is not unique and the search terms and search times corresponding to each search feature are also different, the search priorities and importance corresponding to the p search features are also diverse. It is possible that the search priorities and importance of the same search features are consistent, or it is possible that the priority and importance of each search feature are inconsistent.
[0127] A search calculation module searches for data to be verified from the database based on search features, collects search parameters for the data to be verified, and generates search fit;
[0128] The data to be verified refers to the data that can basically meet the search characteristics and is initially screened out in the database based on the search characteristics. Since the data to be verified belongs to a large range of extensive search data, the actual fit between the data to be verified and the search characteristics varies, resulting in some data to be verified having a large actual fit with the search characteristics, while some data to be verified have a small actual fit with the search characteristics. In order to accurately determine the actual fit between the overall data to be verified and the search characteristics, it is necessary to collect parameters that affect the fit;
[0129] Search parameters refer to parameters that can affect the actual fit between the data to be verified and the search features, and serve as the basis for subsequent calculation of the search fit.
[0130] Search parameters included content relevance, timeliness exceedance rate, and effective response rate;
[0131] Content relevance refers to the degree of similarity between the content in the searched data to be verified and the content in the search feature. The greater the content relevance, the higher the degree of similarity between the content in the searched data to be verified and the content in the search feature, the better the search quality, and the greater the search fit.
[0132] Methods for obtaining content relevance include:
[0133] According to the number of operations, the p search features are arranged in order, and the target words in the top three search features are recorded as approved words. The top three rankings can not only reduce the computational burden caused by the calculation of a large number of target words, but also can represent the search features relatively accurately, simplifying the process of data collection and calculation.
[0134] The key words in the m data to be verified are identified one by one through natural language processing technology to obtain m key words; the key words are used to represent the true meaning of the data to be verified in the personnel data, that is, to represent the true meaning of the personnel data;
[0135] The key words that are consistent with the approved words are recorded as words to be verified, and the number of words to be verified is counted;
[0136] Compare the number of words to be verified with the number of key words to obtain content relevance;
[0137] The expression of content relevance is:
[0138] ;
[0139] In the formula, is the content relevance, is the number of words to be verified, is the number of key words.
[0140] The time limit excess rate refers to the ratio of the number of data to be verified whose search time exceeds the standard search safety value to the total number of data. The larger the time limit excess rate, the more data to be verified that exceeds the standard search time, the worse the search quality, and the smaller the search fit;
[0141] Methods for obtaining the time limit excess rate include:
[0142] Query the time when p search features send the search to the database through the timestamp to obtain p sending times;
[0143] Sort the p sending times in chronological order, and record the last sending time as the starting time;
[0144] Mark the moments when m data to be verified are searched and exported from the database one by one, and obtain m export moments;
[0145] The time between the start time and the m export times is recorded as the search time, and m search time is obtained;
[0146] By searching the delay time of the database for record system query, m search time lengths are subtracted from the delay time length in turn to obtain m search time effectiveness; the delay time length refers to the time length between the database receiving the search instruction and executing the search instruction, so that the search time effectiveness can be analyzed and calculated from the perspective of system error, thereby improving the accuracy of the search time effectiveness;
[0147] The expression for search time is:
[0148] ;
[0149] In the formula, is the mth search time, is the mth search duration, is the delay duration;
[0150] The search time that is greater than the standard search safety value is recorded as the time limit exceeded, and the number of time limits exceeded is counted. The time limit exceeded rate is obtained by comparing the number of time limits exceeded with the number of search time limits. The standard search safety value refers to the maximum value of the search time when searching for data from the database under normal circumstances, which can distinguish the search process as normal and abnormal, and serve as the basis for judging the time limit exceeded. The standard search safety value is obtained by collecting a large number of maximum values of the search time that are not marked as time limits exceeded in history and calculating their average value.
[0151] The expression of the aging excess rate is:
[0152] ;
[0153] In the formula, is the time limit excess rate, is the number of overdue validity periods, is the number of search times.
[0154] The effective response rate refers to the ratio of the number of data to be verified whose storage time is later than the storage split time to the total amount of data. The larger the effective response rate, the larger the ratio of the number of data to be verified whose storage time is later than the storage split time to the total amount of data, the better the search quality, and the greater the search fit;
[0155] Methods for obtaining effective response rates include:
[0156] Query the storage time of m pieces of data to be verified one by one through the database to obtain m storage times;
[0157] The storage time after the storage split time is recorded as the response time, and the number of response times is counted;
[0158] After comparing the number of response times with the number of storage times, the effective response rate is obtained;
[0159] The expression of effective response rate is:
[0160] ;
[0161] In the formula, is the effective response rate, is the number of response times, The amount of storage time.
[0162] Search fit is a numerical representation of the degree of fit between the data to be verified and the search feature, which can be used to represent the search quality of the searched data to be verified. The greater the search fit, the more likely the searched data to be verified can meet the search requirements of the search feature, and vice versa.
[0163] The expression for searching fit is:
[0164] :
[0165] In the formula, To search for fit, , , is the weight factor, , , All are greater than 0;
[0166] in, , exemplary, is 0.35, is 0.34, is 0.31; it should be noted that , , The purpose is to adjust the proportion of content relevance, timeliness rate and effective response rate in search fit, so that the influence of content relevance, timeliness rate and effective response rate on the size of search fit can maintain a relatively balanced, thereby ensuring the accuracy of the search fit value.
[0167] A comparison and determination module compares the search fit with a preset search fit threshold to determine whether the personalized search requirement is met;
[0168] Whether the personalized search needs are met refers to whether the search fit of the data to be verified found based on the user's search characteristics meets the preset fit range, so as to intuitively represent the search results of the data to be verified and serve as the basis for subsequent processing of the data to be verified;
[0169] Methods for determining whether personalized search needs are met include:
[0170] Search fit Matches the preset search threshold Comparison; The preset search fit threshold is used to represent the minimum value of the search fit that meets the user's search needs based on the search features, that is, the search fit can be divided into two ranges; The preset search fit threshold is obtained by collecting a large number of historical minimum values of the search fit that meet the user's search needs based on the search features, and then calculating the average value;
[0171] when Greater than or equal to , it means that the search fit is greater than or equal to the preset search fit threshold, and the data to be verified meets the user's minimum search requirements based on the search features, and it is determined that the personalized search requirements are met;
[0172] when Less than , it means that the search fit is less than the preset search fit threshold, then the data to be verified does not meet the user's minimum search requirements based on the search features, and it is determined that the personalized search requirements are not met.
[0173] A partitioning and sorting module divides the data to be verified into sub-data sets based on the partitioning criteria and arranges the sub-data sets in order;
[0174] When the data to be verified can meet the personalized search needs of users, it is necessary to distinguish the types of a large number of data to be verified so that the data to be verified associated with different search features can be gathered together to form sub-data sets. When the data to be verified is divided into sub-data sets, it is necessary to do so under the restriction of the division criteria to ensure that the data to be verified in each sub-data set can correspond to a separate search feature.
[0175] The division criteria are: the division is based on the boundary between two adjacent word sets;
[0176] The methods for dividing sub-datasets include:
[0177] Construct p blank data sets; a data set is a data set used to aggregate and store data of the same type, so as to meet the aggregation of data to be verified with the same keywords;
[0178] Using natural language processing technology, the key words in the m data to be verified are identified one by one, and the data to be verified with the same key words are aggregated to form a word set, thereby obtaining p word sets;
[0179] The dividing point is marked at the midpoint of the pth word set and the p+1th word set, and a dividing line is drawn vertically through the dividing point to obtain p-1 dividing lines; the dividing line is used to represent the segmentation position of two adjacent word sets, so that the data to be verified can be accurately divided, and the dividing point is the reference point for drawing the dividing line and ensures the accuracy of drawing the dividing line;
[0180] Using p-1 dividing lines as dividing points, divide the data to be verified into p sub-data sets;
[0181] When the data to be verified is divided into p sub-datasets, in order to arrange the p sub-datasets in order, it is necessary to count the number of operations in the search features corresponding to the data to be verified in the p sub-datasets one by one, and arrange the p sub-datasets in descending order according to the number of operations from large to small, so that the sub-datasets with larger operation times can be arranged in front. At this time, the data to be verified corresponding to the search features with larger operation times can be presented to the user earlier, realizing an effective search and display effect of prioritizing different data to be verified.
[0182] The search link module marks the link points of the sub-datasets, connects the link points between adjacent sub-datasets, and constructs a personalized search link;
[0183] Personalized search link refers to a channel for data transmission and search established between sub-data sets on the basis of satisfying the personalized search of users, so as to ensure that the data to be verified in different sub-data sets can facilitate the personalized search operation of users and improve the convenience and accuracy of users' search for data;
[0184] The link point is used to represent the endpoints of the data transmission and search channels between sub-data sets, so as to ensure that the two ends of the data transmission and search channels can stably connect the two adjacent sub-data sets, thereby achieving stable and accurate data transmission and interaction;
[0185] The chain points include the first chain point and the second chain point; the first chain point is located at the front end of the sub-dataset and is used to realize the data interaction between the current sub-dataset and the previous sub-dataset, and the second chain point is located at the back end of the sub-dataset and is used to realize the data interaction between the current sub-dataset and the next sub-dataset;
[0186] The method for constructing a personalized search link includes:
[0187] Draw a collection line in the vertical direction on the front side of the first data to be verified and the back side of the last data to be verified of the p sub-data sets, which are recorded as the starting line and the ending line respectively;
[0188] Mark two nodes equidistantly on the starting line and the ending line respectively to obtain two first chain points and two second chain points;
[0189] From top to bottom, the two first chain points on the same starting line and the two second chain points on the same ending line are numbered in ascending order;
[0190] The first link point of the p+1th sub-data set and the second link point of the pth sub-data set with the same number are connected to form a link line, and 2p-2 link lines are obtained; the link line refers to a transmission line that can connect the corresponding first link point and the second link point, and serves as the basis for constructing a personalized search link to ensure that the corresponding first link point and the second link point can be associated with each other;
[0191] After expanding outward with the location of the link line as the center, a closed channel is obtained, and the closed channel with a smaller first link point number on the link line is recorded as an uplink channel, and the closed channel with a larger first link point number on the link line is recorded as a downlink channel; a closed channel refers to a transmission channel formed after the link line is expanded. Since the link line is a transmission line, it does not have the function of data transmission. When the link line is expanded, a closed channel with a transmission channel structure can be formed, thereby achieving a data transmission effect;
[0192] After the uplink channel and the downlink channel between two adjacent sub-datasets are bound, they are numbered and annotated to generate p-1 personalized search links.
[0193] It should be noted that after a personalized search link is generated, the uplink channel is used to unidirectionally transmit the data to be verified in the next sub-data set to the previous sub-data set, and the downlink channel is used to unidirectionally transmit the data to be verified in the previous sub-data set to the next sub-data set, thereby realizing a two-way separate transmission and search effect between the data to be verified in two adjacent sub-data sets. The data to be verified in two adjacent sub-data sets will not interfere with each other when transmitted and searched in the same channel, thereby improving the stability and independence of data search.
[0194] In this embodiment, by obtaining the behavioral data of the user during the search, and extracting the behavioral features from the behavioral data, the behavioral features include target words and operation times, constructing a basic feature with a feature bit, and importing the target words and operation times into the feature bit to generate a search feature, searching the data to be verified from the database based on the search feature, collecting the search parameters of the data to be verified, and generating a search fit, comparing the search fit with a preset search fit threshold to determine whether it meets the personalized search needs, dividing the data to be verified into sub-data sets based on the division criteria, and arranging the sub-data sets in order, marking the chain points of the sub-data sets, connecting the chain points between adjacent sub-data sets, and constructing a personalized search link; compared with the prior art, this invention can accurately extract the target words and operation times that reflect the user's search behavior characteristics from the user's search behavior data, and eliminate the search process. The irrelevant data that causes interference is identified, and the target words and operation times are combined into search features to search for the data to be verified. At the same time, combined with the collection and calculation operations of the search parameters, the correlation fit between the data to be verified and the personalized search needs of the user can be obtained, so as to verify the data searched based on the search features, ensure that the searched data to be verified can meet the personalized search needs of the user, and by constructing sub-data sets, different types of search data can be distinguished. At the same time, combined with a personalized search link with dual channels, it is ensured that the multi-type data searched can perform fast, smooth and two-way search interaction processing with each other, so as to provide data that meets the user's search behavior needs, and ensure that the user can quickly and accurately achieve the search purpose by searching the data, which greatly improves the search accuracy of the data and shortens the time of data search.
[0195] Example 2: Please refer to Figure 2 As shown, the part not described in detail in this embodiment is described in Example 1, and a behavior-based personalized search method is provided, which is implemented based on a behavior-based personalized search system, including:
[0196] S1: Obtain the user's search behavior data and extract behavior features from the behavior data. The behavior features include target words and operation times.
[0197] S2: construct a basic feature with feature bits, and import the target words and operation times into the feature bits to generate search features;
[0198] S3: Search the data to be verified from the database based on the search features, collect the search parameters of the data to be verified, and generate the search fit. The search parameters include content relevance, time limit rate and effective response rate;
[0199] S4: Compare the search fit with the preset search fit threshold to determine whether the personalized search requirement is met; if the personalized search requirement is met, execute S5-S6; if the personalized search requirement is not met, repeat S3-S4;
[0200] S5: Based on the division criteria, the data to be verified is divided into sub-data sets, and the sub-data sets are arranged in order;
[0201] S6: Mark the chain points of the sub-datasets, connect the chain points between adjacent sub-datasets, and build a personalized search link.
[0202] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A behavior-based personalized search system, characterized in that: include: The feature extraction module obtains the user's search behavior data and extracts behavior features from the behavior data. The behavior features include target words and operation times. The search feature module constructs a basic feature with feature bits, and imports the target words and operation times into the feature bits to generate search features; A search calculation module searches for data to be verified from the database based on search features, collects search parameters for the data to be verified, and generates search fit, where the search parameters include content relevance, timeliness overrun rate, and effective response rate; A comparison and determination module compares the search fit with a preset search fit threshold to determine whether the personalized search requirement is met; A partitioning and sorting module divides the data to be verified into sub-data sets based on the partitioning criteria and arranges the sub-data sets in order; The search link module marks the link points of the sub-datasets, connects the link points between adjacent sub-datasets, and constructs a personalized search link; The chain points include a first chain point and a second chain point; The method for constructing a personalized search link includes: Draw a collection line in the vertical direction on the front side of the first data to be verified and the back side of the last data to be verified of the p sub-data sets, which are recorded as the starting line and the ending line respectively; Mark two nodes equidistantly on the starting line and the ending line respectively to obtain two first chain points and two second chain points; From top to bottom, the two first chain points on the same starting line and the two second chain points on the same ending line are numbered in ascending order; Connect the first link point of the p+1th sub-data set and the second link point of the pth sub-data set with the same number to form a link line, and obtain 2p-2 link lines; After expanding outwards with the location of the link line as the center, a closed channel is obtained, and the closed channel with a smaller first link point number on the link line is recorded as an uplink channel, and the closed channel with a larger first link point number on the link line is recorded as a downlink channel; After the uplink channel and the downlink channel between two adjacent sub-datasets are bound, they are numbered and annotated to generate p-1 personalized search links.
2. A behavior-based personalized search system according to claim 1, characterized in that: The behavior data includes click behavior, input behavior, browsing behavior and collection behavior; Methods for extracting target words and operation times include: Use natural language processing technology to identify the behavioral words in click behavior, input behavior, browsing behavior, and collection behavior one by one, and count the number of behavioral words; Record entry, resignation, social security, contract, salary and attendance as standard terms; Record the behavior words that exist in any standard word as valid words, and obtain Valid words; statistics The number of valid words, and After comparing the number of valid words with the number of behavioral words, we get The proportion of words; The expression of word proportion is: ; In the formula, For the The proportion of words, For the The number of valid words, is the number of behavioral words; The word proportion value greater than the standard proportion value is recorded as the effective proportion value, and the effective words corresponding to the effective proportion value are recorded as target words, and p target words are obtained; The number of click operations and the number of input operations corresponding to the p target words are counted one by one through the search record system, and recorded as the first value and the second value respectively; After accumulating the p first-time values with the corresponding p second-time values one by one, p operation times are obtained.
3. A behavior-based personalized search system according to claim 2, characterized in that: The feature bit includes a first feature bit and a second feature bit; The construction methods of basic features include: Establish p phrases with k character positions in the natural language processing library, and number the k character positions in ascending order; Count the character values corresponding to the p target words and the p operation times one by one to obtain p first character values and p second character values; Mark the character positions whose numbers are equal to the p first character values and the p second character values in the p word groups in ascending order, to obtain p first character groups and p second character groups; Combine the character bits in the p first character groups and the character bits in the p second character groups head to tail, respectively, to obtain p first characteristic bits and p second characteristic bits; The character positions other than the first feature position and the second feature position in the p phrases are deleted, and feature lines are drawn at the front end of the first feature position and the rear end of the second feature position to obtain p basic features.
4. A behavior-based personalized search system according to claim 3, characterized in that: The method for generating the search feature includes: Arrange the p target words and the corresponding p operation times one by one, and bind the arranged target words and operation times to form p combined features; Count the total number of character positions of the target words and operation times in the p combination features one by one to obtain the total value of p required characters; Count the total number of character bits of the first feature bit and the second feature bit in the p basic features to obtain the total value of p supplied characters; The combined features and basic features with the same total value of the required characters and the total value of the supplied characters are recorded as an import object group, and p import object groups are obtained; The target words and operation times in the p import object groups are imported one by one into the first feature bit and the second feature bit in the corresponding import object group to obtain p search features.
5. A behavior-based personalized search system according to claim 4, characterized in that: The method for obtaining the content relevance includes: Arrange the p search features in order from the largest to the smallest number of operations, and record the target words in the top three search features as approved words; Through natural language processing technology, we can identify Key words in the data to be verified are obtained Key words; The key words that are consistent with the approved words are recorded as words to be verified, and the number of words to be verified is counted; Compare the number of words to be verified with the number of key words to obtain content relevance; The expression of content relevance is: ; In the formula, is the content relevance, is the number of words to be verified, is the number of key words.
6. A behavior-based personalized search system according to claim 5, characterized in that: The method for obtaining the aging excess rate includes: Query the time when p search features send the search to the database through the timestamp to obtain p sending times; Sort the p sending times in chronological order, and record the last sending time as the starting time; Mark them one by one The moment when the data to be verified is searched and exported from the database, export time; Set the start time to The time between the export times is recorded as the search time, and the Search duration; By searching the system to record the delay in querying the database, After subtracting the search time from the delay time, we get Search time; The expression for search time is: ; In the formula, For the Search time, For the Search duration, is the delay duration; The search time that is greater than the standard search safety value is recorded as the exceeded time, and the number of exceeded time is counted. After comparing the number of exceeded time with the number of search time, the time limit exceeding rate is obtained; The expression of the aging excess rate is: ; In the formula, is the time limit excess rate, is the number of overdue validity periods, is the number of search times.
7. A behavior-based personalized search system according to claim 6, characterized in that: The method for obtaining the effective response rate includes: Query the database one by one The time for the data to be verified is obtained Storage time; The storage time after the storage split time is recorded as the response time, and the number of response times is counted; After comparing the number of response times with the number of storage times, the effective response rate is obtained; The expression of effective response rate is: ; In the formula, is the effective response rate, is the number of response times, The amount of storage time.
8. A behavior-based personalized search system according to claim 7, characterized in that: The expression of the search fit is: : In the formula, To search for fit, , , is the weight factor, , , All are greater than 0; Methods for determining whether personalized search needs are met include: Search fit Matches the preset search threshold Compare; when Greater than or equal to When the personalized search needs are met; when Less than , it is determined that the personalized search needs are not met.
9. A behavior-based personalized search system according to claim 8, characterized in that: The division criterion is: division is performed using the boundary between two adjacent word sets as the dividing point; The methods for dividing sub-datasets include: Construct p blank data sets; Through natural language processing technology, we can identify Keywords in the data to be verified, the data to be verified with the same keywords are aggregated to form a word set, and p word sets are obtained; Mark a dividing point at the midpoint of the p-th word set and the p+1-th word set, and draw a dividing line along the vertical direction through the dividing point to obtain p-1 dividing lines; Using p-1 dividing lines as dividing points, the data to be verified is divided into p sub-data sets.
Citation Information
Patent Citations
User behavior-based search method and system
CN104035927A
Method and device for pushing user information
CN104899315A
Method and device for identifying intention of search term
CN107870984A
