Bill generation method, bill generation device, equipment and storage medium

By analyzing the policy configuration table and verifying it, and generating a approval form, the problem of complex and low efficiency of the policy correction process in the existing technology is solved, and an efficient policy correction process is achieved.

CN119398941APending Publication Date: 2025-02-07CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411550990.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

In the existing technology, the insurance policy correction process is complex, the processing cycle is long, the efficiency is low, which affects the user experience.

Method used

By obtaining the policy correction request, the policy configuration table is parsed to obtain structural rules, correction rules and assembly rules, and perform configuration structure and numerical verification. If passed, information replacement is performed based on the preset batch order model to generate a batch order.

Benefits of technology

The policy correction can be achieved without changing the code, reducing processing flow, improving efficiency and saving labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119398941A_ABST
    Figure CN119398941A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a batch order generation method, a batch order generation device, equipment and a storage medium, and relates to the field of artificial intelligence. The method comprises the following steps: acquiring insurance policy configuration information and insurance policy service information; determining an insurance policy configuration table corresponding to the insurance policy according to the insurance policy service information, and analyzing the insurance policy configuration table to obtain an insurance policy structure rule, an insurance policy correction rule and an insurance policy assembly rule corresponding to the insurance policy; based on the insurance policy structure rule and the insurance policy correction rule, performing configuration structure verification and configuration value verification on the insurance policy configuration information to obtain a configuration structure verification result and a configuration value verification result; and if the configuration structure verification result and the configuration numerical value verification result are both successful verification, performing information replacement processing on a preset batch order model according to the insurance policy configuration information based on an insurance policy assembly rule, and generating a batch order corresponding to the insurance policy. The embodiment of the invention aims to reduce the processing flow of insurance policy correction, improve the insurance policy correction efficiency and save the labor cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence, and in particular to a batch order generation method, a batch order generation device, a computer device and a computer-readable storage medium. Background Art

[0002] With the continuous improvement of the insurance system, after the insurance policy is issued, during the insurance period, if the insured finds that there are errors or omissions in the declaration at the time of insurance, or due to new or unexpected circumstances, the content recorded in the insurance policy is inconsistent with the actual situation, he or she may apply for a revision of the policy information, thereby supplementing or changing the content of the original insurance policy to generate a revision order so that the insured can obtain insurance coverage that is appropriate to the actual situation.

[0003] At present, scripts are usually used to modify policy data, or revisions and maintenance are performed following version releases. This method has a complex policy revision process, a long processing cycle, poor applicability, and low efficiency, which affects user experience. Summary of the invention

[0004] The present application provides a method for generating a policy, a device for generating a policy, a computer device and a computer-readable storage medium, which aim to reduce the processing flow of policy revision, improve the efficiency of policy revision and save labor costs.

[0005] To achieve the above purpose, the present application provides a method for generating a batch order, the method comprising:

[0006] Obtaining a policy modification request, wherein the policy modification request includes policy configuration information and policy business information;

[0007] Determine the policy configuration table corresponding to the policy according to the policy business information, and parse the policy configuration table to obtain the policy structure rules, policy modification rules and policy assembly rules corresponding to the policy;

[0008] Based on the policy structure rule and the policy revision rule, the policy configuration information is subjected to configuration structure verification and configuration value verification to obtain configuration structure verification results and configuration value verification results;

[0009] If both the configuration structure verification result and the configuration value verification result are successful, then based on the policy assembly rules, the preset batch order model is replaced with information according to the policy configuration information to generate a batch order corresponding to the policy.

[0010] To achieve the above purpose, the present application also provides a batch order generating device, comprising:

[0011] An approval request acquisition module is used to acquire an insurance policy approval request, wherein the insurance policy approval request includes insurance policy configuration information and insurance policy business information;

[0012] A rule generation module is used to determine the policy configuration table corresponding to the policy according to the policy business information, and parse the policy configuration table to obtain the policy structure rules, policy modification rules and policy assembly rules corresponding to the policy;

[0013] A rule verification module, used to perform configuration structure verification and configuration value verification on the policy configuration information based on the policy structure rule and the policy revision rule, and obtain configuration structure verification results and configuration value verification results;

[0014] The batch order generation module is used to replace the information of the preset batch order model according to the insurance policy configuration information based on the insurance policy assembly rules if the configuration structure verification result and the configuration value verification result are both successful, so as to generate a batch order corresponding to the insurance policy.

[0015] To achieve the above purpose, the present application also provides a batch order generating device, comprising:

[0016] An approval request acquisition module is used to acquire an insurance policy approval request, wherein the insurance policy approval request includes insurance policy configuration information and insurance policy business information;

[0017] A rule generation module is used to determine the policy configuration table corresponding to the policy according to the policy business information, and parse the policy configuration table to obtain the policy structure rules, policy modification rules and policy assembly rules corresponding to the policy;

[0018] A rule verification module, used to perform configuration structure verification and configuration value verification on the policy configuration information based on the policy structure rule and the policy revision rule, and obtain configuration structure verification results and configuration value verification results;

[0019] The batch order generation module is used to replace the information of the preset batch order model according to the insurance policy configuration information based on the insurance policy assembly rules if the configuration structure verification result and the configuration value verification result are both successful, so as to generate a batch order corresponding to the insurance policy.

[0020] In addition, to achieve the above-mentioned purpose, the present application also provides a computer device, which includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and implement any one of the batch order generation methods provided in the embodiments of the present application when executing the computer program.

[0021] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor enables the processor to implement any one of the batch order generation methods provided in the embodiments of the present application.

[0022] The batch order generation method, batch order generation device, computer equipment and computer-readable storage medium disclosed in the embodiment of the present application determine the policy configuration table corresponding to the policy according to the policy business information, and parse the policy configuration table to obtain the policy structure rules, policy revision rules and policy assembly rules corresponding to the policy; based on the policy structure rules and policy revision rules, perform configuration structure verification and configuration value verification on the policy configuration information to obtain the configuration structure verification result and configuration value verification result; if the configuration structure verification result and the configuration value verification result are both successful, then based on the policy assembly rules, perform information replacement processing on the preset batch order model according to the policy configuration information to generate the batch order corresponding to the policy. In this way, the policy can be revised without changing the code, reducing the processing flow of policy revision, improving the efficiency of policy revision and saving labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 It is a scenario diagram of a batch order generation method provided in an embodiment of the present application;

[0025] Figure 2 It is a flowchart of a method for generating a batch order provided in an embodiment of the present application;

[0026] Figure 3 A flowchart of the working steps of a batch order generation method provided in this application.

[0027] Figure 4 It is a schematic block diagram of a batch order generating device provided in one embodiment of the present application;

[0028] Figure 5 It is a schematic block diagram of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0030] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor do they have to be executed in the order described. For example, some operations / steps can also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions. In addition, although the functional modules are divided in the device schematic, in some cases, the module division can be different from that in the device schematic.

[0031] The term "and / or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0032] For Internet policy issuance systems such as the Pangolin system, there is a need to modify some policies due to business changes, errors in partner transmission, etc. In the prior art, scripts are usually used to modify data or to perform modification and maintenance following version releases to handle such needs.

[0033] However, the methods used in the existing technology have a long processing cycle and are only applicable to specific batches of insurance policies provided by institutional businesses. Each time a revision is required, the above process must be rescheduled and repeated, consuming a lot of time for business personnel and system development and maintenance personnel.

[0034] The present application proposes a method for generating a batch form, a device for generating a batch form, a computer device and a computer-readable storage medium, thereby enabling the modification of insurance policies without changing the code, reducing the processing flow of insurance policy modification, improving the efficiency of insurance policy modification and saving labor costs.

[0035] The method can be applied to a server, and of course can also be applied to a terminal device, to generate a corresponding image classification model, wherein the terminal device may include a fixed terminal such as a mobile phone, a tablet computer, a personal digital assistant (PDA), etc. The server can be, for example, a separate server or a server cluster. However, for ease of understanding, the following embodiments will be described in detail with a batch order generation method applied to a server.

[0036] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0037] like Figure 1 As shown, the batch order generation method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The application environment includes a terminal device 110 and a server 120, wherein the terminal device 110 can communicate with the server 120 through a network. Specifically, the server 120 obtains the policy configuration information and the policy business information; determines the policy configuration table corresponding to the policy according to the policy business information, and parses the policy configuration table to obtain the policy structure rules, policy modification rules and policy assembly rules corresponding to the policy; based on the policy structure rules and the policy modification rules, performs configuration structure verification and configuration value verification on the policy configuration information to obtain the configuration structure verification result and the configuration value verification result; if the configuration structure verification result and the configuration value verification result are both successful, then based on the policy assembly rule, the preset batch order model is replaced with information according to the policy configuration information to generate a batch order corresponding to the policy, and the generated batch order is sent to the terminal device 110. Among them, the server 120 can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal device 110 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0038] See also Figure 2 , Figure 2 This is a schematic flow chart of a method for generating a policy in accordance with an embodiment of the present application. The method can be applied to a server, thereby enabling the policy to be modified without changing the code, thereby reducing the processing flow of the policy modification, improving the efficiency of the policy modification, and saving labor costs.

[0039] like Figure 2 As shown, the batch order generation method includes steps S101 to S104.

[0040] S101. Obtain a policy modification request, where the policy modification request includes policy configuration information and policy business information.

[0041] Among them, the policy modification request can be initiated by the user when the policy needs to be modified. The policy modification request can specifically include policy configuration information and policy business information. The policy configuration information can include where the policy needs to be configured or modified, as well as the content of the configuration or modification, etc. The policy business information can include a partner code and a product code, etc. The partner code is used to indicate the partner corresponding to the policy, and the product code is used to indicate the product number corresponding to the policy business, etc.

[0042] Exemplarily, a policy modification request can be obtained from a partner user. After obtaining the policy modification request, it can be determined first whether the policy modification request includes policy configuration information and policy business information. If it includes policy configuration information and policy business information, then proceed with subsequent batch order generation steps. Otherwise, the corresponding batch order may not be generated, and computer processing resources will be wasted.

[0043] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0044] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0045] S102: Determine the policy configuration table corresponding to the policy according to the policy business information, and parse the policy configuration table to obtain the policy structure rules, policy revision rules and policy assembly rules corresponding to the policy.

[0046] Among them, the policy configuration table can be a configuration table preset in the Pangolin system, which is used to record the policy structure rules, policy modification rules and policy assembly rules corresponding to the policy. Generally, different policy businesses correspond to different policy configuration tables. The policy structure rules can be used to represent the basic rules of the message structure in the policy. The policy modification rules can be used to represent the basic rules of modification in the policy. The policy assembly rules can be used to represent the basic rules of attribute replacement in the policy.

[0047] In some embodiments, the insurance policy business information is parsed to obtain the customer code information and product code information corresponding to the insurance policy; the insurance policy category of the insurance policy is determined according to the customer code information and the product code information; and the insurance policy configuration table corresponding to the insurance policy is determined according to the insurance policy category. In this way, the insurance policy configuration table corresponding to the insurance policy can be accurately determined from the Pangolin system.

[0048] The customer code information is used to indicate the customer corresponding to the policy, and each customer has a different customer code. The product code information is used to indicate the insurance product corresponding to the policy, and each insurance product has a different product code.

[0049] Specifically, the insurance policy business information is parsed to obtain the insurance policy information included in the insurance policy business information, and the corresponding customer coding information and product coding information are extracted from the insurance policy information; the insurance policy category corresponding to the insurance policy is queried in the system based on the customer coding information and the product coding information; and the insurance policy configuration table corresponding to the insurance policy category is determined based on the insurance policy category as the insurance policy configuration table of the insurance policy.

[0050] Exemplarily, the insurance policy business information is parsed to obtain the insurance policy information included in the insurance policy business information, and the corresponding customer code information A01 and product code information B02 are extracted from the insurance policy information; according to the customer code information and the product code information, it is queried in the system that the customer corresponding to A01 is customer a, and the product corresponding to B02 is the auto insurance product, and then the policy category corresponding to the policy is determined according to customer a and the auto insurance product, so as to determine whether the insurance policy of this category supports modification; if the insurance policy of this category supports modification, the insurance policy configuration table corresponding to the insurance policy category is determined according to the insurance policy category as the insurance policy configuration table of the insurance policy.

[0051] Exemplarily, whether policies of this category support modification can be determined based on the policy category to which the policy corresponds; if policies of this category support modification, the policy configuration table corresponding to the policy category is determined by querying the policy category as the policy configuration table of the policy; if policies of this category do not support modification, information indicating that the policy does not support modification is returned to the corresponding partner.

[0052] S103. Based on the insurance policy structure rule and the insurance policy revision rule, perform configuration structure verification and configuration value verification on the insurance policy configuration information to obtain configuration structure verification results and configuration value verification results.

[0053] The configuration structure verification result is used to indicate the verification result of the message structure in the insurance policy, and the configuration structure verification result may include verification success and verification failure. The configuration value verification result is used to indicate the verification result of the modified value in the insurance policy, and the configuration value verification result may include verification success and verification failure.

[0054] In some embodiments, field information is extracted from the policy configuration information to obtain the policy attributes and their corresponding policy attribute values; based on the policy structure rules, the policy attributes are subjected to configuration structure verification to obtain configuration structure verification results; based on the policy revision rules, the policy attribute values ​​are subjected to configuration value verification to obtain configuration value verification results. In this way, the corresponding configuration structure verification results and configuration value verification results can be accurately generated, so that the corresponding revision orders of the policies can be accurately generated later.

[0055] Among them, the policy configuration information may include message information, and the policy attributes may include the configuration items that need to be revised in the policy, such as the policy amount, the insured person of the policy, the effective period of the policy, etc. The policy attribute value is the corresponding value in each policy attribute, that is, the configuration value corresponding to the configuration item that needs to be revised, such as the policy amount is 1 million, the insured person of the policy is user A, and the effective period of the policy is 10 years.

[0056] Specifically, field information is extracted from the message information in the policy configuration information to obtain field information corresponding to the policy attributes, and the field information is parsed to obtain the policy attributes of the policy and the policy attribute values ​​corresponding to each policy attribute; a configuration structure check is performed on each policy attribute based on the policy structure rules to obtain a configuration structure check result; a configuration value check is performed on the attribute value corresponding to each policy attribute based on the policy revision rules to obtain a configuration value check result.

[0057] Exemplarily, field information is extracted from the message information in the policy configuration information to obtain field information corresponding to policy attributes, including non-null check, length check, enumeration value check, field check that supports modification, and field check that does not support modification. The field information is then parsed to obtain policy attributes of the policy and policy attribute values ​​corresponding to each policy attribute; a configuration structure check is performed on each policy attribute based on the policy structure rules to obtain a configuration structure check result; a configuration value check is performed on the attribute value corresponding to each policy attribute based on the policy modification rules to obtain a configuration value check result.

[0058] In some embodiments, the policy attributes are parsed to obtain string information corresponding to the policy attributes; whether the policy attributes comply with the policy structure rules is determined based on the string information; if the policy attributes comply with the policy structure rules, the configuration structure verification result is determined to be a successful configuration. In this way, it can be accurately determined whether the policy revision complies with the rules, thereby quickly and accurately determining the configuration structure verification result.

[0059] The string information is the string included in the field information corresponding to each policy attribute, and the string can be a json string.

[0060] Specifically, the policy configuration information can be configured as a kv structure, where the key is the policy attribute and the value is a json string. The json string can be used to determine whether the policy attribute complies with the policy structure rules; if the policy attribute complies with the policy structure rules, the configuration structure verification result is determined to be a successful configuration; if the policy attribute does not comply with the policy structure rules, the configuration structure verification result is determined to be an unsuccessful configuration.

[0061] For example, the json string can be parsed to obtain structural verification rules such as whether the policy attribute can be empty, whether the policy supports modification, the length limit of the policy attribute, and the enumeration of policy optional values. For example, the structural verification rules such as whether the policy attribute can be empty, the policy supports modification, the length limit of the policy attribute is 10 bytes, and the enumeration of policy optional values ​​includes 1, 3, and 5 can be obtained. If all the policy attributes meet the above rules, such as the length of all policy attributes is within 10 bytes, and the policy attributes also meet the other rules, then the configuration structure verification result is determined to be successfully configured.

[0062] For example, the json string can be parsed to obtain structural verification rules such as whether the policy attribute can be empty, whether the policy supports modification, the length limit of the policy attribute, and the enumeration of optional policy values. For example, the structural verification rules such as the policy attribute cannot be empty, the policy supports modification, the length limit of the policy attribute is 10 bytes, and the optional policy value enumeration includes 1, 3, and 5 are obtained. If there are empty attributes in the policy attribute, or the length of the policy attribute exceeds 10 bytes, then the configuration structure verification result is determined to be unsuccessful.

[0063] In some embodiments, the string configuration rule and the preset character information corresponding to the policy attribute are determined according to the policy structure rule; based on the string configuration rule, the string information is segmented and screened to obtain the target character information corresponding to the policy attribute; it is determined whether the target character information is the same as the preset character information; if the target character information is the same as the preset character information, it is determined that the policy attribute complies with the policy structure rule. In this way, it can be accurately determined whether the policy attribute complies with the policy structure rule.

[0064] The string configuration rule may represent the policy attributes corresponding to each position in the string, for example, the policy attribute represented by the first two bytes of the string is the policy amount, and the policy attribute represented by the 3rd to 4th bytes of the string is the policy insured, etc. The preset character information may be the character information corresponding to the policy attribute specified in the policy structure rule, and the target character information may be the character information corresponding to the revised policy attribute.

[0065] Specifically, determine whether the target character information is the same as the preset character information; if the target character information is the same as the preset character information, determine that the policy attributes comply with the policy structure rules; if the target character information is not the same as the preset character information, determine that the policy attributes do not comply with the policy structure rules.

[0066] Exemplarily, according to the policy structure rule, the string configuration rule is determined as follows: the policy attribute represented by the first two bytes of the string is the policy amount, and the preset character information corresponding to the policy amount is fk, for example, used to indicate that the policy amount cannot be empty; based on the string configuration rule, the string information is segmented and filtered to obtain the target character information corresponding to the policy attribute, that is, the target character information is the first two bytes in the string, which is also fk; at this time, it can be determined that the target character information is the same as the preset character information, and then it is determined that the policy attribute complies with the policy structure rule.

[0067] In some embodiments, the policy modification rule is configured into a preset expression parser to obtain a target expression parser; based on the target expression parser, the policy attribute value is parsed to generate the configuration value verification result. Thus, the configuration value verification result can be accurately determined by the target expression parser.

[0068] The preset expression parser may be a Spring EL expression for which no policy modification rules are registered, and the target expression parser may be a Spring EL expression for which policy modification rules are registered.

[0069] Specifically, the policy modification rules can be configured as a json structure, which includes the verification rules and the tool class methods used in the verification rules.

[0070] Exemplarily, reflection is used to register the tool class method in the json structure to the context of the Spring ELL expression to obtain the target expression parser; by setting the Spring EL context variable, the attribute value corresponding to the passed-in policy attribute is set to the context variable in the policy modification rule, and the target expression parser is used to parse and execute the EL expression, thereby generating the corresponding configuration value verification result.

[0071] Exemplarily, reflection is used to register the tool class method in the json structure to the context of the Spring ELL expression to obtain the target expression parser. For example, when the target expression parser is configured to limit the policy amount to 1 million, the amount value corresponding to the revised policy amount is set to 2 million, for example, and is set to the context variable in the policy modification rule. The target expression parser is used to parse and execute the EL expression. Since the amount value corresponding to the revised policy amount exceeds the limit amount of the policy modification rule, the corresponding configuration value verification result is generated as verification failure.

[0072] S104. If both the configuration structure verification result and the configuration value verification result are successful, based on the insurance policy assembly rules and according to the insurance policy configuration information, the preset batch order model is replaced with information to generate a batch order corresponding to the insurance policy.

[0073] Among them, the insurance policy assembly rules can be used to represent the basic rules for replacing attributes in the insurance policy. The preset batch order model can be a template model of the batch order, and the configuration attributes in the insurance policy can be replaced in the batch order model to generate the corresponding batch order.

[0074] In some embodiments, the configuration path corresponding to the policy attribute is obtained; based on the target expression parser, the preset batch order model is subjected to information replacement processing according to the policy attribute and its corresponding configuration path, and a batch order corresponding to the policy is generated. In this way, the batch order corresponding to the policy can be accurately generated.

[0075] The configuration path may be a path for obtaining values ​​of policy attributes, and the policy assembly rule may be configured as a kv structure, where the key includes the policy attribute name and type, and the value is a path for obtaining values ​​from the policy attribute value.

[0076] Specifically, the configuration path corresponding to the policy attribute is obtained; the Spring EL expression is executed, and the obtained policy attribute value is replaced with the corresponding policy attribute value in the preset batch order model, so as to generate a batch order corresponding to the policy.

[0077] In some embodiments, based on the policy structure rule and the policy amendment rule, the policy configuration information is subjected to configuration structure verification and configuration value verification, and after obtaining the configuration structure verification result and the configuration value verification result, if the configuration structure verification result or the configuration value verification result is verification failure, the policy amendment request is intercepted, and the interception reason of the policy is generated. In this way, the reason why the amendment cannot be generated can be accurately fed back.

[0078] For example, if the configuration structure verification result is verification failure, the specific reason for the problem in the configuration structure will be displayed, such as the policy attribute cannot be empty, etc. If the configuration value verification result is verification failure, the specific reason for the problem in the configuration value will be displayed, such as the policy amount cannot exceed the preset amount value, etc.

[0079] In some embodiments, Figure 3 As shown, the method for generating a batch order proposed in an embodiment of the present application is introduced from the overall process of batch order generation, including S301-S307.

[0080] S301, the upstream system initiates a correction request.

[0081] S302: Query the revision configuration table to determine whether revision is supported.

[0082] S303: Request message structure verification.

[0083] S304: Check the correction rules.

[0084] S305, modify and replace the build.

[0085] S306. Return the result of successful correction.

[0086] S307, abnormal return prompt information.

[0087] The batch order generation method disclosed in the embodiment of the present application determines the policy configuration table corresponding to the policy according to the policy business information, and parses the policy configuration table to obtain the policy structure rules, policy revision rules and policy assembly rules corresponding to the policy; based on the policy structure rules and policy revision rules, performs configuration structure verification and configuration value verification on the policy configuration information to obtain the configuration structure verification result and configuration value verification result; if the configuration structure verification result and the configuration value verification result are both successful, then based on the policy assembly rules, performs information replacement processing on the preset batch order model according to the policy configuration information to generate a batch order corresponding to the policy. In this way, after receiving the policy revision request, the corresponding configuration can be added, and after the test joint debugging is passed, the revision function can be provided to the partner to realize business empowerment, and the policy revision can be realized without changing the code, reducing the processing flow of the policy revision, improving the efficiency of the policy revision, and saving labor costs.

[0088] See also Figure 4 , Figure 4 It is a schematic block diagram of a batch order generation device provided in an embodiment of the present application. The batch order generation device can be configured in a server to execute the aforementioned batch order generation method.

[0089] like Figure 4As shown, the batch order generating device 300 includes: a batch order request obtaining module 301, a rule generating module 302, a rule verifying module 303 and a batch order generating module 304.

[0090] The policy modification request acquisition module 201 is used to acquire a policy modification request, wherein the policy modification request includes policy configuration information and policy business information;

[0091] A rule generation module 302 is used to determine the policy configuration table corresponding to the policy according to the policy business information, and parse the policy configuration table to obtain the policy structure rules, policy modification rules and policy assembly rules corresponding to the policy;

[0092] A rule verification module 303 is used to perform configuration structure verification and configuration value verification on the policy configuration information based on the policy structure rule and the policy modification rule, and obtain configuration structure verification results and configuration value verification results;

[0093] The batch order generation module 304 is used to replace the information of the preset batch order model according to the insurance policy configuration information based on the insurance policy assembly rules if the configuration structure verification result and the configuration value verification result are both successful, so as to generate a batch order corresponding to the insurance policy.

[0094] In some embodiments, the rule generation module 302 is also used to parse the insurance policy business information to obtain the customer coding information and product coding information corresponding to the insurance policy; determine the policy category of the insurance policy based on the customer coding information and the product coding information; and determine the policy configuration table corresponding to the insurance policy based on the policy category.

[0095] In some embodiments, the rule verification module 303 is also used to extract field information from the policy configuration information to obtain the policy attributes of the policy and their corresponding policy attribute values; based on the policy structure rules, perform configuration structure verification on the policy attributes to obtain configuration structure verification results; based on the policy modification rules, perform configuration value verification on the policy attribute values ​​to obtain configuration value verification results.

[0096] In some embodiments, the rule verification module 303 is also used to parse the policy attributes to obtain string information corresponding to the policy attributes; determine whether the policy attributes comply with the policy structure rules based on the string information; if the policy attributes comply with the policy structure rules, determine that the configuration structure verification result is a successful configuration.

[0097] In some embodiments, the rule verification module 303 is also used to determine the character string configuration rules and the preset character information corresponding to the policy attributes according to the policy structure rules; based on the character string configuration rules, the character string information is segmented and filtered to obtain the target character information corresponding to the policy attributes; determine whether the target character information is the same as the preset character information; if the target character information is the same as the preset character information, it is determined that the policy attributes comply with the policy structure rules.

[0098] In some embodiments, the rule verification module 303 is also used to configure the insurance policy modification rules into a preset expression parser to obtain a target expression parser; based on the target expression parser, the insurance policy attribute values ​​are parsed to generate the configuration value verification result.

[0099] In some embodiments, the batch order generation module 304 is also used to obtain the configuration path corresponding to the policy attributes; based on the target expression parser, the preset batch order model is subjected to information replacement processing according to the policy attributes and their corresponding configuration paths to generate a batch order corresponding to the policy.

[0100] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0101] The method and apparatus of the present application can be used in many general or special computing system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer terminal devices, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices.

[0102] Exemplarily, the above method and apparatus may be implemented in the form of a computer program. The computer program may be implemented in Figure 5 Runs on the computer device shown.

[0103] See also Figure 5 , Figure 5 1 is a schematic diagram of a computer device provided in an embodiment of the present application. The computer device may be a server.

[0104] like Figure 5 As shown, the computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory may include a volatile storage medium, a non-volatile storage medium and an internal memory.

[0105] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any batch order generation method.

[0106] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.

[0107] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any batch order generation method.

[0108] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that the structure of the computer device is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0109] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0110] Among them, in some embodiments, the processor is used to run a computer program stored in a memory to implement the following steps: obtain a policy modification request, the policy modification request including policy configuration information and policy business information; determine the policy configuration table corresponding to the policy based on the policy business information, and parse the policy configuration table to obtain the policy structure rules, policy modification rules and policy assembly rules corresponding to the policy; based on the policy structure rules and the policy modification rules, perform configuration structure verification and configuration value verification on the policy configuration information to obtain configuration structure verification results and configuration value verification results; if both the configuration structure verification results and the configuration value verification results are successful, then based on the policy assembly rules, perform information replacement processing on the preset batch order model according to the policy configuration information to generate a batch order corresponding to the policy.

[0111] In some embodiments, the processor is also used to parse the insurance policy business information to obtain customer coding information and product coding information corresponding to the insurance policy; determine the policy category of the insurance policy based on the customer coding information and the product coding information; and determine the policy configuration table corresponding to the insurance policy based on the policy category.

[0112] In some embodiments, the processor is also used to extract field information from the policy configuration information to obtain the policy attributes of the policy and their corresponding policy attribute values; based on the policy structure rules, perform configuration structure verification on the policy attributes to obtain configuration structure verification results; based on the policy revision rules, perform configuration value verification on the policy attribute values ​​to obtain configuration value verification results.

[0113] In some embodiments, the processor is also used to parse the policy attributes to obtain string information corresponding to the policy attributes; determine whether the policy attributes comply with the policy structure rules based on the string information; if the policy attributes comply with the policy structure rules, determine that the configuration structure verification result is a successful configuration.

[0114] In some embodiments, the processor is also used to determine the string configuration rules and the preset character information corresponding to the policy attributes according to the policy structure rules; based on the string configuration rules, the string information is segmented and filtered to obtain the target character information corresponding to the policy attributes; determine whether the target character information is the same as the preset character information; if the target character information is the same as the preset character information, it is determined that the policy attributes comply with the policy structure rules.

[0115] In some embodiments, the processor is further used to configure the policy modification rules into a preset expression parser to obtain a target expression parser; based on the target expression parser, the policy attribute values ​​are parsed to generate the configuration value verification result.

[0116] In some embodiments, the processor is also used to obtain the configuration path corresponding to the policy attributes; based on the target expression parser, the preset batch order model is subjected to information replacement processing according to the policy attributes and their corresponding configuration paths to generate a batch order corresponding to the policy.

[0117] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions, and when the program instructions are executed, any one of the batch order generation methods provided in the embodiments of the present application is implemented.

[0118] The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the computer device.

[0119] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0120] The present invention refers to a new application model of computer technologies such as storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. of the blockchain language model. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, platform product service layer, and application service layer.

[0121] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for generating a batch order, characterized in that: The method comprises: Obtaining a policy modification request, wherein the policy modification request includes policy configuration information and policy business information; Determine the policy configuration table corresponding to the policy according to the policy business information, and parse the policy configuration table to obtain the policy structure rules, policy modification rules and policy assembly rules corresponding to the policy; Based on the policy structure rule and the policy revision rule, the policy configuration information is subjected to configuration structure verification and configuration value verification to obtain configuration structure verification results and configuration value verification results; If both the configuration structure verification result and the configuration value verification result are successful, then based on the insurance policy assembly rules, the preset batch order model is replaced with information according to the insurance policy configuration information to generate a batch order corresponding to the insurance policy.

2. The method according to claim 1, characterized in that The step of determining the insurance policy configuration table corresponding to the insurance policy according to the insurance policy business information includes: Parsing the insurance policy business information to obtain the customer code information and product code information corresponding to the insurance policy; Determine the policy category of the insurance policy according to the customer coding information and the product coding information; Determine the insurance policy configuration table corresponding to the insurance policy according to the insurance policy category.

3. The method according to claim 1, characterized in that The configuration structure verification and configuration value verification are performed on the policy configuration information based on the policy structure rule and the policy revision rule to obtain the configuration structure verification result and the configuration value verification result, including: Extracting field information from the policy configuration information to obtain policy attributes of the policy and corresponding policy attribute values; Based on the policy structure rule, performing configuration structure verification on the policy attribute to obtain a configuration structure verification result; Based on the policy revision rule, the policy attribute value is verified by configuration value to obtain a configuration value verification result.

4. The method according to claim 3, characterized in that The configuration structure verification of the policy attributes based on the policy structure rule to obtain the configuration structure verification result includes: Parsing the policy attributes to obtain character string information corresponding to the policy attributes; Determining whether the policy attribute complies with the policy structure rule according to the character string information; If the policy attributes comply with the policy structure rules, the configuration structure verification result is determined to be a successful configuration.

5. The method according to claim 4, characterized in that The determining, according to the character string information, whether the policy attribute complies with the policy structure rule includes: Determine the character string configuration rule and the preset character information corresponding to the policy attribute according to the policy structure rule; Based on the string configuration rule, the string information is segmented and filtered to obtain target character information corresponding to the policy attribute; Determining whether the target character information is the same as the preset character information; If the target character information is the same as the preset character information, it is determined that the policy attribute complies with the policy structure rule.

6. The method according to claim 3, characterized in that The step of performing configuration value verification on the policy attribute value based on the policy revision rule to obtain a configuration value verification result includes: Configuring the policy revision rule into a preset expression parser to obtain a target expression parser; Based on the target expression parser, the policy attribute value is parsed and processed to generate the configuration value verification result.

7. The method according to claim 6, characterized in that After extracting field information from the policy configuration information to obtain the policy attributes of the policy and the corresponding policy attribute values, the method further includes: Get the configuration path corresponding to the policy attribute; Based on the insurance policy assembly rule, performing information replacement processing on the preset batch order model according to the insurance policy configuration information to generate a batch order corresponding to the insurance policy includes: Based on the target expression parser, the preset batch order model is subjected to information replacement processing according to the insurance policy attributes and the corresponding configuration path to generate a batch order corresponding to the insurance policy.

8. A batch order generating device, characterized in that: include: An approval request acquisition module is used to acquire an insurance policy approval request, wherein the insurance policy approval request includes insurance policy configuration information and insurance policy business information; A rule generation module is used to determine the policy configuration table corresponding to the policy according to the policy business information, and parse the policy configuration table to obtain the policy structure rules, policy modification rules and policy assembly rules corresponding to the policy; A rule verification module, used to perform configuration structure verification and configuration value verification on the policy configuration information based on the policy structure rule and the policy revision rule, and obtain configuration structure verification results and configuration value verification results; The batch order generation module is used to replace the information of the preset batch order model according to the insurance policy configuration information based on the insurance policy assembly rules if the configuration structure verification result and the configuration value verification result are both successful, so as to generate a batch order corresponding to the insurance policy.

9. A computer device, characterized in that: The computer device includes a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program and implement, when executing the computer program: A method for generating a batch order as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the batch order generation method according to any one of claims 1 to 7.