CN112866496A - Outbound line routing method and device based on concurrency control and electronic equipment - Google Patents
Outbound line routing method and device based on concurrency control and electronic equipment Download PDFInfo
- Publication number
- CN112866496A CN112866496A CN202110288319.9A CN202110288319A CN112866496A CN 112866496 A CN112866496 A CN 112866496A CN 202110288319 A CN202110288319 A CN 202110288319A CN 112866496 A CN112866496 A CN 112866496A
- Authority
- CN
- China
- Prior art keywords
- outbound
- line
- entity
- lines
- randomly
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000012545 processing Methods 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012946 outsourcing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
- H04M7/0075—Details of addressing, directories or routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
- H04M7/0081—Network operation, administration, maintenance, or provisioning
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses an outbound line routing method based on concurrent control, which comprises the following steps: configuring at least one virtual line for each outbound system user, wherein the at least one virtual line is matched with at least two physical lines; and acquiring an outbound request of an outbound system user, and randomly distributing entity lines for the outbound request through a weighted random algorithm according to preset weights of the at least two entity lines, wherein the preset weights of the at least two entity lines are acquired according to the concurrent processing capacity configuration of the at least two entity lines.
Description
Technical Field
The present application relates to the field of outbound, and in particular, to an outbound line routing method and apparatus based on concurrency control, and an electronic device.
Background
VOIP (Voice over Internet Protocol) requires a VOIP gateway or a circuit provider system to connect a Telephone to a conventional telecommunication Network if the VOIP is to be connected to a PSTN (Public Switched Telephone Network). With the development of the VOIP technology, more and more enterprises construct their own call centers or outsourcing call centers based on the VOIP technology, and in an outbound scene of the call center, when an outbound call is made using only one line, if there is a fault or jitter in the line, high availability cannot be guaranteed. Therefore, in the outbound system in the industry at present, more than 2 lines are randomly selected to improve the call completing rate, but the concurrent processing capabilities of different lines are different among a plurality of lines, the number of concurrent processes capable of being simultaneously processed is also different, and the technical problem that a certain line exceeds the concurrent process and cannot be connected often occurs.
Disclosure of Invention
The technical problem to be solved by the present application is to provide a method, an apparatus and an electronic device for routing an outbound line based on concurrency control, so as to solve the technical problem that a certain line exceeds concurrency and cannot be connected in the existing call center.
In order to achieve the purpose, the following technical scheme is adopted in the application:
in a first aspect, the present application provides an outbound line routing method based on concurrent control, where the method includes:
configuring at least one virtual line for each outbound system user, wherein the at least one virtual line is matched with at least two physical lines;
and acquiring an outbound request of an outbound system user, and randomly distributing entity lines for the outbound request through a weighted random algorithm according to preset weights of the at least two entity lines, wherein the preset weights of the at least two entity lines are acquired according to the concurrent processing capacity configuration of the at least two entity lines.
In a second aspect, the present application provides an outbound line routing apparatus based on concurrent control, the apparatus comprising:
the first configuration unit is used for configuring at least one virtual line for each outbound system user, wherein the at least one virtual line is matched with at least two physical lines;
the first obtaining unit is used for obtaining an outbound request of an outbound system user;
and the first allocation unit is used for randomly allocating the entity lines for the outbound request through a weighted random algorithm according to the preset weights of the at least two entity lines, wherein the preset weights of the at least two entity lines are obtained according to the concurrent processing capacity configuration of the at least two entity lines.
In a third aspect, the present application provides an electronic device, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes to be executed, or a set of instructions, and the at least one instruction, the at least one program, the set of codes to be executed, or the set of instructions is executed by the processor to implement the outgoing line routing method based on concurrency control according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is executed by a processor to implement the outbound line routing method based on concurrency control as described in the first aspect.
The beneficial effect of this application is: the application provides an outbound line routing method, an outbound line routing device and electronic equipment based on concurrency control.
Drawings
Fig. 1 is a schematic flowchart of an outbound line routing method based on concurrency control according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for allocating physical lines according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another method for allocating physical lines according to an embodiment of the present application;
fig. 4 is a circuit diagram of an outbound route routing device based on concurrency control according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a first distribution unit according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an outbound line routing apparatus based on concurrency control according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the present application are further described in detail with reference to the following specific embodiments, and it is obvious that the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application provides an outbound line routing method, an outbound line routing device and electronic equipment based on concurrency control, and aims to solve the technical problem that a certain line exceeds concurrency and cannot be connected in an existing call center.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic flow chart of an outbound line routing method based on concurrency control according to an embodiment of the present application is shown, where the method includes:
s101, configuring at least one virtual line for each outbound system user, wherein the at least one virtual line is matched with at least two entity lines;
it will be appreciated that the virtual line configured for the user matches a plurality of physical lines, which may be agent lines or handset cards or landline telephones and the like.
S102, obtaining an outbound request of an outbound system user, and randomly distributing entity lines for the outbound request through a weighted random algorithm according to preset weights of the at least two entity lines.
And the preset weights of the at least two entity lines are obtained according to the concurrent processing capacity configuration of the at least two entity lines.
It can be understood that the preset weight of the physical line is positively correlated to the concurrent processing capability of the physical line.
For example, the physical line includes a physical line a and a physical line B, and if the concurrent processing capability of the physical line a is 2 times that of the physical line B, a weight 2 may be configured for the physical line a, a weight 1 may be configured for the physical line B, or a weight configuration with other values may be implemented, which is not limited in the present application.
Referring to fig. 2, a flow chart of a method for allocating physical lines according to an embodiment of the present application is shown, where the method includes:
s201, configuring a weight list according to preset weights of the at least two entity lines;
s202, randomly obtaining the entity line used for the outbound request from the weight list.
It can be understood that, after obtaining the preset weight of the physical line according to the concurrent processing capability of the physical line, setting a weight list, adding the physical line into the weight list according to the preset weight of the physical line, for example, the physical line includes a physical line a and a physical line B, where the weight of the physical line a is 2, and the weight of the physical line B is 1, adding the physical line a and the physical line B twice into the weight list, and then randomly obtaining one physical line from the weight list for outbound.
Referring to fig. 3, a schematic flow chart of another method for allocating physical lines according to an embodiment of the present application is shown, where after the method is applied to randomly allocating physical lines for the outbound request, the method includes:
s301, acquiring a concurrency threshold and a current threshold of a randomly distributed entity line;
s302, judging whether the current threshold is smaller than a concurrency threshold, if so, selecting a random distribution entity line to carry out
And calling out, if not, selecting another entity line under the at least one virtual line to carry out calling out.
In addition to the weighted routing rule, we also perform concurrent filtering on the randomly selected physical lines during routing, so as to ensure that the selected physical lines do not exceed the concurrency threshold of the physical lines.
Referring to fig. 4, a outbound line routing apparatus based on concurrency control according to an embodiment of the present application is shown, where the apparatus includes:
a first configuration unit 401, configured to configure at least one virtual line for each outbound system subscriber, where the at least one virtual line is matched with at least two physical lines;
a first obtaining unit 402, configured to obtain an outbound request of an outbound system user;
a first allocating unit 403, configured to randomly allocate an entity line to the outbound request through a weighted random algorithm according to preset weights of the at least two entity lines, where the preset weights of the at least two entity lines are obtained according to a concurrent processing capability configuration of the at least two entity lines.
In one embodiment, please refer to fig. 5, which illustrates a schematic structural diagram of a first distribution unit provided in an embodiment of the present application, where the first distribution unit includes:
a second configuration unit 4031, configured to configure a weight list according to the preset weights of the at least two entity lines;
a second obtaining unit 4032, configured to randomly obtain the entity line for the outbound request from the weight list.
In an embodiment, please refer to fig. 6, which shows a schematic structural diagram of an outbound line routing apparatus based on concurrency control according to another embodiment of the present application, the apparatus further includes:
a third obtaining unit 404, configured to obtain a concurrency threshold and a current threshold of the randomly allocated physical line;
a first determining unit 405, configured to determine whether the current threshold is smaller than a concurrency threshold, if so, select a randomly allocated physical line for outbound, and if not, select another physical line under the at least one virtual line for outbound.
Referring to fig. 7, a schematic structural diagram of an electronic device according to an embodiment of the present application is shown, where the electronic device may include: at least one network interface 702, memory 703 and at least one processor 701. The various components in the electronic device are coupled together by a bus system 704. It will be appreciated that the bus system 304 is used to enable communications among the components. The bus system 704 includes a power bus, a control bus, and a status signal bus in addition to a data bus, but for clarity of illustration, the various buses are labeled as bus system 704 in FIG. 7.
In some embodiments, memory 703 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 7031 and application programs 7032.
The operating system 7031 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various outgoing services and processing hardware-based tasks. The application 7032 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method of the embodiment of the present application may be included in an application program.
In the above embodiment, the electronic device further includes: at least one instruction, at least one program, set of codes, or set of instructions stored on the memory 703 that is executable by the processor 701 to perform steps implementing any of the concurrency control based outbound line routing methods described in the embodiments of the present application.
In one embodiment, the present application further provides a computer-readable storage medium, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, and when executed by a processor, the at least one instruction, the at least one program, the set of codes, or the set of instructions implements the steps of any of the outgoing call line routing methods based on concurrency control in the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, and that the at least one instruction, the at least one program, the code set, or the instruction set may be stored in a non-volatile computer-readable storage medium, and when executed, the at least one instruction, the at least one program, the code set, or the instruction set may implement the steps of any of the mapping methods described in the embodiments of the present application. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are only illustrative and not restrictive; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, which are within the protection scope of the present application.
Claims (8)
1. An outbound line routing method based on concurrent control is characterized by comprising the following steps:
configuring at least one virtual line for each outbound system subscriber, wherein the at least one virtual line
Matching with at least two physical lines;
and acquiring an outbound request of an outbound system user, and randomly distributing entity lines for the outbound request through a weighted random algorithm according to preset weights of the at least two entity lines, wherein the preset weights of the at least two entity lines are acquired according to the concurrent processing capacity configuration of the at least two entity lines.
2. The outbound line routing method based on concurrency control as claimed in claim 2,
the step of distributing the entity lines for the outbound request through a weighted random algorithm according to the preset weights of the at least two entity lines comprises the following steps:
configuring a weight list according to preset weights of the at least two entity lines;
and randomly acquiring the entity line for the outbound request from the weight list.
3. The outbound line routing method based on concurrency control as claimed in claim 1,
after the physical line is randomly allocated to the outbound request, the method further comprises:
acquiring a concurrency threshold and a current threshold of a randomly distributed entity line;
judging whether the current threshold is smaller than a concurrency threshold, if so, selecting a random distribution entity line to carry out
And calling out, if not, selecting another entity line under the at least one virtual line to carry out calling out.
4. An outbound line routing device based on concurrent control, the device comprising:
a first configuration unit for configuring at least one virtual line for each outbound system subscriber, wherein
The at least one virtual line is matched with at least two physical lines;
the first obtaining unit is used for obtaining an outbound request of an outbound system user;
a first distribution unit for randomly calculating by weighting according to preset weights of the at least two physical lines
And randomly distributing entity lines for the outbound request, wherein the preset weights of the at least two entity lines are obtained according to the concurrent processing capacity configuration of the at least two entity lines.
5. The outbound line routing device based on concurrency control as claimed in claim 4,
the device further comprises:
the second configuration unit is used for configuring a weight list according to preset weights of the at least two entity lines;
a second obtaining unit, configured to randomly obtain an entity line for the outbound request from the weight list
And (4) a way.
6. The outbound line routing device based on concurrency control as claimed in claim 4,
the device further comprises:
a third obtaining unit, configured to obtain a concurrency threshold and a current threshold of the randomly allocated entity line;
and the first judging unit is used for judging whether the current threshold is smaller than a concurrency threshold, if so, selecting a randomly distributed entity line for outbound, and if not, selecting another entity line under the at least one virtual line for outbound.
7. An electronic device, characterized in that said electronic device comprises a processor and a memory, said memory
Stored with at least one instruction, at least one program, set of pending codes or set of instructions to be executed by the processor for implementing a method of outgoing line routing based on concurrency control according to any of claims 1 to 3.
8. A computer-readable storage medium having stored therein a computer program product
At least one instruction, at least one program, set of pending codes or set of instructions for execution by a processor to implement a method of outgoing line routing based on concurrency control according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110288319.9A CN112866496A (en) | 2021-03-18 | 2021-03-18 | Outbound line routing method and device based on concurrency control and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110288319.9A CN112866496A (en) | 2021-03-18 | 2021-03-18 | Outbound line routing method and device based on concurrency control and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112866496A true CN112866496A (en) | 2021-05-28 |
Family
ID=75995216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110288319.9A Pending CN112866496A (en) | 2021-03-18 | 2021-03-18 | Outbound line routing method and device based on concurrency control and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112866496A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113489845A (en) * | 2021-08-10 | 2021-10-08 | 浙江百应科技有限公司 | Intelligent outbound method, device, electronic equipment and storage medium thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682573A (en) * | 2017-10-10 | 2018-02-09 | 携程旅游信息技术(上海)有限公司 | High concurrent calling-out method, system, equipment and storage medium |
CN107968895A (en) * | 2016-10-19 | 2018-04-27 | 北京京东尚科信息技术有限公司 | Call center and its method for a large amount of speech channel requests of processing |
CN108093009A (en) * | 2016-11-21 | 2018-05-29 | 百度在线网络技术(北京)有限公司 | The load-balancing method and device of a kind of server |
CN110248029A (en) * | 2019-06-17 | 2019-09-17 | 浙江百应科技有限公司 | A kind of method of dynamic select communication line in call |
CN112291142A (en) * | 2020-10-26 | 2021-01-29 | 浙江百应科技有限公司 | Cloud communication method and system based on intelligent routing |
CN112333344A (en) * | 2021-01-04 | 2021-02-05 | 零犀(北京)科技有限公司 | Line proxy method, device, proxy server and storage medium |
-
2021
- 2021-03-18 CN CN202110288319.9A patent/CN112866496A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107968895A (en) * | 2016-10-19 | 2018-04-27 | 北京京东尚科信息技术有限公司 | Call center and its method for a large amount of speech channel requests of processing |
CN108093009A (en) * | 2016-11-21 | 2018-05-29 | 百度在线网络技术(北京)有限公司 | The load-balancing method and device of a kind of server |
CN107682573A (en) * | 2017-10-10 | 2018-02-09 | 携程旅游信息技术(上海)有限公司 | High concurrent calling-out method, system, equipment and storage medium |
CN110248029A (en) * | 2019-06-17 | 2019-09-17 | 浙江百应科技有限公司 | A kind of method of dynamic select communication line in call |
CN112291142A (en) * | 2020-10-26 | 2021-01-29 | 浙江百应科技有限公司 | Cloud communication method and system based on intelligent routing |
CN112333344A (en) * | 2021-01-04 | 2021-02-05 | 零犀(北京)科技有限公司 | Line proxy method, device, proxy server and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113489845A (en) * | 2021-08-10 | 2021-10-08 | 浙江百应科技有限公司 | Intelligent outbound method, device, electronic equipment and storage medium thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111866162B (en) | Service distribution method and device | |
CN109962893B (en) | Intelligent calling method and related equipment thereof | |
CN113067859B (en) | Communication method and device based on cloud mobile phone | |
CN113067949A (en) | Batch number detection method and device for outgoing calls of telephones and electronic equipment | |
CN112866496A (en) | Outbound line routing method and device based on concurrency control and electronic equipment | |
CN113055199A (en) | Gateway access method and device and gateway equipment | |
CN113114857A (en) | Outbound dynamic display method and device and electronic equipment | |
EP2237545A1 (en) | Method and device for user information cutover | |
CN112671945A (en) | Method, device, computer equipment and storage medium for managing IP proxy pool | |
CN112751935A (en) | Request processing method and device, electronic equipment and storage medium | |
CN113114856A (en) | Outbound dynamic display method and device based on called home location and electronic equipment | |
CN113489845A (en) | Intelligent outbound method, device, electronic equipment and storage medium thereof | |
CN115551104A (en) | Service processing method, device, equipment and storage medium | |
CN113225440B (en) | Management method of cloud communication network slices, computer equipment and storage medium | |
CN110381487B (en) | Bluetooth connection method and device | |
CN113127191A (en) | Resource updating method, storage medium and related device | |
CN113067948A (en) | Method and device for protecting privacy of calling number in outgoing call of telephone and electronic equipment | |
CN113114854A (en) | Intelligent outbound method and device based on historical call state and electronic equipment | |
CN111436028A (en) | Service access method, system and communication open platform | |
CN112822335A (en) | Method and device for dynamically switching external attribution and electronic equipment | |
CN110213838A (en) | Method for connecting network, device, computer equipment and storage medium | |
CN113132300A (en) | Audio data transmission method and device | |
CN115551032B (en) | Service processing method, device, equipment and storage medium | |
CN114040050A (en) | Outbound line routing method and device based on outbound number attribution | |
CN115002749B (en) | IP address allocation method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210528 |