Nothing Special   »   [go: up one dir, main page]

CN105227384A - Method of commerce between online transaction processing system and transaction system - Google Patents

Method of commerce between online transaction processing system and transaction system Download PDF

Info

Publication number
CN105227384A
CN105227384A CN201510765190.0A CN201510765190A CN105227384A CN 105227384 A CN105227384 A CN 105227384A CN 201510765190 A CN201510765190 A CN 201510765190A CN 105227384 A CN105227384 A CN 105227384A
Authority
CN
China
Prior art keywords
transaction device
transaction
response
fault
multiple target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510765190.0A
Other languages
Chinese (zh)
Inventor
何虎威
信怀义
王艳华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201510765190.0A priority Critical patent/CN105227384A/en
Publication of CN105227384A publication Critical patent/CN105227384A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses the method for commerce between a kind of online transaction processing system and transaction system, the method comprises: send transaction request to multiple target transaction device; Receive the transaction response that multiple target transaction device returns; Judge whether transaction response that multiple target transaction device returns meets first pre-conditioned; When transaction that certain target transaction device in multiple target transaction device returns response N continuous time do not meet first pre-conditioned time, this target transaction device is designated as fault transaction device, and Fault Isolation is carried out to fault transaction device, switch and be connected with the communication of fault transaction device.Method of commerce provided by the present invention, the transaction request between online transaction processing system is utilized to carry out breakdown judge, and send detectable signal without the need to extra again to the normal target transaction device worked, to monitor it, timely acquisition fault message, thus greatly reduce network communication amount, and then reduce offered load, reduce network cost.

Description

Method of commerce between online transaction processing system and transaction system
Technical field
The present invention relates to load balancing and Fault Isolation technical field, particularly relate to the method for commerce between a kind of online transaction processing system and transaction system.
Background technology
When carrying out communication between two OLTP (On-LineTransactionProcessing Transaction Processing) system, as shown in Figure 1, suppose that the system A of front end has n platform machine, need to carry out communication with the m platform machine of back-end system B, for ensureing Appropriate application and the fault reply of resource, need to consider following two problems: one is that on system A, every platform machine all should be set up communication uniformly with the machine on system B and is connected, to realize load balancing; Two is after certain machine on system B breaks down, and system A needs, by this machine isolation in system B, to carry out communication to avoid system A and this machine that breaks down.
Prior art is when realizing load balancing and the Fault Isolation of each machine in system B, normally increase load-balancing device C between system a and systemb, as shown in Figure 2, utilize this load-balancing device C realization to the load balancing of each machine in system B and Fault Isolation.During specific works, the transaction request that in load-balancing device C mono-between system A and system B, meeting receiving system A sends, this transaction request is transmitted to system B, communication detectable signal can be sent on the other hand to each machine in system B, whether each machine in detection system B breaks down, when finding that certain machine in system B breaks down, carry out Fault Isolation to it, the machine that each machine in blocking system A breaks down to this in system B carries out communication.
But along with the trading volume of system A and system B is increasing, the machine quantity in system B gets more and more, thus the communication detectable signal making load-balancing device occur to system B gets more and more, cause network communication amount also greatly to increase, cause offered load comparatively large, network cost is higher thereupon.
Summary of the invention
For solving the problems of the technologies described above, embodiments providing the method for commerce between a kind of online transaction processing system and transaction system, to reduce offered load, reducing network cost.
For solving the problem, embodiments provide following technical scheme:
A method of commerce between online transaction processing system, comprising:
Transaction request is sent to multiple target transaction device;
Receive the transaction response that described multiple target transaction device returns;
Judge whether transaction response that described multiple target transaction device returns meets first pre-conditioned;
When transaction that certain target transaction device in described multiple target transaction device returns response N continuous time do not meet first pre-conditioned time, this target transaction device is designated as fault transaction device, and Fault Isolation is carried out to described fault transaction device, switch and be connected with the communication of described fault transaction device; Wherein, N be greater than 1 integer.
Preferably, judge whether transaction response that described multiple target transaction device returns meets first and pre-conditionedly to comprise:
Judge whether the transaction response that described multiple target transaction device returns returns in the first Preset Time;
When the transaction response that described multiple target transaction device returns returns in the first Preset Time, judge whether the transaction response that described multiple target transaction device returns matches with default transaction response.
Preferably, the method also comprises:
Detectable signal is sent to described fault transaction device;
Receive the probe response that described fault transaction device returns;
Judge whether probe response that described fault transaction device returns meets second pre-conditioned;
When the probe response continuous N that described fault transaction device returns time meet second pre-conditioned time, this fault transaction device is labeled as target transaction device, and the communication recovering the target transaction device corresponding with this fault transaction device connects; Wherein, M be greater than 1 integer.
Preferably, judge that whether described multiple probe response meets second and pre-conditionedly to comprise:
Judge whether described probe response returns in the second Preset Time;
When described probe response returns in the second Preset Time, judge whether described probe response matches with default probe response.
Preferably, describedly send transaction request to multiple target transaction device and comprise:
Transaction request is sent successively to described multiple target transaction device;
Or,
In described multiple target transaction device, the target transaction device of the current transaction request minimum number processed sends transaction request.
A transaction system for online transaction processing system, is applied to the method for commerce described in above-mentioned any one, comprises:
Sending module, for sending transaction request to multiple target transaction device;
Receiver module, for receiving the transaction response that described multiple target transaction device returns;
Judge module, it is first pre-conditioned whether the transaction returned for described multiple target transaction device response meets;
Load balancing module, for do not meet when transaction that certain target transaction device in described multiple target transaction device returns response N continuous time first pre-conditioned time, this target transaction device is designated as fault transaction device, and Fault Isolation is carried out to described fault transaction device, switch and be connected with the communication of described fault transaction device; Wherein, N be greater than 1 integer.
Preferably, described judge module comprises:
First judging unit, for judging whether the transaction response that described multiple target transaction device returns returns in the first Preset Time;
Second judging unit, for when the transaction response that described multiple target transaction device returns returns in the first Preset Time, judges whether the transaction response that described multiple target transaction device returns matches with default transaction response.
Preferably, described load balancing module also for:
Detectable signal is sent to described fault transaction device;
Receive the probe response that described fault transaction device returns;
Judge whether probe response that described fault transaction device returns meets second pre-conditioned;
When the probe response continuous N that described fault transaction device returns time meet second pre-conditioned time, this fault transaction device is labeled as target transaction device, and the communication recovering the target transaction device corresponding with this fault transaction device connects; Wherein, M be greater than 1 integer.
Preferably, described sending module is used for sending transaction request to described multiple target transaction device successively or sending transaction request for the target transaction device to the current transaction request minimum number processed in described multiple target transaction device.
Preferably, N is 10, M is 3.
Compared with prior art, technique scheme has the following advantages:
Method of commerce between the online transaction processing system that the embodiment of the present invention provides, comprising: send transaction request to multiple target transaction device; Receive the transaction response that described multiple target transaction device returns; Judge whether transaction response that described multiple target transaction device returns meets first pre-conditioned; When transaction that certain target transaction device in described multiple target transaction device returns response N continuous time do not meet first pre-conditioned time, this target transaction device is designated as fault transaction device, and Fault Isolation is carried out to described fault transaction device, switch and be connected with the communication of described fault transaction device; Wherein, N be greater than 1 integer.As can be seen here, the method of commerce that the embodiment of the present invention provides, the transaction request between online transaction processing system is utilized to carry out breakdown judge, and send detectable signal without the need to extra again to the normal target transaction device worked, to monitor it, obtain fault message in time, thus greatly reduce network communication amount, and then reduce offered load, reduce network cost.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation carrying out communication in prior art in online transaction processing system between system A and system B;
Fig. 2 is the another kind of structural representation carrying out communication in prior art in online transaction processing system between system A and system B;
The flow chart of the method for commerce between the online transaction processing system that Fig. 3 provides for one embodiment of the invention;
The flow chart of the method for commerce between the online transaction processing system that Fig. 4 provides for another embodiment of the present invention;
The structural representation of the transaction system of the online transaction processing system that Fig. 5 provides for one embodiment of the invention;
The structural representation of the transaction system of the online transaction processing system that Fig. 6 provides for another embodiment of the present invention.
Embodiment
Just as described in the background section, the method for commerce in prior art between online transaction processing system, offered load is comparatively large, and network cost is higher.
In view of this, embodiments provide the method for commerce between a kind of online transaction processing system, comprising:
Transaction request is sent to multiple target transaction device;
Receive the transaction response that described multiple target transaction device returns;
Judge whether transaction response that described multiple target transaction device returns meets first pre-conditioned;
When transaction that certain target transaction device in described multiple target transaction device returns response N continuous time do not meet first pre-conditioned time, this target transaction device is designated as fault transaction device, and Fault Isolation is carried out to described fault transaction device, switch and be connected with the communication of described fault transaction device; Wherein, N be greater than 1 integer.
Accordingly, the embodiment of the present invention additionally provides a kind of transaction system of online transaction processing system, comprising:
Sending module, for sending transaction request to multiple target transaction device;
Receiver module, for receiving the transaction response that described multiple target transaction device returns;
Judge module, it is first pre-conditioned whether the transaction returned for described multiple target transaction device response meets;
Load balancing module, for do not meet when transaction that certain target transaction device in described multiple target transaction device returns response N continuous time first pre-conditioned time, this target transaction device is designated as fault transaction device, and Fault Isolation is carried out to described fault transaction device, switch and be connected with the communication of described fault transaction device; Wherein, N be greater than 1 integer.
The method of commerce that the embodiment of the present invention provides and transaction system, the transaction request between online transaction processing system is utilized to carry out breakdown judge, and send detectable signal without the need to extra again to the normal target transaction device worked, to monitor it, timely acquisition fault message, thus greatly reduce network communication amount, and then reduce offered load, reduce network cost.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Set forth a lot of detail in the following description so that fully understand the present invention, but the present invention can also adopt other to be different from alternate manner described here to implement, those skilled in the art can when without prejudice to doing similar popularization when intension of the present invention, therefore the present invention is by the restriction of following public specific embodiment.
Embodiments provide the method for commerce between a kind of online transaction processing system, as shown in Figure 3, this method of commerce comprises:
Step S1: send transaction request to multiple target transaction device.
In one embodiment of the invention, before sending transaction request to multiple target transaction device, the address of described multiple target transaction device need first be obtained.When behind the address getting described multiple target transaction device, in an embodiment of the present embodiment, send transaction request to multiple target transaction device to comprise: according to the address of the described multiple target transaction devices obtained, transaction request is sent successively to described multiple target transaction device, namely poll load strategy is adopted, to realize load balancing.
In another embodiment of the present invention, before sending transaction request to described multiple target transaction device, not only need the address first obtaining described multiple target transaction device, also need before sending transaction request to described multiple target transaction device at every turn, add up the transaction request quantity that described multiple target transaction device target is processing, in an embodiment of the present embodiment, send transaction request to described multiple target transaction device to comprise: in described multiple target transaction device, the target transaction device of the current transaction request minimum number processed sends transaction request, namely Smallest connection strategy is adopted, realize load balancing.
In other embodiments of the invention, can also adopt other load balancings, send transaction request to described multiple target transaction device, to realize load balancing, the present invention does not limit this, specifically depends on the circumstances.
Step S2: receive the transaction response that described multiple target transaction device returns.It should be noted that, in embodiments of the present invention, described multiple target transaction devices the transaction response returned and the transaction request one_to_one corresponding sent to described multiple target transaction device of reception.
Step S3: judge whether transaction response that described multiple target transaction device returns meets first pre-conditioned.
After receiving the transaction response that described multiple target transaction device returns, can judge these transaction responses, judge whether transaction response that described multiple target transaction device returns meets first pre-conditioned, when transaction that described multiple target transaction device returns response meet first pre-conditioned time, set up communication with described multiple target transaction device to be connected, realize transaction communication; When transaction that certain target transaction device in described multiple target transaction device returns response do not meet first pre-conditioned time, continue to send transaction request to this target transaction device, when transaction that this target transaction device returns response N continuous time do not meet first pre-conditioned time, perform subsequent step S4.Wherein, N be greater than 1 integer, preferably, in one particular embodiment of the present invention, N is 10, but the present invention does not limit this, specifically depends on the circumstances.
On the basis of above-described embodiment, in one embodiment of the invention, judge whether transaction response that described multiple target transaction device returns meets first and pre-conditionedly to comprise:
Judge whether the transaction response that described multiple target transaction device returns returns in the first Preset Time;
When the transaction response that described multiple target transaction device returns returns in the first Preset Time, judge whether the transaction response that described multiple target transaction device returns matches with default transaction response.
It should be noted that, in embodiments of the present invention, judge that whether transaction response that described multiple target transaction device returns matches with default transaction response and comprise:
Judge whether the transaction response that described multiple target transaction device returns matches with the default form responded of concluding the business;
Judge whether whether the transaction response that described multiple target transaction device returns match with the default message content responded of concluding the business.
In other embodiments of the invention, judge whether transaction response that described multiple target transaction device returns meets first and pre-conditionedly can also comprise other Rule of judgment, and the present invention does not limit this, specifically depends on the circumstances.It should be noted that, described first pre-conditioned setting is stricter, judges that whether described target transaction device is that the result of fault transaction device is more accurate.
Step S4: when transaction that certain target transaction device in described multiple target transaction device returns response N continuous time do not meet first pre-conditioned time, this target transaction device is designated as fault transaction device, and Fault Isolation is carried out to described fault transaction device, switch and be connected with the communication of described fault transaction device; Wherein, N be greater than 1 integer.
As can be seen here, the method of commerce that the embodiment of the present invention provides, the transaction request of itself between online transaction processing system is utilized to carry out breakdown judge, and send detectable signal without the need to extra again to the normal target transaction device worked, to monitor it, obtain fault message in time, thus greatly reduce network communication amount, and then reduce offered load, reduce network cost.
On the basis of above-mentioned any embodiment, in one embodiment of the invention, as shown in Figure 4, the method comprises:
Step S5: send detectable signal to described fault transaction device.Preferably, in one embodiment of the invention, describedly send detectable signal to described fault transaction device and comprise: timing sends detectable signal to described fault transaction device, namely sends detectable signal with prefixed time interval to described fault transaction device.It should be noted that, the occurrence of the embodiment of the present invention to described prefixed time interval does not limit, and specifically depends on the circumstances.
Step S6: receive the probe response that described fault transaction device returns.
Step S7: judge whether probe response that described fault transaction device returns meets second pre-conditioned.
When receiving the probe response that described fault transaction device returns, described probe response is judged, judge that whether described probe response meets second pre-conditioned, when the probe response continuous N that described fault transaction device returns time meet second pre-conditioned time, then perform subsequent step S8, otherwise, continue timing and send probe requests thereby to described fault transaction device, the probe response continuous N time returned until described fault transaction device meet second pre-conditioned till.Wherein, M be greater than 1 integer, preferably, in one particular embodiment of the present invention, M is 3, but the present invention does not limit this, specifically depends on the circumstances.
On the basis of above-described embodiment, in one embodiment of the invention, judge that whether described multiple probe response meets second and pre-conditionedly to comprise:
Judge whether described probe response returns in the second Preset Time;
When described probe response returns in the second Preset Time, judge whether described probe response matches with default probe response.
Concrete, in a preferred embodiment of the invention, judge that whether described probe response matches with default probe response and comprise:
Judge whether the form of described probe response and described default probe response matches;
Judge whether the message content of described probe response and described default probe response matches.
Wherein, described in match can for identical, also can for meet certain condition between the two, the present invention does not limit this, concrete thing and determining.
It should be noted that, the matching degree of described probe response and described default probe response is higher, described fault transaction device is judged as the accuracy recovering arm's length dealing device is higher, but the present invention does not limit to this, specifically depends on the circumstances.
Step S8: when the probe response continuous N that described fault transaction device returns time meet second pre-conditioned time, this fault transaction device is labeled as target transaction device, and the communication recovering the target transaction device corresponding with this fault transaction device connects; Wherein, M be greater than 1 integer.
It should be noted that, along with the trading volume between online transaction processing system is increasing, the transaction request of process in the unit interval gets more and more, thus the method for commerce that the embodiment of the present invention is provided, not only can reduce offered load, reduce network cost, fault transaction device can also be found more efficiently, avoid in time sending transaction request to fault transaction device, reduce the Fail Transaction loss caused because target transaction device breaks down.
Accordingly, the embodiment of the present invention additionally provides a kind of transaction system of online transaction processing system, and be applied to the method for commerce between online transaction processing system that above-mentioned any embodiment provides, as shown in Figure 5, this transaction system comprises:
Sending module 100, for sending transaction request to multiple target transaction device 500;
Receiver module 200, for receiving the transaction response that described multiple target transaction device 500 returns;
Judge module 300, it is first pre-conditioned whether the transaction returned for described multiple target transaction device 500 response meets;
Load balancing module 400, for do not meet when transaction that certain target transaction device 500 in described multiple target transaction device 500 returns response N continuous time first pre-conditioned time, this target transaction device 500 is designated as fault transaction device 600, and Fault Isolation is carried out to described fault transaction device 600, switch and be connected with the communication of described fault transaction device 600; Wherein, N be greater than 1 integer.
On the basis of above-described embodiment, in one embodiment of the invention, described sending module 100 is before sending transaction request to described multiple target transaction device 500, first need obtain the address of described multiple target transaction device 500, when behind the address getting described multiple target transaction device 500, according to the address of the described multiple target transaction devices 500 obtained, send transaction request to described multiple target transaction device 500 successively, namely poll load strategy is adopted, to realize load balancing.
In another embodiment of the present invention, described sending module 100 is before sending transaction request to described multiple target transaction device 500, not only need the address first obtaining described multiple target transaction device 500, also need before sending transaction request to described multiple target transaction device 500 at every turn, obtain the current transaction request quantity processed of described multiple target transaction device 500 target, with according to the obtained current transaction request quantity processed of described multiple target transaction device 500 targets, in described multiple target transaction device 500, the target transaction device 500 of the current transaction request minimum number processed sends transaction request, namely Smallest connection strategy is adopted, realize load balancing.
It should be noted that, on the basis of above-mentioned any embodiment, described sending module 100 preferably obtains address and/or the current transaction request process processed of described multiple target transaction device 500 of described multiple target transaction device 500 from described load balancing module 400, but the present invention does not limit this, specifically depend on the circumstances.
On the basis of above-mentioned any embodiment, in one embodiment of the invention, after described receiver module 200 receives the transaction response that described multiple target transaction device 500 returns, the transaction response that can be received sends to described judge module 300, described judge module 300 is utilized to judge these transaction responses, judge whether transaction response that described multiple target transaction device 500 returns meets first pre-conditioned, when transaction that described multiple target transaction device 500 returns response meet first pre-conditioned time, set up communication by described load balancing module 400 with described multiple target transaction device 500 to be connected, realize transaction communication, when transaction that certain target transaction device 500 in described multiple target transaction device 500 returns response do not meet first pre-conditioned time, described sending module 100 is utilized to continue to send transaction request to this target transaction device 500, when transaction that this target transaction device 500 returns response N continuous time do not meet first pre-conditioned time, utilize described load balancing module 400 that this target transaction device 500 is designated as fault transaction device 600, and Fault Isolation is carried out to described fault transaction device 600, switch and be connected with the communication of described fault transaction device 600.Wherein, N be greater than 1 integer, preferably, in one particular embodiment of the present invention, N is 10, but the present invention does not limit this, specifically depends on the circumstances.
On the basis of above-mentioned any embodiment, in one embodiment of the invention, described judge module 300 comprises:
First judging unit, for judging whether the transaction response that described multiple target transaction device 500 returns returns in the first Preset Time;
Second judging unit, for when the transaction response that described multiple target transaction device 500 returns returns in the first Preset Time, judges whether the transaction response that described multiple target transaction device 500 returns matches with default transaction response.
Concrete, in one embodiment of the invention, judge that whether transaction response that described multiple target transaction device 500 returns matches with default transaction response and comprise:
Judge whether the transaction response that described multiple target transaction device 500 returns matches with the default form responded of concluding the business;
Judge whether whether the transaction response that described multiple target transaction device 500 returns match with the default message content responded of concluding the business.
In other embodiments of the invention, judge whether transaction response that described multiple target transaction device 500 returns meets first and pre-conditionedly can also comprise other Rule of judgment, and the present invention does not limit this, specifically depends on the circumstances.It should be noted that, described first pre-conditioned setting is stricter, judges that whether described target transaction device 500 is that the result of fault transaction device 600 is more accurate.
On the basis of above-mentioned any embodiment, in one embodiment of the invention, as shown in Figure 6, described load balancing module 400 also for:
Detectable signal is sent to described fault transaction device 600;
Receive the probe response that described fault transaction device 600 returns;
Judge whether probe response that described fault transaction device 600 returns meets second pre-conditioned;
When the probe response continuous N that described fault transaction device 600 returns time meet second pre-conditioned time, this fault transaction device 600 is labeled as target transaction device 500, and the communication recovering the target transaction device 500 corresponding with this fault transaction device 600 connects; Wherein, M be greater than 1 integer.
Preferably, when described load balancing module 400 is for sending detectable signal to described fault transaction device 600, described load balancing module 400 is preferred for timing and sends detectable signal to described fault transaction device 600, namely sends detectable signal with prefixed time interval to described fault transaction device 600.It should be noted that, the occurrence of the embodiment of the present invention to described prefixed time interval does not limit, and specifically depends on the circumstances.
On the basis of above-mentioned any embodiment, in a particular embodiment of the present invention, when described load balancing module 400 receives the probe response that described fault transaction device 600 returns, described probe response is judged, judge that whether described probe response meets second pre-conditioned, when the probe response continuous N that described fault transaction device 600 returns time meet second pre-conditioned time, then this fault transaction device 600 is labeled as target transaction device 500, the communication recovering the target transaction device 500 corresponding with this fault transaction device 600 connects, otherwise, continue timing and send probe requests thereby to described fault transaction device 600, the probe response continuous N time returned until described fault transaction device 600 meet second pre-conditioned till.Wherein, M be greater than 1 integer, preferably, in one particular embodiment of the present invention, M is 3, but the present invention does not limit this, specifically depends on the circumstances.
On the basis of above-described embodiment, in one embodiment of the invention, judge that whether described multiple probe response meets second and pre-conditionedly to comprise:
Judge whether described probe response returns in the second Preset Time;
When described probe response returns in the second Preset Time, judge whether described probe response matches with default probe response.
Concrete, in a preferred embodiment of the invention, judge that whether described probe response matches with default probe response and comprise:
Judge whether the form of described probe response and described default probe response matches;
Judge whether the message content of described probe response and described default probe response matches.
Wherein, described in match can for identical, also can for meet certain condition between the two, the present invention does not limit this, concrete thing and determining.
It should be noted that, the matching degree of described probe response and described default probe response is higher, described fault transaction device 600 is judged as the accuracy recovering arm's length dealing device is higher, but the present invention does not limit to this, specifically depends on the circumstances.
Also it should be noted that, state in any embodiment on the invention, the concrete numerical value of the present invention to described first Preset Time and the second Preset Time does not all limit, and specifically depends on the circumstances.
In sum, the method of commerce that the embodiment of the present invention provides and transaction system, the transaction request of itself between online transaction processing system is utilized to carry out breakdown judge, and send detectable signal without the need to extra again to the normal target transaction device 500 worked, to monitor it, obtain fault message in time, thus greatly reduce network communication amount, and then reduce offered load, reduce network cost.
And, along with the trading volume between online transaction processing system is increasing, the transaction request of process in the unit interval gets more and more, interval time between adjacent transaction request is shorter and shorter, thus when certain target transaction device 500 breaks down, the method of commerce utilizing the embodiment of the present invention to provide and transaction system find that the time of fault is shorter and shorter, and then the method for commerce making the embodiment of the present invention provide and transaction system can find fault transaction device 600 more efficiently, avoid in time sending transaction request to fault transaction device 600, reduce the Fail Transaction loss caused because target transaction device 500 breaks down.
In this specification, various piece adopts the mode of going forward one by one to describe, and what each some importance illustrated is the difference with other parts, between various piece identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to embodiment illustrated herein, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. the method for commerce between online transaction processing system, is characterized in that, comprising:
Transaction request is sent to multiple target transaction device;
Receive the transaction response that described multiple target transaction device returns;
Judge whether transaction response that described multiple target transaction device returns meets first pre-conditioned;
When transaction that certain target transaction device in described multiple target transaction device returns response N continuous time do not meet first pre-conditioned time, this target transaction device is designated as fault transaction device, and Fault Isolation is carried out to described fault transaction device, switch and be connected with the communication of described fault transaction device; Wherein, N be greater than 1 integer.
2. method of commerce according to claim 1, is characterized in that, judges whether transaction response that described multiple target transaction device returns meets first and pre-conditionedly to comprise:
Judge whether the transaction response that described multiple target transaction device returns returns in the first Preset Time;
When the transaction response that described multiple target transaction device returns returns in the first Preset Time, judge whether the transaction response that described multiple target transaction device returns matches with default transaction response.
3. method of commerce according to claim 1, is characterized in that, the method also comprises:
Detectable signal is sent to described fault transaction device;
Receive the probe response that described fault transaction device returns;
Judge whether probe response that described fault transaction device returns meets second pre-conditioned;
When the probe response continuous N that described fault transaction device returns time meet second pre-conditioned time, this fault transaction device is labeled as target transaction device, and the communication recovering the target transaction device corresponding with this fault transaction device connects; Wherein, M be greater than 1 integer.
4. method of commerce according to claim 3, is characterized in that, judges that whether described multiple probe response meets second and pre-conditionedly to comprise:
Judge whether described probe response returns in the second Preset Time;
When described probe response returns in the second Preset Time, judge whether described probe response matches with default probe response.
5. method of commerce according to claim 1, is characterized in that, describedly sends transaction request to multiple target transaction device and comprises:
Transaction request is sent successively to described multiple target transaction device;
Or,
In described multiple target transaction device, the target transaction device of the current transaction request minimum number processed sends transaction request.
6. a transaction system for online transaction processing system, is applied to the method for commerce described in above-mentioned any one, it is characterized in that, comprising:
Sending module, for sending transaction request to multiple target transaction device;
Receiver module, for receiving the transaction response that described multiple target transaction device returns;
Judge module, it is first pre-conditioned whether the transaction returned for described multiple target transaction device response meets;
Load balancing module, for do not meet when transaction that certain target transaction device in described multiple target transaction device returns response N continuous time first pre-conditioned time, this target transaction device is designated as fault transaction device, and Fault Isolation is carried out to described fault transaction device, switch and be connected with the communication of described fault transaction device; Wherein, N be greater than 1 integer.
7. transaction system according to claim 6, is characterized in that, described judge module comprises:
First judging unit, for judging whether the transaction response that described multiple target transaction device returns returns in the first Preset Time;
Second judging unit, for when the transaction response that described multiple target transaction device returns returns in the first Preset Time, judges whether the transaction response that described multiple target transaction device returns matches with default transaction response.
8. transaction system according to claim 6, is characterized in that, described load balancing module also for:
Detectable signal is sent to described fault transaction device;
Receive the probe response that described fault transaction device returns;
Judge whether probe response that described fault transaction device returns meets second pre-conditioned;
When the probe response continuous N that described fault transaction device returns time meet second pre-conditioned time, this fault transaction device is labeled as target transaction device, and the communication recovering the target transaction device corresponding with this fault transaction device connects; Wherein, M be greater than 1 integer.
9. transaction system according to claim 8, it is characterized in that, described sending module is used for sending transaction request to described multiple target transaction device successively or sending transaction request for the target transaction device to the current transaction request minimum number processed in described multiple target transaction device.
10. transaction system according to claim 8, is characterized in that, N is 10, M is 3.
CN201510765190.0A 2015-11-10 2015-11-10 Method of commerce between online transaction processing system and transaction system Pending CN105227384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510765190.0A CN105227384A (en) 2015-11-10 2015-11-10 Method of commerce between online transaction processing system and transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510765190.0A CN105227384A (en) 2015-11-10 2015-11-10 Method of commerce between online transaction processing system and transaction system

Publications (1)

Publication Number Publication Date
CN105227384A true CN105227384A (en) 2016-01-06

Family

ID=54996095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510765190.0A Pending CN105227384A (en) 2015-11-10 2015-11-10 Method of commerce between online transaction processing system and transaction system

Country Status (1)

Country Link
CN (1) CN105227384A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445776A (en) * 2016-08-30 2017-02-22 中国建设银行股份有限公司 Transaction processing method and system
CN106780034A (en) * 2016-12-26 2017-05-31 中国建设银行股份有限公司 Unilateral account scale domination method and system
CN111192130A (en) * 2019-12-11 2020-05-22 中国建设银行股份有限公司 Method, system, device and storage medium for determining fault source in transaction monitoring
CN112181700A (en) * 2020-09-22 2021-01-05 中国建设银行股份有限公司 Fault transaction isolation method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354770A (en) * 2007-03-23 2009-01-28 田小平 Electronic business system and method for binding membership name with bank card
CN101383734A (en) * 2008-10-20 2009-03-11 华为技术有限公司 State detecting method, system and apparatus
CN102025558A (en) * 2009-09-11 2011-04-20 鸿富锦精密工业(深圳)有限公司 Network detection equipment and method for actively detecting network quality by same
CN202102073U (en) * 2011-05-19 2012-01-04 上海工力自动化仪表有限公司 Short-circuit and broken-circuit detecting device for GPS (Global Positioning System) vehicle-mounted terminal
CN102546292A (en) * 2011-12-16 2012-07-04 深信服网络科技(深圳)有限公司 Method and device for detecting healthy status of server application
CN102664755A (en) * 2012-04-20 2012-09-12 杭州华三通信技术有限公司 Control channel fault determining method and device
CN103116168A (en) * 2013-02-01 2013-05-22 珠海德百祺科技有限公司 Anomaly detecting and processing method and device for navigational positioning devices
CN103825777A (en) * 2014-02-14 2014-05-28 杭州华三通信技术有限公司 DMZ server switching method and device
US20150019779A1 (en) * 2013-07-11 2015-01-15 Renesas Electronics Corporation Microcomputer

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354770A (en) * 2007-03-23 2009-01-28 田小平 Electronic business system and method for binding membership name with bank card
CN101383734A (en) * 2008-10-20 2009-03-11 华为技术有限公司 State detecting method, system and apparatus
CN102025558A (en) * 2009-09-11 2011-04-20 鸿富锦精密工业(深圳)有限公司 Network detection equipment and method for actively detecting network quality by same
CN202102073U (en) * 2011-05-19 2012-01-04 上海工力自动化仪表有限公司 Short-circuit and broken-circuit detecting device for GPS (Global Positioning System) vehicle-mounted terminal
CN102546292A (en) * 2011-12-16 2012-07-04 深信服网络科技(深圳)有限公司 Method and device for detecting healthy status of server application
CN102664755A (en) * 2012-04-20 2012-09-12 杭州华三通信技术有限公司 Control channel fault determining method and device
CN103116168A (en) * 2013-02-01 2013-05-22 珠海德百祺科技有限公司 Anomaly detecting and processing method and device for navigational positioning devices
US20150019779A1 (en) * 2013-07-11 2015-01-15 Renesas Electronics Corporation Microcomputer
CN103825777A (en) * 2014-02-14 2014-05-28 杭州华三通信技术有限公司 DMZ server switching method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445776A (en) * 2016-08-30 2017-02-22 中国建设银行股份有限公司 Transaction processing method and system
CN106780034A (en) * 2016-12-26 2017-05-31 中国建设银行股份有限公司 Unilateral account scale domination method and system
CN106780034B (en) * 2016-12-26 2020-08-28 中国建设银行股份有限公司 Unilateral account scale control method and system
CN111192130A (en) * 2019-12-11 2020-05-22 中国建设银行股份有限公司 Method, system, device and storage medium for determining fault source in transaction monitoring
CN111192130B (en) * 2019-12-11 2023-11-17 中国建设银行股份有限公司 Method, system, device and storage medium for determining fault source in transaction monitoring
CN112181700A (en) * 2020-09-22 2021-01-05 中国建设银行股份有限公司 Fault transaction isolation method and device

Similar Documents

Publication Publication Date Title
CN111008075B (en) Load balancing system, method, device, equipment and medium
CN109741060B (en) Information inquiry system, method, device, electronic equipment and storage medium
CN107872528B (en) Message pushing method and device
CN105227384A (en) Method of commerce between online transaction processing system and transaction system
CN103391272B (en) The method and system of detection of false attack source
CN103326893A (en) Limit speed measuring method
CN110912805B (en) Message reading state synchronization method, terminal, server and system
US11064052B2 (en) Page insertion method and device
CN105978940A (en) Friend adding method and system of intelligent wearable device
CN106533826A (en) Network state detection method and system
CN104580013A (en) Network communication method and system capable of realizing fast access point selection
CN102271067A (en) network detecting method, device and system
CN103024056B (en) Data processing method, load equalizer and cloud system
CN104618364A (en) Information processing method, electronic device and server
CN108429703B (en) DHCP client-side online method and device
CN108401040B (en) Content receiving method, content sending method, device and system for NDN
CN104917731A (en) Method and system for improving data display speed, server and browser
CN104574174A (en) Methods and units of processing data related to orders
CN107197043A (en) A kind of cloud computing system
CN104636103A (en) Keyboard data transmission method and device
CN109617817B (en) Method and device for generating forwarding table entry of MLAG networking
CN104424253A (en) Route query method, device and terminal equipment
CN109450810A (en) Identify the method and device of redundancy message
CN104581796A (en) Sending method of M2M application request, CSE and system
CN104657898B (en) A kind of method and apparatus that transaction is handled by internet adapting system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160106