CN103326950A - Bank card data flow control method and system - Google Patents
Bank card data flow control method and system Download PDFInfo
- Publication number
- CN103326950A CN103326950A CN2013102475956A CN201310247595A CN103326950A CN 103326950 A CN103326950 A CN 103326950A CN 2013102475956 A CN2013102475956 A CN 2013102475956A CN 201310247595 A CN201310247595 A CN 201310247595A CN 103326950 A CN103326950 A CN 103326950A
- Authority
- CN
- China
- Prior art keywords
- port number
- comparative result
- cps
- bank
- send
- 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
Links
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention provides a bank card data flow control method and system. The method comprises the steps that the maximum bearable value M of the average processing time of online transactions on a bank core account system (CB) is obtained through a pressure test; the average processing time R of current online transactions and the concurrence quantity P of inter-bank transactions are collected in real time; the R and the M are compared, a comparative result is generated; according to the comparative result, the number N of channels on a card exchange processing system (CPS) for sending the transactions to the CB is adjusted to enable the N to meet the relational expression: P*R<=N<=P*M. According to the bank card data flow control method and system, the average processing time R of the online transactions and the concurrence quantity P of the inter-bank transactions are detected in real time; the number of channels on the CPS for sending the transactions to the CB is adjusted by means of comparing the R with the maximum bearable value M so that the sending of a part of the online transactions to be processed can be suspended, data processing performance is enhanced, and the processing efficiency of the online transactions through cards is improved to the maximum extent.
Description
Technical field
The invention relates to the bank card data treatment technology, particularly about a kind of bank card data flow control methods and system.
Background technology
Inter-bank card class transaction (domestic main fingers Unionpay conclude the business) success rate has embodied IT system stability and the service level of business bank, Unionpay can regularly announce the card Transaction Success rate situation of each bank, inter-bank card class transaction be of business bank very important consider index, reasonably the application architecture configuration is very helpful to improving inter-bank card Transaction Success rate.
In the banking, card processing system (CARD PROCESSING SYSTEM CPS) is independent of core account system (CORE BANKING SYSTEM CB) usually, as blocking the interface that (the domestic main system of Unionpay that refers to) organized in exchange with the third party, the access that blocks the class transaction, then after giving the processing of core account system on, block the exchange tissue by the third party again the result is returned to the receipts single file.
When concluding the business between CPS and CB two cover systems when mutual, the port number that send CB on the CPS need to rationally be set, thereby control on-line transaction flow is in appropriate stress level.Number of active lanes arrange rationally whether, very large on the success rate impact of inter-bank card class transaction.Can be from following two situation analysis:
1, CPS is excessive to the port number of CB: the disposal ability of CB is limited, if CPS is excessive to the port number of CB, cause CPS to be sent to the flow pressure of CB excessive, the ability to bear that surpasses CB, the performance of CB can be greatly affected, and whole account transaction comprises the inter-bank transaction of sending on the CPS, all overtime failure may occur, have a strong impact on the success rate of inter-bank card class transaction.
2, CPS is too small to the port number of CB: send the flow of CB too small on the CPS this moment, even if the disposal ability of CB is underutilized, still can accept more task, but because the restriction of port number, a large amount of inter-bank card on-line transaction information are deposited in the CPS task queue, and then overtime failure occurs, inter-bank card Transaction Success rate descends.Need this moment suitably to amplify the passage that send CB on the CPS, improve the success rate of inter-bank card class transaction.
Summary of the invention
The invention provides a kind of bank card data flow control methods and system, to improve to greatest extent the treatment effeciency of card class on-line transaction.
To achieve these goals, the invention provides a kind of bank card data flow control methods, the method comprises: but obtain the maximum bearing value M of the on-line transaction average handling time of bank core billing and accounting system CB by pressure test; The concurrency P of the on-line transaction average handling time R that Real-time Collection is current and the transaction of inter-bank class; The relatively size of R and M, and generation comparative result; According to the port number N that send CB on the described comparative result adjustment card exchange treatment system CPS, so that N satisfies: P*R≤N≤P*M.
Further, described comparative result comprises: R<M, R=M and R〉M.
In one embodiment, as R<M, adjust the port number N that send CB on the CPS according to described comparative result, comprising: adjust described port number N, make P*R≤N≤P*M.
In one embodiment, work as R=M, adjust the port number N that send CB on the CPS according to described comparative result, comprising: adjust described port number N, make N=P*M.
In one embodiment, work as R〉M, adjust the port number N that send CB on the CPS according to described comparative result, comprising: adjust described port number N, make N<P*M.
To achieve these goals, the invention provides a kind of bank card data flow control system, this system comprises: but maximum bearing value acquiring unit, but for the maximum bearing value M that obtains CB on-line transaction average handling time by pressure test; Data acquisition unit is used for the concurrency P that the current CB on-line transaction average handling time R of Real-time Collection and inter-bank class are concluded the business; Comparing unit is used for comparing the size of R and M, and generates comparative result; The port number adjustment unit is used for adjusting the port number N that send CB on the CPS according to described comparative result, so that N satisfies: P*R≤N≤P*M.
In one embodiment, described comparative result comprises: R<M, R=M and R〉M.
In one embodiment, as R<M, described port number adjustment unit is used for adjusting described port number N, makes P*R≤N≤P*M.
In one embodiment, work as R=M, described port number adjustment unit is used for adjusting described port number N, makes N=P*M.
In one embodiment, work as R〉M, described port number adjustment unit is used for adjusting described port number N, makes N<P*M.
The beneficial effect of the embodiment of the invention is, the present invention detects the concurrency P of on-line transaction average handling time R and the transaction of inter-bank class in real time, but adjust the port number that send CB on the CPS by comparison R in the size of maximum bearing value M, on-line transaction that can part is pending send on suspending, improve data processing performance, improved to greatest extent the treatment effeciency of card class on-line transaction.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the bank card data flow control methods flow chart of the embodiment of the invention;
Fig. 2 is the card switching system CPS of the embodiment of the invention and the Matching Model schematic diagram of core system;
Fig. 3 is that the escape way number of the embodiment of the invention arranges schematic diagram;
Fig. 4 is the bank card data flow control system structural representation of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment one
As shown in Figure 1, the embodiment of the invention provides a kind of bank card data flow control methods.Fig. 2 is the Matching Model of card switching system CPS and core system, has described the third party and has blocked the exchange tissue, CPS system, the data flow relation between CB core billing and accounting system.The bank card data flow control methods of the embodiment of the invention is described in conjunction with Fig. 1 and Fig. 2, and the method comprises:
Step S101: but the maximum bearing value M of the on-line transaction average handling time of bank core billing and accounting system CB obtained by pressure test.
R represents the transaction average handling time of CB, and R can obtain in real time by system monitoring.After the transaction average handling time surpasses certain safe threshold values, the performance that on-line transaction is processed will sharply descend, and this threshold values is M.So, the performance that provide on-line transaction to process, the necessary transaction average handling time R<M that guarantees CB.M can obtain by pressure test, can carry out pressure test by banking system or the real banking system of simulation, obtains the M value.
Step S102: the concurrency P of the on-line transaction average handling time R that Real-time Collection is current and the transaction of inter-bank class.
P is the inter-bank card class transaction number that average per second occurs, and R and P can draw by the supervisory control system statistics of bank, are the common technology means of this area by supervisory control system statistics acquisition R and P, repeat no more.
Step S103: the relatively size of R and M, and generation comparative result.Comparative result comprises: R<M, R=M and R〉three kinds of situations of M.
Step S104: according to the port number N that send CB on the described comparative result adjustment card exchange treatment system CPS, so that N satisfies: P*R≤N≤P*M.
On representing in the CPS system, delivers N easily the number of processes to CB, i.e. port number, and N can dynamically arrange adjustment.N/R=Q, Q represent billing and accounting system to the throughput of card class transaction, the i.e. accessible number of transaction of per second.As Q 〉=P, All Activity can both be disposed by CB timely.
When Q<P, the part trade fair is shielded in outside the CB, and is with piling up in the task queue in CPS, overtime.
Step S104 comprises following three kinds of situations:
In one embodiment, when R<M, the CB disposal ability is sufficient, for ensureing that CB can in time process all concurrent transactions, needs Q 〉=P, be N/R 〉=P, be N 〉=P*R, be set to P*R by N, perhaps larger, namely adjust the port number N that send CB on the CPS according to described comparative result, make P*R≤N≤P*M.
In one embodiment, work as R=M, CB reaches capacity, and need to adjust the port number N that send CB on the CPS according to described comparative result, makes N=P*M.
In one embodiment, work as R〉M, should reduce the pressure to CB this moment, needs Q<P, i.e. N/M<P, i.e. N<P*M.Adjust the port number N that send CB on the CPS according to described comparative result, comprising: adjust described port number N, make N<P*M.By the adjustment of N value, will partly block class transaction and be blocked the CB outside, be temporarily stored in the CPS task queue, although the overtime failure of part trade fair, the health of CB ensured, most transaction can obtain to process.
The below illustrates, and for different P, R value, how the escape way number is set:
As shown in Figure 3, R difference value 0.2 second, 0.4 second, 0.6 second, 0.8 second and 1 second, M is 1 second.The value of P is 30,35,40,45,50, and unit is: number of deals/second.
When P average 40 transaction/seconds: such as R average 0.2 second, port number is made as more than or equal to 8; Such as R average out to 0.4 second, port number is made as more than or equal to 16; Such as R average out to 0.8 second, port number is made as more than or equal to 32; Port number to be made as in 1 second such as the R average out to and equal 40.But when R meets or exceeds 1 second (M), then need the control channel number less than 40, reduce the pressure that send billing and accounting system in the transaction of inter-bank card class, ensure the safety of billing and accounting system.
Embodiment two
As shown in Figure 4, the embodiment of the invention provides a kind of bank card data flow control system, and this system comprises: but maximum bearing value acquiring unit 401, data acquisition unit 402, comparing unit 403 and port number adjustment unit 404.
But but maximum bearing value acquiring unit 401 is used for obtaining by pressure test the maximum bearing value M of CB on-line transaction average handling time; R represents the transaction average handling time of CB, and R can obtain in real time by system monitoring.After the transaction average handling time surpasses certain safe threshold values, the performance that on-line transaction is processed will sharply descend, and this threshold values is M.So, the performance that provide on-line transaction to process, the necessary transaction average handling time R<M that guarantees CB.M can obtain by pressure test, can carry out pressure test by banking system or the real banking system of simulation, obtains the M value.
Comparing unit 403 is used for comparing the size of R and M, and generates comparative result.
In one embodiment, described comparative result comprises: R<M, R=M and R〉M.
Port number adjustment unit 404 is used for adjusting the port number N that send CB on the CPS according to described comparative result, so that N satisfies: P*R≤N≤P*M.
On representing in the CPS system, delivers N easily the number of processes to CB, i.e. port number, and N can dynamically arrange adjustment.N/R=Q, Q represent billing and accounting system to the throughput of card class transaction, the i.e. accessible number of transaction of per second.As Q 〉=P, All Activity can both be disposed by CB timely.When Q<P, the part trade fair is shielded in outside the CB, and is with piling up in the task queue in CPS, overtime.
The adjustment of N value comprises following three kinds of situations:
In one embodiment, when R<M, the CB disposal ability is sufficient, for ensureing that CB can in time process all concurrent transactions, needs Q 〉=P, be N/R 〉=P, be N 〉=P*R, be set to P*R by N, perhaps larger, port number adjustment unit 404 need to be adjusted the port number N that send CB on the CPS according to described comparative result, makes P*R≤N≤P*M.
In one embodiment, when R=M, CB reaches capacity, and port number adjustment unit 404 need to be adjusted the port number N that send CB on the CPS according to described comparative result, makes N=P*M.
In one embodiment, work as R〉M, should reduce the pressure to CB this moment, needs Q<P, i.e. N/M<P, i.e. N<P*M.Port number adjustment unit 404 needs to adjust described port number N, makes N<P*M.By the adjustment of N value, will partly block class transaction and be blocked the CB outside, be temporarily stored in the CPS task queue, although the overtime failure of part trade fair, the health of CB ensured, most transaction can obtain to process.
As shown in Figure 3, R difference value 0.2 second, 0.4 second, 0.6 second, 0.8 second and 1 second, M is 1 second.The value of P is 30,35,40,45,50, and unit is: number of deals/second.
When P average 40 transaction/seconds: such as R average 0.2 second, port number is made as more than or equal to 8; Such as R average out to 0.4 second, port number is made as more than or equal to 16; Such as R average out to 0.8 second, port number is made as more than or equal to 32; Port number to be made as in 1 second such as the R average out to and equal 40.But when R meets or exceeds 1 second (M), then need the control channel number less than 40, reduce the pressure that send billing and accounting system in the transaction of inter-bank card class, ensure the safety of billing and accounting system.
The present invention detects the concurrency P of on-line transaction average handling time R and the transaction of inter-bank class in real time, but adjust the port number that send CB on the CPS by comparison R in the size of maximum bearing value M, on-line transaction that can part is pending send on suspending, improve data processing performance, improved to greatest extent the treatment effeciency of card class on-line transaction.
In addition, the present invention can be mated the quantity of the passage between CPS and CB dynamically, can effectively reduce the obstruction failure problem of the CPS inter-bank card class transaction that business bank often runs into.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device that is used for realizing in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Used specific embodiment among the present invention principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. a bank card data flow control methods is characterized in that, described method comprises:
But obtain the maximum bearing value M of the on-line transaction average handling time of bank core billing and accounting system CB by pressure test;
The concurrency P of the on-line transaction average handling time R that Real-time Collection is current and the transaction of inter-bank class;
The relatively size of R and M, and generation comparative result;
According to the port number N that send CB on the described comparative result adjustment card exchange treatment system CPS, so that N satisfies: P*R≤N≤P*M.
2. method according to claim 1 is characterized in that, described comparative result comprises: R<M, R=M and R〉M.
3. method according to claim 2 is characterized in that, as R<M, adjusts the port number N that send CB on the CPS according to described comparative result, comprising:
Adjust described port number N, make P*R≤N≤P*M.
4. method according to claim 2 is characterized in that, works as R=M, adjusts the port number N that send CB on the CPS according to described comparative result, comprising:
Adjust described port number N, make N=P*M.
5. method according to claim 2 is characterized in that, works as R〉M, adjust the port number N that send CB on the CPS according to described comparative result, comprising:
Adjust described port number N, make N<P*M.
6. a bank card data flow control system is characterized in that, described system comprises:
But maximum bearing value acquiring unit, but for the maximum bearing value M that obtains CB on-line transaction average handling time by pressure test;
Data acquisition unit is used for the concurrency P that the current CB on-line transaction average handling time R of Real-time Collection and inter-bank class are concluded the business;
Comparing unit is used for comparing the size of R and M, and generates comparative result;
The port number adjustment unit is used for adjusting the port number N that send CB on the CPS according to described comparative result, so that N satisfies: P*R≤N≤P*M.
7. system according to claim 6 is characterized in that, described comparative result comprises: R<M, R=M and R〉M.
8. system according to claim 7 is characterized in that, when R<M, described port number adjustment unit is used for adjusting described port number N, makes P*R≤N≤P*M.
9. system according to claim 7 is characterized in that, when R=M, described port number adjustment unit is used for adjusting described port number N, makes N=P*M.
10. system according to claim 7 is characterized in that, as R〉during M, described port number adjustment unit is used for adjusting described port number N, makes N<P*M.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310247595.6A CN103326950B (en) | 2013-06-20 | 2013-06-20 | A kind of bank card data flow control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310247595.6A CN103326950B (en) | 2013-06-20 | 2013-06-20 | A kind of bank card data flow control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103326950A true CN103326950A (en) | 2013-09-25 |
CN103326950B CN103326950B (en) | 2016-08-10 |
Family
ID=49195489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310247595.6A Active CN103326950B (en) | 2013-06-20 | 2013-06-20 | A kind of bank card data flow control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103326950B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446067A (en) * | 2016-09-06 | 2017-02-22 | 联动优势科技有限公司 | Transaction data acquisition method and apparatus |
CN107592345A (en) * | 2017-08-28 | 2018-01-16 | 中国工商银行股份有限公司 | Transaction current-limiting apparatus, method and transaction system |
CN109102402A (en) * | 2018-07-26 | 2018-12-28 | 阿里巴巴集团控股有限公司 | A kind of monitoring method of transaction risk, device and system |
CN112422440A (en) * | 2019-08-22 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Flow control method applied to server and related device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033784A (en) * | 2010-11-18 | 2011-04-27 | 山东中创软件工程股份有限公司 | Method and device for optimizing application server |
CN102779062A (en) * | 2011-05-09 | 2012-11-14 | 阿里巴巴集团控股有限公司 | Method and device for controlling number of threads accessing system resources |
CN103093342A (en) * | 2013-01-11 | 2013-05-08 | 北京掌上汇通科技发展有限公司 | Online transaction processing platform and transaction processing method thereof |
-
2013
- 2013-06-20 CN CN201310247595.6A patent/CN103326950B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033784A (en) * | 2010-11-18 | 2011-04-27 | 山东中创软件工程股份有限公司 | Method and device for optimizing application server |
CN102779062A (en) * | 2011-05-09 | 2012-11-14 | 阿里巴巴集团控股有限公司 | Method and device for controlling number of threads accessing system resources |
CN103093342A (en) * | 2013-01-11 | 2013-05-08 | 北京掌上汇通科技发展有限公司 | Online transaction processing platform and transaction processing method thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446067A (en) * | 2016-09-06 | 2017-02-22 | 联动优势科技有限公司 | Transaction data acquisition method and apparatus |
CN106446067B (en) * | 2016-09-06 | 2020-02-18 | 联动优势科技有限公司 | Method and device for acquiring transaction data |
CN107592345A (en) * | 2017-08-28 | 2018-01-16 | 中国工商银行股份有限公司 | Transaction current-limiting apparatus, method and transaction system |
CN107592345B (en) * | 2017-08-28 | 2020-08-18 | 中国工商银行股份有限公司 | Transaction current limiting device, method and transaction system |
CN109102402A (en) * | 2018-07-26 | 2018-12-28 | 阿里巴巴集团控股有限公司 | A kind of monitoring method of transaction risk, device and system |
CN112422440A (en) * | 2019-08-22 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Flow control method applied to server and related device |
Also Published As
Publication number | Publication date |
---|---|
CN103326950B (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11526889B2 (en) | Resource transferring monitoring method and device | |
WO2020253476A1 (en) | Method and device for monitoring smart contract in blockchain | |
CN103326950A (en) | Bank card data flow control method and system | |
CN106970846B (en) | The control of payment system message and processing method, device | |
CN103970851B (en) | The method that magnanimity Credential data directly provides general headquarters of large-size enterprise group financial statement | |
JP2019200766A (en) | Method for intelligently selecting accounting node | |
CN107423636A (en) | A kind of difference privacy K mean cluster method based on MapReduce | |
CN102917052A (en) | Method for distributing resources in cloud computing system | |
CN105993036B (en) | A kind of method for processing business and system of self-aided terminal | |
CN103841129B (en) | Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method | |
CN105844146B (en) | Method and device for protecting driver and electronic equipment | |
CN106971254A (en) | A kind of service monitoring system and method | |
CN105931109A (en) | Method and device for account balance update | |
CN110147202A (en) | A method of reducing block chain intelligence contract code storage volume | |
CN109767227A (en) | The system and method for payment risk intelligent decision and control is realized by RDS | |
CN109064306A (en) | A kind of financial analysis system Internet-based and method | |
CN107888706A (en) | Cloud product bug processing method, device, equipment and computer-readable recording medium | |
CN104469768A (en) | User identity verifying method and device based on application software | |
CN106598738A (en) | Computer cluster system and parallel computing method thereof | |
CN106683293A (en) | Bank ATM machine with self-help card withdrawing function and bank card management method | |
CN108810290A (en) | A kind of method and system of the identification of fraudulent call | |
CN106384253A (en) | Consumption behavior analysis method in bankcard transaction and consumption behavior analysis device thereof | |
CN110505655A (en) | Data command processing method, storage medium and bluetooth shield | |
CN205176935U (en) | Finance transaction information processing system | |
CN106780034A (en) | Unilateral account scale domination method and 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |