Resource allocation method based on user needs
By calculating the amount of incorrect evaluation of query attributes based on confidence weights in the resource search unit, and providing auxiliary query services for multi-search box information retrieval, the problem of low accuracy of multi-search box query is solved, and the user experience and query efficiency are improved.
Patent Information
- Application Number
- CN202411085302.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-08-08
AI Technical Summary
In the case of multiple search boxes, users are not familiar with the query attributes corresponding to certain search boxes, resulting in low query accuracy, affecting user experience and query effect, and it is difficult to effectively solve the problem of information retrieval of multiple search boxes.
The resource search unit receives the query information input by the user, calculates the preset error evaluation amount of each attribute based on the preset query attribute confidence weight, and provides auxiliary query services based on the query information data input by the user, and only in the information resources and When user queries are highly relevant, auxiliary queries are triggered to avoid unnecessary waste of computing resources.
Improve the accuracy and convenience of query, ensure that auxiliary query services are only provided when necessary, reduce the waste of server computing resources, and improve user query experience.
Smart Images

Figure CN118606375B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of resource configuration, and in particular to a resource configuration method based on user demand. Background Art
[0002] Information resources are the most detailed way to describe resources. Information resources are a set of necessary and complete attributes that include a group of resources. An information resource represents both the query item actually selected by the user and a dedicated line.
[0003] Information resources contain the necessary attributes of a resource (query subject, query unit, industry, query item, auxiliary query unit, information resource name, information resource code), and also contain several selected resource attributes;
[0004] At present, the resource allocation method based on user needs mainly relies on the existing collected information resources to construct query items for all group information resources, which enables the query user to find and determine the accurate information resources through the query items. However, this method requires that the query user must be able to accurately obtain the query items of the information resources to be queried. The speed and accuracy of the query depend largely on the user's understanding of the query items. If the query user cannot accurately know the specific information of the query items, this will greatly affect its query efficiency and the accuracy of the results;
[0005] In the prior art, a common method is to analyze the query information input by the query user and provide the query user with associated associative content to assist information retrieval. However, this method usually only optimizes the content of one search box. In the case of multiple search boxes, the user may not be familiar with the query attributes corresponding to some search boxes, and the prior art does not solve the information retrieval problem of multiple search boxes well, which leads to low query accuracy based on multiple search boxes, affecting user experience and query effect.
[0006] In order to solve the above problems, the present invention proposes a solution. Summary of the invention
[0007] The purpose of the present invention is to provide a resource configuration method based on user needs in order to solve the problems raised in the above background technology;
[0008] The purpose of the present invention can be achieved through the following technical solutions:
[0009] The resource configuration method based on user needs includes the following steps:
[0010] Step 1: The current pre-query user types corresponding query information data in a number of query boxes of the resource query interface provided by the resource display unit, and the user query terminal obtains the query information typed by the current pre-query user;
[0011] Step 2: after receiving the query information entered by the current pre-querying user, the resource searching unit searches for a group of information resources that matches the query information from among the groups of information resources pre-stored in the resource searching unit;
[0012] Step 3: If a group of information resources that matches the input query information exists, the resource display unit displays the group of information resources;
[0013] Step 4: If there is no set of information resources that match the typed query information, the resource search unit presets all query attributes as incorrectly typed attributes based on the preset confidence weights of the query attributes and calculates the preset error assessment amount when each query attribute is preset as an incorrectly typed attribute in combination with the query information data of the corresponding query attribute contained in the query information typed by the current pre-query user;
[0014] Step 5: Traverse the preset error assessment amount when each query attribute is preset as an incorrect attribute, count the total number of query attributes corresponding to the preset error assessment amount equal to P1, and select whether to provide auxiliary query service for the current pre-query user based on the value of the total number, where P1 is the preset rated selection standard threshold.
[0015] Furthermore, any group of information resources corresponds to a number of query attributes and resource attributes, and the information resources include resource information data of a number of resource attributes and query information data of a number of query attributes.
[0016] Furthermore, in step 4, the preset error evaluation amount when each query attribute is preset as an incorrectly typed attribute is calculated and obtained, and the steps are as follows:
[0017] S11: according to the confidence weight of each query attribute stored in the resource search unit, all query attributes are marked in order from small to large confidence weight as A1, A2, ..., Aa, where a≥1;
[0018] S12: Calculate and obtain preset error evaluation values E2, E3, ..., Ea when the preset query attributes A1, A2, A3, ..., Aa are entered as incorrect attributes in sequence according to the preset calculation rules. The calculation rules are as follows:
[0019] S121: First, the query attribute A1 is preset as an incorrectly typed attribute. At this time, the query information data of the query attribute A1 included in the query information typed by the current pre-query user is incorrect information data;
[0020] Acquire query information data of query attributes A2, A3, ..., Aa from the query information entered by the current pre-query user;
[0021] S122: Then, the query information data of the query attributes A2, A3, ..., Aa are used as search conditions to match a number of groups of information resources corresponding thereto in the resource search unit, and query information data corresponding to the query attribute A1 are respectively obtained from the several groups of information resources, and are marked as B1, B2, ..., Bb, respectively, where b is the total number of information resources corresponding thereto that are matched by using the query information data of the query attributes A2, A3, ..., Aa as search conditions in the resource search unit;
[0022] S123: using a similarity calculation formula to sequentially calculate similarities C1, C2, ..., Cb between the query information data B1, B2, ..., Bb and the erroneous information data;
[0023] At this time, there is a corresponding relationship: the query information data B1, B2, ..., Bb correspond to the similarities C1, C2, ..., Cb respectively;
[0024] S124: Using formula Calculate and obtain the preset error evaluation amount E1 when the preset query attribute A1 is the incorrect attribute typed, where D1 is the confidence weight of the query attribute A1 stored in the resource search unit, Cmax is the maximum value among the similarities C1, C2, ..., Cb, α1 is a preset feature adjustment factor, which is used to adjust the confidence weight and similarity to perform calculations in the same calculation dimension, and β1 and β2 are the preset first and second proportion factors;
[0025] S125: Preset query attributes A2, A3, ..., Aa as incorrectly typed attributes in sequence, and calculate preset error assessment amounts E2, E3, ..., Ea when the preset query attributes A2, A3, ..., Aa are incorrectly typed attributes in sequence according to S121 to S124.
[0026] Beneficial effects of the present invention:
[0027] (1) The present invention obtains the query information typed by the current pre-query user, and the resource search unit searches whether a group of information resources consistent with the information resources are stored therein. In the case where the information resources do not exist, the resource search unit calculates the preset error assessment amount of each query attribute when it is preset as an incorrectly typed attribute according to the preset confidence weights of each query attribute combined with the query information data of each query attribute typed by the current pre-query user. The resource search unit counts the total number of query attributes corresponding to the preset error assessment amount greater than or equal to P1 and determines whether to provide auxiliary query services for the current pre-query user based on the preset error assessment amount. This method introduces confidence weights and adds the query information data typed by the current pre-query user when calculating the preset error assessment amount. The combination of the two not only improves the accuracy of the query, but also provides convenience for the user's query process.
[0028] (2) When selecting whether to provide auxiliary query services for the current pre-query user, the present invention combines the query information data entered by the current pre-query user for each query attribute, calculates the similarity of the corresponding query attributes in each group of information resources, and adds the similarity to the final selected result. In this way, it is ensured that the auxiliary query service will only be triggered when the information resource is highly relevant to the user query, thereby avoiding the provision of too many unnecessary auxiliary query services and wasting the computing resources of the server;
[0029] (3) After providing the service query service to the current pre-query user, the present invention selects query information data that is highly similar to the query information data typed by the user for the query attribute of the information resource that is highly relevant to the user's query, thereby making the user's query process faster and more convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The present invention will be further described below in conjunction with the accompanying drawings.
[0031] Figure 1 is a flow chart of the method of the present invention;
[0032] Figure 2 It is a system block diagram of the present invention. DETAILED DESCRIPTION
[0033] 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.
[0034] like Figure 1 , 2As shown, a resource configuration method based on user needs is performed by a resource configuration system based on user needs, which includes a cloud service terminal and a user query terminal;
[0035] A cloud service terminal, used to provide information resource query services to authorized users, the cloud service terminal includes a resource search unit and a resource display unit;
[0036] The resource search unit pre-stores several groups of information resources, and any group of information resources corresponds to several query attributes and resource attributes. The information resources include resource information data of several resource attributes and query information data of several query attributes, wherein the query attributes are used to accurately search for information resources, and the resource attributes are divided according to the resource types corresponding to all resource attributes contained in the information resources;
[0037] In this embodiment, the query attributes contained in a group of information resources include query subject, query unit, industry, query item, auxiliary query unit, information resource name and information resource code;
[0038] The query subject refers to the subject category being queried, and is used to describe the main query content of an information resource. In this embodiment, twelve query subjects are preset, namely, natural person, enterprise / institution, license plate number, bank account / card number, mobile phone number, trust product registration code, financial product registration code, insurance policy number, UnionPay merchant code, merchant order number, purchase order information, and driver's license number;
[0039] The query unit refers to the unit that initiates the query, the information resource code is used as the unique identifier of the information resource, and the information resource name is the name of the information resource displayed to the user;
[0040] The resource display unit provides a resource query interface for the authorized user, so that the authorized user can input query information data of all query attributes corresponding to the pre-query information resource;
[0041] In this embodiment, a plurality of query boxes are provided in the resource query interface, one query box corresponds to a query attribute corresponding to a type of attribute resource data in the information resource; and the right side of each query box contains a description information corresponding to the query box in words, so that the authorized user can type the corresponding query information data in the corresponding query box;
[0042] The user query terminal is used to authorize users to query information resources. The current pre-query user types corresponding query information data in several query boxes in the resource query interface, and the user query terminal obtains and generates the typed query information of the current pre-query user. The typed query information includes not only the several query information data typed by the current pre-query user but also the corresponding query attributes;
[0043] The user query end transmits the query information typed by the current pre-query user to the cloud service terminal, and the cloud service terminal transmits the query information typed by the current pre-query user to the resource search unit after receiving the transmitted query information;
[0044] The resource search unit pre-stores the confidence weight preset by the administrator of the cloud service terminal for each query attribute. In one embodiment of the present invention, the greater the confidence weight, the less likely it is for the authorized user to make mistakes when inputting the query information data of the query attribute corresponding to the confidence weight.
[0045] In one embodiment of the present invention, the administrator of the cloud service terminal presets confidence weights for several groups of query attributes included in the information resource according to the number of times all authorized users enter the corresponding query information data incorrectly in each query box during the process of querying the information resource;
[0046] After receiving the transmitted query information typed by the current pre-query user, the resource search unit obtains the query information data of all query attributes contained therein, and uses the obtained query information data of all query attributes as a search condition to match a corresponding set of information resources in the resource search unit, wherein the query information data of all query attributes contained in the matched set of information resources are the same as the query information data of the corresponding query attributes contained in the query information typed by the current pre-query user;
[0047] The resource search unit transmits the set of information resources corresponding to the match to the resource display unit, which displays them for the current pre-query user to view;
[0048] If a corresponding set of information resources is not matched in the resource search unit, the information resources of the current pre-query user are retrieved according to the preset search rules. The preset search rules are as follows:
[0049] S11: according to the confidence weight of each query attribute stored in the resource search unit, all query attributes are marked in order from small to large confidence weight as A1, A2, ..., Aa, where a≥1;
[0050] S12: Calculate and obtain preset error evaluation values E2, E3, ..., Ea when the preset query attributes A1, A2, A3, ..., Aa are entered as incorrect attributes in sequence according to the preset calculation rules. The calculation rules are as follows:
[0051] S121: First, the query attribute A1 is preset as an incorrectly typed attribute. At this time, the query information data of the query attribute A1 included in the query information typed by the current pre-query user is incorrect information data;
[0052] Acquire query information data of query attributes A2, A3, ..., Aa from the query information entered by the current pre-query user;
[0053] S122: Then, the query information data of the query attributes A2, A3, ..., Aa are used as search conditions to match a number of groups of information resources corresponding thereto in the resource search unit, and query information data corresponding to the query attribute A1 are respectively obtained from the several groups of information resources, and are marked as B1, B2, ..., Bb, respectively, where b is the total number of information resources corresponding thereto that are matched by using the query information data of the query attributes A2, A3, ..., Aa as search conditions in the resource search unit;
[0054] S123: using a similarity calculation formula to sequentially calculate similarities C1, C2, ..., Cb between the query information data B1, B2, ..., Bb and the erroneous information data;
[0055] At this time, there is a corresponding relationship: the query information data B1, B2, ..., Bb correspond to the similarities C1, C2, ..., Cb respectively;
[0056] S124: Using formula Calculate and obtain the preset error evaluation amount E1 when the preset query attribute A1 is the incorrect attribute typed, where D1 is the confidence weight of the query attribute A1 stored in the resource search unit, Cmax is the maximum value among the similarities C1, C2, ..., Cb, α1 is a preset feature adjustment factor, which is used to adjust the confidence weight and similarity to perform calculations in the same calculation dimension, and β1 and β2 are the preset first and second proportion factors;
[0057] S125: Preset query attributes A2, A3, ..., Aa as incorrectly typed attributes in sequence, and calculate preset error evaluation amounts E2, E3, ..., Ea when the preset query attributes A2, A3, ..., Aa are incorrectly typed attributes in sequence according to S121 to S124;
[0058] S13: Obtaining a total number f of query attributes corresponding to preset error evaluation amounts greater than or equal to P1 from preset error evaluation amounts E1, E2, ..., Ea, where P1 is a preset rated selection standard threshold;
[0059] S14: Determine whether to provide auxiliary query service for the current pre-query user according to the value of the total number f, as follows:
[0060] S141: if f=0, it is selected not to provide auxiliary query service for the current pre-query user, and a global input instruction is generated and transmitted to the user query end. After the user query end receives the transmitted global input instruction, it prompts the current pre-query user to re-enter the query information data in the resource query interface to find the correct information resource;
[0061] In this embodiment, the resource query interface has a function of retaining keystrokes, and the authorized user can modify the original query information data based on the query information data originally keyed in;
[0062] S142: If f=1, it is selected to provide auxiliary query service for the current pre-query user, and a single-frequency input instruction is generated and transmitted to the user query terminal. After the auxiliary query service is selected to provide the current pre-query user, the resource search unit further extracts the preset error evaluation amount greater than or equal to P1 from the preset error evaluation amounts E1, E2, ..., Ea, and selects the query attribute corresponding to the extracted preset error evaluation amount as the auxiliary retrieval attribute;
[0063] When the auxiliary search attribute is obtained as the incorrectly typed attribute, several similarities are calculated using the similarity calculation formula and query information data corresponding to all similarities with similarities greater than or equal to P2 are obtained therefrom, and an auxiliary search box is generated on the right side of the query box corresponding to the auxiliary search attribute in the resource query interface according to all the obtained query information data, and the border color of the query box corresponding to the auxiliary search attribute is set to red;
[0064] The obtained query information data is sequentially displayed in the auxiliary search box in descending order of similarity, and is provided for the current pre-query user to click and directly fill in the query box of the auxiliary search attribute, wherein the current pre-query user can also directly re-type the query information data in the corresponding query box without clicking;
[0065] S143: If f>1, then the auxiliary query service is selected for the current pre-query user, and a multi-frequency input instruction is generated and transmitted to the user query end. After the auxiliary query service is selected for the current pre-query user, the resource search unit also extracts all preset error evaluation quantities greater than or equal to P1 from the preset error evaluation quantities E1, E2, ..., Ea, and then selects the query attributes corresponding to all the extracted preset error evaluation quantities as auxiliary retrieval attributes;
[0066] For each selected auxiliary search attribute, when the auxiliary search attribute is obtained as an incorrectly typed attribute, a plurality of similarities are calculated using a similarity calculation formula and query information data corresponding to all similarities with similarities greater than or equal to P2 are obtained therefrom, and an auxiliary search box is generated on the right side of the query box corresponding to the auxiliary search attribute in the resource query interface according to all the obtained query information data, and the border color of the query box corresponding to the auxiliary search attribute is set to red;
[0067] The obtained query information data is sequentially displayed in the auxiliary search box in descending order of similarity, and is provided for the current pre-query user to click and directly fill in the query box of the auxiliary search attribute, wherein the current pre-query user can also directly re-type the query information data in the corresponding query box without clicking;
[0068] After receiving the multi-frequency input instruction, the user query terminal prompts the current pre-query user to first modify the query information data input in the query box corresponding to the plurality of auxiliary search attributes;
[0069] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0070] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.
[0071] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A resource configuration method based on user needs, characterized in that: The following steps are involved: Step 1: The current pre-query user types corresponding query information data in a number of query boxes of the resource query interface provided by the resource display unit, and the user query terminal obtains the query information typed by the current pre-query user; Step 2: after receiving the query information entered by the current pre-querying user, the resource searching unit searches for a group of information resources that matches the query information from among the groups of information resources pre-stored in the resource searching unit; Step 3: If a group of information resources that matches the input query information exists, the resource display unit displays the group of information resources; Step 4: If there is no set of information resources that match the typed query information, the resource search unit presets all query attributes as incorrectly typed attributes based on the preset confidence weights of the query attributes and calculates the preset error assessment amount when each query attribute is preset as an incorrectly typed attribute in combination with the query information data of the corresponding query attribute contained in the query information typed by the current pre-query user; Step 5: Traverse the preset error assessment amount when each query attribute is preset as an incorrect attribute, count the total number of query attributes corresponding to the preset error assessment amount equal to P1, and select whether to provide auxiliary query service for the current pre-query user according to the value of the total number, where P1 is the preset rated selection standard threshold; In step 4, the preset error evaluation amount when each query attribute is preset as an incorrectly typed attribute is calculated and obtained, and the steps are as follows: S11: according to the confidence weight of each query attribute stored in the resource search unit, all query attributes are marked in order from small to large confidence weight as A1, A2, ..., Aa, where a≥1; S12: Calculate and obtain preset error evaluation values E2, E3, ..., Ea when the preset query attributes A1, A2, A3, ..., Aa are entered as incorrect attributes in sequence according to the preset calculation rules. The calculation rules are as follows: S121: First, the query attribute A1 is preset as an incorrectly typed attribute. At this time, the query information data of the query attribute A1 included in the query information typed by the current pre-query user is incorrect information data; Acquire query information data of query attributes A2, A3, ..., Aa from the query information entered by the current pre-query user; S122: Then, the query information data of the query attributes A2, A3, ..., Aa are used as search conditions to match a number of groups of information resources corresponding thereto in the resource search unit, and query information data corresponding to the query attribute A1 are respectively obtained from the several groups of information resources, and are marked as B1, B2, ..., Bb, respectively, where b is the total number of information resources corresponding thereto that are matched by using the query information data of the query attributes A2, A3, ..., Aa as search conditions in the resource search unit; S123: using a similarity calculation formula to sequentially calculate similarities C1, C2, ..., Cb between the query information data B1, B2, ..., Bb and the erroneous information data; At this time, there is a corresponding relationship: the query information data B1, B2, ..., Bb correspond to the similarities C1, C2, ..., Cb respectively; S124: Using formula Calculate and obtain the preset error evaluation amount E1 when the preset query attribute A1 is the incorrect attribute typed, where D1 is the confidence weight of the query attribute A1 stored in the resource search unit, Cmax is the maximum value among the similarities C1, C2, ..., Cb, α1 is a preset feature adjustment factor, which is used to adjust the confidence weight and similarity to perform calculations in the same calculation dimension, and β1 and β2 are the preset first and second proportion factors; S125: Preset query attributes A2, A3, ..., Aa as incorrectly typed attributes in sequence, and calculate preset error assessment amounts E2, E3, ..., Ea when the preset query attributes A2, A3, ..., Aa are incorrectly typed attributes in sequence according to S121 to S124.
2. The resource configuration method based on user demand according to claim 1, characterized in that: Any group of information resources corresponds to a number of query attributes and resource attributes, and the information resources include resource information data of a number of resource attributes and query information data of a number of query attributes.
3. The resource configuration method based on user demand according to claim 2, characterized in that: The query attributes include query subject, query unit, industry, query item, co-query unit, information resource name and information resource code.
4. The resource configuration method based on user demand according to claim 1, characterized in that: In step 5, the decision steps for selecting whether to provide auxiliary query service for the current pre-query user are as follows: S13: Obtaining a total number f of query attributes corresponding to preset error evaluation amounts greater than or equal to P1 from preset error evaluation amounts E1, E2, ..., Ea; S14: According to the value of the total number f, whether to provide auxiliary query service for the current pre-query user is determined, the steps are as follows: S141: if f=0, it is selected not to provide auxiliary query service for the current pre-query user, and a global input instruction is generated and transmitted to the user query terminal; S142: If f=1, it is selected to provide auxiliary query service for the current pre-query user, and at the same time, a single-frequency input instruction is generated and transmitted to the user query terminal; S143: If f>1, it is selected to provide auxiliary query service for the current pre-query user, and at the same time, a multi-frequency input instruction is generated and transmitted to the user query terminal.
5. The resource configuration method based on user demand according to claim 4, characterized in that: In S141, after receiving the transmitted global input instruction, the user query end prompts the current pre-query user to re-enter the query information data in the resource query interface to find the correct information resource.
6. The resource configuration method based on user demand according to claim 4, characterized in that: In the above S142, after selecting to provide auxiliary query service for the current pre-query user, the resource search unit further extracts the preset error assessment amount greater than or equal to P1 from the preset error assessment amounts E1, E2, ..., Ea, and selects the query attribute corresponding to the extracted preset error assessment amount as the auxiliary retrieval attribute; When the auxiliary search attribute is obtained as the incorrectly typed attribute, several similarities are calculated using the similarity calculation formula and query information data corresponding to all similarities with similarities greater than or equal to P2 are obtained therefrom, and an auxiliary search box is generated on the right side of the query box corresponding to the auxiliary search attribute in the resource query interface according to all the obtained query information data, and the border color of the query box corresponding to the auxiliary search attribute is set to red; The auxiliary search box displays the acquired query information data in descending order of similarity, and provides the current pre-query user with a click to directly fill in the query box of the auxiliary search attribute.
7. The resource configuration method based on user demand according to claim 4, characterized in that: In S142, after receiving the single-frequency input instruction, the user query terminal prompts the current pre-query user to first modify the query information data input in the query box corresponding to the auxiliary search attribute.
8. The resource configuration method based on user demand according to claim 4, characterized in that: In S143, after selecting to provide auxiliary query service for the current pre-query user, the resource search unit also extracts all preset error assessment quantities greater than or equal to P1 from the preset error assessment quantities E1, E2, ..., Ea, and then selects the query attributes corresponding to all the extracted preset error assessment quantities as auxiliary retrieval attributes.
9. The resource configuration method based on user demand according to claim 4, characterized in that: In S143, after receiving the multi-frequency input instruction, the user query terminal prompts the current pre-query user to first modify the query information data input in the query boxes corresponding to the plurality of auxiliary search attributes.
