CN106875170A - A kind of method and device for business processing of intermediate business system - Google Patents

A kind of method and device for business processing of intermediate business system Download PDF

Info

Publication number
CN106875170A
CN106875170A CN201610586748.3A CN201610586748A CN106875170A CN 106875170 A CN106875170 A CN 106875170A CN 201610586748 A CN201610586748 A CN 201610586748A CN 106875170 A CN106875170 A CN 106875170A
Authority
CN
China
Prior art keywords
template
service
service message
message
business
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
CN201610586748.3A
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.)
Alibaba Group Holding 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 CN201610586748.3A priority Critical patent/CN106875170A/en
Publication of CN106875170A publication Critical patent/CN106875170A/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]

Abstract

The application provides a kind of method and device for business processing of intermediate business system.Methods described includes:The first service message from upper-layer service system is received, the head to the first service message carries out the wherein entrained type of service mark of parsing acquisition;Corresponding first pass template is obtained based on the default template list of type of service identifier lookup, template list includes the corresponding relation of flow template and type of service mark, and first pass template is acted including one or more treatment;Corresponding underlying traffic system is determined in the processing procedure based on first pass template to the first service message;The first service message is based on using second procedure template and constructs the second service message, and second service message is sent to underlying traffic system.Only need to call the flow processing template for pre-defining to carry out according to the type of service mark of agreement in the processing procedure of operation system between in this application, scalability is good, and stability is high.

Description

A kind of method and device for business processing of intermediate business system
Technical field
The application is related to communication technical field, more particularly to a kind of method and device for business processing of intermediate business system.
Background technology
As internet correlation technique and such as logistics are in the development of interior supporting industry.At present, internet has been The basis of many economic activities.And many economic activities show as the form of ecommerce on the internet.Including paying Interior some internet platforms have become the important infrastructure for completing these economic activities.
To realize a transaction for efficient, need to cooperate between these platforms.Such as, consumer can Generated with realizing order by O2O platforms such as masses' comments, the internet payment platform for then being associated by the platform is come please Order is asked to pay.For payment platform, it may need to carry out being finally completed payment to fetching with the system of financial institution. For more complicated e-business model, it may relate to more than three platforms (hereinafter also referred to " operation system ").With Continuing to develop for electronic commerce affair type, such as AA payments, payment platform realizes that the emerging services such as finance and money management constantly go out It is existing, it means that docking is needed between the more huge operation system of quantity.
On the other hand, to realize these novel services, each operation system must not infrequently be updated exploitation, this for The stability of operation system is sizable challenge, and especially that centrally located system in business model is (such as Internet payment platform) for, undoubtedly challenge bigger, because the operation system is located in the middle of many operation systems, any outside System may all cause its change in the change of service layer.And requirement of the internet payment platform for stability in itself is past Toward being financial level, to realize this needs, the owner of operation system has to put into substantial amounts of manpower and develops, and tests And regular maintenance.
The content of the invention
In view of this, the application provides a kind of method and device for business processing of intermediate business system.
Specifically, the application is achieved by the following technical solution:
A kind of method for processing business of intermediate business system, methods described includes:
The first service message from upper-layer service system is received, carrying out parsing to the head of first service message obtains Obtain wherein entrained type of service mark;
Corresponding first pass template is obtained based on the default template list of the type of service identifier lookup, wherein the mould Panel table includes the corresponding relation of flow template and type of service mark, and the first pass template is including at one or more Reason is acted;
Determine corresponding lower floor's industry in the processing procedure based on the first pass template to first service message Business system;
First service message is based on using second procedure template construct the second service message, and by the second business report Text is sent to the underlying traffic system.
Optionally, also include:
The 3rd service message from underlying traffic system is received, carrying out parsing to the head of the 3rd service message obtains Obtain wherein entrained type of service mark;
Corresponding 3rd flow template is obtained based on template list is preset described in the type of service identifier lookup, described the Three flow templates are acted including one or more treatment;
Determine corresponding business system in the processing procedure based on the 3rd flow template to the 3rd service message System and flow template corresponding with the operation system;
If the operation system that the 3rd flow template determines is the upper-layer service system, corresponding 4th flow is used Template is based on the 3rd service message and constructs the 4th service message, and the 4th service message is sent into the upper-layer service System.
Optionally, if the operation system that the 3rd flow template determines is the underlying traffic system, second procedure is used Template is based on the 3rd service message and constructs the second service message, and second service message is sent into the underlying traffic System.
Optionally, the treatment action of the first pass template and the 3rd flow template includes sending route system System, wherein the route system is used for the corresponding underlying traffic system of decision-making.
Optionally, route system is sent on described to be included:Route is given in the exchange capacity parameter that will be carried in service message System.
Optionally, also include:
The reiving/transmitting state of service message is saved in reiving/transmitting state table, wherein the reiving/transmitting state table includes business mark Knowledge, opposite end operation system, reiving/transmitting state and state recording time.
A kind of business processing device of intermediate business system, described device includes:
Upper strata message receiving unit, receives the first service message from upper-layer service system, to the first business report The head of text carries out parsing and obtains wherein entrained type of service mark;
First template searching unit, obtains corresponding first-class based on the default template list of the type of service identifier lookup Journey template, wherein the template list includes the corresponding relation of flow template and type of service mark, the first pass mould Plate is acted including one or more treatment;
Underlying system determining unit, in the processing procedure based on the first pass template to first service message Determine corresponding underlying traffic system;
Lower floor's packet sending unit, is based on first service message and constructs the second business report using second procedure template Text, and second service message is sent to the underlying traffic system.
Optionally, also include:
Lower floor's message receiving unit, receives the 3rd service message from underlying traffic system, to the 3rd business report The head of text carries out parsing and obtains wherein entrained type of service mark;
Second template searching unit, corresponding the is obtained based on template list is preset described in the type of service identifier lookup Three flow templates, the 3rd flow template is acted including one or more treatment;
System template determining unit, in the processing procedure based on the 3rd flow template to the 3rd service message Determine corresponding operation system and flow template corresponding with the operation system;
Upper strata packet sending unit, when the operation system determined in the 3rd flow template is the upper-layer service system, makes The 3rd service message is based on corresponding 4th flow template and constructs the 4th service message, and the 4th service message is sent out Give the upper-layer service system.
Optionally, lower floor's packet sending unit, the operation system for also determining in the 3rd flow template is the lower floor During operation system, it is based on the 3rd service message using second procedure template and constructs the second service message, and by second industry Business message is sent to the underlying traffic system.
Optionally, the treatment action of the first pass template and the 3rd flow template includes sending route system System, wherein the route system is used for the corresponding underlying traffic system of decision-making.
Optionally, route system is sent on described to be included:Route is given in the exchange capacity parameter that will be carried in service message System.
Optionally, also include:
State storage unit, the reiving/transmitting state of service message is saved in reiving/transmitting state table, wherein the reiving/transmitting state Table includes service identification, opposite end operation system, reiving/transmitting state and state recording time.
By above description as can be seen that only needing to the industry according to agreement between in this application in the processing procedure of operation system Service type mark calls the flow processing template for pre-defining to be processed, you can realization is continuously timely fed back, expansible Property is good, and stability is high.
Brief description of the drawings
Fig. 1 is that a kind of flow of the method for processing business of the intermediate business system shown in the exemplary embodiment of the application one is shown It is intended to.
Fig. 2 is a kind of operation system interaction schematic diagram shown in the exemplary embodiment of the application one.
Fig. 3 is that the service message form of interaction between a kind of messaging system shown in the exemplary embodiment of the application one is illustrated Figure.
Fig. 4 is the flow of the method for processing business of another intermediate business system shown in the exemplary embodiment of the application one Schematic diagram.
Fig. 5 is of a kind of business processing device for intermediate business system shown in the exemplary embodiment of the application one Structure chart.
Fig. 6 is a kind of block diagram of the business processing device of the intermediate business system shown in the exemplary embodiment of the application one.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent all implementation methods consistent with the application.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps May be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for being distinguished from each other open same type of information.For example, not departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
At present, in the design of most of service system structure, all can be using the industry based on domain model status change Business Flow driving design.For more simple mode, the architecture design thinking of current business system be as much as possible with reality Border business matches.This mentality of designing is a kind of most commonly seen inertial thinking, and it is desirable to obtain preferably directly perceived at all Experience, whole business procedure remains the good experience for user, the either operation of consumer or operation system Personnel.The deficiency of this design is often easily ignored because of above-mentioned thinking inertia.
First, the structure of domain model needs have more deep understanding to business, and carries out abstract refinement, and itself is present Certain complexity, it is very high for personnel's experiences such as the product manager for participating in designing and system engineer and competency profiling.
Second, the business more for state, the design of status change may be extremely complex, especially in newly-increased state In the case of, status change rapid expansion can be caused.As an example it is assumed that there is following several shapes in a payment model for new business State:Initially, accept, send, blending, succeeding, failing, it is unknown.Now, status change may relate to initially to accepting, accept Send, be sent to blend, blend successfully, blend failure, blend it is unknown, accept failure, accept and blend, accept It is unknown, be sent to it is unknown, unknown to a series of status change process such as blending.Developer needs to design extremely complex for this Workflow mechanism.Result is exactly that operation flow state once increased caused by this design with business strong correlation, Due to new state may with each old state all there may be circulation possibility, now complexity increase with surmounting linear amplitude Plus, or even often increase a state, may all cause development amount to be multiplied.It is complicated if further relating to retry mechanism Degree is difficult to imagine.
Regarding to the issue above, the application provides a kind of general service processing method of intermediate business system, and it can be effective Solve the above problems so that the operation system positioned at intermediate layer is more stablized and general.Refer to Fig. 1 and Fig. 2.In the application In, intermediate business system can be by M upper-layer service system and N number of underlying traffic system docking together, so as to complete source From the treatment of the service request of various upper-layer service systems.The described method comprises the following steps:
Step 101, receives the first service message from upper-layer service system, and the head to first service message enters Row parsing obtains wherein entrained type of service mark.
Step 102, corresponding first pass template is obtained based on the default template list of the type of service identifier lookup, its Described in template list include the corresponding relation of flow template and type of service mark, the first pass template includes one Or multiple treatment actions.
Step 103, determines correspondence in the processing procedure based on the first pass template to first service message Underlying traffic system.
Step 104, is based on the first service message and constructs the second service message using second procedure template, and by second industry Business message is sent to the underlying traffic system.
Fig. 1 is refer to, the application drives the circulation of flow in intermediate business system using relatively uniform message.With As a example by typical payment platform, request of the first described service message typical from upper-layer service system in a step 101 Class service message, such as the payment request message from ticketing platform.In this application, intermediate business system no longer pays close attention to upper strata What the specific business meaning of operation system is, but by business model carry out it is abstract obtain its type, carried out according to type It is uniformly processed.Such as:The payment transaction of ticketing platform, transferred account service, regular public good between payment transaction, the bank card of take-away platform Contribution business can be unified into a kind for the treatment of model.Embodiment in this example is that these upper-layer service systems are transmitted across The service message for coming will about be scheduled in head specific field according to unification and carry same type of service mark.
The example of Fig. 3 is refer to, in this example, the first service message includes header and message body.Wherein " CommonBody " represents message body, also referred to as message load (Payload);Many fields are included in message body, these words Section carries specific business information.From unlike conventional art, these specific business information are no longer intermediary service systems The key driving of handling process of uniting." MsgHdr " represents header, some fields is included, wherein " MsgCgy " this word Segment table levies type of service, and its value is " PAYMENT " in this example, and the value is exactly type of service mark.That is, for For intermediate business system, the first service message that either which kind of upper-layer service system sends, as long as type of service is identified Unanimously, its corresponding flow template will be identical, that is to say, that the processing procedure to message is identical.
The processing procedure of flow template can be acted including one or more treatment, and its realization can call multiple places Reason component or template, flow template is equivalent to the description information that treatment is acted.By taking card business overseas as an example, such as, it is assumed that Its type of service mark is " ForeignCard ".Its processing procedure can include that accepting, assemble and store three treatment moves Make.Such as, accepting can be including basic format checking and data check etc.;Assembling is typically referred to according to specific form or mould Initial data is re-started type the process of arrangement;Storage is typically by the data Cun Chudao after assembling related database.
In one example, can include above sending route system in the treatment action of flow template.Route system can be with A part of intermediate business system is interpreted as, it is simply comparatively relatively more independent.In processing procedure, can be by the first business Route system is sent in the various exchange capacity parameters carried in message carries out trade-off decision.By taking Fig. 3 as an example, typical exchange capacity Parameter includes:TntInstId, instId etc..After route system receives these parameters, default decision-making list item selection can be inquired about One optimal underlying traffic system.In some instances, may have multiple underlying traffic systems can process the first business Business representated by message, but the introducing of route system can select that optimal underlying traffic system.For example, If exchange capacity parameter is MYBKC1CN, CMBCC1CN, now this business actually has 3 underlying traffic systems can to locate Reason:Deep settlement system, middle golden payment system and people's row wholesale system, route system are comprehensively sentenced according to expense and payment success rate It is disconnected, it may be determined that the deep settlement system of selection is used as optimal underlying traffic system.
In general, last treatment action that route system is first pass template is above sent, route system decision-making Result means now to need the underlying traffic system gone out with its decision-making to be docked.Specifically, it is assumed that type of service is PAYMENT, now underlying traffic system can be people's row system for settling account, or Shenzhen liquidation center system etc..Now may be used To process the result of decision of route system using second procedure template.In general, second procedure template mainly treatment action It is that the second service message is constructed based on the first service message.Wherein described second service message is to meet connecing for underlying traffic system Mouth code requirement, required according to these interface specifications, the business information carried in the first service message can be re-started Assembling so that its format character splice grafting mouthful code requirement (it can be appreciated that call format of the second service message), then sends Give underlying traffic system.
Underlying traffic system can carry out packet parsing and industry after receiving the second service message according to existing mode Business is processed.If processed successfully, it would generally return to the 3rd service message.3rd service message is usually receipt class business Message.Now, following step can be included than relatively similar for the treatment of the 3rd service message and the treatment of the first service message Suddenly:
Step 105, receives the 3rd service message from underlying traffic system, and the head to the 3rd service message enters Row parsing obtains wherein entrained type of service mark.
Step 106, corresponding 3rd flow mould is obtained based on template list is preset described in the type of service identifier lookup Plate, the 3rd flow template is acted including one or more treatment.
Step 107, determines correspondence in the processing procedure based on the 3rd flow template to the 3rd service message Operation system.
Step 108, if the operation system that step 107 determines is the upper-layer service system, uses the corresponding 4th Flow template is based on the 3rd service message and constructs the 4th service message, and the 4th service message is sent into the lower floor Operation system.
Step 109, if the operation system that step 107 determines is the underlying traffic system, uses second procedure template Second service message is constructed based on the 3rd service message, and second service message is sent to the underlying traffic system System.
Fig. 4 is refer to, for step 105 to step 108, most common situation is exactly by the place of underlying traffic system feedback Reason result, that is, receipt, enter row format conversion and are sent to upper-layer service system, so as to complete at the request of upper-layer service system Reason.Step 105 is to step 108 and be not concerned with underlying traffic system result is in itself what.
For for a simplest example, by taking payment transaction as an example, the result of upper-layer service system feedback may It is " Sorry, your ticket has not enough value ", step 105 to step 108 and to require no knowledge about the result be what, it is only necessary to feed back to the result Layer service system.Underlying traffic system may further add new result, such as " button on the basis of this result Money success ", because a remaining sum for account may change at any time, although underlying traffic system has fed back that Sorry, your ticket has not enough value, but This business is not closed directly, after waiting 5 minutes, after remaining sum abundance is found when processing the business again, underlying traffic system System feeds back " withholing successfully " again.No matter underlying traffic system how feedback processing result, in other words feed back how many times treatment knot Really, intermediate business system is only needed to enter row format conversion according to the mode of step 105 to step 108 and forwarded, in other words It is more for upper-layer service system carries out upgrading in time for result.The need for of course for follow-up supervision and backtracking, equally may be used Database is saved in by the information in the various information in the 3rd service message, including header and message body.
In another example, in order to support increasingly complex business situation, as first pass template, the 3rd flow Can also include above sending route system This move in the treatment action of template.It should be noted that so-called first or the 3rd Flow template refers to a certain class flow template, for example, the 3rd flow template having may not include above send route system this move Make, what is had can then include.In general, first pass template is typically towards the class stream from upper-layer service system request Journey template;Second procedure template then typically sends a class flow template of the second service message to underlying traffic system;3rd Flow template is then the class flow template for processing the 3rd service message from underlying traffic system;And the 4th flow template is then A class flow template of the 4th service message is typically sent to upper-layer service system.
If being included in the 3rd flow template and sending route system, the result returned after route system decision-making may have Two kinds, one kind is that the 4th service message to upper-layer service system is sent using the 4th flow template, and alternatively possible is route Decision system decision-making goes out to be needed to be docked with an external system again, can now perform 109, the external system gone out to decision-making after Continuous treatment.After the completion of external system treatment, flow again returns to step 105, so can be with reciprocation cycle, so as to support more Complicated business model.For example, the request of withdrawing deposit that a upper-layer service system A is initiated, the first decision-making of route system meeting is gone outer Portion system E1 carries out card number name in an account book checking, receive E1 be proved to be successful message after route system again decision-making go external system E2 send out Request of withdrawing deposit is acted, upper-layer service system A can be returned to after the result of withdrawing deposit for finally giving E2 returns.
As can be seen that only needing to the type of service mark according to agreement in the processing procedure of the application in example more than Knowledge calls the flow processing template for pre-defining to be processed, and need not go according to the various tools described in message body The business information of body does the status change treatment of complexity.Such as, in the conventional technology, if underlying system has fed back remaining sum not Foot this result, if then intermediate system design it is poor, its feed back to result be probably it is unknown or Sorry, your ticket has not enough value and fails;If design it is relatively good, be probably first feedback Sorry, your ticket has not enough value, continued waiting in flow, under Layer service system feedback is withholdd successfully or withholds final conclusion as failure, and upper-layer service system is then fed back to again.This The mechanism of kind requirement intermediate system will be quite familiar with to the handling process of upper strata and lower floor, constantly according to upper strata and lower floor The change for the treatment of and correspondingly change.And the application then and does not exist this problem, itself and this information that is not concerned with that Sorry, your ticket has not enough value Representative business meaning, it is only necessary to call flow template is identified according to type of service and is processed, it is possible to achieve be continuous Feed back in time;Upper-layer service system is given by the understanding of business meaning;And this point is upper-layer service system is accomplished by doing originally , the development difficulty of upper-layer service system is not increased.
In another example, intermediate business system may be used also when receiving service message or sending service message It is saved in reiving/transmitting state table with by the reiving/transmitting state of service message.
Refer to shown in table 1, the reiving/transmitting state table includes service identification, opposite end operation system, reiving/transmitting state and shape The information such as state record time.State wherein for service message can include:Receive successfully, reception failure, it is to be sent and Send.
Table 1
As it can be seen from table 1 just comparatively can more intuitively reflect industry by the reiving/transmitting state of recorded message The transition of key state of being engaged in.Such as the first row describes the first service message and is received successfully in the T1 times in table 1, then can be straight Ground is seen to illustrate to have succeeded from A system orders to be accepted.And the transmission failure that T2 time points record, illustrate that service message does not have It is successfully transmitted to H systems (underlying traffic system).Now operation personnel can be according to the record of above-mentioned reiving/transmitting state exactly It was found that interacting failure with opposite end H systems, that is to say, that can navigate to the preliminary reason of service fail.Therefore present techniques Scheme can still be approached on the basis of the stability and versatility for increasing substantially intermediate system in the support to runing In the effect of the offer of conventional art.
Embodiment with the method for processing business of foregoing intermediate business system is corresponding, present invention also provides intermediary service The embodiment of the business processing device of system.
The embodiment of the business processing device of the application intermediate business system can be applied in intermediate business system.Device Embodiment can be realized by software, it is also possible to be realized by way of hardware or software and hardware combining.As a example by implemented in software, Used as the device on a logical meaning, being will be right in nonvolatile memory by the processor of intermediate business system where it The computer program instructions answered run what is formed in reading internal memory.From for hardware view, as shown in figure 5, in the application Between operation system business processing device where intermediate business system a kind of hardware structure diagram, except the processor shown in Fig. 5, Outside internal memory, network interface and nonvolatile memory, the intermediate business system in embodiment where device is generally according to this The actual functional capability of intermediate business system, can also include other hardware, and this is repeated no more.
Fig. 6 is a kind of block diagram of the business processing device of the intermediate business system shown in the exemplary embodiment of the application one.
Fig. 6 is refer to, the business processing device 500 of the intermediate business system can be applied in shown in earlier figures 5 Between in operation system, include:Upper strata message receiving unit 501, the first template searching unit 502, underlying system determining unit 503rd, lower floor's packet sending unit 504, lower floor message receiving unit 505, the second template searching unit 506, system template determine Unit 507, upper strata packet sending unit 508 and state storage unit 509.
Wherein, the upper strata message receiving unit 501, receives the first service message from upper-layer service system, to institute Stating the head of the first service message carries out the wherein entrained type of service mark of parsing acquisition;
The first template searching unit 502, is corresponded to based on the default template list of the type of service identifier lookup First pass template, wherein the template list includes the corresponding relation of flow template and type of service mark, described the One flow template is acted including one or more treatment;
The underlying system determining unit 503, based on the first pass template to the place of first service message Corresponding underlying traffic system is determined during reason;
Lower floor's packet sending unit 504, is based on first service message and constructs second using second procedure template Service message, and second service message is sent to the underlying traffic system.
Lower floor's message receiving unit 505, receives the 3rd service message from underlying traffic system, to the described 3rd The head of service message carries out parsing and obtains wherein entrained type of service mark;
The second template searching unit 506, is obtained based on template list is preset described in the type of service identifier lookup Corresponding 3rd flow template, the 3rd flow template is acted including one or more treatment;
The system template determining unit 507, based on the 3rd flow template to the place of the 3rd service message Corresponding operation system and flow template corresponding with the operation system are determined during reason;
The upper strata packet sending unit 508, the operation system determined in the 3rd flow template is the upper-layer service system During system, it is based on the 3rd service message using corresponding 4th flow template and constructs the 4th service message, and by the 4th industry Business message is sent to the upper-layer service system.
Optionally, lower floor's packet sending unit 504, also in the case where the operation system that the 3rd flow template determines is described During layer service system, using second procedure template be based on the 3rd service message construct the second service message, and by this second Service message is sent to the underlying traffic system.
Optionally, the treatment action of the first pass template and the 3rd flow template includes sending route system System, wherein the route system is used for the corresponding underlying traffic system of decision-making.
Optionally, route system is sent on described to be included:Route is given in the exchange capacity parameter that will be carried in service message System.
The state storage unit 509, the reiving/transmitting state of service message is saved in reiving/transmitting state table, wherein the receipts Hair state table includes service identification, opposite end operation system, reiving/transmitting state and state recording time.
The preferred embodiment of the application is the foregoing is only, is not used to limit the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.

Claims (12)

1. a kind of method for processing business of intermediate business system, it is characterised in that methods described includes:
The first service message from upper-layer service system is received, parsing is carried out to the head of first service message and is obtained it In entrained type of service mark;
Corresponding first pass template is obtained based on the default template list of the type of service identifier lookup, wherein the template is arranged Table includes the corresponding relation of flow template and type of service mark, and the first pass template includes that one or more treatment are dynamic Make;
Determine corresponding underlying traffic system in the processing procedure based on the first pass template to first service message System;
First service message is based on using second procedure template and constructs the second service message, and second service message is sent out Give the underlying traffic system.
2. method according to claim 1, it is characterised in that also include:
The 3rd service message from underlying traffic system is received, parsing is carried out to the head of the 3rd service message and is obtained it In entrained type of service mark;
Corresponding 3rd flow template, the 3rd stream are obtained based on template list is preset described in the type of service identifier lookup Journey template is acted including one or more treatment;
Determine in the processing procedure based on the 3rd flow template to the 3rd service message corresponding operation system with And flow template corresponding with the operation system;
If the operation system that the 3rd flow template determines is the upper-layer service system, corresponding 4th flow template is used 4th service message is constructed based on the 3rd service message, and the 4th service message is sent to the upper-layer service system System.
3. method according to claim 2, it is characterised in that if the operation system that the 3rd flow template determines is described Underlying traffic system, using second procedure template be based on the 3rd service message construct the second service message, and by this second Service message is sent to the underlying traffic system.
4. method according to claim 3, it is characterised in that the first pass template and the 3rd flow template Treatment action includes sending route system, wherein the route system is used for the corresponding underlying traffic system of decision-making.
5. method according to claim 4, it is characterised in that send the route system to include on described:To be taken in service message Route system is given in the exchange capacity parameter of band.
6. method according to claim 1, it is characterised in that also include:
The reiving/transmitting state of service message is saved in reiving/transmitting state table, wherein the reiving/transmitting state table includes service identification, right End operation system, reiving/transmitting state and state recording time.
7. a kind of business processing device of intermediate business system, it is characterised in that described device includes:
Upper strata message receiving unit, receives the first service message from upper-layer service system, to first service message Head carries out parsing and obtains wherein entrained type of service mark;
First template searching unit, corresponding first pass mould is obtained based on the default template list of the type of service identifier lookup Plate, wherein the template list includes the corresponding relation of flow template and type of service mark, the first pass template bag Include one or more treatment action;
Underlying system determining unit, determines in the processing procedure based on the first pass template to first service message Corresponding underlying traffic system;
Lower floor's packet sending unit, is based on first service message and constructs the second service message using second procedure template, and Second service message is sent to the underlying traffic system.
8. device according to claim 1, it is characterised in that also include:
Lower floor's message receiving unit, receives the 3rd service message from underlying traffic system, to the 3rd service message Head carries out parsing and obtains wherein entrained type of service mark;
Second template searching unit, corresponding 3rd stream is obtained based on template list is preset described in the type of service identifier lookup Journey template, the 3rd flow template is acted including one or more treatment;
System template determining unit, determines in the processing procedure based on the 3rd flow template to the 3rd service message Corresponding operation system and flow template corresponding with the operation system;
Upper strata packet sending unit, when the operation system determined in the 3rd flow template is the upper-layer service system, using right The 4th flow template answered is based on the 3rd service message and constructs the 4th service message, and the 4th service message is sent to The upper-layer service system.
9. device according to claim 8, it is characterised in that
Lower floor's packet sending unit, when the operation system for also determining in the 3rd flow template is the underlying traffic system, The 3rd service message is based on using second procedure template and constructs the second service message, and second service message is sent to The underlying traffic system.
10. device according to claim 9, it is characterised in that the first pass template and the 3rd flow template Treatment action include sending route system, wherein the route system is for the corresponding underlying traffic system of decision-making.
11. devices according to claim 10, it is characterised in that send the route system to include on described:By in service message Route system is given in the exchange capacity parameter of carrying.
12. devices according to claim 7, it is characterised in that also include:
State storage unit, the reiving/transmitting state of service message is saved in reiving/transmitting state table, wherein the reiving/transmitting state table bag Include service identification, opposite end operation system, reiving/transmitting state and state recording time.
CN201610586748.3A 2016-07-22 2016-07-22 A kind of method and device for business processing of intermediate business system Pending CN106875170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610586748.3A CN106875170A (en) 2016-07-22 2016-07-22 A kind of method and device for business processing of intermediate business system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610586748.3A CN106875170A (en) 2016-07-22 2016-07-22 A kind of method and device for business processing of intermediate business system

Publications (1)

Publication Number Publication Date
CN106875170A true CN106875170A (en) 2017-06-20

Family

ID=59239016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610586748.3A Pending CN106875170A (en) 2016-07-22 2016-07-22 A kind of method and device for business processing of intermediate business system

Country Status (1)

Country Link
CN (1) CN106875170A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107993141A (en) * 2017-11-22 2018-05-04 中国银行股份有限公司 Data processing method and device, server
CN108038609A (en) * 2017-12-06 2018-05-15 中铁程科技有限责任公司 Method for processing business, device and computer-readable recording medium
CN108521617A (en) * 2018-06-26 2018-09-11 瑞斯康达科技发展股份有限公司 A kind of business routing discovering method and device, computer readable storage medium
CN108961039A (en) * 2018-07-02 2018-12-07 阿里巴巴集团控股有限公司 Transaction processing method, apparatus and system
CN109344183A (en) * 2018-01-30 2019-02-15 深圳壹账通智能科技有限公司 Data interactive method, device, computer equipment and storage medium
CN109767106A (en) * 2018-12-29 2019-05-17 中国联合网络通信集团有限公司 Inter-Organizational Process processing method and processing device
CN110580225A (en) * 2019-09-20 2019-12-17 中国银行股份有限公司 Simulation method and device of service system
CN111782517A (en) * 2020-06-23 2020-10-16 浙江保融科技有限公司 Automatic file checking method
CN111901384A (en) * 2020-06-29 2020-11-06 成都质数斯达克科技有限公司 System, method, electronic device and readable storage medium for processing message
CN111950249A (en) * 2020-08-12 2020-11-17 中国工商银行股份有限公司 Message generation method and device, electronic equipment and storage medium
CN113794639A (en) * 2021-08-25 2021-12-14 新华三信息安全技术有限公司 Communication method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710893A (en) * 2009-11-06 2010-05-19 大连新中连软件集团有限公司 Device, system and method for correlating application software service systems
CN104811326A (en) * 2014-01-24 2015-07-29 中兴通讯股份有限公司 Service chain management method, service chain management system, and devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710893A (en) * 2009-11-06 2010-05-19 大连新中连软件集团有限公司 Device, system and method for correlating application software service systems
CN104811326A (en) * 2014-01-24 2015-07-29 中兴通讯股份有限公司 Service chain management method, service chain management system, and devices

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107993141A (en) * 2017-11-22 2018-05-04 中国银行股份有限公司 Data processing method and device, server
CN108038609A (en) * 2017-12-06 2018-05-15 中铁程科技有限责任公司 Method for processing business, device and computer-readable recording medium
CN109344183A (en) * 2018-01-30 2019-02-15 深圳壹账通智能科技有限公司 Data interactive method, device, computer equipment and storage medium
CN109344183B (en) * 2018-01-30 2020-11-24 深圳壹账通智能科技有限公司 Data interaction method and device, computer equipment and storage medium
CN108521617B (en) * 2018-06-26 2020-10-23 瑞斯康达科技发展股份有限公司 Service route discovery method and device and computer readable storage medium
CN108521617A (en) * 2018-06-26 2018-09-11 瑞斯康达科技发展股份有限公司 A kind of business routing discovering method and device, computer readable storage medium
CN108961039A (en) * 2018-07-02 2018-12-07 阿里巴巴集团控股有限公司 Transaction processing method, apparatus and system
CN108961039B (en) * 2018-07-02 2023-03-31 创新先进技术有限公司 Transaction processing method, device and system
CN109767106A (en) * 2018-12-29 2019-05-17 中国联合网络通信集团有限公司 Inter-Organizational Process processing method and processing device
CN110580225A (en) * 2019-09-20 2019-12-17 中国银行股份有限公司 Simulation method and device of service system
CN111782517A (en) * 2020-06-23 2020-10-16 浙江保融科技有限公司 Automatic file checking method
CN111782517B (en) * 2020-06-23 2021-06-04 浙江保融科技股份有限公司 Automatic file checking method
CN111901384A (en) * 2020-06-29 2020-11-06 成都质数斯达克科技有限公司 System, method, electronic device and readable storage medium for processing message
CN111901384B (en) * 2020-06-29 2023-10-24 成都质数斯达克科技有限公司 System, method, electronic device and readable storage medium for processing message
CN111950249A (en) * 2020-08-12 2020-11-17 中国工商银行股份有限公司 Message generation method and device, electronic equipment and storage medium
CN111950249B (en) * 2020-08-12 2024-04-05 中国工商银行股份有限公司 Message generation method and device, electronic equipment and storage medium
CN113794639A (en) * 2021-08-25 2021-12-14 新华三信息安全技术有限公司 Communication method and device
CN113794639B (en) * 2021-08-25 2023-04-25 新华三信息安全技术有限公司 Communication method and device

Similar Documents

Publication Publication Date Title
CN106875170A (en) A kind of method and device for business processing of intermediate business system
Li et al. Blockchain-enabled workflow operating system for logistics resources sharing in E-commerce logistics real estate service
US10546284B2 (en) Mobile wallet as provider of services consumed by service provider applications
US10176476B2 (en) Secure ecosystem infrastructure enabling multiple types of electronic wallets in an ecosystem of issuers, service providers, and acquires of instruments
US10032160B2 (en) Isolating distinct service provider widgets within a wallet container
Nguyen et al. Strategies for successful CRM implementation
RU2586866C2 (en) Differentiation of set of features of participant of leased medium and user
CN102763126B (en) For the method and system of the data binding of the structural data solution based on web
Turban et al. INFORMATION TECHNOLOGY FOR MANAGEMENT, (With CD)
CN101356522B (en) Dynamically repositioning computer implementation system to workflow by end users
CN103098047B (en) Systems and methods for distributed electronic signature documents including version control
Linington et al. Building enterprise systems with ODP: an introduction to open distributed processing
CN101287040B (en) Action prediction based on interactive history and context between sender and recipient
US20030004770A1 (en) Method, system, and program for generating a workflow
US10387816B2 (en) Automating a governance process of optimizing a portfolio of services in a governed SOA
CN106101220A (en) Information synchronization method and device, synchronizing information processing system
Langer et al. Analysis and Design of Next-Generation Software Architectures
CN101202792A (en) Method and apparatus for processing messages based on relationship between sender and recipient
CN106384255A (en) Method and device for creating information code promotion information
Shi Mobile commerce applications
CN106559470A (en) A kind of method for pushing and device of account information
Matejaš et al. Building a BPM application in an SOA-based legacy environment
Nair Practical Domain-Driven Design in Enterprise Java: Using Jakarta EE, Eclipse MicroProfile, Spring Boot, and the Axon Framework
CN112435039A (en) Commodity tracing method and system based on block chain and readable storage medium
CN113553820A (en) Information processing method, equipment and computer readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170620

RJ01 Rejection of invention patent application after publication