Business indicator data query method and device, electronic device and storage medium
By constructing a business category tree, indicator tree, and code value tree, combined with an index structure, the problem of low query efficiency for business indicator data is solved, and query efficiency is improved by quickly locating and displaying multi-level data.
Patent Information
- Application Number
- CN202411496679.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-10-24
AI Technical Summary
In the existing technology, the query efficiency of business indicator data is low, and it is necessary to manually determine the data dimension and find the corresponding indicator, resulting in low query efficiency.
Build a business category tree, business indicator tree and business code value tree, build the corresponding business index based on the associated data of the initial business category, indicator and code value, and quickly locate the data location corresponding to the target query keyword through the index.
The query efficiency of business indicator data has been significantly improved. Through multi-level data structure and hierarchical optimization of query paths, data at different levels can be quickly obtained and displayed.
Smart Images

Figure CN119474477B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the fields of financial technology and data processing technology, and in particular to a business indicator data query method and device, an electronic device, and a storage medium. Background Art
[0002] At present, the method for querying business indicator data is usually that users browse or search for data dimension classifications related to the query requirements on the indicator query platform based on the query requirements, and then find the dimension classification indicator library based on the data dimension classification to select the target business indicator corresponding to the query requirements. For example, in the financial technology scenario, business indicator data can be the claims ratio, premium income or customer retention rate of insurance products. If it is necessary to find the claims ratio of an insurance product of a bank branch, the user first finds the bank branch on the indicator query platform, and then finds the claims ratio of the target insurance product based on the indicator library corresponding to the bank branch. However, this method requires manual determination of the data dimension to be found first, and then searching for the corresponding indicator from the data dimension, resulting in low query efficiency of business indicator data. Therefore, how to improve the query efficiency of business indicator data has become an urgent problem to be solved. Summary of the Invention
[0003] The main purpose of the embodiments of the present application is to provide a business indicator data query method and device, electronic device and storage medium, aiming to improve the query efficiency of business indicator data.
[0004] To achieve the above objectives, a first aspect of an embodiment of the present application provides a business indicator data query method, the method comprising:
[0005] In response to an indicator data query request for a target business query, a target query keyword and business query data are obtained; wherein the business query data includes initial business indicator data of the target business, an initial business category of the target business, and initial business code value data for identifying the initial business category;
[0006] Acquire the associated category indicator data of the initial service category, and acquire the associated indicator category data of the initial service indicator data;
[0007] Acquire the associated category code value data of the initial service category, and acquire the associated code value category data of the initial service code value data;
[0008] constructing a service category tree based on the associated category indicator data, the associated category code value data and the initial service category, constructing a service indicator tree based on the associated indicator category data and the initial service indicator data, and constructing a service code value tree based on the associated code value category data and the initial service code value data;
[0009] Constructing a service category index based on the service category tree and the initial service category, constructing a service indicator index based on the service indicator tree and the initial service indicator data, and constructing a service code value index based on the service code value tree and the initial service code value data;
[0010] According to the business code value index, the target business code value data of the target query keyword is queried from the business code value tree; according to the business category index, the target business category of the target business code value data is queried from the business category tree; according to the business indicator index, the target business indicator data of the target business category is queried from the business indicator tree.
[0011] In some embodiments, querying the target business code value data of the target query keyword from the business code value tree according to the business code value index, querying the target business category of the target business code value data from the business category tree according to the business category index, and querying the target business indicator data of the target business category from the business indicator tree according to the business indicator index includes:
[0012] Traversing the business code value tree according to the business code value index to obtain a target code value node that matches the target query keyword, and acquiring the target business code value data from the target code value node;
[0013] Traversing the service category tree according to the service category index to obtain a target category node that matches the target service code value data, and obtaining the target service category from the target category node;
[0014] The business indicator tree is traversed according to the business indicator index to obtain a target indicator node that matches the target business category, and the target business indicator data is acquired from the target indicator node.
[0015] In some embodiments, constructing a service category index based on the service category tree and the initial service category, and constructing a service indicator index based on the service indicator tree and the initial service indicator data includes:
[0016] Get the category index structure; get the indicator index structure;
[0017] Traversing the service category tree according to the category index structure to obtain a category index path, and constructing the service category index according to the category index path;
[0018] The business indicator tree is traversed according to the category index structure to obtain an indicator category index path, and the business indicator index is constructed according to the indicator category index path.
[0019] In some embodiments, constructing a service code value index according to the service code value tree and the initial service code value data includes:
[0020] Performing word segmentation processing on the initial business code value data to obtain word segmentation code value data, and obtaining a code value index item based on the word segmentation code value data and the initial business code value data;
[0021] Acquire a code value index structure, and add the code value index item to the code value index structure to obtain an updated code value index structure;
[0022] The service code value tree is traversed according to the updated code value index structure to obtain a code value category index path, and the service code value index is constructed according to the code value category index path.
[0023] In some embodiments, constructing a service category tree based on the associated category indicator data, the associated category code value data, and the initial service category, constructing a service indicator tree based on the associated indicator category data and the initial service indicator data, and constructing a service code value tree based on the associated code value category data and the initial service code value data includes:
[0024] Obtain the category name of the initial service category; obtain the indicator name of the initial service indicator data; obtain the code value name of the initial service code value data;
[0025] The category name is used as the category root node, and the associated category indicator data and the associated category code value data are used as category child nodes of the category root node; the indicator name is used as the indicator root node, and the associated indicator category data are used as indicator child nodes of the indicator root node; the code value name is used as the code value root indicator, and the associated code value category data are used as the code value child node;
[0026] The business category tree is constructed according to the category root node and the category sub-node; the business indicator tree is constructed according to the indicator root node and the indicator sub-node; and the business code value tree is constructed according to the code value root node and the code value sub-node.
[0027] In some embodiments, the step of obtaining the associated category indicator data of the initial service category and obtaining the associated indicator category data of the initial service indicator data includes:
[0028] Obtaining an associated category indicator node of the initial service category based on a pre-built category indicator relationship tree, and obtaining the associated category indicator data from the associated category indicator node;
[0029] The associated indicator category node of the initial business indicator data is obtained based on a pre-built indicator category relationship tree, and the associated indicator category data is obtained from the associated indicator category node.
[0030] In some embodiments, the step of obtaining the associated category code value data of the initial service category and obtaining the associated code value category data of the initial service code value data includes:
[0031] Obtaining an associated category code value node of the initial service category based on a pre-built category code value relationship tree, and obtaining the associated category code value data from the associated category code value node;
[0032] An associated code value category node of the initial service code value data is obtained based on a pre-built code value category relationship tree, and the associated code value category data is obtained from the associated code value category node.
[0033] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides a business indicator data query device, the device comprising:
[0034] a business query data acquisition module, configured to acquire, in response to an indicator data query request for a target business query, a target query keyword and business query data; wherein the business query data includes initial business indicator data of the target business, an initial business category of the target business, and initial business code value data for identifying the initial business category;
[0035] A category and indicator association data acquisition module, configured to acquire the category indicator data associated with the initial business category and acquire the indicator category data associated with the initial business indicator data;
[0036] A category and code value associated data acquisition module, configured to acquire the associated category code value data of the initial service category and the associated code value category data of the initial service code value data;
[0037] a service tree construction module, configured to construct a service category tree based on the associated category indicator data, the associated category code value data, and the initial service category, construct a service indicator tree based on the associated indicator category data and the initial service indicator data, and construct a service code value tree based on the associated code value category data and the initial service code value data;
[0038] a service index construction module, configured to construct a service category index based on the service category tree and the initial service category, construct a service indicator index based on the service indicator tree and the initial service indicator data, and construct a service code value index based on the service code value tree and the initial service code value data;
[0039] A business indicator data query module is used to query the target business code value data of the target query keyword from the business code value tree according to the business code value index, query the target business category of the target business code value data from the business category tree according to the business category index, and query the target business indicator data of the target business category from the business indicator tree according to the business indicator index.
[0040] To achieve the above-mentioned purpose, the third aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the method described in the first aspect when executing the computer program.
[0041] To achieve the above-mentioned purpose, the fourth aspect of the embodiments of the present application proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method described in the first aspect.
[0042] The business indicator data query method and device, electronic device and storage medium proposed in the present application obtain target query keywords and business query data by responding to the indicator data query request for the target business query; wherein the business query data includes initial business indicator data of the target business, initial business category of the target business and initial business code value data for identifying the initial business category; obtains associated category indicator data of the initial business category, obtains associated indicator category data of the initial business indicator data; obtains associated category code value data of the initial business category, obtains associated code value category data of the initial business code value data; constructs a business according to the associated category indicator data, associated category code value data and initial business category. Business category tree, construct a business indicator tree based on the associated indicator category data and the initial business indicator data, construct a business code value tree based on the associated code value category data and the initial business code value data; construct a business category index based on the business category tree and the initial business category, construct a business indicator index based on the business indicator tree and the initial business indicator data, construct a business code value index based on the business code value tree and the initial business code value data; query the target business code value data of the target query keyword from the business code value tree based on the business code value index, query the target business category of the target business code value data from the business category tree based on the business category index, and query the target business indicator data of the target business category from the business indicator tree based on the business indicator index. This application first constructs a business category tree, a business indicator tree and a business code value tree based on the associated data between the initial business category, the initial business indicator and the initial business code value, respectively, to realize the construction of data structures at different levels, and processes the business category, business indicator and business code value data based on different hierarchical structures, thereby improving the granularity of data processing; secondly, a corresponding business index is constructed according to the business category tree, the business indicator tree and the business code value tree, so as to facilitate the subsequent combination of multi-level data structures and business indexes between hierarchical structures, and quickly obtain and display data at different levels to improve the query efficiency of business indicator data; finally, by querying data at different levels respectively through the business code value index, the business category index and the business indicator index, it is possible to quickly locate the data position corresponding to the target query keyword, and optimize the query path in combination with the hierarchy and correlation of the data in the tree structure, thereby significantly improving the query efficiency of the business indicator data. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 This is a flowchart of a method for querying business indicator data provided by an embodiment of the present application;
[0044] Figure 2 yes Figure 1 Flowchart of step S102 in FIG.
[0045] Figure 3 yes Figure 1 Flowchart of step S103 in FIG.
[0046] Figure 4 yes Figure 1 Flowchart of step S104 in FIG.
[0047] Figure 5 yes Figure 1 Flowchart of step S105 in FIG.
[0048] Figure 6 yes Figure 1 Another flowchart of step S105 in FIG.
[0049] Figure 7 yes Figure 1 Flowchart of step S106 in FIG.
[0050] Figure 8 This is a schematic diagram of the structure of the business indicator data query device provided in an embodiment of the present application;
[0051] Figure 9 This is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0053] It should be noted that although the device schematics illustrate functional module divisions and the flowcharts illustrate logical sequences, in certain circumstances, the steps shown or described may be performed in a sequence that differs from the module divisions in the device or the sequence in the flowcharts. The terms "first," "second," and so on, in the specification, claims, and drawings, are used to distinguish similar items and are not necessarily used to describe a specific sequence or precedence.
[0054] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0055] The embodiments of the present application provide a business indicator data query method and device, an electronic device, and a storage medium, aiming to improve the query efficiency of business indicator data.
[0056] The business indicator data query method and device, electronic device and storage medium provided in the embodiments of the present application are specifically illustrated through the following embodiments. First, the business indicator data query method in the embodiments of the present application is described.
[0057] The business indicator data query method provided in the embodiment of the present application relates to the fields of financial technology and data processing technology. The business indicator data query method provided in the embodiment of the present application can be applied to a terminal, can be applied to a server side, and can also be software running in a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or as a server cluster or distributed system composed of multiple physical servers, or as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the business indicator data query method, etc., but is not limited to the above forms.
[0058] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.
[0059] It should be noted that in each specific embodiment of the present application, when it comes to the need to perform relevant processing based on data related to the user's identity or characteristics, such as initial business indicator data, the user's permission or consent will be obtained first, and the collection, use and processing of such data will comply with relevant laws, regulations and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0060] Figure 1 This is an optional flowchart of the business indicator data query method provided in the embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S106.
[0061] Step S101, in response to an indicator data query request for a target business query, obtain a target query keyword and business query data; wherein the business query data includes initial business indicator data of the target business, initial business category of the target business and initial business code value data for identifying the initial business category.
[0062] Step S102: obtaining the associated category indicator data of the initial business category, and obtaining the associated indicator category data of the initial business indicator data.
[0063] Step S103: obtaining the associated category code value data of the initial service category, and obtaining the associated code value category data of the initial service code value data.
[0064] Step S104, constructing a business category tree based on the associated category indicator data, the associated category code value data and the initial business category, constructing a business indicator tree based on the associated indicator category data and the initial business indicator data, and constructing a business code value tree based on the associated code value category data and the initial business code value data.
[0065] Step S105 , constructing a service category index based on the service category tree and the initial service category, constructing a service indicator index based on the service indicator tree and the initial service indicator data, and constructing a service code value index based on the service code value tree and the initial service code value data.
[0066] Step S106, query the target business code value data of the target query keyword from the business code value tree according to the business code value index, query the target business category of the target business code value data from the business category tree according to the business category index, and query the target business indicator data of the target business category from the business indicator tree according to the business indicator index.
[0067] Steps S101 to S106 shown in the embodiment of the present application are to obtain target query keywords and business query data by responding to an indicator data query request for a target business query; wherein the business query data includes initial business indicator data of the target business, an initial business category of the target business, and initial business code value data for identifying the initial business category; obtain associated category indicator data of the initial business category, obtain associated indicator category data of the initial business indicator data; obtain associated category code value data of the initial business category, obtain associated code value category data of the initial business code value data; construct a business category based on the associated category indicator data, the associated category code value data, and the initial business category A business indicator tree is constructed based on the associated indicator category data and the initial business indicator data, and a business code value tree is constructed based on the associated code value category data and the initial business code value data; a business category index is constructed based on the business category tree and the initial business category, a business indicator index is constructed based on the business indicator tree and the initial business indicator data, and a business code value index is constructed based on the business code value tree and the initial business code value data; target business code value data of the target query keyword is retrieved from the business code value tree based on the business code value index, target business category of the target business code value data is retrieved from the business category tree based on the business category index, and target business indicator data of the target business category is retrieved from the business indicator tree based on the business indicator index. This application first constructs a business category tree, a business indicator tree and a business code value tree based on the associated data between the initial business category, the initial business indicator and the initial business code value, respectively, to realize the construction of data structures at different levels, and processes the business category, business indicator and business code value data based on different hierarchical structures, thereby improving the granularity of data processing; secondly, a corresponding business index is constructed according to the business category tree, the business indicator tree and the business code value tree, so as to facilitate the subsequent combination of multi-level data structures and business indexes between hierarchical structures, and quickly obtain and display data at different levels to improve the query efficiency of business indicator data; finally, by querying data at different levels respectively through the business code value index, the business category index and the business indicator index, it is possible to quickly locate the data position corresponding to the target query keyword, and optimize the query path in combination with the hierarchy and correlation of the data in the tree structure, thereby significantly improving the query efficiency of the business indicator data.
[0068] In step S101 of some embodiments, specifically, the target query keyword refers to the business indicator data to be queried.
[0069] For example, in the financial field, the target query keyword may be the claim ratio of an insurance product.
[0070] Specifically, initial business indicator data refers to specific data used to measure business performance, which can be determined based on actual business.
[0071] For example, in the financial field, the initial business indicator data can be the insurance product's claims ratio, premium income, customer retention rate, or product renewal rate.
[0072] Specifically, the initial business category data refers to different categories of business data, and these categories can be summarized through common dimensions (such as customer categories based on assets), hierarchical dimensions (such as insurance product categories based on yields) and institutional dimensions (such as branches or departments of insurance product categories, etc.).
[0073] For example, in the financial field, the initial business category can be different insurance products (such as life insurance, health insurance or medical insurance, etc.), or specific insurance product categories (such as term life insurance, whole life insurance, etc.).
[0074] Specifically, the initial business code value data is a unique classification code used to identify the initial business category. The code value is typically a string consisting of letters, numbers, or special characters and can be determined based on the actual scenario. In the insurance field, the initial business code value data includes but is not limited to unique identification codes such as policy number, customer number, and claim number.
[0075] For example, in the financial field, if the initial business category is a life insurance product, the initial business code value data corresponding to the life insurance product can be R00N; if the initial business category is a customer category, the initial business code value data corresponding to the customer category can be a combination of the customer name ID and the customer rating level.
[0076] See also Figure 2 In some embodiments, step S102 includes but is not limited to steps S201 to S202:
[0077] Step S201 : obtaining an associated category indicator node of an initial business category based on a pre-built category indicator relationship tree, and obtaining associated category indicator data from the associated category indicator node.
[0078] Step S202 : obtaining associated indicator category nodes of the initial business indicator data based on the pre-built indicator category relationship tree, and obtaining associated indicator category data from the associated indicator category nodes.
[0079] In step S201 of some embodiments, the category indicator relationship tree specifically refers to a tree structure that stores initial business indicator data associated with initial business categories. The indicator data associated with a category can be obtained from the association relationship path stored in the category indicator relationship tree. One initial business category is associated with at least one piece of initial business indicator data.
[0080] For example, the category indicator relationship tree has an association path of d im1->quota1, d im1->quota2, which means that the indicators associated with the category life insurance (d im1) are life insurance claims ratio (quota1) and life insurance customer retention rate (quota2).
[0081] In step S202 of some embodiments, the indicator category relationship tree specifically refers to a tree structure storing initial business categories associated with the initial business indicator data. The business category associated with the indicator data can be obtained from the association relationship path stored in the indicator category relationship tree. One initial business indicator data is associated with at least one initial business category.
[0082] For example, the indicator category relationship tree has an association path of quota1->d im1, quota2->d im1, which means that the business category associated with the life insurance claim ratio (quota1) is life insurance (d im1), and the business category associated with the life insurance customer retention rate (quota2) is also life insurance (d im1).
[0083] See also Figure 3 In some embodiments, step S103 includes but is not limited to steps S301 to S302:
[0084] Step S301: obtaining an associated category code value node of an initial service category based on a pre-built category code value relationship tree, and obtaining associated category code value data from the associated category code value node.
[0085] Step S302: obtaining an associated code value category node of the initial business code value data based on a pre-built code value category relationship tree, and obtaining associated code value category data from the associated code value category node.
[0086] In step S301 of some embodiments, the category code value relationship tree specifically refers to a tree structure storing initial service code value data associated with initial service categories. Code value data associated with a category can be obtained from the association relationship path stored in the category code value relationship tree. One initial service category is associated with at least one initial service code value data.
[0087] For example, the category code value relationship tree has an association relationship path of dim1->code1, which indicates that the initial business code value data associated with the category of life insurance (dim1) is R00N (code1).
[0088] In step S302 of some embodiments, the code value category relationship tree specifically refers to a tree structure storing initial service categories associated with the initial service code value data. The service category associated with the code value data can be obtained from the association relationship path stored in the code value category relationship tree. One initial service code value data is associated with at least one initial service category.
[0089] For example, the category code value relationship tree has an association relationship path of code2->d im3, code 3->d im4; it means that the business category associated with the code value data R001 is whole life insurance (d im3); the business category associated with the code value data R002 is term life insurance (d im4).
[0090] See also Figure 4 In some embodiments, step S104 includes but is not limited to steps S401 to S403:
[0091] Step S401, obtaining the category name of the initial service category; obtaining the indicator name of the initial service indicator data; and obtaining the code value name of the initial service code value data.
[0092] Step S402: Use the category name as the category root node, and use the associated category indicator data and the associated category code value data as the category child nodes of the category root node; use the indicator name as the indicator root node, and use the associated indicator category data as the indicator child nodes of the indicator root node; use the code value name as the code value root indicator, and use the associated code value category data as the code value child node.
[0093] Step S403: construct a business category tree based on the category root node and the category sub-nodes; construct a business indicator tree based on the indicator root node and the indicator sub-nodes; and construct a business code value tree based on the code value root node and the code value sub-nodes.
[0094] In step S401 of some embodiments, for example, in the financial field, the category name may be y health insurance product, the indicator name may be x health insurance product claim rate, and the code value name may be the identifier classifier Z00N representing the x health insurance product claim rate.
[0095] In step S402 of some embodiments, specifically, each category root node represents an initial service category; each indicator root node represents an initial service indicator data; and each code value root node represents an initial service code value data.
[0096] Specifically, each category sub-node represents an associated category indicator data or an associated category code value data; each indicator sub-node represents an associated indicator category data; and each code value sub-node represents an associated code value category data.
[0097] For example, in the financial field, if the initial business indicator data is the claim rate of an insurance product, the indicator root node is the claim rate of the insurance product, and the indicator child node is the life insurance product, health insurance product, or medical insurance product; if the category root node is the life insurance product, then the category child node is the claim rate of the life insurance product, the premium income of the life insurance product, or the life insurance product code value R00N; if the code value root node is R00N, then the code value child node is the life insurance product.
[0098] In step S403 of some embodiments, specifically, the business indicator tree, business category tree and business code value tree are all balanced multi-branch trees. Each node in the balanced multi-branch tree can contain multiple child nodes. There is no upper limit on the number of these child nodes, which usually depends on the maximum node capacity of the tree. In the balanced multi-branch tree, each child node contains indicator data, category or code value data and a pointer to the root node. All child nodes are located at the same layer and are connected by pointers to ensure the balance of the constructed multi-branch tree and efficient query efficiency.
[0099] Specifically, for the construction of the business indicator tree, the indicator data is first constructed with the indicator name as the indicator root node. For each indicator, according to its associated category, the category is connected to the corresponding indicator root node as an indicator child node. When a category is associated with multiple indicator root nodes, multiple category nodes are created under the indicator child node of the category, and each category node points to the indicator root node with which it has an associated relationship. The process is looped until all indicator names and all associated indicator category data are added to the corresponding nodes to obtain the completed business code value tree.
[0100] Specifically, the method of constructing a business category tree based on category root nodes and category subnodes and the method of constructing a business code value tree based on code value root nodes and code value subnodes are consistent with the method of constructing a business indicator tree based on indicator root nodes and indicator subnodes, and will not be repeated here.
[0101] In this embodiment, a business category tree is constructed based on the category root node and the category sub-nodes; a business indicator tree is constructed based on the indicator root node and the indicator sub-nodes; and a business code value tree is constructed based on the code value root node and the code value sub-nodes. This allows for processing business categories, business indicators, and business code value data based on different hierarchical structures, thereby improving the granularity of data processing. Indicators, categories, and code values can be set through reasonable nodes in a multi-branch tree structure to construct a multi-level structure that meets business needs and maintains balance, accurately describing the multi-level data association relationship and improving the accuracy of indicator data queries.
[0102] See also Figure 5 In some embodiments, step S105 includes but is not limited to steps S501 to S503:
[0103] Step S501, obtaining a category index structure; obtaining an indicator index structure.
[0104] Step S502: traverse the service category tree according to the category index structure to obtain a category index path, and construct a service category index according to the category index path.
[0105] Step S503: traverse the business indicator tree according to the category index structure to obtain an indicator category index path, and construct a business indicator index according to the indicator category index path.
[0106] In step S501 of some embodiments, specifically, since the aforementioned business category tree is a balanced multi-tree, the category index structure can be a B-tree (balanced multi-tree) index structure; based on this, the indicator index structure can also be a B-tree index structure.
[0107] In step S502 of some embodiments, specifically, the category indicator index path refers to the path information of all category child nodes pointing to the category root node traversed based on the category root node, and the category indicator index path can be obtained through a pointer in the business category tree.
[0108] Specifically, starting from the category root node, the business category tree is traversed layer by layer according to the character order of the category name, and the path of each category child node (i.e., the category index path) is recorded. The path represents the hierarchical relationship from the category root node to the current category child node, and the category indicator index path is mapped to the specific business category to realize the construction of the business category index.
[0109] For example, in the financial field, the category root node in the business category tree is insurance business, category subnode 1 is life insurance, category subnode 1.1 is term life insurance, and category subnode 1.2 is whole life insurance. The generated business category index can be insurance business -> life insurance -> term life insurance and insurance business -> life insurance -> whole life insurance.
[0110] In this embodiment, by traversing the business category tree according to the category index structure to obtain the category indicator index path, and constructing the business category index according to the category indicator index path, it is possible to associate the business category with the relevant business indicators to form a complete business category index, which is convenient for subsequent index data search to go deeper layer by layer according to the hierarchical structure of the business category to find the required business indicator data, thereby improving the query efficiency of the indicator data.
[0111] In step S503 of some embodiments, specifically, the indicator category index path refers to the path information of all indicator child nodes pointing to the indicator root node traversed based on the indicator root node, and the indicator category index path can be obtained through a pointer in the indicator category tree.
[0112] Specifically, the indicator index structure is constructed based on various indicators in the initial business indicator data, and each indicator may be associated with one or more business categories.
[0113] Specifically, the method of traversing the business indicator tree according to the category index structure to obtain the indicator category index path, and constructing the business indicator index according to the indicator category index path is consistent with the method of traversing the business category tree according to the category index structure to obtain the category indicator index path, and constructing the business category index according to the category indicator index path, and will not be repeated here.
[0114] For example, in the financial field, the indicator root node of the business indicator tree is premium income, indicator subnode 1 is life insurance premium income, indicator subnode 1.1 is term life insurance premium income, and indicator subnode 1.2 is lifetime life insurance premium income. The generated indicator category index can be premium income -> life insurance premium income -> term life insurance premium income and premium income -> life insurance premium income -> lifetime life insurance premium income.
[0115] See also Figure 6 In some embodiments, step S105 further includes but is not limited to steps S601 to S603:
[0116] Step S601: perform word segmentation processing on the initial business code value data to obtain word segmentation code value data, and obtain code value index items according to the word segmentation code value data and the initial business code value data.
[0117] Step S602: Acquire a code value index structure, and add a code value index item to the code value index structure to obtain an updated code value index structure.
[0118] Step S603: traverse the service code value tree according to the updated code value index structure to obtain a code value category index path, and construct a service code value index according to the code value category index path.
[0119] In step S601 of some embodiments, specifically, the initial business code value data may be segmented using a regular expression matching method.
[0120] For example, in the financial field, the code value of the insurance policy number "ABCD123456" can be split into two word segmentation code value data: "ABCD" and "123456".
[0121] Specifically, the word segmentation code value index item refers to the word segmentation code value data and the initial business code value data.
[0122] For example, in the financial field, the initial business code value data is the policy number "ABCD123456", then the word segmentation code value index items include "ABCD" (word segmentation code value data), "123456" (word segmentation code value data), and "ABCD123456" (initial business code value data).
[0123] In this embodiment, by performing word segmentation processing on the initial business code value data to obtain word segmentation code value data, the initial business code value data can be split into smaller, meaningful units, so that subsequent indexes can more flexibly match target query keywords, thereby improving the efficiency of indicator data query. Moreover, when the target query keyword is not completely consistent with the initial business code value data, as long as they contain the same word segmentation code value, they can also be accurately queried, which helps to improve the accuracy of indicator data query.
[0124] In step S602 of some embodiments, specifically, the code value index structure is used to store and manage code value index items, and the code value index structure is also a B-tree index structure.
[0125] Specifically, the obtained code value index items are traversed in the code value index structure, code value index items are added to the empty nodes, and the added code value index items are sorted and stored according to the rules of the index structure (such as the M-order restriction of the B-tree, the non-leaf nodes of the B+ tree only contain key values, etc.) to obtain an updated code value index structure.
[0126] In step S603 of some embodiments, specifically, the code value category index path refers to the path information of all code value child nodes pointing to the code value root node traversed based on the code value root node, and the code value category index path can be obtained through a pointer in the business code value tree.
[0127] Specifically, the method of traversing the business code value tree according to the updated code value index structure to obtain the code value category index path, and constructing the business code value index according to the code value category index path is consistent with the method of traversing the business category tree according to the category index structure to obtain the category indicator index path, and constructing the business category index according to the category indicator index path, and will not be repeated here.
[0128] For example, in the financial field, the policy number of the initial business code value data is ABCD123456 and the customer number is EFGH789012. The code value root node of the business code value tree is the insurance business code value, the word segmentation policy number of the code value subnode 1 is ABCD, the specific policy number of the code value subnode 1.1 is ABCD123456, the word segmentation customer number of the code value subnode 2 is EFGH, and the specific customer number of the code value subnode 2.1 is EFGH789012.
[0129] In this embodiment, the business code value tree is traversed according to the updated code value index structure to obtain the code value category index path, and the business code value index is constructed according to the code value category index path. This can realize the construction of business indexes between code value hierarchical structures based on the index path, facilitate the subsequent rapid acquisition and display of data at different levels, and improve the query efficiency of business indicator data.
[0130] See also Figure 7 In some embodiments, step S106 includes but is not limited to steps S701 to S703:
[0131] Step S701: traverse the business code value tree according to the business code value index to obtain a target code value node that matches the target query keyword, and obtain target business code value data from the target code value node.
[0132] Step S702: traverse the service category tree according to the service category index to obtain a target category node that matches the target service code value data, and obtain the target service category from the target category node.
[0133] Step S703: traverse the business indicator tree according to the business indicator index to obtain a target indicator node that matches the target business category, and obtain target business indicator data from the target indicator node.
[0134] In step S701 of some embodiments, specifically, the target code value node refers to a code value root node that matches the target query keyword in the business code value tree.
[0135] For example, in the financial field, if the target query keyword is the life insurance claim situation, the business code value index is the life insurance claim policy. Based on the life insurance claim policy, the business code value tree is traversed and searched to obtain the target code value node that matches the life insurance claim policy. The target policy numbers of the life insurance claim policy extracted from the target code value node are XYZ12345, XYZ12346, and XYZ12356, etc.
[0136] In step S702 of some embodiments, specifically, the target category node refers to a category root node that matches the target service category data in the service category tree.
[0137] For example, in the financial field, based on the target policies numbered XYZ12345, XYZ12346, and XYZ12356, the business category tree is traversed and searched for the policy type in combination with the business category index to obtain target category nodes that match the target policy numbers XYZ12345, XYZ12346, and XYZ12356, and the target business category is extracted from the target category nodes as life insurance.
[0138] In step S703 of some embodiments, specifically, the target indicator node refers to an indicator root node that matches the target business indicator data in the business indicator tree.
[0139] For example, in the financial field, based on the target business category being life insurance, the business indicator tree is traversed and searched in combination with the business indicator index being the life insurance claims ratio to obtain a target indicator node that matches life insurance. The target business indicator data is extracted from the target indicator node, including the name of the life insurance claims policyholder, the policy effective date, the insured amount, and the claims status code value group (such as paid, unpaid, partially paid, etc.).
[0140] In this embodiment, by indexing based on business code values, business category indexes, and business indicator indexes, the code value corresponding to the target query keyword can be quickly located, and the corresponding business category can be located based on the code value, and the corresponding business indicator can be located based on the category, so as to realize the query of data at different levels, and then optimize the query path by combining the hierarchy and correlation of data in the tree structure, thereby significantly improving the query efficiency of business indicator data.
[0141] The embodiment of the present application obtains target query keywords and business query data by responding to an indicator data query request for a target business query; wherein the business query data includes initial business indicator data of the target business, initial business category of the target business and initial business code value data for identifying the initial business category; obtains associated category indicator data of the initial business category, obtains associated indicator category data of the initial business indicator data; obtains associated category code value data of the initial business category, obtains associated code value category data of the initial business code value data; constructs a business category tree based on the associated category indicator data, the associated category code value data and the initial business category, and constructs a business category tree based on the associated indicator category A business indicator tree is constructed based on the identification data and the initial business indicator data, and a business code value tree is constructed based on the associated code value category data and the initial business code value data; a business category index is constructed based on the business category tree and the initial business category, a business indicator index is constructed based on the business indicator tree and the initial business indicator data, and a business code value index is constructed based on the business code value tree and the initial business code value data; target business code value data of the target query keyword is retrieved from the business code value tree based on the business code value index, target business category of the target business code value data is retrieved from the business category tree based on the business category index, and target business indicator data of the target business category is retrieved from the business indicator tree based on the business indicator index. This application first constructs a business category tree, a business indicator tree and a business code value tree based on the associated data between the initial business category, the initial business indicator and the initial business code value, respectively, to realize the construction of data structures at different levels, and processes the business category, business indicator and business code value data based on different hierarchical structures, thereby improving the granularity of data processing; secondly, a corresponding business index is constructed according to the business category tree, the business indicator tree and the business code value tree, so as to facilitate the subsequent combination of multi-level data structures and business indexes between hierarchical structures, and quickly obtain and display data at different levels to improve the query efficiency of business indicator data; finally, by querying data at different levels respectively through the business code value index, the business category index and the business indicator index, it is possible to quickly locate the data position corresponding to the target query keyword, and optimize the query path in combination with the hierarchy and correlation of the data in the tree structure, thereby significantly improving the query efficiency of the business indicator data.
[0142] See also Figure 8 The embodiment of the present application further provides a business indicator data query device, which can implement the above-mentioned business indicator data query method, and the device includes:
[0143] a business query data acquisition module, configured to acquire a target query keyword and business query data in response to an indicator data query request for a target business query; wherein the business query data includes initial business indicator data of the target business, an initial business category of the target business, and initial business code value data for identifying the initial business category;
[0144] A module for acquiring associated data of categories and indicators, used to acquire associated category indicator data of initial business categories and associated indicator category data of initial business indicator data;
[0145] A category and code value associated data acquisition module is used to acquire the associated category code value data of the initial service category and acquire the associated code value category data of the initial service code value data;
[0146] A business tree construction module is used to construct a business category tree based on the associated category indicator data, the associated category code value data and the initial business category, to construct a business indicator tree based on the associated indicator category data and the initial business indicator data, and to construct a business code value tree based on the associated code value category data and the initial business code value data;
[0147] A business index construction module is used to construct a business category index based on the business category tree and the initial business category, to construct a business indicator index based on the business indicator tree and the initial business indicator data, and to construct a business code value index based on the business code value tree and the initial business code value data;
[0148] The business indicator data query module is used to query the target business code value data of the target query keyword from the business code value tree according to the business code value index, query the target business category of the target business code value data from the business category tree according to the business category index, and query the target business indicator data of the target business category from the business indicator tree according to the business indicator index.
[0149] The specific implementation of the business indicator data query device is basically the same as the specific embodiment of the above-mentioned business indicator data query method, and will not be repeated here.
[0150] The present application also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned business indicator data query method. The electronic device can be any smart terminal including a tablet computer, an in-vehicle computer, or the like.
[0151] See also Figure 9 , Figure 9 The hardware structure of an electronic device according to another embodiment is shown. The electronic device includes:
[0152] The processor 901 may be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0153] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store the processing system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the business indicator data query method of the embodiment of this application;
[0154] Input / output interface 903, used to implement information input and output;
[0155] Communication interface 904, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, Wi-Fi, Bluetooth, etc.);
[0156] Bus 905 , which transmits information between various components of the device (e.g., processor 901 , memory 902 , input / output interface 903 , and communication interface 904 );
[0157] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .
[0158] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned business indicator data query method is implemented.
[0159] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0160] The business indicator data query method, business indicator data query device, electronic device and storage medium provided by the embodiment of the present application obtain target query keywords and business query data by responding to the indicator data query request for the target business query; wherein the business query data includes initial business indicator data of the target business, initial business category of the target business and initial business code value data for identifying the initial business category; obtains associated category indicator data of the initial business category, obtains associated indicator category data of the initial business indicator data; obtains associated category code value data of the initial business category, obtains associated code value category data of the initial business code value data; obtains associated category indicator data, associated category code value data of the initial business category and associated code value category data of the initial business code value data; obtains associated category indicator data, associated category code value data and initial business code value data according to the associated category indicator data, associated category code value data and initial business A business category tree is constructed based on the business category, a business indicator tree is constructed based on the associated indicator category data and the initial business indicator data, and a business code value tree is constructed based on the associated code value category data and the initial business code value data; a business category index is constructed based on the business category tree and the initial business category, a business indicator index is constructed based on the business indicator tree and the initial business indicator data, and a business code value index is constructed based on the business code value tree and the initial business code value data; target business code value data of the target query keyword is queried from the business code value tree based on the business code value index, target business category of the target business code value data is queried from the business category tree based on the business category index, and target business indicator data of the target business category is queried from the business indicator tree based on the business indicator index. This application first constructs a business category tree, a business indicator tree and a business code value tree based on the associated data between the initial business category, the initial business indicator and the initial business code value, respectively, to realize the construction of data structures at different levels, and processes the business category, business indicator and business code value data based on different hierarchical structures, thereby improving the granularity of data processing; secondly, a corresponding business index is constructed according to the business category tree, the business indicator tree and the business code value tree, so as to facilitate the subsequent combination of multi-level data structures and business indexes between hierarchical structures, and quickly obtain and display data at different levels to improve the query efficiency of business indicator data; finally, by querying data at different levels respectively through the business code value index, the business category index and the business indicator index, it is possible to quickly locate the data position corresponding to the target query keyword, and optimize the query path in combination with the hierarchy and correlation of the data in the tree structure, thereby significantly improving the query efficiency of the business indicator data.
[0161] The embodiments described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0162] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0163] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.
[0164] Those skilled in the art will appreciate that all or some of the steps in the methods, systems, and functional modules / units in the devices disclosed above may be implemented as software, firmware, hardware, or appropriate combinations thereof.
[0165] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0166] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0167] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0168] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0169] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0170] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store programs.
[0171] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and essence of the present invention should be within the scope of the present invention.
Claims
1. A business indicator data query method, characterized in that: The method comprises: In response to an indicator data query request for a target business query, a target query keyword and business query data are obtained; wherein the business query data includes initial business indicator data of the target business, an initial business category of the target business, and initial business code value data for identifying the initial business category; Acquire the associated category indicator data of the initial service category, and acquire the associated indicator category data of the initial service indicator data; Acquire the associated category code value data of the initial service category, and acquire the associated code value category data of the initial service code value data; constructing a service category tree based on the associated category indicator data, the associated category code value data and the initial service category, constructing a service indicator tree based on the associated indicator category data and the initial service indicator data, and constructing a service code value tree based on the associated code value category data and the initial service code value data; Constructing a service category index based on the service category tree and the initial service category, constructing a service indicator index based on the service indicator tree and the initial service indicator data, and constructing a service code value index based on the service code value tree and the initial service code value data; According to the business code value index, the target business code value data of the target query keyword is queried from the business code value tree; according to the business category index, the target business category of the target business code value data is queried from the business category tree; according to the business indicator index, the target business indicator data of the target business category is queried from the business indicator tree.
2. The method according to claim 1, characterized in that The step of querying target business code value data of the target query keyword from the business code value tree according to the business code value index, querying target business categories of the target business code value data from the business category tree according to the business category index, and querying target business indicator data of the target business category from the business indicator tree according to the business indicator index includes: Traversing the business code value tree according to the business code value index to obtain a target code value node that matches the target query keyword, and acquiring the target business code value data from the target code value node; Traversing the service category tree according to the service category index to obtain a target category node that matches the target service code value data, and obtaining the target service category from the target category node; The business indicator tree is traversed according to the business indicator index to obtain a target indicator node that matches the target business category, and the target business indicator data is acquired from the target indicator node.
3. The method according to claim 1, characterized in that The step of constructing a service category index based on the service category tree and the initial service category, and constructing a service indicator index based on the service indicator tree and the initial service indicator data, includes: Get the category index structure; get the indicator index structure; Traversing the service category tree according to the category index structure to obtain a category index path, and constructing the service category index according to the category index path; The business indicator tree is traversed according to the category index structure to obtain an indicator category index path, and the business indicator index is constructed according to the indicator category index path.
4. The method according to claim 1, wherein The constructing a service code value index according to the service code value tree and the initial service code value data includes: Performing word segmentation processing on the initial business code value data to obtain word segmentation code value data, and obtaining a code value index item based on the word segmentation code value data and the initial business code value data; Acquire a code value index structure, and add the code value index item to the code value index structure to obtain an updated code value index structure; The service code value tree is traversed according to the updated code value index structure to obtain a code value category index path, and the service code value index is constructed according to the code value category index path.
5. The method according to claim 1, wherein The step of constructing a service category tree based on the associated category indicator data, the associated category code value data, and the initial service category, constructing a service indicator tree based on the associated indicator category data and the initial service indicator data, and constructing a service code value tree based on the associated code value category data and the initial service code value data includes: Obtain the category name of the initial service category; obtain the indicator name of the initial service indicator data; obtain the code value name of the initial service code value data; The category name is used as the category root node, and the associated category indicator data and the associated category code value data are used as category child nodes of the category root node; the indicator name is used as the indicator root node, and the associated indicator category data are used as indicator child nodes of the indicator root node; the code value name is used as the code value root node, and the associated code value category data are used as code value child nodes; The business category tree is constructed according to the category root node and the category sub-node; the business indicator tree is constructed according to the indicator root node and the indicator sub-node; and the business code value tree is constructed according to the code value root node and the code value sub-node.
6. The method according to any one of claims 1 to 5, characterized in that The step of obtaining the associated category indicator data of the initial business category and obtaining the associated indicator category data of the initial business indicator data includes: Obtaining an associated category indicator node of the initial service category based on a pre-built category indicator relationship tree, and obtaining the associated category indicator data from the associated category indicator node; The associated indicator category node of the initial business indicator data is obtained based on a pre-built indicator category relationship tree, and the associated indicator category data is obtained from the associated indicator category node.
7. The method according to any one of claims 1 to 5, characterized in that The step of obtaining the associated category code value data of the initial service category and obtaining the associated code value category data of the initial service code value data includes: Obtaining an associated category code value node of the initial service category based on a pre-built category code value relationship tree, and obtaining the associated category code value data from the associated category code value node; An associated code value category node of the initial service code value data is obtained based on a pre-built code value category relationship tree, and the associated code value category data is obtained from the associated code value category node.
8. A business indicator data query device, characterized in that: The device comprises: a business query data acquisition module, configured to acquire, in response to an indicator data query request for a target business query, a target query keyword and business query data; wherein the business query data includes initial business indicator data of the target business, an initial business category of the target business, and initial business code value data for identifying the initial business category; A category and indicator association data acquisition module, configured to acquire the category indicator data associated with the initial business category and acquire the indicator category data associated with the initial business indicator data; A category and code value associated data acquisition module, configured to acquire the associated category code value data of the initial service category and the associated code value category data of the initial service code value data; a service tree construction module, configured to construct a service category tree based on the associated category indicator data, the associated category code value data, and the initial service category, construct a service indicator tree based on the associated indicator category data and the initial service indicator data, and construct a service code value tree based on the associated code value category data and the initial service code value data; a service index construction module, configured to construct a service category index based on the service category tree and the initial service category, construct a service indicator index based on the service indicator tree and the initial service indicator data, and construct a service code value index based on the service code value tree and the initial service code value data; A business indicator data query module is used to query the target business code value data of the target query keyword from the business code value tree according to the business code value index, query the target business category of the target business code value data from the business category tree according to the business category index, and query the target business indicator data of the target business category from the business indicator tree according to the business indicator index.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the business indicator data query method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the business indicator data query method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Business object display method and device
CN112232903A
Multi-source data query method and system based on deep learning
CN117251605A