CN110648241B - Method and device for processing claims based on micro-service architecture - Google Patents
Method and device for processing claims based on micro-service architecture Download PDFInfo
- Publication number
- CN110648241B CN110648241B CN201910751623.5A CN201910751623A CN110648241B CN 110648241 B CN110648241 B CN 110648241B CN 201910751623 A CN201910751623 A CN 201910751623A CN 110648241 B CN110648241 B CN 110648241B
- Authority
- CN
- China
- Prior art keywords
- service
- micro
- settlement
- request
- service request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- Data Mining & Analysis (AREA)
- Marketing (AREA)
- Economics (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides a method and a device for processing claims based on a micro-service architecture, and relates to the technical field of cloud computing, wherein the method comprises the following steps: acquiring a claim settlement service request sent by a claim settlement requester, wherein the claim settlement service request carries policy information; invoking a micro-service configured to perform a claim service request through a preset micro-service interface, wherein the micro-service includes a loss confirmation micro-service, a loss vision micro-service, and a verification micro-service; acquiring feedback information of the micro service based on the claim settlement service request; and pushing a feedback message to the claim settlement requester, wherein the feedback message carries a self-help claim settlement link. The technical scheme provided by the embodiment of the invention can solve the problem of low efficiency of the claim settlement service system in the prior art when the claim settlement service is processed.
Description
[ Field of technology ]
The invention relates to the technical field of cloud computing, in particular to a method and a device for claim settlement processing based on a micro-service architecture.
[ Background Art ]
The existing claim settlement service system is a traditional single-body architecture, and has the defects of very many modules, fuzzy boundary of the modules, unclear dependency relationship and uneven code quality. The various information and processes are in local, scattered and stiff states, and deep and large-scale comprehensive analysis, calculation and reasoning of various information under the global condition are difficult. Therefore, the existing claim service system has complex flow and low efficiency when processing the claim service.
[ Invention ]
In view of the above, the embodiments of the present invention provide a method and an apparatus for processing claims based on a micro-service architecture, which are used for solving the problem in the prior art that the efficiency of the claim service system is low when processing the claim service.
To achieve the above object, according to one aspect of the present invention, there is provided a micro service architecture-based claim processing method, the method including:
Acquiring a claim settlement service request sent by a claim settlement requester, wherein the claim settlement service request carries policy information; invoking a micro service configured to perform the claim service request through a preset micro service interface, wherein the micro service comprises a loss confirmation micro service, a loss vision micro service and a verification micro service; acquiring feedback information of the micro service based on the claim settlement service request; and pushing the feedback message to the claim settlement requester, wherein the feedback message carries a self-help claim settlement link.
Further, the invoking the micro service configured to perform the claim service through the preset micro service interface includes: analyzing the claim settlement service request to obtain character string parameters transmitted to the preset micro-service interface by the claim settlement request; obtaining an object parameter identifier corresponding to the character string parameter according to the corresponding relation between the interface identifier of the required micro service and the character string parameter; and converting the character string parameters into object parameters according to the character string parameters and the object parameter identifiers corresponding to the acquired character string parameters so as to realize the calling of the required micro service interface.
Further, after the obtaining the claim service request sent by the claim requester, the method further includes: performing authorization verification based on the claim service request to judge whether the claim service request is reasonable; if so, invoking a micro-service configured to perform the claim service request through a preset micro-service interface.
Further, the performing authorization verification based on the claim service request to determine whether the claim service request is reasonable includes: acquiring the policy information carried in the claim settlement service request, wherein the policy information comprises a policy number, a risk name and an insurance validity period; and carrying out validity period verification on the policy information to judge whether the claim settlement service request is reasonable or not.
Further, the performing authorization verification based on the claim service request to determine whether the claim service request is reasonable includes: acquiring the policy information carried in the claim settlement service request, wherein the policy information comprises a policy number, a risk name and an insurance validity period, wherein the policy information is encrypted through an asymmetric encryption algorithm to form a ciphertext, and the ciphertext is used as a token to be added to a request head of the claim settlement service request; decrypting the request header of the claim settlement service request by using a preset private key to obtain the decrypted policy information; and carrying out validity period verification on the policy information to judge whether the claim settlement service request is reasonable or not.
Further, the pushing the feedback message to the claim requester includes: and pushing a feedback message to the claim settlement requester in a preset mode, wherein the preset mode comprises at least one of a short message, a WeChat and a mail, and the feedback message carries link information capable of connecting a preset self-service claim settlement operation page.
Further, the loss confirmation micro-service, the loss detail micro-service and the calculation audit micro-service are configured with independent and scalable databases, and the databases are MySQL databases.
To achieve the above object, according to one aspect of the present invention, there is provided a micro service architecture-based claim processing apparatus, the apparatus comprising: the first acquisition unit is used for acquiring a claim settlement service request sent by a claim settlement requester, wherein the claim settlement service request carries policy information; the calling unit is used for calling micro services required by executing the claim service request through a preset micro service interface, wherein the micro services comprise loss confirmation micro services, loss vision micro services and verification micro services; the second acquisition unit is used for acquiring feedback information of the micro service based on the claim settlement service request; and the pushing unit is used for pushing the feedback message to the claim settlement requester, wherein the feedback message carries a self-service claim settlement link.
In order to achieve the above object, according to one aspect of the present invention, there is provided a computer non-volatile storage medium, the storage medium including a stored program, which when executed controls a device in which the storage medium is located to execute the foregoing method for processing claims based on micro-service architecture.
To achieve the above object, according to one aspect of the present invention, there is provided a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method for claim processing based on a micro-service architecture as described above when the computer program is executed.
In the scheme, each micro-service realizes a specific function by micro-servicing the claim settlement service system so as to decompose huge single-body application, so that when the system receives the claim settlement request, each micro-service starts an independent process and provides a standard dispatching interface so as to call other micro-services or be called by other micro-services, thereby completing the whole set of claim settlement flow, and pushing a notice to a user according to the execution results of a plurality of micro-services, thereby enabling the user to realize self-service claim settlement and improving the claim settlement processing efficiency.
[ Description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of claim processing based on a micro-service architecture according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a micro-service architecture-based claim processing apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a computer device according to an embodiment of the invention.
[ Detailed description ] of the invention
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used to describe the terminals in the embodiments of the present invention, these terminals should not be limited to these terms. These terms are only used to distinguish terminals from one another. For example, a first terminal may also be referred to as a second terminal, and similarly, a second terminal may also be referred to as a first terminal, without departing from the scope of embodiments of the present invention.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
FIG. 1 is a flowchart of a method for claim processing based on a micro-service architecture according to an embodiment of the present invention, as shown in FIG. 1, the method includes:
Step S101, obtaining a claim settlement service request sent by a claim settlement requester, wherein the claim settlement service request carries policy information.
Step S102, calling micro services required for executing claim service request through a preset micro service interface, wherein the micro services comprise loss confirmation micro services, loss vision micro services and verification micro services.
Step S103, obtaining feedback information of the micro service based on the claim settlement service request.
Step S104, a feedback message is pushed to the claim settlement requester, wherein the feedback message carries a self-service claim settlement link.
Wherein the claim settlement requester can be the client or the insurance institution. If the claim settlement requester is a client, the client only needs to trigger the claim settlement program at the terminal equipment, and the terminal equipment can be a mobile phone, an ipad, a smart watch and the like.
In the scheme, each micro-service realizes a specific function by micro-servicing the claim settlement service system so as to decompose huge single-body application, so that when the system receives the claim settlement request, each micro-service starts an independent process and provides a standard dispatching interface so as to call other micro-services or be called by other micro-services, thereby completing the whole set of claim settlement flow, and pushing a notice to a user according to the execution results of a plurality of micro-services, thereby enabling the user to realize self-service claim settlement and improving the claim settlement processing efficiency.
Alternatively, the loss verification micro-service, the loss vision micro-service, and the verification micro-service may be independently compiled and deployed and communicate with each other through the respective exposed API interfaces. Specifically, the loss confirmation micro-service comprises micro-service components such as investigation, case setting, responsibility fixing, loss assessment, and front-end of claim. Loss detail services include statistics, classification, etc. micro-service components. The verification micro-service comprises micro-service components such as compensation, verification, payment and the like. Each service and component only needs to pay attention to own functions and provide own interfaces, and does not need to pay attention to other service logics.
Generally, the insurance claim settlement process comprises the business processes of reporting, dispatching, surveying, setting up, responsibility fixing, loss assessment, settlement, auditing and payment. Therefore, when the claim settlement request sent by the claim settlement requester is received, each link is called in a micro-service mode, and the response is fast and the efficiency is high.
Specifically, invoking a micro service configured to perform a claim service required through a preset micro service interface, including: analyzing the claim settlement service request to obtain character string parameters transmitted to a micro-service interface preset in the claim settlement request direction; according to the corresponding relation between the interface identifier of the required micro service and the character string parameter, obtaining an object parameter identifier corresponding to the character string parameter; and converting the character string parameters into object parameters according to the character string parameters and the object parameter identifiers corresponding to the acquired character string parameters so as to realize the calling of the required micro-service interface.
Further, the loss confirmation micro-service can directly call the data matched with the policy information in the corresponding database. Illustratively, after the survey personnel go to the site for survey and confirmation, survey data including the time of the rescue, the survey description, the rescue place and the like can be sent to the loss confirmation micro-service through the terminal of the survey personnel; when a claim settlement request is received, survey data matching the policy information can be invoked.
In this embodiment, the micro-service cluster employs a spring closed micro-service framework. Specifically, the zookeeper is used as a registry, so that the stability of the system registry is ensured, and the compatibility with the existing resources is better realized. The registry is responsible for listening to and protecting the state of each micro-service component.
The access among the micro-service components adopts spring cloud feign mode, so that the components have the same coding experience as the local method when calling the remote http service mutually, the development cost is reduced, and the development efficiency is improved.
Optionally, the micro-service architecture further includes a gateway, where the gateway refers to an API gateway, and all API calls are uniformly accessed to an API gateway layer, and are uniformly accessed and output by the gateway layer. The gateway has the capabilities of unified access, safety protection, protocol adaptation, flow control, long and short link support, fault tolerance and the like. By adopting zuul as an entrance gateway, accurate routing of different micro-service calls is realized, and a routing algorithm is continuously optimized. After the gateway receives the claim settlement request, the claim settlement request is routed to the micro service registered in the registration center, and the micro service transmits the execution result to the claim settlement requester through the gateway.
Optionally, the loss confirmation micro-service, the loss vision micro-service and the verification micro-service are configured with independent and telescopic databases, wherein the databases are MySQL databases for providing data storage and access support for each micro-service, and the distributed deployment of the Mysql databases is realized through distributed plug-ins.
The micro-service architecture further includes a micro-service registry for registering the micro-service.
Optionally, after obtaining the claim service request sent by the claim requester, the method further includes:
Performing authorization verification based on the claim service request to determine whether the claim service request is reasonable;
If so, invoking a micro-service configured to perform the claim service request through a preset micro-service interface.
In one embodiment, policy information carried in the claim service request is obtained, the policy information includes a policy number, a risk name, and an insurance validity period, and validity period verification is performed on the policy information to determine whether the claim service request is reasonable.
In other embodiments, the policy information may be encrypted by an asymmetric encryption algorithm to form a ciphertext, the ciphertext may be added as a token to a request header of the claim service request, and the claim service request may be sent to a claim service system of the micro service architecture. When the gateway receives the request header of the claim service request, the request header of the claim service request is decrypted by utilizing a preset private key, the decrypted policy information is obtained, and validity period verification is carried out on the policy information to judge whether the claim service request is reasonable or not. And if the verification is passed, calling a micro service required for executing the claim service request through a preset micro service interface.
Asymmetric encryption algorithms include, but are not limited to: RSA algorithm, diffie-hellman key algorithm, knapsack algorithm, rabin algorithm, D-H algorithm, elliptic curve encryption algorithm, etc. to generate an asymmetric key according to the asymmetric encryption algorithm. That is, the public key used to encrypt the authentication key and the private key used to decrypt the authentication key are different.
It can be understood that by verifying the rationality of the claim settlement service request, the claim settlement service is authorized, so that accurate management and control are realized, unreasonable claim settlement service requests can be stopped, and the data processing efficiency of each micro service is improved.
Optionally, pushing the feedback message to the claim requester includes: the method comprises the steps that feedback information is pushed to a claim settlement requester in a preset mode, wherein the preset mode comprises at least one of short messages, weChat and mails, and the feedback information carries link information capable of connecting with a preset self-service claim settlement operation page.
In the scheme, each micro-service realizes a specific function by micro-servicing the claim settlement service system so as to decompose huge single-body application, so that when the system receives the claim settlement request, each micro-service starts an independent process and provides a standard dispatching interface so as to call other micro-services or be called by other micro-services, thereby completing the whole set of claim settlement flow, and pushing a notice to a user according to the execution results of a plurality of micro-services, thereby enabling the user to realize self-service claim settlement and improving the claim settlement processing efficiency.
The embodiment of the invention provides a claim processing device based on a micro-service architecture, which is used for executing the claim processing method based on the micro-service architecture, as shown in fig. 2, and comprises the following steps: a first acquisition unit 10, a calling unit 20, a second acquisition unit 30, a pushing unit 40.
The first obtaining unit 10 is configured to obtain a claim service request sent by a claim requester, where the claim service request carries policy information.
And a calling unit 20, configured to call, through a preset micro service interface, micro services required for executing the claim service request, where the micro services include a loss confirmation micro service, a loss vision micro service, and a verification micro service.
And a second obtaining unit 30, configured to obtain feedback information of the micro service based on the claim service request.
And a pushing unit 40, configured to push the feedback message to the claim settlement requester, where the feedback message carries a self-service claim settlement link.
Wherein the claim settlement requester can be the client or the insurance institution. If the claim settlement requester is a client, the client only needs to trigger the claim settlement program at the terminal equipment, and the terminal equipment can be a mobile phone, an ipad, a smart watch and the like.
In the scheme, each micro-service realizes a specific function by micro-servicing the claim settlement service system so as to decompose huge single-body application, so that when the system receives the claim settlement request, each micro-service starts an independent process and provides a standard dispatching interface so as to call other micro-services or be called by other micro-services, thereby completing the whole set of claim settlement flow, and pushing a notice to a user according to the execution results of a plurality of micro-services, thereby enabling the user to realize self-service claim settlement and improving the claim settlement processing efficiency.
Alternatively, the loss verification micro-service, the loss vision micro-service, and the verification micro-service may be independently compiled and deployed and communicate with each other through the respective exposed API interfaces. Specifically, the loss confirmation micro-service comprises micro-service components such as investigation, case setting, responsibility fixing, loss assessment, and front-end of claim. Loss detail services include statistics, classification, etc. micro-service components. The verification micro-service comprises micro-service components such as compensation, verification, payment and the like. Each service and component only needs to pay attention to own functions and provide own interfaces, and does not need to pay attention to other service logics.
Generally, the insurance claim settlement process comprises the business processes of reporting, dispatching, surveying, setting up, responsibility fixing, loss assessment, settlement, auditing and payment. Therefore, when the claim settlement request sent by the claim settlement requester is received, each link is called in a micro-service mode, and the response is fast and the efficiency is high.
Specifically, the calling unit 20 includes an parsing subunit, an acquiring subunit, and a converting subunit.
The analysis subunit is used for analyzing the claim settlement service request to obtain character string parameters transmitted to the micro-service interface by the claim settlement request direction; the acquisition subunit is used for acquiring an object parameter identifier corresponding to the character string parameter according to the corresponding relation between the interface identifier of the required micro service and the character string parameter; and the conversion subunit is used for converting the character string parameters into object parameters according to the character string parameters and the object parameter identifiers corresponding to the acquired character string parameters so as to realize the calling of the required micro-service interface.
Further, the loss confirmation micro-service can directly call the data matched with the policy information in the corresponding database. Illustratively, after the survey personnel go to the site for survey and confirmation, survey data including the time of the rescue, the survey description, the rescue place and the like can be sent to the loss confirmation micro-service through the terminal of the survey personnel; when a claim settlement request is received, survey data matching the policy information can be invoked.
In this embodiment, the micro-service cluster employs a spring closed micro-service framework. Specifically, the zookeeper is used as a registry, so that the stability of the system registry is ensured, and the compatibility with the existing resources is better realized. The registry is responsible for listening to and protecting the state of each micro-service component.
The access among the micro-service components adopts spring cloud feign mode, so that the components have the same coding experience as the local method when calling the remote http service mutually, the development cost is reduced, and the development efficiency is improved.
Optionally, the micro-service architecture further includes a gateway, where the gateway refers to an API gateway, and all API calls are uniformly accessed to an API gateway layer, and are uniformly accessed and output by the gateway layer. The gateway has the capabilities of unified access, safety protection, protocol adaptation, flow control, long and short link support, fault tolerance and the like. By adopting zuul as an entrance gateway, accurate routing of different micro-service calls is realized, and a routing algorithm is continuously optimized. After the gateway receives the claim settlement request, the claim settlement request is routed to the micro service registered in the registration center, and the micro service transmits the execution result to the claim settlement requester through the gateway.
Optionally, the loss confirmation micro-service, the loss vision micro-service and the verification micro-service are configured with independent and telescopic databases, wherein the databases are MySQL databases for providing data storage and access support for each micro-service, and the distributed deployment of the Mysql databases is realized through distributed plug-ins.
The micro-service architecture further includes a micro-service registry for registering the micro-service.
Optionally, the apparatus further comprises a verification unit.
The verification unit is used for carrying out authorization verification based on the claim settlement service request so as to judge whether the claim settlement service request is reasonable or not; if so, invoking a micro-service configured to perform the claim service request through a preset micro-service interface.
In one embodiment, policy information carried in the claim service request is obtained, the policy information includes a policy number, a risk name, and an insurance validity period, and validity period verification is performed on the policy information to determine whether the claim service request is reasonable.
In other embodiments, the policy information may be encrypted by an asymmetric encryption algorithm to form a ciphertext, the ciphertext may be added as a token to a request header of the claim service request, and the claim service request may be sent to a claim service system of the micro service architecture. When the gateway receives the request header of the claim service request, the request header of the claim service request is decrypted by utilizing a preset private key, the decrypted policy information is obtained, and validity period verification is carried out on the policy information to judge whether the claim service request is reasonable or not. And if the verification is passed, calling a micro service required for executing the claim service request through a preset micro service interface.
Asymmetric encryption algorithms include, but are not limited to: RSA algorithm, diffie-hellman key algorithm, knapsack algorithm, rabin algorithm, D-H algorithm, elliptic curve encryption algorithm, etc. to generate an asymmetric key according to the asymmetric encryption algorithm. That is, the public key used to encrypt the authentication key and the private key used to decrypt the authentication key are different.
It can be understood that by verifying the rationality of the claim settlement service request, the claim settlement service is authorized, so that accurate management and control are realized, unreasonable claim settlement service requests can be stopped, and the data processing efficiency of each micro service is improved.
Optionally, the pushing unit 40 comprises a pushing subunit.
The pushing subunit is configured to push a feedback message to the claim settlement requester in a preset manner, where the preset manner includes at least one of a short message, a WeChat, and a mail, and the feedback message carries link information that can connect to a preset self-service claim settlement operation page.
In the scheme, each micro-service realizes a specific function by micro-servicing the claim settlement service system so as to decompose huge single-body application, so that when the system receives the claim settlement request, each micro-service starts an independent process and provides a standard dispatching interface so as to call other micro-services or be called by other micro-services, thereby completing the whole set of claim settlement flow, and pushing a notice to a user according to the execution results of a plurality of micro-services, thereby enabling the user to realize self-service claim settlement and improving the claim settlement processing efficiency.
The embodiment of the invention provides a non-volatile storage medium of a computer, which comprises a stored program, wherein when the program runs, equipment in which the storage medium is controlled to execute the following steps:
Acquiring a claim settlement service request sent by a claim settlement requester, wherein the claim settlement service request carries policy information; invoking a micro service configured to perform the claim service request through a preset micro service interface, wherein the micro service comprises a loss confirmation micro service, a loss vision micro service and a verification micro service; acquiring feedback information of the micro service based on the claim settlement service request; and pushing the feedback message to the claim settlement requester, wherein the feedback message carries a self-help claim settlement link.
Optionally, the device controlling the storage medium when the program runs further performs the following steps: analyzing the claim settlement service request to obtain character string parameters transmitted to the micro-service interface by the claim settlement request; obtaining an object parameter identifier corresponding to the character string parameter according to the corresponding relation between the interface identifier of the required micro service and the character string parameter; and converting the character string parameters into object parameters according to the character string parameters and the object parameter identifiers corresponding to the acquired character string parameters so as to realize the calling of the required micro service interface.
Optionally, the device controlling the storage medium when the program runs further performs the following steps: performing authorization verification based on the claim service request to judge whether the claim service request is reasonable; if so, invoking a micro-service configured to perform the claim service request through a preset micro-service interface.
Optionally, the device controlling the storage medium when the program runs further performs the following steps: acquiring the policy information carried in the claim settlement service request, wherein the policy information comprises a policy number, a risk name and an insurance validity period; and carrying out validity period verification on the policy information to judge whether the claim settlement service request is reasonable or not.
Optionally, the device controlling the storage medium when the program runs further performs the following steps: acquiring the policy information carried in the claim settlement service request, wherein the policy information comprises a policy number, a risk name and an insurance validity period, wherein the policy information is encrypted through an asymmetric encryption algorithm to form a ciphertext, and the ciphertext is used as a token to be added to a request head of the claim settlement service request; decrypting the request header of the claim settlement service request by using a preset private key to obtain the decrypted policy information; and carrying out validity period verification on the policy information to judge whether the claim settlement service request is reasonable or not.
Fig. 3 is a schematic diagram of a computer device according to an embodiment of the present invention. As shown in fig. 3, the computer device 100 of this embodiment includes: the processor 101, the memory 102, and the computer program 103 stored in the memory 102 and capable of running on the processor 101, when the processor 101 executes the computer program 103, the method for claim processing based on the micro-service architecture in the embodiment is implemented, and is not described herein in detail to avoid repetition. Or the computer program when executed by the processor 101 implements the functions of each model/unit in the micro-service architecture-based claim processing device in the embodiment, and is not described herein in detail for avoiding repetition.
The computer device 100 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. Computer devices may include, but are not limited to, processor 101, memory 102. It will be appreciated by those skilled in the art that fig. 3 is merely an example of computer device 100 and is not intended to limit computer device 100, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., a computer device may also include an input-output device, a network access device, a bus, etc.
The Processor 101 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 102 may be an internal storage unit of the computer device 100, such as a hard disk or a memory of the computer device 100. The memory 102 may also be an external storage device of the computer device 100, such as a plug-in hard disk provided on the computer device 100, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), or the like. Further, the memory 102 may also include both internal storage units and external storage devices of the computer device 100. The memory 102 is used to store computer programs and other programs and data required by the computer device. The memory 102 may also be used to temporarily store data that has been output or is to be output.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a Processor (Processor) to perform part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the invention.
Claims (6)
1. A method of claim processing based on a micro-service architecture, the method comprising:
Acquiring a claim settlement service request sent by a claim settlement requester, wherein the claim settlement service request carries policy information;
Performing authorization verification based on the claim service request to judge whether the claim service request is reasonable; if so, invoking a micro-service configured to execute the claim service request through a preset micro-service interface, wherein the micro-service comprises a loss confirmation micro-service, a loss vision micro-service and a verification micro-service;
Acquiring a feedback message of the micro-service based on the claim settlement service request;
pushing the feedback message to the claim settlement requester, wherein the feedback message carries a self-service claim settlement link;
the performing authorization verification based on the claim service request to determine whether the claim service request is reasonable includes:
Acquiring the policy information carried in the claim settlement service request, wherein the policy information comprises a policy number, a risk name and an insurance validity period, wherein the policy information is encrypted through an asymmetric encryption algorithm to form a ciphertext, and the ciphertext is used as a token to be added to a request head of the claim settlement service request;
Decrypting the request header of the claim settlement service request by using a preset private key to obtain the decrypted policy information;
validity period verification is carried out on the policy information to judge whether the claim settlement service request is reasonable or not; the invoking of the micro-service configured to perform the claim service through the preset micro-service interface includes:
Analyzing the claim settlement service request to obtain character string parameters transmitted to the preset micro-service interface by the claim settlement request;
obtaining an object parameter identifier corresponding to the character string parameter according to the corresponding relation between the interface identifier of the required micro service and the character string parameter;
and converting the character string parameters into object parameters according to the character string parameters and the object parameter identifiers corresponding to the acquired character string parameters so as to realize the calling of the required micro service interface.
2. The method of claim 1, wherein pushing the feedback message to the claim requester comprises:
And pushing a feedback message to the claim settlement requester in a preset mode, wherein the preset mode comprises at least one of a short message, a WeChat and a mail, and the feedback message carries link information capable of connecting a preset self-service claim settlement operation page.
3. The method according to claim 1 or 2, wherein the loss validation micro-service, the loss detail micro-service and the calculation audit micro-service are each configured with an independently scalable database, the database being a MySQL database.
4. A micro-service architecture-based claim processing apparatus, the apparatus comprising:
The first acquisition unit is used for acquiring a claim settlement service request sent by a claim settlement requester, wherein the claim settlement service request carries policy information;
The calling unit is used for carrying out authorization verification based on the claim settlement service request so as to judge whether the claim settlement service request is reasonable or not; if so, invoking a micro-service configured to execute the claim service request through a preset micro-service interface, wherein the micro-service comprises a loss confirmation micro-service, a loss vision micro-service and a verification micro-service; the performing authorization verification based on the claim service request to determine whether the claim service request is reasonable includes: acquiring the policy information carried in the claim settlement service request, wherein the policy information comprises a policy number, a risk name and an insurance validity period, wherein the policy information is encrypted through an asymmetric encryption algorithm to form a ciphertext, and the ciphertext is used as a token to be added to a request head of the claim settlement service request; decrypting the request header of the claim settlement service request by using a preset private key to obtain the decrypted policy information; validity period verification is carried out on the policy information to judge whether the claim settlement service request is reasonable or not; the invoking of the micro-service configured to perform the claim service through the preset micro-service interface includes: analyzing the claim settlement service request to obtain character string parameters transmitted to the preset micro-service interface by the claim settlement request; obtaining an object parameter identifier corresponding to the character string parameter according to the corresponding relation between the interface identifier of the required micro service and the character string parameter; converting the character string parameters into object parameters according to the character string parameters and the object parameter identifiers corresponding to the acquired character string parameters so as to realize the calling of the required micro-service interface;
The second acquisition unit is used for acquiring a feedback message of the micro service based on the claim settlement service request;
And the pushing unit is used for pushing the feedback message to the claim settlement requester, wherein the feedback message carries a self-service claim settlement link.
5. A computer non-volatile storage medium comprising a stored program, characterized in that the program, when run, controls a device in which the storage medium is located to perform the micro-service architecture-based claim processing method of any one of claims 1 to 3.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the micro-service architecture based claim processing method of any one of claims 1 to 3 when the computer program is executed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910751623.5A CN110648241B (en) | 2019-08-14 | 2019-08-14 | Method and device for processing claims based on micro-service architecture |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910751623.5A CN110648241B (en) | 2019-08-14 | 2019-08-14 | Method and device for processing claims based on micro-service architecture |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110648241A CN110648241A (en) | 2020-01-03 |
| CN110648241B true CN110648241B (en) | 2024-05-28 |
Family
ID=69009492
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910751623.5A Active CN110648241B (en) | 2019-08-14 | 2019-08-14 | Method and device for processing claims based on micro-service architecture |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110648241B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112019332B (en) * | 2020-08-26 | 2022-11-04 | 平安国际智慧城市科技股份有限公司 | Encryption and decryption method based on micro-service, API gateway system and equipment |
| CN112765117B (en) * | 2021-01-26 | 2024-07-26 | 中国船级社 | Industrial Internet identification analysis system based on micro-service architecture |
| CN114119253B (en) * | 2021-09-27 | 2025-05-09 | 深圳平安智慧医健科技有限公司 | Special medicine compensation processing method, device, terminal and storage medium |
| CN114418750A (en) * | 2022-01-27 | 2022-04-29 | 中国建设银行股份有限公司 | Service processing method and device, electronic equipment and storage medium |
| CN115022396A (en) * | 2022-06-07 | 2022-09-06 | 支付宝(杭州)信息技术有限公司 | Content pushing method and device and server |
| CN116775769A (en) * | 2023-06-27 | 2023-09-19 | 中国平安财产保险股份有限公司 | Distributed data verification method and device, computer equipment and storage medium |
| CN117649305A (en) * | 2024-01-12 | 2024-03-05 | 广州小锤科技服务有限公司 | Personalized claim micro-service management method, device, equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108156022A (en) * | 2017-12-04 | 2018-06-12 | 北京奇艺世纪科技有限公司 | A kind of service calling method, device and electronic equipment |
| CN108810029A (en) * | 2018-07-23 | 2018-11-13 | 珠海宏桥高科技有限公司 | Right discriminating system and optimization method between a kind of micro services infrastructure services |
| CN112231379A (en) * | 2020-10-16 | 2021-01-15 | 苏州浪潮智能科技有限公司 | API audit method, device, device and storage medium based on microservice architecture |
| CN113806104A (en) * | 2021-08-02 | 2021-12-17 | 北京房江湖科技有限公司 | Interface access request processing method, API gateway, server and system |
| CN114640541A (en) * | 2022-04-15 | 2022-06-17 | 透彻影像(北京)科技有限公司 | Method for authentication between micro-services in distributed architecture |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030105687A1 (en) * | 2001-11-26 | 2003-06-05 | Wolfgang Bross | Methods, data record, software interface, data warehouse module and software application for exchanging transaction- tax-related data |
| US10922089B2 (en) * | 2016-09-22 | 2021-02-16 | Groupon, Inc. | Mobile service applications |
-
2019
- 2019-08-14 CN CN201910751623.5A patent/CN110648241B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108156022A (en) * | 2017-12-04 | 2018-06-12 | 北京奇艺世纪科技有限公司 | A kind of service calling method, device and electronic equipment |
| CN108810029A (en) * | 2018-07-23 | 2018-11-13 | 珠海宏桥高科技有限公司 | Right discriminating system and optimization method between a kind of micro services infrastructure services |
| CN112231379A (en) * | 2020-10-16 | 2021-01-15 | 苏州浪潮智能科技有限公司 | API audit method, device, device and storage medium based on microservice architecture |
| CN113806104A (en) * | 2021-08-02 | 2021-12-17 | 北京房江湖科技有限公司 | Interface access request processing method, API gateway, server and system |
| CN114640541A (en) * | 2022-04-15 | 2022-06-17 | 透彻影像(北京)科技有限公司 | Method for authentication between micro-services in distributed architecture |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110648241A (en) | 2020-01-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110648241B (en) | Method and device for processing claims based on micro-service architecture | |
| CN109413087B (en) | Data sharing method and device, digital gateway and computer readable storage medium | |
| EP3114602B1 (en) | Method and apparatus for verifying processed data | |
| US20190082026A1 (en) | Interface invocation method and apparatus for hybrid cloud | |
| CN111915019A (en) | Federal learning method, system, computer device, and storage medium | |
| US20160119784A1 (en) | Authentication of phone caller identity | |
| US20210049299A1 (en) | System and methods for providing data analytics for secure cloud compute data | |
| CN109460966A (en) | Contract signing method, apparatus and terminal device based on requesting party's classification | |
| US11082219B2 (en) | Detection and protection of data in API calls | |
| CN110138744A (en) | Replace method, apparatus, system, computer equipment and the storage medium of communicating number | |
| EP2354996A1 (en) | Apparatus and method for remote processing while securing classified data | |
| CN109558710B (en) | User login method, device, system and storage medium | |
| CN111224834A (en) | Simulation test method, simulation test device, server and storage medium | |
| CN111880919A (en) | Data scheduling method, system and computer equipment | |
| CN109871287A (en) | Interface calling method, device, computer device and storage medium | |
| CN113962695B (en) | Data processing method, device and server | |
| CN112738008A (en) | Information synchronous changing method, device, computer and readable storage medium | |
| CN114268487A (en) | Authority control method and device based on industrial identification node | |
| US20120101829A1 (en) | Wholesale device registration system, method, and program product | |
| CN109062848B (en) | Purchase management method and device based on ESB bus platform and bus platform | |
| CN119030963A (en) | A secure large-screen cross-platform multi-screen real-time linkage system | |
| CN118138620A (en) | Financial business transaction routing method and device based on OpenAPI technology | |
| CN119865502A (en) | Data processing method and device based on block chain and related equipment | |
| CN115712916A (en) | Data access processing method based on block chain and data interaction system | |
| CN110691060A (en) | Method and system for realizing remote equipment password service based on CSP interface |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |