Data processing method, device, electronic equipment and storage medium for insurance business

By building the control layer, service layer, data access layer and bottom layer in the system architecture of the insurance industry, we can quickly obtain and process insurance business data, solve the problem of slow data calculation speed in the insurance industry, and improve market response and development efficiency.

CN112506588BActive Publication Date: 2024-10-22CHINA PING AN LIFE INSURANCE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011415030.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-07
Publication Date
2024-10-22
Estimated Expiration
2040-12-07

AI Technical Summary

Technical Problem

In the insurance industry, when customers purchase insurance, the calculation speed is slow when they need to obtain various insurance business data, resulting in low market response and development efficiency.

Method used

Build the control layer, service layer, data access layer and bottom layer in the system architecture. By receiving user requests, find the target business logic algorithm, obtain the target calling interface, retrieve database data, perform calculation processing, feedback the results, and build the system architecture in advance. To adapt to various insurance business requests and reduce data call and calculation processing time.

Benefits of technology

It improves the efficiency of data calling and calculation processing, shortens processing time, improves user experience, adapts to various insurance business requests, and reduces development time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112506588B_ABST
    Figure CN112506588B_ABST
Patent Text Reader

Abstract

The present application belongs to the field of data processing, and discloses a data processing method, device, electronic device and storage medium for insurance business. In the method, a control layer, a service layer, a data access layer and a bottom layer are pre-constructed in the system architecture, including: the control layer receives the pending insurance business request sent by the user terminal; the service layer searches for the target business logic algorithm corresponding to the pending insurance business request from multiple business logic algorithms, and forwards it to the data access layer and the control layer; the data access layer obtains the target call interface corresponding to the target business logic algorithm; the bottom layer determines the target call interface address corresponding to the target call interface, and retrieves the target data information from the corresponding database according to the target call interface address, and feeds it back to the control layer; the control layer performs operation processing on the received target data information according to the target business logic algorithm, obtains the processing result, and feeds the processing result back to the user terminal. In this way, the efficiency of data calling can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device, electronic device and storage medium for insurance business. Background Art

[0002] Insurance refers to the commercial insurance behavior in which the insured pays premiums to the insurer according to the contract, and the insurer bears the liability for paying insurance compensation for property losses caused by accidents that may occur as stipulated in the contract, or when the insured dies, becomes disabled, becomes ill, or reaches the age, term, etc. stipulated in the contract.

[0003] In the insurance industry, when customers purchase insurance, they need to obtain a lot of data for various insurance business requests corresponding to the insurance. In particular, when customers want to continue to add new business to the original policy after purchasing insurance, the algorithm process for calculating the required amount and value according to various insurance business requests for each insurance product is different, and the implementation situation is also very different, making it difficult to achieve rapid market response and rapid development. Summary of the invention

[0004] In view of this, the present application provides a data processing method, device, electronic device and storage medium for insurance business, the main purpose of which is to solve the technical problem of low speed in calculating data required for various insurance businesses in the current insurance market.

[0005] According to the first aspect of the present application, a data processing method for insurance business is provided, wherein a control layer, a service layer, a data access layer and a bottom layer are pre-constructed in the system architecture, and the specific implementation steps include:

[0006] The control layer receives the pending insurance service request sent by the user terminal, and sends the pending insurance service request to the service layer;

[0007] The service layer searches for a target business logic algorithm corresponding to the pending insurance business request from a plurality of business logic algorithms, and sends the target business logic algorithm to the data access layer and the control layer respectively;

[0008] The data access layer obtains the target call interface corresponding to the target business logic algorithm, and sends the target call interface to the bottom layer;

[0009] The bottom layer determines the target calling interface address corresponding to the target calling interface, retrieves the target data information from the corresponding database according to the target calling interface address, and sends the target data information to the control layer;

[0010] The control layer performs operation processing on the received target data information according to the target business logic algorithm to obtain a processing result, and feeds the processing result back to the user terminal.

[0011] According to a second aspect of the present application, there is provided a data processing device for insurance business, the device comprising:

[0012] A control module, configured to receive a pending insurance business request from a user terminal, and send the pending insurance business request to a service module;

[0013] A service module, used for searching a target business logic algorithm corresponding to the insurance business request to be processed from a plurality of business logic algorithms, and sending the target business logic algorithm to the access module and the control module respectively;

[0014] An access module is used to obtain a target calling interface corresponding to the target business logic algorithm and send the target calling interface to a calling module;

[0015] A calling module, used to determine a target calling interface address corresponding to the target calling interface, retrieve target data information from a corresponding database according to the target calling interface address, and send the target data information to a control module;

[0016] The control module is further used to perform operation processing on the received target data information according to the target business logic algorithm to obtain a processing result, and feed the processing result back to the user terminal.

[0017] According to a third aspect of the present application, there is provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the data processing method for insurance business described in the first aspect when executing the computer program.

[0018] According to a fourth aspect of the present application, there is provided a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of data processing for the insurance business described in the first aspect are implemented.

[0019] By means of the above technical scheme, the data processing method, device, electronic device and storage medium of insurance business provided by the present application, in a pre-built system architecture, the control layer is used to receive the pending insurance business request sent by the user terminal and forward it to the service layer; the service layer searches for the target business logic algorithm corresponding to the pending insurance business request from multiple business logic algorithms, and then sends the target business logic algorithm to the data access layer and the control layer respectively; the data access layer obtains the target call interface corresponding to the target business logic algorithm, and sends the target call interface to the bottom layer, so that the bottom layer can call the corresponding target data information according to the target call interface, and after the bottom layer sends the retrieved target data information to the control layer, the control layer calculates the target data information according to the target business logic algorithm, obtains the processing result, and feeds the processing result back to the user terminal, so that the user can view it. In this way, a system architecture for data call and operation processing according to the user's business request can be pre-built, and then the system architecture is used to perform data call processing, so that the system architecture can adapt to various business requests of various types of insurance, and can also effectively reduce the time of data call and operation processing, speed up processing efficiency, and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0021] Figure 1 A flowchart of an embodiment of a data processing method for insurance business of the present application;

[0022] Figure 2 A structural block diagram of an embodiment of a data processing device for insurance business of the present application;

[0023] Figure 3 This is a schematic diagram of the structure of the electronic device of the present application. DETAILED DESCRIPTION

[0024] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0025] The embodiment of the present application provides a data processing method for insurance business, which can pre-build a system architecture for performing data call and operation processing according to the user's business request, and then use the system architecture to perform data call processing, so that the system architecture can adapt to various business requests of various types of insurance, and can also effectively reduce the time of data call and operation processing, speed up processing efficiency, and improve user experience.

[0026] like Figure 1 As shown, the embodiment of the present application provides a data processing method for insurance business, which pre-builds a control layer, a service layer, a data access layer and a bottom layer in the system architecture, including the following steps:

[0027] Step 101: The control layer receives an insurance service request to be processed from a user terminal, and sends the insurance service request to be processed to the service layer.

[0028] The control layer is connected to the service layer, the data access layer and the bottom layer in sequence, and the control layer is also connected to the data access layer and the bottom layer respectively to facilitate receiving data information transmitted by the data access layer and the bottom layer.

[0029] In the above steps, if the user wants to know some cost information of the insurance he / she purchased, for example, the total premium of multiple insurances purchased by the user, the user adds additional insurance, and wants to know the amount of the additional premium, etc. The user can form a pending insurance business request corresponding to the cost information through the user terminal, and send it to the control layer for the control layer to receive and process.

[0030] Step 102, the service layer searches for a target business logic algorithm corresponding to the insurance business request to be processed from multiple business logic algorithms, and sends the target business logic algorithm to the data access layer and the control layer respectively.

[0031] The business logic algorithm is the algorithm formula required to complete the corresponding needs of the user request. The business logic algorithm is pre-stored in the service layer.

[0032] Step 103: The data access layer obtains the target call interface corresponding to the target business logic algorithm, and sends the target call interface to the bottom layer.

[0033] In the above steps, the data access layer stores a call interface corresponding to at least one parameter in each business logic algorithm. In this way, after receiving the target business logic algorithm sent by the service layer, it is possible to extract the various parameters required in the target business logic algorithm and the target call interface corresponding to each parameter. Among them, the parameters correspond to the target call interface one by one. If there are multiple parameters, there are also multiple corresponding target call interfaces.

[0034] Step 104, the bottom layer determines the target calling interface address corresponding to the target calling interface, retrieves the target data information from the corresponding database according to the target calling interface address, and sends the target data information to the control layer.

[0035] In the above steps, the bottom layer stores the call interface addresses corresponding to each database required for each insurance. The call interface addresses in the bottom layer are classified in advance according to the corresponding insurance type information, or the call interface addresses in the bottom layer are classified according to the corresponding database category, wherein each category contains at least one call interface address. A corresponding call table is established for each category obtained after classification, and the call interface address of the corresponding category is stored in pairs with the corresponding call interface in each call table. The data information in each database is stored in the form of Java value and / or pak value.

[0036] Because a calling interface is called by multiple related parties, and the requirements of each related party are different, it is necessary to classify the underlying calling interface addresses to ensure that each calling process does not affect each other. Among them, the number of calling interfaces used by insurance is large, so the classification process can plan and configure these calling interface addresses.

[0037] Specific categories include:

[0038] The call interface addresses can be classified according to the insurance types: agricultural insurance call interface, accidental injury insurance call interface, auto insurance call interface and disease insurance call interface. A call table corresponding to each category is constructed, and the call interface and the corresponding call interface address are paired and stored in the call table of the corresponding category.

[0039] or

[0040] The calling interface can be classified according to the database category called by the calling interface, which can be divided into: term category, premium amount category, claim item category, etc. (For example, the calling interface corresponding to the database storing various terms of various insurances is classified as term category). Construct the calling table corresponding to each category, match the calling interface and the corresponding calling interface address, and store them in the calling table of the corresponding category.

[0041] The underlying layer performs data calls, including:

[0042] The bottom layer determines the target category of the target call interface, and searches for the target call interface address corresponding to the target call interface from the call table corresponding to the target category, retrieves the target data information from the corresponding database according to the target call interface address, and sends the target data information to the control layer.

[0043] Step 105: The control layer processes the received target data information according to the target business logic algorithm to obtain a processing result, and feeds the processing result back to the user terminal.

[0044] In the above steps, after receiving the target data information, the control layer adds the target data information to the corresponding parameters in the target business logic algorithm, then starts the calculation, and sends the processing results obtained after the calculation to the user terminal for the user to view.

[0045] Through the above technical solution, a system architecture for data call and operation processing based on the user's business request can be pre-built, and then the system architecture can be used for data call processing, so that the system architecture can adapt to various business requests of various types of insurance, and can also effectively reduce the time of data call and operation processing, speed up processing efficiency, and improve user experience.

[0046] In a specific embodiment, before step 101, the method further includes:

[0047] Step A: Build a cache library that can store data information.

[0048] Step B, receiving the business logic algorithm, matching corresponding calling interfaces for various parameters in the business logic algorithm, and storing the business logic algorithm and the calling interfaces corresponding to various parameters of the business logic algorithm in a cache library.

[0049] Step C, compare the first call result obtained by calling the business logic algorithm in the cache library according to the calling interface corresponding to the various parameters of the business logic algorithm with the second call result obtained by the Oracle system for calling the business logic algorithm. If the comparison is different, adjust the calling interface corresponding to the various parameters of the business logic algorithm.

[0050] In the above technical solution, the actuary determines the business logic algorithm required for each business request based on experience and repeated reasoning and verification, and inputs the obtained business logic algorithm into the system architecture through the input device. The system architecture matches the corresponding call interface for it according to the content of each parameter in the business logic algorithm, and packages each business logic algorithm and the call interface corresponding to each parameter therein and saves them in the cache library. In this way, the corresponding business logic algorithm and the corresponding call interface can be directly obtained from the cache library for easy calling.

[0051] Then, the business logic algorithm stored in the cache can be simulated and called in the system architecture to obtain the first call result. And obtain the second call result when the original Oracle system calls these business logic algorithms in the cache. After comparing the first call result and the second call result, if they are different, the call interface of the business logic algorithm in the cache in this solution is modified according to the corresponding call interface of the original Oracle system for the corresponding business logic algorithm. In this way, the correctness of the data call of the system architecture in this solution can be guaranteed, and the situation of data call errors due to call interface errors can be avoided.

[0052] After all the system architectures in this solution are compared and modified, that is, the first call result is the same as the second call result, proving that the system architecture of this solution can be put online, and the overall solution of the system architecture is published online.

[0053] In a specific embodiment, step A specifically includes:

[0054] Step A1: construct a first cache library capable of caching business logic algorithms at the service layer.

[0055] In the above steps, a Jvm (Java Virtual Machine) cache library with a HashMap storage structure based on the Java language is constructed in the service layer as the first cache library. In this way, when the system architecture receives the business logic algorithm, it will directly push the received business logic algorithm to the service layer, and the service layer will save it to the first cache library for later retrieval and query.

[0056] Step A2: construct a second cache library in the data access layer that can cache the calling interface corresponding to each parameter in the business logic algorithm.

[0057] Step A3, constructing a third cache library capable of caching retrieved data at the bottom layer.

[0058] Based on the scheme of the above steps, when executing step 104 in the above scheme, after the bottom layer retrieves the target data information, the target data information is sent to the control layer, and the target data information is stored in the third cache library and the corresponding retrieval time is marked. In this way, if the user wants to retrieve the retrieved data of the most recent period, he can directly search from the third cache library in the bottom layer.

[0059] In addition, in order to avoid the third cache being full and causing the data retrieved later to be unable to be cached, the third cache can be cleaned up regularly or irregularly. Or the third cache can be set so that when it is full, the latest retrieved data will replace the oldest retrieved data. This ensures that the retrieved data in the third cache are all the latest retrieved data.

[0060] Through the above solution, in order to facilitate the storage of various types of data, corresponding cache libraries are set up. The cache libraries of Benpenguin are set up in different levels of system architecture for hierarchical calling, which can speed up the retrieval speed and improve work efficiency.

[0061] In a specific embodiment, step B specifically includes:

[0062] Step B1: The service layer associates the received business logic algorithm with the business request command corresponding to the received business logic algorithm, and stores them in a first cache library.

[0063] Step B2: The data access layer combines the parameters of the business logic algorithm and the corresponding calling interface into key-value pairs, and stores them in the second cache library.

[0064] In the above steps, if the storage capacity of the first cache library and / or the second cache library is insufficient and needs to be expanded, a new first cache library and / or a new second cache library can be constructed, and the storage capacity of the specific expanded cache library can be set according to actual needs.

[0065] The service request command can be associated with the service logic algorithm and then stored in a list in the first cache. Each parameter used by the service logic algorithm and the corresponding calling interface can also be stored in a list in the second cache.

[0066] Through the above solution, when data is called later, the required data content can be directly retrieved from the corresponding cache library more conveniently and quickly, which is convenient for use.

[0067] In a specific embodiment, step B1 specifically includes:

[0068] Step B11: The service layer constructs a storage table corresponding to the insurance type category in the first cache library.

[0069] Among them, each insurance type corresponds to a storage table.

[0070] Step B12, the service layer extracts the insurance category in the received business logic algorithm, and searches the storage table for a table to be stored corresponding to the insurance category in the received business logic algorithm.

[0071] Among them, the business logic algorithm is the algorithm formula for various demand costs corresponding to various types of insurance services, and one business logic algorithm corresponds to one demand cost.

[0072] For example, the business logic algorithm formula involved is: New supplementary long-term insurance premium = standard annual premium * premium ratio factor * premium period number factor - (actual effective date of new acceptance - effective date of new insurance type) * risk premium / 365 + (period premium for weak body + period premium for occupation) * premium period number factor.

[0073] In step B13, the service layer associates the received business logic algorithm with the business request command corresponding to the received business logic algorithm, and stores the result in a table to be stored.

[0074] The corresponding step B2 specifically includes: the data access layer uses the received parameters of the business logic algorithm as the key, and the calling interface corresponding to the received parameters as the value, and uses the expression language engine to dynamically splice the key and the value to form a key-value pair, which is stored in the second cache library.

[0075] Among them, the parameters in the business logic algorithm refer to the data needed for calculation (for example, in the above calculation formula for calculating the additional long-term insurance premium: standard annual premium, premium ratio factor, premium period factor, etc.).

[0076] Before splicing into key-value pairs, each calling interface is marked with a corresponding category label according to the classification result of the calling interface classification, and then the corresponding key and value are spliced ​​into a key-value pair.

[0077] Through the above solution, the data retrieval rate in each cache library can be further improved.

[0078] In a specific embodiment, the step of performing online comparison in step C specifically includes:

[0079] Step C1, retrieve the business logic algorithm in the first cache library in the service layer.

[0080] Each time a business logic algorithm is called, the business logic algorithm is input into the data access layer.

[0081] Step C2, input the retrieved business logic algorithm online to the data access layer in sequence, use the data access layer to find the corresponding calling interface from the second cache library, use the bottom layer to make data calls according to the found calling interface, and obtain the first online calling result.

[0082] The found calling interface is asynchronously called through the bottom layer to obtain a first online calling result. The first online calling result is data information (for example, premium amount) obtained from the corresponding calling interface, and the data information is a Java value and / or a pak value.

[0083] Step C3, obtaining a second online calling result obtained after the Oracle system calls the retrieved business logic algorithm.

[0084] Step C4, comparing the first online call result with the second online call result, and recording the comparison result in an online comparison database.

[0085] Among them, the online comparison database is the mongo database (distributed file storage database).

[0086] Step C5, check the comparison results in the online comparison database in real time or periodically. If the results are different, obtain the calling interface of each parameter corresponding to the business logic algorithm with different results in the Oracle system as the replacement calling interface, and use the replacement calling interface to replace the calling interface of each parameter corresponding to the business logic algorithm with different results in the second cache library.

[0087] In the above solution, the Oracle system is the original data call system, and the data call rate of this system is slow, so the system architecture of this solution is selected for replacement. However, during the replacement process, the system architecture of this solution may have a call error. It is necessary to use the original Oracle system to call the retrieved business logic algorithm to obtain the second online call result and the first online call result for online comparison. Then, according to the comparison results, the system architecture of this solution is adjusted accordingly in a timely manner. While ensuring that the system architecture of this solution can perform fast data retrieval, it can also ensure the correctness of data retrieval.

[0088] The staff can check the comparison results in the online comparison database regularly or irregularly, and promptly replace the calling interfaces of the parameters corresponding to the inconsistent business logic algorithms with the calling interfaces used by the original Oracle system, so as to make the called data correct. The above process is repeated until all the business logic algorithms in the system architecture of this solution are consistent with the calling results of the original Oracle system.

[0089] Then, the system architecture of this solution can be arranged to be released online. After the release, the system architecture can be used to implement the process of steps 101-105 above to meet the user's business needs.

[0090] In a specific embodiment, the step of performing batch comparison in step C specifically includes:

[0091] Step C1', retrieve all the business logic algorithms in the first cache library in the service layer.

[0092] Step C2', input all the retrieved business logic algorithms into the data access layer, use the data access layer to batch search for the corresponding calling interface from the second cache library, use the bottom layer to perform batch data calls based on the batch found calling interface, and obtain the first batch calling result, wherein the first batch calling result is the calling result corresponding to all the business logic algorithms.

[0093] The first batch call result is data information (eg, premium amount) obtained from the corresponding call interface, and the data information is a Java value and / or a pak value.

[0094] Step C3', obtain the second batch call results obtained after the Oracle system calls all the retrieved business logic algorithms. Step C4', perform multi-threaded batch comparison on the first batch call results and the second batch call results. If the results are different, obtain the calling interface of each parameter corresponding to the business logic algorithm with different results in the Oracle system as the replacement calling interface, and use the replacement calling interface to replace the calling interface of each parameter corresponding to the business logic algorithm with different results in the second cache.

[0095] In the above scheme, the system architecture of this scheme is first entered into the high-speed running server before batch comparison, and then batch calls are made. After the batch calls are completed, the Java values ​​and / or pak values ​​in the first batch call results are compared with the Java values ​​and / or pak values ​​in the second batch call results through multi-threaded batch comparison in Java language. If the results are different, the calling interface of the corresponding parameters of the system corresponding to the different results is replaced with the calling interface corresponding to the different results of the original oracle system.

[0096] Through the above scheme, using a high-speed server for batch calling can speed up the calling speed, and batch comparing the first batch call results with the second batch call results can effectively improve the comparison speed, so that the time used for the entire comparison process can be effectively reduced.

[0097] In addition, the present solution can select either one of the above-mentioned online comparison and batch comparison processes, or can combine the two. The combination of the two can further improve the accuracy of the comparison, so that the accuracy of the data call of the system architecture of the present solution is further improved.

[0098] Through the above-mentioned implementation scheme, a system architecture for performing data calls and calculation processing according to the user's business requests can be pre-built, and then the system architecture can be used to perform data call processing, so that the system architecture can adapt to various business requests of various types of insurance, and can also effectively reduce the time of data calls and calculation processing, speed up processing efficiency, and improve user experience.

[0099] based on Figure 1 The above-mentioned implementation scheme is shown, and another embodiment of the present application is a data processing method for insurance business specifically for newly added supplementary insurance business, comprising the following steps:

[0100] S1, pre-builds the system architecture for processing calls to the calling interface.

[0101] Among them, by calling the interface, corresponding data information (for example, retrieving the premium amount of a certain insurance) can be retrieved from a database (for example, a premium amount database) that stores various types of data used for insurance.

[0102] S11, using microservices to build a four-layer system architecture:

[0103] (1) The control layer (controller layer) is used to receive user requests and process the data sent by each layer to obtain the processing results. The specific processing process is step (5) in the online application process.

[0104] (2) The service layer mainly matches the business logic algorithm required by the user requests of the control layer, and feeds back the business logic algorithm to the control layer and data access layer.

[0105] Among them, the business logic algorithm is the algorithm formula required to complete the corresponding user request.

[0106] (3) The data access layer matches the corresponding call interface according to the business logic algorithm obtained by the service layer, sends the corresponding call interface to the bottom layer, and sends the call data fed back by the bottom layer to the control layer.

[0107] (4) The bottom layer stores the call interface addresses corresponding to each database, allocates the corresponding call interface addresses to the call interfaces sent by the data access layer, calls the corresponding data from the database according to the call interface addresses, and feeds the call data back to the control layer. In this case, each data information is converted into a Java value and / or pak value in advance and stored in the corresponding database.

[0108] Because a calling interface is called by multiple related parties, and the requirements of each related party are different, it is necessary to classify the underlying calling interface addresses to ensure that each calling process does not affect each other. Among them, the number of calling interfaces used by insurance is large, so the classification process can plan and configure these calling interface addresses.

[0109] Specific categories include:

[0110] The call interface addresses can be classified according to the insurance types: agricultural insurance call interface, accidental injury insurance call interface, auto insurance call interface and disease insurance call interface. A call table corresponding to each category is constructed, and the call interface and the corresponding call interface address are paired and stored in the call table of the corresponding category.

[0111] or

[0112] The calling interface can be classified according to the database category called by the calling interface, which can be divided into: term category, premium amount category, claim item category, etc. (For example, the calling interface corresponding to the database storing various terms of various insurances is classified as term category). Construct the calling table corresponding to each category, match the calling interface and the corresponding calling interface address, and store them in the calling table of the corresponding category.

[0113] S12, build a cache library to cache data call information of each layer.

[0114] Specifically build three cache libraries:

[0115] First: build an algorithm cache library (ie, the first cache library) at the service layer to cache business logic algorithms.

[0116] The algorithm cache library is a Jvm (Java Virtual Machine) cache library that builds a HashMap storage structure based on the Java language.

[0117] Second, a logic call cache library (ie, a second cache library) is constructed in the data access layer to store the call interfaces corresponding to various business logic algorithms.

[0118] At the third level, a data cache library (ie, the third cache library) is constructed at the bottom layer to cache the data directly retrieved from the database.

[0119] S2, receiving the business logic algorithms of various types of insurance, and matching the corresponding calling interfaces for the parameters in the corresponding business logic algorithms.

[0120] Among them, the business logic algorithm is the algorithm formula for various demand costs corresponding to various types of insurance services, and one business logic algorithm corresponds to one demand cost.

[0121] For example, the business logic algorithm formula involved is: New supplementary long-term insurance premium = standard annual premium * premium ratio factor * premium period number factor - (actual effective date of new acceptance - effective date of new insurance type) * risk premium / 365 + (period premium for weak body + period premium for occupation) * premium period number factor.

[0122] Specifically:

[0123] S21, associating the received business logic algorithm with the received business request command corresponding to the business logic algorithm, and storing them in an algorithm cache library.

[0124] Specifically, first, after pairing the business logic algorithm with the business request command, the insurance category corresponding to the business logic algorithm is stored in a storage table corresponding to the insurance category. Each insurance category corresponds to a storage table.

[0125] Then, each storage table is stored in the algorithm cache library. Then, the corresponding business logic algorithm can be retrieved from the storage table in the algorithm cache library through a business request command. The business request command specifically refers to the corresponding user request (for example, a request for additional premium for a newly added supplementary insurance).

[0126] S22, concatenate the parameters in the business logic algorithm and the corresponding call interface into a key-value pair, and store it in the logic call cache library. In which, each call interface is marked with a corresponding category label in advance, and the category label is the category of the call interface classification in step S11.

[0127] Among them, the parameters in the business logic algorithm refer to the data needed for calculation (for example, calculating the standard annual premium, supplementary premium ratio factor, supplementary premium period number factor, etc. in the supplementary premium of newly added long-term insurance).

[0128] Specifically:

[0129] The parameters in the business logic algorithm are used as the key, and the corresponding calling interface is used as the value. The address of the calling interface is always changing dynamically.

[0130] The Java Expression Language (JEXL) in the Java language is used to dynamically concatenate the key and the address of the dynamically changing calling interface to form a key-value pair that is stored in the logic call cache library.

[0131] S3, compare the results of calling the business logic algorithm in the system architecture with the results of calling the business logic algorithm in the Oracle system, and make corresponding adjustments and modifications to the calling interface based on the comparison results.

[0132] The specific comparison is divided into: online comparison and / or batch comparison.

[0133] Online comparison:

[0134] (1) Multiple business logic algorithms in the storage table of the algorithm cache library of the service layer are retrieved in sequence.

[0135] (2) Input the business logic algorithm into the data access layer, the data access layer searches for the corresponding call interface from the logic call cache library, and asynchronously calls the found call interface through the bottom layer to obtain the first online call result. The call result is the data information (for example, the premium amount) obtained from the corresponding call interface, and the data information is a Java value and / or a pak value.

[0136] (3) Obtain the second online call result by calling multiple business logic algorithms in the original Oracle system.

[0137] (4) Perform online comparison between the Java value and / or pak value in the first online call result corresponding to the business logic algorithm and the Java value and / or pak value in the second online call result corresponding to the business logic algorithm. After the comparison is completed, the comparison result is recorded in the mongo database (distributed file storage database).

[0138] (5) Check the online comparison results in the Mongo database in real time. If the results are different, replace the calling interface of the corresponding parameters of the system corresponding to the different results with the calling interface corresponding to the different results of the original Oracle system.

[0139] In this way, verifying the production scenarios corresponding to each business logic algorithm can better ensure the accuracy of the interface.

[0140] Batch comparison:

[0141] (1) The system architecture constructed in step S1 is entered into the high-speed operation server.

[0142] (2) Retrieve all the multiple business logic algorithms in the storage table of the algorithm cache library of the service layer in the system architecture.

[0143] (3) Input all the multiple business logic algorithms into the data access layer. The data access layer searches for the corresponding call interface from the logic call cache library, and batch calls the found call interface through the bottom layer. The first batch call results are stored in the batch call database.

[0144] The call result is the data information (eg, premium amount) obtained from the corresponding call interface, and the data information is a Java value and / or a pak value.

[0145] (4) Obtain the second batch of call results by calling multiple business logic algorithms in the original Oracle system.

[0146] (5) Perform multi-threaded batch comparison of the Java values ​​and / or pak values ​​in the first batch call results of multiple business logic algorithms with the Java values ​​and / or pak values ​​in the second batch call results through the Java language. If the results are different, the calling interface of the corresponding parameters of the current system corresponding to the different results is replaced with the calling interface corresponding to the different results of the original Oracle system.

[0147] After online comparison and / or batch comparison, all call results are the same as the call results of the original Oracle system, and then the configured system interface is put online.

[0148] This can largely avoid the problem of calling errors. After the interface is online, continuous online comparison can be performed to monitor inconsistent orders, ensure that the configuration of new supplementary insurance in production is accurate, and there is no problem with the calculated amount.

[0149] The application process after going online is:

[0150] (1) The control layer receives a pending request command for the newly added supplementary insurance from the user terminal, obtains the insurance type information of the newly added supplementary insurance, adds the insurance type information to the pending request command, and sends the pending request command to the service layer.

[0151] (2) The service layer extracts the insurance type information from the pending request command, searches the algorithm cache library for a storage table that matches the insurance type information, searches the storage table for a target business logic algorithm that matches the pending request command, and sends the target business logic algorithm to the data access layer and the control layer.

[0152] (3) The data access layer searches for the target call interface corresponding to the target business logic algorithm from the logic call cache library and sends the target call interface to the bottom layer. The target call interface is pre-labeled with a category tag.

[0153] (4) The bottom layer extracts the category label in the target calling interface, and obtains the target calling interface address corresponding to the target calling interface from the multiple candidate calling interface addresses corresponding to the calling table of the category label.

[0154] (5) The bottom layer retrieves the target data information from the corresponding database according to the target calling interface address, caches the target data information in the data cache, and sends it to the control layer at the same time.

[0155] (6) The control layer performs calculations and processing according to the target business logic algorithm based on the target data information received from the bottom layer, obtains the processing results, and feeds back the processing results to the user terminal.

[0156] For example, when adding a new insurance type, the system will perform the following series of actions:

[0157] The addition of insurance type A will result in changes in the premium of the policy itself, as well as changes in the supplementary premium.

[0158] (1) The control layer receives a premium change request for the newly added insurance type A from the user terminal, adds information about insurance type A to the premium change request, and sends the premium change request to the service layer.

[0159] (2) The service layer extracts the information of insurance type A from the premium change request, searches the storage table corresponding to insurance type A from the algorithm cache library, searches the business logic algorithm B corresponding to the premium change request from the N business logic algorithms in the storage table, and sends the business logic algorithm B to the data access layer and the control layer.

[0160] (3) The data access layer searches the logic call cache library for call interfaces D1, D2, and D3 that are pre-labeled with category tags corresponding to the business logic algorithm B, and sends call interfaces D1, D2, and D3 to the bottom layer.

[0161] (4) The bottom layer extracts the category labels d1, d2 and d3 from the calling interface D1, the calling interface D2 and the calling interface D3, obtains the calling interface address ID1 corresponding to D1 from the multiple calling interface addresses to be selected corresponding to the calling table of d1, obtains the calling interface address ID2 corresponding to D2 from the multiple calling interface addresses to be selected corresponding to the calling table of d2, and obtains the calling interface address ID3 corresponding to D3 from the multiple calling interface addresses to be selected corresponding to the calling table of d3.

[0162] (5) The bottom layer retrieves data information X1, X2 and X3 from the corresponding database according to ID1, ID2 and ID3, caches X1, X2 and X3 in the data cache, and sends X1, X2 and X3 to the control layer.

[0163] (5) The control layer performs operations according to the business logic algorithm B based on X1, X2 and X3 received from the bottom layer, calculates the supplement amount, and feeds back the processed supplement amount to the user terminal for the user to view.

[0164] The technical effects of the solutions described in the above embodiments are:

[0165] 1. The system architecture development and iteration of this solution is fast;

[0166] 2. Save the company's financial resources. The original Oracle system is not scalable and consumes a lot of financial resources;

[0167] 3. The system architecture of this solution can be universal, reducing development time;

[0168] 4. The system architecture of this solution takes an average of 200ms. The time consumed by the original Oracle system is about 15 times that of the system architecture of this solution, which improves customer experience;

[0169] 5. Risk control, two-way development, asynchronous online comparison of production, without affecting actual production calls, and improving interface support.

[0170] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides a data processing device for insurance business, the device includes: after the control module 21, the service module 22, the access module 23 and the calling module 24 are connected in sequence, the control module 21 is also connected to the calling module 24. Among them, the control module 21 corresponds to Figure 1 The control layer of the method corresponds to service module 22 Figure 1 The service layer of the method, access module 23 corresponds to Figure 1 The data access layer of the method, calling module 24 corresponds to Figure 1 The bottom layer of the method.

[0171] The control module 21 is used to receive the pending insurance business request sent by the user terminal, and send the pending insurance business request to the service module.

[0172] The service module 22 is used to search for a target business logic algorithm corresponding to the insurance business request to be processed from multiple business logic algorithms, and send the target business logic algorithm to the access module and the control module respectively.

[0173] The access module 23 is used to obtain the target calling interface corresponding to the target business logic algorithm and send the target calling interface to the calling module.

[0174] The calling module 24 is used to determine the target calling interface address corresponding to the target calling interface, retrieve the target data information from the corresponding database according to the target calling interface address, and send the target data information to the control module.

[0175] The control module 21 is further used to perform calculations on the received target data information according to the target service logic algorithm to obtain a processing result, and feed the processing result back to the user terminal.

[0176] In a specific embodiment, the device further comprises:

[0177] The construction module is used to receive the pending insurance business request sent by the user terminal when the control module is in operation, and to construct a cache library capable of storing data information before sending the pending insurance business request to the service module.

[0178] The receiving module is used to receive the business logic algorithm, match the corresponding calling interface for each parameter in the business logic algorithm, and store the business logic algorithm and the calling interface corresponding to each parameter of the business logic algorithm in the cache library.

[0179] The comparison module is used to compare the first call result obtained by calling the business logic algorithm in the cache library according to the calling interface corresponding to the various parameters of the business logic algorithm with the second call result obtained by calling the data of the business logic algorithm by the Oracle system. If the comparison is different, the calling interface corresponding to the various parameters of the business logic algorithm is adjusted.

[0180] In a specific embodiment, the building blocks are specifically used to:

[0181] A first cache library capable of caching business logic algorithms is constructed in the service module; a second cache library capable of caching calling interfaces corresponding to various parameters in the business logic algorithms is constructed in the access module; and a third cache library capable of caching retrieved data is constructed in the calling module.

[0182] In a specific embodiment, the receiving module specifically includes:

[0183] The receiving unit is used to associate the received business logic algorithm with the business request command corresponding to the received business logic algorithm, and store them in the first cache library.

[0184] The storage unit is used to combine various parameters of the business logic algorithm and the corresponding calling interface into key-value pairs, and store them in the second cache library.

[0185] In a specific embodiment, the receiving unit is specifically used for:

[0186] Construct a storage table corresponding to the insurance type category in the first cache library, extract the insurance type category in the received business logic algorithm, and search the storage table for a table to be stored corresponding to the insurance type category in the received business logic algorithm; associate the received business logic algorithm with the business request command corresponding to the received business logic algorithm, and store them in the table to be stored.

[0187] The storage unit is specifically used to: use the received parameters of the business logic algorithm as the key, use the calling interface corresponding to the received parameters as the value, use the expression language engine to dynamically splice the key and the value to form a key-value pair, and store it in the second cache library.

[0188] In a specific embodiment, the comparison module specifically includes:

[0189] The calling unit is used to call out the business logic algorithm in the first cache library in the service module.

[0190] The input unit is used to input the retrieved business logic algorithm into the access module online in sequence, use the access module to search for the corresponding calling interface from the second cache library, use the calling module to make data calls according to the found calling interface, and obtain the first online calling result.

[0191] The acquisition unit is used to obtain a second online call result obtained after the Oracle system calls the retrieved business logic algorithm.

[0192] The comparison unit is used to compare the first online call result with the second online call result, and record the comparison result in an online comparison database.

[0193] The replacement unit is used to check the comparison results in the online comparison database in real time or periodically. If the results are different, the calling interface of each parameter corresponding to the business logic algorithm with different results in the Oracle system is obtained as the replacement calling interface, and the calling interface of each parameter corresponding to the business logic algorithm with different results in the second cache library is replaced by the replacement calling interface.

[0194] In a specific embodiment, the calling unit is further used to call out all the business logic algorithms in the first cache library in the service module.

[0195] The input unit is also used to input all the retrieved business logic algorithms into the access module, use the access module to batch search for corresponding calling interfaces from the second cache library, and use the calling module to perform batch data calls based on the batch-searched calling interfaces to obtain the first batch calling results, wherein the first batch calling results are the calling results corresponding to all the business logic algorithms.

[0196] The acquisition unit is also used to obtain the second batch of call results obtained after the Oracle system calls all the retrieved business logic algorithms.

[0197] The comparison unit is also used to perform multi-threaded batch comparison on the first batch call results and the second batch call results. If the results are different, the calling interface of each parameter corresponding to the business logic algorithm with different results in the Oracle system is obtained as a replacement calling interface, and the calling interface of each parameter corresponding to the business logic algorithm with different results in the second cache is replaced by the replacement calling interface.

[0198] Based on the above Figure 1 The method shown and Figure 2 In order to achieve the above-mentioned purpose, the present application also provides an electronic device, such as Figure 3As shown, the system includes a memory 32 and a processor 31, wherein the memory 32 and the processor 31 are both arranged on a bus 33. The memory 32 stores a computer program, and the processor 31 executes the computer program to realize Figure 1 The data processing method for the insurance business shown.

[0199] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile memory (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.

[0200] Optionally, the device may also be connected to a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a WI-FI interface), etc.

[0201] Those skilled in the art will appreciate that the structure of an electronic device provided in this embodiment does not limit the physical device, and may include more or fewer components, or a combination of certain components, or different component arrangements.

[0202] Based on the above Figure 1 The method shown and Figure 2 The embodiment of the device shown in the figure, accordingly, the embodiment of the present application also provides a storage medium on which a computer program is stored, and when the program is executed by the processor, the above-mentioned Figure 1 The data processing method for the insurance business shown.

[0203] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the electronic device and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium and the communication with other hardware and software in the electronic device.

[0204] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by hardware.

[0205] By applying the technical solution of the present application, in a pre-built system architecture, the control layer is used to receive the pending insurance business request sent by the user terminal and forward it to the service layer; the service layer searches for the target business logic algorithm corresponding to the pending insurance business request from multiple business logic algorithms, and then sends the target business logic algorithm to the data access layer and the control layer respectively; the data access layer obtains the target call interface corresponding to the target business logic algorithm, and sends the target call interface to the bottom layer, so that the bottom layer can call the corresponding target data information according to the target call interface. After the bottom layer sends the retrieved target data information to the control layer, the control layer calculates the target data information according to the target business logic algorithm, obtains the processing result, and feeds the processing result back to the user terminal for the user to view. In this way, a system architecture for data call and operation processing according to the user's business request can be pre-built, and then the system architecture is used to perform data call processing, so that the system architecture can adapt to various business requests of various types of insurance, and can also effectively reduce the time of data call and operation processing, speed up processing efficiency, and improve user experience.

[0206] Those skilled in the art will appreciate that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily necessary for implementing the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the description of the implementation scenario, or can be changed accordingly and located in one or more devices different from the present implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple submodules.

[0207] The above serial numbers of this application are only for description and do not represent the advantages and disadvantages of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of this application, but this application is not limited to them, and any changes that can be thought of by technicians in this field should fall within the scope of protection of this application.

Claims

1. A data processing method for insurance business, characterized in that: The control layer, service layer, data access layer, and bottom layer are pre-built in the system architecture. The specific implementation steps include: Constructing a cache library capable of storing data information, including: constructing a first cache library capable of caching business logic algorithms at the service layer; constructing a second cache library capable of caching call interfaces corresponding to various parameters in the business logic algorithms at the data access layer; and constructing a third cache library capable of caching retrieved data at the bottom layer; The service layer associates the received business logic algorithm with the business request command corresponding to the business logic algorithm, and stores the corresponding business logic algorithm in the first cache library; the data access layer combines the parameters of the business logic algorithm with the corresponding call interface into key-value pairs, and stores them in the second cache library; a third cache library capable of caching retrieved data is constructed at the bottom layer, wherein the retrieved data in the third cache library is the latest retrieved data; Compare a first call result obtained by calling the business logic algorithm in the cache according to the call interface corresponding to each parameter of the business logic algorithm with a second call result obtained by calling the business logic algorithm through the Oracle system; if the comparison is different, adjust the call interface corresponding to each parameter of the business logic algorithm; The control layer receives the pending insurance service request sent by the user terminal, and sends the pending insurance service request to the service layer; The service layer searches for a target business logic algorithm corresponding to the pending insurance business request from a plurality of business logic algorithms, and sends the target business logic algorithm to the data access layer and the control layer respectively; The data access layer obtains the target call interface corresponding to the target business logic algorithm and sends the target call interface to the bottom layer; The bottom layer determines the target calling interface address corresponding to the target calling interface, retrieves target data information from the corresponding database according to the target calling interface address, and sends the target data information to the control layer; The control layer performs calculations on the received target data information according to the target service logic algorithm to obtain a processing result, and feeds the processing result back to the user terminal.

2. The data processing method for insurance business according to claim 1, characterized in that: The service layer associates the received business logic algorithm with the received business request command corresponding to the business logic algorithm, and stores the associated business logic algorithm in the first cache library, specifically including: The service layer constructs a storage table corresponding to the insurance type category in the first cache library; The service layer extracts the insurance category in the received business logic algorithm, and searches the storage table for a table to be stored that corresponds to the insurance category in the received business logic algorithm; The service layer associates the received business logic algorithm with the business request command corresponding to the received business logic algorithm and stores the result in a table to be stored; The data access layer then combines the parameters of the business logic algorithm and the corresponding call interface into key-value pairs and stores them in the second cache library, specifically including: The data access layer uses the received parameters of the business logic algorithm as the key, and the calling interface corresponding to the received parameters as the value, and uses the expression language engine to dynamically splice the key and value to form a key-value pair, which is stored in the second cache library.

3. The data processing method for insurance business according to claim 1, characterized in that: Comparing a first call result obtained by calling data of the business logic algorithm in the cache library according to the call interface corresponding to each parameter of the business logic algorithm with a second call result obtained by calling data of the business logic algorithm obtained by the Oracle system, and if the comparison is different, adjusting the call interface corresponding to each parameter of the business logic algorithm, specifically including: Retrieving the business logic algorithm from the first cache in the service layer; Input the retrieved business logic algorithm into the data access layer online in sequence, use the data access layer to search for the corresponding call interface from the second cache library, and use the bottom layer to perform data call according to the found call interface to obtain the first online call result; Obtaining a second online call result obtained after the Oracle system calls the retrieved business logic algorithm; Comparing the first online call result with the second online call result, and recording the comparison result in an online comparison database; Check the comparison results in the online comparison database in real time or periodically. If the results are different, obtain the calling interface of the various parameters corresponding to the business logic algorithm with different results in the Oracle system as the replacement calling interface, and use the replacement calling interface to replace the calling interface of the various parameters corresponding to the business logic algorithm with different results in the second cache library.

4. The data processing method for insurance business according to claim 1, characterized in that: Comparing a first call result obtained by calling data of the business logic algorithm in the cache library according to the call interface corresponding to each parameter of the business logic algorithm with a second call result obtained by calling data of the business logic algorithm obtained by the Oracle system, and if the comparison is different, adjusting the call interface corresponding to each parameter of the business logic algorithm, specifically including: Retrieve all the business logic algorithms in the first cache library in the service layer; Input all retrieved business logic algorithms into the data access layer, use the data access layer to batch search for corresponding call interfaces from the second cache library, and use the underlying layer to perform batch data calls based on the batch-searched call interfaces to obtain first batch call results, wherein the first batch call results are call results corresponding to all business logic algorithms; Obtaining a second batch of call results obtained after the Oracle system calls all the retrieved business logic algorithms; Perform a multi-threaded batch comparison on the first batch call results and the second batch call results. If the results are different, obtain the calling interface of each parameter corresponding to the business logic algorithm with different results in the Oracle system as a replacement calling interface, and use the replacement calling interface to replace the calling interface of each parameter corresponding to the business logic algorithm with different results in the second cache library.

5. A data processing device for insurance business, characterized in that: The device comprises: A construction module is used to construct a cache library capable of storing data information, wherein a first cache library capable of caching business logic algorithms is constructed in the service module; a second cache library capable of caching call interfaces corresponding to various parameters in the business logic algorithms is constructed in the access module; and a third cache library capable of caching retrieved data is constructed in the call module, wherein the retrieved data in the third cache library is the latest retrieved data; A receiving module is used to receive a business logic algorithm, match corresponding call interfaces to various parameters in the business logic algorithm, and store the business logic algorithm and the call interfaces corresponding to various parameters of the business logic algorithm in a cache library; The receiving module specifically includes: a receiving unit, configured to associate the received business logic algorithm with the business request command corresponding to the received business logic algorithm, and store the associated data in a first cache; a storage unit, configured to concatenate various parameters of the business logic algorithm with the corresponding call interface into key-value pairs, and store the associated data in a second cache; A comparison module is used to compare a first call result obtained by calling the business logic algorithm in the cache library according to the call interface corresponding to each parameter of the business logic algorithm with a second call result obtained by calling the data of the business logic algorithm obtained from the Oracle system. If the comparison is different, the call interface corresponding to each parameter of the business logic algorithm is adjusted; A control module, configured to receive a pending insurance business request from a user terminal and send the pending insurance business request to a service module; a service module, configured to search for a target business logic algorithm corresponding to the pending insurance business request from a plurality of business logic algorithms, and send the target business logic algorithm to the access module and the control module respectively; An access module is used to obtain a target call interface corresponding to the target business logic algorithm and send the target call interface to a calling module; A calling module is used to determine a target calling interface address corresponding to the target calling interface, retrieve target data information from a corresponding database according to the target calling interface address, and send the target data information to a control module; The control module is further configured to perform computational processing on the received target data information according to a target business logic algorithm to obtain a processing result, and feed the processing result back to the user terminal.

6. The device according to claim 5, characterized in that The receiving unit is specifically used for: Constructing a storage table corresponding to the insurance category in the first cache, extracting the insurance category in the received business logic algorithm, and searching the storage table for the to-be-stored table corresponding to the insurance category in the received business logic algorithm; associating the received business logic algorithm with the business request command corresponding to the received business logic algorithm, and storing the result in the to-be-stored table; The storage unit is specifically used to: use the received parameters of the business logic algorithm as the key, use the calling interface corresponding to the received parameters as the value, use the expression language engine to dynamically splice the key and value to form a key-value pair, and store it in the second cache library.

7. The device according to claim 5, characterized in that The comparison module specifically includes: A calling unit, configured to call out the business logic algorithm in the first cache library in the service module; An input unit is used to input the retrieved business logic algorithm into the access module online in sequence, use the access module to search for the corresponding call interface from the second cache library, and use the call module to call data according to the found call interface to obtain the first online call result; An acquisition unit is used to obtain a second online call result obtained after the Oracle system calls the retrieved business logic algorithm; A comparison unit, configured to compare the first online call result with the second online call result, and record the comparison result in an online comparison database; The replacement unit is used to check the comparison results in the online comparison database in real time or periodically. If the results are different, the calling interface of each parameter corresponding to the business logic algorithm with different results in the Oracle system is obtained as the replacement calling interface, and the calling interface of each parameter corresponding to the business logic algorithm with different results in the second cache library is replaced by the replacement calling interface.

8. The device according to claim 5, characterized in that The calling unit is further used to call out all the business logic algorithms in the first cache library in the service module; The input unit is further configured to input all retrieved business logic algorithms into the access module, use the access module to batch search for corresponding call interfaces from the second cache library, and use the call module to perform batch data calls based on the batch-searched call interfaces to obtain first batch call results, wherein the first batch call results are call results corresponding to all business logic algorithms; The acquisition unit is further used to obtain the second batch of call results obtained after the Oracle system calls all the retrieved business logic algorithms; The comparison unit is also used to perform multi-threaded batch comparison on the first batch call results and the second batch call results. If the results are different, the calling interface of each parameter corresponding to the business logic algorithm with different results in the Oracle system is obtained as a replacement calling interface, and the replacement calling interface is used to replace the calling interface of each parameter corresponding to the business logic algorithm with different results in the second cache library.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the insurance business data processing method according to any one of claims 1 to 4 are implemented.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data processing method for insurance business according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • High-concurrency expandable operation system

    CN103077037A

  • Service data management method, device and equipment and computer readable storage medium

    CN109902103A

  • Insurance service data processing method and device based on block chain and storage medium

    CN110599357A

  • System, method and computer-readable recording medium for making personalized shopping mall application for smartphone

    KR1020140024492A