CN107274023A - Flow of insuring generation method, insure request processing method and device and electronic equipment - Google Patents

Flow of insuring generation method, insure request processing method and device and electronic equipment Download PDF

Info

Publication number
CN107274023A
CN107274023A CN201710467608.9A CN201710467608A CN107274023A CN 107274023 A CN107274023 A CN 107274023A CN 201710467608 A CN201710467608 A CN 201710467608A CN 107274023 A CN107274023 A CN 107274023A
Authority
CN
China
Prior art keywords
insuring
component
business
flow
insured
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.)
Pending
Application number
CN201710467608.9A
Other languages
Chinese (zh)
Inventor
胡建欧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710467608.9A priority Critical patent/CN107274023A/en
Publication of CN107274023A publication Critical patent/CN107274023A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Insured flow generation method this application discloses one kind, including:Obtain the business information for business of insuring;According to business information and Component Gallery of insuring, it is determined that the execution sequence of insure component and component of insuring corresponding with the business of insuring in Component Gallery of insuring, insure at least one the default component of insuring that is stored with Component Gallery, component of insuring is used to realize the service logic in business of insuring;According to insure component and its execution sequence, the flow of insuring for handling business of insuring is generated, wherein, flow of insuring performs component of insuring according to execution sequence.The application also discloses a kind of processing method for request of insuring on this basis, including obtains request of insuring, and request of insuring includes the business information for the business of insuring that request is insured;According to business information, it is determined that the flow of insuring for handling business of insuring;Insured using flow processing of insuring and ask the business of insuring insured in request.This programme optimizes the generating process and implementation procedure for flow of insuring, and improves scalability and maintainability.

Description

Flow of insuring generation method, insure request processing method and device and electronic equipment
Technical field
The application is related to field of computer technology, more particularly to one kind is insured flow generation method and its device and throwing Protect request processing method and its device.
Background technology
With the development of Internet technology, the online insurance platform for docking and building up with traditional insurance companies (can be described as Third party's internet insurance platform) also arise at the historic moment.Online insurance platform waits many advantages because it is efficiently convenient, extensively should obtain With.
In order to meet the multiple personal demand of user, online insurance platform needs to support a variety of different insurance products institutes Corresponding type of service, for example, personal risk, enterprise danger, vehicle insurance, insurance card, renew continuation of insurance etc..Also, New-safety product Release also require that online insurance platform can support more types of service, for example, give danger, partly give danger etc..
In the prior art, the need for the flow of insuring to meet different type insurance products, production code member is generally passed through Or type identification distinguishes different types of service, each type of service insures flow chart branches by its is respective to handle, and The flow of insuring of each type of service is often encoded using vertical architecture, can image referred to as funnel-shaped framework. The major defect of this framework is:
In funnel-shaped framework, difference is updated or adds on the basis of needs insure flow in the original of type of service During branch, can only by way of hard coded by newly-increased service logic toward " chimney " inner superposition, therefore, this framework expands Malleability is poor.Also, due to sentencing for multiple different business logics for may relate to be scattered in flow of entirely insuring on stream It is disconnected, therefore, the workload increase that bug is also easily caused in Added Business logic and integrated testability may be caused to return It is more than one times, maintainable poor.
The content of the invention
The embodiment of the present application provides insure flow generation method and device, it is intended to optimizes the generating process for flow of insuring, carries Height is insured the scalability and maintainability of flow.
The embodiment of the present application also provides insure request processing method and device, it is intended to optimize the processing procedure for request of insuring, Improve the scalability and maintainability for request processing procedure of insuring.
The embodiment of the present application uses following technical proposals:
Insured flow generation method in a first aspect, the embodiment of the present application provides one kind, including:
Obtain the business information for business of insuring;
According to the business information and Component Gallery of insuring, it is determined that corresponding with the business of insuring in the Component Gallery of insuring Insure component and the component of insuring execution sequence;Be stored with least one default group of insuring in the Component Gallery of insuring Part, the component of insuring be used for realize the service logic insured in business;
According to insure component and its execution sequence, the flow of insuring for business of insuring described in handling is generated;Wherein, The flow of insuring is according to component of being insured described in execution sequence execution.
Preferably, in the flow production method of insuring for the first aspect that the embodiment of the present application is provided, in the component of insuring Including required parameter information and/or processing result information, then insured according to described in component and its execution sequence are generated for handling The business of insuring insure flow when, including:
Context class is preset in the flow of insuring;
Required parameter information and/or processing result information in the component of insuring is set up with the context class and associated Relation, for transmitting the required parameter information and/or result in inter-module of respectively insuring when insuring flow described in execution Information;
According to insure component and its execution sequence, the throwing according to component of being insured described in execution sequence execution is generated Protect flow.
Preferably, in the flow production method of insuring for the first aspect that the embodiment of the present application is provided, in the component of insuring Including dependency attribute, the dependency attribute includes strong dependence,
In the flow of insuring then generated according to insure component and its execution sequence, including:
When dependency attribute is that the component of insuring relied on by force performs failure or be abnormal, the flow termination of insuring, and return Flow of insuring performs failure or performs abnormal result.
Preferably, in the flow production method of insuring for the first aspect that the embodiment of the present application is provided, the dependency attribute is also Relied on including weak, then in the flow of insuring that insured according to described in component and its execution sequence are generated, in addition to:
When dependency attribute performs failure or be abnormal for the component of insuring of weak dependence, the flow of insuring is performed according to described Order continues executing with next component of insuring.
Preferably, in the flow production method of insuring for the first aspect that the embodiment of the present application is provided, according to business letter Cease and Component Gallery of insuring, it is determined that insure component and the group of insuring corresponding with the business of insuring in the Component Gallery of insuring The execution sequence of part, including:
According to the business information and Component Gallery of insuring, it is determined that the industry for business of being insured described in being realized in the Component Gallery of insuring Component of insuring needed for logic of being engaged in;
The dependence insured according to described between component, it is determined that the execution sequence of the component of insuring.
Preferably, in the flow production method of insuring for the first aspect that the embodiment of the present application is provided, the Component Gallery of insuring Include following one or more components of insuring:
Preposition inspection component, user's securing component, product securing component, white list component, inquiry component, duration of insurance treatment group Part, insurance kind processing assembly, price processing assembly, reward voucher processing assembly, extension process component, marketing component, income people component, Warrantee's component, requestee's component, target component, invocation component of insuring.
Preferably, in the flow production method of insuring for the first aspect that the embodiment of the present application is provided, insured according to described in Component and its execution sequence, are generated after the flow of insuring for handling the business of insuring, methods described also includes:
Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
According to the business information, it is determined that the flow of insuring for handling the business of insuring;
Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
Preferably, in the flow production method of insuring for the first aspect that the embodiment of the present application is provided, in the component of insuring Including required parameter information and/or processing result information, context class is preset with the flow of insuring,
Then using the business of insuring that request in request insures of being insured described in flow processing of insuring, including:
According to the request of insuring, initialize described in the contextual information insured in flow;
According to component of being insured described in the execution sequence execution in the flow of insuring, and the request of the component of insuring is joined Number information and/or processing result information write the contextual information, so as in each inter-module transmission of insuring.
Preferably, in the flow production method of insuring for the first aspect that the embodiment of the present application is provided, according to the business Information and insure Component Gallery, it is determined that corresponding with the business of insuring insure and described is insured at component in the Component Gallery of insuring Before the execution sequence of component, methods described also includes:
Insured Component Gallery described in building;Wherein, be stored with least one default component of insuring in the Component Gallery of insuring, The component of insuring be used for realize the service logic insured in business.
Preferably, in the flow production method of insuring for the first aspect that the embodiment of the present application is provided, group of being insured described in structure Part storehouse, including:
According to the service logic for business of being insured described in presetting granularity fractionation, multiple subservice logics are determined;
Generate the component of insuring for realizing the subservice logic;
The storage component of insuring, Component Gallery of insuring described in composition.
Second aspect, the embodiment of the present application provides one kind and insured request processing method, including:
Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
According to the business information, it is determined that the flow of insuring for handling the business of insuring;Wherein, the flow of insuring Include the component of insuring performed according to execution sequence, the business letter of component and its execution sequence according to business of insuring of insuring Cease and Component Gallery determination of insuring, be stored with least one default component of insuring, the component of insuring in the Component Gallery of insuring For realizing the service logic in business of insuring;
Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
Preferably, in the request processing method of insuring for the second aspect that the embodiment of the present application is provided, in the component of insuring Including required parameter information and/or processing result information, context class is preset with the flow of insuring,
Then using the business of insuring that request in request insures of being insured described in flow processing of insuring, including:
According to the request of insuring, initialize described in the contextual information insured in flow;
According to component of being insured described in the execution sequence execution in the flow of insuring, and the request of the component of insuring is joined Number information and/or processing result information write the contextual information, so as in each inter-module transmission of insuring.
Preferably, in the request processing method of insuring for the second aspect that the embodiment of the present application is provided, in the request of insuring Also include the insurance data insured of request, then according to the request of insuring, initialize described in the contextual information insured in flow, Including:
The insurance data in the request of insuring is write into the contextual information, in the flow of insuring Component of respectively insuring between transmit.
Preferably, in the request processing method of insuring for the second aspect that the embodiment of the present application is provided, in the component of insuring Including dependency attribute, the dependency attribute includes strong dependence, then using the request in request of being insured described in flow processing of insuring The business of insuring insured, including:
When dependency attribute is that the component of insuring relied on by force performs failure or be abnormal in the flow of insuring, the stream of insuring Journey stops, and returns to insure flow execution failure or the abnormal result of execution.
Preferably, in the request processing method of insuring for the second aspect that the embodiment of the present application is provided, the dependency attribute is also Relied on including weak, then using the business of insuring that request in request insures of being insured described in flow processing of insuring, in addition to:
When dependency attribute performs failure or is abnormal for the component of insuring of weak dependence in the flow of insuring, the stream of insuring Journey continues executing with next component of insuring according to the execution sequence.
The third aspect, the embodiment of the present application provides one kind and insured flow generating means, including:
Business information obtaining module, obtains the business information for business of insuring;
Insure component determining module, according to the business information and Component Gallery of insuring, it is determined that in the Component Gallery of insuring with The execution sequence of the business of insuring corresponding insure component and the component of insuring;It is stored with the Component Gallery of insuring pre- If at least one component of insuring, the component of insuring be used for realize the service logic insured in business;
Flow of insuring generation module, insured according to described in component and its execution sequence are generated for handling the industry of insuring The flow of insuring of business;Wherein, the flow of insuring is according to component of being insured described in execution sequence execution.
Fourth aspect, the embodiment of the present application provides a kind of electronic equipment, including:
Processor;And
It is arranged to store the memory of computer executable instructions, the executable instruction makes the place when executed Manage device and perform following operate:
Obtain the business information for business of insuring;
According to the business information and Component Gallery of insuring, it is determined that corresponding with the business of insuring in the Component Gallery of insuring Insure component and the component of insuring execution sequence;Be stored with least one default group of insuring in the Component Gallery of insuring Part, the component of insuring be used for realize the service logic insured in business;
According to insure component and its execution sequence, the flow of insuring for business of insuring described in handling is generated;Wherein, The flow of insuring is according to component of being insured described in execution sequence execution.
5th aspect, the embodiment of the present application provides one kind and insured request processing unit, including:
Acquisition request of insuring module, obtains request of insuring, and the request of insuring includes the business of insuring that request is insured Business information;
Flow of insuring determining module, according to the business information, it is determined that the flow of insuring for handling the business of insuring; Wherein, the flow of insuring includes the component of insuring performed according to execution sequence, it is described insure component and its execution sequence according to Determined according to the business information and Component Gallery of insuring for the business of insuring, be stored with the Component Gallery of insuring it is default at least one insure Component, the component of insuring be used for realize the service logic insured in business;
Insure request processing module, using the industry of insuring for insuring and being insured described in flow processing and asking in request to insure Business.
6th aspect, the embodiment of the present application provides a kind of electronic equipment, including:
Processor;And
It is arranged to store the memory of computer executable instructions, the executable instruction makes the place when executed Manage device and perform following operate:
Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
According to the business information, it is determined that the flow of insuring for handling the business of insuring;Wherein, the flow of insuring Include the component of insuring performed according to execution sequence, the business letter of component and its execution sequence according to business of insuring of insuring Cease and Component Gallery determination of insuring, be stored with least one default component of insuring, the component of insuring in the Component Gallery of insuring For realizing the service logic in business of insuring;
Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
7th aspect, the embodiment of the present application provides one kind and insured request processing method, including:
Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
According to the business information and Component Gallery of insuring, it is determined that corresponding with the business of insuring in the Component Gallery of insuring Insure component and the component of insuring execution sequence;Be stored with least one default group of insuring in the Component Gallery of insuring Part, the component of insuring be used for realize the service logic insured in business;
According to insure component and its execution sequence, the flow of insuring for business of insuring described in handling is generated;Wherein, The flow of insuring is according to component of being insured described in execution sequence execution;
Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
At least one above-mentioned technical scheme that the embodiment of the present application is used can reach following beneficial effect:
The embodiment that the application is provided is when flow is insured in generation, according to the business information for the business of insuring, from being pre-designed Component Gallery of insuring in determine insure component and the execution sequence of these insure components corresponding with the business of insuring, and then The flow of insuring that component of insuring is performed according to this execution sequence can be generated on this basis.Using the skill of the embodiment of the present application Art scheme, when need to increase it is new insure business when, due to insuring, component can realize the service logic in the business of insuring, because This, can choose appropriate component of insuring according to the service logic required for new business of insuring in Component Gallery of insuring, and can With the execution sequence between component of being insured according to the determination of the service logic relation of new business of insuring, you can the new industry of insuring of generation The corresponding flow of insuring of business.Using the technical scheme of the embodiment of the present application, when needs enter on the basis of original business of insuring Row updates or when adding different branches, only need to be according to new business of insuring the need for, original can be both changed in Component Gallery of insuring The component of insuring having, can also add new component of insuring, and new component of insuring can have both been chosen from Component Gallery of insuring, also may be used To adjust the execution sequence for inter-module of insuring, so as to constitute the new flow of insuring being adapted with new business of insuring.Therefore, originally The flow of insuring that application embodiment is provided has more preferable scalability and maintainability, so as to quickly support and meet New business demand.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please is used to explain the application, does not constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is a kind of schematic flow sheet for flow generation method of insuring in the embodiment of the present application;
Fig. 2 is the schematic flow sheet of second of flow generation method of insuring in the embodiment of the present application;
Fig. 3 is that the class diagram in the application one embodiment is intended to;
Fig. 4 is a kind of schematic flow sheet for request processing method of insuring in the embodiment of the present application;
Fig. 5 is a kind of structural representation for flow generating means of insuring in the embodiment of the present application;
Fig. 6 is the structural representation of a kind of electronic equipment in the embodiment of the present application;
Fig. 7 is a kind of structural representation for request processing unit of insuring in the embodiment of the present application;
Fig. 8 is the structural representation of another electronic equipment in the embodiment of the present application.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
Shown in Figure 1, the embodiment of the present application is insured flow generation method there is provided one kind, including:
S101:Obtain the business information for business of insuring;
S102:According to business information and Component Gallery of insuring, it is determined that corresponding with the business of insuring in Component Gallery of insuring insure The execution sequence of component and component of insuring;Insure at least one the default component of insuring that is stored with Component Gallery, component of insuring is used Service logic in business is insured in realization;
S103:According to insure component and its execution sequence, the flow of insuring for handling business of insuring is generated;Wherein, throw Protect flow and perform component of insuring according to execution sequence.
Using the method generation of Fig. 1 examples insure flow when, can be according to the business information of the business of insuring, from being pre-designed Component Gallery of insuring in determine insure component and the execution sequence of these insure components corresponding with the business of insuring, and then The flow of insuring that component of insuring is performed according to this execution sequence can be generated on this basis.
Insured flow using above-described embodiment generation, when need to increase it is new insure business when, due to insuring, component can The service logic in business of insuring is realized, be therefore, it can according to the service logic required for new business of insuring in component of insuring Appropriate component of insuring is chosen in storehouse, it is possible to which the service logic relation determination according to new business of insuring is insured between component Execution sequence, you can the new flow of insuring insured corresponding to business of generation.In addition, when needs are in original business of insuring On the basis of when being updated or adding different branches, only need to be according to new business of insuring the need for, both can be in Component Gallery of insuring The middle original component of insuring of modification, can also add new component of insuring, and new insure can have both been chosen from Component Gallery of insuring Component, can also adjust the execution sequence for inter-module of insuring, so as to constitute the new stream of insuring being adapted with new business of insuring Journey.Therefore, the flow of insuring that above-described embodiment is provided has more preferable scalability and maintainability, so as to quickly branch Hold and meet new business demand.
Because the implementation of the embodiment of the present application is dependent on default component of insuring in Component Gallery of insuring, therefore, step is being performed During rapid S102, the Component Gallery of insuring having had been built up both can have been called or loaded, can also have been performed before step S102 is performed Step S100 builds Component Gallery of insuring, shown in Figure 2.Obviously, step S100 is performed before step S101 is performed to be thrown It is also feasible to protect the structure of Component Gallery.
Perform in the Component Gallery of insuring that step S100 is built, be stored with least one default component of insuring, and these are insured Component is used to realize the service logic in business of insuring, and is typically the partial service logic in the business of insuring.More specifically, Step S100 builds Component Gallery of insuring, and can include procedure below:
The service logic for business of insuring is split according to presetting granularity, multiple subservice logics are determined;
Generate the component of insuring for realizing subservice logic;
Component of insuring is stored, Component Gallery of insuring is constituted.
In other words, when structure insures Component Gallery, the fractionation granularity to service logic can first be preset.It is alleged in the application Fractionation granularity, it can be understood as the fractionation degree reached desired by being split to the service logic of the business of insuring.
It for example, the type of user is divided into personal user and enterprise customer, then can be split, will be thrown according to user type The service logic of guarantor's business is split as being directed to the second subservice of enterprise customer for the first subservice logical sum of personal user Logic, and then generate respectively for realizing that the individual of the first subservice logic insures component and for realizing the second subservice logic Enterprise insure component.It is understood that the fractionation of this degree of citing above, it is larger to split granularity, and individual insures group The insure process that implements of the second subservice logic in component of the first subservice logical AND enterprise in part there may be phase Same link.For example, be required for first obtaining user's selection/input of insuring information (potentially include the information of user itself, it is selected The information of insurance products, information of selected insurance institution etc.), then be that user's displaying insurance kind, price, inquiry etc. are selected for user, Then prompting user fills in information of insurer and insurant etc..Now, first the second subservice of subservice logical AND is patrolled The difference collected may be only in that the processing of information format, pricing system, price for personal user and for enterprise customer Difference in terms of the marketing strategy such as mode, preferential.
In another example, the service logic of the general business of insuring carried out in online insurance platform frequently includes following link:Read Insurance kind clause and relevant explanation are read, selects and carries out premium tentative calculation, fill in insurer and insurant's information, on-line payment, net On insure successfully feedback etc. step.Accordingly it is also possible to carry out the fractionation of service logic according to the execution sequence of each link, it is possible to Realize that the logic unit of a certain specific subfunction is defined as a sub- service logic.It is understood that this journey illustrated above The fractionation of degree, fractionation granularity is smaller, and each subservice logic insured achieved by component is the overall service logic of business of insuring In a part.
When implementing the embodiment of the present application, the implementation process for business of entirely insuring preferably is subjected to modularization fractionation and taken out As the component of insuring determined is divided into general purpose module and personal module.General purpose module only handles the phase in all kinds of business of insuring The general service logic to stablizing, for example, warrantee's component etc.;Personal module is used for handling certain class and insured the patrolling of service-specific Volume, for example, business insurance inquiry component etc..
By taking the class figure shown in Fig. 3 as an example, be stored with multiple components of insuring in Component Gallery of insuring, including preposition inspection group Part, user's securing component, product securing component, white list component, inquiry component, duration of insurance processing assembly, insurance kind processing assembly, valency Lattice processing assembly, reward voucher processing assembly, extension process component, marketing component, income people component, warrantee's component, requestee Component, target component and invocation component of insuring etc..Wherein, similar preposition inspection component, user's securing component etc. are insured all kinds of The component of insuring used is required in business, it can be understood as general purpose module;Similar reward voucher processing assembly etc. is only being related to The component of insuring that can be just used in the business of insuring of reward voucher, it can be understood as personal module.
More specifically, the embodiment of the present application defines general component interface (" Component " as shown in Figure 3 Interface) and flow of insuring processor interface (as shown in Figure 3 " Handler " interface).Component of insuring only performs group of insuring The function that the subservice logic of part is realized, (flow that will can insure herein is abstract first-class to perform this for the processor for flow of insuring The processor of journey) only perform the component of insuring that the flow of insuring included realized function is run according to execution sequence.
Insured in the embodiment of the present application except definition is abstract in addition to component, also define the interface for component of insuring, and expand The method of parameter testing and service observation, so as to carry out logical check in each component internal of insuring, and according to throwing Protect the different and different of component internal service logic.
When implementing the embodiment shown in Fig. 1, from the component of insuring preset, (these components of insuring, which are stored in, insures In Component Gallery) middle selection the insure component corresponding with the business information for the business of insuring, to realize that the business for the business of insuring is patrolled Volume.It is understood that the component of insuring stored in Component Gallery of insuring can realize some or all of business in the business of insuring Logic, therefore, performing step S102 will determine that at least one insures component to realize the service logic for the business of insuring.
Insure Component Gallery and the independent component of insuring that is stored in Component Gallery of insuring taken out based on more than, performs step Rapid S102 is according to business information and Component Gallery of insuring, it is determined that insure component and throwing corresponding with the business of insuring in Component Gallery of insuring When protecting the execution sequence of component, it may particularly include:
According to business information and Component Gallery of insuring, it is determined that needed for realizing the service logic of business of insuring in Component Gallery of insuring Insure component;
According to the dependence between component of insuring, it is determined that the execution sequence for component of insuring.
It should be noted that the business information for business of insuring, can be type identification information, the insurance products for the business of insuring Number information etc., the service logic that this business information can reflect needed for the business of insuring, so as to according to business information The component of insuring that realization is insured needed for the service logic of business is determined from Component Gallery of insuring.On this basis, thrown to realize The linking and the coherent execution for flow of insuring protected between component, in addition it is also necessary to according to the need of the overall service logic of all kinds of business of insuring Ask and layout is carried out to the component of insuring selected, that is, determine the execution sequence of these components of insuring.In the embodiment of the present application In, can be according to the dependence between component of insuring, the component that will insure carries out chain type layout.Further, insure component Between communication can be realized by context, so as to the new flow of insuring of quickly generation, support and meet new industry Business demand.
When implementing, required parameter information and/or processing result information are potentially included in component of insuring, then is being performed Step S103 according to insuring component and its execution sequence, generate for handle business of insuring insure flow when, it may include:
Preset context class in flow of insuring, the default context class of the application be used for constitute flow of insuring each Insure transmission required parameter information and/or processing result information between component;
Required parameter information and/or processing result information in component of insuring and context class are set up into incidence relation, from And when flow is insured in execution, can be by above and below the required parameter information of each component of insuring and/or processing result information write-in Wen Zhong, to be transmitted in inter-module of respectively insuring;
According to insure component and its execution sequence, the flow of insuring that component of insuring is performed according to execution sequence is generated.
More specifically, can be it is determined that the execution sequence for insure component and the inter-module of respectively insuring insured included in flow Afterwards, one the component list of generation (such as components in Fig. 3 examples class figure inside InsureHandler, as column of assemblies Table list), the component of insuring that flow of insuring is included is included in the component list according to its execution sequence, then is performing this During flow of insuring component of insuring is performed according to the order in the component list.In the class figure of Fig. 3 examples, by group of insuring The selection of Jian Ku China National Investment & Guaranty Corp. component and its determination of execution sequence, having taken out three class processors is used to handle three classes difference respectively The business of insuring of type, insurance card as shown in Figure 3 insure processor, give that processor is insured in danger and individual danger is insured processor.
In the embodiment of the present application in alleged component of insuring, dependency attribute can also be included, dependency attribute include it is strong according to Rely, then in the flow of insuring generated according to insure component and its execution sequence, including:
When dependency attribute is that the component of insuring relied on by force performs failure or be abnormal, flow of insuring stops, and returns and insure Flow performs failure or performs abnormal result.
Further, dependency attribute may also include weak dependence, then according to insure component and its execution sequence generation insure In flow, in addition to:
When dependency attribute performs failure or be abnormal for the component of insuring of weak dependence, flow of insuring continues according to execution sequence Perform next component of insuring.
The method provided using the embodiment of the present application, it is assumed that private insurance insure business flow processor of insuring in include User's securing component, product securing component, mechanism securing component, white list component, inquiry component, duration of insurance processing assembly, insurance kind The components of insuring such as processing assembly, price processing assembly, marketing component, insurer's component, warrantee's component, target component.With The product type that family request is selected when insuring according to user, the personal guarantor that the flow processor processing user that insures can be used to propose Insure business danger.And for business insurance insures business, its flow of insuring insures business substantially with private insurance, then Part in the flow processor of insuring for business that only private insurance need to be insured is insured component, component of for example inquiring the price, price processing Component etc., replaces with the component of insuring for business of being insured suitable for business insurance, you can generation is new to insure suitable for business insurance The flow of insuring of business.
Therefore, when flow is insured in the method generation using the embodiment of the present application, group of insuring alleged in the application is utilized Part and Component Gallery of insuring, can realize new son by renewal, adjustment, modification, additions and deletions to insure component and Component Gallery of insuring Service logic, different can also insure component and/or the insure execution sequence of component of adjustment quickly forms new by choosing Flow of insuring, funnel-shaped framework poor expandability in the prior art, the defect of maintainable difference are overcome, so as to quick Support and meet new business demand.
After flow is insured in the flow generation method generation of insuring provided using the embodiment of the present application, it can directly invoke The request of insuring that the flow of insuring (or processor of the flow of insuring taken out by flow of insuring) generated is proposed to user Handled.
Shown in Figure 4, the embodiment of the present application additionally provides one kind and insured request processing method, and this method can be in generation Independently carried out on the basis of flow of insuring, progress can also be continued after flow generation method of being insured shown in Fig. 1.Insure request Processing procedure specifically may include:
S201:Acquisition is insured request, and request of insuring includes asking the business information for the business of insuring insured;
S202:According to business information, it is determined that the flow of insuring for handling business of insuring;Wherein, flow of insuring includes The component of insuring performed according to execution sequence, the business information and group of insuring of component and its execution sequence according to business of insuring of insuring Part storehouse determines that be stored with least one default component of insuring in Component Gallery of insuring, and component of insuring is insured for realization in business Service logic;
S203:Insured using flow processing of insuring and ask the business of insuring insured in request.
In the above-described embodiments, the request of insuring that step S201 is obtained, is generally proposed by user, for flat to online insurance Platform request is insured.Therefore, request of insuring includes the business information for the business of insuring that request is insured.Here business information, can Be the numbering of insurance products or business of insuring type in terms of information.
In the present embodiment, before request is insured in processing, online insurance platform has been generated and the industry that saves and insure The corresponding flow of insuring of business, therefore, it can perform step S202, corresponding flow of insuring is determined according to business information, And then insured using flow processing of insuring and ask the business of insuring insured in request.
Under some application scenarios, it can also ask what is insured according to user after the request of insuring of user is got Business of insuring carries out the insure selection and layout of component, and then generates the insure flow corresponding with the request of user.Specifically It may include following steps:
Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
According to the business information and Component Gallery of insuring, it is determined that corresponding with the business of insuring in the Component Gallery of insuring Insure component and the component of insuring execution sequence;Be stored with least one default group of insuring in the Component Gallery of insuring Part, the component of insuring be used for realize the service logic insured in business;
According to insure component and its execution sequence, the flow of insuring for business of insuring described in handling is generated;Wherein, The flow of insuring is according to component of being insured described in execution sequence execution;
Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
In this way, the insurance products that online insurance platform is provided will be more flexible and changeable, preferably meet and throw The individual demand at warranty family.
In the request processing method of insuring shown in Fig. 4, required parameter information and/or processing knot are may include in component of insuring Fruit information, accordingly, will be preset with context class in flow of insuring, then will perform step S203 and insured using flow processing of insuring In request request insure insure business when, may particularly include:
According to request of insuring, the contextual information in flow of insuring is initialized;
Perform and insure component according to the execution sequence in flow of insuring, and by the required parameter information for component of insuring and/or Processing result information writes contextual information, so as in inter-module transmission of respectively insuring.
In the implementation procedure for insuring component, the execution of members has returning result (i.e. processing result information), then After the component is finished, its processing result information can be placed directly onto in contextual information, to be passed to other components of insuring Pass.
When implementing, the insurance data that request is insured is may also include in request of insuring, then according to request of insuring, initially Change the contextual information in flow of insuring, including:
Insurance data in request of insuring is write into contextual information, between the component of respectively insuring in flow of insuring Transmission.
Initialization conducted in above-described embodiment, the mainly data conversion of asking user are into flow processor of insuring The contextual information that can be recognized, to insure, component is used upon execution.In addition, contextual information is write during initialization Data are also possible that the part other information of server end, for example, the information such as ID logged in.
Further, insuring may include dependency attribute in component, and dependency attribute includes strong dependence, then performs step S203 Using flow processing of insuring insure request in request insure insure business when, may particularly include:
When dependency attribute is that the component of insuring relied on by force performs failure or be abnormal in flow of insuring, flow of insuring stops, And return to the result that flow of insuring performs failure or execution exception.
In addition, dependency attribute may also include weak dependence, then insured using flow processing of insuring and ask to insure in asking Business of insuring, in addition to:
When dependency attribute performs failure or be abnormal for the component of insuring of weak dependence in flow of insuring, flow of insuring is according to holding Row order continues executing with next component of insuring.
In this application, dependency attribute is the component of insuring relied on by force, it can be understood as the son insured handled by component It is essential in business that service logic is insured, and dependency attribute can be understood as the group of insuring for the component of insuring of weak dependence Subservice logic handled by part is dispensable in the processing for the business of insuring.For example, in the business of insuring, insurer, Warrantee's information etc. is the necessary information in the business of insuring, therefore, is related to acquisition insurer, the group of insuring by insurer's information The dependency attribute of part just may be set to strong dependence, it is necessary to which follow-up component of insuring can just be continued executing with by running succeeded.If relying on category Property perform failure or abnormal for the component of insuring that relies on by force, then flow processor of entirely insuring stops, and returns to flow of insuring and hold Row failure performs abnormal result.And if bury a component it is this kind of to the business of insuring be normally carried out will not constitute essence Its dependency attribute, can be set as weak dependence by the component of insuring of influence, then when this kind of component of insuring performs failure or be abnormal, throws Protect flow and continue executing with next component of insuring according to execution sequence, the execution of overall flow of insuring is not influenceed.
Based on above description, the embodiment of the present application may also provide one kind and insure flow generating means, shown in Figure 5, bag Include:
Business information obtaining module 101, obtains the business information for business of insuring;
Insure component determining module 102, according to business information and Component Gallery of insuring, it is determined that in Component Gallery of insuring with industry of insuring The execution sequence of business corresponding insure component and component of insuring;Insure at least one the default group of insuring that is stored with Component Gallery Part, component of insuring is used to realize the service logic in business of insuring;
Flow of insuring generation module 103, according to insure component and its execution sequence, generates the throwing for handling business of insuring Protect flow;Wherein, flow of insuring performs component of insuring according to execution sequence.
Based on above description, the embodiment of the present application may also provide a kind of electronic equipment, shown in Figure 6, including:
Processor;And
It is arranged to store the memory of computer executable instructions, executable instruction makes computing device when executed Operate below:
Obtain the business information for business of insuring;
According to business information and insure Component Gallery, it is determined that in Component Gallery of insuring it is corresponding with the business of insuring insure component and Insure the execution sequence of component;Insure at least one the default component of insuring that is stored with Component Gallery, component of insuring is used to realize Service logic in business of insuring;
According to insure component and its execution sequence, the flow of insuring for handling business of insuring is generated;Wherein, insure flow Component of insuring is performed according to execution sequence.
Fig. 6 is the structural representation of one embodiment electronic equipment of the application.Fig. 6 is refer to, in hardware view, the electricity Sub- equipment includes processor, alternatively also includes internal bus, network interface, memory.Wherein, memory may be comprising interior Deposit, for example high-speed random access memory (Random-Access Memory, RAM), it is also possible to also including non-volatile memories Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the electronic equipment is also possible that other Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control always Line etc..For ease of representing, only represented in Fig. 6 with a four-headed arrow, it is not intended that only one bus or a type of Bus.
Memory, for depositing program.Specifically, program can include program code, and described program code includes calculating Machine operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor reads corresponding computer program into internal memory and then run from nonvolatile memory, in logical layer Flow generating means of insuring are formed on face.Processor, performs the program that memory is deposited, and specifically for performing following grasp Make:
Obtain the business information for business of insuring;
According to business information and insure Component Gallery, it is determined that in Component Gallery of insuring it is corresponding with the business of insuring insure component and Insure the execution sequence of component;Insure at least one the default component of insuring that is stored with Component Gallery, component of insuring is used to realize Service logic in business of insuring;
According to insure component and its execution sequence, the flow of insuring for handling business of insuring is generated;Wherein, insure flow Component of insuring is performed according to execution sequence.
The method of flow generating means execution of insuring disclosed in the above-mentioned embodiment illustrated in fig. 1 such as the application can apply to place Manage in device, or realized by processor.Processor is probably a kind of IC chip, the disposal ability with signal.In reality During existing, each step of the above method can be by the integrated logic circuit or the finger of software form of the hardware in processor Order is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), it is application specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing Field programmable gate array (Field-Programmable Gate Array, FPGA) or other PLDs, point Vertical door or transistor logic, discrete hardware components.It can realize or perform and be in the embodiment of the present application disclosed each Method, step and logic diagram.General processor can be microprocessor or the processor can also be any conventional place Manage device etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and perform Into, or with the hardware in decoding processor and software module combination perform completion.Software module can be located at random access memory, This area such as flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register maturation In storage medium.The storage medium is located at memory, and processor reads the information in memory, and above-mentioned side is completed with reference to its hardware The step of method.
The electronic equipment can also carry out the method that Fig. 1 China National Investment & Guaranty Corp. flow generating means are performed, and realize flow generation of insuring Device is in the function of embodiment illustrated in fig. 1, and the embodiment of the present application will not be repeated here.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one Individual or multiple programs, one or more programs include instruction, and the instruction is held when the electronic equipment for being included multiple application programs During row, the electronic equipment can be made to perform the method that five application page sectional drawing reporting device is performed in embodiment illustrated in fig. 1, and specifically For performing:
Obtain the business information for business of insuring;
According to the business information and Component Gallery of insuring, it is determined that corresponding with the business of insuring in the Component Gallery of insuring Insure component and the component of insuring execution sequence;Be stored with least one default group of insuring in the Component Gallery of insuring Part, the component of insuring be used for realize the service logic insured in business;
According to insure component and its execution sequence, the flow of insuring for business of insuring described in handling is generated;Wherein, The flow of insuring is according to component of being insured described in execution sequence execution.
Based on above description, the embodiment of the present application may also provide one kind and insure request processing unit, shown in Figure 7, bag Include:
Acquisition request of insuring module 201, obtains request of insuring, and request of insuring includes the industry for the business of insuring that request is insured Business information;
Flow of insuring determining module 202, according to business information, it is determined that the flow of insuring for handling business of insuring;Wherein, Flow of insuring includes the component of insuring performed according to execution sequence, the industry of component and its execution sequence according to business of insuring of insuring Be stored with least one default component of insuring in business information and Component Gallery determination of insuring, Component Gallery of insuring, and component of insuring is used for Realize the service logic in business of insuring;
Request processing module of insuring 203, the business of insuring for asking to insure in asking of being insured using flow processing of insuring.
Based on above description, the embodiment of the present application may also provide a kind of electronic equipment, shown in Figure 8, including:
Processor;And
It is arranged to store the memory of computer executable instructions, executable instruction makes computing device when executed Operate below:
Acquisition is insured request, and request of insuring includes asking the business information for the business of insuring insured;
According to business information, it is determined that the flow of insuring for handling business of insuring;Wherein, flow of insuring is included according to holding The component of insuring that row order is performed, insure component and its execution sequence are true according to the business information and Component Gallery of insuring for business of insuring Fixed, be stored with least one default component of insuring in Component Gallery of insuring, and component of insuring is used to realize the business in business of insuring Logic;
Insured using flow processing of insuring and ask the business of insuring insured in request.
Fig. 8 is the structural representation of one embodiment electronic equipment of the application.Fig. 8 is refer to, in hardware view, the electricity Sub- equipment includes processor, alternatively also includes internal bus, network interface, memory.Wherein, memory may be comprising interior Deposit, for example high-speed random access memory (Random-Access Memory, RAM), it is also possible to also including non-volatile memories Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the electronic equipment is also possible that other Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control always Line etc..For ease of representing, only represented in Fig. 8 with a four-headed arrow, it is not intended that only one bus or a type of Bus.
Memory, for depositing program.Specifically, program can include program code, and described program code includes calculating Machine operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor reads corresponding computer program into internal memory and then run from nonvolatile memory, in logical layer Request processing unit of insuring is formed on face.Processor, performs the program that memory is deposited, and specifically for performing following grasp Make:
Acquisition is insured request, and request of insuring includes asking the business information for the business of insuring insured;
According to business information, it is determined that the flow of insuring for handling business of insuring;Wherein, flow of insuring is included according to holding The component of insuring that row order is performed, insure component and its execution sequence are true according to the business information and Component Gallery of insuring for business of insuring Fixed, be stored with least one default component of insuring in Component Gallery of insuring, and component of insuring is used to realize the business in business of insuring Logic;
Insured using flow processing of insuring and ask the business of insuring insured in request.
The method that request processing unit of insuring disclosed in the above-mentioned embodiment illustrated in fig. 4 such as the application is performed can apply to place Manage in device, or realized by processor.Processor is probably a kind of IC chip, the disposal ability with signal.In reality During existing, each step of the above method can be by the integrated logic circuit or the finger of software form of the hardware in processor Order is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), it is application specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing Field programmable gate array (Field-Programmable Gate Array, FPGA) or other PLDs, point Vertical door or transistor logic, discrete hardware components.It can realize or perform and be in the embodiment of the present application disclosed each Method, step and logic diagram.General processor can be microprocessor or the processor can also be any conventional place Manage device etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and perform Into, or with the hardware in decoding processor and software module combination perform completion.Software module can be located at random access memory, This area such as flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register maturation In storage medium.The storage medium is located at memory, and processor reads the information in memory, and above-mentioned side is completed with reference to its hardware The step of method.
The electronic equipment can also carry out the method that Fig. 4 China National Investment & Guaranty Corp. request processing unit is performed, and realize request processing of insuring Device is in the function of embodiment illustrated in fig. 4, and the embodiment of the present application will not be repeated here.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one Individual or multiple programs, one or more programs include instruction, and the instruction is held when the electronic equipment for being included multiple application programs During row, the electronic equipment can be made to perform the method that five application page sectional drawing reporting device is performed in embodiment illustrated in fig. 1, and specifically For performing:
Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
According to the business information, it is determined that the flow of insuring for handling the business of insuring;Wherein, the flow of insuring Include the component of insuring performed according to execution sequence, the business letter of component and its execution sequence according to business of insuring of insuring Cease and Component Gallery determination of insuring, be stored with least one default component of insuring, the component of insuring in the Component Gallery of insuring For realizing the service logic in business of insuring;
Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., it should be included within the scope of claims hereof.

Claims (20)

  1. The flow generation method 1. one kind is insured, including:
    Obtain the business information for business of insuring;
    According to the business information and Component Gallery of insuring, it is determined that throwing corresponding with the business of insuring in the Component Gallery of insuring Protect the execution sequence of component and the component of insuring;Be stored with least one default component of insuring in the Component Gallery of insuring, The component of insuring be used for realize the service logic insured in business;
    According to insure component and its execution sequence, the flow of insuring for business of insuring described in handling is generated;Wherein, it is described Flow of insuring is according to component of being insured described in execution sequence execution.
  2. 2. method according to claim 1, the component of insuring includes required parameter information and/or processing result information, Then according to insure component and its execution sequence, generate for business of insuring described in handling insure flow when, including:
    Context class is preset in the flow of insuring;
    Required parameter information and/or processing result information in the component of insuring is set up with the context class and associated System, for transmitting the required parameter information and/or result letter in inter-module of respectively insuring when insuring flow described in execution Breath;
    According to insure component and its execution sequence, the stream of insuring according to component of being insured described in execution sequence execution is generated Journey.
  3. 3. method according to claim 1, the component of insuring includes dependency attribute, the dependency attribute include it is strong according to Rely,
    In the flow of insuring then generated according to insure component and its execution sequence, including:
    When dependency attribute is that the component of insuring relied on by force performs failure or be abnormal, the flow termination of insuring, and return and insure Flow performs failure or performs abnormal result.
  4. 4. method according to claim 3, the dependency attribute also include it is weak rely on, then insure and component and its hold according to described in In the flow of insuring that row is sequentially generated, in addition to:
    When dependency attribute performs failure or be abnormal for the component of insuring of weak dependence, the flow of insuring is according to the execution sequence Continue executing with next component of insuring.
  5. 5. according to any methods described of Claims 1 to 4, according to the business information and Component Gallery of insuring, determine the throwing The execution sequence of insure component and the component of insuring corresponding with the business of insuring in Component Gallery is protected, including:
    According to the business information and Component Gallery of insuring, it is determined that the business for business of being insured described in being realized in the Component Gallery of insuring is patrolled Component of insuring needed for volume;
    The dependence insured according to described between component, it is determined that the execution sequence of the component of insuring.
  6. 6. according to any methods described of Claims 1 to 4, the Component Gallery of insuring includes following one or more groups of insuring Part:
    It is preposition inspection component, user's securing component, product securing component, white list component, inquiry component, duration of insurance processing assembly, Insurance kind processing assembly, price processing assembly, reward voucher processing assembly, extension process component, marketing component, income people component, quilt Guarantor's component, requestee's component, target component, invocation component of insuring.
  7. 7. method, in component and its execution sequence of being insured according to described in, is generated for handling the throwing according to claim 1 After the flow of insuring of guarantor's business, methods described also includes:
    Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
    According to the business information, it is determined that the flow of insuring for handling the business of insuring;
    Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
  8. 8. method according to claim 7, the component of insuring includes required parameter information and/or processing result information, Context class is preset with the flow of insuring,
    Then using the business of insuring that request in request insures of being insured described in flow processing of insuring, including:
    According to the request of insuring, initialize described in the contextual information insured in flow;
    According to component of being insured described in the execution sequence execution in the flow of insuring, and the required parameter of the component of insuring is believed Breath and/or processing result information write the contextual information, so as in each inter-module transmission of insuring.
  9. 9. according to Claims 1 to 4,7~8 any methods described, according to the business information and Component Gallery of insuring, it is determined that In the Component Gallery of insuring before the execution sequence of corresponding with the business of insuring insure component and the component of insuring, institute Stating method also includes:
    Insured Component Gallery described in building;Wherein, be stored with least one default component of insuring in the Component Gallery of insuring, described Component of insuring is used to realize the service logic in business of insuring.
  10. 10. method according to claim 9, build described in insure Component Gallery, including:
    According to the service logic for business of being insured described in presetting granularity fractionation, multiple subservice logics are determined;
    Generate the component of insuring for realizing the subservice logic;
    The storage component of insuring, Component Gallery of insuring described in composition.
  11. The request processing method 11. one kind is insured, including:
    Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
    According to the business information, it is determined that the flow of insuring for handling the business of insuring;Wherein, wrapped in the flow of insuring Include the component of insuring performed according to execution sequence, it is described insure component and its execution sequence according to business of insuring business information and Component Gallery of insuring determines that be stored with least one default component of insuring in the Component Gallery of insuring, and the component of insuring is used for Realize the service logic in business of insuring;
    Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
  12. 12. according to claim 11 methods described, the component of insuring includes required parameter information and/or result letter Context class is preset with breath, the flow of insuring,
    Then using the business of insuring that request in request insures of being insured described in flow processing of insuring, including:
    According to the request of insuring, initialize described in the contextual information insured in flow;
    According to component of being insured described in the execution sequence execution in the flow of insuring, and the required parameter of the component of insuring is believed Breath and/or processing result information write the contextual information, so as in each inter-module transmission of insuring.
  13. 13. according to claim 12 methods described, also include the insurance data that request is insured in the request of insuring, then according to institute State request of insuring, the contextual information in flow of being insured described in initialization, including:
    The insurance data in the request of insuring is write into the contextual information, for each in the flow of insuring Insure transmission between component.
  14. 14. according to claim 11 methods described, the component of insuring includes dependency attribute, the dependency attribute include it is strong according to Rely, then using the business of insuring that request in request insures of being insured described in flow processing of insuring, including:
    When dependency attribute is that the component of insuring relied on by force performs failure or be abnormal in the flow of insuring, in the flow of insuring Only, and return to flow of insuring and perform failure or perform abnormal result.
  15. 15. according to claim 14 methods described, the dependency attribute also includes weak dependence, then flow processing of being insured described in The business of insuring insured is asked in the request of insuring, in addition to:
    When dependency attribute performs failure or is abnormal for the component of insuring of weak dependence in the flow of insuring, it is described insure flow by Next component of insuring is continued executing with according to the execution sequence.
  16. The flow generating means 16. one kind is insured, including:
    Business information obtaining module, obtains the business information for business of insuring;
    Insure component determining module, according to the business information and Component Gallery of insuring, it is determined that in the Component Gallery of insuring with it is described The execution sequence of business of insuring corresponding insure component and the component of insuring;It is stored with the Component Gallery of insuring default At least one component of insuring, the component of insuring be used for realize the service logic insured in business;
    Flow of insuring generation module, insured according to described in component and its execution sequence are generated for handling the business of insuring Insure flow;Wherein, the flow of insuring is according to component of being insured described in execution sequence execution.
  17. 17. a kind of electronic equipment, including:
    Processor;And
    It is arranged to store the memory of computer executable instructions, the executable instruction makes the processor when executed Perform following operate:
    Obtain the business information for business of insuring;
    According to the business information and Component Gallery of insuring, it is determined that throwing corresponding with the business of insuring in the Component Gallery of insuring Protect the execution sequence of component and the component of insuring;Be stored with least one default component of insuring in the Component Gallery of insuring, The component of insuring be used for realize the service logic insured in business;
    According to insure component and its execution sequence, the flow of insuring for business of insuring described in handling is generated;Wherein, it is described Flow of insuring is according to component of being insured described in execution sequence execution.
  18. The request processing unit 18. one kind is insured, including:
    Acquisition request of insuring module, obtains request of insuring, and the request of insuring includes the business for the business of insuring that request is insured Information;
    Flow of insuring determining module, according to the business information, it is determined that the flow of insuring for handling the business of insuring;Its In, the flow of insuring includes the component of insuring performed according to execution sequence, component and its execution sequence foundation of insuring Be stored with least one default group of insuring in the business information for business of insuring and Component Gallery determination of insuring, the Component Gallery of insuring Part, the component of insuring be used for realize the service logic insured in business;
    Insure request processing module, using the business of insuring for insuring and being insured described in flow processing and asking in request to insure.
  19. 19. a kind of electronic equipment, including:
    Processor;And
    It is arranged to store the memory of computer executable instructions, the executable instruction makes the processor when executed Perform following operate:
    Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
    According to the business information, it is determined that the flow of insuring for handling the business of insuring;Wherein, wrapped in the flow of insuring Include the component of insuring performed according to execution sequence, it is described insure component and its execution sequence according to business of insuring business information and Component Gallery of insuring determines that be stored with least one default component of insuring in the Component Gallery of insuring, and the component of insuring is used for Realize the service logic in business of insuring;
    Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
  20. The request processing method 20. one kind is insured, including:
    Acquisition is insured request, and the request of insuring includes asking the business information for the business of insuring insured;
    According to the business information and Component Gallery of insuring, it is determined that throwing corresponding with the business of insuring in the Component Gallery of insuring Protect the execution sequence of component and the component of insuring;Be stored with least one default component of insuring in the Component Gallery of insuring, The component of insuring be used for realize the service logic insured in business;
    According to insure component and its execution sequence, the flow of insuring for business of insuring described in handling is generated;Wherein, it is described Flow of insuring is according to component of being insured described in execution sequence execution;
    Using it is described insure to insure described in flow processing ask the business of insuring insured in request.
CN201710467608.9A 2017-06-20 2017-06-20 Flow of insuring generation method, insure request processing method and device and electronic equipment Pending CN107274023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710467608.9A CN107274023A (en) 2017-06-20 2017-06-20 Flow of insuring generation method, insure request processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710467608.9A CN107274023A (en) 2017-06-20 2017-06-20 Flow of insuring generation method, insure request processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN107274023A true CN107274023A (en) 2017-10-20

Family

ID=60068240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710467608.9A Pending CN107274023A (en) 2017-06-20 2017-06-20 Flow of insuring generation method, insure request processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107274023A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829466A (en) * 2018-06-27 2018-11-16 中国建设银行股份有限公司 A kind of data processing method, device, electronic equipment and storage medium
CN109345081A (en) * 2018-09-07 2019-02-15 阿里巴巴集团控股有限公司 A kind of collecting method, device and electronic equipment
CN109410077A (en) * 2018-10-31 2019-03-01 泰康保险集团股份有限公司 The method and device of definition rule stream, computer storage medium, electronic equipment
CN109427015A (en) * 2017-12-29 2019-03-05 中国平安财产保险股份有限公司 Scheme of insuring price inquiry method, device, equipment and computer readable storage medium
CN109726018A (en) * 2018-02-07 2019-05-07 中国平安财产保险股份有限公司 Method for processing business, device, equipment and computer readable storage medium
WO2019119619A1 (en) * 2017-12-21 2019-06-27 平安科技(深圳)有限公司 Insurance policy generation method, apparatus and device
CN110618842A (en) * 2019-09-20 2019-12-27 政采云有限公司 Business processing method and device, electronic equipment and storage medium
CN110780870A (en) * 2019-10-29 2020-02-11 中国建设银行股份有限公司 Service execution method, device, equipment and storage medium
CN112394962A (en) * 2020-11-27 2021-02-23 中国银联股份有限公司 Service execution method, service logic updating method and device
CN113436018A (en) * 2021-07-12 2021-09-24 上海浦东发展银行股份有限公司 Asset hosting business processing method and device, storage medium and electronic equipment
CN114157567A (en) * 2021-11-19 2022-03-08 浙江惠瀜网络科技有限公司 Routing engine configuration method and device, storage medium and electronic device
CN114296789A (en) * 2022-03-09 2022-04-08 太平金融科技服务(上海)有限公司深圳分公司 Business processing method, device, equipment and storage medium based on full-flow configuration

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655789A (en) * 2009-09-22 2010-02-24 用友软件股份有限公司 Method and device for realizing hot plugging of application components
CN101702215A (en) * 2009-11-06 2010-05-05 山东浪潮电子政务软件有限公司 Design method for setting dependence item in operating room in working flow
CN102591714A (en) * 2011-12-31 2012-07-18 山东中创软件工程股份有限公司 Process calling method, system and application server
CN102799962A (en) * 2012-06-27 2012-11-28 南京合荣欣业信息技术有限公司 Configuration type business flow system and realization method thereof
CN103530744A (en) * 2013-11-05 2014-01-22 从兴技术有限公司 Configuration business handling flow method and device
CN105844422A (en) * 2016-04-01 2016-08-10 阿里巴巴集团控股有限公司 Business flow execution method and device
CN106293897A (en) * 2015-05-15 2017-01-04 株式会社日立制作所 Assembly automatic dispatching system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655789A (en) * 2009-09-22 2010-02-24 用友软件股份有限公司 Method and device for realizing hot plugging of application components
CN101702215A (en) * 2009-11-06 2010-05-05 山东浪潮电子政务软件有限公司 Design method for setting dependence item in operating room in working flow
CN102591714A (en) * 2011-12-31 2012-07-18 山东中创软件工程股份有限公司 Process calling method, system and application server
CN102799962A (en) * 2012-06-27 2012-11-28 南京合荣欣业信息技术有限公司 Configuration type business flow system and realization method thereof
CN103530744A (en) * 2013-11-05 2014-01-22 从兴技术有限公司 Configuration business handling flow method and device
CN106293897A (en) * 2015-05-15 2017-01-04 株式会社日立制作所 Assembly automatic dispatching system
CN105844422A (en) * 2016-04-01 2016-08-10 阿里巴巴集团控股有限公司 Business flow execution method and device

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019119619A1 (en) * 2017-12-21 2019-06-27 平安科技(深圳)有限公司 Insurance policy generation method, apparatus and device
CN109427015A (en) * 2017-12-29 2019-03-05 中国平安财产保险股份有限公司 Scheme of insuring price inquiry method, device, equipment and computer readable storage medium
CN109427015B (en) * 2017-12-29 2020-08-14 中国平安财产保险股份有限公司 Method, device and equipment for inquiring price of insurance scheme and computer readable storage medium
CN109726018A (en) * 2018-02-07 2019-05-07 中国平安财产保险股份有限公司 Method for processing business, device, equipment and computer readable storage medium
CN108829466A (en) * 2018-06-27 2018-11-16 中国建设银行股份有限公司 A kind of data processing method, device, electronic equipment and storage medium
CN109345081B (en) * 2018-09-07 2021-10-29 创新先进技术有限公司 Data acquisition method and device and electronic equipment
CN109345081A (en) * 2018-09-07 2019-02-15 阿里巴巴集团控股有限公司 A kind of collecting method, device and electronic equipment
CN109410077A (en) * 2018-10-31 2019-03-01 泰康保险集团股份有限公司 The method and device of definition rule stream, computer storage medium, electronic equipment
CN109410077B (en) * 2018-10-31 2021-04-20 泰康保险集团股份有限公司 Method and device for defining rule flow, computer storage medium and electronic equipment
CN110618842A (en) * 2019-09-20 2019-12-27 政采云有限公司 Business processing method and device, electronic equipment and storage medium
CN110618842B (en) * 2019-09-20 2023-12-08 政采云有限公司 Service processing method and device, electronic equipment and storage medium
CN110780870A (en) * 2019-10-29 2020-02-11 中国建设银行股份有限公司 Service execution method, device, equipment and storage medium
CN110780870B (en) * 2019-10-29 2024-02-09 中国建设银行股份有限公司 Service execution method, device, equipment and storage medium
CN112394962A (en) * 2020-11-27 2021-02-23 中国银联股份有限公司 Service execution method, service logic updating method and device
CN112394962B (en) * 2020-11-27 2024-01-26 中国银联股份有限公司 Service execution method, service logic updating method and device
CN113436018A (en) * 2021-07-12 2021-09-24 上海浦东发展银行股份有限公司 Asset hosting business processing method and device, storage medium and electronic equipment
CN114157567A (en) * 2021-11-19 2022-03-08 浙江惠瀜网络科技有限公司 Routing engine configuration method and device, storage medium and electronic device
CN114296789A (en) * 2022-03-09 2022-04-08 太平金融科技服务(上海)有限公司深圳分公司 Business processing method, device, equipment and storage medium based on full-flow configuration
CN114296789B (en) * 2022-03-09 2022-07-22 太平金融科技服务(上海)有限公司深圳分公司 Business processing method, device, equipment and storage medium based on full-process configuration

Similar Documents

Publication Publication Date Title
CN107274023A (en) Flow of insuring generation method, insure request processing method and device and electronic equipment
JP7387781B2 (en) Systems and methods for implementing deterministic finite automata (DFA) via blockchain
Antonopoulos Mastering Bitcoin: Programming the open blockchain
CN110163590B (en) Payment withholding method and device based on block chain, electronic equipment and storage medium
CN110147990B (en) Payment withholding subscription method and device based on block chain and electronic equipment
CN108200203A (en) Block catenary system based on double-layer network
CN108282539A (en) Decentralization storage system based on double-layer network
CN108694238A (en) Business data processing method, device based on block chain and storage medium
Jurgelaitis et al. Modelling principles for blockchain-based implementation of business or scientific processes
US8051404B2 (en) Software development
CN110060139B (en) Accounting processing method and device
CN108347483A (en) Decentralization computing system based on double-layer network
CN106296243A (en) Service implementation method and device
CN108595276A (en) Processing method, system, computer equipment and the storage medium of service logic
CN109032590B (en) Configuration method, device, terminal and storage medium of visual development environment
CN107967204A (en) Line pushes method, system and the terminal device surveyed
US8527322B2 (en) Proactive demand shaping for a configurable product portfolio with uncertain demand
CN112330181A (en) Enterprise credit evaluation method and device based on block chain
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
Crandall et al. Antitrust in high-tech industries
CN114491662B (en) Block chain-based data asset auditing method, system and equipment
CN116308826A (en) Insurance product online method, apparatus, equipment and storage medium
US11449415B2 (en) Self-service integration and feature testing
CN111680066B (en) Information processing method, information processing device, storage medium and electronic equipment
CN109445758A (en) Data processing method, device, computer equipment and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171020