CN111104375B - Nuclear protection rule editing method, system, equipment and storage medium - Google Patents

Nuclear protection rule editing method, system, equipment and storage medium Download PDF

Info

Publication number
CN111104375B
CN111104375B CN201911159363.9A CN201911159363A CN111104375B CN 111104375 B CN111104375 B CN 111104375B CN 201911159363 A CN201911159363 A CN 201911159363A CN 111104375 B CN111104375 B CN 111104375B
Authority
CN
China
Prior art keywords
rule
attribute
original
retrieval
information
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201911159363.9A
Other languages
Chinese (zh)
Other versions
CN111104375A (en
Inventor
李洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201911159363.9A priority Critical patent/CN111104375B/en
Publication of CN111104375A publication Critical patent/CN111104375A/en
Application granted granted Critical
Publication of CN111104375B publication Critical patent/CN111104375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • 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

Abstract

The invention provides a method, a system, equipment and a storage medium for editing a kernel protection rule, wherein the method comprises the following steps: receiving rule editing information, wherein the rule editing information comprises original rule information and modification information; extracting original rule attributes and attribute values from the original rule information; performing rule retrieval in a verification rule base according to the original rule attribute and attribute value to obtain a rule to be edited; and modifying the rule to be edited according to the modification information. The invention can rapidly locate the rule to be modified, directly modify the original rule file according to the modification information, achieve the purposes of rapid location and modification, and improve rule editing accuracy and efficiency.

Description

Nuclear protection rule editing method, system, equipment and storage medium
Technical Field
The present invention relates to the field of rule engine technologies, and in particular, to a method, system, device, and storage medium for editing a warranty rule.
Background
At present, rule engines are used for checking rules in new contract underwriting service scenes of all large insurance companies, and the rules have the actual characteristics of more service scenes, trivial check points, frequent adjustment and the like along with the accumulation of time, so that the number of rules is always in surge, and even more than a few tens of thousands of rules are tiled in a rule management system. Based on the above, when the rule is modified in subsequent maintenance, the rule position cannot be quickly positioned, which is time-consuming and labor-consuming.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a method, a system, a device and a storage medium for editing a check and protection rule, which can rapidly locate the rule to be modified and modify the rule, thereby improving the accuracy and efficiency of rule editing.
The embodiment of the invention provides a method for editing a kernel protection rule, which comprises the following steps:
receiving rule editing information, wherein the rule editing information comprises original rule information and modification information;
extracting original rule attributes and attribute values from the original rule information;
performing rule retrieval in a verification rule base according to the original rule attribute and attribute value to obtain a rule to be edited;
and modifying the rule to be edited according to the modification information.
Optionally, after the original rule attribute and the attribute value are extracted from the original rule information, determining a retrieval flow according to the original rule attribute and the attribute value, wherein the retrieval flow comprises the number of times of retrieval and the original rule attribute and the attribute value of each retrieval;
and carrying out rule retrieval in the underwriting rule base according to the retrieval flow.
Optionally, the determining the search flow includes the following steps:
determining the number of times of retrieval according to the number of the original rule attributes;
determining the retrieval sequence of each original rule attribute according to the preset priority of each attribute;
and determining the original rule attribute and attribute value adopted in each retrieval according to the retrieval sequence of each original rule attribute.
Optionally, after extracting the original rule attributes and attribute values from the original rule information, the method further includes extracting relationships among the original rule attributes from the original rule information, where the relationships among the original rule attributes include a relationship and/or a relationship.
Optionally, after determining the original rule attribute and attribute value adopted in each retrieval, the method further comprises the following steps:
judging whether the relation between the original rule attributes retrieved in two adjacent steps is a relationship or a relationship;
if the relation between the original rule attributes retrieved in two adjacent steps is the relation, the retrieval range of the original rule attributes retrieved later is the rule range of the original rule attributes retrieved earlier;
if the relation between the original rule attributes of the two adjacent steps is the same as the retrieval range of the original rule attribute of the previous retrieval, the retrieval result is obtained by combining the retrieval ranges of the original rule attributes of the previous retrieval and is used for the retrieval of the subsequent original rule attributes.
Optionally, the modification information includes a dangerous seed addition requirement and a dangerous seed code;
the method for editing the retrieved rule according to the modification information comprises the following steps:
if the modification information includes a risk adding requirement, the risk code is added in a risk attribute of the retrieved rule.
Optionally, before receiving the rule editing information, the method further includes the following steps:
when a dangerous seed is newly added, acquiring the attribute and attribute value of the dangerous seed and a dangerous seed code;
and generating rule editing information, wherein the original rule attribute and attribute value of the rule editing information correspond to the attribute and attribute value of the dangerous seed, and the modification information of the rule editing information comprises a dangerous seed adding requirement and a dangerous seed code.
Optionally, after the rule searching is performed in the underwriting rule base according to the original rule attribute and the attribute value, the method further comprises the following steps:
and if the rule matched with the original rule attribute and the attribute value is not retrieved in the rule base, generating a new underwriting rule according to the original rule information and the modification information.
The embodiment of the invention also provides a system for editing the underwriting rule, which comprises the following steps:
the information receiving module is used for receiving rule editing information, wherein the rule editing information comprises original rule information and modification information;
the attribute extraction module is used for extracting original rule attributes and attribute values from the original rule information;
the rule retrieval module is used for carrying out rule retrieval in the check rule base according to the original rule attribute and the attribute value to obtain a rule to be edited;
and the rule editing module is used for modifying the rule to be edited according to the modification information.
The embodiment of the invention also provides a device for editing the underwriting rule, which comprises:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the underwriting rule editing method via execution of the executable instructions.
The embodiment of the invention also provides a computer readable storage medium for storing a program, which when executed, implements the steps of the method for editing the underwriting rule.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
The method, the system, the equipment and the storage medium for editing the underwriting rule have the following advantages:
the invention carries out rule search of multiple dimensions through multiple attributes, can rapidly locate the rule to be modified, and directly modifies the original rule file according to modification information, thereby achieving the purposes of rapid location and modification and improving rule editing accuracy and efficiency.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings.
FIG. 1 is a flow chart of a method of editing a underwriting rule according to one embodiment of the present invention;
FIG. 2 is a flow chart of rule retrieval in a method of editing a underwriting rule according to one embodiment of the present invention;
FIG. 3 is a flow chart of rule modification in a method of editing a underwriting rule according to one embodiment of the present invention;
FIG. 4 is a schematic diagram of a system for editing a warranty rule according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a device for editing a warranty rule according to an embodiment of the present invention;
fig. 6 is a schematic structural view of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
As shown in fig. 1, an embodiment of the present invention provides a method for editing a warranty rule, including the following steps:
s100: receiving rule editing information, wherein the rule editing information comprises original rule information and modification information;
s200: extracting original rule attributes and attribute values from the original rule information;
s300: performing rule retrieval in a verification rule base according to the original rule attribute and attribute value to obtain a rule to be edited;
s400: and modifying the rule to be edited according to the modification information.
According to the invention, the rule editing information is received through the steps S100 and S200, the original rule information and the modification information are extracted from the rule editing information, the original rule attribute and the attribute value are extracted from the original rule information, then the rule searching with multiple dimensions is carried out through the step S300 by adopting multiple attributes, the rule needing to be modified can be rapidly positioned, the original rule file is directly modified according to the modification information through the step S400, the purposes of rapid positioning and modification are achieved, and the rule editing accuracy and efficiency are improved.
In step S200, extracting the original rule attribute and the attribute value from the original rule information may include comparing a preset rule attribute name with the original rule information, determining the original rule attribute contained in the original rule information, and extracting the attribute value corresponding to the original rule attribute. The original rule attributes may include rule type, region attributes, age attributes, channel attributes, and so forth.
In this embodiment, in step S200, after extracting the original rule attribute and the attribute value from the original rule information, determining a search flow according to the original rule attribute and the attribute value, where the search flow includes the number of times of searching and the original rule attribute and the attribute value of each search;
in the step S300, rule searching is performed in the underwriting rule base according to the searching process.
In this embodiment, the step S200 of determining the search flow includes the following steps:
determining the number of times of retrieval according to the number of the original rule attributes;
determining the retrieval sequence of each original rule attribute according to the preset priority of each attribute;
and determining the original rule attribute and attribute value adopted in each retrieval according to the retrieval sequence of each original rule attribute.
For example, the original rule attributes extracted from the original rule information include the following attributes: the method comprises the steps of judging the priority of each attribute, namely the type of the rule, the branch company of the rule, the system channel of the rule, the product identifier of the rule and the like, and defining that the type of the rule is firstly adopted for searching if the priority of the type of the rule is highest.
The types of rules may include personalized rules, product rules, general rules, and public additional risk rules. The product rule may be a rule defined for a specific product, for example, a disclaimer rule of different risk types, the general rule may be a rule used by substantially all risk types, for example, a minor risk judgment rule, etc., the public additional risk rule may be a predefined variety of public additional risk judgment rules, and the personalized rule may include a user-defined rule not included in the product rule, the general rule, and the public additional risk rule, for example, a sales policy rule, etc. Firstly, searching by adopting the rule type, and then continuing to search in the searched rule range which is the same as the original rule information.
The retrieval sequence of each original rule attribute can be selected and judged according to the requirement, for example, the retrieval sequence of the original rule attribute is set as follows: the rule type, the rule system channel, the rule branch company and the rule product identification are searched in sequence according to the search sequence during the search.
In practical application, the relationship between the original rule attributes may be not only a logical and relationship, but also a logical or relationship. That is, if the two original rule attributes are in a logical AND relationship, the retrieved rule needs to satisfy the two original rule attributes at the same time, and if the two original rule attributes are in a logical OR relationship, the retrieved rule only needs to satisfy any one of the two original rule attributes. Therefore, the search mode is different according to the difference of the relation between the original rule attributes.
Therefore, in this embodiment, after extracting the original rule attribute and the attribute value from the original rule information in the step S200, the method further includes extracting a relationship between the original rule attributes from the original rule information, where the relationship between the original rule attributes includes a relationship and/or a relationship.
In this embodiment, after determining the original rule attribute and the attribute value adopted in each search in the step S300, the method further includes the following steps:
judging whether the relation between the original rule attributes retrieved in two adjacent steps is a relationship or a relationship;
if the relation between the original rule attributes retrieved in two adjacent steps is the relation, the retrieval range of the original rule attributes retrieved later is the rule range of the original rule attributes retrieved earlier;
if the relation between the original rule attributes of the two adjacent steps is the same as the retrieval range of the original rule attribute of the previous retrieval, the retrieval result is obtained by combining the retrieval ranges of the original rule attributes of the previous retrieval and is used for the retrieval of the subsequent original rule attributes.
Taking the flow of the search in steps S11 to S15 as an example in fig. 2, the sequence of the search is: attribute 1 (step S11), attribute 2 (step S12), attribute 3 (step S13), attribute 4 (step S14), and attribute 5 (step S15). That is, rule search is sequentially performed in the core-protecting rule base according to the search sequence. The relationship between the attribute 1 and the attribute 2 is a logical and relationship, the search range of the attribute 2 is a rule range conforming to the attribute 1 obtained on the basis of the search of the attribute 1, the relationship between the attribute 2 and the attribute 3 is the same logical and relationship, and after the search of the attribute 2 is completed, the search of the attribute 3 is performed on the basis of the rule obtained by the search of the attribute 2, which is equivalent to that when the relationship is the logical and relationship, the rule range is narrowed every time the search is performed.
And the relationship between attribute 4 and attribute 3 is a logical or relationship, i.e., attribute 3 and attribute 4 need only satisfy one. The search range of attribute 3 and the search range of attribute 4 are the same, and both are rule ranges after attribute 2 search. Then, the rule range retrieved by attribute 3 and the rule range retrieved by attribute 4 are combined and combined to obtain a retrieval range of attribute 5. The search for attribute 3 and the search for attribute 4 may be performed simultaneously or sequentially. However, the attributes with logical and relationship need to be retrieved sequentially, but cannot be parallel.
For example, the original rule attributes include a rule type, an dangerous code, and a disclaimer, where the rule type is logically connected to the dangerous code, and the dangerous code is logically connected to the disclaimer. Wherein the attribute values of the original rule attribute are respectively as follows: rule types are disclaimer decision rules, dangerous specific code values, and specific contents of disclaimers. When the original rule attribute is adopted for searching, all rules with the type of disclaimer judging rule are obtained by searching according to the rule type, then query is carried out in all rules with the type of disclaimer judging rule according to the dangerous seed code and the disclaimer respectively, and the searched rule is used as the rule to be edited as long as the searched rule meets one attribute value in the dangerous seed code and the specific content of the disclaimer.
In this embodiment, the step S300: after the rule retrieval is carried out in the underwriting rule base according to the original rule attribute and the attribute value, the method further comprises the following steps:
and if the rule matched with the original rule attribute and the attribute value is not retrieved in the rule base, generating a new underwriting rule according to the original rule information and the modification information.
As shown in fig. 3, a flow chart of modifying or creating new underwriting rules after retrieval is shown in an embodiment of the present invention. After the rule searching in step S300, S21 judges whether a rule matching with the original rule information is searched, if so, S26 can further check whether the rule logic is consistent with the original rule information, if so, S27 carries out rule modification according to the modification information, if not, S28 carries out manual intervention, and the staff carries out processing. If no rule matching with the original rule information is retrieved, S22 generates a new rule file, S23-S25 further define file identification, definition file name, definition file attribute and attribute value according to the original rule information and the modification information to obtain a new rule file, and the rule file meets the requirement of the modified rule in the rule editing information, namely, the new rule file meets the requirement of the unmodified rule in the original rule information and the requirement of the modification information at the same time.
Furthermore, by adopting the method for editing the underwriting rule, the rule sharing among various dangerous seeds can be realized, namely, a plurality of dangerous seed codes can be added into one existing rule, wherein the dangerous seeds corresponding to the added plurality of dangerous seed codes can be suitable for the rule, and the corresponding rule does not need to be independently written for each dangerous seed, so that the rapid increase of the number of the rules is avoided.
In this embodiment, the modification information may include a risk adding requirement and a risk code, so that the new risk may also be applicable to the corresponding rule by adding a new risk code to the existing rule risk code.
In the step S400, the retrieved rule is edited according to the modification information, which includes the following steps:
if the modification information includes a risk adding requirement, the risk code is added in a risk attribute of the retrieved rule.
For example, in the existing underwriting rule base, about 1000 exemption category lists are required to be allocated for each claim case. In the prior art, if a new product is added, a new rule is newly configured, after the accumulation of the daily period, the configured rule is more and more, the repeated content of the same type of product is more and more, and great burden is brought to a rule base and a rule engine. By adopting the method for editing the check and protection rule, the existing rule can be matched according to the list of the disclaimer types, if the rule is consistent, the rule is positioned, a newly added claim case code is automatically configured in the rule file, and if the rule file is inconsistent, a rule file is newly added.
In other alternative embodiments, the modification to the rule is not limited to modification to the risk code or the claim code, but may be modification to other content of the rule, for example, the content of a specific disclaimer may be modified for the disclaimer determination rule, specific additional risk applicable conditions may be modified for the product additional risk rule, etc., and the specific modification content is defined by modification information in the rule edit information.
Further, in this embodiment, when a new dangerous seed or claim case is generated, an existing rule may be automatically matched with the new dangerous seed or claim case, and a new dangerous seed code or claim case code may be added to the matched rule, so that the process of generating the new dangerous seed may be accelerated, and a specific claim case may be more conveniently generated. Specifically, in the step S100: before receiving the rule editing information, the method further comprises the following steps:
when a dangerous seed is newly added, acquiring the attribute and attribute value of the dangerous seed and a dangerous seed code;
and generating rule editing information, wherein the original rule attribute and attribute value of the rule editing information correspond to the attribute and attribute value of the dangerous seed, and the modification information of the rule editing information comprises a dangerous seed adding requirement and a dangerous seed code.
As shown in fig. 4, an embodiment of the present invention further provides a system for editing a underwriting rule, which is applied to any one of the underwriting rule editing methods, where the system includes:
the information receiving module M100 is configured to receive rule editing information, where the rule editing information includes original rule information and modification information;
the attribute extraction module M200 is configured to extract an original rule attribute and an attribute value from the original rule information;
the rule retrieval module M300 is used for carrying out rule retrieval in the underwriting rule base according to the original rule attribute and the attribute value to obtain a rule to be edited;
and the rule editing module M400 is used for modifying the rule to be edited according to the modification information.
The information receiving module M100 and the attribute extracting module M200 receive rule editing information, extract original rule information and modification information from the rule editing information, extract original rule attributes and attribute values from the original rule information, then search rules in multiple dimensions by adopting multiple attributes through the rule searching module M300, quickly locate rules needing modification, directly modify original rule files through the rule editing module M400 according to the modification information, achieve the purposes of quick location and modification, and improve rule editing accuracy and efficiency.
In this embodiment, the attribute extraction module M200 may extract an original rule attribute and an attribute value from the original rule information, and may include that the attribute extraction module M200 compares a preset rule attribute name with the original rule information, determines an original rule attribute contained in the original rule information, and extracts an attribute value corresponding to the original rule attribute. The original rule attributes may include rule type, region attributes, age attributes, channel attributes, and so forth.
In this embodiment, after extracting the original rule attribute and the attribute value from the original rule information, the attribute extracting module M200 may be further configured to determine a search flow according to the original rule attribute and the attribute value, where the search flow includes the number of searches and the original rule attribute and the attribute value of each search. The rule retrieval module M300 performs rule retrieval in the underwriting rule base according to the retrieval flow.
In this embodiment, the attribute extraction module M200 determines a search procedure, including that the attribute extraction module M200 determines the number of times of searching according to the number of the original rule attributes; determining the retrieval sequence of each original rule attribute according to the preset priority of each attribute; and determining the original rule attribute and attribute value adopted in each retrieval according to the retrieval sequence of each original rule attribute.
Further, after extracting the original rule attributes and attribute values from the original rule information, the attribute extracting module M200 may be further configured to extract relationships between the original rule attributes from the original rule information, where the relationships between the original rule attributes include a relationship and/or a relationship.
Correspondingly, after determining the original rule attribute and attribute value adopted in each retrieval, the rule retrieving module M300 may be further configured to perform the following steps:
judging whether the relation between the original rule attributes retrieved in two adjacent steps is a relationship or a relationship;
if the relation between the original rule attributes retrieved in two adjacent steps is the relation, the retrieval range of the original rule attributes retrieved later is the rule range of the original rule attributes retrieved earlier;
if the relation between the original rule attributes of the two adjacent steps is the same as the retrieval range of the original rule attribute of the previous retrieval, the retrieval result is obtained by combining the retrieval ranges of the original rule attributes of the previous retrieval and is used for the retrieval of the subsequent original rule attributes.
In this embodiment, the system for editing a underwriting rule may further include a rule generating module, where after the rule searching module M300 performs rule searching in the underwriting rule base according to the original rule attribute and attribute value, if a rule matching the original rule attribute and attribute value is not searched in the rule base, the rule generating module is configured to generate a new underwriting rule according to the original rule information and the modification information. In this embodiment, the method of generating the new underwriting rule may adopt the steps shown in fig. 3, but the invention is not limited thereto.
Further, as described above, by adopting the method for editing the underwriting rule of the present invention, a rule common to a plurality of kinds of dangerous seeds can be realized, that is, a plurality of kinds of dangerous seed codes can be added into an existing rule, wherein the dangerous seeds corresponding to the added plurality of kinds of dangerous seed codes can be applied to the rule, and the corresponding rule does not need to be independently written for each dangerous seed, so that the abrupt increase of the number of rules is avoided.
When the rule editing module M400 edits the retrieved rule according to the modification information, if the modification information includes a risk type adding requirement, the rule editing module M400 adds the risk type code in a risk type attribute of the retrieved rule.
Specifically, the system for editing the underwriting rule can further comprise an editing information generation module, which is used for automatically matching the existing rule when a new dangerous seed or a claim case is generated, and adding the new dangerous seed code or the claim case code into the matched rule, so that the process of generating the new dangerous seed can be accelerated, and the specific claim case can be generated more conveniently. Specifically, when a new dangerous seed is added, the editing information generating module acquires the attribute and the attribute value of the dangerous seed and the dangerous seed code, and then the editing information generating module generates rule editing information, wherein the original rule attribute and the attribute value of the rule editing information correspond to the attribute and the attribute value of the dangerous seed, and the modification information of the rule editing information comprises the dangerous seed adding requirement and the dangerous seed code.
The embodiment of the invention also provides a device for editing the underwriting rule, which comprises a processor; a memory having stored therein executable instructions of the processor; wherein the processor is configured to perform the steps of the underwriting rule editing method via execution of the executable instructions.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a method, system, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 5. The electronic device 600 shown in fig. 5 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the electronic device 600 is embodied in the form of a general purpose computing device. Components of electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different system components (including the memory unit 620 and the processing unit 610), a display unit 640, etc.
Wherein the storage unit stores program code that is executable by the processing unit 610 such that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the electronic prescription stream processing method section above in this specification. For example, the processing unit 610 may perform the steps as shown in fig. 1.
The memory unit 620 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 6201 and/or cache memory unit 6202, and may further include Read Only Memory (ROM) 6203.
The storage unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 630 may be a local bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and/or any device (e.g., router, modem, etc.) that enables the electronic device 600 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 650. Also, electronic device 600 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 over the bus 630. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 600, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The embodiment of the invention also provides a computer readable storage medium for storing a program, which when executed, implements the steps of the method for editing the underwriting rule. In some possible embodiments, the aspects of the present invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the electronic prescription stream processing method section of this specification, when said program product is run on the terminal device.
Referring to fig. 6, a program product 800 for implementing the above-described method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The method, the system, the equipment and the storage medium for editing the underwriting rule have the following advantages:
the invention carries out rule search of multiple dimensions through multiple attributes, can rapidly locate the rule to be modified, and directly modifies the original rule file according to modification information, thereby achieving the purposes of rapid location and modification and improving rule editing accuracy and efficiency.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for embodiments of the system, apparatus, and computer storage medium, the description is relatively simple, as it is substantially similar to the method embodiments, with reference to the portions of the method embodiments that are relevant.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (8)

1. The method for editing the underwriting rule is characterized by comprising the following steps of:
receiving rule editing information, wherein the rule editing information comprises original rule information and modification information;
extracting an original rule attribute and an attribute value from the original rule information, and determining a retrieval flow according to the original rule attribute and the attribute value, wherein the retrieval flow comprises the retrieval times and the original rule attribute and the attribute value of each retrieval;
according to the original rule attribute and attribute value, and according to the retrieval flow, rule retrieval is carried out in a verification rule base to obtain a rule to be edited;
modifying the rule to be edited according to the modification information;
the determining and retrieving process comprises the following steps:
determining the number of times of retrieval according to the number of the original rule attributes;
determining the retrieval sequence of each original rule attribute according to the preset priority of each attribute;
and determining the original rule attribute and attribute value adopted in each retrieval according to the retrieval sequence of each original rule attribute.
2. The method according to claim 1, further comprising extracting relationships between the original rule attributes from the original rule information after extracting the original rule attributes and attribute values from the original rule information, wherein the relationships between the original rule attributes include a relationship and/or a relationship.
3. The method for editing the rules of claim 2, further comprising the steps of, after determining the original rule attribute and attribute value adopted at each retrieval:
judging whether the relation between the original rule attributes retrieved in two adjacent steps is a relationship or a relationship;
if the relation between the original rule attributes retrieved in two adjacent steps is the relation, the retrieval range of the original rule attributes retrieved later is the rule range of the original rule attributes retrieved earlier;
if the relation between the original rule attributes of the two adjacent steps is the same as the retrieval range of the original rule attribute of the previous retrieval, the retrieval result is obtained by combining the retrieval ranges of the original rule attributes of the previous retrieval and is used for the retrieval of the subsequent original rule attributes.
4. The method for editing a underwriting rule according to claim 1, wherein the modification information includes a dangerous seed addition requirement and a dangerous seed code;
the method for editing the retrieved rule according to the modification information comprises the following steps:
if the modification information includes a risk adding requirement, the risk code is added in a risk attribute of the retrieved rule.
5. The method for editing a rules of claim 4, further comprising the steps of, prior to receiving the rule editing information:
when a dangerous seed is newly added, acquiring the attribute and attribute value of the dangerous seed and a dangerous seed code;
and generating rule editing information, wherein the original rule attribute and attribute value of the rule editing information correspond to the attribute and attribute value of the dangerous seed, and the modification information of the rule editing information comprises a dangerous seed adding requirement and a dangerous seed code.
6. A system for editing a underwriting rule, the system comprising:
the information receiving module is used for receiving rule editing information, wherein the rule editing information comprises original rule information and modification information;
the attribute extraction module is used for extracting original rule attributes and attribute values from the original rule information, and determining a retrieval flow according to the original rule attributes and the attribute values, wherein the retrieval flow comprises the retrieval times and the original rule attributes and attribute values retrieved each time; wherein, the determining the search flow includes: determining the number of times of retrieval according to the number of the original rule attributes; determining the retrieval sequence of each original rule attribute according to the preset priority of each attribute; determining the original rule attribute and attribute value adopted in each retrieval according to the retrieval sequence of each original rule attribute;
the rule retrieval module is used for carrying out rule retrieval in the check rule base according to the original rule attribute and attribute value and the retrieval flow to obtain a rule to be edited;
and the rule editing module is used for modifying the rule to be edited according to the modification information.
7. A warranty rule editing apparatus, characterized by comprising:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the underwriting rule editing method of any one of claims 1 to 5 via execution of the executable instructions.
8. A computer-readable storage medium storing a program, characterized in that the program when executed implements the steps of the underwriting rule editing method of any one of claims 1 to 5.
CN201911159363.9A 2019-11-22 2019-11-22 Nuclear protection rule editing method, system, equipment and storage medium Active CN111104375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911159363.9A CN111104375B (en) 2019-11-22 2019-11-22 Nuclear protection rule editing method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911159363.9A CN111104375B (en) 2019-11-22 2019-11-22 Nuclear protection rule editing method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111104375A CN111104375A (en) 2020-05-05
CN111104375B true CN111104375B (en) 2023-06-09

Family

ID=70420724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911159363.9A Active CN111104375B (en) 2019-11-22 2019-11-22 Nuclear protection rule editing method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111104375B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666087A (en) * 2020-05-28 2020-09-15 平安医疗健康管理股份有限公司 Operation rule updating method and device, computer system and readable storage medium
CN113760267A (en) * 2021-11-09 2021-12-07 深圳市明源云科技有限公司 Conditional rule multiplexing method based on interactive rule engine
CN116957822B (en) * 2023-09-21 2023-12-12 太平金融科技服务(上海)有限公司 Form detection method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677318A (en) * 2008-09-18 2010-03-24 北京启明星辰信息技术股份有限公司 Parallel multi-mode matching method and system with matching rules containing time indicator
CN107656755A (en) * 2016-07-24 2018-02-02 平安科技(深圳)有限公司 The edit methods and device of regulation engine
CN108257012A (en) * 2016-12-28 2018-07-06 平安科技(深圳)有限公司 Core protects rule creation method and device
CN109657044A (en) * 2018-12-14 2019-04-19 北京向上心科技有限公司 Data retrieval method, data reordering method, device, terminal and storage medium
JP2019160213A (en) * 2018-03-16 2019-09-19 株式会社リコー Information processing system, information processing method, and program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040128230A1 (en) * 2002-12-30 2004-07-01 Fannie Mae System and method for modifying attribute data pertaining to financial assets in a data processing system
CA2809315C (en) * 2011-11-24 2014-03-11 Rakuten, Inc. Forming search query word pair thesaurus based on search time and count
US9965547B2 (en) * 2014-05-09 2018-05-08 Camelot Uk Bidco Limited System and methods for automating trademark and service mark searches
US10120944B2 (en) * 2015-07-08 2018-11-06 Baidu Usa Llc System and method for routing data and connecting users based on user interactions with a machine-readable code of content data
US20180181581A1 (en) * 2016-12-23 2018-06-28 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Systems and methods for implementing object storage and fast metadata search using extended attributes
US10726071B2 (en) * 2017-02-02 2020-07-28 Kensho Technologies, Llc Content search engine
US11620713B2 (en) * 2017-08-22 2023-04-04 Accenture Global Solutions Limited Automated regulatory compliance for insurance
JP6955161B2 (en) * 2017-12-15 2021-10-27 富士通株式会社 Information processing program, information processing device and information processing method
CN110019532B (en) * 2018-02-07 2022-03-25 中国平安人寿保险股份有限公司 Rule editing method, terminal equipment and storage medium
CN109670972A (en) * 2018-12-11 2019-04-23 泰康保险集团股份有限公司 Core protects method, apparatus, electronic equipment, storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677318A (en) * 2008-09-18 2010-03-24 北京启明星辰信息技术股份有限公司 Parallel multi-mode matching method and system with matching rules containing time indicator
CN107656755A (en) * 2016-07-24 2018-02-02 平安科技(深圳)有限公司 The edit methods and device of regulation engine
CN108257012A (en) * 2016-12-28 2018-07-06 平安科技(深圳)有限公司 Core protects rule creation method and device
JP2019160213A (en) * 2018-03-16 2019-09-19 株式会社リコー Information processing system, information processing method, and program
CN109657044A (en) * 2018-12-14 2019-04-19 北京向上心科技有限公司 Data retrieval method, data reordering method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN111104375A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN111522816B (en) Data processing method, device, terminal and medium based on database engine
CN111104375B (en) Nuclear protection rule editing method, system, equipment and storage medium
US9135289B2 (en) Matching transactions in multi-level records
US11321421B2 (en) Method, apparatus and device for generating entity relationship data, and storage medium
US20160306612A1 (en) Determining errors and warnings corresponding to a source code revision
US9104709B2 (en) Cleansing a database system to improve data quality
US9569485B2 (en) Optimizing database query
US20170308576A1 (en) Character matching in text processing
US8862556B2 (en) Difference analysis in file sub-regions
US9984108B2 (en) Database joins using uncertain criteria
CN109460363B (en) Automatic testing method and device, electronic equipment and computer readable medium
CN111190905A (en) Database table processing method and device and electronic equipment
US9395966B1 (en) Systems and methods for associating installed software components with software products
US7818288B1 (en) eTOM enhancement of functional requirements modeling
CN110334545A (en) A kind of authority control method based on SQL, device and electronic equipment
US8392892B2 (en) Method and apparatus for analyzing application
CN111796833A (en) Code language conversion method, system, equipment and storage medium
CN111552792A (en) Information query method and device, electronic equipment and storage medium
US9201937B2 (en) Rapid provisioning of information for business analytics
US20200257736A1 (en) Hybrid Datacenter for Dynamic Delta Documentation
CN112650839A (en) Retrieval information optimization method and device
JP4091586B2 (en) Structured document management system, index construction method and program
CN111291130A (en) Hive table consistency checking method, system, equipment and storage medium
CN115577078B (en) Engineering cost audit information retrieval method, system, equipment and storage medium
US11810068B2 (en) System and method to identify low performing parameters of the same content hosted on different platforms

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant