Route processing method and device

By calculating routing indicators and routing switching, dynamically adjusting the routing intervals of third-party core channels, the routing processing challenges caused by complex core scenarios in online services are solved, and the stability of core core requests and response efficiency is improved.

CN120223764AActive Publication Date: 2025-06-27CHONGQING ANT CONSUMER FINANCE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510471692.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-15
Publication Date
2025-06-27
Estimated Expiration
2045-04-15

AI Technical Summary

Technical Problem

With the popularity of online services, the number of users has increased and the nucleation scenarios are complex, which brings routing processing challenges to the service provider.

Method used

By obtaining the core processing parameters of the third-party core channel invoking the resource service, if the routing switching conditions are triggered, the routing indicators are calculated and the routing switch is performed, and the routing interval of the third-party core channel is dynamically adjusted.

Benefits of technology

Dynamic routing adjustment of third-party nuclear channels is realized, the stability and response efficiency of nuclear requests are improved, and the user is not aware of the failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120223764A_ABST
    Figure CN120223764A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a routing processing method and device.The routing processing method comprises the steps that after body checking processing parameters of resource service calling all third-party body checking channels for body checking processing are obtained, routing index calculation is carried out according to the body checking processing parameters of any third-party body checking channel to obtain routing indexes, and dynamically switching the routing interval of each third-party core body channel according to the routing index to obtain the switching routing interval of each switched third-party core body channel, and routing the core body request of the resource service through the switching routing interval so as to realize the dynamic adjustment of the routing interval of each third-party core body channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of data processing technologies, and particularly to a routing processing method and apparatus. Background Art

[0002] With the continuous development and progress of Internet technologies, the scope of application of online services provided based on Internet technologies has become wider and wider, and the richness of online services has also become higher and higher. With the continuous expansion of online services, the requirements for secure use of online services have gradually increased. Verifying the identity of users using online services and opening services to users who meet the identity verification conditions have gradually become a common means for service providers. However, with the continuous popularization of online services among users, the number of users participating in online services has been increasing, and the identity verification scenarios have become increasingly complex, posing certain challenges to service providers of online services. Summary of the Invention

[0003] One or more embodiments of this specification provide a routing processing method, which is applied to a detection module. The method includes: obtaining identity verification processing parameters for an identity verification process in which a resource service invokes each third-party identity verification channel. If the identity verification processing parameters of any third-party identity verification channel trigger a routing switch condition, calculating a routing metric based on the identity verification processing parameters of the any third-party identity verification channel to obtain a routing metric. Performing a routing switch on the routing intervals of the third-party identity verification channels according to the routing metric to obtain switched routing intervals for the third-party identity verification channels. The switched routing intervals are used for routing processing of identity verification requests for the resource service through a routing module.

[0004] One or more embodiments of this specification provide a routing processing apparatus, which runs on a detection module. The apparatus includes: a parameter obtaining module configured to obtain identity verification processing parameters for an identity verification process in which a resource service invokes each third-party identity verification channel. A metric calculation module configured to, if the identity verification processing parameters of any third-party identity verification channel trigger a routing switch condition, calculate a routing metric based on the identity verification processing parameters of the any third-party identity verification channel to obtain a routing metric. A routing switch module configured to perform a routing switch on the routing intervals of the third-party identity verification channels according to the routing metric to obtain switched routing intervals for the third-party identity verification channels. The switched routing intervals are used for routing processing of identity verification requests for the resource service through a routing module.

[0005] One or more embodiments of the present specification provide a routing processing device, including: a processor; and a memory configured to store computer-executable instructions, where the computer-executable instructions, when executed, cause the processor to: obtain the identity verification processing parameters for the resource service to call each third-party identity verification channel for identity verification processing. If the identity verification processing parameters of any third-party identity verification channel trigger a routing switching condition, calculate routing metrics based on the identity verification processing parameters of the any third-party identity verification channel to obtain routing metrics. Perform routing switching on the routing intervals of the third-party identity verification channels according to the routing metrics to obtain the switched routing intervals of the third-party identity verification channels. The switched routing intervals are used to perform routing processing on the identity verification requests of the resource service through a routing module.

[0006] One or more embodiments of the present specification provide a computer-readable storage medium for storing computer-executable instructions, where the computer-executable instructions, when executed, implement the following steps: obtain the identity verification processing parameters for the resource service to call each third-party identity verification channel for identity verification processing. If the identity verification processing parameters of any third-party identity verification channel trigger a routing switching condition, calculate routing metrics based on the identity verification processing parameters of the any third-party identity verification channel to obtain routing metrics. Perform routing switching on the routing intervals of the third-party identity verification channels according to the routing metrics to obtain the switched routing intervals of the third-party identity verification channels. The switched routing intervals are used to perform routing processing on the identity verification requests of the resource service through a routing module. Description of the Drawings

[0007] To more clearly illustrate the technical solutions in one or more embodiments of the present specification or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the present specification. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings; Figure 1 It is a schematic diagram of the implementation environment of a routing processing method provided by one or more embodiments of the present specification; Figure 2 It is a processing flow chart of a routing processing method provided by one or more embodiments of the present specification; Figure 3 It is a schematic diagram of a routing process provided by one or more embodiments of the present specification; Figure 4 It is a processing flow chart of a routing processing method applied to a resource service scenario provided by one or more embodiments of the present specification; Figure 5 It is a schematic diagram of an embodiment of a routing processing device provided by one or more embodiments of the present specification; Figure 6 Schematic diagram of a routing processing device provided for one or more embodiments of this specification. Detailed implementation manners

[0008] In order to enable those skilled in the art of this technology to better understand the technical solutions in one or more embodiments of this specification, the following will clearly and completely describe the technical solutions in one or more embodiments of this specification in conjunction with the accompanying drawings in one or more embodiments of this specification. Obviously, the described embodiments are only a part of the embodiments of this specification, rather than all the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this document.

[0009] The routing processing method provided by one or more embodiments of this specification is applicable to the implementation environment of routing processing. Refer to Figure 1 , this implementation environment at least includes: Detection module 101, routing module 102; in addition, this implementation environment may also include each third-party identity verification channel 103, and may also include the service system 104 of the resource service; each third-party identity verification channel 103 may include third-party identity verification channel 1, third-party identity verification channel 2 up to third-party identity verification channel n, and n can be any integer greater than 0.

[0010] Among them, the detection module 101 and the routing module 102 may be deployed on the server of the resource service. The servers on which the detection module 101 and the routing module 102 are deployed may be the same server or different servers; the server of the resource service may be one or more servers, a server cluster composed of several servers, or a cloud server of a cloud computing platform; the detection module 101 is used to calculate routing metrics based on the identity verification processing parameters of any third-party identity verification channel to obtain routing metrics, and perform routing switching on the routing intervals of each third-party identity verification channel according to the routing metrics to obtain a switched routing interval; the routing module 102 is used to perform routing processing on the identity verification requests of the resource service; Each third-party identity verification channel 103 is used to perform identity verification processing; each third-party identity verification channel 103 may be an identity verification interface provided by each third-party identity verification platform. Each third-party identity verification platform may be deployed on its respective third-party server, and each third-party server may be one or more servers, a server cluster composed of several servers, or a cloud server of a cloud computing platform; The service system 104 of the resource service can be used to generate an identity verification request for the resource service; the service system 104 of the resource service can be deployed on the server of the resource service; the server on which the service system 104 is deployed and the server on which the detection module 101 and the routing module 102 are deployed can be the same server or different servers.

[0011] In this implementation environment, the detection module 101 obtains the identity verification processing parameters for the resource service to call each third-party identity verification channel 103 for identity verification processing. When the identity verification processing parameters of any third-party identity verification channel trigger the routing switching condition, routing metrics are calculated based on the identity verification processing parameters of any third-party identity verification channel to obtain routing metrics, and the routing intervals of each third-party identity verification channel are switched according to the routing metrics to obtain the switched routing intervals of each third-party identity verification channel, so as to dynamically adjust the routing intervals of each third-party identity verification channel based on the identity verification processing parameters of the identity verification request for the resource service by each third-party identity verification channel. Among them, the switched routing interval is used for routing processing of the identity verification request of the resource service through the routing module 102; the identity verification request of the resource service can be generated by the service system 104 of the resource service.

[0012] One or more embodiments of a routing processing method provided in this specification are as follows: Refer to Figure 2 , the routing processing method provided in this embodiment can be applied to the detection module, and specifically includes steps S202 to S206.

[0013] Step S202, obtain the identity verification processing parameters for the resource service to call each third-party identity verification channel for identity verification processing.

[0014] The resource service in this embodiment can be a resource application program or a resource subprogram. Specifically, the resource subprogram can be a resource applet; the resource service can be any resource service that requires user identity verification; when the resource service is a resource subprogram, the resource service can be a resource service within an application program. The application program can be a payment application program or a third-party application program. The resource service within the application program can be a resource subprogram or a resource service unit within the application program; the resource service can be a resource credit service for granting resources to users or a resource application service for users to apply for resources. The resource service can also be a fund service, specifically a fund credit service for granting funds to users or a fund application service for users to apply for funds; this embodiment can be applied to the detection module, and the detection module can be deployed on the server of the resource service.

[0015] Each third-party identity verification channel among the various third-party identity verification channels can be used for identity verification processing, and the identity verification processing can specifically be identity verification processing or identity authentication processing, and can specifically be used for performing identity verification processing on the identity verification request for the resource service; each third-party identity verification channel can be a third-party identity verification interface provided by a third-party identity verification platform, and each third-party identity verification channel can be an external identity verification channel or an internal identity verification channel of the resource service; the service provider of the resource service can call the third-party identity verification interface to perform identity verification processing.

[0016] The various third-party identity verification channels can be determined based on the identity verification processing duration threshold for performing identity verification processing on the resource service or based on the identity verification category for performing identity verification processing on the resource service. The identity verification category can specifically be an identity verification scenario, and the number of identity verification categories can be one or more; the identity verification category can be determined according to the identity verification limit duration for performing identity verification processing on the resource service, and this identity verification limit duration can be the identity verification processing duration threshold; the number of channels of each third-party identity verification channel can also be determined based on the identity verification limit duration for performing identity verification processing on the resource service; for example, there are two identity verification limit durations for performing identity verification processing on the resource service, which are a seconds and b hours respectively. a seconds means that the identity verification result is fed back to the user within a seconds, and b hours means that the identity verification result is fed back to the user within b hours. These two identity verification limit durations represent two identity verification scenarios; continuing with the above example, for the two identity verification scenarios of a seconds and b hours, in the identity verification scenario of a seconds, the various third-party identity verification channels include the third-party identity verification channel 1 and the third-party identity verification channel 2, and in the identity verification scenario of b hours, the various third-party identity verification channels include the third-party identity verification channel 1 and the third-party identity verification channel 3.

[0017] The identity verification processing parameters can be one or more, and the identity verification processing parameters can include identity verification response parameters and / or identity verification channel parameters; the identity verification response parameters can include the identity verification response duration and / or the identity verification response success rate; the identity verification response duration of each third-party identity verification channel can be the duration spent by the resource service in calling each third-party identity verification channel to perform identity verification processing; the identity verification response success rate of each third-party identity verification channel can be the success rate of the resource service in calling each third-party identity verification channel to perform identity verification processing; the identity verification response success rate of each third-party identity verification channel can be calculated based on the processing status and / or the number of requests of the identity verification request for the resource service by each third-party identity verification channel within a time period, and the processing status can include the processing success status and / or the processing failure status; the identity verification response duration can be the average response duration of each third-party identity verification channel in performing identity verification processing on the identity verification request for the resource service within a time period, or can be the last identity verification response duration of each third-party identity verification channel in performing identity verification processing on the last identity verification request for the resource service within a time period; The identity verification channel parameters of each third-party identity verification channel may be the channel attribute parameters of each third-party identity verification channel; the identity verification channel parameters may include payment fees, credibility, and / or manual switching parameters. Specifically, the identity verification channel parameters may include at least one of the following: the payment fees paid by the service provider of the resource service to each third-party identity verification channel when invoking each third-party identity verification channel, the identity verification credibility of each third-party identity verification channel during the identity verification process, and the manual switching parameters for manual switching of each third-party identity verification channel by the service provider of the resource service during the routing switching process; among them, the identity verification credibility of each third-party identity verification channel during the identity verification process may be the compliance degree of each third-party identity verification channel during the identity verification process; the service provider of the resource service may change the manual switching parameters, and the setting of the manual switching parameters can be used to provide an entry for manual participation in or manual intervention in the routing switching process, improving the flexibility of the routing switching. Manual operations can change the manual switching parameters. After the change, it represents that the manual operation changes the parameters and further represents that the manual operation participates in the routing switching.

[0018] Specifically, obtain the identity verification process parameters of the resource service when invoking each third-party identity verification channel for identity verification; specifically, the identity verification process parameters of the resource service when invoking each third-party identity verification channel within a time period can be obtained. Here, the time period can be any time period, such as x milliseconds. The identity verification process parameters can be the identity verification process parameters of each third-party identity verification channel for the identity verification request of the resource service within the time period; more specifically, the log collection unit of the detection module can obtain the identity verification process parameters of the resource service when invoking each third-party identity verification channel for identity verification or can obtain the identity verification process parameters of the resource service when invoking each third-party identity verification channel within a time period.

[0019] It should be added that the process of obtaining the identity verification process parameters of the resource service when invoking each third-party identity verification channel for identity verification can be replaced by obtaining the identity verification process parameters of the service when invoking each third-party identity verification channel for identity verification; optionally, the service includes resource service, takeaway service, government service, or shopping service, and the service can also include other services. The resource service can be a fund credit service, guarantee service, or guarantee application service; or it can be replaced by obtaining the identity verification process parameters of the resource service or the service when invoking the identity verification channel for identity verification; optionally, the identity verification channel includes a third-party identity verification channel, the identity verification channel of the application program, and / or the identity verification channel of the resource service; or it can be replaced by obtaining the identity verification process parameters of each third-party identity verification channel for identity verification by the resource service; and it forms a new implementation method with other processing steps provided in this embodiment.

[0020] Step S204, if the identity verification process parameters of any third-party identity verification channel trigger the routing switching condition, calculate the routing metrics based on the identity verification process parameters of any third-party identity verification channel to obtain the routing metrics.

[0021] The identity verification processing parameters for the above-obtained resource service to call each third-party identity verification channel for identity verification processing. In this step, when the identity verification processing parameters of any third-party identity verification channel trigger the routing switch condition, routing metrics are calculated based on the identity verification processing parameters of any third-party identity verification channel to obtain routing metrics.

[0022] Any third-party identity verification channel described in this embodiment refers to any one third-party identity verification channel; the identity verification processing parameters of any third-party identity verification channel refer to the identity verification processing parameters for the resource service to call any third-party identity verification channel for identity verification processing; optionally, the identity verification processing parameters of any third-party identity verification channel include identity verification response parameters and / or identity verification channel parameters, and the identity verification response parameters include identity verification response duration and / or identity verification response success rate. The identity verification response parameters can be identity verification response parameters within a time period; the identity verification response duration of any third-party identity verification channel can be the duration spent by the resource service to call any third-party identity verification channel for identity verification processing, and the identity verification response success rate of any third-party identity verification channel can be the success rate of the resource service to call any third-party identity verification channel for identity verification processing; the identity verification response success rate can be calculated based on the processing status and / or the number of identity verification requests of any third-party identity verification channel for the identity verification requests of the resource service within a time period, and the processing status can include a processing success status and / or a processing failure status; the identity verification response duration can be the average response duration of any third-party identity verification channel for the identity verification requests of the resource service within a time period, or the identity verification response duration of any third-party identity verification channel for the last identity verification request of the resource service within a time period. The identity verification channel parameters can be the channel attribute parameters of any third-party identity verification channel; the identity verification channel parameters can include payment fees, credibility, and / or manual switch parameters; optionally, the identity verification channel parameters include at least one of the following: the payment fees paid by the service provider of the resource service to call any third-party identity verification channel to any third-party identity verification channel, the identity verification credibility of any third-party identity verification channel for identity verification processing, and the manual switch parameters for the service provider to perform manual switching for any third-party identity verification channel during the routing switch; among them, the identity verification credibility of any third-party identity verification channel for identity verification processing can be the compliance degree of any third-party identity verification channel for identity verification processing; the service provider of the resource service can change the manual switch parameters, and the setting of the manual switch parameters can be used to provide an entry for manual participation in the routing switch process or manual intervention in the routing switch process, improving the flexibility of the routing switch. Manual personnel can change the manual switch parameters, and after the change, it represents that the manual personnel perform parameter change, and further represents that the manual personnel participate in the routing switch.

[0023] The routing switching conditions may include the conditions for switching the routing intervals of each third-party identity verification channel; the routing switching conditions may include that the difference between the identity verification response parameter and the historical identity verification response parameter is greater than the difference threshold, and the identity verification channel parameter is obtained by changing the parameter based on the change instruction of the historical identity verification channel parameter of any third-party identity verification channel; wherein, the historical identity verification response parameter may be the previous identity verification response parameter of the identity verification response parameter or the identity verification response parameter of the previous time period; the historical identity verification channel parameter may be the previous identity verification channel parameter of the identity verification channel parameter; the change instruction may be submitted by the service provider of the resource service. In addition, the routing switching conditions may also include that the difference between the identity verification response parameter and the historical identity verification response parameter is greater than the difference threshold, or the identity verification channel parameter is obtained by changing the parameter based on the change instruction of the historical identity verification channel parameter of any third-party identity verification channel; for example, the difference between the identity verification response duration of the third-party identity verification channel 1 within a time period and the historical identity verification response duration of the previous time period is greater than the difference threshold, and the identity verification response duration of the third-party identity verification channel 1 triggers the routing switching condition; for another example, the payment fee of the third-party identity verification channel 2 is obtained by changing the fee based on the change instruction of the historical payment fee of the third-party identity verification channel 2, which means that the payment fee of the third-party identity verification channel 2 is obtained by changing the historical payment fee, and the payment fee of the third-party identity verification channel 2 triggers the routing switching condition.

[0024] The routing metric may be the routing metric of each third-party identity verification channel, and this routing metric may be an index characterizing the routing degree of request allocation or request routing to each third-party identity verification channel; the routing metric may be the routing selection metric of each third-party identity verification channel, specifically, it may be a routing selection score characterizing the selection of each third-party identity verification channel for identity verification processing. In addition, the routing metric may also be an identity verification evaluation metric, specifically, it may be an identity verification quality score characterizing the identity verification quality of each third-party identity verification channel and / or an identity verification performance score characterizing the identity verification performance of each third-party identity verification channel and / or the comprehensive evaluation metric of each third-party identity verification channel.

[0025] In specific implementation, the routing metrics of each third-party identity verification channel may be calculated based on the identity verification processing parameters of any third-party identity verification channel to obtain the routing metrics of each third-party identity verification channel, so as to realize the dynamic evaluation of each third-party identity verification channel. By dynamically evaluating each third-party identity verification channel, the convenience of subsequent routing switching can be improved, and timely perception can be realized in case of channel failure. Through subsequent routing switching, the stability of the resource service calling the third-party identity verification channel for identity verification processing can be guaranteed, and the continuity of the resource service during the identity verification process of the user can be guaranteed, so as to realize the user's non-perception of the failure.

[0026] In practical applications, the identity verification processing parameters may be one or more. When there are multiple identity verification processing parameters, the importance of different identity verification processing parameters for route switching may also be different. In view of this, in order to improve the comprehensiveness and effectiveness of route metric calculation; in an optional implementation manner provided in this embodiment, during the process of calculating route metrics based on the identity verification processing parameters of any third-party identity verification channel and obtaining route metrics, the following operations are performed: Update the identity verification parameter data based on the identity verification processing parameters of any third-party identity verification channel; Calculate the route metrics according to the identity verification processing parameters of each third-party identity verification channel in the identity verification parameter data and the corresponding parameter weights.

[0027] Optionally, the parameter weights are determined based on the threshold of the identity verification processing duration for resource services to perform identity verification.

[0028] Among them, the identity verification parameter data can be any data structure. For example, the identity verification parameter data can be an identity verification parameter table or an identity verification parameter linked list; the identity verification parameter data can store the identity verification processing parameters of each third-party identity verification channel and can be updated; the parameter weights corresponding to the identity verification processing parameters of each third-party identity verification channel can be determined based on the identity verification category for resource services to perform identity verification. The identity verification category can specifically be an identity verification scenario, and the number of identity verification categories can be one or more; the identity verification category can be determined according to the identity verification limit duration for resource services to perform identity verification, and this identity verification limit duration can be the threshold of the identity verification processing duration. For example, there are two identity verification limit durations for resource services to perform identity verification, which are a seconds and b hours respectively. a seconds means that the identity verification result is fed back to the user within a seconds, and b hours means that the identity verification result is fed back to the user within b hours. These two identity verification limit durations represent two identity verification scenarios; The parameter weights corresponding to the identity verification processing parameters can be any value, specifically positive numbers, negative numbers or 0; Continuing with the above example, for the two identity verification scenarios of a seconds and b hours, in the identity verification scenario of a seconds, more attention is paid to the payment fee and the identity verification response duration, and the parameter weights of the payment fee and the identity verification response duration are set higher, while the parameter weights of the identity verification credibility, the identity verification response success rate and the manual switching parameter are set lower. In the identity verification scenario of b hours, more attention is paid to the identity verification credibility and the identity verification success rate, and the parameter weights of the identity verification credibility and the identity verification success rate are set higher, while the parameter weights of the identity verification response duration, the payment fee and the manual switching parameter are set lower; It should be noted that the parameter weight corresponding to the manual switching parameter can be greater than the parameter weights corresponding to the payment fee, the identity verification response duration, the identity verification response success rate, and the identity verification credibility.

[0029] Specifically, the identity verification parameter table can be updated based on the identity verification processing parameters of any third-party identity verification channel, and the route metrics of each third-party identity verification channel can be calculated according to the identity verification processing parameters of each third-party identity verification channel in the identity verification parameter table and the corresponding parameter weights.

[0030] On this basis, since the parameter attributes of the identity verification processing parameters may be different, it is impossible to directly calculate the routing metrics using the identity verification processing parameters. In view of this, in order to improve the convenience of calculating the routing metrics, in an optional implementation manner provided in this embodiment, during the process of calculating the routing metrics according to the identity verification processing parameters of each third-party identity verification channel in the identity verification parameter data and the corresponding parameter weights, the following operations are performed: Standardize the identity verification processing parameters of each third-party identity verification channel according to the standardization method corresponding to the parameter attribute of the identity verification processing parameters in the identity verification parameter data to obtain the standard processing parameters; Calculate the routing metrics based on the standard processing parameters and the corresponding parameter weights.

[0031] Optionally, the parameter attribute includes a positive parameter attribute and / or a negative parameter attribute.

[0032] Among them, the positive parameter attribute may be a positive parameter attribute indicating that the better the third-party identity verification channel is when the identity verification processing parameter is larger, and the negative parameter attribute may be a negative parameter attribute indicating that the worse the third-party identity verification channel is when the identity verification processing parameter is larger. For example, the larger the payment fee is, the worse the third-party identity verification channel is, so the parameter attribute of the payment fee is a negative parameter attribute; the larger the identity verification response success rate is, the better the third-party identity verification channel is, so the parameter attribute of the identity verification response success rate is a positive parameter attribute.

[0033] The standardization method corresponding to the parameter attribute may include the standardization method corresponding to the positive parameter attribute and / or the standardization method corresponding to the negative parameter attribute; the standardization method corresponding to the positive parameter attribute may be a standardization method based on a standardization algorithm, and the standardization method corresponding to the negative parameter attribute may be a standardization method for calculating the standard processing parameters according to a preset value and the candidate standard processing parameters obtained by performing standardization processing based on the standardization algorithm.

[0034] Specifically, in the process of standardizing the identity verification processing parameters of each third-party identity verification channel according to the standardization method corresponding to the parameter attributes of the identity verification processing parameters of each third-party identity verification channel in the identity verification parameter data to obtain the standard processing parameters, determine the first identity verification processing parameter and the last identity verification processing parameter in the identity verification processing parameters of each third-party identity verification channel, input the identity verification processing parameters, the first identity verification processing parameter, and the last identity verification processing parameter of each third-party identity verification channel into the standardization algorithm for standardization processing to obtain the candidate standard processing parameters of each third-party identity verification channel. If the parameter attribute of the identity verification processing parameter of each third-party identity verification channel is a positive parameter attribute, use the candidate standard processing parameter as the standard processing parameter of each third-party identity verification channel. If the parameter attribute of the identity verification processing parameter of each third-party identity verification channel is a negative parameter attribute, calculate the difference between the preset value and the candidate standard processing parameter as the standard processing parameter of each third-party identity verification channel. The preset value can be any value. For example, the preset value is 1. In the process of calculating the routing metric based on the standard processing parameter and the parameter weight, the routing metric of each third-party identity verification channel can be obtained by weighted calculation based on the standard processing parameter of each third-party identity verification channel and the corresponding parameter weight. Among them, the first identity verification processing parameter can be the identity verification processing parameter with the first ranking position after sorting the identity verification processing parameters of each third-party identity verification channel in ascending order, and the last identity verification processing parameter can be the identity verification processing parameter with the last ranking position.

[0035] For example, the standardization algorithm includes: normalized_value = (value - min_value) / (max_value - min_value) Among them, normalized_value represents the candidate standard processing parameter; value represents the identity verification processing parameter of each third-party identity verification channel; min_value represents the first identity verification processing parameter; max_value represents the last identity verification processing parameter; Suppose the identity verification processing parameter of any third-party identity verification channel is the identity verification response duration, the identity verification response duration of any third-party identity verification channel is 400, and the identity verification response durations of the other third-party identity verification channels are 500, 400, and 500 respectively. Determine that the first identity verification response duration is 400 and the last identity verification response duration is 500 among the identity verification response durations of each third-party identity verification channel.

[0036] For another example, there are a total of 4 third-party identity verification channels, and the identity verification parameter data is shown in Table 1 below:

[0037] Table 1 Among them, the third-party identity verification channels include Channel 1, Channel 2, Channel 3, and Channel 4. The payment fee for Channel 1 is 1.1, the identity verification response time is 400, the identity verification response success rate is 99, the identity verification credibility is 3, and the manual switching parameter is 0. The identity verification processing parameters of the remaining channels are similar to those of Channel 1 and will not be elaborated here. Suppose the identity verification response time obtained by using Channel 1 for identity verification processing in the resource service call triggers the routing switching condition, and the identity verification response time of Channel 1 changes from 400 to 600. The identity verification parameter data is updated based on the identity verification response time of Channel 1 as shown in Table 2 below:

[0038] Table 2 Among them, the identity verification response time of Channel 1 in Table 2 is updated from 400 to 600. The third-party identity verification channels include Channel 1, Channel 2, Channel 3, and Channel 4. The payment fee for Channel 1 is 1.1, the identity verification response time is 600, the identity verification response success rate is 99, the identity verification credibility is 3, and the manual switching parameter is 0. The identity verification processing parameters of the remaining channels are similar to those of Channel 1 and will not be elaborated here. According to the standardization method corresponding to the parameter attributes of the identity verification processing parameters of Channels 1 to 4 in the identity verification parameter data, the identity verification processing parameters of Channels 1 to 4 are standardized to obtain the standard processing parameters as shown in Table 3 below:

[0039] Table 3 Among them, the standard payment fees of the payment fees of Channels 1 to 4 in Table 3 are 1, 0, 0.2, and 0.64 respectively, the standard identity verification response times of the identity verification response times are 0, 0.5, 1, and 0.5 respectively, the standard identity verification response success rates of the identity verification response success rates are 0.67, 0.33, 1, and 0 respectively, the standard identity verification credibilities of the identity verification credibilities are 1, 0, 1, and 0 respectively, and the standard manual switching parameters of the manual switching parameters are 0, 0, 0, and 0 respectively. Suppose the parameter weights corresponding to the payment fee, identity verification response time, identity verification response success rate, identity verification credibility, and manual switching parameter are 2, 3, 3, 4, and 10 respectively. Based on the standard processing parameters and the parameter weights, the routing index of Channel 1 is 2 + 2.01 + 4 = 8.01, and the routing indexes of Channels 2 to 4 are 2.49, 10.4, and 2.78 respectively.

[0040] It should be added that if the identity verification processing parameters of any third-party identity verification channel trigger the routing switching condition, the operation of calculating the routing metrics based on the identity verification processing parameters of any third-party identity verification channel to obtain the routing metrics can be replaced by calculating the routing metrics based on the identity verification processing parameters of any third-party identity verification channel; or it can be replaced by calculating the routing metrics of each third-party identity verification channel based on the identity verification processing parameters of any third-party identity verification channel; and it forms a new implementation method together with other processing steps provided in this embodiment.

[0041] Step S206, perform routing switching on the routing intervals of each third-party identity verification channel according to the routing metrics to obtain the switched routing intervals of each third-party identity verification channel.

[0042] In the case where the identity verification processing parameters of any third-party identity verification channel trigger the routing switching condition, the routing metrics are calculated based on the identity verification processing parameters of any third-party identity verification channel to obtain the routing metrics. In this step, routing switching is performed on the routing intervals of each third-party identity verification channel according to the routing metrics to obtain the switched routing intervals of each third-party identity verification channel, so as to achieve dynamic switching of each third-party identity verification channel.

[0043] The routing interval described in this embodiment refers to the routing interval for routing the identity verification requests for resource services. The routing interval can represent the routing weight interval of the request routing for the identity verification requests sent to the third-party identity verification channels. The larger the routing interval, the more identity verification requests can be represented as being routed to the third-party identity verification channel, and the smaller the routing interval, the fewer identity verification requests can be represented as being routed to the third-party identity verification channel; the routing interval can be a routing weight interval, a routing capacity interval, or a routing load interval. For example, the third-party identity verification channels include Channel 1, Channel 2, Channel 3, and Channel 4, and the routing intervals of the 4 channels are [25, 100], [15, 25), [5, 15), and [0, 5) respectively; the switched routing interval refers to the switched routing interval of each third-party identity verification channel after performing routing switching on the routing intervals of each third-party identity verification channel; optionally, the switched routing interval is used for routing the identity verification requests for resource services through the routing module or the switched routing interval is used for routing the identity verification requests for resource services; optionally, the routing module is deployed on the server of the resource service. The identity verification requests for the resource service are generated after detecting the service activation instruction submitted by the user in the resource service or the application task generated by the resource service for the user's resource application to the resource institution. Here, the resource institution can be a third-party resource institution or a cooperative resource institution of the resource service, and this resource institution can be used to grant resource credit to the user.

[0044] In practical applications, the routing metrics for identity verification processing by each third-party identity verification channel are different, that is, the identity verification performance of each third-party identity verification channel for identity verification processing is different. In view of this, since the third-party identity verification channel with higher routing metrics has better performance for identity verification processing, in order to ensure the stability of identity verification during identity verification processing and improve the identity verification effect of invoking the third-party identity verification channel for identity verification processing, the routing priority of each third-party identity verification channel can be determined based on the routing metrics, and the routing interval of each third-party identity verification channel can be switched to the switching routing interval corresponding to the routing priority. In this way, a larger switching routing interval can be switched to the third-party identity verification channel with higher routing priority, and more identity verification requests can be allocated to the third-party identity verification channel with higher routing priority through the larger switching routing interval. At the same time, the third-party identity verification channel with lower routing priority can be kept alive through a smaller switching routing interval to ensure that the third-party identity verification channel with lower routing priority can also perform identity verification processing normally after the routing is switched to a higher routing priority, improving the stability of the identity verification processing of the resource service. In the case of a failure of the third-party identity verification channel, the routing can be automatically switched so that the user is unaware of the failure. Specifically, in an optional implementation manner provided in this embodiment, during the process of performing routing switching on the routing intervals of each third-party identity verification channel according to the routing metrics to obtain the switching routing intervals of each third-party identity verification channel, the routing interval corresponding to the routing priority obtained by sorting each third-party identity verification channel is used as the switching routing interval. Sorting each third-party identity verification channel based on the routing metrics can be specifically performed as follows: Sort each third-party identity verification channel according to the routing metrics to obtain the routing priority of each third-party identity verification channel; Switch the routing interval of each third-party identity verification channel to the switching routing interval corresponding to the routing priority.

[0045] Continuing with the above example, the routing metrics of channels 1 to 4 are 8.01, 2.49, 10.4, and 2.78 respectively. Sort each third-party identity verification channel according to the routing metrics to obtain the routing priorities of each third-party identity verification channel as follows: Channel 3 has the first routing priority, Channel 1 has the second routing priority, Channel 4 has the third routing priority, and Channel 2 has the fourth routing priority. Switch the routing intervals of each third-party identity verification channel to the switching routing intervals corresponding to the routing priorities of channels 1 to 4. Then the switching routing intervals of channels 1 to 4 are [15, 25), [0, 5), [25, 100], and [5, 15) respectively.

[0046] As described above, the switching routing interval can be used for routing processing of identity verification requests of resource services by the routing module; thereby controlling the ratio of the request routing of identity verification requests to each third-party identity verification channel through the switching routing interval. In an optional implementation manner provided in this embodiment, the routing module performs the routing processing in the following manner: Perform request allocation for identity verification requests to the third-party identity verification channels corresponding to the switching routing intervals that match the routing parameters.

[0047] Optionally, the routing parameters are obtained through parameter calculation based on the random number generated for the identity verification request and the routing cumulative value.

[0048] Among them, the routing cumulative value can represent the identity verification processing volume of each third-party identity verification channel for resource service calls for identity verification processing or represent the cumulative value of identity verification requests for identity verification processing by each third-party identity verification channel; in addition, the initial routing cumulative value is 0, and the subsequent routing cumulative value can also be the routing parameter; the routing cumulative value can be obtained by counting based on a counter.

[0049] On this basis, in order to reduce randomness during the routing processing of identity verification requests, enable third-party identity verification channels with smaller switching routing intervals to also receive fewer identity verification requests, and avoid third-party identity verification channels with smaller switching routing intervals from not receiving identity verification requests for a long time to keep them alive; in an optional implementation provided in this embodiment, during the process of performing request allocation for identity verification requests to the third-party identity verification channels corresponding to the switching routing intervals that match the routing parameters, routing parameters can be introduced, the routing parameters are matched with the switching routing intervals of each third-party identity verification channel, and the identity verification requests are allocated to the third-party identity verification channels corresponding to the switching routing intervals that match the routing parameters. The specific operations can be as follows: Match the routing parameters with the switching routing intervals of each third-party identity verification channel to obtain the switching routing intervals that match the routing parameters; Call the third-party identity verification channels corresponding to the matched switching routing intervals to perform request processing for identity verification requests.

[0050] Based on the above, where the routing parameters are obtained through parameter calculation based on the random number generated for the identity verification request and the routing cumulative value, in order to ensure the randomness of the routing processing of identity verification requests, in an optional implementation provided in this embodiment, during the process of performing parameter calculation based on the random number generated for the identity verification request and the routing cumulative value, the following operations are performed: Generate a random number for the identity verification request of the resource service, and update the routing cumulative value based on the random number; Calculate the routing parameters based on the routing cumulative value and the random number to obtain the routing parameters.

[0051] Specifically, in the process of generating a random number for the identity verification request of a resource service, a random number can be generated for the identity verification request of the resource service within the entire numerical range, or a random number can be generated for the identity verification request of the resource service within the numerical range of the routing threshold. Among them, the routing threshold can include the total proportion value of the routing proportions corresponding to the switching routing intervals of each third-party identity verification channel, and the total proportion value can be the sum of the routing proportions corresponding to the switching routing intervals of each third-party identity verification channel.

[0052] It should be noted that after the routing parameter calculation is performed based on the routing cumulative value and the random number as described above to obtain the routing parameter, the routing cumulative value can also be updated based on the routing parameter, so as to use the routing parameter as the new routing cumulative value for the routing processing of the next identity verification request.

[0053] To avoid that the third-party identity verification channels corresponding to relatively small switching routing intervals may not receive identity verification requests within a certain period of time due to the random number, and to improve the keep-alive of these third-party identity verification channels, a routing cumulative value can be introduced, and the routing processing of the identity verification request can be performed through the routing parameter calculated from the routing cumulative value and the random number, so as to reduce the randomness of the routing processing of the identity verification request caused by the random number. In an optional implementation manner provided in this embodiment, in the process of calculating the routing parameter based on the routing cumulative value and the random number, a candidate routing parameter is calculated according to the routing cumulative value and the random number, and the routing parameter is determined based on the comparison result between the candidate routing parameter and the routing threshold of the switching routing interval. The following operations can be specifically performed: Calculate a candidate routing parameter according to the routing cumulative value and the random number; If the candidate routing parameter is less than or equal to the routing threshold, the candidate routing parameter is used as the routing parameter. If the candidate routing parameter is greater than the routing threshold, the routing parameter is obtained by performing a modulo operation on the candidate routing parameter based on the routing threshold.

[0054] Among them, the routing threshold can include the total proportion value of the routing proportions corresponding to the switching routing intervals of each third-party identity verification channel, and the total proportion value can be the sum of the routing proportions corresponding to the switching routing intervals of each third-party identity verification channel.

[0055] Specifically, in the process of calculating the candidate routing parameter according to the routing cumulative value and the random number, the sum of the routing cumulative value and the random number can be calculated as the candidate routing parameter, or the positive value of the difference between the routing cumulative value and the random number can be calculated as the candidate routing parameter, or the product of the routing cumulative value and the random number can be calculated as the candidate routing parameter, or the ratio of the routing cumulative value and the random number can be calculated as the candidate routing parameter. The operation result of the routing cumulative value and the random number can be calculated as the candidate routing parameter through any one or more operation methods.

[0056] For example, before the routing process of the identity verification request for the first resource service, the routing cumulative value is 0. After receiving the identity verification request for the first resource service, assuming the random number generated for the identity verification request for the first resource service is 2, the candidate routing parameter is generated based on the routing cumulative value and the random number as 0 + 2 = 2 < 100. The candidate routing parameter is the routing parameter. The routing parameter 2 matches [0, 5). The channel 2 corresponding to the matching switching routing interval [0, 5) is called to process the identity verification request, and the routing cumulative value is updated using the routing parameter. Assuming that the subsequent routing cumulative value is 82 and the random number generated for the received identity verification request of the resource service is 40, then the candidate routing parameter is calculated as 82 + 40 = 122 > 100 based on the routing cumulative value 82 and the random number 40. The modulo operation is performed on the candidate routing parameter 122 based on the routing threshold 100 to obtain the routing parameter as 22. The routing parameter 22 matches [15, 25). The channel 1 corresponding to the matching switching routing interval [15, 25) is called to process the identity verification request.

[0057] In practical applications, the routing metrics for identity verification processing by each third-party identity verification channel are different, and the identity verification performance for identity verification processing by each third-party identity verification channel is different. In view of this, since the third-party identity verification channel with a higher routing metric has better identity verification performance, in order to ensure the identity verification stability of identity verification processing and improve the identity verification effect of calling the third-party identity verification channel for identity verification processing; optionally, there is a corresponding routing priority for the switching routing interval of each third-party identity verification channel; the interval size of the switching routing interval is positively correlated with the routing priority; the switching routing interval is calculated based on the routing ratio and routing threshold corresponding to the routing priority; Among them, the routing priority corresponding to each third-party identity verification channel can be obtained by sorting based on the routing metrics of each third-party identity verification channel. The routing metrics of each third-party identity verification channel can be positively correlated with the routing priority of each third-party identity verification channel. Specifically, the larger the routing metric of a third-party identity verification channel, the higher the routing priority of the third-party identity verification channel, and the smaller the routing metric of the third-party identity verification channel, the lower the routing priority of the third-party identity verification channel; any one, two, or three of the routing metrics, routing priorities, and interval sizes of the switching routing intervals corresponding to each third-party identity verification channel are positively correlated. Specifically, the larger the routing metric of a third-party identity verification channel, the higher the routing priority of the third-party identity verification channel and the larger the switching routing interval, and the smaller the routing metric of the third-party identity verification channel, the lower the routing priority of the third-party identity verification channel and the smaller the switching routing interval; The routing threshold may include the total proportion value of the routing proportion corresponding to the switching routing interval, and the total proportion value may be the sum of the routing proportions corresponding to the switching routing intervals of each third-party identity verification channel; for example, the switching routing intervals of channels 1 to 4 are [15, 25), [0, 5), [25, 100], [5, 15) respectively, channel 1 has the second routing priority, channel 2 has the fourth routing priority, channel 3 has the first routing priority, channel 4 has the third routing priority, and the routing proportions corresponding to the switching routing intervals [15, 25), [0, 5), [25, 100], [5, 15) are 10%, 5%, 75%, 10% respectively, and the routing threshold of the switching routing interval is the total proportion value 100 of the routing proportion.

[0058] It should be noted that the operation of performing routing switching on the routing intervals of each third-party identity verification channel according to the routing metrics to obtain the switching routing intervals of each third-party identity verification channel can be replaced by performing routing switching on each third-party identity verification channel according to the routing metrics to obtain the switching routing intervals of each third-party identity verification channel, and forming a new implementation method with other processing steps provided in this embodiment.

[0059] In this embodiment, the server of the resource service may deploy a service system, a detection module, and / or a routing module; for example Figure 3 As shown, the service system of the resource service can generate an identity verification request for performing identity verification processing. The routing module can perform routing processing of the identity verification request to each third-party identity verification channel according to the routing intervals of each third-party identity verification channel. The detection module can obtain the identity verification processing parameters for the resource service to call each third-party identity verification channel for identity verification processing, and dynamically update the routing intervals of each third-party identity verification channel based on the identity verification processing parameters; specifically, the detection module can, when the identity verification processing parameters of any third-party identity verification channel trigger the routing switching condition, update the identity verification parameter data based on the identity verification processing parameters of any third-party identity verification channel, calculate the routing metrics of each third-party identity verification channel based on the identity verification processing parameters of each third-party identity verification channel in the identity verification parameter data, and perform routing switching on the routing intervals of each third-party identity verification channel based on the routing metrics of each third-party identity verification channel to obtain the switching routing intervals of each third-party identity verification channel; Before the resource service goes online, the routing module can generate test identity verification requests for identity verification tests and allocate the test identity verification requests to each third-party identity verification channel. The detection module can calculate the routing metrics of each third-party identity verification channel based on the identity verification processing parameters of each third-party identity verification channel for processing the test identity verification requests, and determine the routing intervals of each third-party identity verification channel according to the routing metrics of each third-party identity verification channel; the routing intervals can be initial routing intervals; after the resource service goes online, the routing module can first perform routing processing on the identity verification requests of the resource service according to the initial routing intervals of each third-party identity verification channel, and subsequently, when the identity verification processing parameters of any third-party identity verification channel trigger the routing switching condition, perform routing switching on the initial routing intervals and subsequent routing intervals of each third-party identity verification channel, so as to dynamically switch the routing intervals of each third-party identity verification channel.

[0060] It should be added that each optional implementation manner and each execution operation process of steps S202 to S206 provided in this embodiment can be independently executed according to needs, or can be combined and referenced with each other. At the same time, each specific execution step in each optional implementation manner or each execution operation process can also be independently executed and combined according to needs. For the operations executed under the conditions of "if" or "in a certain situation" in this embodiment, the conditions of "if" and "in a certain situation" can be deleted, and the subsequent operations can be directly executed. For example, the condition that the identity verification processing parameters of any third-party identity verification channel trigger the routing switching condition can be deleted, and the routing metrics can be directly calculated based on the identity verification processing parameters of any third-party identity verification channel to obtain the routing metrics; the limitations made by "in order to" in the execution steps can also be deleted according to needs; this embodiment does not make specific limitations on this.

[0061] In summary, one or more routing processing methods provided in this embodiment can be applied to a detection module. During the routing processing, after obtaining the identity verification processing parameters for the resource service to call each third-party identity verification channel for identity verification processing, if the identity verification processing parameters of any third-party identity verification channel trigger a routing switching condition, then update the identity verification parameter data based on the identity verification processing parameters of any third-party identity verification channel. According to the standardization method corresponding to the parameter attributes of the identity verification processing parameters of each third-party identity verification channel in the identity verification parameter data, standardize the identity verification processing parameters of each third-party identity verification channel to obtain standard processing parameters, and calculate routing metrics based on the standard processing parameters and the corresponding parameter weights; secondly, sort each third-party identity verification channel according to the routing metrics to obtain the routing priorities of each third-party identity verification channel, and switch the routing intervals of each third-party identity verification channel to the switching routing intervals corresponding to the routing priorities; the switching routing intervals can be used for routing processing of identity verification requests for resource services through a routing module; thus, dynamically adjust the routing priorities of each third-party identity verification channel through the routing metrics of each third-party identity verification channel, perform subsequent routing processing of identity verification requests for each third-party identity verification channel through the switching routing intervals corresponding to the routing priorities, and dynamically regulate the request routing processing of each third-party identity verification channel through the switching routing intervals, ensuring that when a third-party identity verification channel fails, it can be sensed in a timely manner through the routing metrics, improving the stability of the identity verification processing of the resource service when a failure occurs. At the same time, by setting switching routing intervals for different routing priorities, it is possible to keep the third-party identity verification channels alive, enabling the third-party identity verification channels to perform identity verification processing normally after the routing is switched.

[0062] The following takes the application of a routing processing method provided in this embodiment in a resource service scenario as an example to further illustrate the routing processing method provided in this embodiment. Refer to Figure 4 A routing processing method applied to a resource service scenario can be applied to a detection module and specifically includes the following steps.

[0063] Step S402, obtain the identity verification response parameters for the resource service to call each third-party identity verification channel for identity verification processing within a time period.

[0064] Step S404, if the identity verification response parameters of any third-party identity verification channel trigger a routing switching condition, update the identity verification parameter data based on the identity verification response parameters of any third-party identity verification channel.

[0065] Step S406, according to the standardization method corresponding to the parameter attributes of the identity verification response parameters and the identity verification channel parameters of each third-party identity verification channel in the identity verification parameter data, standardize the identity verification response parameters and the identity verification channel parameters to obtain standard response parameters and standard channel parameters.

[0066] The identity verification response parameters and identity verification channel parameters may be the identity verification response parameters and identity verification channel parameters of each third-party identity verification channel.

[0067] Step S408: Calculate the routing metrics of each third-party identity verification channel according to the standard response parameters, standard channel parameters, and their respective corresponding parameter weights.

[0068] Step S410: Sort each third-party identity verification channel according to the routing metrics to obtain the routing priorities of each third-party identity verification channel.

[0069] Step S412: Switch the routing intervals of each third-party identity verification channel to the switched routing intervals corresponding to the routing priorities.

[0070] Optionally, the switched routing intervals are used for routing processing of identity verification requests for resource services in the next time period through the routing module.

[0071] It should be noted that any one step or any combination of steps from Step S402 to Step S412 can be replaced by the corresponding technical means provided in the above Step S202 to Step S206 according to the needs of implementation and deployment. One or more steps from Step S402 to Step S412 can also be combined into a new implementation manner according to the needs of implementation and deployment; and any one step or any combination of steps from Step S402 to Step S412 can also be combined with one or more steps provided in the above Step S202 to Step S206 to form a new implementation manner according to the actual deployment requirements, or combined with one or more optional implementation manners provided in Step S202 to Step S206 to form a new implementation manner, which will not be elaborated here one by one.

[0072] An embodiment of a routing processing device provided in this specification is as follows: In the above embodiment, a routing processing method is provided. Correspondingly, a routing processing device is also provided, which will be described below with reference to the accompanying drawings.

[0073] Refer to Figure 5 , which shows a schematic diagram of an embodiment of a routing processing device provided in this embodiment.

[0074] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiments described below are merely illustrative.

[0075] This embodiment provides a routing processing device that runs on the detection module. The device includes: A parameter acquisition module 502, configured to acquire the identity verification processing parameters for resource service calls to each third-party identity verification channel for identity verification processing; An index calculation module 504, configured to calculate routing metrics based on the identity verification processing parameters of any third-party identity verification channel if the identity verification processing parameters of any third-party identity verification channel trigger a routing switch condition, and obtain routing metrics; A routing switch module 506, configured to perform routing switching on the routing intervals of the third-party identity verification channels according to the routing metrics, and obtain the switched routing intervals of the third-party identity verification channels; the switched routing intervals are used to perform routing processing on the identity verification requests of the resource service through a routing module.

[0076] An embodiment of a routing processing device provided in this specification is as follows: Corresponding to the above-described routing processing method, based on the same technical concept, one or more embodiments of this specification also provide a routing processing device, which is used to execute the routing processing method provided above. Figure 6 It is a schematic structural diagram of a routing processing device provided in one or more embodiments of this specification.

[0077] A routing processing device provided in this embodiment includes: As Figure 6 shown, the routing processing device may have relatively large differences due to configuration or performance, and may include one or more processors 601 and a memory 602. One or more application programs or data may be stored in the memory 602. Among them, the memory 602 may be short-term storage or persistent storage. The application programs stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the routing processing device. Further, the processor 601 may be set to communicate with the memory 602 and execute a series of computer-executable instructions in the memory 602 on the routing processing device. The routing processing device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input / output interfaces 605, one or more keyboards 606, etc.

[0078] In a specific embodiment, the routing processing device includes a memory and one or more programs, where one or more programs are stored in the memory, and one or more programs may include one or more modules, and each module may include a series of computer-executable instructions in the routing processing device, and is configured to be executed by one or more processors. The one or more programs include the following computer-executable instructions: Obtain the identity verification processing parameters for the resource service to call each third-party identity verification channel for identity verification processing; If the identity verification processing parameters of any third-party identity verification channel trigger the routing switching condition, calculate the routing metrics based on the identity verification processing parameters of the any third-party identity verification channel to obtain the routing metrics; Perform routing switching on the routing intervals of the third-party identity verification channels according to the routing metrics to obtain the switched routing intervals of the third-party identity verification channels; the switched routing intervals are used for routing processing of the identity verification requests of the resource service through a routing module.

[0079] An embodiment of a computer-readable storage medium provided in this specification is as follows: Corresponding to the routing processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.

[0080] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and when the computer-executable instructions are executed, the following steps are implemented: Obtain the identity verification processing parameters for the resource service to call each third-party identity verification channel for identity verification processing; If the identity verification processing parameters of any third-party identity verification channel trigger the routing switching condition, calculate the routing metrics based on the identity verification processing parameters of the any third-party identity verification channel to obtain the routing metrics; Perform routing switching on the routing intervals of the third-party identity verification channels according to the routing metrics to obtain the switched routing intervals of the third-party identity verification channels; the switched routing intervals are used for routing processing of the identity verification requests of the resource service through a routing module.

[0081] It should be noted that the embodiment of the computer-readable storage medium in this specification and the embodiment of the routing processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the corresponding method described above, and the repeated parts will not be elaborated.

[0082] An embodiment of a computer program product provided in this specification is as follows: Corresponding to the routing processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a computer program product.

[0083] A computer program product includes computer programs / instructions, and when the computer programs / instructions are executed by a processor, the following steps are implemented: Obtain the identity verification processing parameters for the resource service to call each third-party identity verification channel for identity verification processing; If the identity verification processing parameters of any third-party identity verification channel trigger the routing switching condition, calculate the routing metrics based on the identity verification processing parameters of the any third-party identity verification channel to obtain the routing metrics; Perform routing switching on the routing intervals of the respective third-party identity verification channels according to the routing metrics to obtain the switched routing intervals of the respective third-party identity verification channels; the switched routing intervals are used to perform routing processing on the identity verification requests of the resource services through a routing module.

[0084] It should be noted that the embodiments of a computer program product in this specification and the embodiments of a routing processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the corresponding method described above, and the repeated parts will not be elaborated.

[0085] The embodiments in this specification are all described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. For example, the device embodiment, the equipment embodiment, and the computer-readable storage medium embodiment are all similar to the method embodiment, so the description is relatively simple. Please refer to the corresponding part of the method embodiment for the relevant content in the device embodiment, the equipment embodiment, and the computer-readable storage medium embodiment.

[0086] The specific embodiments of this specification are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the specific order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0087] In the 1930s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements to method flows). However, with the development of technology, many method flow improvements today can be regarded as direct improvements to hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement to a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is an integrated circuit whose logic function is determined by the user programming the device. Designers can program themselves to "integrate" a digital system onto a single PLD, without having to ask a chip manufacturer to design and fabricate a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation also has to be written in a specific programming language, which is called a hardware description language (HDL), and there is not just one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones currently are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be aware that by simply making a little logical programming of the method flow using the above-mentioned several hardware description languages and programming it into the integrated circuit, it is easy to obtain the hardware circuit that implements the logical method flow.

[0088] The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program code (such as software or firmware) executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of the controller include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program code, it is entirely possible to logically program the method steps to enable the controller to be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. to achieve the same function. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be regarded as the structures within the hardware component. Or even, the devices for implementing various functions can be regarded as either software modules for implementing the method or structures within the hardware component.

[0089] The systems, devices, modules, or units illustrated in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.

[0090] For the convenience of description, when describing the above devices, they are described separately as various units according to their functions. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0091] Those skilled in the art should understand that one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.

[0092] This specification is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the specification. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable test processing device to generate a machine, such that the instructions executed by the processor of the computer or other programmable test processing device produce a means for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 one or more of the blocks for implementing the specified functions.

[0093] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable test processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction means that implements the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 one or more of the blocks for implementing the specified functions.

[0094] These computer program instructions can also be loaded onto a computer or other programmable test processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 one or more of the blocks for implementing the specified functions.

[0095] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and a memory.

[0096] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of computer-readable media.

[0097] A computer-readable medium includes both permanent and non-permanent, removable and non-removable media and can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information accessible by a computing device. As defined herein, a computer-readable medium does not include transitory computer-readable media such as modulated data signals and carrier waves.

[0098] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of features includes not only those features but also other features not expressly listed, or features inherent to such process, method, article or apparatus. Without further limitation, the features defined by the statement "comprising an..." do not exclude the presence of additional identical features in the process, method, article or apparatus comprising said feature.

[0099] One or more embodiments of this specification can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification can also be practiced in a distributed computing environment where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0100] Each embodiment in this specification is described in a progressive manner, and the same or similar parts among the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments.

[0101] The above are only examples of this document and are not intended to limit this document. For those skilled in the art, various changes and modifications can be made to this document. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document shall be included within the scope of the claims of this document.

Claims

1. A routing processing method, applied to a detection module, the method comprising: Obtain authentication processing parameters for resource services to call various third-party authentication channels for authentication processing; If the authentication processing parameters of any third-party authentication channel trigger the routing switching condition, the routing index is calculated based on the authentication processing parameters of any third-party authentication channel to obtain the routing index; The routing intervals of the third-party authentication channels are switched according to the routing indicators to obtain the switching routing intervals of the third-party authentication channels; the switching routing intervals are used to perform routing processing of the authentication requests of the resource services through the routing module.

2. According to the routing processing method of claim 1, the routing module performs the routing processing in the following manner: Allocating the authentication request to the third-party authentication channel corresponding to the switching routing interval that matches the routing parameters; in, The routing parameters are obtained by performing parameter calculation based on the random number generated for the authentication request and the routing cumulative value.

3. According to the routing processing method of claim 2, the request allocation of the authentication request to the third-party authentication channel corresponding to the switching routing interval matching the routing parameters comprises: Matching the routing parameters with the switching routing intervals of the third-party authentication channels to obtain the switching routing intervals that match the routing parameters; The third-party authentication channel corresponding to the matched switching routing interval is called to process the authentication request.

4. The routing processing method according to claim 2, wherein the parameter calculation based on the random number generated for the authentication request and the routing cumulative value comprises: Generate the random number for the authentication request of the resource service, and update the routing accumulation value based on the random number; The routing parameter is calculated according to the routing cumulative value and the random number to obtain the routing parameter.

5. The routing processing method according to claim 4, wherein the step of calculating the routing parameters according to the routing cumulative value and the random number to obtain the routing parameters comprises: Calculate candidate route parameters according to the route cumulative value and the random number; If the candidate routing parameter is less than or equal to the routing threshold, the candidate routing parameter is used as the routing parameter; if the candidate routing parameter is greater than the routing threshold, the candidate routing parameter is modulo processed based on the routing threshold to obtain the routing parameter.

6. According to the routing processing method of claim 1, the switching routing intervals of each third-party authentication channel have corresponding routing priorities; The size of the switching routing interval is positively correlated with the routing priority; the switching routing interval is calculated based on the routing ratio and routing threshold corresponding to the routing priority.

7. According to the routing processing method of claim 1, the routing intervals of the third-party authentication channels are switched according to the routing indicators to obtain the switching routing intervals of the third-party authentication channels, comprising: Sort the third-party authentication channels according to the routing indicators to obtain the routing priorities of the third-party authentication channels; The routing interval of each third-party authentication channel is switched to the switching routing interval corresponding to the routing priority.

8. The routing processing method according to claim 1, wherein the routing index calculation is performed based on the authentication processing parameters of any third-party authentication channel to obtain the routing index, comprising: Update authentication parameter data based on authentication processing parameters of any third-party authentication channel; Calculate the routing indicator according to the authentication processing parameters of each third-party authentication channel in the authentication parameter data and the corresponding parameter weights; The parameter weight is determined based on a threshold of the duration of authentication processing performed by the resource service.

9. The routing processing method according to claim 8, wherein the step of calculating the routing indicator according to the authentication processing parameters of each third-party authentication channel in the authentication parameter data and the corresponding parameter weights comprises: According to the standardization method corresponding to the parameter attributes of the authentication processing parameters of each third-party authentication channel in the authentication parameter data, the authentication processing parameters of each third-party authentication channel are standardized to obtain standard processing parameters; Calculating the routing metric based on the standard processing parameters and corresponding parameter weights; The parameter attributes include positive parameter attributes and negative parameter attributes.

10. The routing processing method according to claim 1, wherein the authentication processing parameters of any third-party authentication channel include authentication response parameters and / or authentication channel parameters; in, The authentication response parameters include authentication response duration and / or authentication response success rate.

11. The routing processing method according to claim 10, wherein the authentication channel parameter comprises at least one of the following: The service provider of the resource service calls any third-party authentication channel to pay the payment fee for calling any third-party authentication channel, the authentication credibility of any third-party authentication channel for authentication processing, and the manual switching parameters of the service provider for manual switching of any third-party authentication channel during the route switching process.

12. According to the routing processing method of claim 10, the routing switching condition includes that the difference between the authentication response parameter and the historical authentication response parameter is greater than a difference threshold, or that the authentication channel parameter is obtained by changing the parameter based on the change instruction of the historical authentication channel parameter of any third-party authentication channel.

13. The routing processing method according to claim 1, wherein the detection module and the routing module are deployed on the server of the resource service; in, The authentication request of the resource service is generated after detecting a service activation instruction submitted by a user to the resource service or an application task generated by the resource service for a user to apply for resources from a resource institution.

14. A routing processing device, running in a detection module, comprising: A parameter acquisition module is configured to obtain authentication processing parameters for resource services to call various third-party authentication channels for authentication processing; An indicator calculation module is configured to calculate a routing indicator based on the authentication processing parameters of any third-party authentication channel to obtain a routing indicator if the authentication processing parameters of any third-party authentication channel trigger a routing switching condition; The routing switching module is configured to perform routing switching on the routing intervals of the third-party authentication channels according to the routing indicators to obtain the switching routing intervals of the third-party authentication channels; the switching routing intervals are used to perform routing processing of the authentication requests of the resource services through the routing module.

15. A routing processing device, comprising: processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: Obtain authentication processing parameters for resource services to call various third-party authentication channels for authentication processing; If the authentication processing parameters of any third-party authentication channel trigger the routing switching condition, the routing index is calculated based on the authentication processing parameters of any third-party authentication channel to obtain the routing index; The routing intervals of the third-party authentication channels are switched according to the routing indicators to obtain the switching routing intervals of the third-party authentication channels; the switching routing intervals are used to perform routing processing of the authentication requests of the resource services through the routing module.

16. A computer-readable storage medium for storing computer-executable instructions, wherein the computer-executable instructions implement the steps of the method of claim 1 when executed.

Citation Information

Patent Citations

  • Aggregation payment system for self-adaptive channel decision

    CN112150154A

  • Channel route selection method, device and equipment and storage medium

    CN112651733A

  • Face verification method and device and terminal equipment

    CN116541313A

  • Service decision-making method and device, terminal equipment and storage medium

    CN116777599A

  • Blockchain-based trusted sharing method for protection of privacy-related government data

    WO2022121058A1