Disclosure of Invention
In order to solve the above problems, the present invention provides a dynamic intelligent routing system and method for outbound line.
A dynamic intelligent routing system of outbound line comprises a routing module, a configuration module, a voice outbound system and an agent module;
the voice outbound system requests a routing module through an interface;
after receiving the request, the routing module judges that the called number attribution obtains the virtual line and the entity line of the called attribution, selects the entity line with the call completing rate larger than the set threshold value, judges whether the current concurrency of the selected entity line exceeds the limit, reselects another entity line with the call completing rate larger than the set threshold value if the current concurrency of the selected entity line exceeds the limit, and directly returns to the currently selected entity line if the current concurrency of the selected entity line does not exceed the limit;
the voice calling system requests the agent module to initiate an outbound through the sip protocol, and the agent module initiates the outbound to the entity line.
Preferably, if there is no data of call completing rate currently or there is no data of call completing rate in city where the called party is located, the routing module randomly selects an entity line from lines in the same city as the called party, then judges whether the selected entity line is over-limit or not, if not, directly returns to the currently selected entity line, and if so, repeats the selection process.
Preferably, if the city where the called party is located does not have a corresponding physical line, the routing module preferably selects the physical line of the province city where the called party is located, selects a physical line with a call completing rate greater than a set threshold value, then judges whether the concurrence of the physical lines exceeds the limit, and repeats the selection process if the concurrence of the physical lines exceeds the limit.
Preferably, if the city where the called party is located does not have a corresponding physical line, and the province city where the called party is located also does not have a corresponding physical line, the routing module selects one physical line with a call completing rate greater than a set threshold value from the physical lines of other cities in the province where the called party is located, then judges whether the concurrence of the physical lines exceeds the limit, and repeats the selection process if the concurrence of the physical lines exceeds the limit.
Preferably, the voice outbound system is further configured to record a virtual line id, an entity line id, a called home location, and information on whether to connect a call after the outbound is ended, and summarize and store a certain line, a called province, and a call completing rate of a called city within 24 hours by a timing program at regular intervals.
A dynamic intelligent routing method of an outbound line based on a call completing rate comprises the following steps:
the voice outbound system requests the routing module through the interface;
after receiving the request, the routing module judges that the called number attribution obtains the virtual line and the entity line of the called attribution, selects the entity line with the call completing rate larger than the set threshold value, judges whether the current concurrency of the selected entity line exceeds the limit, reselects another entity line with the call completing rate larger than the set threshold value if the current concurrency of the selected entity line exceeds the limit, and directly returns to the currently selected entity line if the current concurrency of the selected entity line does not exceed the limit;
the voice calling system requests the agent module to initiate an outbound call through the sip protocol, and the agent module initiates the outbound call to the entity line.
Preferably, if there is no data of call completing rate currently or there is no data of call completing rate in city where the called party is located, the routing module randomly selects an entity line from the lines in the same city as the called party, then judges whether the selected entity line is over-limit or not, if not, directly returns to the currently selected entity line, and if so, repeats the selection process.
Preferably, if the city where the called party is located does not have the corresponding physical line, the routing module preferably selects the physical line of the province city where the called party is located, selects a physical line with a call completing rate greater than a set threshold value, then judges whether the concurrence of the physical lines exceeds the limit, and repeats the selection process if the concurrence of the physical lines exceeds the limit.
Preferably, if the city where the called party is located does not have a corresponding entity line, and the province city where the called party is located also does not have a corresponding entity line, the routing module selects one entity line with the call completing rate larger than a set threshold value from the entity lines of other cities of the province where the called party is located, then judges whether the entity line concurrence exceeds the limit, and repeats the selection process if the entity line concurrence exceeds the limit.
Preferably, the method further comprises the following steps:
after the call-out is finished, recording the virtual line id, the entity line id, the called attribution and the connection information, and summarizing a certain line, the called province and the connection rate of the called city within 24 hours by a timing program at regular intervals and storing.
The invention has the beneficial effects that: after receiving the request, the routing module judges that the called number attribution obtains the line of the virtual line and the called attribution, selects the entity line with the call completing rate larger than the set threshold value, judges whether the current concurrency of the selected entity line exceeds the limit, reselects another entity line with the call completing rate larger than the set threshold value if the current concurrency of the selected entity line exceeds the limit, and directly returns to the currently selected entity line if the current concurrency of the selected entity line does not exceed the limit, so that the configuration workload of the entity line for operation can be greatly reduced.
Detailed Description
The technical solutions of the present invention will be further described below with reference to the accompanying drawings, but the present invention is not limited to these embodiments.
The basic idea of the invention is that after receiving the request through the routing module, the routing module judges that the called number attribution obtains the virtual line and the called attribution, selects the entity line with the call completing rate larger than the set threshold, then judges whether the current concurrency of the selected entity line exceeds the limit, if so, reselects another entity line with the call completing rate larger than the set threshold, if not, directly returns the historical data of the currently selected entity line to dynamically distribute the entity line, thereby greatly reducing the configuration workload of the entity line in operation.
Based on the above thought, as shown in fig. 1, the invention provides a dynamic intelligent routing system for outbound line, which comprises a routing module, a configuration module, a voice outbound system and an agent module; the voice outbound system requests a routing module through an interface; after receiving the request, the routing module judges that the called number attribution obtains the virtual line and the entity line of the called attribution, selects the entity line with the call completing rate larger than the set threshold value, judges whether the current concurrency of the selected entity line exceeds the limit, reselects another entity line with the call completing rate larger than the set threshold value if the current concurrency of the selected entity line exceeds the limit, and directly returns to the currently selected entity line if the current concurrency of the selected entity line does not exceed the limit; the voice calling system requests the agent module to initiate an outbound through the sip protocol, and the agent module initiates the outbound to the entity line.
The physical line refers to a communication line actually used for interaction between an IP network and a PSTN network, and comprises a third party line, a network telephone gateway and other equipment. The virtual line combines 1 to a plurality of agent lines, is dynamically distributed according to conditions such as called attribution, customer location, current line load and the like through a routing center, is associated with the customer, and is used for functions such as charging, post-call notification, alarming and the like. The relationship between the virtual wires and the physical wires is shown in fig. 2.
In this embodiment, after receiving the request through the routing module, the routing module determines that the called number is attributed to the virtual line and the called number is attributed to the line, selects an entity line having a call completing rate greater than a set threshold, determines whether current concurrence of the selected entity line exceeds a limit, selects another entity line having a call completing rate greater than the set threshold, and directly returns to the currently selected entity line if the current concurrence of the selected entity line does not exceed the limit. The technical scheme dynamically allocates the entity lines based on the historical data, and can greatly reduce the workload of configuration of the entity lines in operation.
An operator configures an entity line in advance through a configuration center, wherein the entity line comprises account information and attribution information of the entity line, and then configures the relationship between a virtual line and the entity line, and only the virtual line is associated with the entity line without setting city grouping.
In an embodiment, if there is no data of call completing rate currently, or there is no data of call completing rate in city where the called party is located, the routing module randomly selects an entity line from lines in the same city as the called party, then judges whether the selected entity line is over-limit or not, if not, directly returns to the currently selected entity line, and if so, repeats the selection process.
In an embodiment, if the city where the called party is located does not have a corresponding physical line, the routing module preferably selects the physical line of the province city where the called party is located, selects a physical line with a call completing rate greater than a set threshold value, then judges whether the concurrence of the physical lines exceeds the limit, and repeats the selection process if the concurrence of the physical lines exceeds the limit.
In an embodiment, if the city where the called party is located has no corresponding physical line, and the province city where the called party is located also has no corresponding physical line, the routing module selects one physical line with a call completing rate greater than a set threshold value from the physical lines of other cities in the province where the called party is located, then determines whether the concurrence of the physical lines exceeds the limit, and if so, repeats the selection process.
In an embodiment, if the method still has no corresponding physical line, selecting a physical line with a call completing rate greater than a set threshold value from all the physical lines, then judging whether the physical line is simultaneously over-limited, and if so, repeating the selection process.
In one embodiment, if there are lines that satisfy the condition and have not been overrun concurrently, then line information is returned, and if not, then no available lines are returned.
In an embodiment, the voice outbound system is further configured to record information such as a virtual line id, an entity line id, a called home location, whether to connect or not of a call after the outbound is ended, and summarize and store a certain line, a called province, and a call completing rate of a called city within 24 hours at regular intervals (which may be 1 hour, 10 minutes, and the like depending on the timeliness requirement of a service on the call completing rate) by a timing program.
And dynamically allocating the entity lines by storing the communication rate data as historical data.
Based on the above system embodiment, correspondingly, as shown in fig. 3, the present invention further provides a dynamic intelligent routing method for outbound route based on call completing rate, which includes the following steps:
s1: the voice outbound system requests the routing module through the interface;
s2: calling a line of a home location, selecting an entity line with a call completing rate larger than a set threshold, judging whether the current concurrency of the selected entity line exceeds a limit, if so, re-selecting another entity line with the call completing rate larger than the set threshold, and if not, directly returning to the currently selected entity line;
s3: the voice calling system requests the agent module to initiate an outbound call through the sip protocol, and the agent module initiates the outbound call to the entity line.
In this embodiment, after receiving the request through the routing module, the routing module determines that the called number is attributed to the virtual line and the called number is attributed to the line, selects an entity line having a call completing rate greater than a set threshold, determines whether current concurrence of the selected entity line exceeds a limit, selects another entity line having a call completing rate greater than the set threshold, and directly returns to the currently selected entity line if the current concurrence of the selected entity line does not exceed the limit. The technical scheme dynamically allocates the entity lines based on the historical data, and can greatly reduce the workload of configuration of the entity lines in operation.
In one embodiment, as shown in fig. 4, the present invention further comprises the steps of:
s4: if the call completing rate data does not exist currently or the city where the called party is located does not have the call completing rate data, the routing module randomly selects an entity line from the lines of the same city as the called party, then judges whether the concurrence of the selected entity line exceeds the limit or not, if the concurrence of the selected entity line does not exceed the limit, directly returns to the currently selected entity line, and if the concurrence of the selected entity line does not exceed the limit, the selection process is repeated.
In one embodiment, as shown in fig. 5, the present invention further comprises the steps of:
s5: if the city where the called party is located does not have the corresponding entity line, the routing module preferably selects the entity line of the province city where the called party is located, selects one entity line with the call completing rate larger than a set threshold value, judges whether the entity line is over-limited or not simultaneously, and repeats the selection process if the entity line is over-limited.
In one embodiment, as shown in fig. 6, the present invention further comprises the steps of:
s6: if the city where the called party is located does not have the corresponding entity line, and the province city where the called party is located also does not have the corresponding entity line, the routing module selects one entity line with the call completing rate larger than a set threshold value from the entity lines of other cities of the province where the called party is located, then judges whether the entity line concurrence exceeds the limit, and if the entity line concurrence exceeds the limit, the selection process is repeated.
In one embodiment, as shown in fig. 7, the present invention further comprises the steps of:
s7: if the method still has no corresponding physical line, selecting the physical line with the call completing rate larger than the set threshold value from all the physical lines, then judging whether the concurrence of the physical lines exceeds the limit, and if so, repeating the selection process.
In one embodiment, as shown in fig. 8, the present invention further comprises the steps of:
s8: if the line which meets the condition and is not over-limited in concurrency exists, the line information is returned, and if the line which does not meet the condition does not exceed the concurrency, the line information is returned.
In one embodiment, as shown in fig. 9, the present invention further comprises the steps of:
s9: after the call-out is finished, recording information of a virtual line id, an entity line id, a called attribution, whether to be connected and the like of the call, and summarizing the connection rate of a certain line, the called province and the called city within 24 hours at regular intervals (which can be 1 hour, 10 minutes and the like depending on the timeliness requirement of the service on the connection rate) by a timing program and storing.
And dynamically allocating the entity lines by storing the communication rate data as historical data.
Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.