CN111585888A - Universal multi-channel intelligent routing method - Google Patents
Universal multi-channel intelligent routing method Download PDFInfo
- Publication number
- CN111585888A CN111585888A CN202010434815.6A CN202010434815A CN111585888A CN 111585888 A CN111585888 A CN 111585888A CN 202010434815 A CN202010434815 A CN 202010434815A CN 111585888 A CN111585888 A CN 111585888A
- Authority
- CN
- China
- Prior art keywords
- channel
- routing
- proportion
- calling
- default
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
- H04L45/306—Route determination based on the nature of the carried application
Abstract
The invention discloses a universal multi-channel intelligent routing method, which is characterized in that each channel is configured with a default routing proportion; when a system needs to call a certain function, the server firstly calculates the actual channel calling times of each channel and calculates the calling ratio of each channel; comparing the calling proportion of the channel with the default routing proportion, if the calling proportion is lower than the default routing proportion, directly selecting the channel as the current channel, and if not, continuing to circulate the next channel; if the calling proportion of all the channels is equal to the default routing proportion, one channel is randomly selected as the current routing channel; if the failure times of continuous calling of a certain channel exceed a preset threshold value, the next channel is automatically switched to, and intelligent switching is achieved. The system of the invention has a plurality of functions which need a routing strategy and can be executed. By means of an intelligent route switching strategy, each function in the system is prevented from being interfered by a single channel, and fault tolerance and stability of the system are improved.
Description
Technical Field
The invention relates to the technical field of intelligent routing channels, in particular to a universal multi-channel intelligent routing method.
Background
In a payment software system, a standard open interface of an external system is generally required to be called to realize functions, such as OCR recognition, living body detection, bank card authentication, short message sending and the like, and the standard open interfaces have the common characteristics that: the technology achieves a certain barrier or requires industry qualifications and is therefore called an external channel. In practical applications, if a certain function of a software system depends on a single external channel, when the channel has a problem, the key function of the system can not be used. For example, a real-name authentication system usually needs to identify an identity card number and call an OCR recognition channel, and if the current OCR recognition channel is unstable, the success rate of user authentication is affected; during the living body authentication, if the authentication failure rate of a certain channel is too high, the authentication success rate can be directly influenced, and the use of subsequent functions is further influenced; the mobile phone number registration needs to send a short message verification code, and if a single short message channel is unstable, the registration and use of a user can be influenced.
In order to avoid depending on a single channel, the invention provides a brand-new method for carrying out intelligent routing on multiple channels, which avoids depending on a certain channel and improves the stability of the system.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the universal multi-channel intelligent routing method is provided, various functions in the system can be prevented from being interfered by a single channel, and the fault tolerance capability and the stability of the system are improved.
The technical scheme of the invention is as follows: a general multi-channel intelligent routing method is characterized in that a routing strategy is configured at a server side, a corresponding external channel is automatically determined and called according to the routing strategy, when the return failure rate of one channel is high, other channels are intelligently switched, and the normal use of front-end functions is ensured, wherein the routing strategy comprises the following steps:
a. configuring a default routing proportion for each channel;
b. when a system needs to call a certain function, the server firstly calculates the actual channel calling times of each channel and calculates the calling ratio of each channel;
c. starting from the 1 st channel, comparing the calling proportion of the channel with the default routing proportion, if the calling proportion is lower than the default routing proportion, directly selecting the channel as the current channel, otherwise, continuing to circulate the next channel; if the calling proportion of all the channels is equal to the default routing proportion, one channel is randomly selected as the current routing channel;
d. if the failure frequency of continuous calling of a certain channel exceeds a preset threshold value, the next channel is automatically switched, meanwhile, the default routing proportion of the channel is automatically adjusted downwards, the adjusted proportion is distributed to other channels according to the default routing proportion of other channels, and intelligent switching is achieved.
In the above technical solution, in the step a, the channels are sequentially set as channel 1, channel 2, … …, and channel n, where the routing ratio of channel 1 is S1, the routing ratio of channel 2 is S2, … …, the routing ratio of channel n is Sn, and S1+ S2+ … … + Sn is 1.
By adopting the technical scheme, in the universal multi-channel intelligent routing method, different application parameters can be respectively configured for each channel.
With the above technical solutions, in the general multi-channel intelligent routing method, in the step b, the number of times of call of the channel 1 is set to be M1, the number of times of call of the channel 2 is set to be M2, … …, the number of times of call of the channel n is set to be Mn, and the actual occurrence call percentage of each channel is calculated: and Bi is Mi/(M1+ M2+ … … + Mn).
By adopting the technical scheme, in the universal multi-channel intelligent routing method, the default routing proportion configured for a certain channel is set as Sj, the calling occupation ratio Bj of the channel is compared with Sj, if Bj < Sj, the channel is directly selected as the current channel, and if not, the next channel is selected; and if the calling proportion Bi of each channel is Si, randomly selecting one channel as the current routing channel.
By adopting the technical schemes, if a plurality of functions in the system need the routing strategy, the system can be executed according to the mode. The routing mechanism can be applied to the functional scenes of living body authentication, OCR recognition, testimony matching, transaction channels, bank card N element authentication, short message sending and the like. Through the intelligent routing switching strategy, each function in the system is prevented from being interfered by a single channel, and the fault tolerance and the stability of the system are improved.
Detailed Description
The present invention will be described in detail with reference to specific examples.
The embodiment provides a general multi-channel intelligent routing method, which configures a routing strategy at a server, automatically decides to invoke a corresponding external channel according to the routing strategy, and intelligently switches other channels when a channel has a high return failure rate to ensure the normal use of front-end functions, wherein the routing strategy comprises the following steps:
a. configuring each channel with a default routing proportion: the channels are set as channel 1, channel 2, … … and channel n in sequence, the routing ratio of channel 1 is S1, the routing ratio of channel 2 is S2, … …, the routing ratio of channel n is Sn, and S1+ S2+ … … + Sn is 1. Meanwhile, different application parameters can be configured for each channel according to different function applications.
b. When the system needs to call a certain function, the server firstly calculates the actual channel calling times of each channel, and calculates the calling ratio of each channel: setting the number of times of calling of the channel 1 as M1, the number of times of calling of the channel 2 as M2, … … and the number of times of calling of the channel n as Mn, and calculating the actual ratio of the calls to be generated of each channel: and Bi is Mi/(M1+ M2+ … … + Mn). In order to ensure the fluency and stability of the system, the actual calling times of each channel are cleared every day.
c. Starting from the 1 st channel, comparing the calling proportion of the channel with the default routing proportion, if the calling proportion is lower than the default routing proportion, directly selecting the channel as the current channel, otherwise, continuing to circulate the next channel; if the calling proportion of all the channels is equal to the default routing proportion, one channel is randomly selected as the current routing channel: setting a default routing proportion configured for a certain channel as Sj, comparing the calling occupation ratio Bj of the channel with the Sj, if Bj < Sj, directly selecting the channel as the current channel, and otherwise, selecting the next channel; and if the calling proportion Bi of each channel is Si, randomly selecting one channel as the current routing channel.
d. If the failure frequency of continuous calling of a certain channel exceeds a preset threshold value, the next channel is automatically switched, meanwhile, the default routing proportion of the channel is automatically adjusted downwards, the adjusted proportion is distributed to other channels according to the default routing proportion of other channels, and intelligent switching is achieved.
By adopting the technical schemes, if a plurality of functions in the system need the routing strategy, the system can be executed according to the mode. The routing mechanism can be applied to the functional scenes of living body authentication, OCR recognition, testimony matching, transaction channels, bank card N element authentication, short message sending and the like. Through the intelligent routing switching strategy, each function in the system is prevented from being interfered by a single channel, and the fault tolerance and the stability of the system are improved.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (5)
1. A universal multi-channel intelligent routing method is characterized in that a routing strategy is configured at a server side, a corresponding external channel is automatically determined and called according to the routing strategy, when the failure rate of one channel returning is high, other channels are intelligently switched, and the normal use of front-end functions is ensured, wherein the routing strategy comprises the following steps:
a. configuring a default routing proportion for each channel;
b. when a system needs to call a certain function, the server firstly calculates the actual channel calling times of each channel and calculates the calling ratio of each channel;
c. starting from the 1 st channel, comparing the calling proportion of the channel with the default routing proportion, if the calling proportion is lower than the default routing proportion, directly selecting the channel as the current channel, otherwise, continuing to circulate the next channel; if the calling proportion of all the channels is equal to the default routing proportion, one channel is randomly selected as the current routing channel;
d. if the failure frequency of continuous calling of a certain channel exceeds a preset threshold value, the next channel is automatically switched, meanwhile, the default routing proportion of the channel is automatically adjusted downwards, the adjusted proportion is distributed to other channels according to the default routing proportion of other channels, and intelligent switching is achieved.
2. The method as claimed in claim 1, wherein in step a, each channel is sequentially set to channel 1, channel 2, … …, channel n, the routing ratio of channel 1 is S1, the routing ratio of channel 2 is S2, … …, the routing ratio of channel n is Sn, and S1+ S2+ … … + Sn is 1.
3. The method as claimed in claim 2, wherein each channel is further configured with different application parameters.
4. The general multi-channel intelligent routing method according to claim 3, wherein in the step b, the number of calls of the channel 1 is set to be M1, the number of calls of the channel 2 is set to be M2, … …, the number of calls of the channel n is set to be Mn, and the ratio of the actually occurring calls of each channel is calculated as follows: and Bi is Mi/(M1+ M2+ … … + Mn).
5. The universal multi-channel intelligent routing method according to claim 4, wherein a default routing proportion configured for a certain channel is set to be Sj, a calling duty ratio Bj of the channel is compared with Sj, if Bj < Sj, the channel is directly selected as a current channel, otherwise, a next channel is selected; and if the calling proportion Bi of each channel is Si, randomly selecting one channel as the current routing channel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010434815.6A CN111585888A (en) | 2020-05-21 | 2020-05-21 | Universal multi-channel intelligent routing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010434815.6A CN111585888A (en) | 2020-05-21 | 2020-05-21 | Universal multi-channel intelligent routing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111585888A true CN111585888A (en) | 2020-08-25 |
Family
ID=72126814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010434815.6A Pending CN111585888A (en) | 2020-05-21 | 2020-05-21 | Universal multi-channel intelligent routing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111585888A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112333281A (en) * | 2020-11-16 | 2021-02-05 | 中国联合网络通信集团有限公司 | Data transmission method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6470022B1 (en) * | 1999-05-19 | 2002-10-22 | 3Com Corporation | Method of distributing network resources fairly between users in an asynchronous transfer mode network |
CN104734984A (en) * | 2013-12-24 | 2015-06-24 | 中国移动通信集团公司 | Message transmitting method and device |
CN108513271A (en) * | 2018-06-22 | 2018-09-07 | 武汉斑马快跑科技有限公司 | Short message distribution method and equipment based on multiple short message channels |
CN108510213A (en) * | 2018-05-11 | 2018-09-07 | 苏州华兴源创电子科技有限公司 | Task is sequentially allocated to the method, apparatus, equipment and medium of task groups |
CN109818878A (en) * | 2019-01-25 | 2019-05-28 | 杭州天谷信息科技有限公司 | Multi-channel adaptive flow control methods and system |
-
2020
- 2020-05-21 CN CN202010434815.6A patent/CN111585888A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6470022B1 (en) * | 1999-05-19 | 2002-10-22 | 3Com Corporation | Method of distributing network resources fairly between users in an asynchronous transfer mode network |
CN104734984A (en) * | 2013-12-24 | 2015-06-24 | 中国移动通信集团公司 | Message transmitting method and device |
CN108510213A (en) * | 2018-05-11 | 2018-09-07 | 苏州华兴源创电子科技有限公司 | Task is sequentially allocated to the method, apparatus, equipment and medium of task groups |
CN108513271A (en) * | 2018-06-22 | 2018-09-07 | 武汉斑马快跑科技有限公司 | Short message distribution method and equipment based on multiple short message channels |
CN109818878A (en) * | 2019-01-25 | 2019-05-28 | 杭州天谷信息科技有限公司 | Multi-channel adaptive flow control methods and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112333281A (en) * | 2020-11-16 | 2021-02-05 | 中国联合网络通信集团有限公司 | Data transmission method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102013221614A1 (en) | Reliable priority calls in multiple-SIM payloads | |
EP0893933B1 (en) | Method for controlling the routing of calls | |
US9681303B2 (en) | Method for fraud recognition in the case of roaming connections in mobile communications networks | |
CN102118836A (en) | Method and system for implementing network management and control and communication device for management and control | |
US5615267A (en) | Method for adaptively switching between PCS authentication schemes | |
CN106487528A (en) | A kind of acquisition methods of user VoLTE signing state and equipment | |
US8260277B2 (en) | Control of call delivery and call forwarding of telecommunication connections, especially in multi-device configurations | |
CN111585888A (en) | Universal multi-channel intelligent routing method | |
US8009809B2 (en) | Method and system for call proceeding in an intelligent network system | |
CN110213425A (en) | A kind of controlling terminal initiates the method and device of calling | |
EP1435181B1 (en) | Method and computer program for accessing an intelligent network service | |
CN110798453A (en) | Data processing method and device for one-key login | |
RU2471313C1 (en) | Device and method to control number of simultaneous calls | |
US7190781B2 (en) | Message transfer part point code mapping method and node | |
AU6278198A (en) | Alternate routing for calls requiring monitoring | |
DE69831772T2 (en) | User-assisted wireless fraud detection | |
CN107343088A (en) | The information protecting method and mobile terminal of mobile terminal | |
US20020071444A1 (en) | Method and system for setting up weighted communication links | |
CN110661922B (en) | Call control method, network device and system | |
KR19980031555A (en) | How to perform call transfer supplementary service in mobile communication system | |
EP1031251A1 (en) | Procedure and system for modifying the impulse of terminal equipment | |
CN109698816A (en) | Service connection method and device | |
CN100353805C (en) | A method for processing location service request via core network and access network | |
CN102595360A (en) | Calling processing method and system thereof | |
JPH09181853A (en) | Speech channel selection system |
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: 20200825 |