WO2019136855A1 - Method and apparatus for implementing multidimensional analysis on insurance policy, terminal device, and storage medium - Google Patents

Method and apparatus for implementing multidimensional analysis on insurance policy, terminal device, and storage medium Download PDF

Info

Publication number
WO2019136855A1
WO2019136855A1 PCT/CN2018/081531 CN2018081531W WO2019136855A1 WO 2019136855 A1 WO2019136855 A1 WO 2019136855A1 CN 2018081531 W CN2018081531 W CN 2018081531W WO 2019136855 A1 WO2019136855 A1 WO 2019136855A1
Authority
WO
WIPO (PCT)
Prior art keywords
policy
dimension
word
matching
index
Prior art date
Application number
PCT/CN2018/081531
Other languages
French (fr)
Chinese (zh)
Inventor
张俊武
徐诗
孙硕
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019136855A1 publication Critical patent/WO2019136855A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP

Definitions

  • the present application relates to the field of insurance applications, and in particular, to a policy multi-dimensional analysis implementation method, device, terminal device and storage medium.
  • the policy information of each policy can be inquired and obtained through the policy number, and the single-dimensional analysis of the obtained policy information can not achieve a comprehensive analysis of the policy, such as the analysis of the association between policies.
  • This way of obtaining policy information using policy numbers and performing single-dimensional analysis makes the policy analysis process too isolated and single, resulting in greater limitations in policy analysis.
  • the embodiment of the present application provides a policy multi-dimensional analysis implementation method, device, terminal device and storage medium to solve the problem that the current policy analysis process is too single.
  • an embodiment of the present application provides a method for implementing multi-dimensional analysis of a policy, including:
  • the embodiment of the present application provides a policy multi-dimensional analysis implementation device, including:
  • a policy query information obtaining module configured to obtain policy query information
  • a policy dimension acquisition unit module configured to perform matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one policy dimension
  • a target policy acquisition module configured to acquire at least one target policy according to at least one of the policy dimensions
  • the multi-dimensional analysis result obtaining unit is configured to perform multi-dimensional analysis according to at least one of the target policies to obtain multi-dimensional analysis results.
  • an embodiment of the present application provides a terminal device, including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, where the processor executes the computer The following steps are implemented when reading the instruction:
  • the embodiment of the present application provides one or more non-volatile readable storage media storing computer readable instructions, when the computer readable instructions are executed by one or more processors, such that the one or Multiple processors perform the following steps:
  • the policy query information is first obtained, and then the policy query information is matched and analyzed by using the preset policy dimension vocabulary to obtain at least one policy.
  • Dimensions through matching analysis of policy query information, can accurately obtain the corresponding policy dimension in the policy dimension vocabulary from the policy query information, and achieve the purpose of extracting the policy dimension in the policy query information.
  • at least one policy dimension at least one target policy is obtained, and the corresponding target policy can be obtained efficiently and quickly according to the policy dimension.
  • multi-dimensional analysis is performed according to at least one target policy, and multi-dimensional analysis results are obtained.
  • multi-dimensional analysis is performed according to requirements, which can satisfy the function of analyzing the target policy from multiple dimensions, and achieve comprehensive and diversified target policies. The purpose of the analysis is to quickly and efficiently obtain the target policy analysis results based on multiple dimensions.
  • FIG. 1 is a flowchart of a method for implementing multi-dimensional analysis of a policy in Embodiment 1 of the present application;
  • FIG. 2 is a specific flow chart before step S10 in Figure 1;
  • FIG. 3 is a specific flow chart of step S20 of Figure 1;
  • FIG. 4 is a specific flow chart of step S30 of Figure 1;
  • FIG. 5 is a schematic block diagram of a multi-dimensional analysis implementation device for a policy in Embodiment 2 of the present application;
  • FIG. 6 is a schematic diagram of a terminal device in Embodiment 4 of the present application.
  • FIG. 1 is a flow chart showing a method for implementing policy multi-dimensional analysis in the embodiment.
  • the policy multi-dimensional analysis implementation method can be applied to a terminal device configured by an insurance institution for implementing multi-dimensional analysis of a policy, and can be specifically applied to a policy multi-dimensional analysis system installed on a terminal device.
  • the policy multi-dimensional analysis system refers to a system for multi-dimensional analysis of policies.
  • the terminal device is a device that can perform human-computer interaction with the user, including but not limited to devices such as a computer, a smart phone, and a tablet.
  • the policy multi-dimensional analysis implementation method includes the following steps:
  • the policy query information refers to the information related to the policy for querying the policy.
  • the policy query information may be string information composed of arbitrary characters input by the user in the policy multi-dimensional analysis system.
  • the policy query information may include a policy dimension such as a region dimension, a time dimension, a policy type dimension, a policy transaction dimension, and a user dimension, and also supports a fuzzy query.
  • Fuzzy query identifiers include, but are not limited to, identifiers such as "%" and "_”, which represent the implementation of fuzzy queries. Where "%” represents one or more characters that are undefined but actually exist (ie, fuzzy queries). Correspondingly, "_" represents a character that is indeterminate but actually exists.
  • the policy inquiry information may specifically be “Beijing Chaoyang District September Heavy Diseases Claims Chen%”, wherein “Beijing Chaoyang District” represents the policy dimension on the region, and “September” represents the policy dimension on time, “ Critical illness insurance represents the policy dimension on the policy type, “claims” represents the policy dimension on the policy transaction, “Chen%” represents the policy dimension on the policy owner, and “%” represents a fuzzy query implementation of the policy dimension.
  • Chen% can represent all users whose surnames are Chen.
  • the policy inquiry information including "Chen_Ming” indicates that the last name is "Chen”
  • the third word of the user name is "Ming”
  • the user name is a user composed of three characters.
  • the fuzzy query method can express the policy query information more flexibly, so that the policy query information can be closer to the information of the policy that the user wants to obtain.
  • the policy query information is obtained through the policy multi-dimensional analysis system, which provides a basis for the multi-dimensional query policy, and is beneficial for subsequent analysis based on the policy query information.
  • the policy multi-dimensional analysis implementation method before the step S10, that is, before obtaining the policy query information, the policy multi-dimensional analysis implementation method further includes creating a policy dimension vocabulary, and the created policy dimension vocabulary specifically includes the following step:
  • policy data refers to all data information contained in the policy.
  • the policy data of all the policies stored in the database can be obtained by traversing the policy data recorded in all the policies. Understandably, the policy data is large. In the process of obtaining policy data of all policies, only the same data in the same policy is extracted as the policy data of the policy to avoid data redundancy, thereby ensuring any policy finally acquired.
  • the policy data is the part of the data that is different from each other.
  • S12 Perform word segmentation on policy data of all policies to obtain at least one index dimension word, and each index dimension word corresponds to a policy dimension.
  • the word segmentation processing on the policy data refers to the process of obtaining the index dimension word through the policy data.
  • the index dimension word in this embodiment is an index. It can be understood that the index is specifically represented by a word representing the policy dimension (ie, an index dimension word).
  • Each index dimension word corresponds to a policy dimension, and multiple different index dimension words can simultaneously correspond to one policy dimension. For example, Beijing, Shenzhen, and Shanghai are respectively an index dimension word, and each index dimension word corresponds to the policy region dimension. .
  • the index dimension word is obtained by a word segmentation tool (such as IKAnalyzer or MMAnalyzer).
  • a word segmentation tool such as IKAnalyzer or MMAnalyzer.
  • IKAnalyzer is an open source, lightweight Chinese word segmentation toolkit based on Java language development. It is a Chinese word segmentation toolkit based on the most iterative segmentation algorithm for forward iteration.
  • MMAnalyzer is a word segmentation toolkit that supports Chinese, numeric and Chinese mixed word segmentation based on the forward maximum matching algorithm.
  • the vocabulary in the word segmentation tool (such as IKAnalyzer or MMAnalyzer) can be matched with the policy data. If there is a vocabulary in the policy data that is the same as the vocabulary that has been included, the vocabulary of the part of the policy data is extracted according to the policy dimension.
  • the actual situation removes the vocabulary unrelated to the policy dimension, and obtains the first pre-selected index dimension word; then uses the word segmentation tool to filter the irrelevant data in the policy data and the index dimension word, such as punctuation, escaped field (such as, but, and pronouns (such as this, those) and other independent data to establish index dimension words; then the filtered policy data to create and add index dimension words according to the actual situation of the policy dimension, obtain the second pre-selected index Dimension word; finally integrates (adds) the first pre-selected index dimension word and the second pre-selected index dimension word to obtain the final index dimension word related to the policy dimension.
  • the index dimension word is obtained through word segmentation processing, and the purpose of extracting the index dimension word related to the policy dimension in the policy data is achieved.
  • the index dimension table is a table for indicating a correspondence between an index dimension word and a storage address of the policy, the index dimension table includes a plurality of index items, and each index item is matched by the index dimension word and the index dimension word.
  • the policy's storage address consists of. It can be understood that, when the index dimension table is established, an index entry is created according to the index dimension word and the storage address of the corresponding policy, and a complete index table is formed by all index entries.
  • the policy dimension lexicon refers to an index file related to the policy dimension.
  • the policy dimension vocabulary includes a main file and an index dimension table, wherein the main file refers to data stored by the vocabulary itself (the index of the physical data layer storage) The dimension word and the storage address of the policy), and the index dimension table is a table describing the correspondence between the data, and stores the correspondence between the index dimension word and the storage address of the policy (the index dimension table belongs to the logical data layer, the description Is the logical relationship between data).
  • index dimension table For example, “Beijing Chaoyang District”, “September”, “Heavy Danger Insurance”, “Compensation” and “Chen%” in “Beijing Chaoyang District September Critical Diseases Claims” are in the index dimension table. Index, which is specifically represented by an index dimension word. Each index dimension word is associated with the storage address of its corresponding policy, such as "Beijing Chaoyang District” is associated with the storage address of all policies including "Beijing Chaoyang District”, “heavy illness insurance” and including “heavy illness” The storage address of all the policies of the insurance is related.
  • the storage address of the policy corresponding to the two index dimension words “Beijing Chaoyang District” and “Heavy Dangerous Insurance” is a policy that includes two index dimension words “Beijing Chaoyang District” and “Heavy Danger Insurance”. It can be understood that when the index dimension word represents more and more specific dimensions, the corresponding storage address of the corresponding policy will be less, and the result of index index word retrieval will be more accurate.
  • the policy dimension lexicon can be established by Lucene.
  • Lucene is an open source full-text search engine toolkit that provides a complete query engine and indexing engine; Lucene is an open source library for full-text search and search, which provides a simple but powerful application interface. , able to do full-text indexing and searching.
  • the index relationship dimension table is formed by using Lucene to establish a correspondence between the index dimension words and the storage addresses of the corresponding policies.
  • the index dimension table forms a policy dimension vocabulary with the master file that stores the index dimension words and the storage address of the policy at the physical data layer.
  • the index dimension table in the policy dimension lexicon can be understood as a directory of the lexicon, which records the correspondence between the dimension index words and the storage address of the policy.
  • the master file can be understood as the physical data actually contained in the vocabulary, and stores all the Policy related data.
  • S20 Perform matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one policy dimension.
  • the policy query information is pre-created to perform matching analysis on the policy query information.
  • the policy query information may be string information composed of arbitrary characters input by the user in the policy multi-dimensional analysis system.
  • the policy query information includes at least one index dimension word, and the policy query information is matched with the policy dimension lexicon to determine an index dimension word in the policy query information, and the corresponding at least one policy dimension can be obtained according to the determined index dimension word. For example, if the policy query information is “Beijing Chaoyang District September Heavy Danger Insurance Claims Percent”, by matching with the policy dimension, it can be determined that the index dimension words are “Beijing Chaoyang District”, “September”, and “Heavy Diseases”. Insurance, "claims" and "Chen%”.
  • “Beijing Chaoyang District” represents the policy dimension on the region
  • “September” represents the policy dimension on time
  • “Heavy Danger Insurance” represents the policy dimension on the policy type
  • “Compensation” represents the policy dimension on the policy transaction.
  • “Chen%” represents the policy dimension on the user to which the policy belongs. In particular, if the policy query information does not contain an index dimension word, the policy multi-dimensional analysis system will display the prompt “No search results, please re-enter!”.
  • the purpose of obtaining the policy dimension included in the policy query information according to the policy query information is achieved.
  • a matching policy dimension vocabulary is used to perform matching analysis on the policy query information, and at least one policy dimension is obtained, which specifically includes the following steps:
  • the policy query information is scanned from left to right, the policy query information is matched with the index dimension word in the policy dimension lexicon, and the index dimension word with the first matching success is used as the first matching word.
  • the policy inquiry information is “Beijing Chaoyang District September Critical Disease Claims Chen%”, “Beijing”, “Beijing” and “Beijing Chaoyang District” are all in the regional dimension of the policy dimension lexicon. Index dimension word.
  • the index dimension word on the regional dimension needs to determine whether there is an index dimension word containing the first matching word as a prefix in the policy dimension lexicon to determine whether the matching word is also prefixed, and longer. , a smaller range of index dimension words.
  • the first matching word is “Beijing”
  • “Beijing” is a prefix of a partial index dimension word in a policy dimension lexicon such as “Beijing”, “Beijing Chaoyang District” and “Beijing Chaoyang District”
  • the policy inquiry information is “Beijing Chaoyang District September Heavy Diseases Claims Chen%”
  • the next matching index dimension word is “Beijing”.
  • the obtained new index dimension word is “Beijing Municipality”.
  • Step S22 Since “Beijing Municipality” may be the prefix of partial index words in the policy dimension lexicon, update “Beijing Municipality” as the first matching word, and repeat step S22. Judgment process. If the answer of the step S22 is YES, the process continues, and at this time, the "Beijing City" will be matched on the basis of the original "Beijing City”. The "Beijing Chao" is updated to the first matching word and the step of determining the index dimension word containing the first matching word as a prefix in the policy dimension lexicon is repeated in step S22.
  • step S22 in the multiple determination step of step S22, in the process of the determination result being YES and repeating this step, the matching analysis will be matched to "Beijing Chaoyang" and "Beijing Chaoyang District". Until the judgment of step S22 is NO, that is, "Beijing Chaoyang District" is not the prefix of any index dimension word in the policy dimension lexicon (here, the area is assumed to be the minimum unit), this step is not executed, and the judgment in step S22 is performed instead. The next step when it is no (ie, step S24).
  • the first matching word can be considered as the smallest index dimension word.
  • the first matching word is used as a matching policy dimension, that is, "Beijing City Chaoyang District as a policy dimension that has been matched.
  • S25 Excluding the matched policy dimension in the policy query information, updating the policy query information, and repeatedly performing the left-to-right matching of the policy query information with the index dimension words in the policy dimension lexicon, and setting the index dimension words successfully matched for the first time.
  • the “acquiring at least one policy dimension until all the policy dimensions in the policy-completed query information” in step S25 means that after each policy query information is updated, it is determined whether the updated policy query information is empty, if the policy is If the query information is not empty (that is, there is content), then S21 is executed. If the policy query information is empty (that is, after the policy dimension has been matched in the policy query information, there is no content), the matching process is ended.
  • Step S22 is a determination step, if the determination result is Yes, Step S23 is performed, and if the determination result is otherwise, Step S24 is performed) And in this step, the policy query information and the policy dimension dictionary are matched each time, and the policy dimension in the updated policy query information is obtained. After a limited number of policy query information updates and duplicate matches, after matching all the policy dimensions, the matching analysis process of the policy query information is completed.
  • the target policy refers to the policy used for multi-dimensional analysis.
  • the target policy corresponding to the policy dimension is obtained by using the correspondence between the at least one policy dimension and the target policy, and the target policy is obtained through the policy dimension. purpose.
  • step S30 as shown in FIG. 4, at least one target policy is obtained according to at least one policy dimension, which specifically includes the following steps:
  • S31 Query an index dimension table according to at least one policy dimension to determine a storage address of at least one policy corresponding to at least one policy dimension.
  • the index dimension table is queried according to at least one policy dimension.
  • the obtained policy dimension represented by the index dimension word
  • “Chen%” query the index dimension table, according to the logical relationship between the policy dimension stored in the index dimension table and the storage address of the policy, determine the storage address of the policy corresponding to the policy dimension.
  • the final index in the index dimension table is that the Beijing Chaoyang District is heavy in September.
  • the storage address of the policy for all claimants in the Dangerous Policy type It can be understood that when the index dimension table is queried according to at least one policy dimension, the storage address of the policy matching all the policy dimensions can be obtained, and the policy data of the policy matches all the policy dimensions.
  • the stored target policy is obtained in the main file (physical data layer) of the index file according to the storage address of the policy corresponding to the policy dimension logic stored in the index dimension table (logical data layer).
  • S40 Perform multi-dimensional analysis according to at least one target policy to obtain multi-dimensional analysis results.
  • the multi-dimensional analysis of the policy can be various. According to the acquired target policy, the information on the plurality of policy dimensions included in the target policy can be analyzed in a targeted manner to obtain the corresponding multi-dimensional analysis result, the multi-dimensional The analysis results are more intuitive to understand the situation and operation trajectory of the policy, and improve the efficiency of analyzing the policy.
  • multi-dimensional analysis includes but is not limited to multi-dimensional query analysis, multi-dimensional comparative analysis and multi-dimensional statistical analysis.
  • the target policy is queried in multiple dimensions on the display interface of the policy multi-dimensional analysis system according to the acquired target policy. For example, when querying the claim situation of the critical illness insurance, the at least one target policy can be highlighted to highlight the situation of the critical illness insurance regarding the claims transaction, so as to implement the query function on multiple arbitrary dimensions.
  • a comparison of the dimensions of the policy itself or the policy may be performed according to the acquired target policy.
  • Each dimension information (such as policy billing time, renewal status, payment status, or deduction reason) included in the target policy can be compared.
  • the information in each dimension can be obtained through the policy multi-dimensional analysis system and sensed by the user.
  • the dimensions of interest are compared, and the comparison results can be presented in a variety of ways, such as text, table or image, to achieve multi-dimensional comparison of the policy.
  • multi-dimensional statistical analysis of the policy you can select at least two target policies required, and perform statistical analysis on any number of policy dimensions of the policy according to actual needs. For example, you can count the amount of claims for all critical illness insurance policies, count the number of renewals for all critical illness insurance policies, or calculate the reasons for the deduction of all critical illness insurance policies, and pass the multi-dimensional statistical results on the policy multi-dimensional analysis system. , multiple forms such as tables and images, to achieve multi-dimensional statistical functions of the policy.
  • the policy query information is first obtained, and then the policy query information is matched and analyzed by using a preset policy dimension vocabulary to obtain at least one policy dimension, and the policy query information is matched.
  • the analysis can accurately and effectively obtain at least one policy dimension in the policy dimension vocabulary from the policy query information, and achieve the purpose of extracting the policy dimension in the policy query information.
  • at least one policy dimension at least one target policy is obtained, and the logical relationship between the index dimension words stored in the index dimension table and the storage address of the corresponding policy can be quickly and efficiently obtained according to the policy dimension corresponding to the index dimension word.
  • the corresponding target policy is obtained.
  • multi-dimensional analysis is performed according to at least one target policy to obtain multi-dimensional analysis results
  • multi-dimensional analysis is performed according to the target policy according to the requirements, which can satisfy multi-dimensional query analysis, multi-dimensional comparative analysis or multi-dimensionality of target policies from multiple policy dimensions.
  • the multi-dimensional analysis function such as statistical analysis, achieves the purpose of comprehensive and diversified analysis of the target policy, and quickly and efficiently obtains the target policy analysis results based on multiple dimensions.
  • FIG. 5 is a schematic block diagram showing a policy multi-dimensional analysis implementation apparatus corresponding to the policy multi-dimensional analysis implementation method in Embodiment 1.
  • the policy multi-dimensional analysis implementation apparatus includes a policy query information acquisition module 10, a policy dimension acquisition unit module 20, a target policy acquisition module 30, and a multi-dimensional analysis result acquisition module 40.
  • the implementation functions of the policy query information acquisition module 10, the policy dimension acquisition unit module 20, the target policy acquisition module 30, and the multi-dimensional analysis result acquisition module 40 correspond to the steps corresponding to the policy multi-dimensional analysis implementation method in the first embodiment. In order to avoid redundancy, the present embodiment will not be described in detail.
  • the policy query information obtaining module 10 is configured to obtain policy query information.
  • the policy dimension obtaining module 20 is configured to perform matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one policy dimension.
  • the target policy acquisition module 30 is configured to acquire at least one target policy according to at least one policy dimension.
  • the multi-dimensional analysis result obtaining module 40 is configured to perform multi-dimensional analysis according to at least one target policy to obtain multi-dimensional analysis results.
  • the policy multi-dimensional analysis implementation apparatus further includes a policy dimension vocabulary creation module 50 for creating a policy dimension vocabulary.
  • the policy dimension vocabulary creation module 50 includes a policy data acquisition unit 51, an index dimension word acquisition unit 52, and a policy dimension vocabulary creation unit 53.
  • the policy data obtaining unit 51 is configured to obtain policy data of all policies from a database storing the policy.
  • the index dimension word obtaining unit 52 is configured to perform word segmentation processing on the policy data of all the policies to obtain at least one index dimension word, and each index dimension word corresponds to a policy dimension.
  • the policy dimension vocabulary creating unit 53 is configured to create an index dimension vocabulary based on the at least one index dimension word, wherein the index dimension table is associated with the storage address of the policy corresponding to the index dimension word and the index dimension word.
  • the policy dimension acquisition module 20 includes a first matching word acquisition unit 21, an index dimension word determination unit 22, a first matching word update acquisition unit 23, a first matching word determination unit 24, and a policy dimension acquisition unit 25.
  • the first matching word obtaining unit 21 is configured to match the policy query information from the left and right to the index dimension word in the policy dimension vocabulary, and set the index dimension word with the first matching success as the first matching word.
  • the index dimension word determining unit 22 is configured to determine whether there is an index dimension word including the first matching word as a prefix in the policy dimension lexicon.
  • the first matching word update obtaining unit 23 is configured to continue the index query information in the policy dimension lexicon from left to right when there is an index dimension word including the first matching word as a prefix in the policy dimension vocabulary The word is matched. If the matching is successful, the index dimension word including the first matching word as a prefix is updated to the first matching word, and the step of determining whether the index dimension word containing the first matching word exists in the policy dimension lexicon is repeatedly executed. .
  • the first matching word determining unit 24 is configured to: if the index dimension word containing the first matching word as a prefix does not exist in the policy dimension lexicon, use the first matching word as a matched policy dimension.
  • the policy dimension obtaining unit 25 is configured to remove the matched policy dimension in the policy query information, update the policy query information, and repeat the policy query information from the left to the right to match the index dimension word in the policy dimension vocabulary, and the first matching is successful.
  • the index dimension word is set as the first matching word, and the step of determining the index dimension word containing the first matching word in the policy dimension lexicon is obtained; until at least one policy dimension is obtained by matching all the policy dimensions in the policy query information.
  • the target policy acquisition module 30 includes a storage address determination unit 31 and a target policy acquisition unit 32.
  • the storage address determining unit 31 is configured to query the index dimension table according to the at least one policy dimension to determine a storage address of the at least one policy corresponding to the at least one policy dimension.
  • the target policy obtaining unit 32 is configured to acquire at least one target policy according to the storage address of the at least one policy.
  • the multi-dimensional analysis includes multi-dimensional query analysis, multi-dimensional comparative analysis, and multi-dimensional statistical analysis.
  • the policy query information obtaining module 10 and the policy dimension obtaining module 20 are respectively configured to obtain policy query information and use the preset policy dimension vocabulary to perform policy query information. Matching analysis, obtaining at least one policy dimension, and matching and analyzing the policy query information, can accurately and effectively obtain at least one policy dimension in the policy dimension vocabulary from the policy query information, and achieve the purpose of extracting the policy dimension in the policy query information.
  • the target policy obtaining module 30 is configured to acquire at least one target policy according to at least one policy dimension, and the logical relationship between the index dimension word stored by the index dimension table and the storage address of the corresponding policy can be effectively and quickly according to the index dimension. The policy dimension corresponding to the word gets the corresponding target policy.
  • the multi-dimensional analysis result obtaining module 40 is configured to perform multi-dimensional analysis according to at least one target policy, obtain multi-dimensional analysis results, perform multi-dimensional analysis according to the target policy according to requirements, and satisfy multi-dimensional query of the target policy from multiple policy dimensions.
  • Multi-dimensional analysis functions such as analysis, multi-dimensional comparative analysis or multi-dimensional statistical analysis achieve the purpose of comprehensive and diversified analysis of target policies, and quickly and efficiently obtain target policy analysis results based on multiple dimensions.
  • This embodiment provides one or more non-volatile readable storage media having computer readable instructions stored thereon.
  • the one or more non-volatile readable storage mediums storing computer readable instructions, when executed by one or more processors, causing one or more processors to perform the policy multi-dimensionality of embodiment 1. Analyze the implementation method, in order to avoid duplication, we will not repeat them here.
  • the computer readable instructions when executed by the processor, the functions of the modules/units in the policy multi-dimensional analysis implementation device in Embodiment 2 are implemented. To avoid repetition, details are not described herein again.
  • non-volatile readable storage media storing computer readable instructions may comprise: any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a mobile hard drive, Disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and the like.
  • FIG. 6 is a schematic diagram of a terminal device in this embodiment.
  • terminal device 60 includes a processor 61, a memory 62, and computer readable instructions 63 stored in memory 62 and operative on processor 61.
  • the processor 61 implements various steps of the policy multi-dimensional analysis implementation method in Embodiment 1 when the computer readable instructions 63 are executed, such as steps S10, S20, S30, and S40 shown in FIG.
  • the processor 61 executes the computer readable instructions 63
  • the functions of each module/unit of the policy multi-dimensional analysis implementation device in Embodiment 2 are implemented, as shown in FIG. 5, the policy query information acquisition module 10, the policy dimension acquisition unit module 20, and the target.
  • the functions of the policy acquisition module 30 and the multi-dimensional analysis result acquisition module 40 are implemented, as shown in FIG. 5, the policy query information acquisition module 10, the policy dimension acquisition unit module 20, and the target.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)

Abstract

Disclosed are a method and apparatus for implementing multidimensional analysis on an insurance policy, a terminal device, and a storage medium. The method for implementing multidimensional analysis on an insurance policy comprises: obtaining insurance policy query information; performing matching analysis on the insurance policy query information using a preset insurance policy dimension word library to obtain at least one insurance policy dimension; obtaining at least one target insurance policy according to the at least one insurance policy dimension; and performing multidimensional analysis according to the at least one target insurance policy to obtain a multidimensional analysis result. The method for implementing multidimensional analysis on an insurance policy can implement, when performing analysis on an insurance policy on the basis of a plurality of insurance policy dimensions, the function of performing comprehensive and diverse analysis on the insurance policy.

Description

保单多维度分析实现方法、装置、终端设备及存储介质Policy multi-dimensional analysis implementation method, device, terminal device and storage medium
本专利申请以2018年1月12日提交的申请号为201810031163.4,名称为“保单多维度分析实现方法、装置、终端设备及存储介质”的中国发明专利申请为基础,并要求其优先权。This patent application is based on the Chinese Patent Application No. 201810031163.4 filed on January 12, 2018, entitled "Policy Multi-Dimensional Analysis Implementation Method, Apparatus, Terminal Equipment and Storage Medium", and requires priority.
技术领域Technical field
本申请涉及保险应用领域,尤其涉及一种保单多维度分析实现方法、装置、终端设备及存储介质。The present application relates to the field of insurance applications, and in particular, to a policy multi-dimensional analysis implementation method, device, terminal device and storage medium.
背景技术Background technique
目前,在进行保单分析的时候,往往只能实现对保单进行单一维度的分析,不能实现保单间关联分析。例如,在实际生活中,可通过保单号查询并获取每个保单的保单信息,并对获取的保单信息进行单一维度的分析,无法实现对保单进行全面分析,如无法实现对保单间关联分析。这种采用保单号获取保单信息并进行单一维度分析的方式,使得保单分析过程过于孤立和单一,造成保单分析较大的局限性。At present, when conducting policy analysis, it is often only possible to implement a single dimension analysis of the policy, and it is not possible to achieve correlation analysis between policies. For example, in real life, the policy information of each policy can be inquired and obtained through the policy number, and the single-dimensional analysis of the obtained policy information can not achieve a comprehensive analysis of the policy, such as the analysis of the association between policies. This way of obtaining policy information using policy numbers and performing single-dimensional analysis makes the policy analysis process too isolated and single, resulting in greater limitations in policy analysis.
发明内容Summary of the invention
本申请实施例提供一种保单多维度分析实现方法、装置、终端设备及存储介质,以解决当前保单分析过程过于单一的问题。The embodiment of the present application provides a policy multi-dimensional analysis implementation method, device, terminal device and storage medium to solve the problem that the current policy analysis process is too single.
第一方面,本申请实施例提供一种保单多维度分析实现方法,包括:In a first aspect, an embodiment of the present application provides a method for implementing multi-dimensional analysis of a policy, including:
获取保单查询信息;Obtain policy inquiry information;
采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度;Performing matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policy dimensions;
根据至少一个所述保单维度,获取至少一个目标保单;Obtaining at least one target policy according to at least one of the policy dimensions;
根据至少一个所述目标保单进行多维度分析,获取多维度分析结果。Performing multi-dimensional analysis according to at least one of the target policies to obtain multi-dimensional analysis results.
第二方面,本申请实施例提供一种保单多维度分析实现装置,包括:In a second aspect, the embodiment of the present application provides a policy multi-dimensional analysis implementation device, including:
保单查询信息获取模块,用于获取保单查询信息;a policy query information obtaining module, configured to obtain policy query information;
保单维度获取单元模块,用于采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度;a policy dimension acquisition unit module, configured to perform matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one policy dimension;
目标保单获取模块,用于根据至少一个所述保单维度,获取至少一个目标保单;a target policy acquisition module, configured to acquire at least one target policy according to at least one of the policy dimensions;
多维度分析结果获取单元,用于根据至少一个所述目标保单进行多维度分析,获取多维度分析结果。The multi-dimensional analysis result obtaining unit is configured to perform multi-dimensional analysis according to at least one of the target policies to obtain multi-dimensional analysis results.
第三方面,本申请实施例提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, where the processor executes the computer The following steps are implemented when reading the instruction:
获取保单查询信息;Obtain policy inquiry information;
采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度;Performing matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policy dimensions;
根据至少一个所述保单维度,获取至少一个目标保单;Obtaining at least one target policy according to at least one of the policy dimensions;
根据至少一个所述目标保单进行多维度分析,获取多维度分析结果。Performing multi-dimensional analysis according to at least one of the target policies to obtain multi-dimensional analysis results.
第四方面,本申请实施例提供一个或多个存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:In a fourth aspect, the embodiment of the present application provides one or more non-volatile readable storage media storing computer readable instructions, when the computer readable instructions are executed by one or more processors, such that the one or Multiple processors perform the following steps:
获取保单查询信息;Obtain policy inquiry information;
采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度;Performing matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policy dimensions;
根据至少一个所述保单维度,获取至少一个目标保单;Obtaining at least one target policy according to at least one of the policy dimensions;
根据至少一个所述目标保单进行多维度分析,获取多维度分析结果。Performing multi-dimensional analysis according to at least one of the target policies to obtain multi-dimensional analysis results.
本申请实施例所提供的保单多维度分析实现方法、装置、终端设备及存储介质中,首先获取保单查询信息,然后采用预设的保单维度词库对保单查询信息进行匹配分析,获取至少一个保单维度,通过对保单查询信息进行匹配分析,可以准确地从保单查询信息中获取保单维度词库中对应的保单维度,达到提取保单查询信息中保单维度的目的。接着根据至少一个保单维度,获取至少一个目标保单,可以有效快速地根据保单维度获取相对应的目标保单。最后根据至少一个目标保单进行多维度分析,获取多维度分析结果,基于目标保单根据需要进行多维度分析,能够满足从多个维度对目标保单进行分析的功能,达到对目标保单进行全面和多样化分析的目的,快速有效地获取基于多个维度的目标保单分析结果。In the method, the device, the terminal device and the storage medium for implementing the policy multi-dimensional analysis provided by the embodiment of the present application, the policy query information is first obtained, and then the policy query information is matched and analyzed by using the preset policy dimension vocabulary to obtain at least one policy. Dimensions, through matching analysis of policy query information, can accurately obtain the corresponding policy dimension in the policy dimension vocabulary from the policy query information, and achieve the purpose of extracting the policy dimension in the policy query information. Then, according to at least one policy dimension, at least one target policy is obtained, and the corresponding target policy can be obtained efficiently and quickly according to the policy dimension. Finally, multi-dimensional analysis is performed according to at least one target policy, and multi-dimensional analysis results are obtained. Based on the target policy, multi-dimensional analysis is performed according to requirements, which can satisfy the function of analyzing the target policy from multiple dimensions, and achieve comprehensive and diversified target policies. The purpose of the analysis is to quickly and efficiently obtain the target policy analysis results based on multiple dimensions.
附图说明DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art based on these drawings without the inventive labor.
图1是本申请实施例1中保单多维度分析实现方法的一流程图;1 is a flowchart of a method for implementing multi-dimensional analysis of a policy in Embodiment 1 of the present application;
图2是图1中步骤S10之前的一具体流程图;Figure 2 is a specific flow chart before step S10 in Figure 1;
图3是图1中步骤S20的一具体流程图;Figure 3 is a specific flow chart of step S20 of Figure 1;
图4是图1中步骤S30的一具体流程图;Figure 4 is a specific flow chart of step S30 of Figure 1;
图5是本申请实施例2中保单多维度分析实现装置的一原理框图;5 is a schematic block diagram of a multi-dimensional analysis implementation device for a policy in Embodiment 2 of the present application;
图6是本申请实施例4中终端设备的一示意图。FIG. 6 is a schematic diagram of a terminal device in Embodiment 4 of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
实施例1Example 1
图1示出本实施例中保单多维度分析实现方法的一流程图。该保单多维度分析实现方法可应用在保险机构配置的终端设备中,用于实现保单多维度分析,具体可应用在安装在终端设备上的保单多维度分析系统中。该保单多维度分析系统是指用于对保单进行多维度分析的系统。其中,该终端设备是可与用户进行人机交互的设备,包括但不限于电脑、智能手机和平板等设备。如图1所示,该保单多维度分析实现方法包括如下步骤:FIG. 1 is a flow chart showing a method for implementing policy multi-dimensional analysis in the embodiment. The policy multi-dimensional analysis implementation method can be applied to a terminal device configured by an insurance institution for implementing multi-dimensional analysis of a policy, and can be specifically applied to a policy multi-dimensional analysis system installed on a terminal device. The policy multi-dimensional analysis system refers to a system for multi-dimensional analysis of policies. The terminal device is a device that can perform human-computer interaction with the user, including but not limited to devices such as a computer, a smart phone, and a tablet. As shown in FIG. 1, the policy multi-dimensional analysis implementation method includes the following steps:
S10:获取保单查询信息。S10: Obtain policy inquiry information.
其中,保单查询信息是指与保单相关的用于查询保单的信息。The policy query information refers to the information related to the policy for querying the policy.
本实施例中,保单查询信息可以是用户在保单多维度分析系统输入的由任意字符组成的字符串信息。该保单查询信息可以包括地区维度、时间维度、保单类型维度、保单事务维度和所属用户维度等保单维度,同时还支持模糊查询。模糊查询标识符包括但不限于“%”和“_”等标识符,这些模糊查询标识符代表模糊查询的实现方式。其中,“%”代表不确定但实际存在(即模糊查询)的一个或多个字符。相对应地,“_”代表不确定但实际存 在的一个字符。In this embodiment, the policy query information may be string information composed of arbitrary characters input by the user in the policy multi-dimensional analysis system. The policy query information may include a policy dimension such as a region dimension, a time dimension, a policy type dimension, a policy transaction dimension, and a user dimension, and also supports a fuzzy query. Fuzzy query identifiers include, but are not limited to, identifiers such as "%" and "_", which represent the implementation of fuzzy queries. Where "%" represents one or more characters that are undefined but actually exist (ie, fuzzy queries). Correspondingly, "_" represents a character that is indeterminate but actually exists.
例如,保单查询信息具体可以是“北京市朝阳区9月份重疾险理赔陈%”,其中,“北京市朝阳区”代表地区上的保单维度,“9月份”代表时间上的保单维度,“重疾险”代表保单类型上的保单维度,“理赔”代表保单事务上的保单维度,“陈%”代表保单所属用户上的保单维度,“%”表示一种对保单维度进行模糊查询的实现方式,如在该保单所属用户维度上,陈%可以表示所有姓陈的用户。又例如,在包括“陈_明”的保单查询信息中,“陈_明”表示姓为“陈”,用户名第三个字为“明”,用户名由三个字符组成的用户。For example, the policy inquiry information may specifically be “Beijing Chaoyang District September Heavy Diseases Claims Chen%”, wherein “Beijing Chaoyang District” represents the policy dimension on the region, and “September” represents the policy dimension on time, “ Critical illness insurance represents the policy dimension on the policy type, “claims” represents the policy dimension on the policy transaction, “Chen%” represents the policy dimension on the policy owner, and “%” represents a fuzzy query implementation of the policy dimension. In the way, for example, in the user dimension to which the policy belongs, Chen% can represent all users whose surnames are Chen. For another example, in the policy inquiry information including "Chen_Ming", "Chen_Ming" indicates that the last name is "Chen", the third word of the user name is "Ming", and the user name is a user composed of three characters.
需要说明的是,字符与字节的含义不同,例如中文的一个字和英文一个字母都称为字符,但是一个中文字符占两个字节(16bit),一个英文字母占一个字节(8bit)。模糊查询的方式能够更灵活地表达保单查询信息,使得保单查询信息更能够贴近用户想要获取的保单的信息。通过保单多维度分析系统获取保单查询信息,为多维度查询保单提供了基础,有利于根据保单查询信息进行后续的分析。It should be noted that the meaning of characters and bytes is different. For example, one word in Chinese and one letter in English are called characters, but one Chinese character occupies two bytes (16 bits), and one English letter occupies one byte (8 bits). . The fuzzy query method can express the policy query information more flexibly, so that the policy query information can be closer to the information of the policy that the user wants to obtain. The policy query information is obtained through the policy multi-dimensional analysis system, which provides a basis for the multi-dimensional query policy, and is beneficial for subsequent analysis based on the policy query information.
在一具体实施方式中,如图2所示,在步骤S10之前,即在获取保单查询信息之前,该保单多维度分析实现方法还包括创建保单维度词库,该创建保单维度词库具体包括如下步骤:In a specific embodiment, as shown in FIG. 2, before the step S10, that is, before obtaining the policy query information, the policy multi-dimensional analysis implementation method further includes creating a policy dimension vocabulary, and the created policy dimension vocabulary specifically includes the following step:
S11:从存储保单的数据库中获取所有保单的保单数据。S11: Obtain policy data of all policies from the database storing the policy.
其中,保单数据是指保单上包含的所有数据信息。本实施例中,存储在数据库中的所有保单的保单数据,可以通过遍历所有保单中记载的保单数据的方式获取。可以理解地,保单数据是大量的,在获取所有保单的保单数据过程中,只提取同一保单中数据相同的部分作为该保单的保单数据,以避免数据冗余,从而保证最终获取的任一保单的保单数据为数据互不相同的部分。Among them, policy data refers to all data information contained in the policy. In this embodiment, the policy data of all the policies stored in the database can be obtained by traversing the policy data recorded in all the policies. Understandably, the policy data is large. In the process of obtaining policy data of all policies, only the same data in the same policy is extracted as the policy data of the policy to avoid data redundancy, thereby ensuring any policy finally acquired. The policy data is the part of the data that is different from each other.
S12:对所有保单的保单数据进行分词处理,获取至少一个索引维度词,每一索引维度词对应一保单维度。S12: Perform word segmentation on policy data of all policies to obtain at least one index dimension word, and each index dimension word corresponds to a policy dimension.
其中,对保单数据进行的分词处理是指通过保单数据获取索引维度词的处理。本实施例中的索引维度词即索引,可以理解地,索引具体通过代表保单维度的词(即索引维度词)表示。每一索引维度词对应一种保单维度,多个不同的索引维度词可以同时对应一种保单维度,如北京、深圳和上海分别为一索引维度词,每个索引维度词同时对应保单的地区维度。Among them, the word segmentation processing on the policy data refers to the process of obtaining the index dimension word through the policy data. The index dimension word in this embodiment is an index. It can be understood that the index is specifically represented by a word representing the policy dimension (ie, an index dimension word). Each index dimension word corresponds to a policy dimension, and multiple different index dimension words can simultaneously correspond to one policy dimension. For example, Beijing, Shenzhen, and Shanghai are respectively an index dimension word, and each index dimension word corresponds to the policy region dimension. .
本实施例中,通过分词工具(如IKAnalyzer或MMAnalyzer)获取索引维度词。其中, IKAnalyzer是一个开源的,基于java语言开发的轻量级的中文分词工具包,是基于正向迭代最细粒度切分算法的中文分词工具包。MMAnalyzer是基于正向最大匹配算法的支持中文、数字和中文混合分词的分词工具包。In this embodiment, the index dimension word is obtained by a word segmentation tool (such as IKAnalyzer or MMAnalyzer). Among them, IKAnalyzer is an open source, lightweight Chinese word segmentation toolkit based on Java language development. It is a Chinese word segmentation toolkit based on the most iterative segmentation algorithm for forward iteration. MMAnalyzer is a word segmentation toolkit that supports Chinese, numeric and Chinese mixed word segmentation based on the forward maximum matching algorithm.
具体地,可以根据分词工具(如IKAnalyzer或MMAnalyzer)中的已收录词汇与保单数据进行匹配,若保单数据中存在与已收录词汇相同的词汇,则提取保单数据中这部分的词汇,根据保单维度的实际情况去除与保单维度无关的词汇,获取第一预选索引维度词;接着采用分词工具过滤保单数据中与建立索引维度词的无关数据,该无关数据具体是指如标点符号、转义字段(如而且、但是)和代词(如这个、那些)等与建立索引维度词的无关数据;然后将过滤后的保单数据根据保单维度的实际情况自定义建立和添加索引维度词,获取第二预选索引维度词;最后整合(相加)第一预选索引维度词和第二预选索引维度词,获取最终的与保单维度相关的索引维度词。基于实际保单维度,通过分词处理获取索引维度词,达到了提取保单数据中与保单维度相关的索引维度词的目的。Specifically, the vocabulary in the word segmentation tool (such as IKAnalyzer or MMAnalyzer) can be matched with the policy data. If there is a vocabulary in the policy data that is the same as the vocabulary that has been included, the vocabulary of the part of the policy data is extracted according to the policy dimension. The actual situation removes the vocabulary unrelated to the policy dimension, and obtains the first pre-selected index dimension word; then uses the word segmentation tool to filter the irrelevant data in the policy data and the index dimension word, such as punctuation, escaped field ( Such as, but, and pronouns (such as this, those) and other independent data to establish index dimension words; then the filtered policy data to create and add index dimension words according to the actual situation of the policy dimension, obtain the second pre-selected index Dimension word; finally integrates (adds) the first pre-selected index dimension word and the second pre-selected index dimension word to obtain the final index dimension word related to the policy dimension. Based on the actual policy dimension, the index dimension word is obtained through word segmentation processing, and the purpose of extracting the index dimension word related to the policy dimension in the policy data is achieved.
S13:基于至少一个索引维度词构建索引维度表,创建保单维度词库;其中,索引维度表包括索引维度词和索引维度词对应的保单的存储地址。S13: Building an index dimension table based on at least one index dimension word, and creating a policy dimension term library; wherein the index dimension table includes a storage address of the policy corresponding to the index dimension word and the index dimension word.
其中,索引维度表是用于指示索引维度词和保单的存储地址之间对应关系的表,该索引维度表包括多个索引项,每个索引项由索引维度词和与该索引维度词相对应的保单的存储地址组成。可以理解地,在建立索引维度表时,根据索引维度词与其对应保单的存储地址创建索引项,通过所有的索引项形成完整的索引表。保单维度词库是指与保单维度相关的索引文件,该保单维度词库(索引文件)包括主文件和索引维度表,其中,主文件是指词库本身存储的数据(物理数据层存储的索引维度词和保单的存储地址),而索引维度表是描述该数据间对应关系的表,存储的是索引维度词和保单的存储地址之间的对应关系(索引维度表属于逻辑数据层,描述的是数据间的逻辑关系)。The index dimension table is a table for indicating a correspondence between an index dimension word and a storage address of the policy, the index dimension table includes a plurality of index items, and each index item is matched by the index dimension word and the index dimension word. The policy's storage address consists of. It can be understood that, when the index dimension table is established, an index entry is created according to the index dimension word and the storage address of the corresponding policy, and a complete index table is formed by all index entries. The policy dimension lexicon refers to an index file related to the policy dimension. The policy dimension vocabulary (index file) includes a main file and an index dimension table, wherein the main file refers to data stored by the vocabulary itself (the index of the physical data layer storage) The dimension word and the storage address of the policy), and the index dimension table is a table describing the correspondence between the data, and stores the correspondence between the index dimension word and the storage address of the policy (the index dimension table belongs to the logical data layer, the description Is the logical relationship between data).
例如,“北京市朝阳区9月份重疾险理赔陈%”中的“北京市朝阳区”、“9月份”、“重疾险”、“理赔”和“陈%”都是索引维度表中的索引,该索引具体以索引维度词表示。每一索引维度词都与其对应的保单的存储地址相关联,如“北京市朝阳区”与包括“北京市朝阳区”的所有保单的存储地址相关联,“重疾险”与包括“重疾险”的所有保单的存储地址相关联,若“北京市朝阳区”和“重疾险”这两个索引维度词同时出现,则取这两个索引维度词对应保单的存储地址的交集,即“北京市朝阳区”和“重疾险”这两个索引维度词对应的保单的存储地址为同时包括“北京市朝阳区”和“重疾险”这两个索引维度词的保单。可以理解地,当索引维度词代表的维度越多越具体,其对应的保单的存储地 址将会越少,通过索引维度词检索的结果将会更精准。For example, “Beijing Chaoyang District”, “September”, “Heavy Danger Insurance”, “Compensation” and “Chen%” in “Beijing Chaoyang District September Critical Diseases Claims” are in the index dimension table. Index, which is specifically represented by an index dimension word. Each index dimension word is associated with the storage address of its corresponding policy, such as "Beijing Chaoyang District" is associated with the storage address of all policies including "Beijing Chaoyang District", "heavy illness insurance" and including "heavy illness" The storage address of all the policies of the insurance is related. If the two index dimension words “Beijing Chaoyang District” and “Heavy Dangerous Insurance” appear at the same time, the intersection of the two index dimension words corresponding to the storage address of the policy is taken, ie The storage address of the policy corresponding to the two index dimension words “Beijing Chaoyang District” and “Heavy Dangerous Insurance” is a policy that includes two index dimension words “Beijing Chaoyang District” and “Heavy Danger Insurance”. It can be understood that when the index dimension word represents more and more specific dimensions, the corresponding storage address of the corresponding policy will be less, and the result of index index word retrieval will be more accurate.
本实施例中,保单维度词库可以通过Lucene建立。其中,Lucene是一个开放源代码的全文检索引擎工具包,提供了完整的查询引擎和索引引擎;Lucene是一套用于全文检索和搜寻的开源程式库,它提供了一个简单却强大的应用程式接口,能够做全文索引和搜索。采用Lucene建立索引维度词与对应的保单的存储地址之间的对应关系,形成索引维度表。索引维度表与在物理数据层存储索引维度词和保单的存储地址的主文件共同形成保单维度词库。该保单维度词库中的索引维度表可以理解为词库的目录,记载着维度索引词与保单的存储地址之间的对应关系,主文件可以理解为词库实际包含的物理数据,存储所有与保单相关的数据。In this embodiment, the policy dimension lexicon can be established by Lucene. Among them, Lucene is an open source full-text search engine toolkit that provides a complete query engine and indexing engine; Lucene is an open source library for full-text search and search, which provides a simple but powerful application interface. , able to do full-text indexing and searching. The index relationship dimension table is formed by using Lucene to establish a correspondence between the index dimension words and the storage addresses of the corresponding policies. The index dimension table forms a policy dimension vocabulary with the master file that stores the index dimension words and the storage address of the policy at the physical data layer. The index dimension table in the policy dimension lexicon can be understood as a directory of the lexicon, which records the correspondence between the dimension index words and the storage address of the policy. The master file can be understood as the physical data actually contained in the vocabulary, and stores all the Policy related data.
S20:采用预设的保单维度词库对保单查询信息进行匹配分析,获取至少一个保单维度。S20: Perform matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one policy dimension.
本实施例中,采用预先创建的保单维度词库对保单查询信息进行匹配分析。保单查询信息可以是用户在保单多维度分析系统输入的由任意字符组成的字符串信息。该保单查询信息包含至少一个索引维度词,将保单查询信息与保单维度词库进行匹配可以确定保单查询信息中的索引维度词,根据确定的索引维度词可以获取对应的至少一个保单维度。例如,保单查询信息为“北京市朝阳区9月份重疾险理赔陈%”则通过与保单维度进行匹配,可以确定索引维度词分别是“北京市朝阳区”、“9月份”、“重疾险”、“理赔”和“陈%”。其中,“北京市朝阳区”代表地区上的保单维度,“9月份”代表时间上的保单维度,“重疾险”代表保单类型上的保单维度,“理赔”代表保单事务上的保单维度,“陈%”代表保单所属用户上的保单维度。特别地,若保单查询信息中不包含索引维度词时,保单多维度分析系统将会显示“没有搜索结果,请重新输入!”的提示语。In this embodiment, the policy query information is pre-created to perform matching analysis on the policy query information. The policy query information may be string information composed of arbitrary characters input by the user in the policy multi-dimensional analysis system. The policy query information includes at least one index dimension word, and the policy query information is matched with the policy dimension lexicon to determine an index dimension word in the policy query information, and the corresponding at least one policy dimension can be obtained according to the determined index dimension word. For example, if the policy query information is “Beijing Chaoyang District September Heavy Danger Insurance Claims Percent”, by matching with the policy dimension, it can be determined that the index dimension words are “Beijing Chaoyang District”, “September”, and “Heavy Diseases”. Insurance, "claims" and "Chen%". Among them, “Beijing Chaoyang District” represents the policy dimension on the region, “September” represents the policy dimension on time, “Heavy Danger Insurance” represents the policy dimension on the policy type, and “Compensation” represents the policy dimension on the policy transaction. “Chen%” represents the policy dimension on the user to which the policy belongs. In particular, if the policy query information does not contain an index dimension word, the policy multi-dimensional analysis system will display the prompt “No search results, please re-enter!”.
本实施例中,通过将保单查询信息与保单维度词库进行匹配分析,达到了根据保单查询信息获取保单查询信息包含的保单维度的目的。In this embodiment, by matching the policy query information with the policy dimension lexicon, the purpose of obtaining the policy dimension included in the policy query information according to the policy query information is achieved.
在一具体实施方式中,步骤S20中,如图3所示,采用预设的保单维度词库对保单查询信息进行匹配分析,获取至少一个保单维度,具体包括如下步骤:In a specific implementation, in step S20, as shown in FIG. 3, a matching policy dimension vocabulary is used to perform matching analysis on the policy query information, and at least one policy dimension is obtained, which specifically includes the following steps:
S21:从左至右将保单查询信息与保单维度词库中的索引维度词进行匹配,将首次匹配成功的索引维度词设置为第一匹配词。S21: Matching the policy query information from the index dimension words in the policy dimension lexicon from left to right, and setting the index dimension word with the first matching success as the first matching word.
本实施例中,从左至右扫描保单查询信息,将保单查询信息与保单维度词库中的索引维度词进行匹配,并将首次匹配成功的索引维度词作为第一匹配词。具体地,当保单查询信息为“北京市朝阳区9月份重疾险理赔陈%”时,其中“北京”、“北京市”和“北京 市朝阳区”都是保单维度词库中地区维度上的索引维度词。对“北京市朝阳区9月份重疾险理赔陈%”这一保单查询信息进行扫描匹配,从左至右匹配保单查询信息和保单维度词库时,首次扫描的是“北”,“北”不是索引维度词,但是属于索引维度词如“北京”、“北京市”和“北京市朝阳区”的前缀,则需继续往右扫描。接着扫描到的是“京”,加上先前扫描得到的北,共同组成“北京”一词。由于“北京”是索引维度词,则在扫描到北京时即完成了首次匹配,并将“北京”设置为第一匹配词。需要说明的是,部分索引维度词如“北京”和“北京市”的实际含义相同,但在进行匹配的时候仍需区分开,按照匹配规则从左至右进行匹配。In this embodiment, the policy query information is scanned from left to right, the policy query information is matched with the index dimension word in the policy dimension lexicon, and the index dimension word with the first matching success is used as the first matching word. Specifically, when the policy inquiry information is “Beijing Chaoyang District September Critical Disease Claims Chen%”, “Beijing”, “Beijing” and “Beijing Chaoyang District” are all in the regional dimension of the policy dimension lexicon. Index dimension word. Scanning and matching the policy query information of “Beijing Chaoyang District September Critical Disease Claims Chen%”, matching the policy query information and the policy dimension lexicon from left to right, the first scan is “North” and “North” It is not an index dimension word, but it is a prefix of index dimension words such as “Beijing”, “Beijing” and “Beijing Chaoyang District”, so you need to continue to scan right. Then I scanned the "Beijing" and added the North from the previous scan to form the word "Beijing." Since "Beijing" is an index dimension word, the first match is completed when scanning to Beijing, and "Beijing" is set as the first match word. It should be noted that some index dimension words such as "Beijing" and "Beijing" have the same meaning, but they still need to be distinguished when matching, and match from left to right according to the matching rule.
S22:判断保单维度词库中是否存在包含将第一匹配词作为前缀的索引维度词。S22: Determine whether there is an index dimension word in the policy dimension lexicon that includes the first matching word as a prefix.
本实施例中,如第一匹配词是“北京”,由于保单维度词库中可能存在包含第一匹配词“北京”作为前缀的索引维度词,则不能确定第一匹配词“北京”是不是最终代表地区维度上的索引维度词,则需要先判断保单维度词库中是否存在包含将第一匹配词作为前缀的索引维度词,以确定是否还有将该匹配词作为前缀的,更长的、范围更小的索引维度词。In this embodiment, if the first matching word is “Beijing”, since the index dimension word containing the first matching word “Beijing” may be present in the policy dimension lexicon, it is not determined whether the first matching word “Beijing” is Finally, the index dimension word on the regional dimension needs to determine whether there is an index dimension word containing the first matching word as a prefix in the policy dimension lexicon to determine whether the matching word is also prefixed, and longer. , a smaller range of index dimension words.
S23:若保单维度词库中存在包含将第一匹配词作为前缀的索引维度词,则继续从左至右将保单查询信息与保单维度词库中的索引维度词进行匹配,若匹配成功,则将包含将第一匹配词作为前缀的索引维度词更新为第一匹配词,重复执行判断保单维度词库中是否存在包含第一匹配词的索引维度词的步骤。S23: If there is an index dimension word containing the first matching word as a prefix in the policy dimension lexicon, continue to match the policy query information from the left and right to the index dimension word in the policy dimension lexicon, if the matching is successful, Updating the index dimension word including the first matching word as a prefix to the first matching word, and repeatedly performing the step of determining whether the index dimension word containing the first matching word exists in the policy dimension lexicon.
本实施例中,如第一匹配词是“北京”,由于“北京”是“北京市”、“北京朝阳区”和“北京市朝阳区”等保单维度词库中部分索引维度词的前缀,则继续从左至右将保单查询信息与保单维度词库中的索引维度词进行匹配。若保单查询信息为“北京市朝阳区9月份重疾险理赔陈%”,则下一个匹配成功的索引维度词是“北京市”。此时,获取的新的索引维度词是“北京市”,由于“北京市”可能是保单维度词库中部分索引词的前缀,所以更新“北京市”为第一匹配词,并重复步骤S22的判断过程。若步骤S22的判断为是,则继续本步骤,此时将在原本“北京市”的基础上匹配到“北京市朝”。将“北京市朝”更新为第一匹配词并重复步骤S22的判断保单维度词库中是否存在包含将第一匹配词作为前缀的索引维度词的步骤。依次类推,通过步骤S22的多次判断步骤,在判断结果为是并重复执行本步骤的过程中,匹配分析将会匹配到“北京市朝阳”和“北京市朝阳区”。直至步骤S22的判断为否,即“北京市朝阳区”不是保单维度词库中任何一个索引维度词的前缀(这里假设区为最小单位)时,不执行本步骤,改为执行步骤S22中判断为否时的下一步骤(即步骤S24)。In this embodiment, if the first matching word is “Beijing”, since “Beijing” is a prefix of a partial index dimension word in a policy dimension lexicon such as “Beijing”, “Beijing Chaoyang District” and “Beijing Chaoyang District”, Then continue to match the policy query information from the left and right to the index dimension words in the policy dimension lexicon. If the policy inquiry information is “Beijing Chaoyang District September Heavy Diseases Claims Chen%”, the next matching index dimension word is “Beijing”. At this time, the obtained new index dimension word is “Beijing Municipality”. Since “Beijing Municipality” may be the prefix of partial index words in the policy dimension lexicon, update “Beijing Municipality” as the first matching word, and repeat step S22. Judgment process. If the answer of the step S22 is YES, the process continues, and at this time, the "Beijing City" will be matched on the basis of the original "Beijing City". The "Beijing Chao" is updated to the first matching word and the step of determining the index dimension word containing the first matching word as a prefix in the policy dimension lexicon is repeated in step S22. By analogy, in the multiple determination step of step S22, in the process of the determination result being YES and repeating this step, the matching analysis will be matched to "Beijing Chaoyang" and "Beijing Chaoyang District". Until the judgment of step S22 is NO, that is, "Beijing Chaoyang District" is not the prefix of any index dimension word in the policy dimension lexicon (here, the area is assumed to be the minimum unit), this step is not executed, and the judgment in step S22 is performed instead. The next step when it is no (ie, step S24).
S24:若保单维度词库中不存在包含将第一匹配词作为前缀的索引维度词,则将第一匹配词作为一已匹配的保单维度。S24: If there is no index dimension word including the first matching word as a prefix in the policy dimension lexicon, the first matching word is regarded as a matched policy dimension.
本实施例中,若保单维度词库中不存在包含将第一匹配词作为前缀的索引维度词时,如第一匹配词更新到“北京市朝阳区”,在保单维度词库中找不到将“北京市朝阳区”作为前缀的索引维度词的时候,则可以认为该第一匹配词是范围最小的索引维度词,此时将该第一匹配词作为一个匹配的保单维度,即将“北京市朝阳区”作为一个已匹配完成的保单维度。In this embodiment, if there is no index dimension word including the first matching word as a prefix in the policy dimension lexicon, if the first matching word is updated to “Beijing Chaoyang District”, the policy cannot be found in the policy dimension lexicon. When "Beijing Chaoyang District" is used as the prefix index dimension word, the first matching word can be considered as the smallest index dimension word. At this time, the first matching word is used as a matching policy dimension, that is, "Beijing City Chaoyang District as a policy dimension that has been matched.
S25:去除保单查询信息中已匹配的保单维度,更新保单查询信息,重复执行从左至右将保单查询信息与保单维度词库中的索引维度词进行匹配,将首次匹配成功的索引维度词设置为第一匹配词,判断保单维度词库中是否存在包含第一匹配词的索引维度词的步骤;直至匹配完保单查询信息中的所有保单维度,获取至少一个保单维度。S25: Excluding the matched policy dimension in the policy query information, updating the policy query information, and repeatedly performing the left-to-right matching of the policy query information with the index dimension words in the policy dimension lexicon, and setting the index dimension words successfully matched for the first time. As a first matching word, determining whether there is an index dimension word containing the first matching word in the policy dimension lexicon; and obtaining at least one policy dimension until all policy dimensions in the policy query information are matched.
其中,步骤S25中的“直至匹配完保单查询信息中的所有保单维度,获取至少一个保单维度”是指在每次更新保单查询信息之后,需判断更新后的保单查询信息是否为空,若保单查询信息不为空(即还有内容),则执行S21,若保单查询信息为空(即去除保单查询信息中已匹配的保单维度后,已没有内容),则结束匹配流程。The “acquiring at least one policy dimension until all the policy dimensions in the policy-completed query information” in step S25 means that after each policy query information is updated, it is determined whether the updated policy query information is empty, if the policy is If the query information is not empty (that is, there is content), then S21 is executed. If the policy query information is empty (that is, after the policy dimension has been matched in the policy query information, there is no content), the matching process is ended.
本实施例中,如保单查询信息为“北京市朝阳区9月份重疾险理赔陈%”。则在经过匹配获取第一个保单维度“北京市朝阳区”之后,去除该保单维度,更新保单查询信息。更新后的保单查询信息为“9月份重疾险理赔陈%”,重复步骤S21、步骤S22(步骤S22为判断步骤,若判断结果为是则执行步骤S23,若判断结果为否则执行步骤S24)和本步骤,对每次更新后的保单查询信息和保单维度词典进行匹配,获取更新后的保单查询信息中的保单维度。经过有限次的保单查询信息更新和重复的匹配,在匹配完所有的保单维度后,完成对保单查询信息的匹配分析过程。可以理解地,即最终从原始的保单查询信息为“北京市朝阳区9月份重疾险理赔陈%”中获取的保单维度分别有“北京市朝阳区”、“9月份”、“重疾险”、“理赔”和“陈%”。In this embodiment, if the policy inquiry information is “Beijing Chaoyang District September heavy illness insurance claims Chen%”. After matching the first policy dimension "Beijing Chaoyang District", the policy dimension is removed and the policy query information is updated. The updated policy inquiry information is “September Critical Care Claims %”, and steps S21 and S22 are repeated (Step S22 is a determination step, if the determination result is Yes, Step S23 is performed, and if the determination result is otherwise, Step S24 is performed) And in this step, the policy query information and the policy dimension dictionary are matched each time, and the policy dimension in the updated policy query information is obtained. After a limited number of policy query information updates and duplicate matches, after matching all the policy dimensions, the matching analysis process of the policy query information is completed. Understandably, the policy dimensions obtained from the original policy query information for “Beijing Chaoyang District September Critical Disease Claims Chen%” are “Beijing Chaoyang District”, “September” and “Heavy Danger Insurance”. ", "claims" and "Chen%".
S30:根据至少一个保单维度,获取至少一个目标保单。S30: Obtain at least one target policy according to at least one policy dimension.
其中,目标保单是指用于进行多维度分析的保单。本实施例中,根据在保单查询信息中获取的至少一个保单维度,利用至少一个保单维度与目标保单之间的对应关系,获取与保单维度相对应的目标保单,达到通过保单维度获取目标保单的目的。Among them, the target policy refers to the policy used for multi-dimensional analysis. In this embodiment, according to the at least one policy dimension acquired in the policy query information, the target policy corresponding to the policy dimension is obtained by using the correspondence between the at least one policy dimension and the target policy, and the target policy is obtained through the policy dimension. purpose.
在一具体实施方式中,步骤S30中,如图4所示,根据至少一个保单维度,获取至少一个目标保单,具体包括如下步骤:In a specific implementation, in step S30, as shown in FIG. 4, at least one target policy is obtained according to at least one policy dimension, which specifically includes the following steps:
S31:根据至少一个保单维度查询索引维度表,确定与至少一个保单维度相对应的至少一个保单的存储地址。S31: Query an index dimension table according to at least one policy dimension to determine a storage address of at least one policy corresponding to at least one policy dimension.
本实施例中,根据至少一个保单维度查询索引维度表,例如,获取的保单维度(由索引维度词表示)有“北京市朝阳区”、“9月份”、“重疾险”、“理赔”和“陈%”时,查询索引维度表,根据索引维度表中存储的保单维度和保单的存储地址的逻辑关系,确定保单维度相对应的保单的存储地址。具体地,根据保单维度“北京市朝阳区”、“9月份”、“重疾险”、“理赔”和“陈%”,在索引维度表中最终获取的是9月份北京市朝阳区在重疾险保单类型上所有姓陈用户有关理赔事务方面保单的存储地址。可以理解地,在根据至少一个保单维度查询索引维度表时,可获取与所有保单维度相匹配的保单的存储地址,该保单的保单数据与所有保单维度相匹配。In this embodiment, the index dimension table is queried according to at least one policy dimension. For example, the obtained policy dimension (represented by the index dimension word) has “Beijing Chaoyang District”, “September”, “Heavy Danger Insurance”, and “claims”. And "Chen%", query the index dimension table, according to the logical relationship between the policy dimension stored in the index dimension table and the storage address of the policy, determine the storage address of the policy corresponding to the policy dimension. Specifically, according to the policy dimensions “Beijing Chaoyang District”, “September”, “Heavy Danger Insurance”, “Compensation” and “Chen%”, the final index in the index dimension table is that the Beijing Chaoyang District is heavy in September. The storage address of the policy for all claimants in the Dangerous Policy type. It can be understood that when the index dimension table is queried according to at least one policy dimension, the storage address of the policy matching all the policy dimensions can be obtained, and the policy data of the policy matches all the policy dimensions.
S32:根据至少一个保单的存储地址,获取至少一个目标保单。S32: Obtain at least one target policy according to the storage address of the at least one policy.
本实施例中,根据索引维度表(逻辑数据层)中存储的与保单维度逻辑对应的保单的存储地址,在索引文件的主文件(物理数据层)中获取存储的目标保单。In this embodiment, the stored target policy is obtained in the main file (physical data layer) of the index file according to the storage address of the policy corresponding to the policy dimension logic stored in the index dimension table (logical data layer).
S40:根据至少一个目标保单进行多维度分析,获取多维度分析结果。S40: Perform multi-dimensional analysis according to at least one target policy to obtain multi-dimensional analysis results.
对保单进行的多维度分析可以有多种多样,根据获取的目标保单,能够对目标保单包含的多个保单维度上的信息进行针对性的分析以获取相对应的多维度分析结果,该多维度分析结果有利于更加直观地获知保单的情况和操作轨迹,提高分析保单的效率。其中,多维度分析包括但不限于多维度查询分析、多维度对比分析和多维度统计分析。The multi-dimensional analysis of the policy can be various. According to the acquired target policy, the information on the plurality of policy dimensions included in the target policy can be analyzed in a targeted manner to obtain the corresponding multi-dimensional analysis result, the multi-dimensional The analysis results are more intuitive to understand the situation and operation trajectory of the policy, and improve the efficiency of analyzing the policy. Among them, multi-dimensional analysis includes but is not limited to multi-dimensional query analysis, multi-dimensional comparative analysis and multi-dimensional statistical analysis.
本实施例中,若进行多维度查询分析,则根据获取的目标保单,在保单多维度分析系统的显示界面上对目标保单进行多个维度的查询。例如,查询重疾险的理赔情况时,可以对获取的至少一个目标保单突出显示重疾险关于理赔事务方面的情况,以实现对多个任意维度上的查询功能。In this embodiment, if the multi-dimensional query analysis is performed, the target policy is queried in multiple dimensions on the display interface of the policy multi-dimensional analysis system according to the acquired target policy. For example, when querying the claim situation of the critical illness insurance, the at least one target policy can be highlighted to highlight the situation of the critical illness insurance regarding the claims transaction, so as to implement the query function on multiple arbitrary dimensions.
若进行多维度对比分析,可以根据获取的目标保单进行保单自身或保单之间各个维度(包括但不限于保单查询信息中的保单维度)的对比。目标保单中包含的各个维度信息(如保单的出单时间、续保情况、缴费情况或契撤原因等)都能够进行对比,可以通过保单多维度分析系统获取各个维度上的信息并针对用户感兴趣的维度进行对比,对比结果可以通过文字、表格或图像等多种方式展现,实现保单的多维度对比功能。If a multi-dimensional comparative analysis is performed, a comparison of the dimensions of the policy itself or the policy (including but not limited to the policy dimension in the policy query information) may be performed according to the acquired target policy. Each dimension information (such as policy billing time, renewal status, payment status, or deduction reason) included in the target policy can be compared. The information in each dimension can be obtained through the policy multi-dimensional analysis system and sensed by the user. The dimensions of interest are compared, and the comparison results can be presented in a variety of ways, such as text, table or image, to achieve multi-dimensional comparison of the policy.
若进行保单的多维度统计分析,可以选取所需的至少两个目标保单,根据实际需求对保单的任意多个保单维度进行统计分析。例如可以统计所有重疾险保单的理赔金额、统计所有重疾险保单的续保数量或统计所有重疾险保单的契撤原因等,并将多维度统计结果在 保单多维度分析系统上通过文字、表格和图像等多种方式展现,实现保单的多维度统计功能。If you perform multi-dimensional statistical analysis of the policy, you can select at least two target policies required, and perform statistical analysis on any number of policy dimensions of the policy according to actual needs. For example, you can count the amount of claims for all critical illness insurance policies, count the number of renewals for all critical illness insurance policies, or calculate the reasons for the deduction of all critical illness insurance policies, and pass the multi-dimensional statistical results on the policy multi-dimensional analysis system. , multiple forms such as tables and images, to achieve multi-dimensional statistical functions of the policy.
本实施例所提供的保单多维度分析实现方法中,首先获取保单查询信息,然后采用预设的保单维度词库对保单查询信息进行匹配分析,获取至少一个保单维度,通过对保单查询信息进行匹配分析,可以准确有效地从保单查询信息中获取保单维度词库中对应的至少一个保单维度,达到提取保单查询信息中保单维度的目的。接着根据至少一个保单维度,获取至少一个目标保单,通过索引维度表存储的索引维度词和相对应的保单的存储地址之间的逻辑关系,可以有效快速地根据索引维度词对应的保单维度获取相对应的目标保单。最后根据至少一个目标保单进行多维度分析,获取多维度分析结果,基于目标保单根据需要进行多维度分析,能够满足从多个保单维度对目标保单进行多维度查询分析、多维度对比分析或多维度统计分析等多维度分析功能,达到对目标保单进行全面和多样化分析的目的,快速有效地获取基于多个维度的目标保单分析结果。In the method for implementing multi-dimensional analysis of the policy provided by the embodiment, the policy query information is first obtained, and then the policy query information is matched and analyzed by using a preset policy dimension vocabulary to obtain at least one policy dimension, and the policy query information is matched. The analysis can accurately and effectively obtain at least one policy dimension in the policy dimension vocabulary from the policy query information, and achieve the purpose of extracting the policy dimension in the policy query information. Then, according to at least one policy dimension, at least one target policy is obtained, and the logical relationship between the index dimension words stored in the index dimension table and the storage address of the corresponding policy can be quickly and efficiently obtained according to the policy dimension corresponding to the index dimension word. The corresponding target policy. Finally, multi-dimensional analysis is performed according to at least one target policy to obtain multi-dimensional analysis results, and multi-dimensional analysis is performed according to the target policy according to the requirements, which can satisfy multi-dimensional query analysis, multi-dimensional comparative analysis or multi-dimensionality of target policies from multiple policy dimensions. The multi-dimensional analysis function, such as statistical analysis, achieves the purpose of comprehensive and diversified analysis of the target policy, and quickly and efficiently obtains the target policy analysis results based on multiple dimensions.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not mean that the order of execution is performed. The order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present application.
实施例2Example 2
图5示出与实施例1中保单多维度分析实现方法一一对应的保单多维度分析实现装置的原理框图。如图5所示,该保单多维度分析实现装置包括保单查询信息获取模块10、保单维度获取单元模块20、目标保单获取模块30、和多维度分析结果获取模块40。其中,保单查询信息获取模块10、保单维度获取单元模块20、目标保单获取模块30、和多维度分析结果获取模块40的实现功能与实施例1中保单多维度分析实现方法对应的步骤一一对应,为避免赘述,本实施例不一一详述。FIG. 5 is a schematic block diagram showing a policy multi-dimensional analysis implementation apparatus corresponding to the policy multi-dimensional analysis implementation method in Embodiment 1. As shown in FIG. 5, the policy multi-dimensional analysis implementation apparatus includes a policy query information acquisition module 10, a policy dimension acquisition unit module 20, a target policy acquisition module 30, and a multi-dimensional analysis result acquisition module 40. The implementation functions of the policy query information acquisition module 10, the policy dimension acquisition unit module 20, the target policy acquisition module 30, and the multi-dimensional analysis result acquisition module 40 correspond to the steps corresponding to the policy multi-dimensional analysis implementation method in the first embodiment. In order to avoid redundancy, the present embodiment will not be described in detail.
保单查询信息获取模块10,用于获取保单查询信息。The policy query information obtaining module 10 is configured to obtain policy query information.
保单维度获取模块20,用于采用预设的保单维度词库对保单查询信息进行匹配分析,获取至少一个保单维度。The policy dimension obtaining module 20 is configured to perform matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one policy dimension.
目标保单获取模块30,用于根据至少一个保单维度,获取至少一个目标保单。The target policy acquisition module 30 is configured to acquire at least one target policy according to at least one policy dimension.
多维度分析结果获取模块40,用于根据至少一个目标保单进行多维度分析,获取多维度分析结果。The multi-dimensional analysis result obtaining module 40 is configured to perform multi-dimensional analysis according to at least one target policy to obtain multi-dimensional analysis results.
优选地,保单多维度分析实现装置还包括保单维度词库创建模块50,用于创建保单维度词库。Preferably, the policy multi-dimensional analysis implementation apparatus further includes a policy dimension vocabulary creation module 50 for creating a policy dimension vocabulary.
保单维度词库创建模块50包括保单数据获取单元51、索引维度词获取单元52和保单 维度词库创建单元53。The policy dimension vocabulary creation module 50 includes a policy data acquisition unit 51, an index dimension word acquisition unit 52, and a policy dimension vocabulary creation unit 53.
保单数据获取单元51,用于从存储保单的数据库中获取所有保单的保单数据。The policy data obtaining unit 51 is configured to obtain policy data of all policies from a database storing the policy.
索引维度词获取单元52,用于对所有保单的保单数据进行分词处理,获取至少一个索引维度词,每一索引维度词对应一保单维度。The index dimension word obtaining unit 52 is configured to perform word segmentation processing on the policy data of all the policies to obtain at least one index dimension word, and each index dimension word corresponds to a policy dimension.
保单维度词库创建单元53,用于基于至少一个索引维度词构建索引维度表,创建保单维度词库;其中,索引维度表与索引维度词和索引维度词对应的保单的存储地址相关联。The policy dimension vocabulary creating unit 53 is configured to create an index dimension vocabulary based on the at least one index dimension word, wherein the index dimension table is associated with the storage address of the policy corresponding to the index dimension word and the index dimension word.
优选地,保单维度获取模块20包括第一匹配词获取单元21、索引维度词判断单元22、第一匹配词更新获取单元23、第一匹配词确定单元24和保单维度获取单元25。Preferably, the policy dimension acquisition module 20 includes a first matching word acquisition unit 21, an index dimension word determination unit 22, a first matching word update acquisition unit 23, a first matching word determination unit 24, and a policy dimension acquisition unit 25.
第一匹配词获取单元21,用于从左至右将保单查询信息与保单维度词库中的索引维度词进行匹配,将首次匹配成功的索引维度词设置为第一匹配词。The first matching word obtaining unit 21 is configured to match the policy query information from the left and right to the index dimension word in the policy dimension vocabulary, and set the index dimension word with the first matching success as the first matching word.
索引维度词判断单元22,用于判断保单维度词库中是否存在包含将第一匹配词作为前缀的索引维度词。The index dimension word determining unit 22 is configured to determine whether there is an index dimension word including the first matching word as a prefix in the policy dimension lexicon.
第一匹配词更新获取单元23,用于在保单维度词库中存在包含将第一匹配词作为前缀的索引维度词时,继续从左至右将保单查询信息与保单维度词库中的索引维度词进行匹配,若匹配成功,则将包含将第一匹配词作为前缀的索引维度词更新为第一匹配词,重复执行判断保单维度词库中是否存在包含第一匹配词的索引维度词的步骤。The first matching word update obtaining unit 23 is configured to continue the index query information in the policy dimension lexicon from left to right when there is an index dimension word including the first matching word as a prefix in the policy dimension vocabulary The word is matched. If the matching is successful, the index dimension word including the first matching word as a prefix is updated to the first matching word, and the step of determining whether the index dimension word containing the first matching word exists in the policy dimension lexicon is repeatedly executed. .
第一匹配词确定单元24,用于若保单维度词库中不存在包含将第一匹配词作为前缀的索引维度词,则将第一匹配词作为一已匹配的保单维度。The first matching word determining unit 24 is configured to: if the index dimension word containing the first matching word as a prefix does not exist in the policy dimension lexicon, use the first matching word as a matched policy dimension.
保单维度获取单元25,用于去除保单查询信息中已匹配的保单维度,更新保单查询信息,重复从左至右将保单查询信息与保单维度词库中的索引维度词进行匹配,将首次匹配成功的索引维度词设置为第一匹配词,判断保单维度词库中是否存在包含第一匹配词的索引维度词的步骤;直至匹配完保单查询信息中的所有保单维度,获取至少一个保单维度。The policy dimension obtaining unit 25 is configured to remove the matched policy dimension in the policy query information, update the policy query information, and repeat the policy query information from the left to the right to match the index dimension word in the policy dimension vocabulary, and the first matching is successful. The index dimension word is set as the first matching word, and the step of determining the index dimension word containing the first matching word in the policy dimension lexicon is obtained; until at least one policy dimension is obtained by matching all the policy dimensions in the policy query information.
优选地,目标保单获取模块30包括存储地址确定单元31和目标保单获取单元32。Preferably, the target policy acquisition module 30 includes a storage address determination unit 31 and a target policy acquisition unit 32.
存储地址确定单元31,用于根据至少一个保单维度查询索引维度表,确定与至少一个保单维度相对应的至少一个保单的存储地址。The storage address determining unit 31 is configured to query the index dimension table according to the at least one policy dimension to determine a storage address of the at least one policy corresponding to the at least one policy dimension.
目标保单获取单元32,用于根据至少一个保单的存储地址,获取至少一个目标保单。The target policy obtaining unit 32 is configured to acquire at least one target policy according to the storage address of the at least one policy.
优选地,多维度分析包括多维度查询分析、多维度对比分析和多维度统计分析。Preferably, the multi-dimensional analysis includes multi-dimensional query analysis, multi-dimensional comparative analysis, and multi-dimensional statistical analysis.
本实施例所提供的保单多维度分析实现装置中,保单查询信息获取模块10和保单维度获取模块20,分别用于获取保单查询信息和用于采用预设的保单维度词库对保单查询信息进行匹配分析,获取至少一个保单维度,通过对保单查询信息进行匹配分析,可以准确 有效地从保单查询信息中获取保单维度词库中对应的至少一个保单维度,达到提取保单查询信息中保单维度的目的。目标保单获取模块30,用于根据至少一个保单维度,获取至少一个目标保单,通过索引维度表存储的索引维度词和相对应的保单的存储地址之间的逻辑关系,可以有效快速地根据索引维度词对应的保单维度获取相对应的目标保单。多维度分析结果获取模块40,用于根据至少一个目标保单进行多维度分析,获取多维度分析结果,基于目标保单根据需要进行多维度分析,能够满足从多个保单维度对目标保单进行多维度查询分析、多维度对比分析或多维度统计分析等多维度分析功能,达到对目标保单进行全面和多样化分析的目的,快速有效地获取基于多个维度的目标保单分析结果。In the policy multi-dimensional analysis implementation device provided by the embodiment, the policy query information obtaining module 10 and the policy dimension obtaining module 20 are respectively configured to obtain policy query information and use the preset policy dimension vocabulary to perform policy query information. Matching analysis, obtaining at least one policy dimension, and matching and analyzing the policy query information, can accurately and effectively obtain at least one policy dimension in the policy dimension vocabulary from the policy query information, and achieve the purpose of extracting the policy dimension in the policy query information. . The target policy obtaining module 30 is configured to acquire at least one target policy according to at least one policy dimension, and the logical relationship between the index dimension word stored by the index dimension table and the storage address of the corresponding policy can be effectively and quickly according to the index dimension. The policy dimension corresponding to the word gets the corresponding target policy. The multi-dimensional analysis result obtaining module 40 is configured to perform multi-dimensional analysis according to at least one target policy, obtain multi-dimensional analysis results, perform multi-dimensional analysis according to the target policy according to requirements, and satisfy multi-dimensional query of the target policy from multiple policy dimensions. Multi-dimensional analysis functions such as analysis, multi-dimensional comparative analysis or multi-dimensional statistical analysis achieve the purpose of comprehensive and diversified analysis of target policies, and quickly and efficiently obtain target policy analysis results based on multiple dimensions.
实施例3Example 3
本实施例提供一个或多个存储有计算机可读指令的非易失性可读存储介质。该一个或多个存储有计算机可读指令的非易失性可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行实施例1中保单多维度分析实现方法,为避免重复,这里不再赘述。或者,该计算机可读指令被处理器执行时实现实施例2中保单多维度分析实现装置中各模块/单元的功能,为避免重复,这里不再赘述。This embodiment provides one or more non-volatile readable storage media having computer readable instructions stored thereon. The one or more non-volatile readable storage mediums storing computer readable instructions, when executed by one or more processors, causing one or more processors to perform the policy multi-dimensionality of embodiment 1. Analyze the implementation method, in order to avoid duplication, we will not repeat them here. Alternatively, when the computer readable instructions are executed by the processor, the functions of the modules/units in the policy multi-dimensional analysis implementation device in Embodiment 2 are implemented. To avoid repetition, details are not described herein again.
可以理解地,一个或多个存储有计算机可读指令的非易失性可读存储介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号等。It will be understood that one or more non-volatile readable storage media storing computer readable instructions may comprise: any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a mobile hard drive, Disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and the like.
实施例4Example 4
图6是本实施例中终端设备的示意图。如图6所示,终端设备60包括处理器61、存储器62以及存储在存储器62中并可在处理器61上运行的计算机可读指令63。处理器61执行计算机可读指令63时实现实施例1中保单多维度分析实现方法的各个步骤,例如图1所示的步骤S10、S20、S30和S40。或者,处理器61执行计算机可读指令63时实现实施例2中保单多维度分析实现装置各模块/单元的功能,如图5所示保单查询信息获取模块10、保单维度获取单元模块20、目标保单获取模块30和多维度分析结果获取模块40的功能。Figure 6 is a schematic diagram of a terminal device in this embodiment. As shown in FIG. 6, terminal device 60 includes a processor 61, a memory 62, and computer readable instructions 63 stored in memory 62 and operative on processor 61. The processor 61 implements various steps of the policy multi-dimensional analysis implementation method in Embodiment 1 when the computer readable instructions 63 are executed, such as steps S10, S20, S30, and S40 shown in FIG. Alternatively, when the processor 61 executes the computer readable instructions 63, the functions of each module/unit of the policy multi-dimensional analysis implementation device in Embodiment 2 are implemented, as shown in FIG. 5, the policy query information acquisition module 10, the policy dimension acquisition unit module 20, and the target. The functions of the policy acquisition module 30 and the multi-dimensional analysis result acquisition module 40.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed. The module is completed by dividing the internal structure of the device into different functional units or modules to perform all or part of the functions described above.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing embodiments. The technical solutions described in the examples are modified or equivalently replaced with some of the technical features; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种保单多维度分析实现方法,其特征在于,包括:A policy multi-dimensional analysis implementation method, characterized in that:
    获取保单查询信息;Obtain policy inquiry information;
    采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度;Performing matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policy dimensions;
    根据至少一个所述保单维度,获取至少一个目标保单;Obtaining at least one target policy according to at least one of the policy dimensions;
    根据至少一个所述目标保单进行多维度分析,获取多维度分析结果。Performing multi-dimensional analysis according to at least one of the target policies to obtain multi-dimensional analysis results.
  2. 如权利要求1所述的保单多维度分析实现方法,其特征在于,在所述获取保单查询信息的步骤之前,所述保单多维度分析实现方法还包括:创建所述保单维度词库;The policy multi-dimensional analysis implementation method according to claim 1, wherein the policy multi-dimensional analysis implementation method further comprises: creating the policy dimension vocabulary before the step of acquiring the policy query information;
    所述创建所述保单维度词库,包括:The creating the policy dimension vocabulary includes:
    从存储保单的数据库中获取所有保单的保单数据;Obtain policy data for all policies from the database in which the policy is stored;
    对所有保单的保单数据进行分词处理,获取至少一个索引维度词,每一所述索引维度词对应一所述保单维度;Performing word segmentation on the policy data of all policies to obtain at least one index dimension word, each of the index dimension words corresponding to one of the policy dimensions;
    基于至少一个所述索引维度词构建索引维度表,创建所述保单维度词库;其中,所述索引维度表与所述索引维度词和所述索引维度词对应的保单的存储地址相关联。The policy dimension vocabulary is created based on at least one of the index dimension words, wherein the index dimension table is associated with a storage address of a policy corresponding to the index dimension word and the index dimension word.
  3. 如权利要求2所述的保单多维度分析实现方法,其特征在于,所述采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度,包括:The method for implementing policy multi-dimensional analysis according to claim 2, wherein the matching the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policy dimensions comprises:
    从左至右将所述保单查询信息与所述保单维度词库中的索引维度词进行匹配,将首次匹配成功的所述索引维度词设置为第一匹配词;Matching the policy query information from the index dimension words in the policy dimension vocabulary from left to right, and setting the index dimension words that are successfully matched for the first time as the first matching words;
    判断所述保单维度词库中是否存在包含将所述第一匹配词作为前缀的索引维度词;Determining whether there is an index dimension word in the policy dimension lexicon that includes the first matching word as a prefix;
    若所述保单维度词库中存在包含将所述第一匹配词作为前缀的索引维度词,则继续从左至右将所述保单查询信息与所述保单维度词库中的所述索引维度词进行匹配,若匹配成功,则将包含将所述第一匹配词作为前缀的索引维度词更新为所述第一匹配词,重复执行所述判断所述保单维度词库中是否存在包含所述第一匹配词的索引维度词的步骤;If there is an index dimension word including the first matching word as a prefix in the policy dimension lexicon, proceeding from left to right, the policy query information and the index dimension word in the policy dimension vocabulary Performing matching, if the matching is successful, updating the index dimension word including the first matching word as a prefix to the first matching word, and repeatedly performing the determining whether the policy dimension dictionary includes the first a step of matching the indexed dimension words of the word;
    若所述保单维度词库中不存在包含将所述第一匹配词作为前缀的索引维度词,则将所述第一匹配词作为一已匹配的保单维度;If the index dimension word containing the first matching word is prefixed in the policy dimension lexicon, the first matching word is regarded as a matched policy dimension;
    去除所述保单查询信息中已匹配的所述保单维度,更新所述保单查询信息,重复执行所述从左至右将所述保单查询信息与所述保单维度词库中的索引维度词进行匹配,将首次匹配成功的所述索引维度词设置为第一匹配词,判断所述保单维度词库中是否存在包含所 述第一匹配词的索引维度词的步骤;直至匹配完所述保单查询信息中的所有所述保单维度,获取至少一个所述保单维度。Removing the policy dimension that has been matched in the policy query information, updating the policy query information, and repeatedly performing the left-to-right matching of the policy query information with the index dimension words in the policy dimension vocabulary Setting the index dimension word that is successfully matched for the first time as the first matching word, and determining whether there is an index dimension word including the first matching word in the policy dimension lexicon; until the policy query information is matched At least one of the policy dimensions is obtained for all of the policy dimensions in the middle.
  4. 如权利要求2所述的保单多维度分析实现方法,其特征在于,所述根据至少一个所述保单维度,获取至少一个目标保单,包括:The method for implementing policy multi-dimensional analysis according to claim 2, wherein the obtaining the at least one target policy according to the at least one policy dimension comprises:
    根据至少一个所述保单维度查询所述索引维度表,确定与至少一个所述保单维度相对应的至少一个保单的存储地址;Querying the index dimension table according to at least one of the policy dimensions, determining a storage address of at least one policy corresponding to at least one of the policy dimensions;
    根据至少一个所述保单的存储地址,获取至少一个目标保单。Obtaining at least one target policy based on the storage address of at least one of the policies.
  5. 如权利要求1所述的保单多维度分析实现方法,其特征在于,所述多维度分析包括多维度查询分析、多维度对比分析和多维度统计分析。The policy multi-dimensional analysis implementation method according to claim 1, wherein the multi-dimensional analysis comprises multi-dimensional query analysis, multi-dimensional comparative analysis, and multi-dimensional statistical analysis.
  6. 一种保单多维度分析实现装置,其特征在于,包括:A policy multi-dimensional analysis implementation device, comprising:
    保单查询信息获取模块,用于获取保单查询信息;a policy query information obtaining module, configured to obtain policy query information;
    保单维度获取模块,用于采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度;a policy dimension obtaining module, configured to perform matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one policy dimension;
    目标保单获取模块,用于根据至少一个所述保单维度,获取至少一个目标保单;a target policy acquisition module, configured to acquire at least one target policy according to at least one of the policy dimensions;
    多维度分析结果获取模块,用于根据至少一个所述目标保单进行多维度分析,获取多维度分析结果。The multi-dimensional analysis result obtaining module is configured to perform multi-dimensional analysis according to at least one of the target policies to obtain multi-dimensional analysis results.
  7. 如权利要求6所述的保单多维度分析实现装置,其特征在于,所述保单多维度分析实现装置还包括保单维度词库创建模块,用于创建所述保单维度词库,所述保单维度词库创建模块包括:The policy multi-dimensional analysis implementation apparatus according to claim 6, wherein the policy multi-dimensional analysis implementation apparatus further comprises a policy dimension vocabulary creation module, configured to create the policy dimension vocabulary, the policy dimension word The library creation module includes:
    保单数据获取单元,用于从存储保单的数据库中获取所有保单的保单数据;a policy data obtaining unit for obtaining policy data of all policies from a database storing the policy;
    索引维度词获取单元,用于对所有保单的保单数据进行分词处理,获取至少一个索引维度词,每一所述索引维度词对应一所述保单维度;An index dimension word obtaining unit, configured to perform word segmentation processing on policy data of all policies, to obtain at least one index dimension word, each of the index dimension words corresponding to one of the policy dimensions;
    保单维度词库创建单元,用于基于至少一个所述索引维度词构建索引维度表,创建所述保单维度词库;其中,所述索引维度表与所述索引维度词和所述索引维度词对应的保单的存储地址相关联。a policy dimension lexicon creating unit, configured to build an index dimension vocabulary based on at least one of the index dimension words, wherein the index dimension table corresponds to the index dimension word and the index dimension word The storage address of the policy is associated.
  8. 如权利要求7所述的保单多维度分析实现装置,其特征在于,所述保单维度获取模块,用于采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度,包括:The policy multi-dimensional analysis implementation apparatus according to claim 7, wherein the policy dimension acquisition module is configured to perform matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policies. Policy dimensions, including:
    第一匹配词获取单元,用于从左至右将所述保单查询信息与所述保单维度词库中的索引维度词进行匹配,将首次匹配成功的所述索引维度词设置为第一匹配词;a first matching word obtaining unit, configured to match the policy query information from an index dimension word in the policy dimension vocabulary from left to right, and set the index dimension word that is successfully matched for the first time as the first matching word ;
    索引维度词判断单元,用于判断所述保单维度词库中是否存在包含将所述第一匹配词作为前缀的索引维度词;An index dimension word determining unit, configured to determine whether there is an index dimension word in the policy dimension vocabulary that includes the first matching word as a prefix;
    第一匹配词更新获取单元,用于若所述保单维度词库中存在包含将所述第一匹配词作为前缀的索引维度词,则继续从左至右将所述保单查询信息与所述保单维度词库中的所述索引维度词进行匹配,若匹配成功,则将包含将所述第一匹配词作为前缀的索引维度词更新为所述第一匹配词,重复执行所述判断所述保单维度词库中是否存在包含所述第一匹配词的索引维度词的步骤;a first matching word update obtaining unit, configured to continue the policy query information and the policy from left to right if there is an index dimension word including the first matching word as a prefix in the policy dimension vocabulary The index dimension words in the dimension lexicon are matched, and if the matching is successful, the index dimension word including the first matching word as a prefix is updated to the first matching word, and the determining the policy is repeated Whether there is a step of including an index dimension word of the first matching word in the dimension lexicon;
    第一匹配词确定单元,用于若所述保单维度词库中不存在包含将所述第一匹配词作为前缀的索引维度词,则将所述第一匹配词作为一已匹配的保单维度;a first matching word determining unit, configured to: if the index dimension word containing the first matching word as a prefix does not exist in the policy dimension lexicon, use the first matching word as a matched policy dimension;
    保单维度获取单元,用于去除所述保单查询信息中已匹配的所述保单维度,更新所述保单查询信息,重复执行所述从左至右将所述保单查询信息与所述保单维度词库中的索引维度词进行匹配,将首次匹配成功的所述索引维度词设置为第一匹配词,判断所述保单维度词库中是否存在包含所述第一匹配词的索引维度词的步骤;直至匹配完所述保单查询信息中的所有所述保单维度,获取至少一个所述保单维度。a policy dimension obtaining unit, configured to remove the policy dimension that has been matched in the policy query information, update the policy query information, and repeatedly execute the policy query information and the policy dimension vocabulary from left to right The index dimension word in the matching is matched, the index dimension word that is successfully matched for the first time is set as the first matching word, and the step of determining the index dimension word including the first matching word in the policy dimension lexicon is determined; Matching all of the policy dimensions in the policy query information to obtain at least one of the policy dimensions.
  9. 如权利要求7所述的保单多维度分析实现装置,其特征在于,所述目标保单获取模块,包括:The policy multi-dimensional analysis implementation apparatus according to claim 7, wherein the target policy acquisition module comprises:
    存储地址确定单元31,用于根据至少一个所述保单维度查询所述索引维度表,确定与至少一个所述保单维度相对应的至少一个保单的存储地址;The storage address determining unit 31 is configured to query the index dimension table according to the at least one policy dimension to determine a storage address of at least one policy corresponding to at least one of the policy dimensions;
    目标保单获取单元32,用于根据至少一个所述保单的存储地址,获取至少一个目标保单。The target policy obtaining unit 32 is configured to acquire at least one target policy according to the storage address of the at least one policy.
  10. 如权利要求6所述的保单多维度分析实现装置,其特征在于,所述多维度分析包括多维度查询分析、多维度对比分析和多维度统计分析。The policy multi-dimensional analysis implementation apparatus according to claim 6, wherein the multi-dimensional analysis comprises multi-dimensional query analysis, multi-dimensional comparative analysis, and multi-dimensional statistical analysis.
  11. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现下步骤:A terminal device comprising a memory, a processor, and computer readable instructions stored in the memory and operative on the processor, wherein the processor executes the computer readable instructions step:
    获取保单查询信息;Obtain policy inquiry information;
    采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度;Performing matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policy dimensions;
    根据至少一个所述保单维度,获取至少一个目标保单;Obtaining at least one target policy according to at least one of the policy dimensions;
    根据至少一个所述目标保单进行多维度分析,获取多维度分析结果。Performing multi-dimensional analysis according to at least one of the target policies to obtain multi-dimensional analysis results.
  12. 如权利要求11所述的终端设备,其特征在于,所述在所述获取保单查询信息的步骤之前,所述处理器执行所述计算机可读指令时还实现如下步骤:创建所述保单维度词库;The terminal device according to claim 11, wherein said processor further executes the step of: creating said policy dimension word when said processor executes said computer readable instruction before said step of obtaining policy inquiry information Library
    所述创建所述保单维度词库,包括:The creating the policy dimension vocabulary includes:
    从存储保单的数据库中获取所有保单的保单数据;Obtain policy data for all policies from the database in which the policy is stored;
    对所有保单的保单数据进行分词处理,获取至少一个索引维度词,每一所述索引维度词对应一所述保单维度;Performing word segmentation on the policy data of all policies to obtain at least one index dimension word, each of the index dimension words corresponding to one of the policy dimensions;
    基于至少一个所述索引维度词构建索引维度表,创建所述保单维度词库;其中,所述索引维度表与所述索引维度词和所述索引维度词对应的保单的存储地址相关联。The policy dimension vocabulary is created based on at least one of the index dimension words, wherein the index dimension table is associated with a storage address of a policy corresponding to the index dimension word and the index dimension word.
  13. 如权利要求12所述的终端设备,其特征在于,所述采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度,包括:The terminal device according to claim 12, wherein the matching and analyzing the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policy dimensions comprises:
    从左至右将所述保单查询信息与所述保单维度词库中的索引维度词进行匹配,将首次匹配成功的所述索引维度词设置为第一匹配词;Matching the policy query information from the index dimension words in the policy dimension vocabulary from left to right, and setting the index dimension words that are successfully matched for the first time as the first matching words;
    判断所述保单维度词库中是否存在包含将所述第一匹配词作为前缀的索引维度词;Determining whether there is an index dimension word in the policy dimension lexicon that includes the first matching word as a prefix;
    若所述保单维度词库中存在包含将所述第一匹配词作为前缀的索引维度词,则继续从左至右将所述保单查询信息与所述保单维度词库中的所述索引维度词进行匹配,若匹配成功,则将包含将所述第一匹配词作为前缀的索引维度词更新为所述第一匹配词,重复执行所述判断所述保单维度词库中是否存在包含所述第一匹配词的索引维度词的步骤;If there is an index dimension word including the first matching word as a prefix in the policy dimension lexicon, proceeding from left to right, the policy query information and the index dimension word in the policy dimension vocabulary Performing matching, if the matching is successful, updating the index dimension word including the first matching word as a prefix to the first matching word, and repeatedly performing the determining whether the policy dimension dictionary includes the first a step of matching the indexed dimension words of the word;
    若所述保单维度词库中不存在包含将所述第一匹配词作为前缀的索引维度词,则将所述第一匹配词作为一已匹配的保单维度;If the index dimension word containing the first matching word is prefixed in the policy dimension lexicon, the first matching word is regarded as a matched policy dimension;
    去除所述保单查询信息中已匹配的所述保单维度,更新所述保单查询信息,重复执行所述从左至右将所述保单查询信息与所述保单维度词库中的索引维度词进行匹配,将首次匹配成功的所述索引维度词设置为第一匹配词,判断所述保单维度词库中是否存在包含所述第一匹配词的索引维度词的步骤;直至匹配完所述保单查询信息中的所有所述保单维度,获取至少一个所述保单维度。Removing the policy dimension that has been matched in the policy query information, updating the policy query information, and repeatedly performing the left-to-right matching of the policy query information with the index dimension words in the policy dimension vocabulary Setting the index dimension word that is successfully matched for the first time as the first matching word, and determining whether there is an index dimension word including the first matching word in the policy dimension lexicon; until the policy query information is matched At least one of the policy dimensions is obtained for all of the policy dimensions in the middle.
  14. 如权利要求12所述的终端设备,其特征在于,所述根据至少一个所述保单维度,获取至少一个目标保单,包括:The terminal device according to claim 12, wherein the obtaining the at least one target policy according to the at least one policy dimension comprises:
    根据至少一个所述保单维度查询所述索引维度表,确定与至少一个所述保单维度相对应的至少一个保单的存储地址;Querying the index dimension table according to at least one of the policy dimensions, determining a storage address of at least one policy corresponding to at least one of the policy dimensions;
    根据至少一个所述保单的存储地址,获取至少一个目标保单。Obtaining at least one target policy based on the storage address of at least one of the policies.
  15. 如权利要求11所述的终端设备,其特征在于,所述多维度分析包括多维度查询分 析、多维度对比分析和多维度统计分析。The terminal device according to claim 11, wherein said multi-dimensional analysis comprises multi-dimensional query analysis, multi-dimensional comparative analysis, and multi-dimensional statistical analysis.
  16. 一个或多个存储有计算机可读指令的非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:One or more non-transitory readable storage mediums storing computer readable instructions, wherein when the computer readable instructions are executed by one or more processors, cause the one or more processors to execute The following steps:
    获取保单查询信息;Obtain policy inquiry information;
    采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度;Performing matching analysis on the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policy dimensions;
    根据至少一个所述保单维度,获取至少一个目标保单;Obtaining at least one target policy according to at least one of the policy dimensions;
    根据至少一个所述目标保单进行多维度分析,获取多维度分析结果。Performing multi-dimensional analysis according to at least one of the target policies to obtain multi-dimensional analysis results.
  17. 如权利要求16所述的非易失性可读存储介质,其特征在于,所述在所述获取保单查询信息的步骤之前,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还实现如下步骤:创建所述保单维度词库;A non-volatile readable storage medium as recited in claim 16, wherein said said computer readable instructions are executed by one or more processors prior to said step of obtaining policy query information The one or more processors further implement the steps of: creating the policy dimension vocabulary;
    所述创建所述保单维度词库,包括:The creating the policy dimension vocabulary includes:
    从存储保单的数据库中获取所有保单的保单数据;Obtain policy data for all policies from the database in which the policy is stored;
    对所有保单的保单数据进行分词处理,获取至少一个索引维度词,每一所述索引维度词对应一所述保单维度;Performing word segmentation on the policy data of all policies to obtain at least one index dimension word, each of the index dimension words corresponding to one of the policy dimensions;
    基于至少一个所述索引维度词构建索引维度表,创建所述保单维度词库;其中,所述索引维度表与所述索引维度词和所述索引维度词对应的保单的存储地址相关联。The policy dimension vocabulary is created based on at least one of the index dimension words, wherein the index dimension table is associated with a storage address of a policy corresponding to the index dimension word and the index dimension word.
  18. 如权利要求17所述的非易失性可读存储介质,其特征在于,所述采用预设的保单维度词库对所述保单查询信息进行匹配分析,获取至少一个所述保单维度,包括:The non-volatile readable storage medium according to claim 17, wherein the matching the policy query information by using a preset policy dimension vocabulary to obtain at least one of the policy dimensions comprises:
    从左至右将所述保单查询信息与所述保单维度词库中的索引维度词进行匹配,将首次匹配成功的所述索引维度词设置为第一匹配词;Matching the policy query information from the index dimension words in the policy dimension vocabulary from left to right, and setting the index dimension words that are successfully matched for the first time as the first matching words;
    判断所述保单维度词库中是否存在包含将所述第一匹配词作为前缀的索引维度词;Determining whether there is an index dimension word in the policy dimension lexicon that includes the first matching word as a prefix;
    若所述保单维度词库中存在包含将所述第一匹配词作为前缀的索引维度词,则继续从左至右将所述保单查询信息与所述保单维度词库中的所述索引维度词进行匹配,若匹配成功,则将包含将所述第一匹配词作为前缀的索引维度词更新为所述第一匹配词,重复执行所述判断所述保单维度词库中是否存在包含所述第一匹配词的索引维度词的步骤;If there is an index dimension word including the first matching word as a prefix in the policy dimension lexicon, proceeding from left to right, the policy query information and the index dimension word in the policy dimension vocabulary Performing matching, if the matching is successful, updating the index dimension word including the first matching word as a prefix to the first matching word, and repeatedly performing the determining whether the policy dimension dictionary includes the first a step of matching the indexed dimension words of the word;
    若所述保单维度词库中不存在包含将所述第一匹配词作为前缀的索引维度词,则将所述第一匹配词作为一已匹配的保单维度;If the index dimension word containing the first matching word is prefixed in the policy dimension lexicon, the first matching word is regarded as a matched policy dimension;
    去除所述保单查询信息中已匹配的所述保单维度,更新所述保单查询信息,重复执行所述从左至右将所述保单查询信息与所述保单维度词库中的索引维度词进行匹配,将首次 匹配成功的所述索引维度词设置为第一匹配词,判断所述保单维度词库中是否存在包含所述第一匹配词的索引维度词的步骤;直至匹配完所述保单查询信息中的所有所述保单维度,获取至少一个所述保单维度。Removing the policy dimension that has been matched in the policy query information, updating the policy query information, and repeatedly performing the left-to-right matching of the policy query information with the index dimension words in the policy dimension vocabulary Setting the index dimension word that is successfully matched for the first time as the first matching word, and determining whether there is an index dimension word including the first matching word in the policy dimension lexicon; until the policy query information is matched At least one of the policy dimensions is obtained for all of the policy dimensions in the middle.
  19. 如权利要求17所述的非易失性可读存储介质,其特征在于,所述根据至少一个所述保单维度,获取至少一个目标保单,包括:The non-volatile readable storage medium of claim 17, wherein the obtaining the at least one target policy according to the at least one policy dimension comprises:
    根据至少一个所述保单维度查询所述索引维度表,确定与至少一个所述保单维度相对应的至少一个保单的存储地址;Querying the index dimension table according to at least one of the policy dimensions, determining a storage address of at least one policy corresponding to at least one of the policy dimensions;
    根据至少一个所述保单的存储地址,获取至少一个目标保单。Obtaining at least one target policy based on the storage address of at least one of the policies.
  20. 如权利要求15所述的非易失性可读存储介质,其特征在于,所述多维度分析包括多维度查询分析、多维度对比分析和多维度统计分析。The non-volatile readable storage medium of claim 15, wherein the multi-dimensional analysis comprises multi-dimensional query analysis, multi-dimensional comparative analysis, and multi-dimensional statistical analysis.
PCT/CN2018/081531 2018-01-12 2018-04-02 Method and apparatus for implementing multidimensional analysis on insurance policy, terminal device, and storage medium WO2019136855A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810031163.4A CN108198083A (en) 2018-01-12 2018-01-12 Declaration form multi dimensional analysis implementation method, device, terminal device and storage medium
CN201810031163.4 2018-01-12

Publications (1)

Publication Number Publication Date
WO2019136855A1 true WO2019136855A1 (en) 2019-07-18

Family

ID=62588902

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/081531 WO2019136855A1 (en) 2018-01-12 2018-04-02 Method and apparatus for implementing multidimensional analysis on insurance policy, terminal device, and storage medium

Country Status (2)

Country Link
CN (1) CN108198083A (en)
WO (1) WO2019136855A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109034900A (en) * 2018-07-26 2018-12-18 阿里巴巴集团控股有限公司 A kind of processing method, system and the terminal device of the multi-dimensional data of business
CN109558419A (en) * 2018-11-22 2019-04-02 泰康保险集团股份有限公司 Data query method, apparatus and storage medium
CN111369206A (en) * 2018-12-26 2020-07-03 鸿富锦精密工业(武汉)有限公司 Data analysis method, device and computer readable storage medium
CN111091473B (en) * 2019-11-25 2023-08-15 泰康保险集团股份有限公司 Insurance problem analysis processing method and apparatus
CN111161086A (en) * 2019-12-16 2020-05-15 中国平安财产保险股份有限公司 Method, system, computer equipment and storage medium for inquiring business data
CN113051898A (en) * 2019-12-27 2021-06-29 北京阿博茨科技有限公司 Word meaning accumulation and word segmentation method, tool and system for structured data searched by natural language

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110106720A1 (en) * 2009-11-05 2011-05-05 Jerome Dale Johnson Expert system for gap analysis
CN103942347A (en) * 2014-05-19 2014-07-23 焦点科技股份有限公司 Word separating method based on multi-dimensional comprehensive lexicon
CN107229730A (en) * 2017-06-08 2017-10-03 北京奇虎科技有限公司 Data query method and device
CN107644382A (en) * 2016-07-22 2018-01-30 平安科技(深圳)有限公司 Policy information statistical method and device
CN107798031A (en) * 2017-02-17 2018-03-13 平安科技(深圳)有限公司 Policy information querying method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110106720A1 (en) * 2009-11-05 2011-05-05 Jerome Dale Johnson Expert system for gap analysis
CN103942347A (en) * 2014-05-19 2014-07-23 焦点科技股份有限公司 Word separating method based on multi-dimensional comprehensive lexicon
CN107644382A (en) * 2016-07-22 2018-01-30 平安科技(深圳)有限公司 Policy information statistical method and device
CN107798031A (en) * 2017-02-17 2018-03-13 平安科技(深圳)有限公司 Policy information querying method and device
CN107229730A (en) * 2017-06-08 2017-10-03 北京奇虎科技有限公司 Data query method and device

Also Published As

Publication number Publication date
CN108198083A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
WO2019136855A1 (en) Method and apparatus for implementing multidimensional analysis on insurance policy, terminal device, and storage medium
JP6998928B2 (en) Methods, appliances, equipment, and media for storing and querying data
US11853334B2 (en) Systems and methods for generating and using aggregated search indices and non-aggregated value storage
JP5437557B2 (en) Search processing method and search system
AU2013329525B2 (en) System and method for recursively traversing the internet and other sources to identify, gather, curate, adjudicate, and qualify business identity and related data
JP5744892B2 (en) Text filtering method and system
US20150154254A1 (en) Intelligently utilizing non-matching weighted indexes
WO2018097846A1 (en) Edge store designs for graph databases
CN111752955A (en) Data processing method, device, equipment and computer readable storage medium
CN110955662A (en) Method, computing device and storage medium for maintaining data table association relation
JP2020067971A (en) Information processing system and information processing method
JP2020123320A (en) Method, apparatus, device and storage medium for managing index
US20230153455A1 (en) Query-based database redaction
CN115203719A (en) Method, device and equipment for desensitizing SQL (structured query language) statement and computer-readable storage medium
JP2008198237A (en) Structured document management system
US20180275961A1 (en) Method and system for fast data comparison using accelerated and incrementally synchronized cyclic data traversal algorithm
CN113254470A (en) Data change method and device, computer equipment and storage medium
CN111045994B (en) File classification retrieval method and system based on KV database
JP2019021194A (en) Information processing system and information processing method
US20230350878A1 (en) Automated database updating and curation
WO2022262240A1 (en) Data processing method, electronic device, and storage medium
JP6870454B2 (en) Analytical equipment, analytical programs and analytical methods
CN114969131B (en) Information query method, device and equipment
JP2006106907A (en) Structured document management system, method for constructing index, and program
US9323753B2 (en) Method and device for representing digital documents for search applications

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18900109

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 15.10.2020.)

122 Ep: pct application non-entry in european phase

Ref document number: 18900109

Country of ref document: EP

Kind code of ref document: A1