CN106855821A - A kind of distributed transaction processing method and device - Google Patents

A kind of distributed transaction processing method and device Download PDF

Info

Publication number
CN106855821A
CN106855821A CN201510896124.7A CN201510896124A CN106855821A CN 106855821 A CN106855821 A CN 106855821A CN 201510896124 A CN201510896124 A CN 201510896124A CN 106855821 A CN106855821 A CN 106855821A
Authority
CN
China
Prior art keywords
renewal
request
distributed transaction
node
updated
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
Application number
CN201510896124.7A
Other languages
Chinese (zh)
Other versions
CN106855821B (en
Inventor
刘晟东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510896124.7A priority Critical patent/CN106855821B/en
Priority claimed from CN201510896124.7A external-priority patent/CN106855821B/en
Publication of CN106855821A publication Critical patent/CN106855821A/en
Application granted granted Critical
Publication of CN106855821B publication Critical patent/CN106855821B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/465Distributed object oriented systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses a kind of distributed transaction processing method and device, the method includes:Section Point receives at least two renewal requests carrying distributed transaction mark, for same specified parameter in database that first node sends;Asked in response to updating, pair intermediate parameters for having corresponding relation with distributed transaction mark and the specified parameter are updated, the intermediate parameters after being updated;According to the intermediate parameters after renewal, the specified parameter is updated.By the application, first node can be top service device, Section Point can be underlying services device, the renewal result after each renewal for specifying parameter to perform is directed to due to intermediate parameters can be utilized to preserve, as intermediate result, for carrying out next update, and then specified parameter can be updated according to the intermediate result obtained after repeatedly updating, this process can be completed in a distributed transaction, therefore, extra distributed transaction is initiated without top service device, work load can be reduced.

Description

A kind of distributed transaction processing method and device
Technical field
The application is related to Transaction processing technology field, more particularly to a kind of distributed transaction processing method and dress Put.
Background technology
With the development of information technology, the treatment of some affairs becomes to become increasingly complex.Such as, an affairs Need in network system multiple nodes it is common with could complete, this kind of affairs are properly termed as distributed thing Business.The node for completing distributing real time system can be presented as all kinds, such as, in one case, Processing the node of distributed transaction can include that user oriented top service device, upward stratum server provide industry The underlying services device that business is supported and operated to the service parameter in database.Actually carrying out distributed thing In business processing procedure, had for certain service parameter (specified parameter) in database user is received After closing the application request of operation, the treatment of distributed transaction will be initiated.The distributed transaction will then be carried out Two implementation procedures in stage:First stage, it is accurate that what distributed transaction was related to has artis to be directed to specified parameter Standby data;Second stage, each interdependent node submits the data for preparing to, according to the preparation data submitted to specifying Parameter is updated.
So that above-mentioned top service device, underlying services device are distributing real time system node as an example, in the first stage, The renewal for specified parameter in database that can be sent according to top service device by underlying services device is asked, The generation preparation data related to renewal request, (now not yet being changed to the specified parameter); Two-stage, underlying services device submits the data for preparing to, using the data of underlying services device preparation to the specified ginseng Number carries out final updated.
Said process is the general process of distributing real time system, but, in actual applications, it is understood that there may be Following scene:Top service device may send more than one for the same specified downward stratum server of parameter Request is updated, and for latter individual renewal request previous corresponding renewal of renewal request may be depended on to tie Really (it is properly termed as intermediate result).In such a scenario, due to general using being performed by the way of serial reading point Each step in cloth affairs, in the first stage, sent according to top service device first of underlying services device Update request not failing still to specifying parameter to change, first updates the corresponding intermediate result of request not yet Generation, top service device cannot correctly downward stratum server send it is next update request, only wait until the Two-stage, top service device could obtain first and update the corresponding intermediate result of request, therefore, upper strata clothes Business device needs extraly to initiate another distributed transaction, for carrying out final updated to the specified parameter, Increase the work load of top service device.
The content of the invention
The embodiment of the present application provides a kind of distributed transaction processing method and device, is used to solve in the prior art Because before the distributed transaction two-stage, intermediate result is not yet generated, top service device is caused to initiate additionally Distributed transaction, increase the problem of the work load of top service device.
A kind of distributed transaction processing method that the embodiment of the present application is provided, the distributed transaction is related to first Node and the Section Point positioned at first node lower floor, the distributed transaction are to being specified in database The affairs that parameter is updated, the method includes:
Section Point receive that first node sends it is carrying distributed transaction mark, in database At least two renewal requests of same specified parameter;
Section Point in response to it is described update request, pair with the distributed transaction mark and the specified ginseng Intermediate parameters of the number with corresponding relation are updated, the intermediate parameters after being updated;
Section Point updates the specified parameter according to the intermediate parameters after the renewal.
A kind of distributing real time system device that the embodiment of the present application is provided, the distributed transaction is related to first Node and the Section Point positioned at first node lower floor, the distributed transaction are to being specified in database The affairs that parameter is updated, described device is located on Section Point, and the device includes:
Receiver module, for receive first node transmission it is carrying distributed transaction mark, for number According at least two renewal requests of same specified parameter in storehouse;
Respond module, in response to it is described update request, pair with the distributed transaction mark and it is described The intermediate parameters that specified parameter has corresponding relation are updated, the intermediate parameters after being updated;
Update module, for according to the intermediate parameters after the renewal, updating the specified parameter.
The embodiment of the present application also provides another distributed transaction processing method and device, is used to solve existing skill Because before the distributed transaction two-stage, intermediate result is not yet generated in art, top service device is caused to initiate Extra distributed transaction, increases the problem of the work load of top service device.
Another distributed transaction processing method that the embodiment of the present application is provided, the distributed transaction is related to the One node and the Section Point positioned at first node lower floor, the distributed transaction are to database middle finger Determine the affairs that parameter is updated, the method includes:
The application request that first node sends in response to user, initiates the distributed transaction, and obtain described Distributed transaction is identified;
First node sent to Section Point carry it is that the distributed transaction is identified, for same in database Individual specified parameter at least two renewal request, in order to Section Point in response to it is described update request, pair with The intermediate parameters that the distributed transaction mark and the specified parameter have corresponding relation are updated, and obtain Intermediate parameters after to renewal, according to the intermediate parameters after the renewal, update the specified parameter;
First node obtains the described specified parameter after updating and returns to the user.
A kind of distributing real time system device that the embodiment of the present application is provided, the distributed transaction is related to first Node and the Section Point positioned at first node lower floor, the distributed transaction are to being specified in database The affairs that parameter is updated, described device is located on first node, and the device includes:
Sending module, for the application request sent in response to user, initiates the distributed transaction, and obtain Take the distributed transaction mark;
Request module, for sent to Section Point carry it is that the distributed transaction is identified, for database In same specified parameter at least two renewal request, in order to Section Point in response to the renewal please Ask, pair intermediate parameters for having corresponding relation with distributed transaction mark and the specified parameter are carried out Update, the intermediate parameters after being updated, according to the intermediate parameters after the renewal, update the specified ginseng Number;
Acquisition module, for obtain update after described specified parameter and return to the user.
By above-mentioned at least one technical scheme, first node can be top service device to the embodiment of the present application, Section Point can be underlying services device, be performed for specified parameter due to that can be preserved using intermediate parameters Each renewal after renewal result, as intermediate result, for carrying out next update, and then can be with root Updated according to the intermediate result obtained after repeatedly updating and specify parameter, this process can be in a distributed transaction Middle completion, it is therefore not necessary to top service device initiates extra distributed transaction, can reduce work load.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes of the application Point, the schematic description and description of the application is used to explain the application, does not constitute to the application not Work as restriction.In the accompanying drawings:
The process of the distributed transaction processing method that Fig. 1 is provided for the embodiment of the present application;
The process of another distributed transaction processing method that Fig. 2 is provided for the embodiment of the present application;
The system construction drawing related to a kind of practical business scene that Fig. 3 is provided for the embodiment of the present application;
Under the practical business scene in figure 3 that Fig. 4 is provided for prior art, to a kind of reality of business procedure Apply step;
Under the practical business scene in figure 3 that Fig. 5 is provided for the embodiment of the present application, to a kind of business procedure Implementation steps;
Fig. 6 illustrates for the distributing real time system apparatus structure corresponding to Fig. 1 that the embodiment of the present application is provided Figure;
Fig. 7 illustrates for the distributing real time system apparatus structure corresponding to Fig. 2 that the embodiment of the present application is provided Figure.
Specific embodiment
It is specifically real below in conjunction with the application to make the purpose, technical scheme and advantage of the application clearer Apply example and corresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, it is described Embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the implementation in the application Example, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of the application protection.
For the problem mentioned in background technology, in the embodiment of the present application, it is assumed that to database in it is same One specified parameter is repeatedly updated successively, although, distributed transaction first stage (hereinafter referred to as For:First stage), it is impossible to the specified parameter is updated, however, it is possible to be identified using with the distributed transaction And the specified parameter has the intermediate parameters of corresponding relation, originally will be in distribution by being performed to intermediate parameters The second stage of formula affairs is (hereinafter referred to as:Second stage) the multiple renewal that specified parameter is performed is operated, Renewal result after intermediate parameters is reflected each renewal is (that is, cause the renewal of this renewal to be asked Seek corresponding intermediate result).It should be noted that because intermediate parameters are not that the distributed transaction is direct For parameter, therefore, it can be updated intermediate parameters in the first stage of the distributed transaction.
Top service device can be identified when initiating to update request every time according to the distributed transaction, obtain upper one It is individual to update the corresponding intermediate result of request, underlying services device is sent to generate next renewal request, so as to In underlying services device, intermediate parameters are carried out with this renewal, until after repeatedly renewal operation is performed both by finishing, In second stage, underlying services device can be carried out directly more with the intermediate parameters after repeatedly updating to specified parameter Newly, and without again to specifying parameter repeatedly to be updated.Therefore, top service device need not initiate extra dividing Cloth affairs, can reduce work load.It is specifically described below.
The process of the distributed transaction processing method that Fig. 1 is provided for the embodiment of the present application, the process can be with office One can be used in the environment for perform distributed transaction performing, and the node included in the environment can be upper strata clothes Business device, underlying services device, database, task manager, explorer, etc..
In Fig. 1, distributed transaction is related to first node and the Section Point positioned at first node lower floor, The distributed transaction is the affairs to specifying parameter to be updated in database, and the database can be by second Node is directly operated.First node can be top service device, and Section Point can be underlying services device.Figure Process in 1 specifically may comprise steps of:
S101:Section Point receive that first node sends it is carrying distributed transaction mark, for number According at least two renewal requests of same specified parameter in storehouse.
In the embodiment of the present application, user can be by the application in terminal corresponding to first node, to first Node send application request, to ask to obtain a certain service, then first node can in response to the application request, Perform as this services default service logic;Or, first node can also automatically carry out default industry Business logic.Further, these service logics can specifically be held in the distributed transaction that first node is initiated OK.
After first node initiates distributed transaction, corresponding distributed transaction can be obtained from task manager Mark (Identity, id).Distributed transaction identifies and can be used for representing the distributed transaction globally uniquely, And can be used for the distributed transaction of connecting.Task manager is responsible for being managed collectively distributed transaction, and it can Being the module on a node, or other nodes in distributed environment.
After first node obtains distributed transaction mark, can start to send the distributed thing of carrying to Section Point Business mark, renewal request for same specified parameter in database, specified parameter can be user to The corresponding parameter of service of first node request.Accordingly, Section Point can start perform Fig. 1 in it is each Step, wherein, step S101 and S102 can be performed in the first stage of distributed transaction, step S103 can be performed in the second stage of distributed transaction.
In the embodiment of the present application, first node can be directed to altogether the specified parameter in the first stage, according to Predetermined transmission order sends at least two and updates request.
Further, each updates request can be to rely on the corresponding renewal result life of previous renewal request Into, first updates request and can be to rely on the application request generation that user sends.In such case Under, first node after any one renewal request is sent, in response to the renewal ask, and performs phase by Section Point After the renewal operation answered obtains the corresponding intermediate result of renewal request, first node obtains centre knot again Really, asked with generating next renewal, the like, until Section Point all enters to whole renewal requests Response is gone.As can be seen here, Section Point is during step S101 is performed, it is possible to be correspondingly Step S102 is performed a plurality of times.The embodiment of the present application is mainly based upon each renewal and asks complementary this field What scape was illustrated.
Certainly, in actual applications, can not be interdepended if respectively updating request, Section Point can also Concurrently receive each renewal to ask, and/or concurrently respond each renewal and ask, and first node can not also After determining Section Point to previous renewal request response, next renewal request is regenerated and sent. It is thus possible to improve the treatment effeciency of each node.
S102:Section Point in response to it is described update request, pair with the distributed transaction mark and it is described The intermediate parameters that specified parameter has corresponding relation are updated, the intermediate parameters after being updated.
In the embodiment of the present application, the corresponding relation can pre-build before step S102, Can be set up during step S102 is performed.
In the embodiment of the present application, asked because first node can send multiple renewal, then Section Point Correspondingly carry out many secondary responses.For the ease of description, below with the distributed transaction, first node is to the Two nodes are had altogether as a example by two renewals requests for same specified parameter of transmission, and the scheme to the application is entered Row explanation.Each for being sent to first node separately below updates request, and Section Point updates to each The response of request is illustrated.
After first node sends first renewal request to Section Point, due to being now in the first stage, because This, Section Point cannot directly to specifying parameter to be updated.In the related art, Section Point can be with root Request is updated according to first, generation can be used for reflection first and update the specific of the corresponding renewal operation of request Data (can be specifically business pipelined data etc.) are simultaneously preserved, in order in second stage, further according to the spy Fixed number evidence, to specifying parameter to be updated.Citing is illustrated.
For example it is assumed that it is parameter A (A is equal to 10) to specify parameter, first updates the corresponding renewal of request Operation is specially following operation:Plus 5.Then the specific data of Section Point generation can be "+5 ". In one stage, A is still equal to 10, and first updates the corresponding intermediate result of request and not yet generate, in string Under the scheme that row is read, before intermediate result is not yet generated, it is impossible to which inquiry obtains A, like this, first segment Point needs etc. to stay in second stage, according to specific data genaration intermediate result after, then by initiating another time point Cloth affairs, inquiry obtains A (A now is equal to 15), and then regenerates and sent to Section Point Second updates request.
And in the embodiment of the present application, can in advance be directed to and specify one corresponding parameter of parameter setting, that is, Intermediate parameters.Section Point can set up the carrying of the first operation requests after first renewal request is received Distributed transaction mark and the corresponding relation of intermediate parameters, in order to use intermediate parameters to preserve and the distribution The intermediate result that affairs are related to, and in order in the distributed transaction, be obtained according to distributed transaction mark Take intermediate result.Use the example above and illustrate.
For example, parameter B will be denoted as the corresponding intermediate parameters of parameter A settings.Deposited on database In the field (referred to as the first field) for preserving parameter A, it is possible to further in advance on the database The extra field (referred to as the second field) increased for recording distributed transaction mark, and join for recording The field (referred to as the 3rd field) of number B.Then Section Point receive first update request after, can be with The distributed transaction identification record carried in request is updated in the second field by first, and sets up the second word The corresponding relation of section and the 3rd field.
Section Point, can be by dividing for being carried in first renewal request after first renewal request is received Cloth Transaction Identifier writes the second field, and in this case, parameter B can be used for record and be directed to parameter The intermediate result that the distributed transaction of A is related to.Specifically, parameter A can be used to parameter B assignment, After assignment, B is equal to 10, and then the parameter B after to assignment performs first and operates, and performs first and operates Afterwards, parameter B is equal to 15;Or, it is also possible to parameter B is assigned with the result after adding 5 to parameter A Value, after assignment, parameter B is equal to 15.Like this, although the first stage, parameter A still can not be direct Update, but can be to be recorded to assume the result after updating parameter A with parameter B, that is, in Between result;And then, can in the first stage continue in order to first node according to intermediate result, generation and transmission Second updates request.
In the embodiment of the present application, it can need to rely on that second updates the corresponding renewal operation of request One updates the operation that the corresponding intermediate result of request is performed.Can be in the first stage due to intermediate parameters by Update, and intermediate parameters have recorded first and update the corresponding intermediate result of request, therefore, work as second section After point receives second renewal request of first node transmission, although still above-mentioned specified parameter can not be entered Row operation, however, it is possible to second renewal is carried out to updated intermediate parameters, that is, in allowing Between parameter continue as specifying reference record intermediate result.Continue to use the example above and illustrate.
For example it is assumed that second updates, request is corresponding to update the specially following operation of operation:After pair Jia 5 The intermediate result for arriving is multiplied by with certain coefficient.The intermediate result obtained after plus 5 is the parameter B after the first operation, Equal to 15, it is assumed that be equal to 15.01 after certain coefficient is multiplied by 15, then the parameter B after updating for second is equal to 15.01。
S103:Section Point updates the specified parameter according to the intermediate parameters after the renewal.
In order to make it easy to understand, it is believed that in the first stage, Section Point to specified due to that directly cannot join Number is updated, therefore, it can by originally will to specifying the parameter to carry out each renewal, one by one pair with it is distributed The intermediate parameters that Transaction Identifier and specified parameter have corresponding relation are operated, because intermediate parameters are One stage can be updated, and can record intermediate result.Therefore, in second stage, can be according to Intermediate parameters after the renewal of one stage are updated to specified parameter, that is, intermediate parameters now can be regarded For it is preparing in the first stage, in second stage to specifying updating the data of being updated of parameter.
Specifically, can be to specify parameter assignment with intermediate parameters now, you can complete to specifying parameter Update.Continue to use the example above and illustrate, the specified parameter (that is, parameter A) after renewal is equal to 15.01.
By the process in Fig. 1, first node can be top service device, and Section Point can be lower floor's clothes Business device, the renewal knot after each renewal for specifying parameter to perform will be directed to due to intermediate parameters can be utilized to preserve Really, as intermediate result, for carrying out next update, and then can be according to being obtained after repeatedly updating in Between result update and specify parameter, this process can complete in a distributed transaction, it is therefore not necessary on Stratum server initiates extra distributed transaction, can reduce work load.
In order to make it easy to understand, further being illustrated to the step in Fig. 1 below.
In the embodiment of the present application, for step S102, Section Point is asked in response to described renewal, right The intermediate parameters for having corresponding relation with distributed transaction mark and the specified parameter are updated, Intermediate parameters after being updated, can specifically include:
Section Point is directed to first renewal request in each described renewal request for receiving, and performs:According to It is described first update request, pair with the distributed transaction mark and the specified parameter have it is corresponding pass The intermediate parameters of system are updated, and obtain the intermediate result as this renewal result;
Section Point is directed to other each renewal requests in each described renewal request for receiving, and performs following Operation, until last during each described renewal to receiving is asked updates request and perform operations described below Afterwards, using corresponding intermediate result as the intermediate parameters after the renewal:
Asked according to the renewal, the previous renewal request to being asked according to the renewal updates the middle knot for obtaining Fruit is updated, and obtains the intermediate result as this renewal result.
It has been described in detail by each renewal as a example by request updates request comprising two altogether above.When When each renewal request bag contains more renewal requests, each updated for second after asking updates asks Ask, the response process of Section Point is similar with the response process that request is updated to second in upper example, simply base In intermediate result differ, repeat no more herein.
In the embodiment of the present application, according to explanation above, each renewal request is complementary, this In the case of, in each renewal request that Section Point is received, other in addition to first updates request are each It is individual to update request, it is to be identified according to distributed transaction by first node, obtaining the renewal to Section Point asks Previous renewal ask corresponding intermediate result, and generated according to the intermediate result for obtaining;First Updating request can generate according to user to the application request that first node sends.
Further, during step S101 and S102 is performed, first node may in multiple times from Section Point obtains the intermediate result corresponding to different renewal requests.In order to prevent intermediate result by other points Cloth business-impacting, can be based on the distributed use scope for identifying, limiting intermediate result.Specifically, can The intermediate result is obtained with each node for only allowing the corresponding distributed transaction of intermediate result to be related to.
First node can obtain intermediate result as follows:First node sends to Section Point and takes Acquisition request with distributed mark, for the intermediate result;Section Point judges to be taken in acquisition request The distribution of band identifies whether it is the corresponding distributed transaction mark of the intermediate result, if so, will can then be somebody's turn to do Intermediate result returns to first node, otherwise, can refuse acquisition request.
In the embodiment of the present application, for the corresponding sub-steps of step S102 mentioned above, according to described First update request, pair with the distributed transaction mark and the specified parameter there is corresponding relation Intermediate parameters are updated, and can specifically include:According to the specified parameter, pair with the distributed transaction The intermediate parameters that mark and the specified parameter have corresponding relation carry out assignment;According to described first more New request, to assignment after the intermediate parameters be updated.Middle ginseng can be made by this assignment operation Number is consistent with specified parameter before being updated, so that, it is ensured that in step S103, according to the centre after renewal Parameter, the renewal carried out to specifying parameter is correct reliable.
In addition, in actual applications, it is also possible to not first to middle parameter assignment, but, first according to specified ginseng Count, if it is determined that first is performed to specified parameter updates available knot if the corresponding renewal of request is operated Really, then again with the result to middle parameter assignment, using with the intermediate parameters after the result assignment as first It is individual to update the corresponding intermediate result of request.
Distributing real time system side being provided for the embodiment of the present application above, with Section Point as executive agent Method, based on same thinking, the application example additionally provides another distribution with first node as executive agent Formula transaction methods.
Fig. 2 shows the process of another distributed transaction processing method, and the process can specifically include following Step:
S201:The application request that first node sends in response to user, initiates the distributed transaction, and obtain Take the distributed transaction mark.
S202:First node sent to Section Point carry it is that the distributed transaction is identified, for database In same specified parameter at least two renewal request, in order to Section Point in response to the renewal please Ask, pair intermediate parameters for having corresponding relation with distributed transaction mark and the specified parameter are carried out Update, the intermediate parameters after being updated, according to the intermediate parameters after the renewal, update the specified ginseng Number.
S203:First node obtains the described specified parameter after updating and returns to the user.
It can be seen that, Fig. 2 is mutually corresponding with the process of Fig. 1, simply stands and be described in different nodes 's.Then by the process in Fig. 2, it is also possible to solve the problems, such as to be mentioned in background technology.
In order to make it easy to understand, further being illustrated to the step in Fig. 2 below.
In the embodiment of the present application, for step S202, first node sends to Section Point and carries described At least two renewal requests that distributed transaction is identified, for same specified parameter in database, specifically Can include:
First node sent to Section Point carry it is that the distributed transaction is identified, for same in database First in each described renewal request of individual specified parameter updates request, in order to Section Point for described First updates request, performs:According to described first update request, pair with the distributed transaction identify And the intermediate parameters that the specified parameter has corresponding relation are updated, obtain as this renewal result Intermediate result;
Other each renewals during first node is asked to each described renewal that Section Point sends are asked, so as to Operations described below is performed for described other each renewal requests in Section Point, until each described to what is received Last updated in request is updated after request performs operations described below, using corresponding intermediate result as described Intermediate parameters after renewal:
Asked according to the renewal, the previous renewal request to being asked according to the renewal updates the middle knot for obtaining Fruit is updated, and obtains the intermediate result as this renewal result.
In the embodiment of the present application, each described other each renewal requests updated in request, are by first segment Point is identified according to the distributed transaction, and the previous renewal request for obtaining renewal request to Section Point is right The intermediate result answered, and generated according to the intermediate result for obtaining.
In the embodiment of the present application, in the implementation procedure of step S203, following steps be can also carry out:The One node sends to Section Point and carries the distributed acquisition request identify, for the intermediate result; First node receive Section Point it is determined that the acquisition request carries the distributed transaction identify when, to The intermediate result that first node is returned.
Another distributed transaction there is provided the embodiment of the present application above, with first node as executive agent The process of processing method is illustrated.
In actual applications, the distributed transaction processing method in Fig. 1 and Fig. 2 can apply to many business In scene.In order to make it easy to understand, below by taking a kind of practical business scene as an example, it is right in contrast to prior art Application of the above-mentioned distributed transaction processing method in the practical business scene is illustrated.
Fig. 3 shows the related system construction drawing of the practical business scene.The system is a billing and accounting system, Comprising application server, account server (cluster), billing and accounting system can also include database, affairs pipe Reason device (not shown in figure 3), wherein, the database may be located on account server, it is also possible to position In in addition to application server, in the other equipment being connected with account server.The user of distal end can lead to Cross router and be connected to application server, and application request is sent to application server.
Application server can provide the user the service related to the account of user, such as supplement with money, do shopping, manage The services such as wealth, life payment, account server is then responsible for the specific data of the account of user, the tool Volume data can be stored in database.Application server is when service is provided the user, it is necessary to ask account Server is operated accordingly to the specific data, such as inquiry operation, renewal operation.
In the embodiment of the present application, application server can be as above-mentioned first node, and account server can As above-mentioned Section Point.
It is assumed that in the practical business scene, certain business procedure is as follows:
The remaining sum of the account of user is 10 yuan, and user sends a request to account charging by application server 5 yuan, corresponding renewal of the application server according to request generation for remaining sum is asked, and issues account server;
Account server according to this it is corresponding update request, it is necessary to by balance updates be 15 yuan, return to application Server;
According to predetermined service logic, application server will also calculate one according to 15 yuan of remaining sum after renewal Interest (it is assumed that the interest for calculating is 0.01 yuan), and account server is asked according to the interest, to more 15 yuan of remaining sum after new is further updated to 15.01 yuan, then afterwards passes through 15.01 yuan of this results of remaining sum Application server returns to user.
It can be seen that, in the business procedure, application server will be to account server to specifying parameter (to use In the parameter of record remaining sum, for the ease of description, can be referred to as:Fractional figure) send more than one It is individual to update request, and latter renewal request will depend on the previous result for updating request (that is, middle As a result), if then realizing the business procedure based on distributed transaction, the problem that can cause to be referred in background technology.
In order to make it easy to understand, with Fig. 4, Fig. 5 to based on prior art and based on the embodiment of the present application offer Method, to the implementation steps of the business procedure.
Fig. 4 shown based on prior art, to being briefly described for the implementation steps of the business procedure.Database In can with balance field record fractional figure (above-mentioned specified parameter under the scene be fractional figure, Hereinafter referred to as:Remaining sum).
It can be seen that, the application server in Fig. 4 has altogether has initiated distributed transaction twice.It is distributed for the first time Formula affairs are used for 5 yuan for being supplemented with money according to user, and remaining sum is updated into 15 yuan by 10 yuan;It is distributed for second Formula affairs are used for according to interest calculating logic, the remaining sum 15 after being finished based on first time distributed transaction Unit, calculating bears interest 0.01 yuan, and then, remaining sum will be updated to 15.01 yuan by 15 yuan again.
Needing the reason for initiating second Distributed Transaction is:Renewal in second distributed transaction to remaining sum is needed Depend on the renewal result (that is, intermediate result) to remaining sum in first time distributed transaction, and unless After distributed transaction two-stage first time, intermediate result could be obtained, therefore, second distributed transaction In the modification of remaining sum cannot be merged performed in first time distributed transaction, and then need extraly to initiate the Quadratic distribution formula affairs.
Fig. 5 shows the method provided based on the embodiment of the present application, the letter to the implementation steps of the business procedure Single description.In database in addition to surplus field, it is additionally provided with more than band affairs corresponding with balance field Volume field (is used for record paper affairs fractional figure, above-mentioned intermediate parameters are more than band affairs under the scene Volume parameter, hereinafter referred to as:Band affairs remaining sum), distributed transaction id fields are (for recording described dividing Cloth Transaction Identifier, hereinafter referred to as:Distributed transaction id).
It can be seen that, the application server in Fig. 4 has only initiated a distributed transaction.
In this first stage of distributed transaction, according to the distributed transaction id that task manager is distributed, it is Distributed transaction id field assignment, and distributed transaction id fields are set up with balance field, band affairs remaining sum The corresponding relation of field, that is, distributed transaction id and remaining sum, the corresponding relation with affairs remaining sum.
Setting up the main purpose of the corresponding relation is:So that with letter of the affairs remaining sum with distributed transaction id Breath, then can allow the application under the distributed transaction that the request of distributed transaction id is carried by sending, Obtain the corresponding band affairs remaining sums of distributed transaction id;Without allowing answering not under the distributed transaction It is corresponding with affairs remaining sum with distributed transaction id is obtained;Such that it is able to prevent different distributed transactions Between produce interference.
Further, in the first stage, 5 yuan for being supplemented with money according to user, still can not by remaining sum by 10 yuan more It is new for 15 yuan (5 yuan for supplementing with money are actually what is filled for remaining sum, therefore, remaining sum is updated to by 10 yuan 15 yuan of operation can only be prepared and can not actually perform in the first stage, and second stage can only be waited to submit to Perform again afterwards), however, it is possible to 5 yuan supplemented with money according to remaining sum and user, will be 15 with affairs balance updates (such words is the equal of for unit:In the first stage, band affairs remaining sum replaces remaining sum, records intermediate result); And then, can be according to interest calculating logic, based on 15 yuan of band affairs remaining sum, calculating bears interest 0.01 yuan, 15.01 yuan will will be updated to by 15 yuan with affairs remaining sum again (to replace remaining sum with affairs remaining sum, continue to record Intermediate result).
In this second stage of distributed transaction, application server can submit this distributed transaction to, then 15.01 yuan of band affairs remaining sum can be used to remaining sum assignment, the remaining sum after assignment is 15.01 yuan.
It can be seen that, compared with mode of the prior art, identical business is realized, however, only need to A distributed transaction is initiated, the work load of application server can be reduced.
Two kinds of distributed transaction processing methods that the embodiment of the present application is provided are described in detail above, base In same thinking, the embodiment of the present application also provides corresponding distributing real time system device, such as Fig. 6, figure Shown in 7.
Fig. 6 illustrates for the distributing real time system apparatus structure corresponding to Fig. 1 that the embodiment of the present application is provided Figure, the distributed transaction is related to first node and the Section Point positioned at first node lower floor, described Distributed transaction is the affairs to specifying parameter to be updated in database, and described device is located at Section Point On, described device is specifically included:
Receiver module 601, the carrying distributed transaction mark, pin for receiving first node transmission At least two renewal requests to same specified parameter in database;
Respond module 602, in response to it is described update request, pair with the distributed transaction mark and The intermediate parameters that the specified parameter has corresponding relation are updated, the intermediate parameters after being updated;
Update module 603, for according to the intermediate parameters after the renewal, updating the specified parameter.
The respond module 602 specifically for:
Request is updated for first in each described renewal request for receiving, is performed:According to described first It is individual to update request, pair there is the centre of corresponding relation with distributed transaction mark and the specified parameter Parameter is updated, and obtains the intermediate result as this renewal result;
For other each renewal requests in each described renewal request for receiving, operations described below is performed, directly After last renewal request into each described renewal request to receiving performs operations described below, will be corresponding Intermediate result as the intermediate parameters after the renewal:
Asked according to the renewal, the previous renewal request to being asked according to the renewal updates the middle knot for obtaining Fruit is updated, and obtains the intermediate result as this renewal result.
Other each renewal requests in each described renewal request that Section Point is received, are by first node Identified according to the distributed transaction, correspondence is asked in the previous renewal for obtaining renewal request to Section Point Intermediate result, and according to obtain the intermediate result generate.
Described device can also include:
Module 604 is returned to, for when the acquisition request for the intermediate result for receiving first node transmission When, it is determined that the acquisition request carries the distributed transaction identify when, in returning to this to first node Between result.
The respond module 602 specifically for:According to the specified parameter, pair with the distributed transaction mark The intermediate parameters that knowledge and the specified parameter have corresponding relation carry out assignment;According to described first renewal Request, to assignment after the intermediate parameters be updated.
Fig. 7 illustrates for the distributing real time system apparatus structure corresponding to Fig. 4 that the embodiment of the present application is provided Figure, the distributed transaction is related to first node and the Section Point positioned at first node lower floor, described Distributed transaction is the affairs to specifying parameter to be updated in database, and described device is located at first node On, described device is specifically included:
Sending module 701, for the application request sent in response to user, initiates the distributed transaction, And obtain the distributed transaction mark;
Request module 702, for sent to Section Point carry it is that the distributed transaction is identified, for number According at least two renewal requests of same specified parameter in storehouse, in order to Section Point in response to the renewal Request, pair intermediate parameters for having corresponding relation with distributed transaction mark and the specified parameter are entered Row updates, the intermediate parameters after being updated, and according to the intermediate parameters after the renewal, updates described specifying Parameter;
Acquisition module 703, for obtain update after described specified parameter and return to the user.
The request module 702 specifically for:
First node sent to Section Point carry it is that the distributed transaction is identified, for same in database First in each described renewal request of individual specified parameter updates request, in order to Section Point for described First updates request, performs:According to described first update request, pair with the distributed transaction identify And the intermediate parameters that the specified parameter has corresponding relation are updated, obtain as this renewal result Intermediate result;
Other each renewals during first node is asked to each described renewal that Section Point sends are asked, so as to Operations described below is performed for described other each renewal requests in Section Point, until each described to what is received Last updated in request is updated after request performs operations described below, using corresponding intermediate result as described Intermediate parameters after renewal:
Asked according to the renewal, the previous renewal request to being asked according to the renewal updates the middle knot for obtaining Fruit is updated, and obtains the intermediate result as this renewal result.
Each described other each renewal requests updated in request, are according to the distributed thing by first node Corresponding intermediate result, and root are asked in business mark, the previous renewal for obtaining renewal request to Section Point Generated according to the intermediate result for obtaining.
Described device can also include:
Middle acquisition module 704, for sent to Section Point carry the distributed mark, for this The acquisition request of intermediate result;Section Point is received it is determined that the acquisition request carries the distributed thing During business mark, to the intermediate result that first node is returned.
By the device in Fig. 6 and/or Fig. 7, first node can be top service device, and Section Point can To be underlying services device, each renewal for specifying parameter to perform is directed to due to intermediate parameters can be utilized to preserve Renewal result afterwards, as intermediate result, for carrying out next update, and then can be according to repeatedly renewal The intermediate result for obtaining afterwards updates specified parameter, and this process can be completed in a distributed transaction, because This, extra distributed transaction is initiated without top service device, can reduce work load.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot Close the form of the embodiment in terms of software and hardware.And, the present invention can be used and wherein wrapped at one or more Containing computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) on implement computer program product form.
The present invention is produced with reference to method according to embodiments of the present invention, equipment (system) and computer program The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions realize flow chart and / or block diagram in each flow and/or the flow in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions to all-purpose computer, special-purpose computer, insertion can be provided The processor of formula processor or other programmable data processing devices is producing a machine so that by calculating The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device of the function of being specified in individual flow or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or the treatment of other programmable datas to set In the standby computer-readable memory for working in a specific way so that storage is in the computer-readable memory Instruction produce include the manufacture of command device, the command device realization in one flow of flow chart or multiple The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of being specified in flow or multiple one square frame of flow and/or block diagram or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/defeated Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory And/or the form, such as read-only storage (ROM) or flash memory (flash such as Nonvolatile memory (RAM) RAM).Internal memory is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by appointing What method or technique realizes information Store.Information can be computer-readable instruction, data structure, program Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its The random access memory (RAM) of his type, read-only storage (ROM), electrically erasable are read-only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated The information that equipment is accessed.Defined according to herein, computer-readable medium does not include temporary computer-readable matchmaker Body (transitory media), such as data-signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, commodity or equipment including a series of key elements are not only wrapped Include those key elements, but also other key elements including being not expressly set out, or also include for this process, Method, commodity or the intrinsic key element of equipment.In the absence of more restrictions, by sentence " including One ... " key element that limits, it is not excluded that in the process including the key element, method, commodity or set Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.And, the application can be used and wherein include calculating at one or more Machine usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, Optical memory etc.) on implement computer program product form.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle Any modification, equivalent substitution and improvements of work etc., within the scope of should be included in claims hereof.

Claims (18)

1. a kind of distributed transaction processing method, the distributed transaction is related to first node and is located at The Section Point of first node lower floor, the distributed transaction is updated to specifying parameter in database Affairs, it is characterised in that methods described includes:
Section Point receive that first node sends it is carrying distributed transaction mark, in database At least two renewal requests of same specified parameter;
Section Point in response to it is described update request, pair with the distributed transaction mark and the specified ginseng Intermediate parameters of the number with corresponding relation are updated, the intermediate parameters after being updated;
Section Point updates the specified parameter according to the intermediate parameters after the renewal.
2. the method for claim 1, it is characterised in that update request in response to described, pair with The intermediate parameters that the distributed transaction mark and the specified parameter have corresponding relation are updated, and obtain Intermediate parameters after to renewal, specifically include:
Request is updated for first in each described renewal request for receiving, is performed:According to described first It is individual to update request, pair there is the centre of corresponding relation with distributed transaction mark and the specified parameter Parameter is updated, and obtains the intermediate result as this renewal result;
For other each renewal requests in each described renewal request for receiving, operations described below is performed, directly After last renewal request into each described renewal request to receiving performs operations described below, will be corresponding Intermediate result as the intermediate parameters after the renewal:
Asked according to the renewal, the previous renewal request to being asked according to the renewal updates the middle knot for obtaining Fruit is updated, and obtains the intermediate result as this renewal result.
3. method as claimed in claim 2, it is characterised in that Section Point receive it is each described more In new request other each update request, be to be identified according to the distributed transaction by first node, to the Corresponding intermediate result is asked in the previous renewal that two nodes obtain renewal request, and according to obtain this in Between result generation.
4. method as claimed in claim 3, it is characterised in that methods described also includes:
Section Point when receive first node transmission for the intermediate result acquisition ask when, it is determined that When the acquisition request carries the distributed transaction mark, the intermediate result is returned to first node.
5. method as claimed in claim 2, it is characterised in that update request according to described first, Pair carried out more with distributed transaction mark and the specified parameter intermediate parameters with corresponding relation Newly, specifically include:
According to the specified parameter, pair with the distributed transaction mark and the specified parameter have it is corresponding The intermediate parameters of relation carry out assignment;
According to described first update request, to assignment after the intermediate parameters be updated.
6. a kind of distributed transaction processing method, the distributed transaction is related to first node and is located at The Section Point of first node lower floor, the distributed transaction is updated to specifying parameter in database Affairs, it is characterised in that methods described includes:
The application request that first node sends in response to user, initiates the distributed transaction, and obtain described Distributed transaction is identified;
First node sent to Section Point carry it is that the distributed transaction is identified, for same in database Individual specified parameter at least two renewal request, in order to Section Point in response to it is described update request, pair with The intermediate parameters that the distributed transaction mark and the specified parameter have corresponding relation are updated, and obtain Intermediate parameters after to renewal, according to the intermediate parameters after the renewal, update the specified parameter;
First node obtains the described specified parameter after updating and returns to the user.
7. method as claimed in claim 6, it is characterised in that first node sends to Section Point and takes At least two renewals with distributed transaction mark, for same specified parameter in database are asked Ask, specifically include:
First node sent to Section Point carry it is that the distributed transaction is identified, for same in database First in each described renewal request of individual specified parameter updates request, in order to Section Point for described First updates request, performs:According to described first update request, pair with the distributed transaction identify And the intermediate parameters that the specified parameter has corresponding relation are updated, obtain as this renewal result Intermediate result;
Other each renewals during first node is asked to each described renewal that Section Point sends are asked, so as to Operations described below is performed for described other each renewal requests in Section Point, until each described to what is received Last updated in request is updated after request performs operations described below, using corresponding intermediate result as described Intermediate parameters after renewal:
Asked according to the renewal, the previous renewal request to being asked according to the renewal updates the middle knot for obtaining Fruit is updated, and obtains the intermediate result as this renewal result.
8. method as claimed in claim 7, it is characterised in that it is each it is described update in request other are each It is individual to update request, it is to be identified according to the distributed transaction by first node, obtain the renewal to Section Point Corresponding intermediate result is asked in the previous renewal of request, and generated according to the intermediate result for obtaining.
9. method as claimed in claim 8, it is characterised in that methods described also includes:
First node sends to Section Point and carries the distributed acquisition identify, for the intermediate result Request;
First node receives Section Point it is determined that the acquisition request carries the distributed transaction mark When, to the intermediate result that first node is returned.
10. a kind of distributing real time system device, the distributed transaction is related to first node and is located at The Section Point of first node lower floor, the distributed transaction is updated to specifying parameter in database Affairs, it is characterised in that described device is located on Section Point, including:
Receiver module, for receive first node transmission it is carrying distributed transaction mark, for number According at least two renewal requests of same specified parameter in storehouse;
Respond module, in response to it is described update request, pair with the distributed transaction mark and it is described The intermediate parameters that specified parameter has corresponding relation are updated, the intermediate parameters after being updated;
Update module, for according to the intermediate parameters after the renewal, updating the specified parameter.
11. devices as claimed in claim 10, it is characterised in that the respond module specifically for:
Request is updated for first in each described renewal request for receiving, is performed:According to described first It is individual to update request, pair there is the centre of corresponding relation with distributed transaction mark and the specified parameter Parameter is updated, and obtains the intermediate result as this renewal result;
For other each renewal requests in each described renewal request for receiving, operations described below is performed, directly After last renewal request into each described renewal request to receiving performs operations described below, will be corresponding Intermediate result as the intermediate parameters after the renewal:
Asked according to the renewal, the previous renewal request to being asked according to the renewal updates the middle knot for obtaining Fruit is updated, and obtains the intermediate result as this renewal result.
12. devices as claimed in claim 11, it is characterised in that it is each described that Section Point is received Other each renewal requests in request are updated, is identified according to the distributed transaction by first node, to Corresponding intermediate result is asked in the previous renewal that Section Point obtains renewal request, and should according to what is obtained Intermediate result generation.
13. devices as claimed in claim 12, it is characterised in that described device also includes:
Return module, for when receive first node transmission for the intermediate result acquisition ask when, When it is determined that the acquisition request carries the distributed transaction mark, return to the centre to first node and tie Really.
14. devices as claimed in claim 11, it is characterised in that the respond module specifically for: According to the specified parameter, pair with the distributed transaction mark and the specified parameter there is corresponding relation Intermediate parameters carry out assignment;According to described first update request, to assignment after the intermediate parameters enter Row updates.
A kind of 15. distributing real time system devices, the distributed transaction is related to first node and is located at The Section Point of first node lower floor, the distributed transaction is updated to specifying parameter in database Affairs, it is characterised in that described device is located on first node, including:
Sending module, for the application request sent in response to user, initiates the distributed transaction, and obtain Take the distributed transaction mark;
Request module, for sent to Section Point carry it is that the distributed transaction is identified, for database In same specified parameter at least two renewal request, in order to Section Point in response to the renewal please Ask, pair intermediate parameters for having corresponding relation with distributed transaction mark and the specified parameter are carried out Update, the intermediate parameters after being updated, according to the intermediate parameters after the renewal, update the specified ginseng Number;
Acquisition module, for obtain update after described specified parameter and return to the user.
16. devices as claimed in claim 15, it is characterised in that the request module specifically for:
First node sent to Section Point carry it is that the distributed transaction is identified, for same in database First in each described renewal request of individual specified parameter updates request, in order to Section Point for described First updates request, performs:According to described first update request, pair with the distributed transaction identify And the intermediate parameters that the specified parameter has corresponding relation are updated, obtain as this renewal result Intermediate result;
Other each renewals during first node is asked to each described renewal that Section Point sends are asked, so as to Operations described below is performed for described other each renewal requests in Section Point, until each described to what is received Last updated in request is updated after request performs operations described below, using corresponding intermediate result as described Intermediate parameters after renewal:
Asked according to the renewal, the previous renewal request to being asked according to the renewal updates the middle knot for obtaining Fruit is updated, and obtains the intermediate result as this renewal result.
17. devices as claimed in claim 16, it is characterised in that it is each it is described update request in other Each updates request, is identified according to the distributed transaction by first node, and this is obtained more to Section Point Corresponding intermediate result is asked in the previous renewal of new request, and generated according to the intermediate result for obtaining.
18. devices as claimed in claim 17, it is characterised in that described device also includes:
Middle acquisition module, for sent to Section Point carry the distributed mark, in the middle of this The acquisition request of result;Section Point is received it is determined that the acquisition request carries the distributed transaction mark During knowledge, to the intermediate result that first node is returned.
CN201510896124.7A 2015-12-08 Distributed transaction processing method and device Active CN106855821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510896124.7A CN106855821B (en) 2015-12-08 Distributed transaction processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510896124.7A CN106855821B (en) 2015-12-08 Distributed transaction processing method and device

Publications (2)

Publication Number Publication Date
CN106855821A true CN106855821A (en) 2017-06-16
CN106855821B CN106855821B (en) 2024-07-02

Family

ID=

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046523A (en) * 2019-03-15 2019-07-23 阿里巴巴集团控股有限公司 Intelligent contract method of calibration and device and electronic equipment
CN111639089A (en) * 2020-05-29 2020-09-08 北京奇艺世纪科技有限公司 Transaction processing method and device, electronic equipment and computer readable storage medium
CN111930830A (en) * 2020-06-22 2020-11-13 心有灵犀科技股份有限公司 Distributed transaction data processing method and system based on shared database

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193991A (en) * 2011-03-25 2011-09-21 北京世纪互联工程技术服务有限公司 OLTP(on-line transaction processing)-based data modifying method and system as well as graphic database server
CN102629221A (en) * 2012-02-28 2012-08-08 华为技术有限公司 Task synchronization method, device and system for distributed shared memory structure
CN102831156A (en) * 2012-06-29 2012-12-19 浙江大学 Distributed transaction processing method on cloud computing platform
CN103345502A (en) * 2013-07-01 2013-10-09 曙光信息产业(北京)有限公司 Transaction processing method and system of distributed type database
CN104462127A (en) * 2013-09-22 2015-03-25 阿里巴巴集团控股有限公司 Recorded data updating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193991A (en) * 2011-03-25 2011-09-21 北京世纪互联工程技术服务有限公司 OLTP(on-line transaction processing)-based data modifying method and system as well as graphic database server
CN102629221A (en) * 2012-02-28 2012-08-08 华为技术有限公司 Task synchronization method, device and system for distributed shared memory structure
CN102831156A (en) * 2012-06-29 2012-12-19 浙江大学 Distributed transaction processing method on cloud computing platform
CN103345502A (en) * 2013-07-01 2013-10-09 曙光信息产业(北京)有限公司 Transaction processing method and system of distributed type database
CN104462127A (en) * 2013-09-22 2015-03-25 阿里巴巴集团控股有限公司 Recorded data updating method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046523A (en) * 2019-03-15 2019-07-23 阿里巴巴集团控股有限公司 Intelligent contract method of calibration and device and electronic equipment
CN111639089A (en) * 2020-05-29 2020-09-08 北京奇艺世纪科技有限公司 Transaction processing method and device, electronic equipment and computer readable storage medium
CN111639089B (en) * 2020-05-29 2024-03-08 北京奇艺世纪科技有限公司 Transaction processing method, transaction processing device, electronic equipment and computer readable storage medium
CN111930830A (en) * 2020-06-22 2020-11-13 心有灵犀科技股份有限公司 Distributed transaction data processing method and system based on shared database

Similar Documents

Publication Publication Date Title
CN103186466B (en) Information interactive testing device and method based on association automatic generating test case
CN108595157A (en) Processing method, device, equipment and the storage medium of block chain data
CN110298740A (en) Data account checking method, device, equipment and storage medium
CN107819861A (en) Business data processing method, apparatus and system
US20210049715A1 (en) Blockchain-based data procesing method, apparatus, and electronic device
CN110503558A (en) A kind of processing method and processing device based on block catenary system
CN107368259A (en) A kind of method and apparatus that business datum is write in the catenary system to block
CN109285069B (en) Resource transfer method, device and server
CN109933593B (en) Asset data recording method, device and equipment
CN108595451A (en) Service request processing method and device
CN107274023A (en) Flow of insuring generation method, insure request processing method and device and electronic equipment
CN110147686A (en) A kind of storage method, system, device and the equipment of personal asset change record
CN104346365A (en) Device and method for determining specific service associated logs
CN110349019A (en) Verification method, device and equipment in a kind of piece of chain type account book
CN109977638A (en) Intelligent contract update method and system, storage medium and terminal based on ether mill
CN110019111A (en) Data processing method, device, storage medium and processor
CN110399309A (en) A kind of test data generating method and device
CN107800733A (en) The generation method and equipment of session identification in distributed system
CN110147410A (en) Data verification method, system, device and equipment in a kind of piece of chain type account book
CN110347679A (en) A kind of date storage method based on receipt, device and equipment
CN106126427A (en) A kind of method and system of fast quick-recovery test
CN106445933A (en) Data processing method and system
CN109684033A (en) Cloud platform bare machine management method, storage medium, electronic equipment and system
CN106990974A (en) A kind of APP applications update method, device and electronic equipment
CN111680023B (en) Migration data checking method and device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201013

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

Applicant after: Innovative advanced technology Co.,Ltd.

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

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201013

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

Applicant after: Advanced innovation technology Co.,Ltd.

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

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant