CN1485748A - Method for hot backup employing double machine and terminal device access system thereof - Google Patents

Method for hot backup employing double machine and terminal device access system thereof Download PDF

Info

Publication number
CN1485748A
CN1485748A CNA021436339A CN02143633A CN1485748A CN 1485748 A CN1485748 A CN 1485748A CN A021436339 A CNA021436339 A CN A021436339A CN 02143633 A CN02143633 A CN 02143633A CN 1485748 A CN1485748 A CN 1485748A
Authority
CN
China
Prior art keywords
access device
line
access
outpost
tie
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
CNA021436339A
Other languages
Chinese (zh)
Other versions
CN100416522C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB021436339A priority Critical patent/CN100416522C/en
Publication of CN1485748A publication Critical patent/CN1485748A/en
Application granted granted Critical
Publication of CN100416522C publication Critical patent/CN100416522C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The invention relates to a hot backup method and its terminal device access system using double computers, wherein the system includes a plurality of terminal devices, authorization host machine and a main access device connected between them, the system also comprises a secondary access device in parallel arrangement with the main access device. The invention can realize the total backup for the whole access device, it has the advantages of simple implementation and high reliability.

Description

Adopt the method and the terminal equipment access system thereof of two-node cluster hot backup
Technical field
The invention belongs to computer network access technology field, the particularly method of access device Hot Spare and terminal equipment access system thereof design.
Background technology
Along with developing rapidly of Computer Applied Technology, field that terminal device (as point of sales terminal and class point of sales terminal) is used and quantity have more and more widely become an important service of finance and other field such as tax control.This kind equipment mostly is placed on trade company's end, and the access device (as the NAC net control device of U.S. HYPERCOM company) that dials in to bank (or control center) by built-in dialing MODEM (modulator-demodular unit) is realized inserting.Because access device is in the core position of grid, for application system (as the financial application system), how to guarantee that its high reliability is extremely important.
Because the general application places of terminal device is relatively disperseed, at present main application model is the dial-up access mode.Existing a kind of point of sale (POS-Point of sale) terminal device dial-up access system, as shown in Figure 1, major equipment comprises net control device (POS access device), public telephone network, market private branch exchange (pbx), point of sale (POS) terminal (being called for short the POS machine) and bank main, front end processor among the figure; Wherein, the POS machine that is arranged on each market links to each other with PBX by telephone wire, PBX links to each other with public telephone network by junction line, the POS machine that is arranged on each point of sale directly links to each other with public telephone network by telephone wire, public telephone network links to each other with net control device by telephone wire, and net control device links to each other with bank main, front end processor again.
The general flow of POS business is: credit card is carried out " swiping the card " on the POS machine, and input relevant business datum (type of transaction, the amount of money, password etc.); The POS machine is passed to bank main by communication line by net control device (POS access device) with the information (card number, business datum etc.) that obtains; Main frame is handled information, and returns corresponding result (being called " mandate " usually) to the POS machine, thereby finishes a transaction.Junction line among the figure between net control device and the public telephone network adopts telephone wire.
Above-mentioned net control device (POS access device) inner structure as shown in Figure 2, this equipment is made of a cabinet and several slot, slot is used for pegging graft Line cards and finishes function corresponding.The tie-in line an outpost of the tax office that inserts on this net control device is the MODEM card, this line attachment cartoon is crossed telephone wire and is linked to each other with public telephone network, can finish the function of dial-up access, thereby make a call by the POS machine during transaction and connect and realize that access function, business processing finish back POS chance and hang communication line and wait for that transaction rebulids link next time with net control device.
At present, existing access way all is this pattern basically, because this class access device is in the core position of grid, for application system (as the financial application system), how to guarantee that its high reliability is extremely important.The reliability of net control device is to lean on the reliability of himself to be guaranteed in existing pattern.Be directed to aspect the reliability of net control device the dual power supply backup scenario of having only U.S. HYPERCOM company on its net control device, to realize.This scheme is to have put two power modules in this access device inside, and when one of them power module broke down, another module still can the power supply of assurance system.The shortcoming of this scheme is: at fault coverage limited, only limit to power module and damage.If the access device in the system itself or other link are out of order, this method can't solve.
Summary of the invention
The objective of the invention is to propose a kind of method and terminal equipment access system thereof that adopts two-node cluster hot backup, can realize omnibearing backup, have and realize simple, high reliability features whole access device for overcoming the weak point of prior art.
The present invention proposes a kind of method that adopts two-shipper to insert Hot Spare, may further comprise the steps:
1) parallel two access devices is set, and in these two access devices, inserts a tie-in line an outpost of the tax office respectively, constitute master and slave access device;
2) line attachment of setting said principal and subordinate's access device respectively holds and continuously detects the response time of inserting behind the request signal, and the tie-in line an outpost of the tax office of this main access device inserts behind the request signal response time and detects the response time behind the access request signal less than this from access device tie-in line an outpost of the tax office from detecting;
3) whether the tie-in line an outpost of the tax office of this principal and subordinate's access device has the request signal of access to produce on the independent detection circuit separately;
4) if this master or detect the access request signal from the tie-in line an outpost of the tax office of access device begins the duration of inserting request signal is carried out timing;
5) when the response time of the tie-in line an outpost of the tax office of the main access device that reaches described setting, if the tie-in line an outpost of the tax office of main access device is normal, then by the tie-in line an outpost of the tax office response request signal of main access device, connect circuit and finish data transmit-receive, if the line attachment card failure of main access device does not then respond, reach described setting from response time of the tie-in line an outpost of the tax office of access device the time, by tie-in line an outpost of the tax office response request signal, connect circuit and finish data transmit-receive from access device;
6) finish to disconnect behind the data transmit-receive and connect, repeat the 3rd), the 4th), the 5th) and the 6th) the step flow process.
Principal and subordinate's access device independent operating of the present invention does not need communication between mutually or is assisted to finish by other module.
The present invention also proposes a kind of terminal equipment access system that adopts the two-node cluster hot backup of said method, comprises a plurality of terminal devices, authorization host and is connected main access device between this terminal device and the authorization host; It is characterized in that, also comprise with this main access device parallel be provided with from access device.
The parallel setting of said master and slave access device can be each corresponding access interface parallel connection of tie-in line an outpost of the tax office accordingly in this master and slave access device, again by in the same communication line access communications network.
The said master and slave access device of the present invention can adopt the POS couple in router, and said tie-in line an outpost of the tax office can be POS access dial veneer.
Principle of work of the present invention is as follows:
1, under the normal condition: finish access function by main access device.When the terminal device request of sending and line attachment were idle, communication network can be received circuit on the line attachment and produce request signal on line attachment, and this process is standard, disclosed signal.After request signal produced, access device can be set in as required and receive this request signal and keep responding after a period of time, can take different values during this period of time.The present invention has just utilized this characteristic.Master among the present invention, be to detect the response time difference that inserts behind the request signal from the difference of access device, the present invention set main access device from detect response time of inserting behind the request signal less than from access device from detecting the time that responds behind the request signal of inserting, when on the circuit request signal being arranged, main, all can detect request signal simultaneously and start the request time counting from access device, since main access device from detect response time of inserting behind the request signal less than from access device from detecting the time that responds behind the request signal of inserting, can guarantee response earlier under the normal situation of main access device like this, main access device response back will no longer detect request signal from access device and also can not handle, thereby also can not influence the communication process of main access device circuit, operation subsequently all will be finished by main access device.
2, take place unusual when main access device, such as the outage of main access device or when breaking down, when on the circuit request signal being arranged, because of main access device can't be worked, and will detect request signal from access device, when reaching from access device after the response time, should can finish access function from access device.
3, in case main access device fault obtains repairing, promptly main access device is got back to normal condition, inserts and will still be finished by main access device.
In whole implement process, switching and realizing very easyly of master and slave access device do not need special communication mechanism to guarantee between the two, do not need master and slave access device to carry out any communication and increases the special module of switching.Thereby complexity is low, the reliability height.
Collaborative work by master and slave access device, can realize redundancy backup to whole access device, simultaneously, also can back up with the circuit that links to each other with main frame line attachment, can be by this backup scenario from the reliability of the access device that guarantees to be in the network core position to a great extent.
Characteristics of the present invention and excellent results:
1, can realize inserting load balancing: when main access device can not in time respond and satisfy from response time of access device impose a condition after, still can respond from access device and to handle.
2, can realize omnibearing backup, not only comprise power supply whole access device, but all hardware and software modules.
3, simplicity of design can further improve the reliability of access network core, for operator and user offer high-quality service, helps the development of terminal access technology.
4, can be applicable in the network structure of POS terminal, class POS terminal or similar dial-up access.
Description of drawings
Fig. 1 is the basic networking synoptic diagram of existing a kind of POS terminal dialing connecting system.
Fig. 2 is existing POS access device and public telephone network wiring schematic diagram.
Fig. 3 adopts the realization flow figure of the method embodiment of two-node cluster hot backup for the present invention.
Fig. 4 is the POS connecting system embodiment networking synoptic diagram of two-node cluster hot backup of the present invention.
Fig. 5 is the master and slave POS access device and the public telephone network wiring schematic diagram of present embodiment.
Embodiment
The method of the employing two-node cluster hot backup that the present invention proposes and terminal equipment access system thereof reach embodiment in conjunction with the accompanying drawings and are described in detail as follows:
The flow process of heat backup method this method of the connecting system of present embodiment may further comprise the steps as shown in Figure 3:
1) parallel two POS couple in routers are set, this every router inserts a POS tie-in line an outpost of the tax office and constitutes master and slave access device;
2) the tie-in line an outpost of the tax office that main access device is set from detect ring request signal (access request signal) to off-hook (response) time be 0.5 second, from the tie-in line an outpost of the tax office of access device from detect ring request signal (access request signal) to off-hook (response) time be 1 second;
3) whether the tie-in line an outpost of the tax office of principal and subordinate's access device has ringing signal generating signal on the independent detection circuit separately;
4) if main or detect ringdown, begin the duration of ringdown is carried out timing from access device tie-in line an outpost of the tax office;
5) when off-hook (response) time (0.5 second) of the tie-in line an outpost of the tax office of the main access device that reaches described setting, if the tie-in line an outpost of the tax office of main access device is normal, then by the tie-in line an outpost of the tax office off-hook of main access device, connect circuit and finish data transmit-receive, if the line attachment card failure of main access device, then do not respond, reach described setting from off-hook (response) time (1 second) of the tie-in line an outpost of the tax office of access device the time, by tie-in line an outpost of the tax office off-hook, connect circuit and finish data transmit-receive from access device;
6) finish on-hook behind the data transmit-receive (disconnect and connecting), repeat the 3rd), the 4th), the 5th) and the 6th) the step flow process.
Principal and subordinate's access device independent operating of present embodiment does not need communication between mutually or is assisted to finish by other module.
The point-of-sale terminal equipment dial-up access system global structure that present embodiment employing said method constitutes as shown in Figure 4, the present embodiment system comprises that mainly two POS couple in routers constitute principal and subordinate's access device, public telephone network, the market private branch exchange (pbx), point of sales terminal (being called for short the POS machine) and bank main, front end processor: the POS machine that wherein is arranged on each market links to each other with PBX by telephone wire, PBX links to each other with public telephone network by junction line, the POS machine that is arranged on each point of sale directly links to each other with public telephone network by telephone wire, public telephone network links to each other with two POS couple in routers (principal and subordinate's access device) by telephone wire, these two POS couple in routers again with bank main, front end processor links to each other; Wherein, this the main POS couple in router and the setting that walks abreast from the POS couple in router, these two access devices all are connected said public telephone network and bank main, between the front end processor, the annexation of two access devices as shown in Figure 5, main access device and be POS access dial veneer among the figure from the tie-in line an outpost of the tax office of access device correspondence, be used for realizing that the POS terminal dialing inserts: but this access device is made up of the groove of a cabinet and several plug-in cards and the POS access dial veneer (figure is representative with 6 port card) that inserts wherein, each has been inserted a tie-in line an outpost of the tax office (reality can have been inserted the card of varying number according to system's needs in two access devices, finish function corresponding), every tie-in line an outpost of the tax office (POS access dial veneer) provides 6 dial-up access ports, main, from the tie-in line an outpost of the tax office of access device, be connected in parallel between corresponding access interface and form backup, and link to each other with said public telephone network by same telephone wire.These two access devices all can independently be finished access function, independently line traffic is all arranged between principal and subordinate's access device and main frame, and for each bar line attachment, all link to each other with circuit and the circuit from the tie-in line an outpost of the tax office of access device in the tie-in line an outpost of the tax office of a main access device.
The principle of work of present embodiment is as follows:
1, under the normal condition: POS couple in router access device of deciding, and an other POS couple in router is done from access device, finishes the POS access function by main access device.When POS machine dialing and line attachment were idle, public telephone network can be received circuit on the line attachment and produce ringdown on line attachment, and this process is standard, disclosed signal.Present embodiment is provided with main access device off-hook after continuing to detect ring in 0.5 second, and from access device off-hook just after continuing to detect ring in 1 second only, the ring retention time is realized by the POS couple in router.When having the POS machine to call out on the circuit, principal and subordinate's access device all can detect ring simultaneously, because main access device detects the off-hook time less than detect the off-hook time from access device from ring from ring, can guarantee first off-hook under the normal situation of main access device like this, will no longer detect ring from access device behind the main access device off-hook and also can not handle by off-hook.Thereby also can not influence negotiation and the communication process of main access device circuit MODEM, operation subsequently all will be finished by main access device.
2, take place unusual when main access device, be de-energized such as main access device, when having the POS machine to call out on the circuit, main access device can't be worked, so detect 1 second lasting ringdown from access device before, main access device can be not normally behind the ringdown that continues to detect 0.5 second off-hook, and will set up detecting 1 second condition of ring from access device, when reaching from access device ring off-hook after the time, can finish access function by off-hook from access device.
3, in case main access device fault obtains repairing, promptly main access device is got back to normal condition, inserts and will still be finished by main access device.
In whole implement process, switching and realizing very easyly of master and slave access device do not need special communication mechanism to guarantee that complexity is low, the reliability height between the two.

Claims (4)

1, a kind of method that adopts two-shipper to insert Hot Spare may further comprise the steps:
1) parallel two access devices is set, and in these two access devices, inserts a tie-in line an outpost of the tax office respectively, constitute master and slave access device;
2) line attachment of setting said principal and subordinate's access device respectively holds and continuously detects the response time of inserting behind the request signal, and the tie-in line an outpost of the tax office of this main access device inserts behind the request signal response time and detects the response time behind the access request signal less than this from access device tie-in line an outpost of the tax office from detecting;
3) whether the tie-in line an outpost of the tax office of this principal and subordinate's access device has the request signal of access to produce on the independent detection circuit separately;
4) if this master or detect the access request signal from the tie-in line an outpost of the tax office of access device begins the duration of inserting request signal is carried out timing;
5) when the response time of the tie-in line an outpost of the tax office of the main access device that reaches described setting, if the tie-in line an outpost of the tax office of main access device is normal, then by the tie-in line an outpost of the tax office response request signal of main access device, connect circuit and finish data transmit-receive, if the line attachment card failure of main access device does not then respond, reach described setting from response time of the tie-in line an outpost of the tax office of access device the time, by tie-in line an outpost of the tax office response request signal, connect circuit and finish data transmit-receive from access device;
6) finish to disconnect behind the data transmit-receive and connect, repeat the 3rd), the 4th), the 5th) and the 6th) the step flow process.
2, a kind of employing terminal equipment access system of method according to claim 1 comprises a plurality of terminal devices, authorization host and is connected main access device between this terminal device and the authorization host; It is characterized in that, also comprise with this main access device parallel be provided with from access device.
3, terminal equipment access system as claimed in claim 2, it is characterized in that, parallel each the corresponding access interface parallel connection that is set to corresponding tie-in line an outpost of the tax office in this master and slave access device of said master and slave access device is again by in the same communication line access communications network.
4, terminal equipment access system as claimed in claim 2 is characterized in that, said master and slave POS access device adopts the POS couple in router, and said tie-in line an outpost of the tax office is a POS access dial veneer.
CNB021436339A 2002-09-25 2002-09-25 Method for hot backup employing double machine and terminal device access system thereof Expired - Fee Related CN100416522C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021436339A CN100416522C (en) 2002-09-25 2002-09-25 Method for hot backup employing double machine and terminal device access system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021436339A CN100416522C (en) 2002-09-25 2002-09-25 Method for hot backup employing double machine and terminal device access system thereof

Publications (2)

Publication Number Publication Date
CN1485748A true CN1485748A (en) 2004-03-31
CN100416522C CN100416522C (en) 2008-09-03

Family

ID=34148297

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021436339A Expired - Fee Related CN100416522C (en) 2002-09-25 2002-09-25 Method for hot backup employing double machine and terminal device access system thereof

Country Status (1)

Country Link
CN (1) CN100416522C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100385255C (en) * 2004-06-30 2008-04-30 上海神开科技工程有限公司 Double collecting machine system and it double collecting method for double machine hot back-up
CN102790696A (en) * 2012-07-26 2012-11-21 深圳市共进电子股份有限公司 Network accessing system and network accessing method thereof
CN105719414A (en) * 2014-12-05 2016-06-29 航天信息股份有限公司 POS terminal invoicing method and device, and invoicing server terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1128558C (en) * 2000-10-01 2003-11-19 深圳市中兴通讯股份有限公司 Base station control maintenance module backup system
CN1175353C (en) * 2001-01-19 2004-11-10 华为技术有限公司 Method for implementing dual-system standby

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100385255C (en) * 2004-06-30 2008-04-30 上海神开科技工程有限公司 Double collecting machine system and it double collecting method for double machine hot back-up
CN102790696A (en) * 2012-07-26 2012-11-21 深圳市共进电子股份有限公司 Network accessing system and network accessing method thereof
CN102790696B (en) * 2012-07-26 2016-06-08 深圳市共进电子股份有限公司 A kind of network access system and method for network access thereof
CN105719414A (en) * 2014-12-05 2016-06-29 航天信息股份有限公司 POS terminal invoicing method and device, and invoicing server terminal

Also Published As

Publication number Publication date
CN100416522C (en) 2008-09-03

Similar Documents

Publication Publication Date Title
CN1396757A (en) System and method for providing analog telephone service
CN101087314B (en) A system and method for application to use socket interface across processes
CN1655522A (en) Pre-configuration realization method for cradle type network apparatus service board
CN1201554C (en) Method and system for remote terminal dial-up
CN1925432A (en) Method for realizing tax controlled data monitoring of POS system
CN1485748A (en) Method for hot backup employing double machine and terminal device access system thereof
US6594685B1 (en) Universal application programming interface having generic message format
CN1856123A (en) System and method for exchanging modules in switch
CN2790078Y (en) communication equipment back plate
CN108282590A (en) A kind of multichannel dialing control system and control method
US6629263B1 (en) Fault tolerant network element for a common channel signaling (CCS) system
CN1949724A (en) Ether port protection method
CN100416607C (en) Single-computer access circuit hot back-up method and its terminal equipment access system
US6484154B1 (en) Safe for electric money and an electric money system
CN100463417C (en) Cascade on-line detection system and detection method
CN1767418B (en) Time slot collocating method for optimizing time-division resource
CN100452673C (en) Digital auendant console
CN1869935A (en) Automatic start method of switchboard plate
CN101076072A (en) Method and system for processing prepaid network and postpaid network service
CN1564172A (en) Control method and appts. for mobile self-helping service system
CN1567834A (en) A method for dynamically adjusting system service performance on service management point
Brown et al. No. 10A remote switching system: Host software
CN1029448C (en) Entry point device between visual image and character network
CN1148214A (en) Interconnecting device for multi-end bus bridge
CN2549669Y (en) Coding protector of intelligent telephone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080903

Termination date: 20150925

EXPY Termination of patent right or utility model