CN105357059A - Business event processing method and apparatus - Google Patents

Business event processing method and apparatus Download PDF

Info

Publication number
CN105357059A
CN105357059A CN201510897732.XA CN201510897732A CN105357059A CN 105357059 A CN105357059 A CN 105357059A CN 201510897732 A CN201510897732 A CN 201510897732A CN 105357059 A CN105357059 A CN 105357059A
Authority
CN
China
Prior art keywords
event
business event
processing
attribute information
key element
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
CN201510897732.XA
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201510897732.XA priority Critical patent/CN105357059A/en
Publication of CN105357059A publication Critical patent/CN105357059A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The embodiment of the invention discloses a business event processing method and apparatus, and the method comprises the steps of receiving a business event processing request; recording event related information therein to a historical event database; determining the processing logic for processing a business event based on the event related information; and generating event route configuration information matching the processing logic. The event route configuration information comprises multiple configuration essential factors; each configuration essential factor is in series connection according to the business event processing logic; one or more configuration essential factors indicate to process one link or step of a program of the business event; service modules corresponding to each configuration essential factor in the event route configuration information are called in order to process business event; and the service modules can execute the links or steps indicated by the corresponding configuration essential factors. According to the embodiment, the high reusability of the modules can be guaranteed, and the system development efficiency and enforcement efficiency can be further improved.

Description

Business event processing method and device
Technical field
The present invention relates to software technology field, particularly a kind of can to build the method and apparatus that dynamic service chain carries out business event process.
Background technology
The application system development mode of prior art routine is developed according to demand clear and definite in advance.The exploitation of financial field application system is also generally like this.
But compared with the application system of other field, the application system of financial field also has some particularity, and namely it has larger randomness.Such as can after systemic-function realizes, various management and control requirement is there will be for different business functions, and some management and control needs to complete before business transaction process (these management and control can be called pre-pre-treatment), some management and control needs to complete after Business Processing (these management and control can be called process afterwards), some management and control needs to excite other operation flows, business event or other operation systems to carry out processing (these management and control can be called associated treatment), What is more, and some management and control needs to carry out Macro or mass analysis based on historical data.
Therefore, for the application system of financial field, if after its exploitation, need to increase management and control demand, then need to modify to the source code of application system, workload is larger.
In order to solve the problem, technical staff contemplates and adopts object-oriented program programming technique (OOP, ObjectOrientedProgramming), appellative function is divided into different and relatively independent, encapsulate good class, and give all kinds of independently behavior, relation is each other by inheriting and polymorphicly defining.Thus, when needs are revised, only need there is amendment partial content wherein, less to the entire effect of program.
Further, in order to the reusability of service module each in raising system further, expect adopting towards tangent plane programming (AOP, AspectOrientedProgramming) technology as a supplement.Appellative function is separated by AOP from class, thus a behavior can be shared by multiple class.After adopting this technology, in system operation, when certain transactional services is called, AOP container triggers tangent plane handling procedure by reflex mechanism, create the caller of an agent object for transaction, caller calls active service assembly complete original service logic process by calling agent object.
In the process implementing the invention, inventor finds: although AOP technology can improve the durability of service module further on OOP basis, but, its realization needs to be dispatched by application program tangent plane agent object, and this scheduling is carried out based on the static tangent plane object configuration page finished in advance, therefore, implementation process after systemic-function realizes, face interim management and control requirement (" pre-pre-treatment " described above, " process " or " associated treatment " afterwards) time, at least need to be configured the described static tangent plane object configuration page, revise or recompile.Also exist in development efficiency and efficiency of the practice and improve space.
Summary of the invention
In view of this, the invention provides a kind of business event processing method and device, with while the high durability ensureing module, improve system development efficiency and efficiency of the practice further.
For achieving the above object, the invention provides following technical scheme:
A processing method for business event, comprising:
Receive business event process request;
Be recorded in historical events storehouse by the information concerning events that described request carries, described information concerning events comprises transaction attribute information, base attribute information and client characteristics attribute information;
Determine according to described information concerning events the processing logic processing described business event, described processing logic is used to indicate the program processing described business event;
Generate the event routing configuration information of the described processing logic of coupling, wherein, described event routing configuration information comprises multiple configuration key element, each configuration key element is connected according to described business event processing logic, a link in the program of business event described in one or more described configuration key element instruction processing or step;
Call in described event routing configuration information the service module respectively configured corresponding to key element successively, to realize the process to described business event; Described service module can perform the link indicated by configuration key element or the step of its correspondence.
Preferably, the process receiving business event process request comprises: carry out security control process, the decryption processes be decrypted the process request of having encrypted of safety certification to described process request and provide packet parsing mode to carry out the message adaptation procedure of message adaptation.
Preferably, the process receiving business event process request also comprises:
Judge whether that there is the traffic management and control corresponding with described information concerning events requires and traffic management and control rule, if so, then carries out traffic management and control according to described traffic management and control rule.
Preferably, the processing logic of described business event is determined according to following steps:
The rule corresponding with described base attribute information is searched in preset rules storehouse;
The program processing described business event is determined according to described rule.
Preferred:
Described transaction attribute information comprises the amount of money and Currency Type;
Described base attribute information comprises Case Number, affiliated field, affiliated application, affiliated assembly and sources;
Described client characteristics attribute information comprises customer number, customer type and client's industry.
A processing unit for business event, comprising:
Interface, receives event handling request;
Event handler, information concerning events for described request being carried is recorded in historical events storehouse, and determine according to described information concerning events the processing logic processing described business event, and, generate the event routing configuration information of the described processing logic of coupling; Wherein, described information concerning events comprises transaction attribute information, base attribute information and client characteristics attribute information; Described processing logic is used to indicate the program processing described business event; Described event routing configuration information comprises multiple configuration key element, and each configuration key element is connected according to described business event processing logic, a link in the program of business event described in one or more described configuration key element instruction processing or step;
Services Composition unit, calls in described event routing configuration information the service module respectively configured corresponding to key element, successively to realize the process to described business event; Described service module can perform the link indicated by configuration key element or the step of its correspondence.
Preferably, described interface is built-in with for carrying out safety con-trol part, the decryption processing parts be decrypted the process request of having encrypted of safety certification to described process request and providing packet parsing mode to carry out the message adaptor parts of message adaptation.
Preferably, described interface is also built-in with traffic management and control parts, for judging whether that there is the traffic management and control corresponding with described information concerning events requires and traffic management and control rule, if so, then carries out traffic management and control according to described traffic management and control rule.
Preferably, described event handler determines that the process of the processing logic of described business event comprises:
The rule corresponding with described base attribute information is searched in preset rules storehouse;
The program processing described business event is determined according to described rule.
Preferred:
Described transaction attribute information comprises the amount of money and Currency Type;
Described base attribute information comprises Case Number, affiliated field, affiliated application, affiliated assembly and sources;
Described client characteristics attribute information comprises customer number, customer type and client's industry.
The business event process request that the scheme that the embodiment of the present invention provides sends according to user, determine processing logic and generate the event routing configuration information of mating described processing logic according to described processing logic, the configuration key element of described event route instruction processing step or process action forms according to described processing logic, the follow-up service module that can call execution alignment processing step or process action in order successively, to complete the process to described business event.Can find out, in the embodiment of the present invention, event routing configuration information generates (dynamically generate) according to business event process request, from AOP technology write that mode (static state generates) that static tangent plane object configure the page exists fundamentally in advance different.
Mainly contain following advantage or feature:
Individual business event handling flow process (i.e. personalized service) 1, is conveniently provided.
The business event process request that the embodiment of the present application can send according to user, real-time generation event routing configuration information, arranges the order of calling of the service module involved by this business event of process according to the processing logic of this business event; The mode of this dynamic-configuration can be conveniently different business event process request, arranges different business event handling processes, and this is that AOP technology is difficult to accomplish.
2, without the need to writing the also Maintenance free static tangent plane object configuration page in advance, when business event handling process changes, can modify quickly and easily.
3, event routing configuration information forms by configuring key element, and concrete form can be the set of a group field, and overhead is less.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of business event processing method in the embodiment of the present invention;
Fig. 2 is the structural representation of a kind of business event processing unit in the embodiment of the present invention;
Fig. 3 is the structural representation of the another kind of business event processing unit in the embodiment of the present invention;
Fig. 4 is the structural representation of another the business event processing unit in the embodiment of the present invention;
Fig. 5 is structure and the data flow schematic diagram of a kind of business event processing unit in the embodiment of the present invention.
Embodiment
Conveniently reader understanding, below to used herein to some technical terms explain:
Object-oriented program programming (OOP, ObjectOrientedProgramming), appellative function is divided into different and relatively independent, encapsulate good class, and give all kinds of independently behavior, relation is each other by inheriting and polymorphicly defining.Concrete, its key idea is that it is put together by data and to the operation behavior of data, as an interdependence, indivisible entirety---object.The object of identical type is carried out classifying, abstract after, draw common feature and define class.Object based programming defines these classes exactly.Class is the object set describing identical type.Be used for as data type the object creating class after class definition well.The execution of program shows as the interactive communication between a group objects.Communicated by common interface between object, thus completion system function.
Towards tangent plane programming (AOP, AspectOrientedProgramming), it is the unified a kind of technology safeguarded being realized program function by precompile mode (i.e. the static tangent plane object configuration page).Being the continuity of OOP, is a focus in software development, is also an important content in Spring framework, is a kind of derived type of functional expression programming.Utilize AOP can isolate the various piece of service logic, thus the degree of coupling between service logic each several part is reduced, improve the reusability of program, improve the efficiency of exploitation simultaneously.
ESB (ESB, EnterpriseServiceBus), it is the product of traditional middleware technology and the combine with technique such as XML, Web service, functionally see, ESB provides the tupe of event-driven and document guiding, and distributed running fluidization air flow, and it supports content-based route and filtration, possess the transmittability of complex data, and a series of standard interface can be provided.
Enterprise information integration (EAI, EnterpriseApplicationIntegration) is by based on different platform, the integrated a kind of technology of heterogeneous applications set up by different schemes.It is by setting up fabric, contact traverse whole enterprise heterogeneous system, application and data source, realize seamlessly sharing and swap data between each subsystem of enterprises.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, be the flow chart of the application's embodiment, comprise the following steps:
Step S11, reception business event process request.
Described business event process request also can be called service request, from client's channel, user's channel or can outreach channel, wherein, described client's channel is towards external client, described user's channel towards internal user, described in outreach channel towards outside co-operation platform.
Described business event process request carrying, about the relevant information of this business event of system process, is called information concerning events herein, and it comprises base attribute information, transaction attribute that client characteristics attribute information is relevant with trading activity.Wherein, described base attribute information can comprise the information such as Case Number, affiliated field, affiliated application, affiliated assembly, sources, described client characteristics attribute information can comprise the information such as customer number, customer type and client's industry, described transaction attribute can comprise the amount of money and Currency Type (such as RMB, Euro or dollar) etc.
Step S12, by described request carry information concerning events be recorded in historical events storehouse.
After base attribute information business event process request carried, client characteristics attribute information and transaction attribute information parse, be recorded in historical events storehouse with the form preset.Described default form can be the various combining forms of this several information, such as, connect in order, that is: " base attribute information+client characteristics attribute information+transaction attribute information ".
Step S13, determine according to described information concerning events the processing logic processing described business event.
Described processing logic is used to indicate the program (i.e. process) processing described business event, and this program is formed by multiple link (subprocess) or step.Described link can comprise one or more step, and described step can comprise one or more action.
Each business event has processing logic, and some processing logics are fairly simple, only arranges for a kind of attribute information, such as, only arrange for sources; Some processing logic relative complex, need to consider base attribute, client characteristics attribute and transaction attribute.
Conveniently process, can in advance for a kind of information in base attribute information, client characteristics attribute information and transaction attribute information or the combination of two or three information, set handling rule, formation rule storehouse.So, according to the various attribute informations in information concerning events, corresponding rule can be searched in rule base, determines the processing logic of business event according to the rule found out.
In certain embodiments, some the rule request query history event bases in rule base, operate according to the historical events in historical events storehouse.Such as certain rule arranges the ceiling of transferring accounts (such as 100,000 yuan) of a day, this rule just needs when described client's request is transferred accounts, inquire about this client by the end of current time, whether the accumulative transfer amounts in a day exceedes ceiling.
The event routing configuration information of step S14, the described processing logic of generation coupling.
Wherein, described event routing configuration information comprises multiple configuration key element, and each configuration key element is connected according to described business event processing logic, and described configuration key element is used to indicate a link in the program processing described business event or step.
Step S15, call service module in described event routing configuration information corresponding to each key element successively, to realize the process to described business event.
The regulation engine that software field can be adopted often to use, flow engine realize calling in order each service module.
The embodiment of the present application can based on existing OOP and AOP, many services module (also can be called serviced component) is namely provided, each service module is respectively used to perform certain specific function (namely performing certain specific action or flow process), such as, belong to the function of the aspects such as service of goods, flow services, platform application, rule decision.On this basis, can realize configuring the corresponding relation between key element and the service module of the link that can perform indicated by this configuration key element or step by mapping table.So, successively by the described mapping table of inquiry, the service module corresponding with configuring key element can being called, after invoked service module performs corresponding link and step, namely completing the processing procedure to described business event.
Can find out, in the embodiment of the present application, described event routing configuration information generates according to processing logic, and processing logic is determined by the one or more information in the base attribute information of carrying in business event process request, client characteristics attribute information and transaction attribute information, namely different business event process requests, processing logic is also different, and the event routing configuration information of generation also can be variant.Therefore, described event routing configuration information dynamically generates, a service chaining is defined according to its process calling service module, this service chaining follows event routing configuration information, different event routing configuration information, can produce different service chaining, therefore this service chaining can be called " dynamic service chain ".
The formation of described dynamic service chain achieves providing of customer personalized service, individualized section specifically embodies in event routing configuration information, just based on this, described business event process request can be received by the unified interface towards all channels, thus shielding channel and terminal difference, for realizing providing prerequisite across the service assembly of channel, cross-terminal, and can be and carry out flow control according to business scope and application class and Resourse Distribute provides the foundation.
The service differences of different channel, can realize in this step of generation event routing configuration information, such as, can pass through different channel, generate different event routing configuration information, give an actual example below to help reader to understand:
For money transfer transactions, sources is client's channel, transfers accounts within only allowing to carry out 50,000 yuan in one day, and source is user's channel, needs manual review when single is more than 50,000 yuan.
Business event (money transfer transactions) processing procedure is as follows:
Receive business event process request (i.e. money transfer transactions request);
If therefrom parsing sources is client channel, be " transferring accounts within only allowing to carry out 50,000 yuan in one day " for the rule of client's channel in rule searching storehouse, the event routing configuration information of generation is made up of according to logical transaction following configuration key element: client's channel+transaction number+dealing money limit+conclude the business the same day+be less than or equal to 50,000 yuan.These configure the corresponding transaction limits of key elements, inquiry transaction daylight trading list and judge whether the step (action) being less than or equal to 50,000 yuan, so, be responsible for the module called or unit, then call the transaction modules that can perform these steps (or action), transaction list on the same day is obtained according to customer number and transaction number from historical events storehouse, to dealing money cumulative calculation, more than 50,000 yuan if (containing this transaction), then do not allow to perform subsequent operation, if do not exceed, then conclude the business.
If therefrom parsing sources is user channel, be " needing manual review when single is more than 50,000 yuan " for the rule of user's channel in rule searching storehouse, the event routing configuration information of generation is made up of according to logical transaction following configuration key element: user's channel+transaction number+artificial flow process+transaction the same day+be greater than 50,000 yuan, artificial process code.These configure the corresponding transaction limits of key elements, inquiry transaction daylight trading list, judge whether to be greater than the steps (action) such as 50,000 yuan and artificial flow process, so, be responsible for the module called or unit, then call the transaction modules and artificial process module (being responsible for the module with man-machine interactively) that can perform these steps (or action): transaction modules, judge that whether dealing money is more than 50,000 yuan, if, wait for after then proceeding to artificial flow process, if not, then directly trading processing is performed; The personnel being responsible for artificial flow process the pending transaction such as to check according to workflow, and submit to after examination & verification, and transaction modules processes this money transfer transactions according to the result (submission completes) of artificial flow process.
Can find out, business event request is received by unified interface, and channel service differences is embodied by event routing configuration information.The present embodiment, according to client, product and channel characteristic, realizes carrying out flexible combination to various serviced component, can carry out personalization based on client and customize service, and whole process is without the need to too much manual intervention.Further, as to certain client, product or channel amendment or adjustment service, only need need modified to the rule in rule base, convenient and swift.
Business event process request is received in order to coordinate unified interface, the process of described reception business event process request can comprise: carry out the security control process of safety certification, the decryption processes be decrypted the process request of having encrypted and the message adaptation procedure of resolving message to described process request, to solve safety and adaptive problem.
In certain embodiments, in advance flow control mark and flow control plan mark can be set for the information concerning events (base attribute information, client characteristics attribute information and transaction attribute information) of business event, such as base attributes such as the business scope of business event, affiliated application or affiliated assemblies, flow control requirement is set, so, when receiving business event process request, after judging the business scope of this business event, affiliated application or affiliated assembly, require to carry out corresponding flow control according to flow control.The mode arranging flow control requirement can be realized by flow control meter, in described flow control meter, flow control mark and flow control plan mark are set for preset attribute (such as business scope, affiliated application or affiliated assembly), when receiving business event process request, flow control mark whether is provided with by inquiring about in described flow control meter, determine whether to need to carry out flow control, if desired, then corresponding according to described flow control plan mark flow control plan carries out flow control.This flow control mode can carry out flow control and Resourse Distribute according to preset attribute easily and quickly, and can adjust flexibly.
The method that the various embodiments described above provide can be carried on electronic equipment, especially IED, such as computer or server.Functional part for implementing the method that the various embodiments described above provide in described electronic equipment is called business event processing unit.A kind of logical construction of this business event processing unit as shown in Figure 2, comprises interface 21, event handler 22 and service assembled unit 23, wherein:
Described interface 21, receives business event process request.
Carry information concerning events in described business event process request, described information concerning events comprises transaction attribute information, base attribute information and client characteristics attribute information.
Described event handler 21, information concerning events for described request being carried is recorded in historical events storehouse, and determine according to described information concerning events the processing logic processing described business event, and, generate the event routing configuration information of the described processing logic of coupling.Described processing logic is used to indicate the program processing described business event; Described event routing configuration information comprises multiple configuration key element, and each configuration key element is connected according to described business event processing logic, a link in the program of business event described in one or more described configuration key element instruction processing or step.
Described Services Composition unit 23, calls in described event routing configuration information the service module respectively configured corresponding to key element, successively to realize the process to described business event; Described service module can perform the link indicated by configuration key element or the step of its correspondence.
Described interface 21 shields shielding channel and terminal difference, and safe and adaptive in order to ensure, described interface 23 can the parts of built-in security or adaptation, and its a kind of logical construction as shown in Figure 3, comprise safety con-trol part 31, decryption processing parts 32 and message adaptor parts 33, wherein:
Described safety con-trol part 31 is for carrying out safety certification to described process request.
Described decryption processing parts 32 are for being decrypted the process request of having encrypted.
Described message adaptor parts 33 is for providing the analysis mode corresponding with the sources of message, if the analysis mode of the sources of message is all identical, then these parts 33 can omit.
In certain embodiments, described interface 23 is also built-in with miscellaneous part, as shown in Figure 4, for the another kind of logical construction of described interface 23, described interface 23 except being built-in with safety con-trol part 31, decryption processing parts 32 and message adaptor parts 33, also built-in traffic management and control parts 41, described traffic management and control parts 41 for judge whether to exist the traffic management and control corresponding with described information concerning events and require and traffic management and control regular, if so, then traffic management and control is carried out according to described traffic management and control rule.The process of traffic management and control with reference to related content above, can not repeat at this.
Said apparatus part is corresponding with method partial content, can be cross-referenced.
With reference to figure 4, be the business event processing unit structure that a kind of embodiment of the application provides, and transfer of data schematic diagram, the course of work of this business event processing unit is as follows:
Described interface 21 receives business event process request, and described business event process request from client's channel, user's channel or may outreach channel.
The action of described event handler 22 can be divided into three parts: event receives and record, event route and event scheduling, wherein:
Described event receives and recording process is: the information concerning events carried in described business event process request is carried out record according to predetermined manner, described predetermined manner comprise by the base attribute information in described information concerning events, transaction attribute information and client characteristics attribute information arrange according to certain mode, such as base attribute information+transaction attribute information+client characteristics attribute information, or arrange around certain or some attributes, such as, around customer number, customer type or client's industry.
Shown event routing procedure comprises: the processing logic determining to process described business event according to described information concerning events, and, generate the event routing configuration information of the described processing logic of coupling.Described processing logic is used to indicate the program processing described business event, such as the transferred account service process request of client's channel, first needing is clearly transferred account service, judge whether that the amount of money controls, if so, need the same day of inquiring about this client further and transfer accounts list, carry out amount of money cumulative calculation, carry out processing (allowing or refusal) etc. according to result of calculation, sometimes also need to increase extra link.Described event routing configuration information comprises multiple configuration key element, and each configuration key element is connected according to described business event processing logic, a link in the program of business event described in one or more described configuration key element instruction processing or step.Such as " client's channel+transaction number+dealing money limit+conclude the business the same day+be less than or equal to 50,000 yuan ", wherein, the amount of money control this configuration key element with regard to correspond to " same day of inquiring about this client transfers accounts list; carry out amount of money cumulative calculation, carry out processing (allowing or refusal) according to result of calculation " this link.
Namely shown event scheduling process is that the event routing configuration information generated by event routing procedure is transferred to Services Composition unit 23.
Described Services Composition unit 23 calls in described event routing configuration information the service module respectively configured corresponding to key element successively, to realize the process to described business event.Such as " user's channel+transaction number+artificial flow process+transaction same day the+be greater than 50,000 yuan, artificial process code " this event routing configuration information, call transaction modules and artificial process module successively to perform related link.Described service module is stored in module library, can according to dissimilar, and the types such as such as service of goods, flow services, the decision-making of platform application Sum fanction, store.
Described Services Composition unit 23 logically can be divided into composite services module, generic service processor, flow services module, rule service module and output module, wherein: composite services module receives the event routing configuration information that described event handler 22 transmits, determine to need the service module of scheduling and corresponding dispatching sequence, described generic service processor is according to scheduling needs, flow engine is used by flow services module, by rule service module service regeulations engine, or externally to be breathed out operation by output interface, call required various service modules, to realize the process to business event.
It should be noted that, in this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, identical similar portion reference mutually between each embodiment.
By the description of the various embodiments described above, can find out, the scheme that the application provides has the following advantages or feature:
1, outstanding event handling ability.
By the parametrization (namely therefrom parsing the information such as base attribute, client characteristics attribute and transaction attribute) to business event process request, processing logic is determined according to one or more in these attributes, and after generating and meeting this processing logic, the event routing configuration information that is made up of multiple configuration key element, call corresponding service module successively according to the precedence relationship of configuration key element, realize the process to business event.
The generation of event routing configuration information the and follow-up service link defined this business event is called to service module, described event routing configuration information generates according to the business event process request received, and non-predetermined writing, configure compared with the mode of the page with the static tangent plane object write in advance that comparatively close AOP technology adopts:
Save the process and follow-up maintenance process of writing in advance;
The process of service module scheduling is only carried out for event routing configuration information, and without the need to the queries static tangent plane object configuration page, save query event and be not easy to make mistakes, this point can be more remarkable under service logic comparatively complicated situation;
When needs are modified to handling procedure, only need processing logic be adjusted, without the need to revising the described static tangent plane object configuration page, comparatively flexible and expense is less.The service chaining implantable hot plug that can realize for same event is served, and such as interim additions and deletions subtract link in handling procedure or step.
Further, the event routing configuration information for miscellaneous service event is non-interference, can walk abreast, serial, synchronous or asynchronous process, service module can be called by multiple business event.
2, across the service assembly ability of channel
The otherness of channel can embody in event routing configuration information, and therefore, the business event process request from each channel can be received by unified interface module.Thus, shield channel and terminal difference from porch, realize the service assembly across channel, cross-terminal.
Further, flow control and Resourse Distribute can be carried out according to business scope and application class, ensure that the differentiation of service.
3, business event can carry out record around certain or some characteristics, such as, can carry out record around customer number, then follow-up decision-making provides data basis.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a processing method for business event, is characterized in that, comprising:
Receive business event process request;
Be recorded in historical events storehouse by the information concerning events that described request carries, described information concerning events comprises transaction attribute information, base attribute information and client characteristics attribute information;
Determine according to described information concerning events the processing logic processing described business event, described processing logic is used to indicate the program processing described business event;
Generate the event routing configuration information of the described processing logic of coupling, wherein, described event routing configuration information comprises multiple configuration key element, each configuration key element is connected according to described business event processing logic, a link in the program of business event described in one or more described configuration key element instruction processing or step;
Call in described event routing configuration information the service module respectively configured corresponding to key element successively, to realize the process to described business event; Described service module can perform the link indicated by configuration key element or the step of its correspondence.
2. method according to claim 1, it is characterized in that, the process receiving business event process request comprises: carry out security control process, the decryption processes be decrypted the process request of having encrypted of safety certification to described process request and provide packet parsing mode to carry out the message adaptation procedure of message adaptation.
3. method according to claim 1, is characterized in that, the process receiving business event process request also comprises:
Judge whether that there is the traffic management and control corresponding with described information concerning events requires and traffic management and control rule, if so, then carries out traffic management and control according to described traffic management and control rule.
4. method according to claim 1, the processing logic of described business event is determined according to following steps:
The rule corresponding with described base attribute information is searched in preset rules storehouse;
The program processing described business event is determined according to described rule.
5. method according to claim 1, is characterized in that:
Described transaction attribute information comprises the amount of money and Currency Type;
Described base attribute information comprises Case Number, affiliated field, affiliated application, affiliated assembly and sources;
Described client characteristics attribute information comprises customer number, customer type and client's industry.
6. a processing unit for business event, is characterized in that, comprising:
Interface, receives event handling request;
Event handler, information concerning events for described request being carried is recorded in historical events storehouse, and determine according to described information concerning events the processing logic processing described business event, and, generate the event routing configuration information of the described processing logic of coupling; Wherein, described information concerning events comprises transaction attribute information, base attribute information and client characteristics attribute information; Described processing logic is used to indicate the program processing described business event; Described event routing configuration information comprises multiple configuration key element, and each configuration key element is connected according to described business event processing logic, a link in the program of business event described in one or more described configuration key element instruction processing or step;
Services Composition unit, calls in described event routing configuration information the service module respectively configured corresponding to key element, successively to realize the process to described business event; Described service module can perform the link indicated by configuration key element or the step of its correspondence.
7. processing unit according to claim 6, it is characterized in that, described interface is built-in with for carrying out safety con-trol part, the decryption processing parts be decrypted the process request of having encrypted of safety certification to described process request and providing packet parsing mode to carry out the message adaptor parts of message adaptation.
8. processing unit according to claim 7, it is characterized in that, described interface is also built-in with traffic management and control parts, for judging whether that there is the traffic management and control corresponding with described information concerning events requires and traffic management and control rule, if so, then traffic management and control is carried out according to described traffic management and control rule.
9. processing unit according to claim 6, is characterized in that, described event handler determines that the process of the processing logic of described business event comprises:
The rule corresponding with described base attribute information is searched in preset rules storehouse;
The program processing described business event is determined according to described rule.
10. the processing unit according to claim 6 ~ 9 any one, is characterized in that:
Described transaction attribute information comprises the amount of money and Currency Type;
Described base attribute information comprises Case Number, affiliated field, affiliated application, affiliated assembly and sources;
Described client characteristics attribute information comprises customer number, customer type and client's industry.
CN201510897732.XA 2015-12-08 2015-12-08 Business event processing method and apparatus Pending CN105357059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510897732.XA CN105357059A (en) 2015-12-08 2015-12-08 Business event processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510897732.XA CN105357059A (en) 2015-12-08 2015-12-08 Business event processing method and apparatus

Publications (1)

Publication Number Publication Date
CN105357059A true CN105357059A (en) 2016-02-24

Family

ID=55332935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510897732.XA Pending CN105357059A (en) 2015-12-08 2015-12-08 Business event processing method and apparatus

Country Status (1)

Country Link
CN (1) CN105357059A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020948A (en) * 2016-05-10 2016-10-12 中国银联股份有限公司 Flow process scheduling method and device
CN106651568A (en) * 2016-12-26 2017-05-10 中国建设银行股份有限公司 Business processing method and device
CN106817277A (en) * 2016-12-29 2017-06-09 杭州迪普科技股份有限公司 A kind of processing method and processing device of interface event
CN107172122A (en) * 2017-03-31 2017-09-15 北京奇艺世纪科技有限公司 A kind of abnormality eliminating method and device
CN107180338A (en) * 2017-05-22 2017-09-19 深圳市小牛在线互联网信息咨询有限公司 Business performs method, device, storage medium and computer equipment
CN107918863A (en) * 2017-10-19 2018-04-17 阿里巴巴集团控股有限公司 Preposition processing and collocation method, device and equipment based on financial product
CN108958796A (en) * 2017-05-23 2018-12-07 阿里巴巴集团控股有限公司 service request processing method and device, service request processing system
CN109445937A (en) * 2018-10-17 2019-03-08 山东易通发展集团有限公司 A kind of modularization programming and seamless execution method
CN109947798A (en) * 2017-09-18 2019-06-28 中国移动通信有限公司研究院 A kind of processing method and processing device of stream event
CN110084583A (en) * 2019-04-12 2019-08-02 中国银行股份有限公司 A kind of pressure button stroke accounting data processing method, apparatus and system
CN110113424A (en) * 2019-05-15 2019-08-09 四川新网银行股份有限公司 The method of data-reusing
CN110247972A (en) * 2019-06-17 2019-09-17 杭州数金在线云科技有限公司 A kind of transaction processing system
CN110335142A (en) * 2019-06-28 2019-10-15 苏宁消费金融有限公司 A kind of intelligence flow based on syndicated loan is transferred to civilian work the realization system of business
CN111147377A (en) * 2019-12-05 2020-05-12 连连银通电子支付有限公司 Method, device, equipment and medium for determining service channel
CN111176719A (en) * 2019-12-24 2020-05-19 天阳宏业科技股份有限公司 Software system configuration method and system based on event driving
CN111526184A (en) * 2020-04-07 2020-08-11 中国建设银行股份有限公司 Business auditing method and device
CN111770151A (en) * 2020-06-24 2020-10-13 京信通信系统(中国)有限公司 Processing method and device for user-defined flow, electronic equipment and storage medium
CN113672205A (en) * 2021-08-25 2021-11-19 广州方舟信息科技有限公司 Workflow framework based on business event driving
CN116185350A (en) * 2022-11-28 2023-05-30 浙江华峰智链工业互联网有限公司 Business process design method and system based on event and configuration

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226612A (en) * 2007-12-29 2008-07-23 中国建设银行股份有限公司 Data processing management system facing to process flow
CN101593111A (en) * 2009-05-31 2009-12-02 大连新中连软件集团有限公司 A kind of Service Component reaches the applied software development method and system based on Service Component
US20120124584A1 (en) * 2010-11-12 2012-05-17 Oracle International Corporation Event-Based Orchestration in Distributed Order Orchestration System

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226612A (en) * 2007-12-29 2008-07-23 中国建设银行股份有限公司 Data processing management system facing to process flow
CN101593111A (en) * 2009-05-31 2009-12-02 大连新中连软件集团有限公司 A kind of Service Component reaches the applied software development method and system based on Service Component
US20120124584A1 (en) * 2010-11-12 2012-05-17 Oracle International Corporation Event-Based Orchestration in Distributed Order Orchestration System

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020948A (en) * 2016-05-10 2016-10-12 中国银联股份有限公司 Flow process scheduling method and device
CN106020948B (en) * 2016-05-10 2019-09-17 中国银联股份有限公司 A kind of process dispatch method and device
CN106651568A (en) * 2016-12-26 2017-05-10 中国建设银行股份有限公司 Business processing method and device
CN106817277A (en) * 2016-12-29 2017-06-09 杭州迪普科技股份有限公司 A kind of processing method and processing device of interface event
CN107172122A (en) * 2017-03-31 2017-09-15 北京奇艺世纪科技有限公司 A kind of abnormality eliminating method and device
CN107180338A (en) * 2017-05-22 2017-09-19 深圳市小牛在线互联网信息咨询有限公司 Business performs method, device, storage medium and computer equipment
CN108958796A (en) * 2017-05-23 2018-12-07 阿里巴巴集团控股有限公司 service request processing method and device, service request processing system
CN108958796B (en) * 2017-05-23 2023-08-04 创新先进技术有限公司 Service request processing method and device and service request processing system
CN109947798A (en) * 2017-09-18 2019-06-28 中国移动通信有限公司研究院 A kind of processing method and processing device of stream event
CN107918863A (en) * 2017-10-19 2018-04-17 阿里巴巴集团控股有限公司 Preposition processing and collocation method, device and equipment based on financial product
CN109445937B (en) * 2018-10-17 2021-01-01 山东易通发展集团有限公司 Componentized programming and seamless execution method
CN109445937A (en) * 2018-10-17 2019-03-08 山东易通发展集团有限公司 A kind of modularization programming and seamless execution method
CN110084583A (en) * 2019-04-12 2019-08-02 中国银行股份有限公司 A kind of pressure button stroke accounting data processing method, apparatus and system
CN110113424A (en) * 2019-05-15 2019-08-09 四川新网银行股份有限公司 The method of data-reusing
CN110247972A (en) * 2019-06-17 2019-09-17 杭州数金在线云科技有限公司 A kind of transaction processing system
CN110335142B (en) * 2019-06-28 2022-04-08 苏宁消费金融有限公司 System for realizing intelligent transfer service based on joint loan
CN110335142A (en) * 2019-06-28 2019-10-15 苏宁消费金融有限公司 A kind of intelligence flow based on syndicated loan is transferred to civilian work the realization system of business
CN111147377B (en) * 2019-12-05 2020-09-11 连连银通电子支付有限公司 Method, device, equipment and medium for determining service channel
CN111147377A (en) * 2019-12-05 2020-05-12 连连银通电子支付有限公司 Method, device, equipment and medium for determining service channel
CN111176719A (en) * 2019-12-24 2020-05-19 天阳宏业科技股份有限公司 Software system configuration method and system based on event driving
CN111526184A (en) * 2020-04-07 2020-08-11 中国建设银行股份有限公司 Business auditing method and device
CN111526184B (en) * 2020-04-07 2022-07-29 中国建设银行股份有限公司 Business auditing method and device
CN111770151A (en) * 2020-06-24 2020-10-13 京信通信系统(中国)有限公司 Processing method and device for user-defined flow, electronic equipment and storage medium
CN111770151B (en) * 2020-06-24 2024-03-15 京信网络系统股份有限公司 Processing method and device for custom flow, electronic equipment and storage medium
CN113672205A (en) * 2021-08-25 2021-11-19 广州方舟信息科技有限公司 Workflow framework based on business event driving
CN116185350A (en) * 2022-11-28 2023-05-30 浙江华峰智链工业互联网有限公司 Business process design method and system based on event and configuration

Similar Documents

Publication Publication Date Title
CN105357059A (en) Business event processing method and apparatus
US20230062655A1 (en) Systems and methods for data storage and processing
US9658901B2 (en) Event-based orchestration in distributed order orchestration system
US6751657B1 (en) System and method for notification subscription filtering based on user role
US9904898B2 (en) Distributed order orchestration system with rules engine
US10061464B2 (en) Distributed order orchestration system with rollback checkpoints for adjusting long running order management fulfillment processes
US8065682B2 (en) Enforcing system resource usage limits on query requests based on grouping query requests into workgroups and assigning workload groups to resource pools
WO2022095435A1 (en) Multilevel linkage management platform for aiot device accessing paas and saas
US20130339922A1 (en) Systems and methods for executing business processes over a network
US20080313003A1 (en) Designing business processes using parametric roles
US20110218924A1 (en) Distributed order orchestration system for adjusting long running order management fulfillment processes with delta attributes
US20110218925A1 (en) Change management framework in distributed order orchestration system
CN104216912A (en) Method and device for achieving non-intrusive service form workflow
CN106354833A (en) Platform for achieving data management and sharing exchange on basis of B/S framework
CN1937608A (en) Method for managing client machine-server communication and computer system
CN110188132B (en) Data exchange method and system
CN113298503A (en) Government affair-oriented workflow management system and database and table dividing method thereof
CN105760498A (en) Achievement method of XML data and relational database matching
CN107659450A (en) Distribution method, distributor and the storage medium of big data cluster resource
CN102479354B (en) A kind of data processing method based on workflow and system
CN110163745A (en) Hierarchical control data check and control processing system and method
CN101216780B (en) Method and apparatus for accomplishing multi-instance and thread communication under SMP system
US20110218922A1 (en) Cost of change for adjusting long running order management fulfillment processes for a distributed order orchestration sytem
US20110218926A1 (en) Saving order process state for adjusting long running order management fulfillment processes in a distributed order orchestration system
CN112799908B (en) Intelligent terminal safety monitoring method, equipment and medium based on edge calculation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160224