Test policy generation method and device, equipment and storage medium
By receiving data from terminal devices to determine institutional parameters and target data ranges, test policies are automatically generated, solving the problem of low efficiency in test data generation in existing technologies and achieving a more efficient policy generation process.
Patent Information
- Application Number
- CN202410826375.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-08-30
AI Technical Summary
In existing technologies, the test data generation efficiency of insurance policy processing scripts is low, requiring manual configuration of parameters one by one, which leads to inefficiency.
By receiving personnel account data and insurance type data sent by terminal devices, the organization parameters and target data range are determined, and test policies are generated using the target data. This includes calling the login interface, automatic underwriting interface, and simulated payment interface to achieve an automated policy generation process.
This reduces the amount of data that staff need to input on terminal devices, improves the efficiency of generating test policies, makes the generated test policies closer to real policies, and shortens the generation time.
Smart Images

Figure CN118569998A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing and big data technology, and in particular to a test insurance policy generation method, device, equipment and storage medium. Background Art
[0002] With the continuous development of information technology, the processing of insurance documents can now be done directly online, which requires the cloud server to test the processing scripts of insurance documents in advance.
[0003] At present, in the prior art, when testing the processing script of the insurance document, it is necessary to generate corresponding test data. The testing process of different scripts requires different test data corresponding to different processing contents. The generation of test data usually requires manual parameter configuration for different types of processing contents.
[0004] However, the inventors have discovered that the prior art has at least the following technical problems: the current method for generating test data is inefficient. Summary of the invention
[0005] The embodiments of the present application provide a test policy generation method, apparatus, device and storage medium to solve the problem of low efficiency of current test data generation methods.
[0006] In a first aspect, an embodiment of the present application provides a test insurance policy generation method, including: receiving personnel account data and insurance type data sent by a terminal device; determining organizational parameters based on the personnel account data; determining a target data range based on the insurance type data and organizational parameters; obtaining target data corresponding to the target data range; creating an insurance policy to be post-processed based on the target data and insurance type data; and post-processing the insurance policy to be post-processed to obtain a test insurance policy.
[0007] In one possible implementation, the organization parameters are determined based on the personnel account data, including: if the personnel account data is empty, the preset default account data is determined as the target account data; if the personnel account data is not empty, the personnel account data is determined as the target account data; using the target account data, calling the login interface, and obtaining the account attribution data returned by the login interface; reading the preset type of data from the account attribution data to obtain the organization parameters.
[0008] In a possible implementation, a target data range is determined based on insurance type data and institutional parameters, including: determining a first data range based on insurance type data; determining a second data range based on institutional parameters; and determining the intersection of the first data range and the second data range as the target data range.
[0009] In one possible implementation, an insurance policy to be processed is created based on target data and insurance type data, including: searching for the correspondence between the preset insurance type and the billing method based on the insurance type data to obtain the target billing method; determining the insured amount and the premium based on the target billing method and the target data; randomly selecting the target payment method from the preset payment methods, and calculating the payment fee using the target payment method and the premium; and creating the insurance policy to be processed using the target billing method, insured amount, premium and payment fee.
[0010] In a possible implementation, after receiving the personnel account data and insurance type data sent by the terminal device, it also includes: receiving selected data sent by the terminal device, wherein the selected data corresponds to the data type; using the selected data, target data and insurance type data to create an insurance policy to be processed later.
[0011] In one possible implementation, the policy to be post-processed is post-processed to obtain a test policy, including: calling a simulated document signing interface to sign the document of the policy to be post-processed to obtain a signed policy; sending the signed policy to the automatic underwriting interface; receiving the automatic review opinion returned by the automatic underwriting interface; if the automatic review opinion is not passed, sending the signed policy to the manual underwriting interface, and receiving the manual review opinion returned by the manual underwriting interface; if the automatic review opinion or the manual review opinion is passed, calling a simulated payment interface to obtain payment success information returned by the simulated payment interface; and determining the signed policy as a test policy.
[0012] In a possible implementation, before the policy to be post-processed is post-processed and the test policy is obtained, the method further includes: receiving a parameter configuration statement sent by a terminal device; inputting the parameter configuration statement into a natural language understanding model to obtain keywords output by the natural language understanding model, wherein the keywords include insurance type data; using the keywords to search for the correspondence between preset keywords and the insurance information range to obtain the target insurance information range; obtaining at least one target insurance data corresponding to the target insurance information range, wherein the target insurance data corresponds to the data type; determining whether the target insurance data conforms to a preset data relationship based on the data type of the target insurance data and the data value of the target insurance data; if the target insurance data conforms to the preset data relationship, creating a policy to be post-processed based on the target insurance data and the insurance type data; if the target insurance data does not conform to the preset data relationship, re-executing the steps of obtaining the target insurance data to determining whether the target insurance data conforms to the preset data relationship.
[0013] In a second aspect, an embodiment of the present application provides a test insurance policy generation device, including: a data receiving module, used to receive personnel account data and insurance type data sent by a terminal device; a parameter determination module, used to determine the organization parameters based on the personnel account data; a range determination module, used to determine the target data range based on the insurance type data and the organization parameters; a data acquisition module, used to acquire the target data corresponding to the target data range; a form creation module, used to create an insurance policy to be post-processed based on the target data and insurance type data; and an insurance policy processing module, used to post-process the insurance policy to be post-processed to obtain a test insurance policy.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the processor executes the first aspect above and / or various possible implementations of the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0017] The test insurance policy generation method, apparatus, equipment and storage medium provided in the embodiments of the present application receive personnel account data and insurance type data sent by a terminal device, determine the organization parameters based on the personnel account data, determine the target data range based on the insurance type data and the organization parameters, use the target data within the target data range to create a form to be post-processed, and obtain the test insurance policy after post-processing, thereby enabling the staff to generate the test insurance policy by only inputting less content on the terminal device, thereby reducing the time for generating test data. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0019] Figure 1 A schematic diagram of a scenario for testing the insurance policy generation method provided for this application;
[0020] Figure 2 A flowchart of a test policy generation method provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of the structure of a test policy generation device provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0023] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0024] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0025] With the rapid advancement of information technology, the processing of insurance documents has now been fully networked, which not only improves efficiency but also requires cloud servers to conduct rigorous testing of insurance document processing scripts in advance.
[0026] In the prior art, when testing the insurance document processing script, it is necessary to accurately generate test data that matches it. In response to the testing requirements of different scripts, we need to prepare diversified test data that matches the processing content. However, the test data generation process currently still relies heavily on manual work, and parameters need to be configured one by one for different types of processing content to ensure the accuracy and effectiveness of the test. However, the current test data generation method is relatively inefficient.
[0027] In response to the above technical problems, the inventors proposed the following technical concept: by receiving personnel account data and insurance type data sent by the terminal device, determining the organizational parameters according to the personnel account data, using the organizational parameters and insurance type data to select a data range, and using the data within the data range to generate a test policy.
[0028] This application is used in the scenario of generating test insurance policies. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation portals for users to choose to authorize or refuse.
[0029] Figure 1A schematic diagram of the scenario for testing the insurance policy generation method provided in this application. Figure 1 , this scenario includes: terminal device 101 and server 102.
[0030] In a specific implementation process, the terminal device 101 may include a computer, a server, a tablet, a mobile phone, a PDA (Personal Digital Assistant), a notebook, etc., which can input data.
[0031] The server 102 can be implemented using a server or a cluster of multiple servers with more powerful processing capabilities and higher security. If possible, it can also be replaced by a computer, laptop, etc. with stronger computing power.
[0032] The connection between the server 102 and the terminal device 101 can be a wired connection or a wireless connection.
[0033] The terminal device 101 is used to send personnel account data and insurance type data to the server.
[0034] The server 102 is used to select appropriate data using personnel account data and insurance type data to generate a test insurance policy.
[0035] It is understandable that the scenario illustrated in the embodiment of the present application does not constitute a specific limitation on the test policy generation method. In other feasible implementations of the present application, the above architecture may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown may be implemented by hardware, software, or a combination of software and hardware.
[0036] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0037] Figure 2 A flow chart of the test policy generation method provided in the embodiment of the present application. The execution subject of the embodiment of the present application may be Figure 1 The server in the embodiment may also be a computer and / or a mobile phone, etc., and this embodiment does not impose any special restrictions on this. Figure 2 As shown, the method includes:
[0038] S201: Receive personnel account data and insurance type data sent by a terminal device.
[0039] In this step, personnel account data and insurance type data may be received by receiving data packets, messages, files, messages, and the like.
[0040] S202: Determine the organization parameters based on the personnel account data.
[0041] In this step, the process may include searching the organization to which the person belongs based on the personnel account data, thereby finding the organization parameters corresponding to the organization to which the person belongs, or directly using the personnel account data to find the corresponding relationship between the account and the organization parameters to obtain the organization parameters.
[0042] Among them, institutional parameters include data such as provinces, institutions, channels, etc.
[0043] S203: Determine the target data range based on the insurance type data and institutional parameters.
[0044] In this step, it can include determining the insurance type data, finding the correspondence between the preset insurance type and the first data requirement, and obtaining the first data requirement; using the institution parameter, finding the correspondence between the institution and the second data requirement, and obtaining the second data requirement; determining the first data corresponding to the first data requirement, and determining the data in the first data that meets the second data requirement as the target data range.
[0045] For example, the first data requirement for insurance data is: Age 20-50 years old, Medical history: None. The second data requirement is: Age 10-60 years old, Province A. Then the target data range is: Age 20-50 years old, Medical history: None, Province A. For another example, the first data requirement for insurance data is: Legal person type is Class A legal person, Execution status: None. The second data requirement is: Region: Province B. Then the target data range is: Legal person type is Class A legal person, Execution status: None; Region: Province B.
[0046] S204: Acquire target data corresponding to the target data range.
[0047] In this step, the process may include filtering the data using a target data range to obtain filtered data; and randomly reading the target data from the filtered data.
[0048] For example, the current target data range includes 10 categories of data, and each category of data corresponds to a different amount of data. Then, a piece of data is randomly read from each of the 10 categories of data as the target data of this category of data.
[0049] S205: Create an insurance policy to be processed based on the target data and insurance type data.
[0050] In this step, it includes using the target data and insurance type data to generate the data to be written, writing the data to be written into the insurance policy template, and obtaining the form to be processed; it can also include writing the target data into the insurance policy template corresponding to the insurance type data to obtain the insurance policy to be processed.
[0051] S206: Post-process the policy to be post-processed to obtain a test policy.
[0052] In this step, operations such as post-processing the policy signature and authentication may be included to obtain a test policy.
[0053] From the description of the above embodiments, it can be seen that the embodiments of the present application receive the personnel account data and insurance type data sent by the terminal device, determine the organization parameters from the personnel account data, determine the target data range from the insurance type data and the organization parameters, use the target data within the target data range to create a form to be post-processed, and obtain a test policy after post-processing, so that the staff only needs to input less content on the terminal device to generate a test policy, thereby reducing the time for generating test data.
[0054] In a possible implementation, in the above step S202, determining the organization parameters according to the personnel account data includes:
[0055] S2021: If the personnel account data is empty, the preset default account data is determined as the target account data.
[0056] In this step, the personnel account data is empty, which may be that the account field and password field in the received personnel account data do not have corresponding values. The default account data may include the account and password pre-set by the staff, and the default account data may include at least one set of account and password.
[0057] S2022: If the personnel account data is not empty, the personnel account data is determined as the target account data.
[0058] In this step, the personnel account data is not empty, which means that the data corresponding to the account field and password field in the personnel account data have values, and the personnel account data is directly used as the target account data to execute subsequent steps.
[0059] S2023: Use the target account data to call the login interface and obtain the account ownership data returned by the login interface.
[0060] This step may include inputting the target account into the login interface, obtaining a data packet or message returned by the login interface, and obtaining account ownership data in the data packet or message.
[0061] S2024: Read data of a preset type from the account attribution data to obtain institution parameters.
[0062] In this step, the institutional parameters may be obtained according to the data corresponding to each preset field in the account attribution data.
[0063] From the description of the above embodiment, it can be seen that the embodiment of the present application reduces the amount of input data by determining the default account data as the target account data when the personnel account data is empty, and uses the login interface to obtain the account attribution data and read the organization parameters, thereby improving the efficiency of generating test policies.
[0064] In a possible implementation, in the above step S203, the target data range is determined according to the insurance type data and the institution parameters, including:
[0065] S2031: Determine a first data range according to the insurance type data.
[0066] In this step, it may include searching for the correspondence between the insurance type data and the data requirements, obtaining the data requirements corresponding to the insurance type data, and determining the data range that meets the data requirements as the first data range, or determining the data range composed of data that meets the data requirements as the first data range; it may also include directly searching for the correspondence between the insurance type data and the data range to obtain the first data range.
[0067] Among them, the correspondence between insurance type data and data requirements, and the correspondence between insurance type data and data range can be preset by the staff and stored in the format of tables, key-value pairs, etc.
[0068] S2032: Determine a second data range according to the mechanism parameters.
[0069] This step is similar to the above step S2031 and will not be repeated here.
[0070] S2033: Determine the intersection of the first data range and the second data range as the target data range.
[0071] In this step, a data range consisting of data belonging to both the first data range and the second data range is determined as the target data range, which is similar to the process of determining the target data range using the first data requirement and the second data requirement in the above step S203.
[0072] From the description of the above embodiments, it can be seen that the embodiments of the present application achieve the effect of making the data used subsequently meet the requirements for building an insurance policy by determining the data range corresponding to the insurance type data and the institutional parameters, and taking the intersection of the data range as the target data range.
[0073] In a possible implementation, in the above step S205, creating a policy to be post-processed according to the target data and the insurance type data includes:
[0074] S2051: According to the insurance type data, find the correspondence between the preset insurance type and the billing method to obtain the target billing method.
[0075] In this step, the correspondence between insurance types and billing methods can be preset by the staff and stored in a table, key-value pair, etc.
[0076] Specifically, the billing methods may include calculating the premium based on the insured amount, calculating the insured amount based on the premium, fixed insured amount / premium for all scenarios, fixed insured amount / premium for different scenarios, and calculating the insured amount and premium in different segments.
[0077] S2052: Determine the insured amount and premium based on the target billing method and target data.
[0078] In this step, the target billing method and part of the target data may be used to calculate the insured amount and premium.
[0079] Specifically, it may include inputting the target data and target billing method into the insured amount and premium calculation program pre-written by the staff to obtain the insured amount and premium output by the program. The insured amount and premium may be calculated using the target data, such as the gender of the insured, the age of the insured, the insurance period, the payment period, whether there is social security, whether it is the first insurance, the occupation category, the starting age for pension collection, the insurance level, the age of the second insured, and the gender of the second insured.
[0080] Among them, the target data may include insured person data.
[0081] S2053: Randomly select a target payment method from the preset payment methods, and calculate the payment fee using the target payment method and the premium.
[0082] In this step, the preset payment methods may include lump sum payment, annual payment, semi-annual payment, quarterly payment, and monthly payment, and the payment methods may also include the corresponding payment durations for annual payment, semi-annual payment, quarterly payment, and monthly payment.
[0083] S2054: Create an insurance policy for post-processing using the target billing method, insured amount, premium and payment fee.
[0084] In this step, the target billing method, insured amount, premium and payment fee may be written into the corresponding position in the insurance policy template to obtain the insurance policy to be processed.
[0085] From the description of the above embodiments, it can be seen that the embodiments of the present application find the billing method corresponding to the type of insurance, determine the insured amount and premium according to the billing method and target data, use randomly selected payment method and premium to calculate the payment fee, use the target billing method, insured amount, premium and payment fee to create a policy to be processed, and increase the generation speed of test policies while ensuring the rationality of the data.
[0086] In a possible implementation, after receiving the personnel account data and insurance type data sent by the terminal device in the above step S201, the method further includes:
[0087] S220: Receive selected data sent by the terminal device, where the selected data corresponds to the data type.
[0088] In this step, the selected data may be input by the staff on the terminal device, and may include any data in the test policy. The selected data may be received once or multiple times, and may be implemented by receiving data packets, messages, files, etc.
[0089] For example, the received data type is age value, the received data type is insurance amount value, and so on.
[0090] S221: Create an insurance policy to be processed using the selected data, target data and insurance type data.
[0091] In this step, the selected data, target data, and insurance type data may be written into the insurance policy template corresponding to the insurance type data to obtain the insurance policy to be processed. If the selected data and the target data have data of the same data type, the selected data will be used to create the insurance policy to be processed.
[0092] From the description of the above embodiment, it can be seen that the embodiment of the present application creates a policy to be post-processed by adopting selected data, target data and insurance type data, thereby increasing the degree of freedom in generating test policies and facilitating the generation of test policies that meet the requirements of staff.
[0093] In a possible implementation, if the selected data includes the policyholder data, it includes gender, age, and may also include name, ID number, birthday, mobile phone number, address information, work information, contact information, etc., where the ID number is associated with gender and birthday. If the selected data includes gender and age, the selected data is used to generate other associated data. If the data to be generated is not related to the selected data, it is randomly generated.
[0094] In a possible implementation, in the above step S206, post-processing the policy to be post-processed to obtain a test policy includes:
[0095] S2061: Call the simulated document signature interface to sign the policy to be processed and obtain the signed policy.
[0096] In this step, it may include sending the form to be post-processed to the simulated document signature interface and receiving the signed insurance policy returned by the document signature interface; it may also include calling the simulated document signature interface, obtaining the key returned by the simulated document signature interface, using the key to sign the post-processed insurance policy to obtain the signed insurance policy; it may also include calling the simulated document signature interface to query the list of insurance policies that need to be signed, query the document template, sign / read each document one by one, complete the document signature, and obtain the signed insurance policy.
[0097] S2062: Send the signed insurance policy to the automatic underwriting interface.
[0098] In this step, it may include sending it to the automatic underwriting interface in the form of file uploading, or it may include writing the signed policy into a data packet or message and uploading it to the automatic underwriting interface.
[0099] S2063: Receive the automatic review opinion returned by the automatic underwriting interface.
[0100] In this step, the automatic review opinion may also be received by receiving a data packet, a message, etc. The automatic review opinion may include an identification corresponding to the signed insurance policy and an opinion text.
[0101] S2064: If the automatic review opinion is not passed, the signed policy will be sent to the manual underwriting interface, and the manual review opinion returned by the manual underwriting interface will be received.
[0102] In this step, which is similar to the above step S2063, the manual underwriting interface sends the signed policy to the review terminal, and the review terminal returns the manual review opinion through the manual underwriting interface; the implementation process of manual underwriting is to capture the interfaces involved in the actual underwriting operation process, analyze the business logic and parameter data of each step, and automatically connect all interface calls in series in the background system, thereby simulating various stages of manual underwriting.
[0103] S2065: If the automatic review opinion or the manual review opinion is passed, the simulated payment interface is called to obtain the payment success information returned by the simulated payment interface.
[0104] In this step, calling the simulated payment interface may include sending relevant information such as the identification of the signed insurance policy to the simulated payment interface, and obtaining payment success information returned by the simulated payment interface.
[0105] S2066: Identify the signed policy as a test policy.
[0106] This step may include determining the signed policy as a test policy in response to receiving the payment success information.
[0107] Specifically, determining the signed policy as a test policy may include changing the attributes of the signed policy to a test policy.
[0108] From the description of the above embodiments, it can be seen that the embodiments of the present application realize simulated signing, review, and payment of insurance policies by calling the document signature interface, automatic underwriting interface, manual underwriting interface, and simulated payment interface, thereby obtaining a test policy through the entire process of simulated policy generation, making the test policy closer to the real policy.
[0109] In a possible implementation, before the above step S206 of post-processing the post-processed policy to obtain the test policy, the following steps are further included:
[0110] S230: Receive a parameter configuration statement sent by the terminal device.
[0111] In this step, the parameter configuration statement may be a statement input by a staff member on a terminal device.
[0112] S231: Input the parameter configuration statement into the natural language understanding model to obtain keywords output by the natural language understanding model, wherein the keywords include insurance type data.
[0113] In this step, the natural language understanding model can be pre-trained by the staff. In addition to the insurance type data, the keywords can also include other policy-related parameters, such as the above-mentioned personnel account data, age data, region data, etc.
[0114] S232: Using keywords, searching for a correspondence between preset keywords and insurance information ranges, and obtaining a target insurance information range.
[0115] In this step, the correspondence between the keywords and the insurance information range can be preset by the staff and stored in the format of tables, key-value pairs, files, etc.
[0116] For example, the keyword is old age, and the target insurance information range is greater than 60 when the keyword and insurance information range are searched; for another example, the keyword is legal person, and the target insurance information range is corporate legal person and social group legal person when the keyword and insurance information range are searched.
[0117] S233: Acquire at least one target insurance data corresponding to the target insurance information range, wherein the target insurance data corresponds to the data type.
[0118] This step may include randomly selecting target insurance data within the target insurance range.
[0119] S234: Determine whether the target insurance data conforms to a preset data relationship according to the data type of the target insurance data and the data value of the target insurance data.
[0120] In this step, it may include using the data type to find out whether there is a corresponding data relationship, and using the corresponding data relationship to determine whether it is in compliance.
[0121] For example, the data size of the premium should be smaller than the insured amount, the insurance effective time should be earlier than the insurance expiration time, etc.
[0122] S235: If the target insurance data meets the preset data relationship, create an insurance policy to be processed based on the target insurance data and insurance type data.
[0123] In this step, the target insurance data may be written into an insurance template corresponding to the insurance type data to obtain an insurance policy to be processed later.
[0124] S236: If the target insurance data does not conform to the preset data relationship, re-execute the step of obtaining the target insurance data to the step of determining whether the target insurance data conforms to the preset data relationship.
[0125] In this step, the step of acquiring the target insurance data is the above-mentioned step S233, and the step of determining whether the target insurance data conforms to the preset data relationship is the above-mentioned step S235.
[0126] From the description of the above embodiments, it can be seen that the embodiments of the present application parse parameter configuration statements by using a natural language understanding model to obtain keywords, search for the insurance information range corresponding to the keywords, randomly obtain target insurance data corresponding to the target insurance information range, and determine whether the target insurance data conforms to the data relationship corresponding to the data type. Only when it conforms, the insurance policy is created, so that the created insurance policy to be processed is more in line with actual requirements.
[0127] Figure 3 This is a schematic diagram of the structure of the test policy generation device provided in the embodiment of the present application. Figure 3 As shown, the test policy generation device 300 includes: a data receiving module 301, a parameter determination module 302, a range determination module 303, a data acquisition module 304, a form creation module 305, and a policy processing module 306.
[0128] The data receiving module 301 is used to receive the personnel account data and insurance type data sent by the terminal device;
[0129] A parameter determination module 302, for determining an organization parameter based on personnel account data;
[0130] The scope determination module 303 is used to determine the target data scope according to the insurance type data and the institutional parameters;
[0131] A data acquisition module 304 is used to acquire target data corresponding to a target data range;
[0132] The form creation module 305 is used to create a policy to be processed based on the target data and insurance type data;
[0133] The policy processing module 306 is used to post-process the policy to be processed to obtain a test policy.
[0134] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0135] In one possible implementation, the parameter determination module 302 is specifically used to determine the preset default account data as the target account data if the personnel account data is empty; if the personnel account data is not empty, determine the personnel account data as the target account data; use the target account data to call the login interface to obtain the account attribution data returned by the login interface; read the preset type of data from the account attribution data to obtain the organization parameters.
[0136] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0137] In a possible implementation, the range determination module 303 is specifically used to determine a first data range according to insurance type data; determine a second data range according to an institutional parameter; and determine the intersection of the first data range and the second data range as a target data range.
[0138] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0139] In one possible implementation, the form creation module 305 is specifically used to find the corresponding relationship between the preset insurance type and the billing method based on the insurance type data, and obtain the target billing method; determine the insurance amount and premium based on the target billing method and the target data; randomly select the target payment method from the preset payment methods, and calculate the payment fee using the target payment method and premium; use the target billing method, insurance amount, premium and payment fee to create a policy for post-processing.
[0140] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0141] In a possible implementation, the form creation module 305 is further used to receive selected data sent by the terminal device, wherein the selected data corresponds to the data type; and to create an insurance policy to be processed using the selected data, target data and insurance type data.
[0142] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0143] In one possible implementation, the policy processing module 306 is specifically used to call the simulated document signing interface, sign the document for the policy to be processed, and obtain a signed policy; send the signed policy to the automatic underwriting interface; receive the automatic review opinion returned by the automatic underwriting interface; if the automatic review opinion is not passed, send the signed policy to the manual underwriting interface, and receive the manual review opinion returned by the manual underwriting interface; if the automatic review opinion or the manual review opinion is passed, call the simulated payment interface to obtain the payment success information returned by the simulated payment interface; and determine the signed policy as a test policy.
[0144] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0145] In a possible implementation, the test policy generation device 300 further includes: a policy generation module 307 .
[0146] The insurance policy generation module 307 is used to receive the parameter configuration statement sent by the terminal device; input the parameter configuration statement into the natural language understanding model to obtain the keywords output by the natural language understanding model, wherein the keywords include insurance type data; use the keywords to find the correspondence between the preset keywords and the insurance information range to obtain the target insurance information range; obtain at least one target insurance data corresponding to the target insurance information range, wherein the target insurance data corresponds to the data type; determine whether the target insurance data conforms to the preset data relationship based on the data type of the target insurance data and the data value of the target insurance data; if the target insurance data conforms to the preset data relationship, create a policy to be processed based on the target insurance data and the insurance type data; if the target insurance data does not conform to the preset data relationship, re-execute the steps of obtaining the target insurance data to determining whether the target insurance data conforms to the preset data relationship.
[0147] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0148] In order to implement the above embodiment, the embodiment of the present application also provides an electronic device.
[0149] refer to Figure 4, which shows a schematic diagram of the structure of an electronic device 400 suitable for implementing the embodiment of the present application, and the electronic device 400 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (Portable Media Players, PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0150] like Figure 4 As shown, the electronic device 400 may include a processor (such as a central processing unit, a graphics processing unit, etc.) 401, and a memory 402 connected to the processor in communication, which can perform various appropriate actions and processes according to the program stored in the memory 402, the computer execution instruction, or the program loaded from the storage device 408 to the random access memory (Random Access Memory, referred to as RAM) 403, to implement the test policy generation method in any of the above embodiments, wherein the memory may be a read-only memory (Read Only Memory, referred to as ROM). In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the memory 402, and the RAM 403 are connected to each other via a bus 404. The input / output (I / O) interface 405 is also connected to the bus 404.
[0151] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0152] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the memory 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present application are executed.
[0153] It should be noted that the computer-readable storage medium mentioned above in the present application may be a computer-readable signal medium or a computer storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable storage medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0154] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0155] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.
[0156] The computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0157] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0158] The modules involved in the embodiments described in this application may be implemented by software or hardware. The name of a unit does not limit the module itself in some cases. For example, a parameter determination module may also be described as a "mechanism parameter determination module".
[0159] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0160] The present application also provides a computer-readable storage medium, which stores computer execution instructions. When the processor executes the computer execution instructions, the technical solution of the test policy generation method in any of the above-mentioned embodiments is implemented. The implementation principle and beneficial effects are similar to the implementation principle and beneficial effects of the test policy generation method. Please refer to the implementation principle and beneficial effects of the test policy generation method, which will not be repeated here.
[0161] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0162] The present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the technical solution of the test policy generation method in any of the above-mentioned embodiments. Its implementation principle and beneficial effects are similar to the implementation principle and beneficial effects of the test policy generation method. Please refer to the implementation principle and beneficial effects of the test policy generation method, and no further details will be given here.
[0163] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
[0164] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0165] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A test policy generation method, characterized in that: include: Receive personnel account data and insurance type data sent by terminal devices; Determining institutional parameters based on the personnel account data; Determine the target data range according to the insurance type data and the institutional parameters; Acquire target data corresponding to the target data range; Creating an insurance policy to be processed based on the target data and the insurance type data; The policy to be post-processed is post-processed to obtain a test policy.
2. The method according to claim 1, characterized in that Determining the institution parameters according to the personnel account data includes: If the personnel account data is empty, the preset default account data is determined as the target account data; If the personnel account data is not empty, determining the personnel account data as target account data; Using the target account data, calling the login interface, and obtaining the account attribution data returned by the login interface; Data of a preset type is read from the account attribution data to obtain institution parameters.
3. The method according to claim 1, characterized in that Determining the target data range according to the insurance type data and the institution parameters includes: Determining a first data range according to the insurance type data; Determining a second data range according to the mechanism parameter; The intersection of the first data range and the second data range is determined as the target data range.
4. The method according to claim 1, characterized in that: The step of creating a policy to be processed based on the target data and the insurance type data includes: According to the insurance type data, searching for a preset correspondence between insurance types and billing methods to obtain a target billing method; Determine the insured amount and premium according to the target billing method and the target data; Randomly selecting a target payment method from the preset payment methods, and calculating the payment fee using the target payment method and the premium; The target billing method, the insured amount, the premium and the payment fee are used to create an insurance policy to be processed later.
5. The method according to claim 4, characterized in that After the receiving terminal device sends the personnel account data and insurance type data, the method further includes: receiving selected data sent by the terminal device, wherein the selected data corresponds to a data type; The selected data, the target data and the insurance type data are used to create an insurance policy to be processed.
6. The method according to claim 1, characterized in that The post-processing of the to-be-post-processed policy to obtain a test policy includes: Call the simulated document signature interface to sign the policy to be processed, and obtain a signed policy; Sending the signed policy to the automatic underwriting interface; Receiving the automatic review opinion returned by the automatic underwriting interface; If the automatic review opinion is not passed, the signed policy is sent to the manual underwriting interface, and the manual review opinion returned by the manual underwriting interface is received; If the automatic review opinion or the manual review opinion is passed, calling the simulated payment interface to obtain payment success information returned by the simulated payment interface; The signed policy is identified as a test policy.
7. The method according to any one of claims 1 to 6, characterized in that: Before the post-processing of the to-be-post-processed policy to obtain the test policy, the method further includes: Receiving a parameter configuration statement sent by the terminal device; Inputting the parameter configuration statement into a natural language understanding model to obtain keywords output by the natural language understanding model, wherein the keywords include insurance type data; Using the keyword, searching for a correspondence between a preset keyword and an insurance information range, and obtaining a target insurance information range; Acquire at least one target insurance data corresponding to the target insurance information range, wherein the target insurance data corresponds to a data type; Determining whether the target insurance data conforms to a preset data relationship according to the data type of the target insurance data and the data value of the target insurance data; If the target insurance data meets the preset data relationship, then create an insurance policy to be processed based on the target insurance data and the insurance type data; If the target insurance data does not conform to the preset data relationship, the step of acquiring the target insurance data to the step of determining whether the target insurance data conforms to the preset data relationship are re-executed.
8. A test policy generating device, characterized in that: include: A data receiving module, used to receive personnel account data and insurance type data sent by a terminal device; A parameter determination module, used to determine the institution parameters according to the personnel account data; A scope determination module, used to determine the target data scope according to the insurance type data and the institution parameters; A data acquisition module, used to acquire target data corresponding to the target data range; A form creation module, used to create an insurance policy to be processed based on the target data and the insurance type data; The policy processing module is used to post-process the policy to be post-processed to obtain a test policy.
9. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
