CN107292598A - One kind pays method for routing and pays route middleware - Google Patents
One kind pays method for routing and pays route middleware Download PDFInfo
- Publication number
- CN107292598A CN107292598A CN201710401769.8A CN201710401769A CN107292598A CN 107292598 A CN107292598 A CN 107292598A CN 201710401769 A CN201710401769 A CN 201710401769A CN 107292598 A CN107292598 A CN 107292598A
- Authority
- CN
- China
- Prior art keywords
- server
- routing
- payment
- rule
- module
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
-
- 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/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- 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/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0846—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
-
- 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/2876—Pairs of inter-processing entities at each side of the network, e.g. split proxies
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Method for routing is paid the invention discloses one kind and route middleware is paid, and wherein method is performed by middleware, and middleware includes first server and second server, and method comprises the following steps:First server obtains routing rule and configuration information;The routing rule of renewal and the configuration information updated are sent to second server by first server;Second server, which is received, pays request;Second server selects payment channel according to the configuration information for paying request, the routing rule updated and renewal;Payment channel information is output to client by second server.Payment method for routing and pay route middleware that the present invention is provided, routing rule and configuration information are stored in by first server by middleware, second server is used to handling and performing logical routing, does not influence client normally to route work when payment routing server is unavailable;The centralized management of routing rule and configuration information, payment system can flexibly carry out payment routing configuration according to business.
Description
Technical field
The present invention relates to internet payment field, more particularly to a kind of payment method for routing and payment route middleware.
Background technology
At present, increasing with internet payment product, more and more higher is required to the convenience for paying method for routing.
But, there is following defect in existing payment method for routing:
(1) decision-making routeing or logic processing module are paid in server end, once due to some payment rule route
Other reasons such as logic configuration error or network failure and in the case of causing whole route service disabled, it will to all
Cause to route in whole or in part using the system of route unavailable, influence client normally route work;
(2) when processing pays request, function is single, can only ask specific one channel of disbursement, payment system without
Method flexibly carries out payment routing configuration according to business.
The content of the invention
In order to overcome the deficiencies in the prior art, an object of the present invention is to provide a kind of payment method for routing, to protect
Card pays the high availability of route;
The second object of the present invention is that providing a kind of pay route middleware, with the high availability for route of guaranteeing payment.
An object of the present invention adopts the following technical scheme that realization:
One kind pays method for routing, and this method is performed by middleware, and the middleware includes first server and the second clothes
Business device, the described method comprises the following steps:
First server obtains routing rule and configuration information;
The routing rule of renewal and the configuration information updated are sent to second server by first server;
Second server, which is received, pays request;
Second server is selected according to the configuration information for paying request, the routing rule of the renewal and the renewal
Select payment channel;
Payment channel information is output to client by second server.
Further, in addition to:
Second server obtains the payment information of client.
Further, also include after the payment information for obtaining client:
If paying failure, second server reselects payment channel.
Further, the routing rule of renewal and the configuration information updated are sent to second service by the first server
Also include before device:
Second server monitors the data variation information of first server.
Further, the routing rule includes:Amount paid metric then, pay success rate rule, optimization rate rule with
And specific user's rule.
The second object of the present invention adopts the following technical scheme that realization:
One kind pays route middleware, including:First server and second server, the first server include first
Acquisition module and sending module;The second server includes receiving module, first choice module and output module;
First acquisition module, routing rule and configuration information are obtained for first server;
The sending module, second is sent to for first server by the routing rule of renewal and the configuration information updated
Server;
The receiving module, receives for second server and pays request;
The first choice module, for second server according to it is described pay ask, the routing rule of the renewal with
And the configuration information selection payment channel of the renewal;
The output module, client is output to for second server by payment channel information.
Further, the second server also includes:Second acquisition module;
Second acquisition module, the payment information of client is obtained for second server.
Further, the second server also includes:Second selecting module;
Second selecting module, if for paying failure, second server reselects payment channel.
Further, the second server also includes:Monitor module;
The monitoring module, the data variation information of first server is monitored for second server.
Further, the routing rule includes:Amount paid metric then, pay success rate rule, optimization rate rule with
And specific user's rule.
Compared with prior art, the beneficial effects of the present invention are:
(1) by middleware, routing rule and configuration information are stored in first server, second server is used to handle
And logical routing is performed, do not influence client normally to route work when first server is unavailable;
(2) centralized management of routing rule and configuration information, payment system can flexibly carry out payment road according to business
By configuring.
Brief description of the drawings
Fig. 1 is payment method for routing flow chart provided in an embodiment of the present invention;
The payment method for routing flow chart that Fig. 2 provides for another embodiment of the present invention;
Fig. 3 pays route middleware schematic diagram to be provided in an embodiment of the present invention.
Embodiment
Below, with reference to accompanying drawing and embodiment, the present invention is described further, it is necessary to which explanation is, not
Under the premise of afoul, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination
Example.
As shown in figure 1, payment method for routing provided in an embodiment of the present invention, this method is performed by middleware, wherein in the middle of
Part includes first server and second server, and this method comprises the following steps:
Step S101:First server obtains routing rule and configuration information.
Specifically, business personnel is registered by first server to the routing rule and configuration information of each business
Or update, first server includes routing rule management module and configuration information management module, and routing rule management module is used
In the logic script of the various routing rules of maintenance management, configuration information management module is used for maintenance management configuration information.Wherein, road
Included by rule:Amount paid metric is then, payment success rate is regular, optimize rate rule and specific user's rule etc., with confidence
Breath includes the data configurations such as payment brand, channel information.
Step S102:Second server monitors the data variation information of first server.
Step S103:The routing rule of renewal and the configuration information updated are sent to second server by first server.
Specifically, first server and second server realize synchronous service, second by Distributed Application coordinator
The route of server monitors module and monitors corresponding regular data change in first server in real time, is advised with obtaining newest route
Then and configuration information, first server is by newest routing rule and configuration information synchronized update to second server.
Step S104:Second server, which is received, pays request.
Specifically, paying request includes user type, transaction scene, type of transaction, dealing money etc..
Step S105:Second server is according to the payment request, the routing rule of the renewal and the renewal
Configuration information selects payment channel.
Specifically, second server is supplied to the regulation engine submodule in client, second server to ring in SDK modes
Answer the payment of client to ask, call routing rule and configuration information, route is performed according to routing rule and configuration information
Logic, selection payment brand or channel information.For example, setting the regular and corresponding configuration data for some scene, second
Server then flexibly carries out payment routing configuration according to specific user's rule, amount paid metric, for user in some period
Pay the less bank of request selecting rate or third-party payment system.
Step S106:Payment channel information is output to client by second server.
Specifically, second server selects suitable payment channel according to request, routing rule and configuration information is paid, will
The payment channel information of selection is output to client, is selected for client.
Fractal structure of the route using decentralization is paid, first server provides the registration of routing rule and configuration information
And management, really handle execution logic and be positioned in second server, second server is according to branch routing rule and with confidence
The flexible selection payment channel of breath, when first server is unavailable, the routing rule of second server Catch updated and with confidence
Breath continues to keep routing capabilities, does not influence client normally to route work, it is ensured that pay the high availability of route.
As shown in Fig. 2 the payment method for routing that another embodiment of the present invention is provided, this method is performed by middleware, wherein
Middleware includes first server and second server, and this method comprises the following steps:
Step S201:First server obtains routing rule and configuration information.
Step S202:Second server monitors the data variation information of first server.
Step S203:The routing rule of renewal and the configuration information updated are sent to second server by first server.
Step S204:Second server, which is received, pays request.
Step S205:Second server is according to the payment request, the routing rule of the renewal and the renewal
Configuration information selects payment channel.
Step S206:Payment channel information is output to client by second server.
Step S201- steps S206 is identical with the step S101- steps S106 of a upper embodiment, will not be repeated here.
Step S207:Second server obtains the payment information of client.
Step S208:If paying failure, second server reselects payment channel.
Specifically, the payment channel that client is exported according to second server is selected optimal payment channel and propped up
Pay, second server obtains the payment information of client, if paying failure, judge whether it is that route is unavailable, if route
Unavailable, then output pays and unsuccessfully arrives client, otherwise selects payment channel and defeated according to routing rule and configuration information again
Go out to client.
Middleware provides a variety of payment channels, when run into payment system it is unavailable when, middleware is timely according to routing rule
Other alternative payment systems are routed to, payment routing configuration is flexibly carried out according to business.
As shown in figure 3, provided in an embodiment of the present invention pay route middleware, including first server and second service
Device, first server includes:First acquisition module 11 and sending module 12, second server are selected including receiving module 13, first
Select module 14 and output module 15;First server is connected with payment system, and second server is connected with client.
First acquisition module 11, routing rule and configuration information are obtained for first server;
Sending module 12, the second clothes are sent to for first server by the routing rule of renewal and the configuration information updated
Business device;
Receiving module 13, receives for second server and pays request;
First choice module 14, for second server according to it is described pay ask, the routing rule of the renewal and
The configuration information selection payment channel of the renewal;
Output module 15, client is output to for second server by payment channel information.
Further, in addition to:Second acquisition module;
Second acquisition module, the payment information of client is obtained for second server.
Further, in addition to:Second selecting module;
Second selecting module, if for paying failure, second server reselects payment channel.
Further, in addition to:Monitor module;
Module is monitored, the data variation information of first server is monitored for second server.
Further, the routing rule includes:Amount paid metric then, pay success rate rule, optimization rate rule with
And specific user's rule.
The method in payment route middleware and previous embodiment in the present embodiment is based under same inventive concept
Two aspects, are above being described in detail to method implementation process, so those skilled in the art can be according to foregoing
The structure and implementation process of the payment route middleware in the present embodiment is well understood in description, succinct for specification,
This is just repeated no more.
For convenience of description, it is divided into various modules when more than description paying route middleware with function to describe respectively.When
So, the function of each module can be realized in same or multiple softwares and/or hardware when implementing the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can
Realized by the mode of software plus required general hardware platform.Understood based on such, technical scheme essence
On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product
It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment
(can be personal computer, server, or network equipment etc.) performs some of each of the invention embodiment or embodiment
Method described in part.
Payment method for routing and pay route middleware by middleware that the present invention is provided, by routing rule and with confidence
Breath is stored in first server, and second server is used to handling and performing logical routing, the not shadow when first server is unavailable
Ring client and normally route work;The centralized management of routing rule and configuration information, payment system can be flexible according to business
Carry out payment routing configuration.
Above-mentioned embodiment is only the preferred embodiment of the present invention, it is impossible to limit the scope of protection of the invention with this,
The change and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention
Claimed scope.
Claims (10)
1. one kind pays method for routing, it is characterised in that this method is performed by middleware, the middleware includes first server
And second server, it the described method comprises the following steps:
First server obtains routing rule and configuration information;
The routing rule of renewal and the configuration information updated are sent to second server by first server;
Second server, which is received, pays request;
Second server selects branch according to the configuration information for paying request, the routing rule of the renewal and the renewal
Pay passage;
Payment channel information is output to client by second server.
2. payment method for routing according to claim 1, it is characterised in that also include:
Second server obtains the payment information of client.
3. payment method for routing according to claim 2, it is characterised in that after the payment information of the acquisition client
Also include:
If paying failure, second server reselects payment channel.
4. payment method for routing according to claim 1, it is characterised in that the first server advises the route of renewal
Also include before being then sent to second server with the configuration information of renewal:
Second server monitors the data variation information of first server.
5. payment method for routing according to claim 1, it is characterised in that the routing rule includes:Amount paid metric
Then, success rate rule, optimization rate rule and specific user's rule are paid.
6. one kind pays route middleware, it is characterised in that including:First server and second server, the first service
Device includes the first acquisition module and sending module;The second server includes receiving module, first choice module and output mould
Block;
First acquisition module, routing rule and configuration information are obtained for first server;
The sending module, second service is sent to for first server by the routing rule of renewal and the configuration information updated
Device;
The receiving module, receives for second server and pays request;
The first choice module, request, the routing rule of the renewal and institute are paid for second server according to described
State the configuration information selection payment channel of renewal;
The output module, client is output to for second server by payment channel information.
7. according to claim 6 pay route middleware, it is characterised in that the second server also includes:Second
Acquisition module;
Second acquisition module, the payment information of client is obtained for second server.
8. according to claim 7 pay route middleware, it is characterised in that the second server also includes:Second
Selecting module;
Second selecting module, if for paying failure, second server reselects payment channel.
9. according to claim 6 pay route middleware, it is characterised in that the second server also includes:Monitor
Module;
The monitoring module, the data variation information of first server is monitored for second server.
10. according to claim 6 pay route middleware, it is characterised in that the routing rule includes:Pay amount
Rule, payment success rate rule, optimization rate rule and specific user's rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710401769.8A CN107292598A (en) | 2017-05-31 | 2017-05-31 | One kind pays method for routing and pays route middleware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710401769.8A CN107292598A (en) | 2017-05-31 | 2017-05-31 | One kind pays method for routing and pays route middleware |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107292598A true CN107292598A (en) | 2017-10-24 |
Family
ID=60094812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710401769.8A Pending CN107292598A (en) | 2017-05-31 | 2017-05-31 | One kind pays method for routing and pays route middleware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107292598A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108932614A (en) * | 2018-07-26 | 2018-12-04 | 中金支付有限公司 | A kind of payment channel method for routing and system |
CN109102273A (en) * | 2018-08-22 | 2018-12-28 | 四川新网银行股份有限公司 | A kind of realization method and system of distributed intelligence payment routing |
CN109670797A (en) * | 2018-09-11 | 2019-04-23 | 深圳平安财富宝投资咨询有限公司 | Pay route selecting method, apparatus, equipment and storage medium |
CN109801052A (en) * | 2017-11-16 | 2019-05-24 | 华为软件技术有限公司 | A kind of transfer account method and payment platform |
CN111260371A (en) * | 2020-01-17 | 2020-06-09 | 中信银行股份有限公司 | Recommendation method and device for domestic service route, storage medium and electronic equipment |
CN111371879A (en) * | 2020-02-28 | 2020-07-03 | 中国工商银行股份有限公司 | Network path management method, device, system, service architecture and electronic equipment |
US20210117934A1 (en) * | 2018-04-13 | 2021-04-22 | Lordsystem Co., Ltd. | Intelligent credit card payment system and payment processing method |
WO2022022313A1 (en) * | 2020-07-30 | 2022-02-03 | 华为技术有限公司 | Method for transmitting routing information, apparatus, and communication system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2013207643A1 (en) * | 2012-07-05 | 2014-01-23 | Google Llc | Selecting a preferred payment instrument based on a merchant category |
CN105049252A (en) * | 2015-07-24 | 2015-11-11 | 青岛海尔智能家电科技有限公司 | Method and device for managing configuration information |
CN105741088A (en) * | 2016-01-27 | 2016-07-06 | 广州唯品会信息科技有限公司 | Routing matching payment method and device |
CN106327167A (en) * | 2015-06-15 | 2017-01-11 | 阿里巴巴集团控股有限公司 | Method and device of realizing network payment |
-
2017
- 2017-05-31 CN CN201710401769.8A patent/CN107292598A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2013207643A1 (en) * | 2012-07-05 | 2014-01-23 | Google Llc | Selecting a preferred payment instrument based on a merchant category |
CN106327167A (en) * | 2015-06-15 | 2017-01-11 | 阿里巴巴集团控股有限公司 | Method and device of realizing network payment |
CN105049252A (en) * | 2015-07-24 | 2015-11-11 | 青岛海尔智能家电科技有限公司 | Method and device for managing configuration information |
CN105741088A (en) * | 2016-01-27 | 2016-07-06 | 广州唯品会信息科技有限公司 | Routing matching payment method and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109801052A (en) * | 2017-11-16 | 2019-05-24 | 华为软件技术有限公司 | A kind of transfer account method and payment platform |
US20210117934A1 (en) * | 2018-04-13 | 2021-04-22 | Lordsystem Co., Ltd. | Intelligent credit card payment system and payment processing method |
US20230401545A1 (en) * | 2018-04-13 | 2023-12-14 | Lordsystem Co., Ltd. | Intelligent credit card payment system and payment processing method |
US11887065B2 (en) * | 2018-04-13 | 2024-01-30 | Lordsystem Co., Ltd. | Intelligent credit card payment system and payment processing method |
CN108932614A (en) * | 2018-07-26 | 2018-12-04 | 中金支付有限公司 | A kind of payment channel method for routing and system |
CN109102273A (en) * | 2018-08-22 | 2018-12-28 | 四川新网银行股份有限公司 | A kind of realization method and system of distributed intelligence payment routing |
CN109102273B (en) * | 2018-08-22 | 2021-08-24 | 四川新网银行股份有限公司 | Method and system for realizing distributed intelligent payment routing |
CN109670797A (en) * | 2018-09-11 | 2019-04-23 | 深圳平安财富宝投资咨询有限公司 | Pay route selecting method, apparatus, equipment and storage medium |
CN111260371A (en) * | 2020-01-17 | 2020-06-09 | 中信银行股份有限公司 | Recommendation method and device for domestic service route, storage medium and electronic equipment |
CN111371879A (en) * | 2020-02-28 | 2020-07-03 | 中国工商银行股份有限公司 | Network path management method, device, system, service architecture and electronic equipment |
WO2022022313A1 (en) * | 2020-07-30 | 2022-02-03 | 华为技术有限公司 | Method for transmitting routing information, apparatus, and communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107292598A (en) | One kind pays method for routing and pays route middleware | |
CN105917690B (en) | (NFV) system of intermodule communication, method and computer program in a network is virtualized based on network function | |
US9794187B1 (en) | System, method, and computer program for resource conversion in a network function virtualization (NFV) based communication network | |
US5640505A (en) | Operational support structure for a telecommunications network | |
CN109155758B (en) | Hierarchical management device and method for virtual infrastructure resources | |
US20040024859A1 (en) | Method and apparatus for communications network resource utilization assessment | |
US9026632B2 (en) | Network with a network wide extended policy framework | |
CN109074287B (en) | Infrastructure resource status | |
CN104601383B (en) | A kind of power telecom network fault piecewise analysis method | |
CN104486194A (en) | Control system and control method for virtual network with multiple reliability levels | |
CN103001892B (en) | Based on network resource allocation method and the system of cloud computing | |
CN108062243A (en) | Generation method, task executing method and the device of executive plan | |
Lei et al. | Computing power network: an interworking architecture of computing and network based on IP extension | |
CN109102273A (en) | A kind of realization method and system of distributed intelligence payment routing | |
CN113472659B (en) | Method and device for determining forwarding path and SDN controller | |
WO2021087639A9 (en) | Cdn optimization platform | |
CN109885612A (en) | The synchronization take-effective method and device of block chain intelligence contract | |
CN105007220A (en) | Inter-domain route management system, inter-domain route management method, domain adapters and transmission network | |
CN208188893U (en) | A kind of Intelligence E-Business System | |
CN109842522A (en) | Communicate the configuration method and system of route resource | |
US8904369B2 (en) | Method and system for automated process distribution | |
CN108874415A (en) | Upgrading recommender system in enterprise's cloud system migration | |
CN113419745A (en) | Application instance number management method and device, electronic equipment and computer readable medium | |
CN111466134B (en) | Method and arrangement for allocating communication resources in a communication network | |
CN112291162A (en) | Business dynamic resource allocation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171024 |