CN105656677A - Switching method for main and standby merchant bank front ends and application server - Google Patents
Switching method for main and standby merchant bank front ends and application server Download PDFInfo
- Publication number
- CN105656677A CN105656677A CN201610052276.3A CN201610052276A CN105656677A CN 105656677 A CN105656677 A CN 105656677A CN 201610052276 A CN201610052276 A CN 201610052276A CN 105656677 A CN105656677 A CN 105656677A
- Authority
- CN
- China
- Prior art keywords
- preposition machine
- message
- cnaps2
- machine
- preposition
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012545 processing Methods 0.000 claims description 23
- 230000005540 biological transmission Effects 0.000 claims description 11
- 238000004891 communication Methods 0.000 abstract description 7
- 238000003032 molecular docking Methods 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 101001074449 Crotalus durissus terrificus Phospholipase A2 inhibitor CNF Proteins 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 206010000372 Accident at work Diseases 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/22—Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a switching method for main and standby merchant bank front ends. Each main merchant bank front end is used for one-to-one docking communication with each main merchant bank front end of a CNAPS2 (The 2nd Generation China National Advanced Payment System), and each standby merchant bank front end is used for one-to-one docking communication with each standby merchant bank front end of the CNAPS2. The method comprises the following steps of determining the available front end for communication with the CNAPS2 at this time according to the status of the available front end which is subjected to main and standby switching according to the CNAPS2, wherein the available front end is one main merchant bank front end or one standby merchant bank front end; and reading a configuration file corresponding to the available front end from the configuration file which is respectively configured for each merchant bank front end, and sending a message to the CNAPS2 through the available front end according to the read configuration file. The invention also discloses an application server.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of commercial bank master for the switching method of preposition machine and application server.
Background technology
People's Bank of China s-generation payment system (The2ndGenerationChinaNationalAdvancedPaymentSystem, CNAPS2) for improving Defrayal and Clearing System, safeguard safety, the Effec-tive Function of financial system, and macro adjustments and controls are fulfiled by Central Bank and service function is significant.
Commercial bank front-end processor system (MerchantBankFrontEnd, MBFE) is positioned at each commercial bank, is the unique channel of commercial bank payment instruction turnover CNAPS2. Each commercial bank to be participated in the whole nation of CNAPS2 and the fund clearing in same city/area, must and can only by being positioned at the MBFE system of its branch, and CNAPS2 only provides each bank pre-machine end and city processing enter (CityClearingProcessingCenter, CCPC), country processing enter (ElectronicCommercialDraftNationalProcessCenter, NPC) the business communication between, each bank pre-machine end is by MBFE server access CNAPS2.
CNAPS2 is divided into standby two cover systems of advocating peace, commercial bank is as the business participant of CNAPS2, by paying message transmissions platform (PaymentMessageTransferSystem, pmts) CNAPS2 is accessed, when CNAPS2 adopts host system, commercial bank accesses CNAPS2 host system by primary front-end processor system, and when CNAPS2 adopts standby system, commercial bank accesses CNAPS2 for system by front-end processor system for subsequent use. CNAPS2 can be switched to standby system by host system under emergency conditions, in order to coordinate People's Bank of China's active-standby switch, commercial bank's front-end processor system also to be carried out corresponding active-standby switch, but, commercial bank's primary preposition machine related resource configuration is configured in code with preposition machine related resource for subsequent use, configuration file, the aspects such as application server resource is arranged are shared, clearly do not isolate, the degree of coupling is big, when causing active-standby switch, need a large amount of relevant configuration parameters revising preposition machine, when such as commercial bank is by primary front-end processor system switching use front-end processor system for subsequent use, need the primary preposition machine IP address in shared configuration file, the parameter modifications such as port numbers become preposition machine IP address for subsequent use, port numbers, but, because parameter switching spends the cycle longer, the emergent needs of People's Bank of China cannot be responded fast, and the amendment of system configuration also easily causes industrial accident in row, affect clients fund safety.
Summary of the invention
In view of this, the switching method that the main purpose of the embodiment of the present invention is to provide a kind of commercial bank master for preposition machine and application server, to realize the object that commercial bank carries out leading standby preposition machine switching fast.
For achieving the above object, embodiments provide the switching method of a kind of commercial bank master for preposition machine, the primary preposition machine of every platform of described commercial bank is for connecting letter in pairs with the primary preposition machine of every platform of People's Bank of China s-generation payment system CNAPS2, every platform of described commercial bank preposition machine for subsequent use is for connecting letter in pairs with every platform of CNAPS2 preposition machine for subsequent use, and described method comprises:
The preposition machine state using preposition machine after carrying out active-standby switch according to CNAPS2, it is determined that this carries out the available preposition machine communicated with CNAPS2, described available preposition machine is a primary preposition machine of described commercial bank or preposition machine for subsequent use;
From the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with described available preposition machine, and send message by described available preposition machine to CNAPS2 according to the configuration file read.
Optionally, the described configuration file for the every platform preposition machine configuration of described commercial bank specifically comprises: the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform;
Described from the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with described available preposition machine, and send message by described available preposition machine to CNAPS2 according to the configuration file read, comprising:
Determine the message classification of this message to be sent;
From the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform, it is read as the configuration file of described available preposition machine for the message classification configuration determined, and sends described to be sent message by described available preposition machine to CNAPS2 according to the configuration file read.
Optionally, the described configuration file according to reading sends described message to be sent by described available preposition machine to CNAPS2, comprising:
If the message classification of described reading is transaction class message, then makes described message to be sent enter described available preposition machine by real-time transmit queue, send described message to be sent by described available preposition machine to CNAPS2;
If the message classification of described reading is info class message, then make described message to be sent enter described available preposition machine by common transmit queue, send described message to be sent by described available preposition machine to CNAPS2.
Optionally, described method also comprises:
The status information of the preposition machine of CNAPS2 docked with described commercial bank preposition machine is obtained with Fixed Time Interval;
Utilize the status information that this state information updating last time obtained obtains;
If described message to be sent is: the message to be sent sent to CNAPS2 in advance after CNAPS2 switching and within first interval time, then send message by described available preposition machine to CNAPS2 described in, comprising:
After terminating described first interval time, described message to be sent is sent to CNAPS2 by described available preposition machine.
Optionally, described method also comprises:
Obtain the message that the preposition machine of CNAPS2 sends to the preposition machine of the commercial bank docked with it, and the message of acquisition is pushed to background server and carries out accounting processing.
The embodiment of the present invention additionally provides a kind of application server, it is characterized in that, described application server is positioned at commercial bank, the primary preposition machine of every platform of described commercial bank is for connecting letter in pairs with the primary preposition machine of every platform of People's Bank of China s-generation payment system CNAPS2, every platform of described commercial bank preposition machine for subsequent use is for connecting letter in pairs with every platform of CNAPS2 preposition machine for subsequent use, and described application server comprises:
Preposition machine selection unit, for the preposition machine state using preposition machine after carrying out active-standby switch according to CNAPS2, determining that this and CNAPS2 carry out the available preposition machine communicated, described available preposition machine is a primary preposition machine of described commercial bank or preposition machine for subsequent use;
Packet sending unit, for from the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with the available preposition machine that described preposition machine selection unit is selected, and send message by described available preposition machine to CNAPS2 according to the configuration file read.
Optionally, the described configuration file for the every platform preposition machine configuration of described commercial bank specifically comprises: the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform; Described packet sending unit, comprising:
Category determination module, for determining the message classification of this message to be sent;
File read module, for from, in the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform, reading described category determination module is the configuration file of described available preposition machine for the message classification configuration determined;
Message sending module, sends described to be sent message by described available preposition machine to CNAPS2 for the configuration file read according to described file read module.
Optionally, described message sending module, comprising:
First transmission submodule block, if the message classification for described reading is transaction class message, then makes described message to be sent enter described available preposition machine by real-time transmit queue, sends described message to be sent by described available preposition machine to CNAPS2;
2nd transmission submodule block, if the message classification for described reading is info class message, then makes described message to be sent enter described available preposition machine by common transmit queue, sends described message to be sent by described available preposition machine to CNAPS2.
Optionally, described application server also comprises:
State acquisition module, for obtaining the status information of the preposition machine of CNAPS2 docked with described commercial bank preposition machine with Fixed Time Interval;
State updating module, for the status information utilizing this state information updating last time obtained of described state acquisition module to obtain;
If described message to be sent is: the message to be sent sent to CNAPS2 in advance after CNAPS2 switching and within first interval time, then described packet sending unit, specifically for sending described to be sent message to CNAPS2 by described available preposition machine after terminating described first interval time.
Optionally, described application server also comprises:
Report acquiring unit, for obtaining the message that the preposition machine of CNAPS2 sends to the preposition machine of the commercial bank docked with it;
Report propelling movement unit, carry out accounting processing for the described message reporting acquiring unit to obtain is pushed to background server.
The commercial bank master that the embodiment of the present invention provides is for the switching method of preposition machine and application server, the preposition machine state using preposition machine after carrying out active-standby switch according to CNAPS2, determine that this and CNAPS2 carry out the available preposition machine communicated, again from the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with described available preposition machine, and send message by described available preposition machine to CNAPS2 according to the configuration file read. Due to the configuration file of each own correspondence of each preposition machine of commercial bank, therefore, when commercial bank carries out active-standby switch, as prior art, the configuration parameter that preposition machine shares in configuration file need not be modified, only need to transferring configuration file corresponding to available preposition machine, such commercial bank can respond the active-standby switch scheme of CNAPS2 fast.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, it is 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 some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is embodiment of the present invention commercial bank front-end system schematic diagram;
Fig. 2 is the schematic flow sheet of embodiment of the present invention commercial bank master for the switching method of preposition machine;
Fig. 3 is the composition schematic diagram of embodiment of the present invention application server.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is 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 other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Commercial bank's front-end system schematic diagram shown in Figure 1, comprising: preposition machine server, application server (IBMWebSphereApplicationServer, WAS) and background server (CICS). described preposition machine server comprises a set of primary front-end processor system (comprising at least one primary preposition machine) and a set of front-end processor system for subsequent use (comprising at least one preposition machine for subsequent use), People's Bank of China s-generation payment system (The2ndGenerationChinaNationalAdvancedPaymentSystem, CNAPS2) a set of primary front-end processor system (comprising at least one primary preposition machine) and a set of front-end processor system for subsequent use (comprising at least one preposition machine for subsequent use) is also comprised, the primary preposition machine of every platform of described commercial bank is for connecting letter in pairs with the primary preposition machine of every platform of People's Bank of China s-generation payment system CNAPS2, every platform of described commercial bank preposition machine for subsequent use is for connecting letter in pairs with every platform of CNAPS2 preposition machine for subsequent use. such as, the primary front-end processor system of CNAPS2 comprises primary preposition machine 1, primary preposition machine 2, the front-end processor system for subsequent use of CNAPS2 comprises preposition machine 1 for subsequent use, preposition machine 2 for subsequent use, the primary front-end processor system of commercial bank comprises primary preposition machine 1, primary preposition machine 2, the front-end processor system for subsequent use of commercial bank comprises preposition machine 1 for subsequent use, preposition machine 2 for subsequent use, then the primary preposition machine 1 of commercial bank docks for carrying out with the primary preposition machine 1 of CNAPS2 and communicates, the primary preposition machine 2 of commercial bank docks for carrying out with the primary preposition machine 2 of CNAPS2 and communicates, the for subsequent use preposition machine 1 of commercial bank docks for carrying out with for subsequent use preposition machine 1 of CNAPS2 and communicates, the for subsequent use preposition machine 2 of commercial bank docks for carrying out with for subsequent use preposition machine 2 of CNAPS2 and communicates.
See Fig. 2, the commercial bank master provided for the embodiment of the present invention is for the schematic flow sheet of the switching method of preposition machine, and WAS application server realizes the method according to following step, specifically comprises:
Step 201: the preposition machine state using preposition machine after carrying out active-standby switch according to CNAPS2, it is determined that this carries out the available preposition machine communicated with CNAPS2, described available preposition machine is a primary preposition machine of described commercial bank or preposition machine for subsequent use.
After CNAPS2 is switched to front-end processor system for subsequent use or is switched to primary front-end processor system by front-end processor system for subsequent use by primary front-end processor system, commercial bank also needs to carry out corresponding active-standby switch, and the People's Bank (is hereinafter called for short People's Bank of China) and can notify that commercial bank carries out corresponding switching with manual notifications's mode or alternate manner.
See Fig. 1, the preposition facility of each of commercial bank have a preposition machine monitoring module, when the primary front-end processor system of commercial bank is switched to front-end processor system for subsequent use, its each preposition machine for subsequent use (namely CNAPS2 carry out active-standby switch after use preposition machine) monitoring of respective preposition machine monitoring module can be adopted to dock with it the preposition machine state of People's Bank of China of communication, select available preposition machine when sending message to People's Bank of China for follow-up according to this preposition machine state. Wherein, described preposition machine monitoring module has preposition machine state collection function and preposition machine state recording function, described preposition machine state collection function refers to the status information of the preposition machine of People's Bank of China of the mode timing acquiring docking by the crontab orders of transaction (timing of the unix operating system such as AIX perform) and shell unix operating system script language such as () AIX, such as at interval of 1 minute collection once preposition machine status information. Such as, in Fig. 1, the status information of the CNAPS2 preposition machine 1 for subsequent use that commercial bank's preposition machine 1 timing acquiring for subsequent use is docked with it, the status information of the CNAPS2 preposition machine 2 for subsequent use that commercial bank's preposition machine 2 timing acquiring for subsequent use is docked with it, described preposition machine state recording function refers to that the status information to collecting preserves, for follow-up transmit messages to People's Bank of China time preposition machine selection.
The preposition machine state of WAS application server intercepts module MDB (meeting the module that java intercepts message criteria), for intercepting each preposition machine monitoring module timing acquiring and the preposition machine status information preserved. The preposition machine state updating module of WAS application server, what the preposition machine state intercepted the CNAPS2 preposition machine state FONSTA of record in the up-to-date preposition machine state information updating preposition machine state table RCTFLF that module MDB listens to for utilizing preposition machine state and upgrade record in preposition machine state table RCTFLF intercepted module MDB intercepts transmission time SNDTIM.
The People's Bank of China of WAS application server is toward report processing module, for when after the message exporting transaction class information such as () such as transaction records or info class (such as successfully transaction waits and notifies category information) after background server CICS carries out accounting processing, carrying out organizing a series of Message processing such as message-endorse-message format conversion, the master that then message after process is sent to WAS application server selects module for preposition machine.
The master of WAS application server selects module for preposition machine, for obtaining reception server name RCVSVR according to main standby zone bit FONFLG, namely according to the content of record in the preposition machine state table RCTFLF of described preposition machine state updating module, obtain described People's Bank of China and export, toward report processing module, the available preposition machine flowed to toward message. such as zone bit 1 represents primary preposition machine, zone bit 0 represents preposition machine for subsequent use, preposition machine mark is respectively MBFEA-svr1 (representing primary preposition machine 1), MBFEB-svr2 (represents primary preposition machine 2), MBFEC-svr3 (represents preposition machine 1 for subsequent use), MBFED-svr4 (represents preposition machine 2 for subsequent use), assume that CNAPS2 uses front-end processor system for subsequent use after switching, and the status information that for subsequent use preposition machine 1 of commercial bank utilizes preposition machine monitoring module to collect CNAPS2 preposition machine 1 for subsequent use is network state difference, preposition machine 2 for subsequent use utilize status information that preposition machine monitoring module collects CNAPS2 preposition machine 2 for subsequent use for network in good condition, then main standby preposition machine selects module first to select front-end processor system for subsequent use by zone bit 0, then the good preposition machine 2 for subsequent use of network state is selected to carry out the available preposition machine communicated with CNAPS2 (preposition machine 2 for subsequent use) as this.
Step 202: from the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with described available preposition machine, and send message by described available preposition machine to CNAPS2 according to the configuration file read.
WAS application server is configured with configuration file respectively for the preposition machine of every platform, if the message that preposition for commercial bank machine sends to CNAPS2 is classified, such as it is divided into transaction class information such as () such as transaction records and info class (such as successfully transaction waits and notifies category information) two class messages, for the configuration file configured for commercial bank's preposition machine of every platform can be specifically: the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform.
After the master of WAS application server selects module to have selected the available preposition machine that this carries out communicating with CNAPS2 for preposition machine, such as preposition machine 2 for subsequent use is described available preposition machine, then the preposition machine transmit queue of WAS application server selects module it needs to be determined that People's Bank of China is toward the message classification reporting processing module to export, if message classification is transaction class message, then it is chosen as the configuration file of preposition machine 2 for subsequent use for transaction class message configuration, this configuration file comprises WAS application server and connects IP address and the port numbers that corresponding preposition machine for subsequent use uses, and used the contents such as message queue for sending transaction class message to CNAPS2, if message classification is info class message, then being chosen as the configuration file that preposition machine 2 for subsequent use configures for info class message, this configuration file comprises WAS application server and connects IP address and the port numbers of corresponding preposition machine for subsequent use use and used the contents such as message queue for sending info class message to CNAPS2.
The preposition machine of every platform is respectively to there being two class indications, specifically, primary preposition machine 1 is to there being the common queue mark OuterNormsvr1 and real-time queue identity OuterRealsvr1 mailing to primary preposition machine 1 (MBFEA), primary preposition machine 2 is to there being the common queue mark OuterNormsvr2 and real-time queue identity OuterRealsvr2 mailing to primary preposition machine 2 (MBFEB), preposition machine 1 for subsequent use is to there being the common queue mark OuterNormsvr3 and real-time queue identity OuterRealsvr3 mailing to preposition machine 1 (MBFEC) for subsequent use, preposition machine 2 for subsequent use is to there being the common queue mark OuterNormsvr4 and real-time queue identity OuterRealsvr4 mailing to preposition machine 2 (MBFED) for subsequent use.
Dummy installation is the message classification that described available preposition machine and People's Bank of China past report processing module exports with preposition machine 2 is transaction class message, then the preposition machine transmit queue selection module of WAS server can by selecting real-time queue identity OuterRealsvr4 to select real-time transmit queue, so that People's Bank of China enters the real-time transmit queue of selection toward the message that report processing module exports, now, message can be pushed to preposition machine 2 for subsequent use by this queue toward report pushing module by corresponding with preposition machine for subsequent use People's Bank of China. same, dummy installation is described available preposition machine with preposition machine 2, and the message classification that People's Bank of China exports toward report processing module is info class message, then the preposition machine transmit queue of WAS server selects module can select common transmit queue by selecting common queue to identify OuterNormsvr4, so that People's Bank of China enters the common transmit queue of selection toward the message that report processing module exports, now, message can be pushed to preposition machine 2 for subsequent use by this queue toward report pushing module by the People's Bank of China corresponding with preposition machine for subsequent use, People's Bank of China is mainly sent People's Bank of China toward the message after report processing module process by preposition machine toward report pushing module by People's Bank of China, complete final inter-bank transaction. it should be noted that, the data sent on real-time transmit queue are relevant with fund, so it is important, need to process in real time, the data sent on common transmit queue are relevant with notice category information, its important degree compared with the data on real-time transmit queue is lower, it is not necessary to processes in real time, adopts general information processing manner.
To sum up, step 202 is realized in the following manner:
Determine the message classification of this message to be sent; From the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform, it is read as the configuration file of described available preposition machine for the message classification configuration determined, and sends described to be sent message by described available preposition machine to CNAPS2 according to the configuration file read. Wherein, if the message classification of described reading is transaction class message, then makes described message to be sent enter described available preposition machine by real-time transmit queue, send described message to be sent by described available preposition machine to CNAPS2; If the message classification of described reading is info class message, then make described message to be sent enter described available preposition machine by common transmit queue, send described message to be sent by described available preposition machine to CNAPS2.
In embodiments of the present invention, owing to WAS application server is the status information (utilizing preposition machine state to intercept module to realize) obtaining the preposition machine of CNAPS2 dock with described commercial bank preposition machine with Fixed Time Interval, and utilize the status information (utilizing preposition machine state updating module to realize) of the last acquisition of this state information updating obtained. After CNAPS2 active-standby switch, intercept before module gets in the cycle in timed interval first time the preposition machine status information monitored in the preposition machine state of WAS application server, if People's Bank of China is the message to be sent sent to CNAPS2 in advance after CNAPS2 switching and within first interval time toward the message that report processing module outputs, then after terminating described first interval time, send described to be sent message to CNAPS2 by described available preposition machine.
It should be noted that, when CNAPS2 is switched to standby system by host system, commercial bank carries out the switching of primary front-end processor system to front-end processor system for subsequent use according to the method described above, with reason, when CNAPS2 is by during for systematic evaluation to host system, commercial bank carries out the switching of front-end processor system for subsequent use to primary front-end processor system equally according to the method described above, does not repeat them here.
Foregoing describes the transmission flow toward report (message that the preposition machine of commercial bank sends) to CNAPS2, introduce the treatment scheme reporting (message that CNAPS2 sends) to the preposition machine of C commercial bank below, mainly obtain the message that the preposition machine of CNAPS2 sends to the preposition machine of the commercial bank docked with it, and the message of acquisition is pushed to background server and carries out accounting processing. Specifically, WAS application server utilizes primary preposition machine report to intercept module MDB (meeting the module that java intercepts message criteria) and intercepts the message of the preposition machine of People's Bank of China to the primary front-end processor system transmission of commercial bank; WAS application server utilizes preposition machine report for subsequent use to intercept module MDB (meeting the module that java intercepts message criteria) and intercepts the message of the preposition machine of People's Bank of China to commercial bank's front-end processor system transmission for subsequent use; WAS application server recycling People's Bank of China reports processing module primary preposition machine report to intercept module MDB and preposition machine report for subsequent use is intercepted the message that module MDB listens to and tentatively torn report-label level open and tear a series of process such as report-sign test-message territory process-transaction record-notice backstage accounting processing open; WAS application server utilizes People's Bank of China, and to report, result pushes background module, and the composition information reported after People's Bank of China reports processing module process is pushed to backstage and carries out follow-up accounting processing.
The commercial bank master that the embodiment of the present invention provides is for the switching method of preposition machine and application server, the preposition machine state using preposition machine after carrying out active-standby switch according to CNAPS2, determine that this and CNAPS2 carry out the available preposition machine communicated, again from the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with described available preposition machine, and send message by described available preposition machine to CNAPS2 according to the configuration file read. Due to the configuration file of each own correspondence of each preposition machine of commercial bank, therefore, when commercial bank carries out active-standby switch, as prior art, the configuration parameter that preposition machine shares in configuration file need not be modified, only need to transferring configuration file corresponding to available preposition machine, such commercial bank can respond the active-standby switch scheme of CNAPS2 fast.
See Fig. 3, for the composition schematic diagram of the application server that the embodiment of the present invention provides, described application server is positioned at commercial bank, the primary preposition machine of every platform of described commercial bank is for connecting letter in pairs with the primary preposition machine of every platform of People's Bank of China s-generation payment system CNAPS2, every platform of described commercial bank preposition machine for subsequent use is for connecting letter in pairs with every platform of CNAPS2 preposition machine for subsequent use, and described application server comprises:
Preposition machine selection unit 301, for the preposition machine state using preposition machine after carrying out active-standby switch according to CNAPS2, determining that this and CNAPS2 carry out the available preposition machine communicated, described available preposition machine is a primary preposition machine of described commercial bank or preposition machine for subsequent use;
Packet sending unit 302, for from the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with the available preposition machine that described preposition machine selection unit 301 is selected, and send message by described available preposition machine to CNAPS2 according to the configuration file read.
In embodiments of the present invention, the described configuration file for the every platform preposition machine configuration of described commercial bank specifically comprises: the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform; Described packet sending unit 302, comprising:
Category determination module, for determining the message classification of this message to be sent;
File read module, for from, in the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform, reading described category determination module is the configuration file of described available preposition machine for the message classification configuration determined;
Message sending module, sends described to be sent message by described available preposition machine to CNAPS2 for the configuration file read according to described file read module.
In embodiments of the present invention, described message sending module, comprising:
First transmission submodule block, if the message classification for described reading is transaction class message, then makes described message to be sent enter described available preposition machine by real-time transmit queue, sends described message to be sent by described available preposition machine to CNAPS2;
2nd transmission submodule block, if the message classification for described reading is info class message, then makes described message to be sent enter described available preposition machine by common transmit queue, sends described message to be sent by described available preposition machine to CNAPS2.
In embodiments of the present invention, described application server also comprises:
State acquisition module, for obtaining the status information of the preposition machine of CNAPS2 docked with described commercial bank preposition machine with Fixed Time Interval;
State updating module, for the status information utilizing this state information updating last time obtained of described state acquisition module to obtain;
If described message to be sent is: the message to be sent sent to CNAPS2 in advance after CNAPS2 switching and within first interval time, then described packet sending unit 302, specifically for sending described to be sent message to CNAPS2 by described available preposition machine after terminating described first interval time.
In embodiments of the present invention, described application server also comprises:
Report acquiring unit, for obtaining the message that the preposition machine of CNAPS2 sends to the preposition machine of the commercial bank docked with it;
Report propelling movement unit, carry out accounting processing for the described message reporting acquiring unit to obtain is pushed to background server.
It should be noted that, the component units of above-mentioned application server or module, can one or more function modules as shown in Figure 1 be realized according to its concrete function.
The application server that the embodiment of the present invention provides, the preposition machine state using preposition machine after carrying out active-standby switch according to CNAPS2, determine that this and CNAPS2 carry out the available preposition machine communicated, again from the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with described available preposition machine, and send message by described available preposition machine to CNAPS2 according to the configuration file read. Due to the configuration file of each own correspondence of each preposition machine of commercial bank, therefore, when commercial bank carries out active-standby switch, as prior art, the configuration parameter that preposition machine shares in configuration file need not be modified, only need to transferring configuration file corresponding to available preposition machine, such commercial bank can respond the active-standby switch scheme of CNAPS2 fast.
As seen through the above description of the embodiments, all or part of step that the technician of this area can be well understood in above-described embodiment method can realize by the mode that software adds required general hardware platform. Based on such understanding, the technical scheme of the present invention in essence or says that part prior art contributed can embody with the form of software product, this computer software product can be stored in storage media, such as ROM/RAM, magnetic disc, CD etc., comprise some instructions with so that a computer equipment (can be Personal Computer, server, or the network communication equipments such as such as media gateway, etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
It should be noted that, for application server disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates see method part.
Also it should be noted that, herein, the such as relational terms of first and second grades and so on is only used for separating an entity or operation with another entity or operational zone, and not necessarily requires or imply to there is any this kind of actual relation or sequentially between these entities or operation. And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, so that comprise the process of a series of key element, method, article or equipment not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise the key element intrinsic for this kind of process, method, article or equipment. When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are enable to realize or use 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 limited in these embodiments shown in this article, but be met the widest scope consistent with principle disclosed herein and features of novelty.
Claims (10)
1. a commercial bank master is for the switching method of preposition machine, it is characterized in that, the primary preposition machine of every platform of described commercial bank is for connecting letter in pairs with the primary preposition machine of every platform of People's Bank of China s-generation payment system CNAPS2, every platform of described commercial bank preposition machine for subsequent use is for connecting letter in pairs with every platform of CNAPS2 preposition machine for subsequent use, and described method comprises:
The preposition machine state using preposition machine after carrying out active-standby switch according to CNAPS2, it is determined that this carries out the available preposition machine communicated with CNAPS2, described available preposition machine is a primary preposition machine of described commercial bank or preposition machine for subsequent use;
From the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with described available preposition machine, and send message by described available preposition machine to CNAPS2 according to the configuration file read.
2. method according to claim 1, it is characterised in that, the described configuration file for the every platform preposition machine configuration of described commercial bank specifically comprises: the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform;
Described from the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with described available preposition machine, and send message by described available preposition machine to CNAPS2 according to the configuration file read, comprising:
Determine the message classification of this message to be sent;
From the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform, it is read as the configuration file of described available preposition machine for the message classification configuration determined, and sends described to be sent message by described available preposition machine to CNAPS2 according to the configuration file read.
3. method according to claim 2, it is characterised in that, the described configuration file according to reading sends described message to be sent by described available preposition machine to CNAPS2, comprising:
If the message classification of described reading is transaction class message, then makes described message to be sent enter described available preposition machine by real-time transmit queue, send described message to be sent by described available preposition machine to CNAPS2;
If the message classification of described reading is info class message, then make described message to be sent enter described available preposition machine by common transmit queue, send described message to be sent by described available preposition machine to CNAPS2.
4. according to the method in claim 2 or 3, it is characterised in that, described method also comprises:
The status information of the preposition machine of CNAPS2 docked with described commercial bank preposition machine is obtained with Fixed Time Interval;
Utilize the status information that this state information updating last time obtained obtains;
If described message to be sent is: the message to be sent sent to CNAPS2 in advance after CNAPS2 switching and within first interval time, then send message by described available preposition machine to CNAPS2 described in, comprising:
After terminating described first interval time, described message to be sent is sent to CNAPS2 by described available preposition machine.
5. method according to claim 1, it is characterised in that, described method also comprises:
Obtain the message that the preposition machine of CNAPS2 sends to the preposition machine of the commercial bank docked with it, and the message of acquisition is pushed to background server and carries out accounting processing.
6. an application server, it is characterized in that, described application server is positioned at commercial bank, the primary preposition machine of every platform of described commercial bank is for connecting letter in pairs with the primary preposition machine of every platform of People's Bank of China s-generation payment system CNAPS2, every platform of described commercial bank preposition machine for subsequent use is for connecting letter in pairs with every platform of CNAPS2 preposition machine for subsequent use, and described application server comprises:
Preposition machine selection unit, for the preposition machine state using preposition machine after carrying out active-standby switch according to CNAPS2, determining that this and CNAPS2 carry out the available preposition machine communicated, described available preposition machine is a primary preposition machine of described commercial bank or preposition machine for subsequent use;
Packet sending unit, for from the configuration file being respectively the preposition machine configuration of the every platform of described commercial bank, read the configuration file corresponding with the available preposition machine that described preposition machine selection unit is selected, and send message by described available preposition machine to CNAPS2 according to the configuration file read.
7. application server according to claim 6, it is characterised in that, the described configuration file for the every platform preposition machine configuration of described commercial bank specifically comprises: the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform; Described packet sending unit, comprising:
Category determination module, for determining the message classification of this message to be sent;
File read module, for from, in the configuration file configured respectively for often kind of message classification for the described commercial bank preposition machine of every platform, reading described category determination module is the configuration file of described available preposition machine for the message classification configuration determined;
Message sending module, sends described to be sent message by described available preposition machine to CNAPS2 for the configuration file read according to described file read module.
8. application server according to claim 7, it is characterised in that, described message sending module, comprising:
First transmission submodule block, if the message classification for described reading is transaction class message, then makes described message to be sent enter described available preposition machine by real-time transmit queue, sends described message to be sent by described available preposition machine to CNAPS2;
2nd transmission submodule block, if the message classification for described reading is info class message, then makes described message to be sent enter described available preposition machine by common transmit queue, sends described message to be sent by described available preposition machine to CNAPS2.
9. application server according to claim 7 or 8, it is characterised in that, described application server also comprises:
State acquisition module, for obtaining the status information of the preposition machine of CNAPS2 docked with described commercial bank preposition machine with Fixed Time Interval;
State updating module, for the status information utilizing this state information updating last time obtained of described state acquisition module to obtain;
If described message to be sent is: the message to be sent sent to CNAPS2 in advance after CNAPS2 switching and within first interval time, then described packet sending unit, specifically for sending described to be sent message to CNAPS2 by described available preposition machine after terminating described first interval time.
10. application server according to claim 6, it is characterised in that, described application server also comprises:
Report acquiring unit, for obtaining the message that the preposition machine of CNAPS2 sends to the preposition machine of the commercial bank docked with it;
Report propelling movement unit, carry out accounting processing for the described message reporting acquiring unit to obtain is pushed to background server.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610052276.3A CN105656677A (en) | 2016-01-26 | 2016-01-26 | Switching method for main and standby merchant bank front ends and application server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610052276.3A CN105656677A (en) | 2016-01-26 | 2016-01-26 | Switching method for main and standby merchant bank front ends and application server |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105656677A true CN105656677A (en) | 2016-06-08 |
Family
ID=56487181
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610052276.3A Pending CN105656677A (en) | 2016-01-26 | 2016-01-26 | Switching method for main and standby merchant bank front ends and application server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105656677A (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1681232A (en) * | 2004-04-05 | 2005-10-12 | 阿尔卡特公司 | Apparatus and method for improving switching time for segment/link and equipment protection |
| CN104035775A (en) * | 2014-06-12 | 2014-09-10 | 华夏银行股份有限公司 | Comprehensive front-end system of bank |
| US20140297307A1 (en) * | 2007-12-03 | 2014-10-02 | Jpmorgan Chase Bank, N.A. | System and Method for Processing Qualified Healthcare Account Related Financial Transactions |
| CN105024836A (en) * | 2014-04-15 | 2015-11-04 | 中国移动通信集团广东有限公司 | A switching method and device for an active service router SR and a standby SR, and the SR |
-
2016
- 2016-01-26 CN CN201610052276.3A patent/CN105656677A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1681232A (en) * | 2004-04-05 | 2005-10-12 | 阿尔卡特公司 | Apparatus and method for improving switching time for segment/link and equipment protection |
| US20140297307A1 (en) * | 2007-12-03 | 2014-10-02 | Jpmorgan Chase Bank, N.A. | System and Method for Processing Qualified Healthcare Account Related Financial Transactions |
| CN105024836A (en) * | 2014-04-15 | 2015-11-04 | 中国移动通信集团广东有限公司 | A switching method and device for an active service router SR and a standby SR, and the SR |
| CN104035775A (en) * | 2014-06-12 | 2014-09-10 | 华夏银行股份有限公司 | Comprehensive front-end system of bank |
Non-Patent Citations (1)
| Title |
|---|
| 中国人民银行清算总中心: "第二代支付系统技术介绍", 《百度文库》 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20200202221A1 (en) | Fault detection method and system based on generative adversarial network and computer program | |
| US9413597B2 (en) | Method and system for providing aggregated network alarms | |
| RU2006126777A (en) | SYSTEM OF MACHINES FOR PROCESSING BANKNOTES, MACHINE FOR PROCESSING BANKNOTES AND METHOD OF ITS OPERATION | |
| CN104601383B (en) | A kind of power telecom network fault piecewise analysis method | |
| CN105049253B (en) | A kind of method for obtaining mobile network's fault location and fault pre-alarming | |
| CN107332722A (en) | The method for removing and system of a kind of fault message | |
| CN105871581A (en) | Method and device for processing of alarm information in cloud calculation | |
| CN104361692A (en) | Transaction monitoring method, ATM (Automatic Teller Machine) front-end system and ATM transaction system | |
| CN105279651B (en) | A kind of transaction data monitor processing method and system | |
| CN103905219A (en) | System and method for monitoring and storing communication information in service platform | |
| CN107249182A (en) | A kind of note transmission method and its device, terminal device | |
| CN113242292A (en) | Message transmission method, device, equipment, medium and product | |
| CN112256763A (en) | Online monitoring system and equipment | |
| EP2690560A2 (en) | Method of benchmarking the behaviour of a replacement information system with the old system | |
| CN117173839A (en) | Intelligent early warning method and system for monitoring financial machines | |
| CN105260168A (en) | Log output method and device | |
| CN105656677A (en) | Switching method for main and standby merchant bank front ends and application server | |
| CN108389131A (en) | A kind of financial system micro services transaction monitoring implementation method | |
| CN109544827A (en) | Cash register and its application method with data backup device | |
| CN110609761B (en) | Method and device for determining fault source, storage medium and electronic equipment | |
| CN109376137A (en) | A file processing method and device | |
| CN106453012A (en) | Serial bus communication method and apparatus | |
| KR20120070179A (en) | Method for monitoring communication system and apparatus therefor | |
| CN115314362B (en) | Remote dispatching terminal fault detection method and system based on telemetry network | |
| CN113986677B (en) | A method and device for monitoring business resources |
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 |
Application publication date: 20160608 |
|
| RJ01 | Rejection of invention patent application after publication |