CN110012008A - Heterogeneous data source distributed coordination coherence method and system based on http protocol - Google Patents

Heterogeneous data source distributed coordination coherence method and system based on http protocol Download PDF

Info

Publication number
CN110012008A
CN110012008A CN201910263140.0A CN201910263140A CN110012008A CN 110012008 A CN110012008 A CN 110012008A CN 201910263140 A CN201910263140 A CN 201910263140A CN 110012008 A CN110012008 A CN 110012008A
Authority
CN
China
Prior art keywords
http protocol
data source
interface
heterogeneous data
distributed coordination
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
CN201910263140.0A
Other languages
Chinese (zh)
Other versions
CN110012008B (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.)
Shandong Guozi Software Co Ltd
Original Assignee
Shandong Guozi Software Co 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 Shandong Guozi Software Co Ltd filed Critical Shandong Guozi Software Co Ltd
Priority to CN201910263140.0A priority Critical patent/CN110012008B/en
Publication of CN110012008A publication Critical patent/CN110012008A/en
Application granted granted Critical
Publication of CN110012008B publication Critical patent/CN110012008B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Abstract

The present disclosure proposes heterogeneous data source distributed coordination coherence methods and system based on http protocol, and the service interface based on http protocol is called to obtain the corresponding things session number Transaction ID of heterogeneous data source;Using serial or parallel programming model, the related of http protocol is called to execute interface, transmitting Transaction ID and execution data encryption message;Http protocol executes the state of interface feedback execution, if the execution state that all http protocols execute interface feedback is all success status, transmitting Transaction ID and submission things encrypt message;If having http protocol to execute the execution state of interface feedback is status of fail, transmits Transaction ID and rollback things encrypts message, realize heterogeneous data source distributed coordination consistency.It solves the inter-library distributed coordination consistency of heterogeneous database, data packetloss, verification and network jitter is solved the problems, such as using the http protocol of lightweight.Solve the problems, such as that http protocol is stateless by way of unified Session ID.

Description

Heterogeneous data source distributed coordination coherence method and system based on http protocol
Technical field
This disclosure relates to computer data processing technology field, more particularly to the heterogeneous data source based on http protocol point Cloth coordinative coherence method and system.
Background technique
It is existing to transactional database when carrying out inter-library or more libraries and carrying out distributed coordination consistency treatment, be based on The database communication agreement of TCP, communication process is cumbersome, and the data packet of communication is bigger, and very poor to heterogeneous database support, It is only used for the things type database of same type identical version under normal conditions.
If there is heterogeneous data source inter-library distributed coordination consistency treatment when, can not just support.Therefore in order to reach To distributed coordination consistency purpose, it is necessary to introduce the mode of message-oriented middleware or customized Transmission Control Protocol, realize isomery Distributed coordination consistency between data source.
Inventor has found under study for action, the distributed coordination consistency between heterogeneous data source during realization, in order to Guarantee that data are finally consistent, introduces more intermediate data in part between needing in the message to reach the final consistent of data, example Such as: if carrying out distributed coordination consistency using based on Transmission Control Protocol, needing to consider data packetloss, verification, network jitter etc. Many problems solve data safety and stability, it is seen then that realize using the above scheme in technology upper more complicated.
Summary of the invention
The first purpose of this specification embodiment is to provide the heterogeneous data source distributed coordination one based on http protocol Cause property method, data packetloss, verification and network jitter are solved the problems, such as using the http protocol of lightweight.Pass through unification The mode of SessionID solves the problems, such as that http protocol is stateless.
This specification embodiment provides the heterogeneous data source distributed coordination coherence method based on http protocol, passes through Following technical scheme is realized:
Include:
The service interface based on http protocol is called to obtain the corresponding things session number Transaction of heterogeneous data source ID;
Using serial or parallel programming model, calls the related of http protocol to execute interface, transmit Transaction ID With execution data encryption message;
Http protocol executes the state that interface feedback executes, if all http protocols execute the execution state of interface feedback all It is called the related of http protocol to execute interface with concurrently or sequentially programming model for success status, is transmitted Transaction ID Message is encrypted with submission things;
If having http protocol to execute the execution state of interface feedback is status of fail, concurrently or sequentially programming model is used, It calls the related of http protocol to execute interface, transmits Transaction ID and rollback things encrypts message, realize isomeric data Source distribution formula coordinative coherence.
Disclosure above-mentioned technical proposal solves the inter-library distributed coordination consistency of heterogeneous database, using lightweight Http protocol solves the problems, such as data packetloss, verification and network jitter.Http protocol is solved by way of unified SessionID Stateless problem.
The second purpose of this specification embodiment is to provide the heterogeneous data source distributed coordination one based on http protocol Cause property system, data packetloss, verification and network jitter are solved the problems, such as using the http protocol of lightweight.Pass through unification The mode of SessionID solves the problems, such as that http protocol is stateless.
This specification embodiment provides the heterogeneous data source distributed coordination consistency system based on http protocol, passes through Following technical scheme is realized:
Include:
Things session number acquiring unit, is configured as: the service interface based on http protocol being called to obtain isomeric data The corresponding things session number Transaction ID in source;
Data cell is transmitted, is configured as: using serial or parallel programming model, related execute of http protocol being called to connect Mouthful, transmitting Transaction ID and execution data encryption message;
Interface feedback unit, is configured as: http protocol executes the state that interface feedback executes, if all http protocols are held The execution state of line interface feedback is all success status, with concurrently or sequentially programming model, the related of http protocol is called to execute Interface, transmitting Transaction ID and submission things encrypt message;
If having http protocol to execute the execution state of interface feedback is status of fail, concurrently or sequentially programming model is used, It calls the related of http protocol to execute interface, transmits Transaction ID and rollback things encrypts message, realize isomeric data Source distribution formula coordinative coherence.
Disclosure above-mentioned technical proposal solves the inter-library distributed coordination consistency of heterogeneous database, using lightweight Http protocol solves the problems, such as data packetloss, verification and network jitter.Http protocol is solved by way of unified SessionID Stateless problem.
The third purpose of this specification embodiment is to provide a kind of computer equipment, using the http protocol of lightweight come Solve the problems, such as data packetloss, verification and network jitter.Http protocol is solved by way of unified SessionID statelessly to ask Topic.
This specification embodiment provides a kind of computer equipment, is achieved through the following technical solutions:
Including memory, processor and the computer program that can be run on a memory and on a processor is stored, it is special Sign is that the processor realizes the heterogeneous data source distributed coordination consistency side based on http protocol when executing described program The step of method.
The fourth purpose of this specification embodiment is to provide a kind of computer readable storage medium, using lightweight Http protocol solves the problems, such as data packetloss, verification and network jitter.Http protocol is solved by way of unified SessionID Stateless problem.
This specification embodiment provides a kind of computer readable storage medium, is achieved through the following technical solutions:
A kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step of heterogeneous data source distributed coordination coherence method based on http protocol is realized when execution.
This specification embodiment also provides a kind of Database Systems, including several heterogeneous databases and server, described Heterogeneous data source is stored in heterogeneous database, the server is configured as using the above-mentioned isomeric data based on http protocol Source distribution formula coordinative coherence method realizes heterogeneous data source distributed coordination consistency between disparate databases.
Compared with prior art, the beneficial effect of the disclosure is:
Disclosed technique scheme is realized using the technology of the distributed coordination consistency based on http protocol, is based on two sections Formula things submits model come what is realized, and developer is easy to use and understand, and is realized based on http protocol.HTTP association View is stateless protocol, agreement light weight, communication efficiency height.
And http protocol, essentially all of exploitation voice have all carried out communication technology realization to the agreement, may be implemented Really across voice.And the technology of the distributed coordination consistency based on http protocol is realized, is by http protocol logarithm It is converted according to library communication protocol, solves the distributed coordination consistency problem of heterogeneous data source.
The conversion communicated between disparate databases is that have respective database communication driving to complete, the conversion of the disclosure, only It is the message that the data message in http protocol is converted to the needs of disparate databases driving.
Disclosed technique scheme http protocol can penetrate network firewall, this means that using based on http protocol The technology of distributed coordination consistency is realized, not only consistent for the distributed coordination in this computer room, or even is permitted in network Perhaps it is harmonious that the remote distributed across computer room may be implemented in the case where.
Detailed description of the invention
The Figure of description for constituting a part of this disclosure is used to provide further understanding of the disclosure, and the disclosure is shown Meaning property embodiment and its explanation do not constitute the improper restriction to the disclosure for explaining the disclosure.
Fig. 1 is heterogeneous data source distributed coordination coherence method process of the embodiment of the present disclosure one based on http protocol Schematic diagram;
Fig. 2 is heterogeneous data source distributed coordination consistency system flow of the embodiment of the present disclosure two based on http protocol Schematic diagram.
Fig. 3 is the sub three computer equipment structure composition schematic diagrams of the embodiment of the present disclosure;
Fig. 4 is the sub four Database Systems composed structure schematic diagrames of the embodiment of the present disclosure.
Specific embodiment
It is noted that following detailed description is all illustrative, it is intended to provide further instruction to the disclosure.Unless another It indicates, all technical and scientific terms used herein has usual with disclosure person of an ordinary skill in the technical field The identical meanings of understanding.
It should be noted that term used herein above is merely to describe specific embodiment, and be not intended to restricted root According to the illustrative embodiments of the disclosure.As used herein, unless the context clearly indicates otherwise, otherwise singular Also it is intended to include plural form, additionally, it should be understood that, when in the present specification using term "comprising" and/or " packet Include " when, indicate existing characteristics, step, operation, device, component and/or their combination.
Because http protocol is Internet basic agreement, various programming voices have all carried out communication to http protocol and have realized. Even javascript this kind of front end scripting language has also carried out communication to http protocol and has realized.
Therefore under the spring tide of front and back end separation, realize that distributed coordination consistency is also technology development based on http protocol Trend.
Embodiment of the disclosure son in, distribution is the distribution of data source, refer specifically to data source be distributed in it is different In the database of host, due to different hosts be it is distributed, data source is also distributed.About consistency, it is Finger similarly operates the data in data, and as a result identical, therefore, processing result is consistent.
Such as operation is supplemented with money in Alipay, the database of computer room needs value added where Alipay.In banking system Database needs to do corresponding reduction.The two operate or succeed simultaneously or fail simultaneously, and there can be no Alipay increases Success, but bank withholds the case where failure.All succeed or all fail, referred to as consistency.The database of Alipay The different hosts of different computer rooms are distributed across with banking data base, so being distributed.
Http protocol is based on Transmission Control Protocol, and by way of self-editing definition application layer protocol being using Transmission Control Protocol can be with It realizes safe and stable.But it if needs to carry out for different language based entirely on the self-editing application layer protocol of Transmission Control Protocol The parsing and processing of agreement.Http protocol, current all voices have complete development kit, do not need to carry out for different phonetic Separately encoded and processing.
Such as java and C#, if all using the processing of the self-editing agreement progress distributed coordination consistency based on TCP, The software package with java individually for one java of protocol development is needed, then needs to develop the protocol software of a C# according to C# Packet, if there is more voices, then the workload developed can be very big.It is simply direct not as good as http protocol, because of all languages Sound has all been directly integrated http protocol software package.
Examples of implementation one
The examples of implementation disclose the heterogeneous data source distributed coordination coherence method based on http protocol, entire scheme It is to submit model to realize referring to two-part things general at present, referring specifically to shown in attached drawing 1.
Step 1: by calling the service interface based on http protocol to obtain things session number Transaction ID.
Step 2: using serial or parallel programming model, the related of http protocol is called to execute interface, transmitting Transaction ID and execution data encryption message.The state that interface feedback executes.
Step 3: if the execution state of total interface feedback is all success, with concurrently or sequentially programming model, calling The related of http protocol executes interface, and transmitting Transaction ID and submission things encrypt message, and the content of the message is to mention Hand over things order.
If there is the execution state of interface feedback is failure, then with concurrently or sequentially programming model, http protocol is called Correlation executes interface, transmits Transaction ID and rollback things encrypts message.Correlation is related to current business scene.Thing Instruction object rollback or that things is cancelled.
In this step, success can feed back success, can feed back error and exception information extremely.
Step 4: destroying Transaction ID.
In the examples of implementation, model is submitted about two-part things, refers to that entire things is divided into two parts.First Part is: the part try, that is, attempts to carry out lock fixed sum data modification.
Second step part is: commit or rollback, that is to say, that if data can submit thing with locking and modifying Object is cancelled things and is not made an amendment if data do not allow to lock or modify.
In the examples of implementation, serial programming is exactly common single thread programming.For example, connecting interface one executes order, Then it reconnects interface two and executes order, such programming mode is serial programming.
Multiple programming is multi-thread programming.Start multiple threads simultaneously to go to execute interface one or interface two.By parallel The mode of programming can reduce runing time, improve operational efficiency.
Because the runing time addition of serial programming obtains, multiple programming is most time-consuming for maximum duration.
In the examples of implementation, correlation is the meaning relevant with current business logic, such as when needing to add function, is adjusted With addition interface.
In the examples of implementation, contained in data encryption message need to be implemented interface execution specific data manipulation refer to It enables.
To above-mentioned steps 4, entire things consistency is had been completed, so the presence of things number is nonsensical , in order to avoid occupied space, so needing to destroy.
It is somebody's turn to do in embodiment tracking, the interface of distributed consensus, exactly all calling all feeds back success, so all connect Mouth is carried out success.If there is an interface has fed back failure or mistake exception, then operation is cancelled and destroyed to entire things.
The working principle of entire step is: in individual interface, passing through the Transaction ID with unique identification Corresponding relationship is established come the database connection object in same distinct interface.It is searched by Transaction ID in interface respectively Database connection object, prevent loss of state.
When a specific examples of implementation are realized, the heterogeneous data source distributed coordination coherence method based on http protocol, Using following scheme:
Step 1: preparing a WEB middleware, for providing HTTP request and response.
Step 2: preparing the database middleware of two isomeries, and different tables is respectively created.
Step 3: coding realizes first HTTP interface, and calling to return by http protocol has unique identification Transaction ID。
Step 4: coding realizes two HTTP interfaces, the thinking that the two interfaces are realized are as follows: by request message respectively Transaction ID and message content carry out the execution, submission or things rollback of database.By unique Transaction ID is established with heterogeneous database connecting object and is associated with.
Step 5: measure of merit being carried out to scheme by two-part things model, encodes the side according to two-part things model Formula carries out coding calling.
In this embodiment, because being the interface of http protocol, need to prepare WEB middleware, or be WEB service Device, for providing HTTP interface.
It is somebody's turn to do in this embodiment, because being heterogeneous database, at least preparation two, such as a mysql, one Oracle's.Then a table is created in mysql, and a table is created in oracle.
In this embodiment, it because to realize that the distributed coordination of heterogeneous data source is consistent, has to prepare at least Two HTTP interfaces.
In this embodiment, because being heterogeneous database, at least two HTTP interfaces.
In this embodiment, it because submitting model using two-part, executes, submission and rollback.
In this embodiment, in step 4, such as: interface 1 is feedback transactionid;Interface 2 is adding for mysql Add operation interface;Interface 3 is the addition operation interface of oracle.
Program realization process:
The first step, coding calling interface 1 are numbered.
Second step, calling interface 2, the parameter of calling are the instruction numbered and needed to be implemented respectively.
Third step, calling interface 3, the parameter of calling are the instruction numbered and needed to be implemented respectively.
4th step, after interface 2 or interface 3 feed back success flag, then calling interface 2, the parameter of calling are number respectively It is instructed with submitting.Calling interface 3, the parameter of calling are number and submission instruction respectively.
Examples of implementation two
The examples of implementation disclose the heterogeneous data source distributed coordination consistency system based on http protocol, referring specifically to Shown in attached drawing 2, this specification embodiment provides the heterogeneous data source distributed coordination consistency system based on http protocol, leads to Following technical scheme is crossed to realize:
Include:
Things session number acquiring unit, is configured as: the service interface based on http protocol being called to obtain isomeric data The corresponding things session number Transaction ID in source;
Data cell is transmitted, is configured as: using serial or parallel programming model, related execute of http protocol being called to connect Mouthful, transmitting Transaction ID and execution data encryption message;
Interface feedback unit, is configured as: http protocol executes the state that interface feedback executes, if all http protocols are held The execution state of line interface feedback is all success status, with concurrently or sequentially programming model, the related of http protocol is called to execute Interface, transmitting Transaction ID and submission things encrypt message;
If having http protocol to execute the execution state of interface feedback is status of fail, concurrently or sequentially programming model is used, It calls the related of http protocol to execute interface, transmits Transaction ID and rollback things encrypts message, realize isomeric data Source distribution formula coordinative coherence.
Disclosure above-mentioned technical proposal solves the inter-library distributed coordination consistency of heterogeneous database, using lightweight Http protocol solves the problems, such as data packetloss, verification and network jitter.Http protocol is solved by way of unified SessionID Stateless problem.
It should be noted that although being referred to several modules or submodule of equipment in the detailed description above, it is this Division is only exemplary rather than enforceable.In fact, in accordance with an embodiment of the present disclosure, two or more above-described moulds The feature and function of block can embody in a module.Conversely, the feature and function of an above-described module can be with Further division is to be embodied by multiple modules.
Specific steps in the examples of implementation can be found in examples of implementation one, no longer be described in detail herein.
Examples of implementation three
The examples of implementation disclose this specification embodiment and are to provide a kind of computer equipment, referring to shown in attached drawing 3, adopt Data packetloss, verification and network jitter are solved the problems, such as with the http protocol of lightweight.The solution by way of unified SessionID The certainly stateless problem of http protocol.
This specification embodiment provides a kind of computer equipment, is achieved through the following technical solutions:
Including memory, processor and the computer program that can be run on a memory and on a processor is stored, it is special Sign is that the processor realizes the heterogeneous data source distributed coordination consistency side based on http protocol when executing described program The step of method.
Specific steps in the examples of implementation can be found in examples of implementation one, no longer be described in detail herein.
Computer-readable program instructions described in the disclosure can download to each meter from computer readable storage medium Calculation/processing equipment, or outer computer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Or External memory equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, Gateway computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment connect from network Computer-readable program instructions are received, and forward the computer-readable program instructions, for being stored in each calculating/processing equipment Computer readable storage medium in.
Examples of implementation four
This specification embodiment also provides a kind of Database Systems, referring to shown in attached drawing 4, including several heterogeneous databases And server, heterogeneous data source is stored in the heterogeneous database, the server is configured as using above-mentioned based on HTTP The heterogeneous data source distributed coordination coherence method of agreement realizes heterogeneous data source distributed coordination one between disparate databases Cause property.
Specific steps in the examples of implementation can be found in examples of implementation one, no longer be described in detail herein.
Disclosed technique scheme http protocol can penetrate network firewall, this means that using based on http protocol The technology of distributed coordination consistency is realized, not only consistent for the distributed coordination in this computer room, or even is permitted in network Perhaps it is harmonious that the remote distributed across computer room may be implemented in the case where.
When a specific embodiment is realized, several heterogeneous databases can be located in a computer room, realize isomery in the computer room The distribution of data between database is consistent.
In another examples of implementation, several heterogeneous databases can be located in different computer rooms, pass through between different computer rooms Network communication realizes that the distribution of the data in different computer rooms between heterogeneous database is consistent.
Examples of implementation five
This specification embodiment provides a kind of computer readable storage medium, is achieved through the following technical solutions:
A kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step of heterogeneous data source distributed coordination coherence method based on http protocol is realized when execution.
Specific steps in the examples of implementation can be found in examples of implementation one, no longer be described in detail herein.
In the present embodiment, computer program product may include computer readable storage medium, containing for holding The computer-readable program instructions of row various aspects of the disclosure.Computer readable storage medium, which can be, can keep and store By the tangible device for the instruction that instruction execution equipment uses.Computer readable storage medium for example can be-- but it is unlimited In-- storage device electric, magnetic storage apparatus, light storage device, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned Any appropriate combination.
It is understood that in the description of this specification, reference term " embodiment ", " another embodiment ", " other The description of embodiment " or " first embodiment~N embodiment " etc. means specific spy described in conjunction with this embodiment or example Sign, structure, material or feature are included at least one embodiment or example of the invention.In the present specification, to above-mentioned The schematic representation of term may not refer to the same embodiment or example.Moreover, the specific features of description, structure, material Person's feature can be combined in any suitable manner in any one or more of the embodiments or examples.
The foregoing is merely preferred embodiment of the present disclosure, are not limited to the disclosure, for the skill of this field For art personnel, the disclosure can have various modifications and variations.It is all within the spirit and principle of the disclosure, it is made any to repair Change, equivalent replacement, improvement etc., should be included within the protection scope of the disclosure.

Claims (10)

1. the heterogeneous data source distributed coordination coherence method based on http protocol, characterized in that
Include:
The service interface based on http protocol is called to obtain the corresponding things session number Transaction ID of heterogeneous data source;
Using serial or parallel programming model, the related of http protocol is called to execute interface, transmits Transaction ID and hold Row data encryption message;
Http protocol executes the state that interface feedback executes, if the execution state that all http protocols execute interface feedback is all into Function state calls the related of http protocol to execute interface with concurrently or sequentially programming model, transmits Transaction ID and mentions Things is handed over to encrypt message;
If having http protocol to execute the execution state of interface feedback is status of fail, with concurrently or sequentially programming model, call The related of http protocol executes interface, transmits Transaction ID and rollback things encrypts message, realize heterogeneous data source point Cloth coordinative coherence.
2. the heterogeneous data source distributed coordination coherence method based on http protocol as described in claim 1, characterized in that WEB middleware is established, for providing HTTP request and response.
3. the heterogeneous data source distributed coordination coherence method based on http protocol as described in claim 1, characterized in that HTTP interface is established, the Transaction ID for returning and having unique identification is called by http protocol.
4. the heterogeneous data source distributed coordination coherence method based on http protocol as described in claim 1, characterized in that Establish two HTTP interfaces, realized by Transaction ID in request message and message content database execution, Submission or things rollback.
5. the heterogeneous data source distributed coordination coherence method based on http protocol as described in claim 1, characterized in that For the database middleware of the different isomeries for being stored with heterogeneous data source, different tables is respectively created.
6. the heterogeneous data source distributed coordination consistency system based on http protocol, characterized in that include:
Things session number acquiring unit, is configured as: the service interface based on http protocol being called to obtain heterogeneous data source pair The things session number Transaction ID answered;
Data cell is transmitted, is configured as: using serial or parallel programming model, the related of http protocol being called to execute interface, It transmits Transaction ID and executes data encryption message;
Interface feedback unit, is configured as: http protocol executes the state that interface feedback executes, if the execution of all http protocols connects The execution state of mouth feedback is all success status, with concurrently or sequentially programming model, the related of http protocol is called to execute interface, It transmits Transaction ID and things is submitted to encrypt message;
If having http protocol to execute the execution state of interface feedback is status of fail, with concurrently or sequentially programming model, call The related of http protocol executes interface, transmits Transaction ID and rollback things encrypts message, realize heterogeneous data source point Cloth coordinative coherence.
7. a kind of computer equipment, is achieved through the following technical solutions:
Including memory, processor and the computer program that can be run on a memory and on a processor is stored, feature exists In the processor realizes claim 1-5 any heterogeneous data source based on http protocol when executing described program The step of distributed coordination coherence method.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any heterogeneous data source distributed coordination coherence method based on http protocol of claim 1-5 is realized when row Suddenly.
9. a kind of Database Systems, including several heterogeneous databases and server, characterized in that stored in the heterogeneous database There is heterogeneous data source, the server is configured as using any isomery number based on http protocol of claim 1-5 Heterogeneous data source distributed coordination consistency between disparate databases is realized according to source distribution formula coordinative coherence method.
10. a kind of Database Systems as claimed in claim 9, characterized in that several heterogeneous databases can be located at a computer room Interior or several heterogeneous databases can be located in different computer rooms.
CN201910263140.0A 2019-04-02 2019-04-02 Heterogeneous data source distributed coordination consistency method and system based on HTTP (hyper text transport protocol) Active CN110012008B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910263140.0A CN110012008B (en) 2019-04-02 2019-04-02 Heterogeneous data source distributed coordination consistency method and system based on HTTP (hyper text transport protocol)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910263140.0A CN110012008B (en) 2019-04-02 2019-04-02 Heterogeneous data source distributed coordination consistency method and system based on HTTP (hyper text transport protocol)

Publications (2)

Publication Number Publication Date
CN110012008A true CN110012008A (en) 2019-07-12
CN110012008B CN110012008B (en) 2022-03-22

Family

ID=67169538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910263140.0A Active CN110012008B (en) 2019-04-02 2019-04-02 Heterogeneous data source distributed coordination consistency method and system based on HTTP (hyper text transport protocol)

Country Status (1)

Country Link
CN (1) CN110012008B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471746A (en) * 2019-08-22 2019-11-19 中国工商银行股份有限公司 A kind of distributed transaction callback method, apparatus and system
CN113608900A (en) * 2021-10-08 2021-11-05 成都数之联科技有限公司 Method, device, equipment and medium for calling algorithm model
CN114338833A (en) * 2021-12-28 2022-04-12 北京神州数码云科信息技术有限公司 Cross-heterogeneous protocol cooperative transmission method, system, terminal equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
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
US20080155058A1 (en) * 2006-12-22 2008-06-26 Srikiran Prasad Data synchronization by communication of modifications
CN103312549A (en) * 2013-06-26 2013-09-18 华为技术有限公司 Transaction management method, device and system
CN104008135A (en) * 2014-05-07 2014-08-27 南京邮电大学 Multi-source heterogeneous database fusion system and data query method thereof
CN105447046A (en) * 2014-09-02 2016-03-30 阿里巴巴集团控股有限公司 Distributed system data consistency processing method, device and system
CN105718572A (en) * 2016-01-21 2016-06-29 成都索贝数码科技股份有限公司 Transaction consistency achieving method and system for isomerous data compound object
CN105786611A (en) * 2014-12-16 2016-07-20 中国移动通信集团公司 Method and device for task scheduling of distributed cluster
CN109101627A (en) * 2018-08-14 2018-12-28 交通银行股份有限公司 heterogeneous database synchronization method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
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
US20080155058A1 (en) * 2006-12-22 2008-06-26 Srikiran Prasad Data synchronization by communication of modifications
CN103312549A (en) * 2013-06-26 2013-09-18 华为技术有限公司 Transaction management method, device and system
CN104008135A (en) * 2014-05-07 2014-08-27 南京邮电大学 Multi-source heterogeneous database fusion system and data query method thereof
CN105447046A (en) * 2014-09-02 2016-03-30 阿里巴巴集团控股有限公司 Distributed system data consistency processing method, device and system
CN105786611A (en) * 2014-12-16 2016-07-20 中国移动通信集团公司 Method and device for task scheduling of distributed cluster
CN105718572A (en) * 2016-01-21 2016-06-29 成都索贝数码科技股份有限公司 Transaction consistency achieving method and system for isomerous data compound object
CN109101627A (en) * 2018-08-14 2018-12-28 交通银行股份有限公司 heterogeneous database synchronization method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
田守枝JAVA技术博客: "6.0柔性事务:TCC两阶段补偿型", 《HTTP://WWW.TIANSHOUZHI.COM/API/TUTORIALS/DISTRIBUTED_TRANSACTION/388》 *
陈明: "基于Web Services的异构分布式数据共享技术研究", 《中国优秀博硕士学位论文全文数据库(信息科技辑)》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471746A (en) * 2019-08-22 2019-11-19 中国工商银行股份有限公司 A kind of distributed transaction callback method, apparatus and system
CN110471746B (en) * 2019-08-22 2022-04-19 中国工商银行股份有限公司 Distributed transaction callback method, device and system
CN113608900A (en) * 2021-10-08 2021-11-05 成都数之联科技有限公司 Method, device, equipment and medium for calling algorithm model
CN113608900B (en) * 2021-10-08 2021-12-10 成都数之联科技有限公司 Method, device, equipment and medium for calling algorithm model
CN114338833A (en) * 2021-12-28 2022-04-12 北京神州数码云科信息技术有限公司 Cross-heterogeneous protocol cooperative transmission method, system, terminal equipment and storage medium
CN114338833B (en) * 2021-12-28 2023-06-02 北京神州数码云科信息技术有限公司 Cross-heterogeneous protocol cooperative transmission method, system, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN110012008B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
US9674234B2 (en) Managing an application programming interface in a collaboration space
CN110012008A (en) Heterogeneous data source distributed coordination coherence method and system based on http protocol
TWI378700B (en) Reliable messaging using redundant message streams in a high speed, low latency data communications environment
CN108961033B (en) Multi-service system interaction method and device, storage medium and electronic terminal
CN108346028A (en) A kind of business approval processing method, apparatus and system
CN109995713A (en) Service processing method and relevant device in a kind of micro services frame
US8285630B2 (en) Computer-implemented systems and methods for blotter synchronization
US20110258305A1 (en) Servlet API and Method for XMPP Protocol
WO2021057925A1 (en) Intelligent device control method and apparatus, intelligent device and storage medium
MXPA04002729A (en) Transmitting and receiving messages through a customizable communication channel and programming model.
WO2020134329A1 (en) Gateway service implementation method, control device, and gateway
WO2018077284A1 (en) Communication method and system, electronic device and computer cluster
CN109844731A (en) Distributing distributed data base consistency
CN109118184A (en) A kind of payment system and its method of payment
CN113703997A (en) Bidirectional asynchronous communication middleware system integrating multiple message agents and implementation method
US11411812B2 (en) Dynamic service creation for microservice-based integration service
EP2811437A1 (en) Computer system, computer-implemented method and computer program product for sequencing incoming messages for processing at an application
CN110381058A (en) Request transmission method and device based on full-duplex communication protocol Web Socket
CN108667817A (en) Message converting system and message forwarding method
CN107508787B (en) A kind of task executing method, apparatus and system
CN108881213A (en) JMS instant message service system based on intranet and extranet secure interactive
CN106716998B (en) Multiple operating system multi-medium data decoding method, device and electronic equipment
CN110324365A (en) Without key front end cluster system, application method, storage medium, electronic device
TW582147B (en) Inbound connector
WO2022007599A1 (en) Cloud application-based resource transfer method and apparatus, and computer 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