Gateway determination method, electronic device and computer program product

Through dynamic scoring and evaluation values, the call lines of voice call services are flexibly selected, which solves the problem of low voice call success rate in the prior art, and improves the gateway evaluation and dialing success rate.

CN119254892APending Publication Date: 2025-01-03MASHANG CONSUMER FINANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411306734.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In the prior art, the dialing success rate of voice calls is low due to the use of a fixed call line, resulting in the gateway determination method being inflexible.

Method used

By acquiring dynamic scores of multiple gateways, determining the evaluation value based on service information and scoring configuration information, the call line of voice calling service is flexibly selected.

Benefits of technology

It improves the evaluation flexibility and dialing success rate of the gateway. Through dynamic ratings and changes in evaluation values, the call lines are adjusted in a timely manner, which improves the success rate of voice calls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254892A_ABST
    Figure CN119254892A_ABST
Patent Text Reader

Abstract

The invention discloses a gateway determination method, electronic equipment and a computer program product, and belongs to the field of communication. The method comprises the steps that dynamic scores of a plurality of first gateways are acquired, the dynamic scores are determined based on service information and score configuration information of the first gateways, and the score configuration information comprises indication information used for indicating whether each information item in the service information participates in dynamic score calculation or not; determining an evaluation value of the first gateway based on the dynamic score of the first gateway; and determining a second gateway from the plurality of first gateways based on the evaluation value, the second gateway being used for determining a first call line of a voice call service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communications, and specifically relates to a gateway determination method, an electronic device, and a computer program product. Background Art

[0002] Voice calls are a form of communication that uses voice and transmission media. Currently, many important businesses of enterprises (for example, intelligent customer service) rely on voice call technology to complete. In the process of relying on voice call technology to complete enterprise business, the call line of the voice call is generally determined through the gateway first, and then the voice call is realized according to the determined call line.

[0003] In the process of implementing voice calls, the related art often uses a fixed assigned gateway, which results in a fixed call line determined by the gateway. This method of implementing voice calls using a fixed call line results in a low success rate of voice calls. Summary of the invention

[0004] Embodiments of the present application provide a gateway determination method, an electronic device, and a computer program product.

[0005] In a first aspect, an embodiment of the present application provides a gateway determination method, including: Acquire dynamic scores of a plurality of first gateways, where the dynamic scores are determined based on service information and score configuration information of the first gateways, where the score configuration information includes indication information for indicating whether each information item in the service information participates in dynamic score calculation; Determining an evaluation value of the first gateway based on the dynamic score of the first gateway; Based on the evaluation value, a second gateway is determined from the plurality of first gateways, where the second gateway is used to determine a first call line for a voice call service.

[0006] In a second aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0007] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the method described in the first aspect.

[0009] At least one of the above technical solutions provided in the embodiments of the present application can achieve the following technical effects: In an embodiment of the present application, the evaluation value of the first gateway is determined based on the dynamic score of the first gateway, and the dynamic score of the first gateway is determined based on the business information and the score configuration information of the first gateway, wherein the score configuration information includes indication information for indicating whether each information item in the business information participates in the dynamic score calculation. Since whether each information item participates in the dynamic score calculation is set by the score configuration information, the dynamic score of the first gateway changes dynamically with the change of the score configuration information, so that the evaluation value of the first gateway is dynamically determined according to the dynamic score, and then the second gateway can be flexibly determined from multiple first gateways based on the evaluation value, thereby improving the evaluation flexibility of the gateway and the flexibility of gateway determination. Since the call lines determined by different gateways may be different, the dialing success rate of voice calls realized according to different call lines may be different. By flexibly determining the gateway, the dialing success rate of voice calls can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0011] Figure 1 is a flow chart of a gateway determination method provided by an embodiment of the present application; Figure 2 A flowchart of another gateway determination method provided in an embodiment of the present application; Figure 3 is a flowchart of another gateway determination method provided by an embodiment of the present application; Figure 4 is a flowchart of another gateway determination method provided by an embodiment of the present application; Figure 5 is a schematic diagram of a gateway determination method provided in an embodiment of the present application; Figure 6 is a complete flow chart of a gateway determination method provided in an embodiment of the present application; Figure 7 is a structural block diagram of a gateway determination device provided in an embodiment of the present application; Figure 8 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0012] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0013] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0014] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0015] In view of the problem that the method of using fixed call lines to realize voice calls in the related art will lead to a low success rate of voice calls, an embodiment of the present application provides a gateway determination method. Specifically, the dynamic scores of multiple first gateways are obtained, and the dynamic scores are determined based on the service information and score configuration information of the first gateway, and the score configuration information includes indication information for indicating whether each information item in the service information participates in the dynamic score calculation; based on the dynamic score of the first gateway, the evaluation value of the first gateway is determined; based on the evaluation value, the second gateway is determined from the multiple first gateways, and the second gateway is used to determine the first call line of the voice call service. In the above-mentioned gateway determination method, the dynamic score is dynamically determined according to the change of the score configuration information, and further the evaluation value of the first gateway is dynamically determined according to the dynamic score, which can improve the flexibility of the evaluation of the first gateway. Since the call lines determined by different gateways may be different, the success rate of voice calls realized according to different call lines may be different. By flexibly determining the gateway, the success rate of voice calls can be improved.

[0016] In the process of determining the evaluation value of the first gateway, the weight of the first gateway may be determined first, and the evaluation value of the first gateway may be determined based on the weight of the first gateway and the dynamic score of the first gateway. For example, the product of the weight of the first gateway and the dynamic score of the first gateway may be determined as the evaluation value of the first gateway. In this way, in the process of determining the evaluation value of the first gateway, not only the dynamic score of the first gateway but also the weight of the first gateway are considered, which can ensure that the evaluation value of the first gateway is more accurate.

[0017] In the process of determining the evaluation value of the first gateway in the embodiment of the present application, the category of the first gateway can also be determined first, and a designated gateway in the category is determined from the multiple first gateways, and the category dynamic score is determined based on the dynamic scores of each designated gateway in the category. Furthermore, the evaluation value of the first gateway can be determined based on the dynamic score of the first gateway, the weight of the first gateway, and the category dynamic score. In this way, the category dynamic score is introduced in the calculation of the evaluation value of the first gateway, so that the calculation dimension of the evaluation value is more diverse, and the effect of evaluating the first gateway is better.

[0018] In one embodiment of the present application, in the above process of determining the evaluation value of the first gateway, the designated gateway may be all first gateways in the category, and the evaluation value of the first gateway may include a first answering ratio when a voice call service is performed using a second call line, and the second call line is a call line determined by the first gateway.

[0019] In another embodiment of the present application, in the above process of determining the evaluation value of the first gateway, the designated gateway may be a gateway that supports a designated outbound call relationship, and the evaluation value of the first gateway may also include a second answering ratio when a call line is used to perform a voice call service, and the second call line is a call line determined by the first gateway.

[0020] The gateway determination method provided in the embodiment of the present application can be applied to a call center. The call center is an interactive voice response system that can be used to handle various call services. The agent can perform related call services to serve customers through the call center. The agent can be a service personnel who can manually handle call services, such as a telephone operator or a customer service specialist, etc. The agent can also be a device that automatically handles call services, such as a device that uses artificial intelligence to replace service personnel to handle the service.

[0021] The gateway determination method provided in the embodiment of the present application can be executed by a target device, wherein the target device can be one electronic device or multiple electronic devices. That is to say, the gateway determination method provided in the embodiment of the present application can be executed by one electronic device, wherein the electronic device can be a terminal device such as a desktop computer, a laptop computer, a mobile phone, a tablet, etc., or a server, such as an independent physical server, a server cluster composed of multiple servers, and a cloud server capable of cloud computing. In the case where the gateway determination method provided in the embodiment of the present application is executed by multiple electronic devices, these multiple electronic devices can form a service cluster, which cooperate with each other to complete each step.

[0022] The gateway determination method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0023] See also Figure 1 , Figure 1 A flow chart of a gateway determination method provided in an embodiment of the present application. Figure 1 As shown, the method comprises the following steps: Step 110: obtaining dynamic scores of multiple first gateways, where the dynamic scores are determined based on the service information and score configuration information of the first gateways, where the score configuration information includes indication information for indicating whether each information item in the service information participates in dynamic score calculation; In an embodiment of the present application, the dynamic score of the first gateway is used to evaluate the service information of the first gateway, and the dynamic score of the first gateway can change dynamically according to the change of the score configuration information. The service information of the first gateway can be the historical service information of the first gateway, that is, the service information of the time node before the current time point. The service information of the first gateway is used to indicate the service status of the voice call service performed using the call line determined by the first gateway, and the service information may include at least one information item, such as at least one of the information items such as the dialing service complaint rate, the average answering time, the outbound call ringing rate, the outbound call answering rate and the ringing answering rate. Among them, the ringing answering rate is obtained based on the first value and the second value, the outbound call answering rate is obtained based on the first value and the third value, and the outbound call ringing rate is obtained based on the second value and the third value. The first value is used to indicate the total number of answers to the voice call service performed using the second call line in a unit time period, the second value is used to indicate the total number of connections to the voice call service performed using the second call line in a unit time period, and the third value is used to indicate the total number of dialing times to perform the voice call service using the second call line in a unit time period; the second call line is the call line determined by the first gateway.

[0024] In an embodiment of the present application, before determining the dynamic score of the first gateway, the scoring configuration information may be obtained first. The scoring configuration information may be manually set, or a scoring configuration information table may be obtained from a database and then the scoring configuration information may be obtained from the scoring configuration information table. The scoring configuration information may be used to evaluate the dynamic scores of all gateways. The scoring configuration information table is configured with information items, reference values, indication information, and description information, as shown in the following table.

[0025]

[0026] Table 1 Scoring configuration information table In the embodiment of the present application, as shown in Table 1 above, the information items involved in the dynamic score calculation can be determined through the service information and the indication information, and then the dynamic score of the first gateway can be determined through the information items involved in the dynamic score calculation.

[0027] For example, referring to Table 1 above, the indication information indicates that the ringing answer rate, outbound call answer rate and outbound call ringing rate of the first gateway all participate in the calculation of the dynamic score, and then the dynamic score of the first gateway can be determined by the ringing answer rate, outbound call answer rate and outbound call ringing rate of the first gateway. Specifically, the sum of the ringing answer rate of the first gateway, the outbound call answer rate of the first gateway and the outbound call ringing rate of the first gateway can be directly determined as the dynamic score of the first gateway. Alternatively, the ringing answer rate of the first gateway, the outbound call answer rate of the first gateway and the outbound call ringing rate of the first gateway can be processed first, and then the dynamic score of the first gateway can be determined by the processed results. With respect to the business information of multiple first gateways, the dynamic scores of multiple first gateways can be determined.

[0028] In one embodiment of the present application, the number of the first gateways is M, the number of the dynamic scores is M, the number of the evaluation values ​​is M, the M target gateways correspond one-to-one to the M dynamic scores, and the M dynamic scores correspond one-to-one to the M target evaluation values; M is a positive integer greater than 1; the dynamic score of the i-th first gateway among the M first gateways is obtained based on the business information and the scoring configuration information of the i-th first gateway; i is a positive integer less than or equal to M; the i-th evaluation value among the M evaluation values ​​is determined based on the dynamic score of the i-th first gateway. Specifically, for each of the M first gateways, based on the business information and the scoring configuration information of the first gateway, the dynamic score of the first gateway is determined, including: based on the scoring configuration information, determining a target information item from the business information of the first gateway, the target information item being an information item involved in the dynamic score calculation; determining a target score for the target information item; and determining the dynamic score of the first gateway based on the target score of the target information item.

[0029] In the embodiment of the present application, referring to Table 1, at least one target information item that participates in the dynamic score calculation can be determined from the service information of the first gateway. For example, the service information of the first gateway includes the outbound call ringing rate and the outbound call answering rate, and combined with the outbound call ringing rate and the outbound call answering rate indicated in Table 1 to participate in the allocation, it can be determined that the target information items are 2 items, namely the outbound call ringing rate and the outbound call answering rate. After determining the target information item, the target score of the target information item can be further obtained. The target score of the target information item can be directly obtained from the database, or the target score of the target information item can be further calculated through the service data of the first gateway.

[0030] In the embodiment of the present application, after obtaining the target scores of the target information items, the sum of the target scores of the target information items of the first gateway can be determined as the dynamic score of the first gateway. In this way, a method for determining the dynamic score of the first gateway by the target scores of the target information items is provided, and by obtaining the target scores of the target information items, the dynamic score of the first gateway can be determined more objectively.

[0031] A method for calculating a target score of a target information item by using the service data of a first gateway will be described in detail below.

[0032] Exemplarily, in one embodiment of the present application, the scoring configuration information also includes the benchmark values ​​of each information item in the business information. The determining the target score of the target information item includes: when the target information item is the first information item, determining a first ratio of a first value to a second value; determining the target score of the target information item based on the benchmark value of the target information item and the first ratio; when the target information item is the second information item, determining a second ratio of the first value to a third value; determining the target score of the target information item based on the benchmark value of the target information item and the second ratio; when the target information item is the third information item, determining a third ratio of the second value to the third value; determining the target score of the target information item based on the benchmark value of the target information item and the third ratio.

[0033] Among them, the first information item may be a ringing answer rate, the second information item may be an outbound call answer rate, and the third information item may be an outbound call ringing rate. The first value is used to indicate the total number of answers to voice call services performed using the second call line within a unit time period, the second value is used to indicate the total number of connections to voice call services performed using the second call line within a unit time period, and the third value is used to indicate the total number of dialing to voice call services performed using the second call line within a unit time period; the second call line is a call line determined by the first gateway.

[0034] In the embodiment of the present application, firstly, since the first value, the second value and the third value of the first gateway can be obtained together, they are described together here. By obtaining the gateway name of the first gateway, if there is a need to query the dialing data of the call lines determined by multiple first gateways, the gateway name list can be determined first, such as [gateway A, gateway B, ...]. The dialing data information table within the unit time period is queried in the database through the gateway name list. The unit time period can be a time period of 1 hour or 3 hours, etc. The unit time period can be set manually, as shown in the following table:

[0035] Table 2 Dialing data information table In an embodiment of the present application, after obtaining the gateway dialing data of the first gateway, the gateway dialing data can be encapsulated and stored for subsequent calculation and use. Specifically, it can be encapsulated into a map structure of gateway name-dial data, the key of the Map structure is the gateway name, and the value is the dialing data. At the same time, it can be encapsulated into a map structure of gateway name combined with hierarchical identifier-dial data, the key of the Map structure is the gateway name + hierarchical identifier, and the value is the dialing data. It should be noted that the dialing data is encapsulated into these two Map structures here, considering that the dialing data queried by the gateway name in actual situations is inconsistent with the dialing data queried by the gateway name combined with the hierarchical identifier, and at the same time, there is a situation where the hierarchical identifier of the first gateway is empty. Therefore, when the gateway dialing data in the Map of gateway name-dial data and the Map of gateway name combined with hierarchical identifier-dial data are used later, it can be determined whether the hierarchical identifier of the first gateway is empty. In the case where the hierarchical identifier of the first gateway is empty, the gateway name-dial data Map is queried through the gateway name of the first gateway to obtain the dialing data of the first gateway. When the hierarchical identifier of the first gateway is not empty, a map of gateway name combined with hierarchical identifier-dialing data is queried through the gateway name and hierarchical identifier of the first gateway to obtain the dialing data of the first gateway.

[0036] In an embodiment of the present application, after obtaining the service data of the first gateway, that is, the service data of the voice call service performed using the call line determined by the first gateway (such as the total number of answers, the total number of connections, and the total number of calls), the ratio of the target information item can be determined first. Referring to the instructions of the information in Table 1, when calculating the line score, the target score of the outbound call ringing rate cannot exceed the benchmark value corresponding to the outbound call ringing rate, the target score of the outbound call answering rate cannot exceed the benchmark value corresponding to the outbound call answering rate, and the target score of the ringing answering rate cannot exceed the benchmark value corresponding to the ringing answering rate. Therefore, after determining the ratio of the target information item (such as the first ratio, the second ratio, and the third ratio mentioned above), the smaller value of the ratio of the target information item and the benchmark value corresponding to the target information item can be determined as the target score of the target information item.

[0037] Specifically, when the target information item is the ring answer rate, in combination with the above description, the quotient of the total number of answers and the total number of connections can be determined as a first ratio, and the smaller value of the first ratio and the reference value of the ring answer rate is determined as the target score of the ring answer rate. At the same time, when the total number of answers or the total number of connections is 0, the first ratio of the ring answer rate can be determined as a fixed value, such as 0.05.

[0038] When the target information item is the outbound call answer rate, the quotient of the total number of answers and the total number of calls may be determined as a second ratio, and the smaller value of the second ratio and the reference value of the outbound call answer rate may be determined as the target score of the outbound call answer rate. Meanwhile, when the total number of calls or the total number of answers is 0, the second ratio of the outbound call answer rate may be determined as a fixed value (e.g., 0.02).

[0039] In the case where the target information item is the outbound call ringing rate, the quotient of the total number of connected calls and the total number of dialed calls may be determined as a third ratio, and the smaller value of the third ratio and the reference value of the outbound call ringing rate may be determined as the target score of the outbound call ringing rate. Meanwhile, in the case where the total number of connected calls and the total number of dialed calls are 0, the third ratio of the outbound call ringing rate may be determined as a fixed value (e.g., 0.4).

[0040] In the embodiment of the present application, the target score of the target information item can be calculated by the following formula: ; ; .

[0041] Taking the call data corresponding to gateway A in Table 2 as an example, it can be calculated that the target score of gateway A's ringing answer rate is min{15 / 80, 0.2}=0.1875, the target score of gateway A's outbound call answer rate is min{15 / 100, 0.2}=0.15, and the target score of gateway A's outbound call ringing rate is min{80 / 100, 0.8}=0.8.

[0042] In the embodiment of the present application, the target score of the target information item can be determined based on the ratio of the target information item and the reference value corresponding to the target information item. That is, in the process of determining the target score of the target information item, not only the call-related ratio corresponding to the target information item is considered, but also the reference value of the target information item is considered. In this way, the calculation of the target score of the target information item can be adjusted by adjusting the scoring configuration information, so that the calculation of the target score of the target information item is more flexible.

[0043] In one embodiment of the present application, after the target score is obtained, the target score can be further converted. Taking the target score of the ringing answering rate as an example, if the full score is 100 points, the target scores of the ringing answering rates of M first gateways can be determined first, and the highest target score can be further determined from the M target scores. Then, the target score of the ringing answering rate of the i-th first gateway can be converted by the following formula:

[0044] Among them, X i is the target score of the ringing answer rate of the ith gateway, Y i In addition, the processing of the target score of the outbound call answering rate and the target score of the outbound call ringing rate is similar to the processing of the target score of the ringing answering rate, and can refer to the above method, which will not be repeated here.

[0045] Step 120: Determine an evaluation value of the first gateway based on the dynamic score of the first gateway; In an embodiment of the present application, the evaluation value is used to evaluate the voice service situation when the call line determined by the first gateway is applied. After obtaining the dynamic score of the first gateway, the dynamic score of the first gateway can be directly determined as the evaluation value of the first gateway. For example, if the dynamic score of the first gateway is determined to be 30, the evaluation value of the first gateway can be determined to be 30.

[0046] In the embodiment of the present application, if the number of the first gateways is M, the number of the dynamic scores is M, and the number of the evaluation values ​​is M, the M first gateways correspond one-to-one to the M dynamic scores, and the M dynamic scores correspond one-to-one to the M evaluation values; M is a positive integer greater than 1; the i-th evaluation value among the M evaluation values ​​is determined based on the dynamic score of the i-th first gateway, and i is a positive integer less than or equal to M. In this way, by calculating the M evaluation values ​​corresponding to the M first gateways, the second gateway can be determined from the M first gateways, and the second gateway is used to determine the first call line of the voice call service.

[0047] In one embodiment of the present application, in the process of determining the evaluation value of the first gateway based on the dynamic score of the first gateway, the following method may also be adopted: determining the weight of the first gateway, and determining the evaluation value of the first gateway based on the dynamic score of the first gateway and the weight of the first gateway.

[0048] In an embodiment of the present application, the weight of the first gateway can be used to indicate the line service quality when the call line determined by the first gateway is used for voice call services. Specifically, for the i-th first gateway among the M first gateways, if the call line determined by the i-th first gateway is of relatively high quality, then the line answering quality of the voice call service using the call line determined by the first gateway is relatively high, that is, the weight of the first gateway is correspondingly high. It should be noted that there is no restriction on the method for obtaining the weights of the M first gateways, and the weight of the first gateway can be directly obtained from a database or other means, or the weight of the first gateway can be further determined by comprehensively scoring the first gateway.

[0049] For the i-th first gateway among the M first gateways, after determining the dynamic score of the i-th first gateway and the weight of the i-th first gateway, when the weight of the i-th first gateway is greater than a threshold, the dynamic score of the i-th first gateway may be determined as the evaluation value of the i-th first gateway. Alternatively, the evaluation value of the i-th first gateway may be determined in the following manner.

[0050] Exemplarily, in one embodiment of the present application, determining the evaluation value of the i-th first gateway based on the dynamic score of the i-th first gateway and the weight of the i-th first gateway includes: determining the product of the dynamic score of the i-th first gateway and the weight of the i-th first gateway; and determining the product as the evaluation value of the i-th first gateway. For example, if the dynamic score of gateway A is 100 and the weight of gateway A is 0.3, the evaluation value of gateway A can be determined to be 30.

[0051] In the embodiment of the present application, a weight is introduced in the calculation of the evaluation value of the first gateway, so that the evaluation value of the first gateway is determined based on data of different dimensions, making the evaluation value more objective and credible.

[0052] In one embodiment of the present application, the M first gateways may be first gateways in the same group. Specifically, in the embodiment of the present application, the first gateways may be grouped first, and the M first gateways are the first gateways in the same group in the grouping result. For the M first gateways in the same group, the M evaluation values ​​corresponding to the M first gateways are determined. The grouping of the target gateways may be determined based on the gateway attributes of each gateway, and the gateway attributes may include information such as the gateway type, that is, the target gateways may be grouped according to the gateway type. In this way, the M first gateways in the same group may be evaluated, and the flexible determination of the gateway evaluation value based on the grouping dimension may be achieved.

[0053] Step 130: Based on the evaluation value, determine a second gateway from the multiple first gateways, where the second gateway is used to determine a first call line for the voice call service.

[0054] In an embodiment of the present application, after determining the evaluation values ​​of multiple first gateways, a second gateway can be further determined from the multiple first gateways based on the evaluation values, the second gateway is used to determine the first call line of the voice call service, and the voice call service can be performed based on the first call line. The voice call service can be a service of making a voice call to a user number. Among them, the evaluation value may include a first answering ratio when the voice call service is performed using the second call line, and the second call line is a call line determined by the first gateway. The first answering ratio may include, in the process of performing the service of making a voice call to the user number, the connection rate of the owner of the user number. After obtaining the evaluation values ​​of each of the multiple first gateways, the first gateway with the highest evaluation value can be determined as the second gateway. In this way, since the evaluation value of the second gateway is high, the answering rate of performing the voice call service using the first call line determined by the second gateway is high, and the voice call service can be carried out more efficiently.

[0055] In an embodiment of the present application, the evaluation value may include a complaint rate when a voice call service is performed using the second call line. In this case, after obtaining the evaluation values ​​of each of the multiple first gateways, the first gateway with the lowest evaluation value may be determined as the second gateway. After the second gateway is determined, the first call line determined by the second gateway may be used to perform a service of making a voice call to the user number.

[0056] In an embodiment of the present application, the evaluation value of the first gateway is determined based on the dynamic score of the first gateway, and the dynamic score of the first gateway is determined based on the business information and the score configuration information of the first gateway, wherein the score configuration information includes indication information for indicating whether each information item in the business information participates in the dynamic score calculation. Since whether each information item participates in the dynamic score calculation is set by the score configuration information, the dynamic score of the first gateway changes dynamically with the change of the score configuration information, so that the evaluation value of the first gateway is dynamically determined according to the dynamic score, and then the second gateway can be flexibly determined from multiple first gateways based on the evaluation value, thereby improving the evaluation flexibility of the gateway and the flexibility of gateway determination. Since the call lines determined by different gateways may be different, the dialing success rate of voice calls realized according to different call lines may be different. By flexibly determining the gateway, the dialing success rate of voice calls can be improved.

[0057] See also Figure 2 , Figure 2 A flowchart of another gateway determination method provided in an embodiment of the present application. Figure 2 As shown, the method comprises the following steps: Step 210: obtaining dynamic scores of multiple first gateways, where the dynamic scores are determined based on the service information and score configuration information of the first gateways, where the score configuration information includes indication information for indicating whether each information item in the service information participates in dynamic score calculation; Step 220: Determine a comprehensive score of each of the plurality of first gateways; In an embodiment of the present application, the comprehensive score is used to evaluate the service quality of the first gateway, and the comprehensive score of the first gateway is related to the evaluation indicators of the first gateway, and the evaluation indicators include at least one of the outbound ringing rate, outbound answering rate, ringing answering rate, price index, cooperation index and comprehensiveness index. Among them, the price index is used to indicate the service price of the first gateway, the cooperation index is used to indicate the cooperation of the supplier of the outbound call line corresponding to the first gateway to solve the problem of the outbound call line, and the comprehensiveness index is used to indicate the comprehensiveness of the outbound call line corresponding to the first gateway. It should be noted that there is no restriction on the method of obtaining the comprehensive score, which can be directly obtained through a database or other means, or calculated through the relevant information of the evaluation indicators of the first gateway. The following provides a method for calculating the comprehensive score based on the relevant information of the evaluation indicators of the first gateway.

[0058] In one embodiment of the present application, for each of the first gateways, determining the comprehensive score of the first gateway includes: determining the evaluation index of the first gateway; determining the score of the evaluation index and the weight of the evaluation index; and determining the comprehensive score of the first gateway based on the score of the evaluation index and the weight of the evaluation index. In this way, in the process of determining the comprehensive score of the first gateway, by considering the evaluation index of the first gateway and the weight of the evaluation index, since the data of the evaluation index is objective, the weight can reflect the degree of influence of the evaluation index, and through these two, it can be ensured that the obtained comprehensive score takes into account both objectivity and accuracy.

[0059] In an embodiment of the present application, before determining the comprehensive score, the evaluation indicators of the M first gateways may be determined first. Specifically, the evaluation indicators of the first gateways may be obtained in the following manner: obtaining parameter configuration information applicable to the M first gateways; determining the indicators present in the parameter configuration information as the evaluation indicators of the M first gateways. Among them, a parameter configuration information table may be obtained from a database, and the parameter configuration information table records various parameter configuration information.

[0060] In the embodiment of the present application, M first gateways can be determined from the database by component coding, wherein one component coding can correspond to multiple first gateways. The parameter configuration information table of the first gateway of the M gateways can be queried from the database by component coding, and the specific parameter configuration information table is shown in the following table:

[0061] Table 3 Parameter configuration information table of the first gateway In the embodiment of the present application, it should be noted that there is no restriction on the method for obtaining the weight of the evaluation indicator, and the indicator weight of the evaluation indicator can be manually selected through historical experience. It is also possible to obtain the indicator weight of the evaluation indicator from the parameter configuration information applicable to the M first gateways after obtaining the parameter configuration information applicable to the M first gateways. Among them, the sum of the indicator weights of all evaluation indicators is equal to 1. In this way, the indicator weight of the evaluation indicator can be adjusted by adjusting the parameter configuration information, and the comprehensive score of the first gateway can be dynamically calculated.

[0062] Specifically, as shown in Table 3, the index weight of the outbound call answering rate is 0.7, the index weight of the price index is 0.2, the index weight of the cooperation index is 0.05, and the comprehensiveness index is 0.05. That is, there are four evaluation indicators, namely, the outbound call answering rate, the price index, the cooperation index, and the comprehensiveness index, and the sum of the index weights of the four evaluation indicators is 1. In this way, the parameter configuration information of the first gateway can be dynamically adjusted to dynamically determine the evaluation index of the first gateway, so that the calculation of the comprehensive score of the first gateway is more flexible.

[0063] In an embodiment of the present application, the parameter configuration information in the parameter configuration information table can be adjusted in real time, and the indicators involved in the comprehensive score calculation can be determined by querying the parameter configuration information table. After obtaining the parameter configuration information of the first gateway, the parameter configuration information of the first gateway can be encapsulated and stored. Specifically, the data in Table 3 can be encapsulated into a component parameter Map structure, the key of the Map structure is the component code, and the value is the parameter configuration list. Among them, the parameter configuration list can be encapsulated into a parameter type and weight Map structure, the key of the Map structure is the outbound call answering rate, price index, cooperation index and comprehensiveness index, and the value is 70%, 20%, 5% and 5%. Taking the parameter configuration information in Table 3 as an example, the evaluation indicators can be determined to be the outbound call answering rate, price index, cooperation index and comprehensiveness index.

[0064] In an embodiment of the present application, the evaluation index and the index weight of the evaluation index can be obtained through the parameter configuration information of the first gateway. In order to calculate the comprehensive score of the first gateway, the index score of the evaluation index can be obtained first. It should be noted that there is no restriction on the method of obtaining the index score of the evaluation index, which can be directly obtained through a database or other methods, or can be obtained by further calculation through the gateway information of the first gateway. The following provides a method for obtaining the index score of the first gateway based on the gateway information of the first gateway.

[0065] In one embodiment of the present application, the number of first gateways is M, the number of evaluation indicators is K, and K is a positive integer; obtaining the indicator score of the evaluation indicator includes: when the jth evaluation indicator among the K evaluation indicators is the ringing answer rate, determining the quotient of the ringing answer rate of the ith first gateway and the maximum ringing answer rate among the M first gateways as the indicator score of the jth evaluation indicator of the ith first gateway; wherein j is a positive integer less than or equal to K; when the jth evaluation indicator among the K evaluation indicators is the outbound call answer rate, determining the quotient of the outbound call answer rate of the ith first gateway and the maximum outbound call answer rate among the M first gateways as the indicator score of the jth evaluation indicator of the ith first gateway; when the jth evaluation indicator among the K evaluation indicators is the outbound call ringing rate, determining the quotient of the outbound call answer rate of the ith first gateway and the maximum outbound call answer rate among the M first gateways as the indicator score of the jth evaluation indicator of the ith first gateway. The quotient of the outbound call ringing rate and the maximum outbound call ringing rate among the M first gateways is determined as the indicator score of the jth evaluation indicator of the ith first gateway; when the jth evaluation indicator among the K evaluation indicators is a price indicator, the quotient of the lowest price among the M first gateways and the price of the ith first gateway is determined as the indicator score of the jth evaluation indicator of the ith first gateway; when the jth evaluation indicator among the K evaluation indicators is a coordination index, the product of a preset first indicator coefficient and the coordination of the ith first gateway is determined as the indicator score of the jth evaluation indicator of the ith first gateway; when the jth evaluation indicator among the K evaluation indicators is a comprehensiveness index, the product of a preset second indicator coefficient and the comprehensiveness of the ith first gateway is determined as the indicator score of the jth evaluation indicator of the ith first gateway.

[0066] In the embodiment of the present application, a maximum and minimum value MaxMinBo object may be constructed for the M first gateways, and the MaxMinBo object may include 4 fields, namely, the maximum value of the ringing answer rate, the maximum value of the outbound call answer rate, the maximum value of the outbound call ringing rate, and the minimum price. After determining the maximum value of the ringing answer rate, the maximum value of the outbound call answer rate, the maximum value of the outbound call ringing rate, and the minimum price of the M first gateways, the data may be stored in the MaxMinBo object for subsequent calculation.

[0067] In the embodiment of the present application, the evaluation index is taken as an example of the ringing answer rate. The M first gateways include gateway 1, gateway 2 and gateway 3. The ringing answer rate of gateway 1 is 0.1, the ringing answer rate of gateway 2 is 0.15, and the ringing answer rate of gateway 2 is 0.2. Then, the index score of the ringing answer rate of gateway 1 can be determined to be 0.5. The calculation of the index score of the outbound call answer rate and the outbound call ringing rate can refer to the ringing answer rate, which will not be repeated here.

[0068] The following provides the calculation method for the index scores of the price index, the matching index and the comprehensiveness index.

[0069] In the embodiment of the present application, the gateway information of the i-th first gateway can be obtained, and the gateway information includes the price index, the cooperation index and the comprehensive index of the first gateway. The gateway information of the first gateway can be queried in the database through the gateway name of the first gateway to obtain the gateway information table of M first gateways, which can be seen in the following table:

[0070] Table 4 Gateway information table of the first gateway In the embodiment of the present application, the price index, the cooperation index and the comprehensive index of each first gateway can be obtained through the gateway information of the first gateway, and the score of the evaluation index of the i-th first gateway can be calculated by the following formula: ; ; ; In one embodiment of the present application, for the indicator scores of the ringing answer rate, outbound call answer rate, outbound call ringing rate, and price index, in order to make the indicator score of the evaluation index more in line with the format standard of the score (for example, the full score is 100), the calculated result can be multiplied by 100 to obtain the final indicator score of the evaluation index. For example, the outbound call answer rate of the i-th first gateway can be calculated to be 0.1, and the maximum outbound call answer rate among the M first gateways is 0.2. The gateway's outbound call answer rate is scored out of 50 points.

[0071] Taking the gateway information in Table 4 as an example, the M first gateways include gateway A and gateway B, and it can be determined that the lowest price of the M first gateways is the price 4 of gateway A. Therefore, it can be determined that the index score of the price index of gateway A is 100, the index score of the coordination index of gateway A is 60, and the index score of the comprehensive index is 60.

[0072] In the embodiment of the present application, after determining the indicator score of the evaluation indicator of the i-th first gateway and the indicator weight of the evaluation indicator, the comprehensive score of the i-th first gateway may be determined.

[0073] In one embodiment of the present application, for the i-th first gateway among the M first gateways, based on the score of the evaluation indicator of the i-th first gateway and the weight of the evaluation indicator, the comprehensive score of the i-th first gateway may be determined by the following formula:

[0074] Among them, S i is the comprehensive score of the i-th first gateway, K is the number of evaluation indicators, is the weight of the jth evaluation indicator, is the score of the jth evaluation indicator of the i-th first gateway.

[0075] Taking the data in Table 3 and Table 4 as an example, it can be determined that there are 4 evaluation indicators, namely, outbound call answering rate, price index, cooperation index and comprehensiveness index, and the score of gateway A's outbound call answering rate is determined to be 100, the score of gateway A's price index is 100, the score of gateway A's cooperation index is 60, and the score of gateway A's comprehensiveness index is 60. At the same time, the weight of the outbound call answering rate is 70%, the weight of the price index is 20%, the weight of the cooperation index is 5%, and the weight of the comprehensiveness index is 5%. In summary, it can be determined that the comprehensive score of gateway A is 96.

[0076] In an embodiment of the present application, a formula for calculating the comprehensive score of the first gateway is provided. After determining the evaluation index of the i-th first gateway and the weight of the evaluation index, the comprehensive score of the i-th first gateway can be determined by the above formula. In this way, the calculation of the comprehensive score can be dynamically adjusted based on the adjustment of the evaluation index, and the comprehensive score of the first gateway can be evaluated more objectively through a specific formula.

[0077] Step 230: sorting the plurality of first gateways based on the comprehensive scores of the first gateways to obtain a sorting result; In an embodiment of the present application, the comprehensive scores of the M first gateways may be sorted from high to low. For example, the M first gateways include gateway A, gateway B, and gateway C. The comprehensive score of gateway A is 96, the comprehensive score of gateway B is 87, and the comprehensive score of gateway C is 90. The sorting result is gateway C-gateway A-gateway B.

[0078] Step 240: for each of the first gateways, determine the weight of the first gateway based on the ranking position of the first gateway in the ranking result; In an embodiment of the present application, there may be multiple ways to determine the weight of the first gateway based on the ranking position of the first gateway in the ranking result. For example, a weight is pre-set for each ranking position, and after determining the ranking position of the first gateway in the ranking result, the weight corresponding to this ranking position can be determined. A weight may also be pre-set for each category of first gateways, and after determining the ranking position of the first gateway in the ranking result, the category corresponding to this ranking position can be determined, and then the weight is determined. In this case, specifically, determining the weight of the first gateway based on the ranking position of the first gateway in the ranking result in step 240 includes: determining the category of the first gateway based on the ranking position of the first gateway in the ranking result; determining the weight of the first gateway based on the category of the first gateway and the correspondence between the pre-set category and the weight.

[0079] In an embodiment of the present application, the relationship between the sorting position and the category can be preset, and for the i-th first gateway among the M first gateways, the category of the i-th first gateway is determined based on the sorting position of the i-th first gateway in the sorting result and the relationship between the sorting position and the category. For example, the same number of first gateways can be allocated in each category according to the number of categories and the number of first gateways. For example, there are three categories and 9 first gateways in total, and it can be determined that 3 gateways are allocated to each category. That is, according to the comprehensive gateway scores of the M first gateways from high to low, three first gateways are allocated to each category in order. In addition, different numbers of first gateways can also be allocated in each category. Specifically, the following method can be referred to.

[0080] In one embodiment of the present application, determining the category of the first gateway based on the ranking position of the first gateway in the ranking result includes: determining the number of first gateways in each category based on preset category information; the category information includes the percentage of the number of first gateways in each category to the total number of first gateways; and determining the category of the first gateway based on the number of first gateways in each category and the ranking position of the first gateway in the ranking result.

[0081] In the embodiment of the present application, the component codes corresponding to the M first gateways can be queried in the database to obtain the category information and the distribution ratio of the category. The category in the embodiment of the present application is, for example, a gear. The category information includes a category number (for example, a gear number) and a category ratio. The category ratio is the percentage of the number of first gateways in each category to the total number of first gateways (that is, the category ratio in the category information in the table below). The categories are, for example, gear 1, gear 2, and gear 3 in the table below. For details, please refer to the table below:

[0082] Table 5 Category information and weight information table of the first gateway In an embodiment of the present application, the total number of first gateways can be determined first, and then the number of first gateways in each category can be determined. Take the two first gateways in Table 2 as an example, and explain in combination with the information in Table 5. It can be determined that the number of first gateways allocated to tier 1 = 2×30% = 0.6≈1 (after rounding), and the number of first gateways allocated to tier 2 = 2×40% = 0.8≈1. At this time, tier 3 is the last category, and the remaining unallocated first gateways can be allocated to tier 3, and the number of first gateways in tier 3 can be determined to be 2-1-1=0.

[0083] In an embodiment of the present application, after determining the number of first gateways in each category, the number of first gateways in each category can be placed in a queue. If two first gateways have not been assigned categories, the following allocation process can be performed: first enter the 1st gear, determine that the number of first gateways in the 1st gear is 1, and then assign the first gateway with the highest comprehensive score to the 1st gear. At this time, the number of first gateways to be assigned in the 1st gear is 1-1=0, and there is one first gateway that has not been assigned categories. Since the number of first gateways to be assigned in the 1st gear is 0 at this time, the 2nd gear can be entered, and it can be determined that the number of first gateways in the 2nd gear is 1, and then the first gateway with the highest comprehensive score among the remaining first gateways is assigned to the 2nd gear. At this time, the number of first gateways to be assigned in the 2nd gear is 1-1=0, and the category allocation of the two first gateways is completed.

[0084] In the embodiment of the present application, after the categories of the M first gateways are determined, the category information corresponding to the first gateways may be packaged and stored for subsequent use.

[0085] In the embodiment of the present application, the M first gateways are assigned to categories (for example, divided into grades) by introducing the category proportions of the categories. The number of first gateways assigned to each category can be adjusted by adjusting the category proportions of the categories to adapt to different implementation scenarios, which has good flexibility.

[0086] After the M first gateways are assigned categories, the weights of the first gateways may be determined based on the categories of the first gateways and the pre-set correspondence between the categories and the weights. Specifically, referring to Table 5, the weight corresponding to level 1 (e.g., the category allocation ratio) is 60%, the weight corresponding to level 2 is 30%, and the weight corresponding to level 3 is 10%.

[0087] After the M first gateways are assigned to categories, for the i-th first gateway among the M first gateways, the weight of the category to which the i-th first gateway belongs (i.e., the category allocation ratio corresponding to the category) can be directly determined as the weight of the i-th first gateway. For example, if gateway A is assigned to level 1, and the weight of level 1 is 60%, then the weight of gateway A can be determined to be 60%. In this way, the weight of the first gateway is associated with the category allocation ratio of the category to which the first gateway belongs, and the weight of the first gateway can be adjusted by adjusting the category allocation ratio, so that the weight of the first gateway can be adjusted.

[0088] Step 250: Determine an evaluation value of the first gateway based on the dynamic score of the first gateway and the weight of the first gateway; Step 260: Based on the evaluation value, determine a second gateway from the multiple first gateways, where the second gateway is used to determine a first call line for the voice call service.

[0089] In an embodiment of the present application, the comprehensive scores of M first gateways are determined; based on the comprehensive scores of the M first gateways, the ranking results of the M first gateways are obtained; based on the ranking results of the M first gateways, the category of the i-th first gateway is determined; based on the category of the i-th first gateway, the weight of the i-th first gateway is determined. In this way, a method for determining the weight of the first gateway based on the comprehensive score of the first gateway is provided, so that the weight of the first gateway is more accurate.

[0090] See also Figure 3 , Figure 3 A flowchart of another gateway determination method provided in an embodiment of the present application. Figure 3 As shown, the method comprises the following steps: Step 310: obtaining dynamic scores of multiple first gateways, wherein the dynamic scores are determined based on the service information and score configuration information of the first gateways, wherein the score configuration information includes indication information for indicating whether each information item in the service information participates in dynamic score calculation; Step 320: Determine the weight of the first gateway; Step 330: Determine the category of the first gateway; In the embodiment of the present application, for the i-th first gateway among the M first gateways, the method for obtaining the weight and target category of the i-th first gateway can refer to the above Figure 2 The described method will not be described in detail here.

[0091] Step 340: Determine a designated gateway in the category from the plurality of first gateways; Step 350: Determine a category dynamic score based on the dynamic scores of each designated gateway in the category; In an embodiment of the present application, the category dynamic score is used to evaluate the voice service situation of a gateway category during the process of performing a voice call service. The category dynamic score can change dynamically according to the change of the dynamic score of the gateway in the category. After the M first gateways are assigned to categories, the number of first gateways in each category can be determined. Specifically, taking the example described in step 240 as an example, there is 1 first gateway in tier 1, 1 first gateway in tier 2, and no first gateway in tier 3. At this time, the dynamic score of the first gateway in tier 1 can be directly determined as the category dynamic score of tier 1, the dynamic score of the first gateway in tier 2 can be directly determined as the category dynamic score of tier 2, and the category dynamic score of tier 3 can be determined to be 0.

[0092] In addition, if there are multiple first gateways in the target category, the sum of the dynamic scores of the multiple first gateways is determined as the category dynamic score of the target category. At the same time, the category dynamic score of the target category can be encapsulated and stored. Specifically, it can be encapsulated into a category dynamic score Map structure, the key of the Map structure is the category number, and the value is the dynamic score of the category.

[0093] Step 360: Determine an evaluation value of the first gateway based on the dynamic score of the first gateway, the weight of the first gateway and the category dynamic score; In the embodiment of the present application, after obtaining the dynamic score of the ith first gateway, the weight of the ith first gateway, and the category dynamic score, a logical operation can be performed on the dynamic score of the ith first gateway, the weight of the ith first gateway, and the category dynamic score of the target category to determine the evaluation value of the ith first gateway. The following example is an example of a logical operation and is not used to limit the determination of the evaluation value.

[0094] Exemplarily, in one embodiment of the present application, for the i-th first gateway among the M first gateways, the evaluation value of the i-th first gateway includes: a first answering ratio when a voice call service is performed using a second call line, the second call line is a call line determined by the i-th first gateway, and the designated gateway is all first gateways in the category. Accordingly, determining the evaluation value of the i-th first gateway based on the dynamic score of the i-th first gateway, the weight of the i-th first gateway, and the category dynamic score includes: calculating the first answering ratio when a voice call service is performed using the second call line determined by the i-th first gateway by the following formula: ; Among them, B i is the first answering ratio when the second call line determined by the i-th first gateway is used to perform the voice call service, a iis the weight of the i-th first gateway, b i is the dynamic score of the ith first gateway, c i A category dynamic score is given to the category in which the i-th first gateway belongs.

[0095] In the embodiment of the present application, the first answering ratio may include, in the process of executing the service of making a voice call to the user number, the connection rate of the owner of the user number. That is, the answering ratio of the owner of the user number (hereinafter referred to as the answering ratio of the owner). Taking a specific example, M=1, there is only gateway A among the M first gateways, the dynamic score of gateway A is 100, the weight of gateway A is 10%, and the category dynamic score of gateway A is 100, then it can be determined that the answering ratio of gateway A is 0.1. If the designated gateways in the category to which gateway A belongs include gateway 1, gateway 2, and gateway 3, the weight of the category is 60%, the dynamic score of gateway 1 is 18, the dynamic score of gateway 2 is 14, and the dynamic score of gateway 3 is 12, then the dynamic score of the category can be determined to be 18+14+12=44, the proportion of calls answered by gateway 1 = 60%×18 / 44≈0.25, the proportion of calls answered by gateway 2 = 60%×14 / 44≈0.19, and the proportion of calls answered by gateway 3 = 60%×12 / 44≈0.16.

[0096] In the embodiment of the present application, the first answering ratio corresponding to the first gateway can be calculated by the above formula. If there is a first gateway in each category, the above formula can make the sum of the first answering ratios of the M gateways 1; if there is no first gateway in a certain category, the sum of the personal answering ratios of the M gateways is less than 1. Therefore, in actual operation, in order to ensure that the sum of the personal answering ratios of the M first gateways is 1, the last first gateway among the M first gateways can be netted. Specifically, the personal answering ratio of the last first gateway = 1-the sum of the personal answering ratios of all previous first gateways. For example, if there is only one first gateway, the personal answering ratio of the first gateway is 100%.

[0097] In the embodiment of the present application, a calculation formula for the first answering ratio of the first gateway is provided, and the above formula objectively evaluates the answering ratio of the first gateway. In practical applications, the second call line determined by the first gateway with a high first answering ratio can be selected to perform the voice call service. In this case, the voice call service is more likely to be connected by the owner of the user number.

[0098] In one embodiment of the present application, when the outbound call relationship supported by the i-th first gateway includes a designated outbound call relationship, the designated gateway is a gateway that supports the designated outbound call relationship, and the evaluation value of the i-th first gateway includes: a second answering ratio when a voice call service is performed using a second call line, and the second call line is a call line determined by the first gateway. The second answering ratio may include, in the process of performing a service of making a voice call to a user number, a ratio of the number of calls not answered by the owner of the user number (in short, the non-personal answering ratio). The designated outbound call relationship involves the number of calls not answered by the owner of the user number.

[0099] The determining the evaluation value of the i-th first gateway based on the dynamic score of the i-th first gateway, the weight of the i-th first gateway and the category dynamic score comprises: calculating the second answering ratio when the second call line determined by the i-th first gateway is used to perform the voice call service by the following formula: ; Among them, F i is the second answering ratio when the second call line determined by the i-th first gateway is used to perform the voice call service, a i is the weight of the i-th first gateway, b i is the dynamic score of the i-th first gateway, d i A category dynamic score is given to the category of the i-th first gateway.

[0100] In the embodiment of the present application, after the M first gateways are assigned categories, the category of the i-th first gateway can be obtained. At the same time, the gateway information table of the first gateway can be obtained, and Table 4 can be referred to. Based on the gateway information table, the supported outbound call relationship of the i-th first gateway can be obtained. Among them, SELF is used to indicate that the person answers the call, and SELF / TPC / RPC is used to indicate that the person does not answer the call. Specifically, TPC is used to indicate that a friend answers the call, and RPC is used to indicate that a relative (such as a parent or child) answers the call.

[0101] In the embodiment of the present application, the second answering ratio is the non-personal answering ratio when the second call line is used to perform a voice call service. When the outbound call support relationship of the ith first gateway includes personal answering, the personal answering ratio of the ith first gateway can be calculated in the above manner, and the non-personal answering ratio of the ith first gateway can be directly determined to be 0, without determining the non-personal answering ratio of the ith first gateway in the above manner. When the outbound call support relationship of the ith first gateway includes non-personal answering, the personal answering ratio and the non-personal answering ratio of the ith first gateway can be calculated in the above manner.

[0102] Specifically, after determining the target category of the i-th first gateway, determine the outbound call support relationship of the first gateway in the target category, determine the gateway in the target category whose outbound call support relationship includes non-personal answering as the designated gateway, and determine the sum of the dynamic scores of each designated gateway in the target category as the category dynamic score of the target category. In this process, the category dynamic score of the target category can be encapsulated to obtain the non-personal dynamic score Map of the target category, the key of the Map structure is the category number, and the value is the dynamic score of the category.

[0103] In the embodiment of the present application, after determining the dynamic score of the category of the target category, the proportion of non-personal answering of the i-th first gateway can be calculated in the above manner. Taking a specific example to illustrate, there are 3 first gateways (gateway 1, gateway 2 and gateway 3) in the target category, the category allocation ratio of the target category is 60%, the outbound call relationship supported by gateway 1 and gateway 2 is non-personal answering, the outbound call relationship supported by gateway 3 is personal answering, the dynamic score of gateway 1 is 18, the dynamic score of gateway 2 is 14, and the dynamic score of gateway 3 is 12, then it can be determined that the dynamic score of the non-personal category of the target category is 32. The proportion of non-personal answering of gateway 1 = 60% × 18 / 32 = 0.3375, the proportion of non-personal answering of gateway 2 = 60% × 14 / 32 = 0.2625, and the proportion of non-personal answering of gateway 3 is 0.

[0104] In the embodiment of the present application, after determining the proportion of personal answering and the proportion of non-personal answering of the first gateway, the proportion of personal answering and non-personal answering of the first gateway may be stored for subsequent application processes.

[0105] Step 370: Based on the evaluation value, determine a second gateway from the multiple first gateways, where the second gateway is used to determine a first call line for the voice call service.

[0106] In an embodiment of the present application, based on the M first answering ratios obtained by the M first gateways, the first gateway with the highest first answering ratio can be determined as the second gateway, that is, the first call line determined by the second gateway is used to perform the voice call service. Alternatively, the first gateway with the highest second answering ratio can be determined as the second gateway for the M second answering ratios of the M first gateways, that is, the first call line determined by the second gateway is used to perform the voice call service. Alternatively, the first answering ratio and the second answering ratio of the M first gateways can be combined to comprehensively determine the second gateway from the M first gateways, and the first call line determined by the second gateway is used to perform the voice call service.

[0107] In the embodiment of the present application, the category of the first gateway is determined; a designated gateway in the category is determined from the multiple first gateways; a category dynamic score is determined based on the dynamic scores of each designated gateway in the category; and an evaluation value of the first gateway is determined based on the dynamic score of the first gateway, the weight of the first gateway, and the category dynamic score. In this way, the category dynamic score is introduced into the calculation of the evaluation value of the first gateway, so that the calculation dimension of the evaluation value is more diverse, and the effect of evaluating the first gateway is better.

[0108] See also Figure 4 and Figure 5 , Figure 4 A flowchart of another gateway determination method provided in an embodiment of the present application, Figure 5 A schematic diagram of a gateway determination method provided in an embodiment of the present application. Figure 4 As shown, the method comprises the following steps: Step 410: grouping the target gateway based on the grouping code of the target gateway to obtain a first grouping result; the first grouping result includes L groups, where L is a positive integer; In the embodiment of the present application, the group code is used to group the target gateways, and one group code can correspond to multiple gateways. The target user can select the target gateways corresponding to several group codes, and further group the target gateways by group codes. Alternatively, the target user can select the target gateways corresponding to several component codes, one component code can correspond to one group code, and multiple component codes can correspond to the same group code. Specifically, the component information corresponding to the target gateway can be configured first, specifically, see the following table:

[0109] Table 6 Component information table of target gateway In an embodiment of the present application, the target user may select several component codes to evaluate the target gateways corresponding to the several component codes. For example, the target gateway corresponding to the component code XLFL_001 in Table 6 may be selected for evaluation. By querying Table 3 above through the component code XLFL_001, it can be determined that the group code of the target gateway is XLFZ_001, and the gateway corresponding to the group code XLFZ_001 is used as the first grouping result. Here, one component code is used as an example. In fact, multiple component codes can be selected to correspond to multiple group codes, and then a first grouping result including multiple groups can be obtained.

[0110] Step 420: Obtain P groups that meet the target condition from the L groups, where P is a positive integer less than or equal to L; In the embodiment of the present application, the target condition is that the secondary grouping identifier is a local line. After obtaining the first grouping result, the grouping information corresponding to the first grouping result can be obtained, and the grouping information includes the secondary grouping identifier. In the case where the secondary grouping identifier is a local line, the secondary grouping identifier is used to instruct the gateway corresponding to the grouping code to perform secondary grouping. The grouping information corresponding to the grouping code in the first grouping result can be queried, which can be specifically shown in the following table:

[0111] Table 7 Target gateway group information table As shown in Table 7 above, there is a group code (XLFZ_001) in the first grouping result, which corresponds to two gateways with gateway IDs GATE_WAY_A and GATE_WAY_B, and the secondary group identifier corresponding to the group code is the local line, that is, the group corresponding to the group code has a secondary group identifier. In this example, there is only one group code in the first grouping result. In fact, there can be multiple group codes in the first grouping result, and it can be determined whether the groups corresponding to the multiple group codes have secondary group identifiers.

[0112] Step 530: for the kth group among the P groups, based on the gateway location code of the kth group, the gateways in the kth group are grouped to obtain a second grouping result, where the second grouping result includes Q groups; wherein the multiple first gateways are gateways selected from one of the Q groups, and k is a positive integer less than or equal to P; In the embodiment of the present application, Q is a positive integer greater than or equal to L. Since there is a secondary grouping identifier for the group in the P groups, the groups in the P groups can be secondary graded by the gateway province code. Specifically, for the kth group in the P groups, the gateway corresponding to the kth group can be determined first, where the gateway ID corresponding to the group code can be determined by querying Table 7. Then the province code corresponding to the gateway ID is determined, where the province code corresponding to the gateway ID can be determined by querying Table 4. Then, based on the province code corresponding to the gateway, the gateways in the i-th group are grouped to obtain a second grouping result.

[0113] For example, take the group corresponding to the group code XLFZ_001 in Table 7 as an example. It can be determined that the group code corresponds to two gateways with gateway IDs GATE_WAY_A and GATE_WAY_B. Then, through the two gateway IDs GATE_WAY_A and GATE_WAY_B, Table 4 can be queried to determine that the province code of the gateway with gateway ID GATE_WAY_A is 10, and the province code of the gateway with gateway ID GATE_WAY_B is 23. Therefore, the gateways in the group code can be divided into two groups by province code, where the gateway with province code 10 (GATE_WAY_A) is one group, and the gateway with province code 23 (GATE_WAY_B) is one group.

[0114] It should be noted that the Q groups also include groups without secondary grouping identifiers. Since the L groups may include groups with secondary grouping identifiers, they may also include groups without grouping identifiers. Therefore, groups without grouping identifiers can be directly determined as the second grouping result, and groups with grouping identifiers can be determined as the second grouping result after secondary grouping through province identifiers.

[0115] Step 440: obtaining dynamic scores of multiple first gateways, wherein the dynamic scores are determined based on the service information and score configuration information of the first gateways, wherein the score configuration information includes indication information for indicating whether each information item in the service information participates in dynamic score calculation; Step 450: Determine an evaluation value of the first gateway based on the dynamic score of the first gateway; In the embodiment of the present application, after the Q groups are determined, each of the Q groups may be evaluated. Specifically, based on one of the Q groups, M first gateways corresponding to the group are determined, and then M dynamic scores corresponding to the M first gateways are determined, and based on the M dynamic scores corresponding to the M first gateways, M evaluation values ​​corresponding to the M first gateways are determined.

[0116] In one embodiment of the present application, a line component grouping Bo object may be constructed for the Q groups in the second grouping result, and each of the Q groups may correspond to a line component grouping Bo object. The process of constructing the line component grouping may include the process of grouping the gateways, and by constructing the line component grouping Bo object, the subsequent calculation of the evaluation value may be facilitated.

[0117] In the embodiment of the present application, in order to construct the line component group Bo object, it is necessary to pre-configure the information in the line component group Bo object. Specifically, Figure 5As shown, query the line component information list of the target gateway to obtain the line group code list and the line component code list. Then, query the group information using the group code in the line group code list, and encapsulate the group information to obtain a line group information Map with the group code as the key and the group information as the value; query the gateway information using the group code in the group code list, and encapsulate the gateway information to obtain a line gateway information Map with the group code as the key and the gateway information list as the value. Then, query the parameter configuration information using the component code in the line component code list, and encapsulate the parameter configuration information to obtain a parameter configuration information Map with the component code as the key and the parameter configuration information as the value; query the category allocation information using the component code in the line component code list, and encapsulate the category allocation information to obtain a category allocation information Map with the component code as the key and the category allocation information as the value.

[0118] Further, a line group component Bo object can be constructed. Specifically, the line component information list is looped to group the target gateway. Specifically, each component code in the line component information list is described. A single line group information is obtained from the line group information Map through the group code in the line component information list, a gateway information list is obtained from the line gateway information Map through the group code, and a component parameter and weight Map is obtained from the parameter configuration information Map through the component code in the line component information list. Determine whether there is a secondary grouping identifier (whether it is a local line) from the line group information. If there is a secondary grouping identifier, the gateways in the gateway information list are grouped according to the province code to determine the gateway information list Map corresponding to the province code. The key of the Map structure is the province code, and the value is the gateway information corresponding to the province code. Then loop the gateway information Map corresponding to the province code to construct the line group component Bo object. If there is no secondary grouping identifier, the gateways in the gateway information list are not grouped, and the line component group Bo object can be directly constructed.

[0119] In the embodiment of the present application, the field value of the line group component Bo object may include component code, group code, province code, hierarchical identifier, gateway list, parameter configuration information Map and category allocation information Map. It should be noted that when setting the field value of the line group component Bo object, the gateway list cannot be directly obtained from the gateway information list Map corresponding to the province code. A new gateway information list must be rebuilt, and then the gateway list in the gateway information list Map corresponding to the province code is copied and added to the new gateway information list for one object at a time.

[0120] In the embodiment of the present application, after obtaining a single line grouping component Bo object, the single line grouping component Bo object can be added to the line grouping component Bo object list, and the subsequent logical calculation of the evaluation value can be repeatedly looped through the Bo object list. The line grouping component Bo object list can refer to the following table:

[0121] Table 8 Line group component Bo object list Step 460: Based on the evaluation value, determine a second gateway from the multiple first gateways, where the second gateway is used to determine a first call line for the voice call service.

[0122] In an embodiment of the present application, the target gateway is grouped based on the grouping code of the target gateway to obtain a first grouping result; the first grouping result includes L groups, L is a positive integer; P groups that meet the target condition are obtained from the L groups, P is a positive integer less than or equal to L; for the kth group in the P groups, the gateways in the kth group are grouped based on the gateway location code of the kth group to obtain a second grouping result, and the second grouping result includes Q groups; wherein the multiple first gateways are gateways selected from one of the Q groups, and k is a positive integer less than or equal to P. In this way, the target gateways can be grouped according to the province code, so that the evaluation value of the target gateway can be calculated according to the region, which can improve the value of the evaluation value in practical applications.

[0123] See also Figure 6 , Figure 6 A complete flow chart of a gateway determination method provided in an embodiment of the present application. Figure 6 As shown, the method comprises the following steps: Step 610: obtaining dynamic scores of multiple first gateways, where the dynamic scores are determined based on the service information and score configuration information of the first gateways, where the score configuration information includes indication information for indicating whether each information item in the service information participates in dynamic score calculation; In an embodiment of the present application, before obtaining the dynamic scores of multiple first gateways, the method also includes: grouping the target gateways based on the grouping code of the target gateway to obtain a first grouping result; the first grouping result includes L groups, L is a positive integer; obtaining P groups that meet the target condition from the L groups, P is a positive integer less than or equal to L; for the kth group among the P groups, based on the gateway location code of the kth group, grouping the gateways in the kth group to obtain a second grouping result, the second grouping result includes Q groups; wherein the multiple first gateways are gateways selected from one of the Q groups, and k is a positive integer less than or equal to P.

[0124] In an embodiment of the present application, determining the dynamic score of the i-th first gateway based on the business information and the score configuration information of the i-th first gateway includes: for the i-th first gateway among the M first gateways, determining a target information item from the business information of the first gateway based on the score configuration information, where the target information item is an information item participating in dynamic score calculation; determining a target score for the target information item; and determining the dynamic score of the first gateway based on the target score of the target information item.

[0125] In an embodiment of the present application, the scoring configuration information also includes the benchmark values ​​of each information item in the business information. The determining the target score of the target information item includes: when the target information item is the first information item, determining a first ratio of a first value to a second value; determining the target score of the target information item based on the benchmark value of the target information item and the first ratio; when the target information item is the second information item, determining a second ratio of the first value to a third value; determining the target score of the target information item based on the benchmark value of the target information item and the second ratio; when the target information item is the third information item, determining a third ratio of the second value to the third value; determining the target score of the target information item based on the benchmark value of the target information item and the third ratio.

[0126] Among them, the first information item may be a ringing answer rate, the second information item may be an outbound call answer rate, and the third information item may be an outbound call ringing rate. The first value is used to indicate the total number of answers to voice call services performed using the second call line within a unit time period, the second value is used to indicate the total number of connections to voice call services performed using the second call line within a unit time period, and the third value is used to indicate the total number of dialing to voice call services performed using the second call line within a unit time period; the second call line is a call line determined by the first gateway.

[0127] Step 620: Determine a comprehensive score of each of the plurality of first gateways; In an embodiment of the present application, for each first gateway, determining a comprehensive score of the first gateway includes: determining an evaluation indicator of the first gateway; determining a score of the evaluation indicator and a weight of the evaluation indicator; and determining the comprehensive score of the first gateway based on the score of the evaluation indicator and the weight of the evaluation indicator.

[0128] In an embodiment of the present application, determining evaluation indicators of M first gateways includes: acquiring parameter configuration information applicable to the M first gateways; and determining indicators present in the parameter configuration information as evaluation indicators of the M first gateways.

[0129] In an embodiment of the present application, obtaining the indicator weight of the evaluation indicator includes: obtaining the indicator weight of the evaluation indicator from parameter configuration information applicable to the M first gateways; wherein the sum of the indicator weights of all evaluation indicators is equal to 1.

[0130] In the embodiment of the present application, the comprehensive score of the i-th first gateway can be calculated by the following formula: ; Among them, S i is the comprehensive score of the i-th first gateway, K is the number of evaluation indicators, is the indicator weight of the jth evaluation indicator, s jj Score the jth evaluation indicator of the i-th first gateway.

[0131] In an embodiment of the present application, the number of the evaluation indicators is K, where K is a positive integer; obtaining the indicator score of the evaluation indicator includes: when the jth evaluation indicator among the K evaluation indicators is a ringing answer rate, determining the quotient of the ringing answer rate of the ith first gateway and the maximum ringing answer rate among the M first gateways as the indicator score of the jth evaluation indicator of the ith first gateway; wherein j is a positive integer less than or equal to K; when the jth evaluation indicator among the K evaluation indicators is an outbound call answer rate, determining the quotient of the outbound call answer rate of the ith first gateway and the maximum outbound call answer rate among the M first gateways as the indicator score of the jth evaluation indicator of the ith first gateway; when the jth evaluation indicator among the K evaluation indicators is an outbound call ringing rate, determining the quotient of the outbound call ringing rate of the ith first gateway and the maximum outbound call answer rate among the M first gateways as the indicator score of the jth evaluation indicator of the ith first gateway. The quotient of the maximum outbound call ringing rates among the first gateways is determined as the indicator score of the jth evaluation indicator of the ith first gateway; when the jth evaluation indicator among the K evaluation indicators is a price indicator, the quotient of the lowest price among the M first gateways and the price of the ith first gateway is determined as the indicator score of the jth evaluation indicator of the ith first gateway; when the jth evaluation indicator among the K evaluation indicators is a coordination index, the product of a preset first indicator coefficient and the coordination of the ith first gateway is determined as the indicator score of the jth evaluation indicator of the ith first gateway; when the jth evaluation indicator among the K evaluation indicators is a comprehensiveness index, the product of a preset second indicator coefficient and the comprehensiveness of the ith first gateway is determined as the indicator score of the jth evaluation indicator of the ith first gateway.

[0132] Step 630: sorting the plurality of first gateways based on the comprehensive scores of the first gateways to obtain a sorting result; Step 640: for each of the first gateways, determine the weight of the first gateway based on the ranking position of the first gateway in the ranking result; In the embodiment of the present application, determining the weight of the first gateway based on the ranking position of the first gateway in the ranking result includes: determining the category of the first gateway based on the ranking position of the first gateway in the ranking result; and determining the weight of the first gateway based on the category of the first gateway and a preset correspondence between the category and the weight.

[0133] Step 650: Determine the category of the first gateway; In the embodiment of the present application, the category of the first gateway may be determined based on the ranking position of the first gateway in the ranking result. Specifically, the number of first gateways in each category may be determined based on pre-set category information; the category information includes the percentage of the number of first gateways in each category to the total number of first gateways; the category of the first gateway may be determined based on the number of first gateways in each category and the ranking position of the first gateway in the ranking result.

[0134] Step 660: Determine a designated gateway in the category from the plurality of first gateways; Step 670: Determine a category dynamic score based on the dynamic scores of each designated gateway in the category; Step 680: Determine an evaluation value of the first gateway based on the dynamic score of the first gateway, the weight of the first gateway and the category dynamic score; In an embodiment of the present application, for the i-th first gateway among the M first gateways, the evaluation value of the i-th first gateway includes: a first answering ratio when a voice call service is performed using a second call line, the second call line is a call line determined by the i-th first gateway, and the designated gateway is all first gateways in the category. Determining the evaluation value of the i-th first gateway based on the dynamic score of the i-th first gateway, the weight of the i-th first gateway, and the category dynamic score includes: calculating the first answering ratio when a voice call service is performed using the second call line determined by the i-th first gateway by the following formula: ; Among them, B i is the first answering ratio when the second call line determined by the i-th first gateway is used to perform the voice call service, a i is the weight of the i-th first gateway, b i is the dynamic score of the ith first gateway, c i A category dynamic score is given to the category in which the i-th first gateway belongs.

[0135] In an embodiment of the present application, when the outbound call relationship supported by the i-th first gateway includes a designated outbound call relationship, the designated gateway is a gateway that supports the designated outbound call relationship, and the evaluation value of the i-th first gateway includes: a second answering ratio when a voice call service is performed using a second call line, and the second call line is a call line determined by the first gateway. Determining the evaluation value of the i-th first gateway based on the dynamic score of the i-th first gateway, the weight of the i-th first gateway, and the category dynamic score includes: calculating the second answering ratio when a voice call service is performed using the second call line determined by the i-th first gateway by the following formula: ; Among them, F i is the second answering ratio when the second call line determined by the i-th first gateway is used to perform the voice call service, a i is the weight of the i-th first gateway, b i is the dynamic score of the i-th first gateway, d i A category dynamic score is given to the category of the i-th first gateway.

[0136] Step 690: Based on the evaluation value, determine a second gateway from the multiple first gateways, where the second gateway is used to determine a first call line for the voice call service.

[0137] In an embodiment of the present application, the evaluation value of the first gateway is determined based on the dynamic score of the first gateway, and the dynamic score of the first gateway is determined based on the business information and the score configuration information of the first gateway, wherein the score configuration information includes indication information for indicating whether each information item in the business information participates in the dynamic score calculation. Since whether each information item participates in the dynamic score calculation is set by the score configuration information, the dynamic score of the first gateway changes dynamically with the change of the score configuration information, so that the evaluation value of the first gateway is dynamically determined according to the dynamic score, and then the second gateway can be flexibly determined from multiple first gateways based on the evaluation value, thereby improving the evaluation flexibility of the gateway and the flexibility of gateway determination. Since the call lines determined by different gateways may be different, the dialing success rate of voice calls realized according to different call lines may be different. By flexibly determining the gateway, the dialing success rate of voice calls can be improved.

[0138] It is important to understand that Figures 1 to 6 The explanations of the same or corresponding steps in the above may refer to each other. For example, Figure 1 The explanation of step 110 and step 130 in Figure 2 Step 210 and step 260 in .

[0139] At the same time, it should be understood that a gateway determination method provided in an embodiment of the present application may have the following beneficial effects: First, the method provided in an embodiment of the present application adopts a more flexible line dynamic calculation allocation method, which can calculate the allocation ratio in real time, and can calculate the personal answering ratio and the non-personal answering ratio according to the regional dimension, thereby improving the dialing success rate and line utilization rate of the line gateway. Second, the gateway configuration information can be added or deleted, and the various parameter information used for gateway evaluation can be flexibly modified, which may include group component parameter information and group component gear information and other information, and the modified results can be quickly calculated and applied, and the various scores and proportions of the calculated line gateway can be flexibly controlled. Third, data can be obtained and calculated multiple times according to the specific execution details and frequency, so as to achieve real-time calculation and update results, so that the calculated value can meet a more refined time period, and the latest calculation results can be applied in real time to adjust the dialing line gateway.

[0140] See also Figure 7 , Figure 7 A gateway determination device is provided in an embodiment of the present application. Figure 7 As shown, the gateway determination device 700 includes: an acquisition module 710 , an evaluation module 720 and a determination module 730 .

[0141] The acquisition module 710 is used to acquire dynamic scores of multiple first gateways, where the dynamic scores are determined based on the service information and score configuration information of the first gateways, where the score configuration information includes indication information for indicating whether each information item in the service information participates in dynamic score calculation; The evaluation module 720 is used to determine the evaluation value of the first gateway based on the dynamic score of the first gateway; The determination module 730 is used to determine a second gateway from the multiple first gateways based on the evaluation value, and the second gateway is used to determine a first call line of the voice call service.

[0142] In an embodiment of the present application, the evaluation value of the first gateway is determined based on the dynamic score of the first gateway, and the dynamic score of the first gateway is determined based on the business information and the score configuration information of the first gateway, wherein the score configuration information includes indication information for indicating whether each information item in the business information participates in the dynamic score calculation. Since whether each information item participates in the dynamic score calculation is set by the score configuration information, the dynamic score of the first gateway changes dynamically with the change of the score configuration information, so that the evaluation value of the first gateway is dynamically determined according to the dynamic score, and then the second gateway can be flexibly determined from multiple first gateways based on the evaluation value, thereby improving the evaluation flexibility of the gateway and the flexibility of gateway determination. Since the call lines determined by different gateways may be different, the dialing success rate of voice calls realized according to different call lines may be different. By flexibly determining the gateway, the dialing success rate of voice calls can be improved.

[0143] The gateway determination device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0144] like Figure 8 As shown, the embodiment of the present application also provides an electronic device 800, which can be various types of computers, etc. The electronic device 800 includes: a processor 810 and a memory 820, and the memory 820 stores a program or instruction, and the program or instruction is executed by the processor 810 to implement the steps of any method described above. For example, when the program is executed by the processor 810, the following process is implemented: based on the dynamic score of the first gateway, the evaluation value of the first gateway is determined, and the dynamic score of the first gateway is determined based on the business information and the scoring configuration information of the first gateway, wherein the scoring configuration information includes indication information for indicating whether each information item in the business information participates in the dynamic score calculation. Since whether each information item participates in the dynamic score calculation is set by the scoring configuration information, the dynamic score of the first gateway changes dynamically with the change of the scoring configuration information, so that the evaluation value of the first gateway is dynamically determined according to the dynamic score, and then the second gateway can be flexibly determined from multiple first gateways based on the evaluation value, thereby improving the evaluation flexibility of the gateway and the flexibility of gateway determination. Since the call lines determined by different gateways may be different, the success rate of voice calls made according to different call lines may be different. By flexibly determining the gateway, the success rate of voice calls can be improved.

[0145] An embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of each embodiment of the gateway determination method are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0146] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0147] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0148] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0149] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0151] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A gateway determination method, characterized in that: include: Acquire dynamic scores of a plurality of first gateways, where the dynamic scores are determined based on service information and score configuration information of the first gateways, where the score configuration information includes indication information for indicating whether each information item in the service information participates in dynamic score calculation; Determining an evaluation value of the first gateway based on the dynamic score of the first gateway; Based on the evaluation value, a second gateway is determined from the plurality of first gateways, where the second gateway is used to determine a first call line for a voice call service.

2. The method according to claim 1, characterized in that: The determining the evaluation value of the first gateway based on the dynamic score of the first gateway includes: determining a weight of the first gateway; An evaluation value of the first gateway is determined based on the dynamic score of the first gateway and the weight of the first gateway.

3. The method according to claim 2, characterized in that The determining the weight of the first gateway includes: determining a comprehensive score of each of the plurality of first gateways; sorting the plurality of first gateways based on the comprehensive scores of the first gateways to obtain a sorting result; For each of the first gateways, a weight of the first gateway is determined based on a ranking position of the first gateway in the ranking result.

4. The method according to claim 3, characterized in that For each of the first gateways, determining a comprehensive score of the first gateway includes: Determining an evaluation index of the first gateway; Determining the scores of the evaluation indicators and the weights of the evaluation indicators; Based on the scores of the evaluation indicators and the weights of the evaluation indicators, a comprehensive score of the first gateway is determined.

5. The method according to claim 3, characterized in that: The determining the weight of the first gateway based on the ranking position of the first gateway in the ranking result includes: Determining a category of the first gateway based on a ranking position of the first gateway in the ranking result; The weight of the first gateway is determined based on the category of the first gateway and a preset correspondence between the category and the weight.

6. The method according to claim 2, characterized in that The determining the evaluation value of the first gateway based on the dynamic score of the first gateway and the weight of the first gateway includes: Determining the category of the first gateway; determining a designated gateway in the category from among the plurality of first gateways; Determining a category dynamic score based on the dynamic scores of each designated gateway in the category; An evaluation value of the first gateway is determined based on the dynamic score of the first gateway, the weight of the first gateway, and the category dynamic score.

7. The method according to any one of claims 1 to 6, characterized in that: Before obtaining the dynamic scores of the plurality of first gateways, the method further includes: Based on the grouping code of the target gateway, the target gateway is grouped to obtain a first grouping result; the first grouping result includes L groups, where L is a positive integer; Obtaining P groups that meet the target condition from the L groups, where P is a positive integer less than or equal to L; For the kth group among the P groups, the gateways in the kth group are grouped based on the gateway location code of the kth group to obtain a second grouping result, where the second grouping result includes Q groups; wherein the multiple first gateways are gateways selected from one group among the Q groups, and k is a positive integer less than or equal to P.

8. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction running on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.

9. A computer-readable storage medium, characterized in that: The medium stores a program or an instruction, and when the program or the instruction is executed, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.