CN107465725A - Isomery remote business disposal system and method based on CICS - Google Patents
Isomery remote business disposal system and method based on CICS Download PDFInfo
- Publication number
- CN107465725A CN107465725A CN201710594229.6A CN201710594229A CN107465725A CN 107465725 A CN107465725 A CN 107465725A CN 201710594229 A CN201710594229 A CN 201710594229A CN 107465725 A CN107465725 A CN 107465725A
- Authority
- CN
- China
- Prior art keywords
- transaction
- business
- issued transaction
- server
- issued
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/566—Grouping or aggregating service requests, e.g. for unified processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/567—Integrating service provisioning from a plurality of service providers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/289—Intermediate processing functionally located close to the data consumer application, e.g. in same machine, in same home or in same sub-network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/2895—Intermediate processing functionally located close to the data provider application, e.g. reverse proxies
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a kind of isomery remote business disposal system and method based on CICS, it is related to CICS technical field.Service request client sends transaction request corresponding to each business attribution server to one or more business attribution server in system;Business attribution server performs the first issued transaction, and the implementing result of the first issued transaction is fed back to service request client according to transaction request;It is asynchronous that transaction controlling token information is sent to the business associated server related to transaction request;Business associated server performs the second issued transaction according to transaction controlling token information, and asynchronous the implementing result of second issued transaction and transaction controlling token information is sent into business attribution server;Business attribution server performs the 3rd issued transaction, and generate the implementing result of the 3rd issued transaction according to transaction controlling token information and the implementing result of the second issued transaction.
Description
Technical field
The present invention relates to CICS technical field, more particularly to the isomery based on CICS
Remote business disposal system and method.
Background technology
CICS (Customer Information Control System, abbreviation CICS) is IBM public affairs
The transaction middleware released is taken charge of, has corresponding product in host platform, open platform, WIN platforms etc..Among CICS trading processings
Part mainly supports on-line transaction service (On-Line Transaction Processing abbreviation OLTP), there is provided user is real-time
Transaction request and response.CICS issued transaction includes 4 attributes, i.e. ACID attributes:Atomicity (Atomicity), uniformity
(Consistency), isolation (Isolation), persistence (Durability).CICS is at a powerful trade transactions
Platform, it has conformability, restorability, security and the availability required by business level task manager, is to have by force
The Transaction Processing management system of power;CICS can also provide cross-platform interface, form transplantable application and exploitation skill
Art, there is extensive cross-platform operability.
During being related to multiple servers and participating in the remote business disposal that could complete jointly, CICS is in this special scenes
Under will Problems.This sentences two-server (server A and server B) and participated in jointly for exemplified by same issued transaction
It is bright:
(1) after, server A completes itself issued transaction, server B is submitted to.If the affairs processing time of server B
It is very long, according to CICS affairs ACID Controlling principles, i.e., to keep isolation, the uniformity of affairs, office uses in server A
To resource will be locked, the resource for not allowing other application to have access in transaction process, until whole affairs are carried
Friendship or rollback.This resource resulted in server A is locked for a long time, and the availability of system will be affected.
(2) if, the network communication between server A and server B cannot get effective guarantee, it is same according to CICS data
Principle of interaction is walked, once network communication exception occurs, the resource on whole link is will result in and waits until that server B is effective
Return, system availability is also unacceptable.
(3), after server B completes issued transaction, if long or network communication is different for server A processing time
Often, the resource that equally will also result on whole link waits, and system availability also will be impacted.
It can be seen that existing CICS transaction middlewares exist to system, database in isomerous environment remote business disposal environment
Etc. the locking contention problem of resource, and system availability and the users caused by factor such as network communication is abnormal, system is unreliable
Experience the problem of poor.
The content of the invention
The invention provides a kind of isomery remote business disposal system and method based on CICS, to solve
The locking that existing CICS transaction middlewares have to system, database resource in isomerous environment remote business disposal environment is striven
With problem, and the problem of system availability and the Consumer's Experiences caused by factor such as network communication is abnormal, system is unreliable are poor.
To reach above-mentioned purpose, the present invention adopts the following technical scheme that:
A kind of isomery remote business disposal system based on CICS, including:Service request client, it is based on
One or more business attribution server of CICS applications and one or more business associated server for being not based on CICS applications;Institute
Stating service request client can be communicated with the business attribution server;The business attribution server can with it is described
Business associated server is communicated;
The service request client, for sending each business attribution server pair to one or more business attribution server
The transaction request answered;
The business attribution server, for according to the transaction request, performing the first issued transaction, and by first
The implementing result of issued transaction is fed back to the service request client;It is asynchronous by transaction controlling token information be sent to
The related business associated server of the transaction request;
The business associated server, for according to the transaction controlling token information, performing the second issued transaction, and it is different
The implementing result of second issued transaction and the transaction controlling token information are sent to the business attribution server by step;
The business attribution server, it is additionally operable to according to the transaction controlling token information and second issued transaction
Implementing result, the 3rd issued transaction is performed, and generate the implementing result of the 3rd issued transaction.
Specifically, it is built with adapter between the business attribution server and the business associated server.
Further, the business attribution server, is additionally operable to:
When the implementing result of the first issued transaction represents that the first issued transaction runs succeeded, the first issued transaction is carried
Hand over, and the related data of the implementing result of the first issued transaction is updated to the office in the database of business attribution server
Manage the related data of request.
In addition, the business attribution server, asynchronous be sent to transaction controlling token information please with the issued transaction
Seek related business associated server.
In addition, the business associated server, is specifically used for:
According to the transaction controlling token information, the second issued transaction is performed;
When the implementing result of the second issued transaction represents that the second issued transaction runs succeeded, the second issued transaction is carried
Hand over;
It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business ownership
Server.
In addition, the business attribution server, is specifically used for:
The second issued transaction to be run succeeded according to the transaction controlling token information and the second issued transaction of expression is held
Row result, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and by the implementing result of the 3rd issued transaction
Related data renewal to the transaction request in the database of business attribution server related data.
In addition, the business associated server, is specifically used for:
According to the transaction controlling token information, the second issued transaction is performed;
When the implementing result of the second issued transaction represents that the second issued transaction performs failure, the second issued transaction is returned
Rolling;
It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business ownership
Server.
In addition, the business attribution server, is specifically used for:
According to the transaction controlling token information and represent that the second issued transaction performs holding for the second issued transaction of failure
Row result, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and by the implementing result of the 3rd issued transaction
Related data renewal to the transaction request in the database of business attribution server related data;3rd affairs
Handle and be used for for the reverse operating of first issued transaction, the implementing result of the 3rd issued transaction by transaction recovery to not
Perform the state of the first issued transaction.
Further, the service request client, being additionally operable to please to business attribution server transmission transactional query
Ask;
The business attribution server, it is additionally operable to be asked according to the transactional query, from the data of business attribution server
The related data of the transaction request is obtained in storehouse.
Isomery remote business disposal system based on CICS includes:Service request client, based on CICS
One or more business attribution server of application and one or more business associated server for being not based on CICS applications;The industry
Business requesting client can be communicated with the business attribution server;The business attribution server can be with the business
Associated server is communicated;
Methods described includes:
The service request client is sent corresponding to each business attribution server to one or more business attribution server
Transaction request;
The business attribution server performs the first issued transaction according to the transaction request, and by the first affairs
The implementing result of processing is fed back to the service request client;
The business attribution server is asynchronous transaction controlling token information is sent to it is related to the transaction request
Business associated server;
The business associated server performs the second issued transaction, and asynchronous general according to the transaction controlling token information
The implementing result of second issued transaction and the transaction controlling token information are sent to the business attribution server;
The business attribution server is according to the execution knot of the transaction controlling token information and second issued transaction
Fruit, the 3rd issued transaction is performed, and generate the implementing result of the 3rd issued transaction.
Further, the isomery remote business disposal method based on CICS, in addition to:
The business attribution server the first issued transaction implementing result represent the first issued transaction run succeeded when,
First issued transaction is submitted, and business attribution server is arrived into the related data renewal of the implementing result of the first issued transaction
The related data of transaction request in database.
Specifically, asynchronous be sent to transaction controlling token information of the business attribution server please with the issued transaction
Related business associated server is sought, including:
The business attribution server is asynchronous transaction controlling token information is sent to it is related to the transaction request
Business associated server.
Specifically, the business associated server according to the transaction controlling token information, performs the second issued transaction, and
It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business attribution server, bag
Include:
The business associated server performs the second issued transaction according to the transaction controlling token information;
The business associated server the second issued transaction implementing result represent the second issued transaction run succeeded when,
Second issued transaction is submitted;
The business associated server is asynchronous by the implementing result of the second issued transaction and the transaction controlling token information
It is sent to the business attribution server.
Specifically, the business attribution server is according to the transaction controlling token information and second issued transaction
Implementing result, the 3rd issued transaction is performed, and generate the implementing result of the 3rd issued transaction, including:
The business attribution server is according to the transaction controlling token information and represents that the second issued transaction runs succeeded
The second issued transaction implementing result, perform the 3rd issued transaction, generate the implementing result of the 3rd issued transaction, and by the 3rd
Phase of the related data renewal of the implementing result of issued transaction to the transaction request in the database of business attribution server
Close data.
Specifically, the business associated server according to the transaction controlling token information, performs the second issued transaction, and
It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business attribution server, bag
Include:
The business associated server performs the second issued transaction according to the transaction controlling token information;
The business associated server the second issued transaction implementing result represent the second issued transaction perform failure when,
By the second issued transaction rollback;
The business associated server is asynchronous by the implementing result of the second issued transaction and the transaction controlling token information
It is sent to the business attribution server.
Specifically, the business attribution server is according to the transaction controlling token information and second issued transaction
Implementing result, the 3rd issued transaction is performed, and generate the implementing result of the 3rd issued transaction, including:
The business attribution server is according to the transaction controlling token information and represents that the second issued transaction performs failure
The second issued transaction implementing result, perform the 3rd issued transaction, generate the implementing result of the 3rd issued transaction, and by the 3rd
Phase of the related data renewal of the implementing result of issued transaction to the transaction request in the database of business attribution server
Close data;
Wherein, the 3rd issued transaction is the reverse operating of first issued transaction, the 3rd issued transaction
Implementing result is used for transaction recovery to the state for being not carried out the first issued transaction.
Further, the isomery remote business disposal method based on CICS, in addition to:
The service request client sends transactional query request to the business attribution server;
The business attribution server is asked according to the transactional query, is obtained from the database of business attribution server
The related data of the transaction request.
Isomery remote business disposal system and method provided by the invention based on CICS, service request visitor
Family end sends transaction request corresponding to each business attribution server to one or more business attribution server;The business is returned
Belong to server according to the transaction request, perform the first issued transaction, and by the implementing result of the first issued transaction to institute
Service request client is stated to be fed back;It is asynchronous transaction controlling token information is sent to it is related to the transaction request
Business associated server;The business associated server performs the second issued transaction according to the transaction controlling token information, and
It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business attribution server;Institute
Business attribution server is stated according to the transaction controlling token information and the implementing result of second issued transaction, performs the 3rd
Issued transaction, and generate the implementing result of the 3rd issued transaction.It can be seen that when issued transaction is carried out in business attribution server,
It can directly be fed back, and asynchronous be sent to transaction controlling token information and the office to service request client in advance
The related business associated server of reason request, without the processing procedure of latency services associated server, even if there is network
Communication abnormality, factor, the service request clients such as system is unreliable also can first obtain feedback result;Likewise, the related clothes of business
The implementing result of second issued transaction and the transaction controlling token information asynchronous can also be sent to described by business device after treatment
Business attribution server, then subsequent transaction is carried out by business attribution server.It can be seen that the embodiment of the present invention can solve now
Some CICS transaction middlewares exist to system, the locking contention of database resource in isomerous environment remote business disposal environment
Problem, and the problem of system availability and the Consumer's Experiences caused by factor such as network communication is abnormal, system is unreliable are poor.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of isomery remote business disposal system based on CICS provided in an embodiment of the present invention
Structural representation;
Fig. 2 is that the issued transaction for being related to two servers (server A and server B) in the embodiment of the present invention simplifies mould
Type schematic diagram;
Fig. 3 is a kind of isomery remote business disposal method based on CICS provided in an embodiment of the present invention
Flow chart one;
Fig. 4 is a kind of isomery remote business disposal method based on CICS provided in an embodiment of the present invention
Flowchart 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
As shown in figure 1, the embodiment of the present invention provides a kind of isomery remote business disposal system based on CICS
System 10, including:Service request client 101, based on CICS (CICS, Customer Information
Control System) application one or more business attribution server 102 and be not based on CICS application one or more industry
Business associated server 103;The service request client 101 can be communicated with the business attribution server 102;It is described
Business attribution server 102 can be communicated with the business associated server 103.
What deserves to be explained is the isomery remote business disposal system 10 provided by the invention based on CICS
The scope of application can be the transaction business process application based on CICS, particularly following scene:1. it is related to the multiple isomeries in inside and outside
The remote business disposal of server;2. the service quality and communication network of server cannot be effectively ensured;3. business is for system
The availability and performance of service have very high requirement.
The service request client 101, for sending each business ownership clothes to one or more business attribution server 102
Transaction request corresponding to business device 102.
The business attribution server 102, for according to the transaction request, performing the first issued transaction, and incite somebody to action
The implementing result of first issued transaction is fed back to the service request client 101;It is asynchronous by transaction controlling token information
It is sent to the business associated server 103 related to the transaction request.
The business associated server 103, for according to the transaction controlling token information, performing the second issued transaction,
And asynchronous the implementing result of second issued transaction and the transaction controlling token information are sent to the business attribution server
102。
The business attribution server 102, it is additionally operable to according to the transaction controlling token information and second office
The implementing result of reason, the 3rd issued transaction is performed, and generate the implementing result of the 3rd issued transaction.
Specifically, as shown in figure 1, built between the business attribution server 102 and the business associated server 103
There is adapter 104.
Due to the characteristic of CICS cross-platform interchanges, CICS is needed based on same between different server as transaction middleware
One transaction middleware CICS carries out transaction controlling.If server A (business attribution server) is CICS platforms, and server B
(business associated server) is non-CICS platforms, can not just be based on same transaction middleware CICS and carry out transaction controlling, therefore this
Place's system interaction needs to complete protocol conversion by adapter.
Further, the business attribution server 102, is additionally operable to:
When the implementing result of the first issued transaction represents that the first issued transaction runs succeeded, the first issued transaction is carried
Hand over, and the related data of the implementing result of the first issued transaction is updated to the thing in the database of business attribution server 102
The related data of business processing request.
In addition, the business attribution server 102, asynchronous to be sent to transaction controlling token information and the issued transaction
Ask related business associated server 103.
In addition, the business associated server 103, is specifically used for:
According to the transaction controlling token information, the second issued transaction is performed.
When the implementing result of the second issued transaction represents that the second issued transaction runs succeeded, the second issued transaction is carried
Hand over.
It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business ownership
Server 102.
In addition, the business attribution server 102, is specifically used for:
The second issued transaction to be run succeeded according to the transaction controlling token information and the second issued transaction of expression is held
Row result, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and by the implementing result of the 3rd issued transaction
Related data renewal to the transaction request in the database of business attribution server 102 related data.
In addition, the business associated server 103, is specifically used for:
According to the transaction controlling token information, the second issued transaction is performed.
When the implementing result of the second issued transaction represents that the second issued transaction performs failure, the second issued transaction is returned
Rolling.
It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business ownership
Server 102.
In addition, the business attribution server 102, is specifically used for:
According to the transaction controlling token information and represent that the second issued transaction performs holding for the second issued transaction of failure
Row result, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and by the implementing result of the 3rd issued transaction
Related data renewal to the transaction request in the database of business attribution server 102 related data;Described 3rd
Issued transaction is the reverse operating of first issued transaction, and the implementing result of the 3rd issued transaction is used for transaction recovery
To the state for being not carried out the first issued transaction.
Further, the service request client 101, it is additionally operable to send affairs to the business attribution server 102
Inquiry request.
The business attribution server 102, it is additionally operable to be asked according to the transactional query, from business attribution server 102
Database in obtain the related data of the transaction request.
Based on a kind of isomery remote business disposal system 10 based on CICS shown in above-mentioned Fig. 1, such as Fig. 2
It is shown, it is based on customer information below to be related to the issued transaction simplified model of two servers (server A and server B) explanation
The isomery remote business disposal system 10 of control system.One business processing is related to the server A based on CICS applications (equivalent to industry
Be engaged in attribution server) and non-CICS application server B (equivalent to business associated server), server A as business ownership
Side, server B have a direct impact as business related side, the result of server B to server A.
Whole business procession can be analyzed to two service requests, and service request 1 is responsible for initiating affairs and quick response,
Service request 2 is responsible for obtaining transaction processing results.
First, service request user end to server A initiating business requests 1, server A perform affairs a1, and by affairs
A1 implementing result feeds back to request 1.If affairs a1 runs succeeded, affairs a1 will be submitted and be updated related data.Server A
It is asynchronous that transaction controlling token information is passed into server B.
Afterwards, if the affairs b of server B is performed smoothly, affairs b will be submitted.Server B is asynchronous to make transaction controlling
Board information transmission is to server A, and according to service logic relation, server A will perform affairs a2, affairs a2 renewal related datas.
If in addition, if the affairs b of server B performs failure, affairs b is by rollback.Due to server A affairs a1
Through being submitted, it is necessary to perform a compensating operation.Server B is asynchronous to pass to server A by transaction controlling token information, service
Device A performs affairs a3.Affairs a3 will perform affairs a1 reverse operating, that is, the state returned to before being not carried out affairs a1.
Service request user end to server A initiating business requests 2 afterwards, server A performs inquiry transaction a4, by looking into
Transaction a4 is ask to obtain associated traffic data and feed back to service request client.
It can be seen that the isomery remote business disposal system provided by the invention based on CICS, is properly termed as
CICS applies the asynchronous flexible transaction controlling treatment mechanism under isomerous environment.Flexible transaction controlling is the ACID relative to CICS
For rigid affairs.The processing system is by the remote business disposal of CICS under isomerous environment, by " synchronous to block
Transaction controlling mode " is changed into " the asynchronous transaction tupe based on affairs responsibility chain ".First, according to the original of quick response
Then, the remote business disposal initiated to business attribution server is resolved into " service request initiation " and " place by service request client
Two steps of reason result acquisition ", preferentially meet the processing requirement of client's quick response.Then, according to the responsibility of participant, by Long routine
Processing is decomposed into " multiple logic transaction units " to establish " affairs responsibility chain ", by transaction controlling token in affairs responsibility chain
Asynchronous dynamical circulates, and completes remote business disposal.Finally, service request client is obtained by inquiring about transaction from business attribution server
Take transaction processing results.
Isomery remote business disposal system provided by the invention based on CICS, service request client to
One or more business attribution server sends transaction request corresponding to each business attribution server;The business home service
Device performs the first issued transaction according to the transaction request, and by the implementing result of the first issued transaction to the business
Requesting client is fed back;It is asynchronous that transaction controlling token information is sent to the business phase related to the transaction request
Close server;The business associated server performs the second issued transaction, and asynchronous general according to the transaction controlling token information
The implementing result of second issued transaction and the transaction controlling token information are sent to the business attribution server;The business
Attribution server performs the 3rd office according to the transaction controlling token information and the implementing result of second issued transaction
Reason, and generate the implementing result of the 3rd issued transaction.It can be seen that when issued transaction is carried out in business attribution server, can be leading
Directly fed back, and asynchronous be sent to transaction controlling token information and the transaction request to service request client
Related business associated server, without the processing procedure of latency services associated server, even if it is different network communication occur
Often, factor, the service request clients such as system is unreliable can also obtain feedback result in advance;Likewise, business associated server
Also asynchronous the implementing result of second issued transaction and the transaction controlling token information can be sent to the business after treatment
Attribution server, then subsequent transaction is carried out by business attribution server.It can be seen that the embodiment of the present invention can solve it is existing
CICS transaction middlewares exist in isomerous environment remote business disposal environment asks system, the locking contention of database resource
Topic, and the problem of system availability and the Consumer's Experiences caused by factor such as network communication is abnormal, system is unreliable are poor.
Corresponding to the isomery remote business disposal system based on CICS described in above-mentioned Fig. 1, such as Fig. 3 institutes
Show, the isomery remote business disposal method provided in an embodiment of the present invention based on CICS, including:
Step 201, service request client send each business attribution server pair to one or more business attribution server
The transaction request answered.
Step 202, business attribution server perform the first issued transaction according to transaction request, and by the first affairs
The implementing result of processing is fed back to service request client.
Step 203, business attribution server be asynchronous transaction controlling token information is sent to it is related to transaction request
Business associated server.
Step 204, business associated server perform the second issued transaction, and asynchronous general according to transaction controlling token information
The implementing result and transaction controlling token information of second issued transaction are sent to business attribution server.
Step 205, business attribution server are held according to transaction controlling token information and the implementing result of the second issued transaction
The issued transaction of row the 3rd, and generate the implementing result of the 3rd issued transaction.
Isomery remote business disposal method provided by the invention based on CICS, can be solved existing
CICS transaction middlewares exist in isomerous environment remote business disposal environment asks system, the locking contention of database resource
Topic, and the problem of system availability and the Consumer's Experiences caused by factor such as network communication is abnormal, system is unreliable are poor.
In order that those skilled in the art is better understood by the present invention, a more detailed method is set forth below and implements
Example, as shown in figure 4, the isomery remote business disposal method provided by the invention based on CICS, including:
Step 301, service request client send each business attribution server pair to one or more business attribution server
The transaction request answered.
Step 302, business attribution server perform the first issued transaction according to transaction request, and by the first affairs
The implementing result of processing is fed back to service request client.
Step 303, business attribution server the first issued transaction implementing result represent the first issued transaction perform into
During work(, the first issued transaction is submitted, and the related data renewal of the implementing result of the first issued transaction is taken to business ownership
The related data for the transaction request being engaged in the database of device.
Step 304, business attribution server are asynchronous to be sent to transaction controlling token information and the transaction request
Related business associated server.
305 or step 309 are performed after the step 304.
Step 305, business associated server perform the second issued transaction according to the transaction controlling token information.
Step 306, business associated server the second issued transaction implementing result represent the second issued transaction perform into
During work(, the second issued transaction is submitted.
Step 307, business associated server are asynchronous by the implementing result of the second issued transaction and the transaction controlling token
Information is sent to the business attribution server.
Step 308, business attribution server according to the transaction controlling token information and represent that the second issued transaction performs
The implementing result of successful second issued transaction, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and will
The related data of the implementing result of 3rd issued transaction is updated to the transaction request in the database of business attribution server
Related data.
Step 309, business associated server perform the second issued transaction according to the transaction controlling token information.
Step 310, business associated server represent that the second issued transaction performs mistake in the implementing result of the second issued transaction
When losing, by the second issued transaction rollback.
Step 311, business associated server are asynchronous by the implementing result of the second issued transaction and the transaction controlling token
Information is sent to the business attribution server.
Step 312, business attribution server according to the transaction controlling token information and represent that the second issued transaction performs
The implementing result of second issued transaction of failure, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and will
The related data of the implementing result of 3rd issued transaction is updated to the transaction request in the database of business attribution server
Related data.
Wherein, the 3rd issued transaction is the reverse operating of first issued transaction, the 3rd issued transaction
Implementing result is used for transaction recovery to the state for being not carried out the first issued transaction.
Step 313 is performed after step 308 and step 312.
Step 313, service request client send transactional query request to the business attribution server.
Step 314, business attribution server are asked according to the transactional query, from the database of business attribution server
Obtain the related data of the transaction request.
Isomery remote business disposal method provided in an embodiment of the present invention based on CICS, service request visitor
Family end sends transaction request corresponding to each business attribution server to one or more business attribution server;The business is returned
Belong to server according to the transaction request, perform the first issued transaction, and by the implementing result of the first issued transaction to institute
Service request client is stated to be fed back;It is asynchronous transaction controlling token information is sent to it is related to the transaction request
Business associated server;The business associated server performs the second issued transaction according to the transaction controlling token information, and
It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business attribution server;Institute
Business attribution server is stated according to the transaction controlling token information and the implementing result of second issued transaction, performs the 3rd
Issued transaction, and generate the implementing result of the 3rd issued transaction.It can be seen that when issued transaction is carried out in business attribution server,
It can directly be fed back, and asynchronous be sent to transaction controlling token information and the office to service request client in advance
The related business associated server of reason request, without the processing procedure of latency services associated server, even if there is network
Communication abnormality, factor, the service request clients such as system is unreliable also can first obtain feedback result;Likewise, the related clothes of business
The implementing result of second issued transaction and the transaction controlling token information asynchronous can also be sent to described by business device after treatment
Business attribution server, then subsequent transaction is carried out by business attribution server.It can be seen that the embodiment of the present invention can solve now
Some CICS transaction middlewares exist to system, the locking contention of database resource in isomerous environment remote business disposal environment
Problem, and the problem of system availability and the Consumer's Experiences caused by factor such as network communication is abnormal, system is unreliable are poor.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Apply specific embodiment in the present invention to be set forth the principle and embodiment of the present invention, above example
Explanation be only intended to help understand the present invention method and its core concept;Meanwhile for those of ordinary skill in the art,
According to the thought of the present invention, there will be changes in specific embodiments and applications, in summary, in this specification
Appearance should not be construed as limiting the invention.
Claims (17)
- A kind of 1. isomery remote business disposal system based on CICS, it is characterised in that including:Service request visitor Family end, one or more business attribution server based on CICS applications and one or more business correlation for being not based on CICS applications Server;The service request client can be communicated with the business attribution server;The business attribution server It can be communicated with the business associated server;The service request client, for being sent to one or more business attribution server corresponding to each business attribution server Transaction request;The business attribution server, for according to the transaction request, performing the first issued transaction, and by the first affairs The implementing result of processing is fed back to the service request client;It is asynchronous by transaction controlling token information be sent to it is described The related business associated server of transaction request;The business associated server, for according to the transaction controlling token information, performing the second issued transaction, and asynchronous general The implementing result of second issued transaction and the transaction controlling token information are sent to the business attribution server;The business attribution server, it is additionally operable to the execution according to the transaction controlling token information and second issued transaction As a result, the 3rd issued transaction is performed, and generates the implementing result of the 3rd issued transaction.
- 2. the isomery remote business disposal system according to claim 1 based on CICS, it is characterised in that Adapter is built between the business attribution server and the business associated server.
- 3. the isomery remote business disposal system according to claim 2 based on CICS, it is characterised in that The business attribution server, is additionally operable to:When the implementing result of the first issued transaction represents that the first issued transaction runs succeeded, the first issued transaction is submitted, and Please to the issued transaction in the database of business attribution server by the related data renewal of the implementing result of the first issued transaction The related data asked.
- 4. the isomery remote business disposal system according to claim 3 based on CICS, it is characterised in that The business attribution server, specifically for it is asynchronous transaction controlling token information is sent to it is related to the transaction request Business associated server.
- 5. the isomery remote business disposal system according to claim 4 based on CICS, it is characterised in that The business associated server, is specifically used for:According to the transaction controlling token information, the second issued transaction is performed;When the implementing result of the second issued transaction represents that the second issued transaction runs succeeded, the second issued transaction is submitted;It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business home service Device.
- 6. the isomery remote business disposal system according to claim 5 based on CICS, it is characterised in that The business attribution server, is specifically used for:The execution knot of the second issued transaction to be run succeeded according to the transaction controlling token information and the second issued transaction of expression Fruit, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and by the phase of the implementing result of the 3rd issued transaction Data renewal is closed to the related data of the transaction request in the database of business attribution server.
- 7. the isomery remote business disposal system according to claim 4 based on CICS, it is characterised in that The business associated server, is specifically used for:According to the transaction controlling token information, the second issued transaction is performed;When the implementing result of the second issued transaction represents that the second issued transaction performs failure, by the second issued transaction rollback;It is asynchronous that the implementing result of second issued transaction and the transaction controlling token information are sent to the business home service Device.
- 8. the isomery remote business disposal system according to claim 7 based on CICS, it is characterised in that The business attribution server, is specifically used for:According to the transaction controlling token information and represent that the second issued transaction performs the execution knot of the second issued transaction of failure Fruit, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and by the phase of the implementing result of the 3rd issued transaction Data renewal is closed to the related data of the transaction request in the database of business attribution server;3rd issued transaction For the reverse operating of first issued transaction, the implementing result of the 3rd issued transaction is used for transaction recovery to being not carried out The state of first issued transaction.
- 9. the isomery remote business disposal system based on CICS according to claim 6 or 8, its feature exist In, the service request client, it is additionally operable to send transactional query request to the business attribution server;The business attribution server, it is additionally operable to be asked according to the transactional query, from the database of business attribution server Obtain the related data of the transaction request.
- A kind of 10. isomery remote business disposal method based on CICS, it is characterised in that be based on applied to one kind The isomery remote business disposal system of CICS, the system include:Service request client, based on CICS apply One or more business attribution server and be not based on CICS application one or more business associated server;The business please Client is asked to be communicated with the business attribution server;The business attribution server can be related to the business Server is communicated;Methods described includes:The service request client sends affairs corresponding to each business attribution server to one or more business attribution server Processing request;The business attribution server performs the first issued transaction according to the transaction request, and by the first issued transaction Implementing result fed back to the service request client;The business attribution server is asynchronous to be sent to transaction controlling token information the industry related to the transaction request Business associated server;The business associated server performs the second issued transaction according to the transaction controlling token information, and asynchronous by second The implementing result of issued transaction and the transaction controlling token information are sent to the business attribution server;The business attribution server is held according to the transaction controlling token information and the implementing result of second issued transaction The issued transaction of row the 3rd, and generate the implementing result of the 3rd issued transaction.
- 11. the isomery remote business disposal method according to claim 10 based on CICS, its feature exist In, in addition to:The business attribution server is when the implementing result of the first issued transaction represents that the first issued transaction runs succeeded, by the One issued transaction is submitted, and the related data renewal of the implementing result of the first issued transaction is arrived to the data of business attribution server The related data of transaction request in storehouse.
- 12. the isomery remote business disposal method according to claim 11 based on CICS, its feature exist In the business attribution server is asynchronous to be sent to transaction controlling token information the business related to the transaction request Associated server, including:The business attribution server is asynchronous to be sent to transaction controlling token information the industry related to the transaction request Business associated server.
- 13. the isomery remote business disposal method according to claim 12 based on CICS, its feature exist In, the business associated server according to the transaction controlling token information, the second issued transaction is performed, and it is asynchronous by the second thing The implementing result of processing of being engaged in and the transaction controlling token information are sent to the business attribution server, including:The business associated server performs the second issued transaction according to the transaction controlling token information;The business associated server is when the implementing result of the second issued transaction represents that the second issued transaction runs succeeded, by the Two issued transactions are submitted;The business associated server is asynchronous to send the implementing result of the second issued transaction and the transaction controlling token information To the business attribution server.
- 14. the isomery remote business disposal method according to claim 13 based on CICS, its feature exist In the business attribution server is held according to the transaction controlling token information and the implementing result of second issued transaction The issued transaction of row the 3rd, and the implementing result of the 3rd issued transaction is generated, including:The business attribution server according to the transaction controlling token information and represent that the second issued transaction runs succeeded the The implementing result of two issued transactions, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and by the 3rd affairs Dependency number of the related data renewal of the implementing result of processing to the transaction request in the database of business attribution server According to.
- 15. the isomery remote business disposal method according to claim 12 based on CICS, its feature exist In, the business associated server according to the transaction controlling token information, the second issued transaction is performed, and it is asynchronous by the second thing The implementing result of processing of being engaged in and the transaction controlling token information are sent to the business attribution server, including:The business associated server performs the second issued transaction according to the transaction controlling token information;The business associated server is when the implementing result of the second issued transaction represents that the second issued transaction performs failure, by the Two issued transaction rollbacks;The business associated server is asynchronous to send the implementing result of the second issued transaction and the transaction controlling token information To the business attribution server.
- 16. the isomery remote business disposal method according to claim 15 based on CICS, its feature exist In the business attribution server is held according to the transaction controlling token information and the implementing result of second issued transaction The issued transaction of row the 3rd, and the implementing result of the 3rd issued transaction is generated, including:The business attribution server is according to the transaction controlling token information and represents that the second issued transaction performs the of failure The implementing result of two issued transactions, the 3rd issued transaction is performed, generate the implementing result of the 3rd issued transaction, and by the 3rd affairs Dependency number of the related data renewal of the implementing result of processing to the transaction request in the database of business attribution server According to;Wherein, the 3rd issued transaction be first issued transaction reverse operating, the execution of the 3rd issued transaction As a result it is used for transaction recovery to the state for being not carried out the first issued transaction.
- 17. the isomery remote business disposal method based on CICS according to claim 14 or 16, it is special Sign is, in addition to:The service request client sends transactional query request to the business attribution server;The business attribution server is asked according to the transactional query, from the database of business attribution server described in acquisition The related data of transaction request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710594229.6A CN107465725B (en) | 2017-07-20 | 2017-07-20 | Heterogeneous long transaction processing system and method based on client information control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710594229.6A CN107465725B (en) | 2017-07-20 | 2017-07-20 | Heterogeneous long transaction processing system and method based on client information control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107465725A true CN107465725A (en) | 2017-12-12 |
CN107465725B CN107465725B (en) | 2020-11-06 |
Family
ID=60546813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710594229.6A Active CN107465725B (en) | 2017-07-20 | 2017-07-20 | Heterogeneous long transaction processing system and method based on client information control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107465725B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109460288A (en) * | 2018-10-30 | 2019-03-12 | 腾讯科技(成都)有限公司 | A kind of transaction methods, management server, transacter and storage medium |
CN111240851A (en) * | 2018-11-29 | 2020-06-05 | 优信拍(北京)信息科技有限公司 | Transaction processing method, device, equipment and system based on tangent plane programming |
CN113515353A (en) * | 2021-06-04 | 2021-10-19 | 深圳奥哲网络科技有限公司 | Long transaction processing method, system, electronic device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798031A (en) * | 2004-12-27 | 2006-07-05 | 北京航空航天大学 | Transaction processing system and transaction method for Web service |
CN102831156A (en) * | 2012-06-29 | 2012-12-19 | 浙江大学 | Distributed transaction processing method on cloud computing platform |
CN104572077A (en) * | 2014-12-12 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Database service processing method and business system |
CN104793988A (en) * | 2014-01-20 | 2015-07-22 | 阿里巴巴集团控股有限公司 | Cross-database distributed transaction implementation method and device |
CN105718572A (en) * | 2016-01-21 | 2016-06-29 | 成都索贝数码科技股份有限公司 | Transaction consistency achieving method and system for isomerous data compound object |
US20170177698A1 (en) * | 2015-12-21 | 2017-06-22 | Sap Se | Decentralized transaction commit protocol |
-
2017
- 2017-07-20 CN CN201710594229.6A patent/CN107465725B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798031A (en) * | 2004-12-27 | 2006-07-05 | 北京航空航天大学 | Transaction processing system and transaction method for Web service |
CN102831156A (en) * | 2012-06-29 | 2012-12-19 | 浙江大学 | Distributed transaction processing method on cloud computing platform |
CN104793988A (en) * | 2014-01-20 | 2015-07-22 | 阿里巴巴集团控股有限公司 | Cross-database distributed transaction implementation method and device |
CN104572077A (en) * | 2014-12-12 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Database service processing method and business system |
US20170177698A1 (en) * | 2015-12-21 | 2017-06-22 | Sap Se | Decentralized transaction commit protocol |
CN105718572A (en) * | 2016-01-21 | 2016-06-29 | 成都索贝数码科技股份有限公司 | Transaction consistency achieving method and system for isomerous data compound object |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109460288A (en) * | 2018-10-30 | 2019-03-12 | 腾讯科技(成都)有限公司 | A kind of transaction methods, management server, transacter and storage medium |
CN111240851A (en) * | 2018-11-29 | 2020-06-05 | 优信拍(北京)信息科技有限公司 | Transaction processing method, device, equipment and system based on tangent plane programming |
CN111240851B (en) * | 2018-11-29 | 2024-05-24 | 合肥优荃信息科技有限公司 | Transaction processing method, device, equipment and system based on tangent plane programming |
CN113515353A (en) * | 2021-06-04 | 2021-10-19 | 深圳奥哲网络科技有限公司 | Long transaction processing method, system, electronic device and storage medium |
CN113515353B (en) * | 2021-06-04 | 2024-05-14 | 深圳奥哲网络科技有限公司 | Long transaction processing method, system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107465725B (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7269623B2 (en) | System and method for distributed multimodal collaboration using a tuple-space | |
US9239868B2 (en) | Virtual session management and reestablishment | |
CN105573828B (en) | A kind of operation processing method and device | |
US9176772B2 (en) | Suspending and resuming of sessions | |
TWI244617B (en) | A client/server-based data processing system for performing transactions between clients and a server and a method of performing the transactions | |
US7415522B2 (en) | Extensible framework for transferring session state | |
US7624112B2 (en) | Asynchronously storing transaction information from memory to a persistent storage | |
US6625621B2 (en) | System and methods for a fast and scalable synchronization server | |
US6275843B1 (en) | Method and apparatus for processing multiple service requests within a global transaction by a single server application program instance | |
US8510754B1 (en) | Shared persistent objects | |
CN109753364A (en) | A kind of implementation method, equipment and the medium of network-based distributed lock | |
US20070239728A1 (en) | System and method for transactional session management | |
EP0707265A2 (en) | A system and method for creating an object oriented transaction service that interoperates with procedural transaction coordinators | |
US20060206583A1 (en) | Framework for managing client application data in offline and online environments | |
CN107437222B (en) | Processing method and system of online business data based on front end of bank counter | |
JPH08153027A (en) | System and method for management of distributed request in parallel database | |
JP2004152289A (en) | Method and apparatus for maintaining consistency of shared space across a plurality of end points in peer to peer collaboration computer system | |
Langer et al. | MPCA SGD—a method for distributed training of deep learning models on spark | |
EP3594871A1 (en) | Access token management for state preservation and reuse | |
CN107465725A (en) | Isomery remote business disposal system and method based on CICS | |
CN114615084A (en) | Single sign-on and logout method and system applied to front-end and back-end separation scene, electronic equipment and storage medium | |
US6826600B1 (en) | Methods and apparatus for managing objects in a client-server computing system environment | |
CN102413166A (en) | Distributed transaction method and system | |
CN114629904B (en) | Distributed event processing method, system, equipment and medium | |
JP3574030B2 (en) | Computing device, operation method, and program storage device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |