CN1798031A - Transaction processing system and transaction method for Web service - Google Patents
Transaction processing system and transaction method for Web service Download PDFInfo
- Publication number
- CN1798031A CN1798031A CN 200410102750 CN200410102750A CN1798031A CN 1798031 A CN1798031 A CN 1798031A CN 200410102750 CN200410102750 CN 200410102750 CN 200410102750 A CN200410102750 A CN 200410102750A CN 1798031 A CN1798031 A CN 1798031A
- Authority
- CN
- China
- Prior art keywords
- participant
- affairs
- message
- telegon
- transaction
- 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.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The system includes three parts: client end, coordinator and multiple participators connected to each other through Internet. Participators and coordinator are as Web service provider, coordinator and processor deployed on platform, where Web service operates on. Web service transaction processing procedure is coordinational and interactive procedure among three parts actually. Client end initiates transaction, partitions borderline of transaction, and submits or cancels transaction. Main works of transaction is accomplished in interaction between coordinator and participators. The invention also discloses method for processing Web service transaction. Through the transaction processing system, the disclosed method uses method of submission in two phases so as to guarantee atomicity, consistency and reliability among transactions. Moreover, the disclosed method also carries out monitoring, configuring management for transaction.
Description
Technical field
The present invention relates to a kind of Web service transacter and method, this transacter and method can guarantee to keep atomicity, consistency and reliability based on a plurality of Web service operation results in open network, the loose coupling environment.
Background technology
Along with developing rapidly of Internet technology and application, the Internet has become the main means that people obtain various information, technology, service.
In Internet technology development, based on the application model of the Internet also in continuous development.At the initial stage, people only are to use the browser inquiry, handle daily use, and Web server provides the support of language such as HTML, and database server provides the management to data.For the throughput that improves system and the implementation efficiency of application, people have increased middle one deck on two layers model------uses server, and various Web services, the processing affairs relevant with business logic are provided.Along with the continuous expansion of application demand, three-layer architecture expands to multilayered schema gradually.In multilayered schema, in the industry cycle obtain support and extensive use based on EJB, CORBA distributed component technology, and progressively become the mainstream technology of network middleware, solved the back-up environment problem of close coupled system lower member operation preferably.
But, because traditional distributed objects, middleware Technology all keeping the separate structural system and the close coupling of agreement and client and server end, make them can not adapt to the demand of dynamic issuing service, can not be implemented in well dynamically, the business collaboration under the loose coupling environment.Therefore, in order to satisfy growing business demand, people propose the Web service notion and solve the problem that next generation internet software is faced.
For Web service following several definition is arranged: 1. Web service is a kind of software application by the URI sign, its interface and binding form can be passed through XML standard definition, description and retrieval, and can come with other software application directly mutual by XML message and Internet protocol; 2. Web service is to be packaged into single entity and to be published to the function set of using for other program on the network; Web service can be understood that a kind of technology of carrying out data and function sharing by Web.In a word, Web service is packaging information, behavior, data and business workflow uniformly, thus the software and hardware facility of shielding place environment, for difference realizes the software interactive under standard and the communication mechanism and integratedly provides effective support.
From above-mentioned analysis as can be known, Web service is based on the Web specification technique of the opening of XML standard, compare Web service with traditional distributed component technology and have better encapsulation, but integration and the better opening and the interoperability of height, it expands to distributed computing environment (DCE) towards the Internet with the tightly coupled distributed computing environment (DCE) of enterprises, is with a wide range of applications.
Web service has good advantages in the interoperability problem that solves under the isomerous environment, and it can make the application program under the distributed isomerous environment carry out integrated between network.In the combination and exchange process of Web service, the Web service application program usually needs to handle inner resource, needs in the operation flow of key to guarantee that the resource that belongs to different tissues that is distributed in different geographical environments keeps consistency.Web service simultaneously can run into a lot of failure problems owing to be in the environment of loose coupling, interrupts or the like as network, and various unusual when therefore needing in time to handle operation also guarantees result's reliability.In order to address these problems, the Web service processing environment needs the support of affairs technology.
But, the Cohesion1.0 software that the ArjunaWST software that traditional affairs technology such as Arjuna company produce, Choreology company produce all is the distributed transaction that is applicable in the close coupling environment, is not suitable for a plurality of Web service affairs in loose couplings environment such as the Web service environment.Because traditional distributed transaction occurs in the tightly coupled environment trusty, for example in the local area network (LAN), and have four characteristics of ACID (atomicity, consistency, isolation and persistence), the time that affairs continue is generally shorter; Task server is in the inside operation of autonomous fire compartment wall, and almost centralized control participates in the resource of affairs, and participant needs to lock underlying resource to guarantee consistency before submitting affairs to; Participant in the affairs or submit to fully or fully rollback must be consistent.And in the Web service environment, affairs are very complicated, comprise a lot of participants, and these participants may belong to different tissue and departments and cross over trust domain and corporate firewall.The running time of affairs may be very long, the such application scenarios of B2B electronic transaction for example, and order is finished the time that may need several hrs even several days from being submitted to.Participant in the Web service affairs is unwilling or underlying resource can not be carried out the locking of exclusiveness.Because the affairs duration in the Web service scene is very long, the long lock resource of participant can cause participant can not participate in other affairs, and the instruction lock resource that receives outside the trust domain may bring serious consequence.
Because the loose coupling characteristic of distributed network environment and the complexity of business logic, the part work failure that participates in the affairs does not usually need to cancel the affairs of having moved for a long time or having done a lot of work.Therefore affairs participant in the Web service and strict control or submit or fully phase out the work of oneself being done fully to unlike traditional affairs.The promoter of affairs can allow the failure of subparticipation side and not influence the operation of whole affairs according to the business logic of oneself.
Summary of the invention
For coordinate, processing, monitoring management are distributed, a plurality of Web services under the loose coupling Web service environment, make the operation result of a plurality of Web services keep atomicity, consistency and reliability, the purpose of this invention is to provide a kind of Web service transacter and processing method; The processing method submitted to of this transacter two stages of using guarantees atomicity, consistency and the reliability between each affairs, and affairs are monitored configuration management.
For achieving the above object, the present invention takes following design: a kind of Web service transacter, and it comprises client, telegon and a plurality of participant three parts, links to each other by the Internet each other; Wherein, on the platform when participant and telegon are deployed in the Web service operation as Web service supplier and coordination, processor, and use two-phase commitment protocol to carry out alternately;
Described client is batch processing set, and the user is by the client application calls client, initiates the Web service affairs, calls businesslike participant, divides transaction boundaries, submission or cancellation affairs; The operation that can also allow according to user's business logic to cancel subparticipation person's work simultaneously and not influence whole affairs;
Described telegon is the Consultation Center of native system management and control Web service affairs, the operation of management transaction;
Described participant provides, participates in the Web service affairs and bears routine work; The participant is packaged into Web service with the resource operation of own system, participates in affairs; Use two stage manner to the telegon committing protocol.
Described telegon is the Consultation Center of native system management and control Web service affairs, the operation of management transaction, and it is made of message forwarder, controller and participant's resource three parts; Wherein said message forwarder comprises message parse device, message handling device again; Described controller comprises two stages submission controller, telegon context; The message parse device is responsible for resolving the message that receives, and the message after the parsing is given message handling device and handled; The telegon context has comprised information such as the address, affairs ID, telegon ID, state of telegon, and the reference listing of participant's resource, and each participant registers to and generates participant's resource in the telegon, is responsible for maintenance by the telegon context; Telegon is after the request that receives client submission affairs, and message handling device two stages of calling are submitted controller to, specifically finishes the work that affairs are submitted to by two stages submission controller.
Described participant is made up of a message parse device, message handling device and participant's context; The message parse device is responsible for receiving the message that telegon, client send, and the message of analysis request, according to the operation of the kind message call processor of request message; Participant's context has encapsulated participant's relevant information; When Message Processing implement body processing messages, need to use the contextual data of participant, dispose and give the message parse device with results messages and return; The message parse device uses two stage ways of submission to described telegon committing protocol.
A kind of Web service transaction methods, it utilizes the Web service transacter that includes client, telegon and a plurality of participants, to coordinating, manage and control based on a plurality of Web service affairs in open network, the loose coupling environment; Wherein, initiate affairs, divide transaction boundaries and submission/or cancellation affairs by client, coordinator management and coordinate transactions, the participant provides, participates in the Web service affairs; It is characterized in that: guarantee atomicity, consistency and reliability between each affairs by two stage commit methods between described telegon and the participant, and affairs are monitored configuration management;
Described two stage commit methods comprise coordination stage and transaction phase;
After the described coordination stage referred to that client is initiated new Web service affairs, telegon was created affairs after receiving message; Client call participant operation, the participant receives after the request of client to the coordinator registers affairs;
Described transaction phase refers to the overall process that the Web service affairs begin, carry out, finish, and is finished jointly by telegon and participant; After the coordination stage, participant and telegon are known the other side's information mutually, begin to carry out transaction phase work, after transaction phase is finished, telegon with transaction results to clients report.
The described coordination stage specifically may further comprise the steps:
1) client is sent affairs to telegon and is begun message, requires atom Web service affairs of beginning, and beginning to indicate in the message transaction types at this is atomic transaction;
2) telegon is receiving after these affairs begin message, create new affairs, send the response message that includes the transaction context content to client, the transaction context content comprises the information of relevant these affairs such as affairs ID, transaction types, telegon address, telegon ID;
3) client is called the Web service operation that the participant provides after the message that meets with a response, and sends the application messages that has the transaction context content to each participant;
4) after the participant receives this application messages, send the request registration message to telegon, require registration according to telegon address in the transaction context content;
5) telegon sends registration and finishes message after the relevant information of having registered the participant, and expression is registered successfully;
6) after the participant registers success, to client send can executive utility response message.
Described transaction phase specifically may further comprise the steps:
1) client sends the message of submitting affairs to telegon, begins to submit to affairs;
2) telegon sends preparation message to the participant, requires the participant to prepare;
3) participant sends according to own situation and has been ready to message or cancellation preparation message or has withdrawed from the Web service transaction message;
4) message sent according to each participant of receiving of telegon is made decision and is submitted to or the decision of cancellation affairs, and sends to the participant and to submit transaction message or cancellation transaction message to;
5) participant confirms according to the instruction of the telegon that receives or cancels, and sends affirmation submission message to telegon, finishes the submission affairs; Perhaps send cancellation Web service response message, finish the cancellation affairs to telegon; Or send to telegon and to withdraw from the Web service response message, withdraw from affairs;
6) after telegon is finished and is submitted to two stages of participant, to the result of clients report affairs operation;
7) finish.
Description of drawings
Fig. 1 is a Web service transacter system configuration schematic diagram of the present invention
Fig. 2 submits processing method running figure to for two stages of Web service transacter of the present invention
Fig. 3 initiates the transaction program block diagram for client of the present invention
Fig. 4 is participant's structural representation of the present invention
Fig. 5 is participant's flow chart of the present invention
Fig. 6 is a telegon structural representation of the present invention
Fig. 7 is a coordinator process block diagram of the present invention
Fig. 8 is an embodiment of the invention application scenarios schematic diagram
Fig. 9 is an embodiment of the invention Web service workflow transactions schematic diagram
Embodiment
As shown in Figure 1, Web service transacter provided by the invention mainly comprises client, telegon and a plurality of participant three parts, links to each other by the Internet each other; Wherein, on the platform when participant and telegon are deployed in the Web service operation as Web service supplier and coordination, processor, and use two-phase commitment protocol to carry out alternately.
Client is the batch processing set, and the Web service application program is used this collection of programs, can begin affairs easily, submits to or the cancellation affairs, can inquire about participant's state simultaneously.The user is by the client application calls client, and initiate the Web service affairs, call businesslike participant, divide transaction boundaries, submission or cancellation affairs, and inquiry participant's state; The operation that can also allow according to user's business logic to cancel subparticipation person's work simultaneously and not influence whole affairs.
Telegon is the Consultation Center of native system management and control Web service affairs, the operation of management transaction.It is again to be made of message forwarder, controller and participant's resource three parts.Message forwarder is used for receiving, resolve, transmit the soap message that request that client sends to telegon begins the Web service affairs and submits affairs to, resolve type of message, and the forwards after will resolving is handled to the controller in participant and the telegon.Controller is created affairs, registration participant information, removes register information, is finished with participant's two stages and submit process to after receiving the message of the client-requested Web service affairs that message forwarder transmits, and to the clients report transaction results.When the participant when telegon is registered, controller will generate corresponding participant's resource for the participant, be stored in the database., undertaken alternately by controller and participant's resource when telegon is submitted affairs in client, participant's resource is carried out the transmission of soap message again with the participant.Telegon is deployed on the Web service operation platform, the major part work of the affairs of finishing dealing with manages creating participant or telegon example when affairs begin to the life cycle of affairs, destroy example when affairs finish, thereby simplify affairs client and participant's work.
The participant provides, participates in the Web service affairs and bears routine work.The participant is packaged into Web service with the resource operation of own system (as the EAI in the enterprise etc.), participates in affairs.In order to guarantee the consistency of each participant's resource, the participant uses two stage manner to the telegon committing protocol.So-called two stages are meant coordination stage and transaction phase;
1) the coordination stage: after client was initiated new Web service affairs, telegon was created affairs after receiving message; Client call participant operation, the participant receives after the request of client to the coordinator registers affairs.
2) transaction phase: i.e. the overall process that Web service affairs begin, carry out, finish, finish jointly by participant and telegon.After the coordination stage, participant and telegon are known the other side's information mutually, begin to carry out transaction phase work, after transaction phase is finished, telegon with transaction results to clients report.
The participant uses two stage manner after the telegon committing protocol can guarantee that affairs are submitted to, and each participant's work is submitted to fully, perhaps since some participant can not submit to, ready prepd participant can with work and fully phase out.
In order to assist the participant to finish Web service, Web service transacter of the present invention provides a class boundary face and a class libraries, by programmer's use of exploitation transactional Web service, can write participant's Web service easily.
Consider the convenience of management transaction, as shown in Figure 1, Web service transacter of the present invention also comprises an affairs Monitoring Manager, and the affairs running is monitored and managed.This Monitoring Manager can Remote Dynamic the relevant informations such as state of the monitoring affairs moved in ground when checking the affairs operation in real time, can also be managed for configuration affairs simultaneously, the maximum concurrent number of control affairs, write admin log etc., and various management information are stored in the database.
In Web service transacter of the present invention, Monitoring Manager provides the upgrade kit to transaction management person, and is relatively independent; And client, telegon and the participant requisite part that is system.From the running analysis of Web service affairs as can be known, in fact the Web service affairs are exactly to coordinate and mutual process between this three part; Wherein, initiate affairs, divide transaction boundaries and submit affairs to by client, coordinator management and coordinate transactions, the participant provides, participates in the Web service affairs.Client only needs to initiate affairs, division transaction boundaries, submission or cancellation affairs, and the groundwork of affairs is finished alternately by telegon and participant; Be that affairs are initiated by client, drive by telegon and finish, guarantee the consistency of affairs by telegon and participant's two stages submission process.
Fig. 2 is a Web service transacter process chart of the present invention, it is the procedure chart that client, telegon and participant's three parts are coordinated and exchanged, the present invention just guarantees atomicity, consistency and the reliability between each affairs, and affairs is monitored the processing method of configuration management.This Web service transaction methods comprises two stages:
Phase I: in the coordination stage, specifically may further comprise the steps:
1) client is sent affairs to telegon and is begun message, requires atom Web service affairs of beginning, and beginning to indicate in the message transaction types at this is atomic transaction;
2) telegon is receiving after these affairs begin message, create new affairs, send the response message that includes the transaction context content to client, the transaction context content comprises the information of relevant these affairs such as affairs ID, transaction types, telegon address, telegon ID;
3) client is called the Web service operation that the participant provides after the message that meets with a response, and sends the application messages that has the transaction context content to each participant;
4) after the participant receives this application messages, send the request registration message to telegon, require registration according to telegon address in the transaction context content;
5) telegon sends registration and finishes message after the relevant information of having registered the participant, and expression is registered successfully;
6) after the participant registers success, to client send can executive utility response message;
Second stage: transaction phase specifically may further comprise the steps:
1) client sends the message of submitting affairs to telegon, begins to submit to affairs;
2) telegon sends preparation message to the participant, requires the participant to prepare;
3) participant sends according to own situation and has been ready to message or cancellation preparation message or has withdrawed from the Web service transaction message;
4) message sent according to each participant of receiving of telegon is made decision and is submitted to or the decision of cancellation affairs, and sends to the participant and to submit transaction message or cancellation transaction message to;
5) participant confirms according to the instruction of the telegon that receives or cancels, and sends affirmation submission message to telegon, finishes the submission affairs; Perhaps send cancellation Web service response message, finish the cancellation affairs to telegon; Or send to telegon and to withdraw from the Web service response message, withdraw from affairs;
6) after telegon is finished and is submitted to two stages of participant, to the result of clients report affairs operation;
7) finish.
In transaction phase, if the participant is ready to (subparticipation person can select to withdraw from affairs), affairs are submitted so, the change persistence that the participant did.If have at least one to be not ready for, affairs will be cancelled so.In transaction phase, if working, participant's institute fully phases out, then system restoration is to initial condition.Two stages of using submit to and to have guaranteed the work that the participant did or submit to fully or fully phase out, thereby have guaranteed the atomicity of affairs.In affairs when operation,, each participant's state remains unanimity, and after affairs were submitted to, the work that the participant did can both persistence, thereby guarantees the consistency and the persistence of affairs.Each participant's operation is mutually independently, is unaware of the other side's existence each other, thereby guarantees the isolation of affairs.
In order to further describe Web service transacter of the present invention and processing method, describe each part of the present invention and major function below in detail.
Client is the batch processing set, is a category storehouse, for client's use of Web service affairs.The transactional application program that the developer uses this class libraries to write to comprise Web service, and do not need to understand complicated bottom affairs knowledge.The user is by carrying out the Web service transactional application call client that the developer writes, and initiates the Web service affairs, calls businesslike participant, divides transaction boundaries, the function of submission or cancellation affairs.The address that before initiating affairs, needs to indicate telegon, each client can provide Web service to a plurality of participant's requests, the participant has packed the relevant information of participant's Web service of client call, for example participant's address, operation name, method of calling, parameter list etc.
As shown in Figure 3, client is mainly carried out following operation:
1) begins to initiate affairs
Client begins message to telegon transmission affairs after specifying the telegon address, receives and returns the transaction context content; If carry out and make mistakes the affairs of then dishing out abort message; If normal, then down carry out;
2) set each participant
The address of detailed each participant's Web service of appointment, operation name, method of calling, parameter list etc.;
3) Web service of calling each participant is operated, and sends the application messages that has the transaction context content to the participant; If implementation is made mistakes, the affairs of then dishing out abort message; If normal, then down carry out;
4) client sends to telegon and submits transaction message to, runs succeeded, and then affairs are submitted to, end of run; Make mistakes if carry out, the affairs of then dishing out abort message according to unexpected message, can obtain the reason of makeing mistakes; Perhaps,
Client cancellation affairs send the cancellation transaction message to telegon, run succeeded, and then affairs are cancelled, end of run; Make mistakes if carry out, the affairs of then dishing out abort message can obtain the reason of makeing mistakes according to unexpected message;
5) finish.
Participant's structure as shown in Figure 4, each participant is made up of a message parse device, message handling device and participant's context.The message parse device is responsible for receiving the message that telegon, client send, and the message of analysis request, according to the operation of the kind message call processor of request message.Participant's context has encapsulated participant's relevant information, for example the information such as address of participant's affairs ID, address, participant ID, state, telegon.When Message Processing implement body processing messages, need to use the contextual data of participant, dispose and give the message parse device with results messages and return.
The message parse device provides the online message operation as the message inlet, and message is imported into as parameter and resolved.Give message processor processes and return results according to the type of message after resolving, for example prepare the positive beamhouse operation of message call processor behind the message parse.
The participant handles according to the message that receives, and the result is returned after receiving the soap message of the request Web service that client sends.In running, participant's state changes constantly, and participant's the course of work is explained as follows as shown in Figure 5 in detail:
1) participant is in the establishment completion status, waits for the Web service request;
2) after the participant received the request Web service message of client transmission, beginning was registered to telegon
Request message comprises the transaction context content, and the participant extracts transaction context and generates participant's context initial content; According to the transaction context content, the participant sends the request registration message to telegon;
3) participant is in the wait enrollment status;
4) participant receives the registration that telegon sends and finishes message, is in the registration completion status, handles the request message of client, to client send can executive utility response message;
5) accept the preparation message that telegon sends, begin to prepare
The participant has just finished the phase I of two stages submissions, the second stage that begins to carry out the submission of two stages after coordinator registers is finished; Telegon sends preparation message to the participant after the request that receives client submission affairs; The participant is in just in standby condition after receiving preparation message;
6) participant carries out beamhouse operation, according to the operation return results
(1) can't finish preparation, then send cancellation message, the participant abandons/stops this Web service affairs, finishes;
(2) participant wants to withdraw from affairs, then returns and withdraws from message, and the participant withdraws from this Web service affairs, finishes;
(3) be ready to complete, then return and be ready to message, the participant is in the state that is ready to;
7) participant is ready
(1) participant receives the message that begins to submit to affairs that telegon sends, and begins to submit to affairs, if success, the participant sends to telegon and submitted message to, finishes; If make mistakes, the participant sends error messages to telegon, finishes;
(2) participant receives the message of the cancellation submission affairs of telegon transmission, begins to cancel the work of being done, and sends to telegon and has cancelled message, finishes; If make mistakes, the participant sends error messages to telegon, finishes.
The structure of telegon as shown in Figure 6, telegon comprises message forwarder, controller and participant's resource three parts; Message forwarder comprises message parse device and message handling device again, and controller comprises two stages submission controller and telegon context again.The message parse device is responsible for resolving the message that receives, and the message after the parsing is given message handling device and handled.The telegon context has comprised the reference listing of information such as the address, affairs ID, telegon ID, state of telegon and participant's resource, and each participant registers to and generates participant's resource in the telegon, is responsible for maintenance by the telegon context.Telegon is after the request that receives client submission affairs, and message handling device two stages of calling are submitted controller to, specifically finishes the work that affairs are submitted to by two stages submission controller.In processing procedure, two stages submitted to controller to need and telegon context, participant's resource are carried out alternately, inquire about required information and upgrade relevant information.
The telegon contextual definition relevant information of telegon.Such has comprised the fields such as address, affairs ID, telegon ID, state, participant list of telegon, and provide to these fields be provided with, the operation of change.Telegon can generate the telegon context when creating affairs, upgrades wherein field in the affairs running.
The participant is after telegon sends the request registration message, and telegon can generate participant's resource object of a correspondence, and quoting of this participant's resource is inserted among the participant list of telegon.Participant's resource is equivalent to the agency of participant in telegon, and it comprises participant's relevant information, and for example participant's address, ID, state etc. have encapsulated the concrete interactive operation with participant's Web service simultaneously.
Two stages that two stages submitted to controller to handle telegon and participant are submitted process to.Telegon is after the request that receives client submission affairs, according to the participant list in the telegon context, participant to registration sends instruction message successively, and, upgrade telegon state in the telegon context and the participant's state among the participant list according to participant's response message.
The concrete running of telegon as shown in Figure 7, its concrete steps are as follows:
1) beginning
2) affairs of telegon reception client transmission begin message, and it is atomic transaction that affairs begin to indicate in the message transaction types, and telegon is in initial state;
3) telegon begins to create affairs, generates the telegon context, and constructs transaction context and begun message and return, and affairs are created, and telegon is in initial state;
4) after telegon receives participant's request registration message, add this participant's information among the participant list in the telegon context;
5) after telegon receives the request message of client submission affairs, be in standby condition, send preparation message to each participant who registers;
6) collect participant's response message, and judge:
If a) all participant responds and withdraws from message then the participant all withdraws from affairs, affairs are in exit status, carry out for the 9th step;
B) if participant response has been ready to message, represent that then the participant votes for the submission affairs, affairs are in the state that is ready to; Down carry out
C) if having a participant response cancellation message at least, represent that then the participant is not ready for submitting to affairs, affairs are in to be abandoned/state of termination; Down carry out
7) telegon is maked decision according to transaction status
If a) affairs are in the state that is ready to, then telegon sends successively to the participant who registers and submits to transaction message to require the participant to submit affairs to, and telegon is in the wait submit state, down carries out for the 8th step;
B) if affairs are in abandons/state of termination, then telegon sends cancellation message successively to the participant of registration and requires the participant to cancel affairs, and telegon is in waits for the cancellation state, down carries out for the 8th step;
8) be in the telegon of waiting for submit state, if all participant responses confirm to submit to message, then telegon is in and submits the state that finishes to, carries out for the 9th step; If have at least a response to withdraw from message, then telegon is in abnormality, and the affairs abort carried out for the 9th step;
Be in the telegon of waiting for the cancellation state, if all participant response cancellation message, then telegon is in the cancellation state, carries out for the 9th step; If have at least a response to withdraw from message, then telegon is in exit status, and the affairs abort carried out for the 9th step;
9) according to the operation result of affairs to clients report: if affairs are submitted to, return affairs and submit the message that finishes to; If affairs are cancelled, return affairs and cancel the message that finishes; If abort returns and withdraws from message, indicate error reason.
Monitoring Manager of the present invention as one independently visualization tool offer transaction management person, can Remote Dynamic the operation of ground monitoring management affairs, thereby be very easy to the keeper.
Container managed when supervisor console used Java administration extensions framework (JMX) structure to operation.When starting supervisor console, select Web service monitoring management plug-in unit and specify the affairs coordinator host address that needs monitoring, plug-in unit be connected to server then the monitoring management instrument just can move.
1 monitoring function:
1) shows the information of moving affairs, for example ID of affairs, state or the like
2) information of the telegon of demonstration affairs, for example telegon address, type, state or the like.
3) participant's of demonstration affairs relevant information, for example participant's ID, address, state etc.
4) other operations such as transaction information that provide periodic refreshing, deletion operation to finish.
2. manage and configuration feature:
1) the maximum concurrent number that affairs are moved is set.
2) the setting stage of whether using submits to and is optimized.
3) management of daily record.
The monitoring management instrument provides friendly operation interface, and the affairs that transaction management person can Remote Dynamic ground monitoring management moving have very strong practicality.
Be example with a predetermined tourist service below, the application scenarios of Web service transacter of the present invention is briefly introduced.
Suppose that a passenger will arrive certain city tour, he need subscribe to the plane ticket in this city, to the taxi on airport and the room of this city hotel.Airline provides the service of assigned aircraft ticket, and the hotel provides the service of reservation, and taxi company provides the service of ordering a taxi.Reach this purpose, the passenger need be to predetermined all successes in plane ticket, taxi and room, if certain predetermined failure, serv-fail such as predetermined guest room, then predetermined air ticket and taxi service should be able to be cancelled, because the passenger can't travel according to this scheduled plan this moment, his paying of predetermined other services should be able to be compensated so, and the air ticket of his cancellation and taxi should be subscribed by new passenger on the other hand.Be three predetermined services or all successful of this tourism, the visitor normally goes on a tour, perhaps three predetermined all failures of service, and the rights and interests of passenger and service company all are protected.
In this application scenarios, can use the Web service transacter to solve in the above.As shown in Figure 8, application program in the enterprise of predetermined air ticket has been packed in the Web service that airline uses participant's class libraries to develop the assigned aircraft ticket, and it is that the operation-interface of bookFlight is called by the user that name is provided.In like manner, taxi company develops the Web service of ordering a taxi, and operation-interface bookTaxi is provided; The hotel develops the Web service of reservation, and operation-interface bookRoom is provided.Need to comprise user's personal information in the request message to Web service, being scheduled to successfully afterwards increases a record in the database of enterprises.Simultaneously, the agency of travel agency provides the Consultation Center of a telegon Web service as affairs.
The user uses the client class libraries of Web service transacter of the present invention (being called for short WSTPS) to write the transactional application program according to the business logic of oneself, at first indicate atomic transaction of beginning behind the address of telegon, then call operation bookFlight, bookRoom, the bookTaxi that airline, hotel and taxi company provide successively, personal information is imported into as required parameter, submitted to affairs at last.The user does not need to understand the reciprocal process of the complexity of telegon and participant's Web service, does not need own other operation of cancelling after certain service call failure yet, and this is finished by internal system.
Use WSTPS user can guarantee predetermined air ticket, room and taxi result's consistency and reliability.At first call the service of making a reservation such as the passenger, application client begins an activity, newly-built telegon example, to coordinator registers, this is served by the client normal call, returns predetermined successful result as the participant in this service, next step passenger calls the taxi service of subscribing, this service to coordinator registers, by client call, is also returned predetermined successful result as the participant; The final step passenger calls the reservation housekeeping service, and to coordinator registers, if this service successfully is called, then this activity successfully finishes as the participant in this service, and the passenger can go on a tour according to schedule.If normally be not called for a certain reason but in the service execution process, serve, full such as the guest room, perhaps network failure.So at this moment, this participant will notify telegon this malloc failure malloc.After telegon obtains this message, notify making a reservation and the taxi service of other, and the compensation method of calling them, guarantee that the bank account amount of money that the passenger submits to returns to initial condition, and discharge predetermined in the past air ticket and seat to this passenger, it is used to be new passenger.So far the activity of once failing is finished.If having a plurality of airlines (perhaps hotel, taxi company) to provide in addition serves like the predetermined class.The user can begin combination affairs so, selects optimum participant's Web service to submit to, for example submits cheapest service to, and cancels other service.The combination affairs can satisfy the flexibility of business logic better, adapt to complicated business world.
In the Workflow system based on Web service, a complete operation flow is made of a plurality of Web service usually.According to control corresponding chain, data chainning and jump condition, workflow engine is finished the execution of this operation flow by the Web service in the call flow one by one.Operation flow is used the flow process language compilation of standard usually, and this paper is example with BPEL (Business Process Execution Language forWeb service is called for short BPEL), introduces the application of WSTPS in the Web service workflow.
BPEL can comprise a plurality of activities, and some critical activity need guarantee its reliability and consistency, therefore needs the affairs support.By expanding the BPEL grammer, make BPEL have following transactional semanteme:
1) establishment of affairs.
Increase the businessTransaction element, the transactionName attribute has indicated the affairs name, and the BPEL flow process can comprise a plurality of affairs, is distinguished by name.The action attribute indicates the action that should take, and property value is that begin represents to begin affairs, the transaction types that the type attribute representation will create, and optional value is atom (expression atomic transaction) or cohesion (expression combination affairs).As follows.
<businessTransaction?transactionName="myTrans"action="begin"type=”atom|cohesion”/>
The reception of transaction context and propagation affairs can propagate in the activity that participates in flow process, and long-range Web service is called in activity, and long-range Web service participates in the affairs as the participant and goes.As follows, the name of the affairs that increase transactionName attribute representation participates in the invoke element.
<invoke?partner="publisher"portType="publishing:publisherPT"transactionName="myTrans"
operation="booking"inputVariable="bookRequest"name="invokePublisher">
2) submission of affairs or cancellation.
Affairs need be submitted to or be cancelled at last, use the businessTransaction element to be represented.The affairs name that the transactionName attribute representation need submit to or cancel, the action that the action attribute representation submits to or cancels, property value confirm represents to submit to affairs, and cancel represents to cancel affairs.The outputVariable property value represents to submit to or cancel the result of affairs.As follows.
<businessTransaction?transactionName="myTrans"action="confirm|cancel"outputVariable="transactionResult"/>
For the combination affairs, can be according to the needs appointment submission of flow process or participant's Web service of cancellation, as follows, increase participants property value indicates the participant's name that needs submission or cancel.
<businessTransaction?transactionName="myTrans"action="confirm|cancel"outputVariable="transactionResult"participants=″......"/>
3) BPEL flow process itself can participate in affairs.
BPEL flow process itself is issued as a Web service, and the common Web service of mediating a settlement to external world is as broad as long.Therefore equally, BPEL flow process itself also can participate in the affairs as a participant, can receive transaction context and handles.As follows, in the receive element, increase the businessTransactionContext attribute, deposit the transaction context that receives.
<receive?partnerLink=”customer”portType=”SP:purchasingPT”
operation=”purchase”variable=”PO”
businessTransactionContext=”receivedContext”>
…
</receiVe>
After the BPEL flow process receives transaction context, need affairs coordinator registration, and receive the instruction message of telegon, for example Confirm or Cancel message to appointment.Therefore increase confirmHandler and cancelHandler element, flow process is carried out corresponding handler after receiving confirm or cancel message.As follows:
<confirmHandler>
<invoke partnerLink=" the existing service " ...
operation=”confirm”
inputVariable=”reservationConfirmation”/>
</confirmHandler>
<cancelHandler〉<invoke partnerLink=" the existing service "
operation=”cancel”
inputVariable=”reservationCancellation”/>
</cancelHandler>
After the user writes complete the BPEL flow file of transactional semanteme is arranged according to the business logic of oneself, need the BPEL engine to explain and carry out flow file.Engine visioning procedure example after resolving the BPEL file is pressed flow sequence execution architecture activity successively, the Web service in the call flow.The BPEL file has been owing to increased the transactional semanteme, and engine runs into after the statement of relevant affairs the client class libraries that calls WSTPS according to the difference of transactional label to be handled.
As shown in Figure 9, engine runs into the businessTransaction element when carrying out the BPEL flow file, if incident (action) property value is beginning (begin), create new affairs after then using the client class libraries to indicate the telegon address, and obtain transaction context.Run into the invoke element that has the transactionName attribute, then send the request message that has transaction context to partner's Web service (participant).Run into the event attribute value and be and confirm or then submit to during cancellation businessTransaction element or cancel this affairs, and obtain the affairs operation result.
The BPEL engine is explained and is carried out the BPEL flow file that has the transactional label, call the client class libraries according to different labels, do not need to understand the reciprocal process of telegon and participant Web complexity, thereby be absorbed in the execution of flow process, concrete routine work is then handled by the WSTPS system.Participant's Web service uses participant's class libraries to write by the programmer of exploitation Web service.Affairs coordinator can independently exist, and both can be deployed in BPEL engine place main frame and also can be deployed in as required on other main frame, thereby alleviate the burden of engine, has embodied distributed nature.The BPEL engine uses the WSTPS system to support transaction, has farthest reduced the modification to engine, has certain flexibility again, and handling for the Web service workflow transactions provides solution preferably.
Characteristics of the present invention are:
1) versatility and the standardization in order to guarantee WSTPS, WSTPS need support the Web service transaction protocol of standard.The BTP standard that adopts OASIS to organize to set up here, each side's interactive messages form defines according to cannonical format.
2) use two-phase commitment protocol to guarantee the atomicity and the consistency of affairs.The present invention adopts two-phase commitment protocol, and the participant that can make affairs is the also mode of support resource compensation of mode of support resource locking both, thereby the different resource processing mode of participant is supported.
3) have the Premium Features of affairs monitoring configuration management, so a visual instrument need be provided, the keeper can be managed for configuration WSTPS easily, also can monitor the affairs of moving.
4) support atomic transaction and the combination affairs that the BTP standard proposes.The work of all participants of atomic transaction or submit to fully or fully phase out, the work of the participant of combination affairs can allow the work cancellation that subparticipation puts according to user's business logic and whole affairs can continue operation.Atomic transaction is the most modal transaction types, and the combination affairs make that the Web service affairs are more flexible, thereby adapts to more complicated business logic demand.
5) support the nested of affairs, no matter atomic transaction or make up the subtransaction that affairs allow to comprise arbitrary levels.Subtransaction can be divided into the affairs of complexity a plurality of subtransactions, thereby operates in the modularization that has strengthened affairs on the different machines, has improved concurrent performance.
The above is specific embodiments of the invention and the know-why used, and is any based on the equivalent transformation on the technical solution of the present invention basis, all belongs within the protection range of the present invention.
Claims (11)
1, a kind of Web service transacter is characterized in that: it comprises client, telegon and a plurality of participant three parts, links to each other by the Internet each other; Wherein, on the platform when participant and telegon are deployed in the Web service operation as Web service supplier and coordination, processor, and use two-phase commitment protocol to carry out alternately;
Described client is batch processing set, and the user is by the client application calls client, initiates the Web service affairs, calls businesslike participant, divides transaction boundaries, submission or cancellation affairs; The operation that can also allow according to user's business logic to cancel subparticipation person's work simultaneously and not influence whole affairs;
Described telegon is the Consultation Center of native system management and control Web service affairs, the operation of management transaction;
Described participant provides, participates in the Web service affairs and bears routine work; The participant is packaged into Web service with the resource operation of own system, participates in affairs; Use two stage manner to the telegon committing protocol.
2, Web service transacter according to claim 1, it is characterized in that: described telegon is the Consultation Center of native system management and control Web service affairs, the operation of management transaction, it is made of message forwarder, controller and participant's resource three parts; Wherein
Described message forwarder comprises message parse device, message handling device again; Described controller comprises two stages submission controller, telegon context;
The message parse device is responsible for resolving the message that receives, and the message after the parsing is given message handling device and handled;
The telegon context has comprised information such as the address, affairs ID, telegon ID, state of telegon, and the reference listing of participant's resource, and each participant registers to and generates participant's resource in the telegon, is responsible for maintenance by the telegon context;
Telegon is after the request that receives client submission affairs, and message handling device two stages of calling are submitted controller to, specifically finishes the work that affairs are submitted to by two stages submission controller.
3, Web service transacter according to claim 2 is characterized in that: described participant is made up of a message parse device, message handling device and participant's context;
The message parse device is responsible for receiving the message that telegon, client send, and the message of analysis request, according to the operation of the kind message call processor of request message;
Participant's context has encapsulated participant's relevant information;
When Message Processing implement body processing messages, need to use the contextual data of participant, dispose and give the message parse device with results messages and return;
The message parse device uses two stage ways of submission to described telegon committing protocol.
4, according to claim 1 or 2 or 3 described Web service transacters, it is characterized in that: described two stages submit to and comprise coordination stage and transaction phase;
After the coordination stage referred to that client is initiated new Web service affairs, telegon was created affairs after receiving message; Client call participant operation, the participant receives after the request of client to the coordinator registers affairs;
Transaction phase refers to the overall process that the Web service affairs begin, carry out, finish, and is finished by described telegon and participant; After the coordination stage, participant and telegon are known the other side's information mutually, begin to carry out transaction phase work, after transaction phase is finished, telegon with transaction results to clients report.
5, Web service transacter according to claim 4 is characterized in that: the present invention also comprises a Monitoring Manager, and the affairs running is monitored and managed.
6, a kind of Web service transaction methods, it utilizes the Web service transacter that includes client, telegon and a plurality of participants, to coordinating, manage and control based on a plurality of Web service affairs in open network, the loose coupling environment; Wherein, initiate affairs, divide transaction boundaries and submission/or cancellation affairs by client, coordinator management and coordinate transactions, the participant provides, participates in the Web service affairs; It is characterized in that:
Guarantee atomicity, consistency and reliability between each affairs by two stage commit methods between described telegon and the participant, and affairs are monitored configuration management;
Described two stage commit methods comprise coordination stage and transaction phase;
After the described coordination stage referred to that client is initiated new Web service affairs, telegon was created affairs after receiving message; Client call participant operation, the participant receives after the request of client to the coordinator registers affairs;
Described transaction phase refers to the overall process that the Web service affairs begin, carry out, finish, and is finished jointly by telegon and participant; After the coordination stage, participant and telegon are known the other side's information mutually, begin to carry out transaction phase work, after transaction phase is finished, telegon with transaction results to clients report.
7, a kind of Web service transaction methods according to claim 6, it is characterized in that: the described coordination stage specifically may further comprise the steps:
1) client is sent affairs to telegon and is begun message, requires atom Web service affairs of beginning, and beginning to indicate in the message transaction types at this is atomic transaction;
2) telegon is receiving after these affairs begin message, create new affairs, send the response message that includes the transaction context content to client, the transaction context content comprises the information of relevant these affairs such as affairs ID, transaction types, telegon address, telegon ID;
3) client is called the Web service operation that the participant provides after the message that meets with a response, and sends the application messages that has the transaction context content to each participant;
4) after the participant receives this application messages, send the request registration message to telegon, require registration according to telegon address in the transaction context content;
5) telegon sends registration and finishes message after the relevant information of having registered the participant, and expression is registered successfully;
6) after the participant registers success, to client send can executive utility response message.
8, according to claim 6 or 7 described a kind of Web service transaction methods, it is characterized in that: described transaction phase specifically may further comprise the steps:
1) client sends the message of submitting affairs to telegon, begins to submit to affairs;
2) telegon sends preparation message to the participant, requires the participant to prepare;
3) participant sends according to own situation and has been ready to message or cancellation preparation message or has withdrawed from the Web service transaction message;
4) message sent according to each participant of receiving of telegon is made decision and is submitted to or the decision of cancellation affairs, and sends to the participant and to submit transaction message or cancellation transaction message to;
5) participant confirms according to the instruction of the telegon that receives or cancels, and sends affirmation submission message to telegon, finishes the submission affairs; Perhaps send cancellation Web service response message, finish the cancellation affairs to telegon; Or send to telegon and to withdraw from the Web service response message, withdraw from affairs;
6) after telegon is finished and is submitted to two stages of participant, to the result of clients report affairs operation;
7) finish.
9, a kind of Web service transaction methods according to claim 6 is characterized in that: the following operation of described client executing:
1) begins to initiate affairs
Client begins message to telegon transmission affairs after specifying the telegon address, receives and returns the transaction context content; If carry out and make mistakes the affairs of then dishing out abort message; If normal, then down carry out;
2) set each participant
The address of detailed each participant's Web service of appointment, operation name, method of calling, parameter list etc.;
3) Web service of calling each participant is operated, and sends the application messages that has the transaction context content to the participant; If implementation is made mistakes, the affairs of then dishing out abort message; If normal, then down carry out;
4) client sends to telegon and submits transaction message to, runs succeeded, and then affairs are submitted to, end of run; Make mistakes if carry out, the affairs of then dishing out abort message according to unexpected message, can obtain the reason of makeing mistakes; Perhaps,
Client cancellation affairs send the cancellation transaction message to telegon, run succeeded, and then affairs are cancelled, end of run; Make mistakes if carry out, the affairs of then dishing out abort message can obtain the reason of makeing mistakes according to unexpected message;
5) finish.
10, according to claim 6 or 9 described a kind of Web service transaction methods, it is characterized in that: described participant carries out following operation:
1) participant is in the establishment completion status, waits for the Web service request;
2) after the participant received the request Web service message of client transmission, beginning was registered to telegon
Request message comprises the transaction context content, and the participant extracts transaction context and generates participant's context initial content; According to the transaction context content, the participant sends the request registration message to telegon;
3) participant is in the wait enrollment status;
4) participant receives the registration that telegon sends and finishes message, is in the registration completion status, handles the request message of client, to client send can executive utility response message;
5) accept the preparation message that telegon sends, begin to prepare
The participant has just finished the phase I of two stages submissions, the second stage that begins to carry out the submission of two stages after coordinator registers is finished; Telegon sends preparation message to the participant after the request that receives client submission affairs; The participant is in just in standby condition after receiving preparation message;
6) participant carries out beamhouse operation, according to the operation return results
(1) can't finish preparation, then send cancellation message, the participant abandons/stops this Web service affairs, finishes;
(2) participant wants to withdraw from affairs, then returns and withdraws from message, and the participant withdraws from this Web service affairs, finishes;
(3) be ready to complete, then return and be ready to message, the participant is in the state that is ready to;
7) participant is ready
(1) participant receives the message that begins to submit to affairs that telegon sends, and begins to submit to affairs, if success, the participant sends to telegon and submitted message to, finishes; If make mistakes, the participant sends error messages to telegon, finishes;
(2) participant receives the message of the cancellation submission affairs of telegon transmission, begins to cancel the work of being done, and sends to telegon and has cancelled message, finishes; If make mistakes, the participant sends error messages to telegon, finishes.
11, a kind of Web service transaction methods according to claim 10 is characterized in that: described telegon is carried out following steps:
1) beginning
2) affairs of telegon reception client transmission begin message, and it is atomic transaction that affairs begin to indicate in the message transaction types, and telegon is in initial state;
3) telegon begins to create affairs, generates the telegon context, and constructs transaction context and begun message and return, and affairs are created, and telegon is in initial state;
4) after telegon receives participant's request registration message, add this participant's information among the participant list in the telegon context;
5) after telegon receives the request message of client submission affairs, be in standby condition, send preparation message to each participant who registers;
6) collect participant's response message, and judge:
If a) all participant responds and withdraws from message then the participant all withdraws from affairs, affairs are in exit status, carry out for the 9th step;
B) if participant response has been ready to message, represent that then the participant votes for the submission affairs, affairs are in the state that is ready to; Down carry out
C) if having a participant response cancellation message at least, represent that then the participant is not ready for submitting to affairs, affairs are in to be abandoned/state of termination; Down carry out
7) telegon is maked decision according to transaction status
If a) affairs are in the state that is ready to, then telegon sends successively to the participant who registers and submits to transaction message to require the participant to submit affairs to, and telegon is in the wait submit state, down carries out for the 8th step;
B) if affairs are in abandons/state of termination, then telegon sends cancellation message successively to the participant of registration and requires the participant to cancel affairs, and telegon is in waits for the cancellation state, down carries out for the 8th step;
8) be in the telegon of waiting for submit state, if all participant responses confirm to submit to message, then telegon is in and submits the state that finishes to, carries out for the 9th step; If have at least a response to withdraw from message, then telegon is in abnormality, and the affairs abort carried out for the 9th step;
Be in the telegon of waiting for the cancellation state, if all participant response cancellation message, then telegon is in the cancellation state, carries out for the 9th step; If have at least a response to withdraw from message, then telegon is in exit status, and the affairs abort carried out for the 9th step;
9) according to the operation result of affairs to clients report: if affairs are submitted to, return affairs and submit the message that finishes to; If affairs are cancelled, return affairs and cancel the message that finishes; If abort returns and withdraws from message, indicate error reason.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101027506A CN100561920C (en) | 2004-12-27 | 2004-12-27 | Web service transacter and processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101027506A CN100561920C (en) | 2004-12-27 | 2004-12-27 | Web service transacter and processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1798031A true CN1798031A (en) | 2006-07-05 |
CN100561920C CN100561920C (en) | 2009-11-18 |
Family
ID=36818833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004101027506A Expired - Fee Related CN100561920C (en) | 2004-12-27 | 2004-12-27 | Web service transacter and processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100561920C (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101295269B (en) * | 2008-05-26 | 2010-06-09 | 浙江大学 | Component interactive synchronization method based on transaction |
CN101277304B (en) * | 2008-03-21 | 2010-12-08 | 北京航空航天大学 | Management system and management method for Web service operational environment based on rules |
CN101329670B (en) * | 2007-06-20 | 2011-03-23 | 诺基亚西门子通信公司 | Method and system for keep consistency of data under copy database environment |
CN102073505A (en) * | 2011-01-31 | 2011-05-25 | 北京科技大学 | Service composition-oriented declarative transaction integration method and system |
CN101706811B (en) * | 2009-11-24 | 2012-01-25 | 中国科学院软件研究所 | Transaction commit method of distributed database system |
CN102413166A (en) * | 2011-09-22 | 2012-04-11 | 上海西本网络科技有限公司 | Distributed transaction method and system thereof |
CN102760155A (en) * | 2012-05-30 | 2012-10-31 | 中兴通讯股份有限公司 | Database-based transaction control method and device |
CN102187321B (en) * | 2008-10-20 | 2013-01-16 | 微软公司 | Transaction processing for side-effecting actions in transactional memory |
CN103677968A (en) * | 2012-09-07 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Transaction processing method, transaction coordinator device and transaction participant device and system |
CN107465725A (en) * | 2017-07-20 | 2017-12-12 | 中国银行股份有限公司 | Isomery remote business disposal system and method based on CICS |
CN108446167A (en) * | 2018-02-09 | 2018-08-24 | 烽火通信科技股份有限公司 | A kind of distributed transaction processing method and system |
CN109783204A (en) * | 2018-12-28 | 2019-05-21 | 咪咕文化科技有限公司 | Distributed transaction processing method, device and storage medium |
CN110012008A (en) * | 2019-04-02 | 2019-07-12 | 山东国子软件股份有限公司 | Heterogeneous data source distributed coordination coherence method and system based on http protocol |
CN111078451A (en) * | 2019-08-05 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Distributed transaction processing method and device, computer equipment and storage medium |
CN111708616A (en) * | 2020-06-11 | 2020-09-25 | 浙江网新恒天软件有限公司 | Processing method of single data source distributed transaction under micro-service architecture |
CN115017128A (en) * | 2022-05-26 | 2022-09-06 | 上海介方信息技术有限公司 | Lightweight log service design method and system based on CORBA middleware |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571850B (en) * | 2010-12-24 | 2014-08-06 | ***通信集团山东有限公司 | Transaction committing system, method and equipment |
CN102546752B (en) * | 2011-12-06 | 2014-03-05 | 华中科技大学 | Distributed transaction processing method and system based on time limit |
-
2004
- 2004-12-27 CN CNB2004101027506A patent/CN100561920C/en not_active Expired - Fee Related
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101329670B (en) * | 2007-06-20 | 2011-03-23 | 诺基亚西门子通信公司 | Method and system for keep consistency of data under copy database environment |
CN101277304B (en) * | 2008-03-21 | 2010-12-08 | 北京航空航天大学 | Management system and management method for Web service operational environment based on rules |
CN101295269B (en) * | 2008-05-26 | 2010-06-09 | 浙江大学 | Component interactive synchronization method based on transaction |
CN102187321B (en) * | 2008-10-20 | 2013-01-16 | 微软公司 | Transaction processing for side-effecting actions in transactional memory |
CN101706811B (en) * | 2009-11-24 | 2012-01-25 | 中国科学院软件研究所 | Transaction commit method of distributed database system |
CN102073505A (en) * | 2011-01-31 | 2011-05-25 | 北京科技大学 | Service composition-oriented declarative transaction integration method and system |
CN102073505B (en) * | 2011-01-31 | 2013-09-25 | 北京科技大学 | Service composition-oriented declarative transaction integration method and system |
CN102413166A (en) * | 2011-09-22 | 2012-04-11 | 上海西本网络科技有限公司 | Distributed transaction method and system thereof |
CN102760155A (en) * | 2012-05-30 | 2012-10-31 | 中兴通讯股份有限公司 | Database-based transaction control method and device |
CN103677968B (en) * | 2012-09-07 | 2017-11-10 | 腾讯科技(深圳)有限公司 | Transaction methods, affairs coordinator device, affairs participant's apparatus and system |
CN103677968A (en) * | 2012-09-07 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Transaction processing method, transaction coordinator device and transaction participant device and system |
CN107465725A (en) * | 2017-07-20 | 2017-12-12 | 中国银行股份有限公司 | Isomery remote business disposal system and method based on CICS |
CN108446167A (en) * | 2018-02-09 | 2018-08-24 | 烽火通信科技股份有限公司 | A kind of distributed transaction processing method and system |
CN108446167B (en) * | 2018-02-09 | 2020-11-06 | 烽火通信科技股份有限公司 | Distributed transaction processing method and system |
CN109783204A (en) * | 2018-12-28 | 2019-05-21 | 咪咕文化科技有限公司 | Distributed transaction processing method, device and storage medium |
CN110012008A (en) * | 2019-04-02 | 2019-07-12 | 山东国子软件股份有限公司 | Heterogeneous data source distributed coordination coherence method and system based on http protocol |
CN110012008B (en) * | 2019-04-02 | 2022-03-22 | 山东国子软件股份有限公司 | Heterogeneous data source distributed coordination consistency method and system based on HTTP (hyper text transport protocol) |
CN111078451A (en) * | 2019-08-05 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Distributed transaction processing method and device, computer equipment and storage medium |
CN111708616A (en) * | 2020-06-11 | 2020-09-25 | 浙江网新恒天软件有限公司 | Processing method of single data source distributed transaction under micro-service architecture |
CN115017128A (en) * | 2022-05-26 | 2022-09-06 | 上海介方信息技术有限公司 | Lightweight log service design method and system based on CORBA middleware |
CN115017128B (en) * | 2022-05-26 | 2023-02-10 | 上海介方信息技术有限公司 | Lightweight log service design method and system based on CORBA middleware |
Also Published As
Publication number | Publication date |
---|---|
CN100561920C (en) | 2009-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1798031A (en) | Transaction processing system and transaction method for Web service | |
CN1554046A (en) | System and method for transaction processing with transaction property feature | |
Kloppmann et al. | Business process choreography in WebSphere: Combining the power of BPEL and J2EE | |
CN1836213A (en) | Automatic and dynamic provisioning of databases | |
CN1942860A (en) | A system and method for modeling and dynamically deploying services into a distributed networking architecture | |
CN1489078A (en) | Method and apparatus for managing attached relation in distribution-type system | |
EP1966688A1 (en) | Object model on workflow | |
CN1913525A (en) | Method and system for automatic responses to job requests from client | |
CN1554056A (en) | System and method for transaction processing with synchronized callback processing feature | |
JP4676784B2 (en) | Process management apparatus, process management method, and process management program | |
US9513874B2 (en) | Enterprise computing platform with support for editing documents via logical views | |
EP1966719A1 (en) | Multiple concurrent workflow persistence schemes | |
CN1967485A (en) | Method and system for realizing J2EE application | |
zur Muehlen et al. | BPAF: A standard for the interchange of process analytics data | |
CN1805345A (en) | Web service work flow processor | |
CN104750522A (en) | Dynamic execution method and system for tasks or processes | |
CN1258704C (en) | Method for using synergic multiple computer engines based on gridding environment | |
US20210072960A1 (en) | Model-driven architecture for user-centered design | |
CN1148651C (en) | Moving object, moving object control method, method and apparatus for generating moving objects, and storage medium for program for generating moving objects | |
CN1835450A (en) | Mesh operation supervisor | |
Weiping | An analysis of new features for workflow system in the SaaS software | |
Tang et al. | Automatic transaction compensation for reliable grid applications | |
Bussler | Semantic web services: Reflections on web service mediation and composition | |
CN1912840A (en) | Method of implementing distribution type operation logical calculation in structure software system | |
Georgiadis et al. | Web services enabling virtual enterprise transactions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091118 Termination date: 20121227 |