CN116366772A - Outbound resource processing method and device - Google Patents

Outbound resource processing method and device Download PDF

Info

Publication number
CN116366772A
CN116366772A CN202310388866.3A CN202310388866A CN116366772A CN 116366772 A CN116366772 A CN 116366772A CN 202310388866 A CN202310388866 A CN 202310388866A CN 116366772 A CN116366772 A CN 116366772A
Authority
CN
China
Prior art keywords
line
outbound
lines
priority
concurrency
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
Application number
CN202310388866.3A
Other languages
Chinese (zh)
Inventor
谢彰桓
王海
刘丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202310388866.3A priority Critical patent/CN116366772A/en
Publication of CN116366772A publication Critical patent/CN116366772A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/527Centralised call answering arrangements not requiring operator intervention
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2254Arrangements for supervision, monitoring or testing in networks
    • H04M3/2263Network management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/36Statistical metering, e.g. recording occasions when traffic exceeds capacity of trunks
    • H04M3/367Traffic or load control
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an outbound resource processing method and device, and relates to the field of robot voice outbound. The method comprises the steps of obtaining outbound tasks, configuring a plurality of lines corresponding to the outbound tasks according to the concurrency quantity of the outbound tasks so as to determine the concurrency quantity and the priority corresponding to each line; screening the plurality of lines to obtain first lines, determining outbound traffic matched with the concurrency quantity of each first line according to a preset proportion, and generating a hash value corresponding to each first line so as to route the corresponding outbound traffic to the corresponding first line through the hash value; and monitoring the outbound success rate of each first line, and responding to the existence that the outbound success rate of the first line is lower than a preset threshold value, and matching to obtain a second line with priority lower than that of the first line so as to switch the first line into the second line. Therefore, the embodiment of the invention can solve the technical problem of low dispatching efficiency of the existing outbound line.

Description

Outbound resource processing method and device
Technical Field
The invention relates to the field of robot voice outbound, in particular to an outbound resource processing method and device.
Background
At present, the intelligent voice outbound application is very wide, and convenient and quick timing return visit, notification, investigation, customer intention collection and other services are provided for enterprise users, so that the outbound efficiency of a user group can be greatly improved, the outbound cost of the user group is reduced, and the income increase of the user group is promoted.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
when enjoying the convenient and efficient intelligent outbound function, the situation that the outbound system line is unstable is common for users. In the prior art: the part of outbound systems multiplex one line resource for a plurality of outbound tasks, so that the dispatching can not be carried out when a line has a problem, and the influence range is larger; the partial outbound system configures line resources for each outbound task independently, so that when a line is in a problem, all outbound lists corresponding to the outbound tasks are affected, and the problem line cannot be scheduled similarly; the partial outbound system configures a calling number for each outbound task separately, and configures redundant disaster recovery lines for each calling number so as to perform line dispatching when abnormal, but needs to pay attention to task states in real time in the actual application process, needs to manually stop tasks when the call completing rate is reduced, and re-outbound after line adjustment, thereby causing low line dispatching efficiency.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a method and a device for processing outbound resources, which can solve the technical problem of low scheduling efficiency of the existing outbound line.
In order to achieve the above object, according to an aspect of an embodiment of the present invention, there is provided an outbound resource processing method, including obtaining outbound tasks, configuring a plurality of lines corresponding to the outbound tasks according to a concurrency number of the outbound tasks, so as to determine a concurrency number and a priority corresponding to each line; screening the plurality of lines to obtain first lines, determining outbound traffic matched with the concurrency quantity of each first line according to a preset proportion, and generating a hash value corresponding to each first line so as to route the corresponding outbound traffic to the corresponding first line through the hash value; and monitoring the outbound success rate of each first line, and responding to the existence that the outbound success rate of the first line is lower than a preset threshold value, and matching to obtain a second line with priority lower than that of the first line so as to switch the first line into the second line.
Optionally, configuring a plurality of lines corresponding to the outbound task includes:
and distributing a corresponding calling number for the outbound task, determining a line service provider corresponding to the outbound task according to the calling number, and selecting lines based on the concurrence number of the outbound task in all lines included by the line service provider.
Optionally, determining the corresponding concurrency number and priority of each line includes:
determining that the sum of the concurrent numbers of all the high-priority lines is greater than or equal to the concurrent number of the outbound tasks; and determining that the sum of the concurrency numbers of all the next-highest priority lines is greater than or equal to the concurrency number of any one of the high priority lines.
Optionally, the method comprises:
the first line includes all high priority lines.
Optionally, routing the corresponding outbound traffic to the corresponding first line through the hash value includes:
and in response to failure of acquiring outbound traffic by the first line, screening to obtain a second line or a plurality of second lines with priority lower than that of the first line and concurrency number greater than or equal to that of the first line, so as to replace the first line by using the second line or the plurality of second lines.
Optionally, monitoring the outbound success rate of each first line includes:
the hash data structure based on the remote dictionary service monitors the outbound success rate of each first line by utilizing a sliding window algorithm.
Optionally, to switch the first line to the second line includes:
a hash value corresponding to the second line is generated to route outbound traffic of the first line to the second line through the hash value.
In addition, the invention also provides an outbound resource processing device, which comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for configuring a plurality of lines corresponding to the outbound task according to the concurrence quantity of the outbound task so as to determine the concurrence quantity and the priority corresponding to each line; the configuration module is used for screening the plurality of lines to obtain first lines, determining outbound traffic matched with the concurrency quantity of each first line according to a preset proportion, and generating a hash value corresponding to each first line so as to route the corresponding outbound traffic to the corresponding first line through the hash value; the monitoring module is used for monitoring the outbound success rate of each first line, and responding to the fact that the outbound success rate of the first line is lower than a preset threshold value, and matching to obtain a second line with priority lower than that of the first line so as to switch the first line into the second line.
One embodiment of the above invention has the following advantages or benefits: according to the method and the device, the outbound task is acquired, and the plurality of lines corresponding to the outbound task are configured according to the concurrency quantity of the outbound task so as to determine the concurrency quantity and the priority corresponding to each line, so that the processes of receiving the outbound task and configuring the normal use line and the disaster recovery line corresponding to the outbound task are realized, and the effect of ensuring that the disaster recovery line is scheduled when the outbound task line is abnormal is achieved; in addition, the first circuits are obtained through screening in the circuits, outbound flow matched with the concurrency quantity of each first circuit is determined according to the preset proportion, the normal use circuits and disaster recovery circuits are distinguished, the flow required by each normal use circuit is calculated, intelligent circuit configuration of the outbound task is completed, and the outbound task is pushed to enter an execution stage; meanwhile, the hash value corresponding to each first line is generated, so that the corresponding outbound flow is routed to the corresponding first line through the hash value, the effect of distinguishing and marking each normal use line by using a hash function and accurately draining is achieved, and the flow support of each normal use line is realized; in addition, by monitoring the outbound success rate of each first line, the invention responds to the existence that the outbound success rate of the first line is lower than the preset threshold value, and matches to obtain the second line with the priority lower than the first line so as to switch the first line into the second line, thereby realizing the process of monitoring the connection rate of each normally used line by utilizing the sliding window, achieving the purpose of timely finding and replacing the abnormal line, and further improving the efficiency of line scheduling.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of the main flow of an outbound resource processing method according to a first embodiment of the present invention;
fig. 2 is a schematic illustration of outbound task association structures according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an outbound line configuration according to an embodiment of the invention;
FIG. 4 is a schematic diagram of outbound line scheduling according to an embodiment of the invention;
FIG. 5 is a schematic diagram of monitoring outbound success rate using a sliding time window in accordance with an embodiment of the invention;
fig. 6 is a schematic diagram of the main flow of an outbound resource processing method according to a second embodiment of the present invention;
fig. 7 is a schematic diagram of a main flow of an outbound resource processing method according to a third embodiment of the present invention;
fig. 8 is a schematic diagram of main modules of an outbound resource processing apparatus according to a first embodiment of the present invention;
FIG. 9 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 10 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of main flow of an outbound resource processing method according to a first embodiment of the present invention, and as shown in fig. 1, the outbound resource processing method includes:
step S101, obtaining outbound tasks, and configuring a plurality of lines corresponding to the outbound tasks according to the concurrency quantity of the outbound tasks so as to determine the concurrency quantity and the priority corresponding to each line.
In some embodiments, in order to define a line selection range corresponding to each outbound task and isolate corresponding line resources of each outbound task, when configuring a plurality of lines corresponding to the outbound task, a corresponding calling number may be allocated to the outbound task, so as to determine a line service provider corresponding to the outbound task according to the calling number, and further select lines based on the concurrent number of the outbound task in all lines included in the line service provider.
As shown in the outbound task association structure of fig. 2, three different calling numbers are respectively allocated to 3 different outbound tasks in the figure, where the setting of the calling numbers not only successfully associates the corresponding outbound tasks to the line center, but also ensures that no line resource overlap exists between the different outbound tasks, thereby being beneficial to quickly finding out a problem line when an abnormal situation occurs and effectively inhibiting the sweep range of the problem line.
For example, as shown in fig. 3, the lines named in the drawing and having the same chinese part correspond to the same line service provider, that is, "red-off 1", "red-off 2" and "red-off 3" in the drawing belong to the same line service provider, so that the outbound task needs to determine the corresponding line service provider first, and then determine the corresponding lines.
In some embodiments, each calling number corresponds to a matched plurality of line service providers, and further, each line service provider corresponds to a preset plurality of outgoing lines. The configuration has the effect that a plurality of outbound lists corresponding to each outbound task can be distributed into a plurality of corresponding outbound lines, the condition that one outbound line is abnormal to influence all outbound lists is avoided, and the effect of using a plurality of outbound lines to share the risk of line abnormality is achieved.
In some embodiments, in order to determine that each outbound task has a corresponding normal use line and disaster recovery line, when determining the corresponding concurrency number and priority of each line, it may be ensured that the sum of the concurrency numbers of all high-priority lines is greater than or equal to the concurrency number of the outbound task; and the sum of the concurrency numbers of all the next-highest priority lines is ensured to be more than or equal to the concurrency number of any high priority line. The high-priority line corresponds to a normal line, and the second-highest-priority line corresponds to a disaster recovery line. The effect of providing a certain line scheduling function under the condition of not using disaster recovery lines can be achieved by ensuring that the sum of the concurrent numbers of all normally used lines is larger than the sum of the concurrent numbers of outbound tasks; by ensuring that the sum of the concurrent numbers of all disaster recovery lines is greater than or equal to the concurrent number of any normal use line, the effect of replacing any normal use line without affecting the whole outbound task can be achieved, and the disaster coping capability of the outbound resource processing system is further improved.
As shown in the outbound route diagram configuration of fig. 3, the concurrency number of outbound tasks in the diagram is 1200, and 7 routes are configured for the outbound tasks in total; the total of 5 normal use lines with high priority is 1500, which is slightly greater than the concurrency number 1200 of outbound tasks, so that the line adjustment with a certain limit can be performed when disaster prevention lines cannot be used normally; the sum of the concurrency numbers of the 2 lines with the next highest priority is 600, which is equal to the concurrency number of the normal use line 'red off 2' in the figure, namely the line with the highest concurrency number in all the normal use lines, so that the disaster recovery line can replace any normal use line when abnormal, the effect that the concurrency number is insufficient and the corresponding outbound task is limited can be achieved.
Step S102, screening the plurality of lines to obtain first lines, determining outbound traffic matched with the concurrence quantity of each first line according to a preset proportion, and generating a hash value corresponding to each first line so as to route the corresponding outbound traffic to the corresponding first line through the hash value.
In some embodiments, to ensure that the number of concurrency of the first line is sufficient, it may be ensured that the first line includes all high priority lines when screening the first line.
In an embodiment, the outbound traffic may be split by using a Hash ()% max function, so as to calculate an outbound traffic proportion corresponding to each first line, and each first line is marked by using a murmur Hash2 function, so as to prompt the traffic proportion corresponding to each first line respectively during splitting, so as to split the corresponding outbound traffic to the corresponding first line. The effect of correctly distributing outbound traffic for each normally used line is achieved through the operation of the step, so that the progress of the outbound task is advanced to the execution stage.
In some embodiments, in order to ensure normal distribution and normal use of outbound traffic, to avoid occurrence of a situation of distributing outbound traffic to an abnormal line, in response to failure of acquiring outbound traffic by a first line, a second line or a plurality of second lines with a priority lower than that of the first line and a concurrence number greater than or equal to that of the first line may be screened, so as to replace the first line with the second line or the plurality of second lines. Through the operation of the step, the abnormal line is found and replaced in time, so that the smooth progress of the outbound task is further ensured.
As shown in the outbound route scheduling diagram of fig. 4, the upper half of fig. 4 is a process of distributing outbound traffic to 5 first routes obtained by original screening, wherein a number of 1-100 is a proportion of outbound traffic distributed correspondingly to each first route, which can be understood as the function of the hash value, i.e. routing the outbound traffic of the corresponding proportion to the matched first route; the lower half of fig. 4 is a schematic diagram of using the "crowd-in 1" line and the "crowd-in 2" line to replace the "crowd-in 2" line when the "crowd-in 2" line is abnormal, because if and only if the sum of the concurrent numbers of all 2 disaster recovery lines (i.e. the "crowd-in 1" line and the "crowd-in 2" line) is equal to the concurrent number of the "crowd-in 2" line, the outbound traffic distribution of the outbound task can be ensured not to be affected only by using all 2 disaster recovery lines.
Step S103, monitoring the outbound success rate of each first line, and responding to the existence of the outbound success rate of the first line being lower than a preset threshold value, and matching to obtain a second line with priority lower than that of the first line so as to switch the first line into the second line.
In some embodiments, to improve the accuracy of the listening, the outbound success rate of each first line may be listened to using a sliding window algorithm using a hash data structure based on a remote dictionary service.
For example, as shown in the sliding time window monitoring schematic diagram of fig. 5, the set time window is 10 minutes, so as to dynamically monitor the outbound success rate of a plurality of outbound lines, the schematic diagram is that when line1 is out of question, if the line with priority 1 still can meet the request concurrence at this time, no switching is needed, if the line with priority 1 cannot meet the request concurrence, the line with priority 2 can be switched to in real time, for example, the right line4 is represented from light (light gray) to dark (dark gray), and line1 is represented from dark (dark gray) to light (light gray).
In some embodiments, to minimize the impact of switching outbound lines, a hash value corresponding to the second line may be generated when the first line is switched to the second line to route outbound traffic of the first line to the second line through the hash value.
Fig. 6 is a schematic diagram of a main flow of an outbound resource processing method according to a second embodiment of the present invention, the outbound resource processing method including:
step S601, an outbound task is acquired.
Step S602, a corresponding calling number is allocated for the outbound task, so as to determine a line service provider corresponding to the outbound task according to the calling number.
Preferably, the relationship between the calling number and the corresponding line service provider should be a one-to-many correspondence.
Step S603, selecting a plurality of lines corresponding to the outbound task from all lines included in the line service provider according to the concurrency number of the outbound task, and determining the concurrency number and priority corresponding to each line.
Preferably, determining that the sum of the concurrency numbers of all the high-priority lines is greater than or equal to the concurrency number of the outbound task; and determining that the sum of the concurrency numbers of all the next-highest priority lines is greater than or equal to the concurrency number of any one of the high priority lines. .
Step S604, screening to obtain a plurality of first lines with priority as a target value, and determining outbound traffic matched with the concurrence quantity of each first line according to a preset proportion.
Preferably, the outbound traffic may be split by using a hash function, so as to calculate an outbound traffic proportion corresponding to each first line.
Step S605 generates a hash value corresponding to each first line, so as to route the corresponding outbound traffic to the corresponding first line through the hash value.
In step S606, in response to failure of the first line to acquire outbound traffic, screening to obtain a second line or a plurality of second lines with priority lower than that of the first line and the concurrency number greater than or equal to that of the first line, so as to replace the first line with the second line or the plurality of second lines.
In step S607, the outbound success rate of each line to which outbound traffic has been allocated is monitored using a sliding window algorithm.
Fig. 7 is a schematic diagram of a main flow of an outbound resource processing method according to a third embodiment of the present invention, the outbound resource processing method including:
step S701, obtaining an outbound task.
Step S702, a corresponding calling number is allocated to the outbound task, so as to determine a line service provider corresponding to the outbound task according to the calling number.
Preferably, the relationship between the calling number and the corresponding line service provider should be a one-to-many correspondence.
Step S703, selecting a plurality of lines corresponding to the outbound task from all lines included in the line service provider according to the concurrency number of the outbound task, and determining the concurrency number and priority corresponding to each line.
Preferably, determining that the sum of the concurrency numbers of all the high-priority lines is greater than or equal to the concurrency number of the outbound task; and determining that the sum of the concurrency numbers of all the next-highest priority lines is greater than or equal to the concurrency number of any one of the high priority lines. .
Step S704, screening to obtain a plurality of first lines with priority as a target value, and determining outbound traffic matched with the concurrence quantity of each first line according to a preset proportion.
Preferably, the outbound traffic may be split by using a hash function, so as to calculate an outbound traffic proportion corresponding to each first line.
Step S705, generating a hash value corresponding to each first line, so as to route the corresponding outbound traffic to the corresponding first line through the hash value.
Step S706 monitors the outbound success rate of each first line using a sliding window algorithm.
In step S707, in response to the outbound success rate of the first line being lower than a preset threshold, screening to obtain a second line or a plurality of second lines with priority lower than the first line and the concurrence number greater than or equal to the first line.
Step S708, generating a hash value corresponding to the second line or the plurality of second lines, so as to route outbound traffic of the first line to the second line through the hash value.
Step S709, switching the first line to the second line or the plurality of second lines.
Fig. 8 is a schematic diagram of main modules of an outbound resource processing device according to an embodiment of the present invention, and as shown in fig. 8, the outbound resource processing device 800 includes an acquisition module 801, a configuration module 802, and a listening module 803. The acquiring module 801 acquires an outbound task, and configures a plurality of lines corresponding to the outbound task according to the concurrency number of the outbound task so as to determine the concurrency number and the priority corresponding to each line; the configuration module 802 screens the plurality of lines to obtain first lines, determines outbound traffic matched with the concurrence quantity of each first line according to a preset proportion, and generates a hash value corresponding to each first line so as to route the corresponding outbound traffic to the corresponding first line through the hash value; the monitoring module 803 monitors the outbound success rate of each first line, and in response to the outbound success rate of the first line being lower than a preset threshold, matches a second line with a priority lower than that of the first line, so as to switch the first line to the second line.
In some embodiments, the obtaining module 801, when configuring a plurality of lines corresponding to the outbound task, is further configured to: and distributing a corresponding calling number for the outbound task, determining a line service provider corresponding to the outbound task according to the calling number, and selecting lines based on the concurrence number of the outbound task in all lines included by the line service provider.
In some embodiments, the obtaining module 801 is further configured to determine a concurrency number and a priority corresponding to each line: determining that the sum of the concurrent numbers of all the high-priority lines is greater than or equal to the concurrent number of the outbound tasks; and determining that the sum of the concurrency numbers of all the next-highest priority lines is greater than or equal to the concurrency number of any one of the high priority lines.
In some embodiments, the configuration module 802 is further configured to: it is determined that the first line includes all high priority lines.
In some embodiments, the configuration module 802 is further configured to, when routing the corresponding outbound traffic to the corresponding first line through the hash value: and in response to failure of acquiring outbound traffic by the first line, screening to obtain a second line or a plurality of second lines with priority lower than that of the first line and concurrency number greater than or equal to that of the first line, so as to replace the first line by using the second line or the plurality of second lines.
In some embodiments, the listening module 803, when listening to the outbound success rate of each first line, is further configured to: the hash data structure based on the remote dictionary service monitors the outbound success rate of each first line by utilizing a sliding window algorithm.
In some embodiments, the listening module 803, when switching the first line to the second line, is further configured to: a hash value corresponding to the second line is generated to route outbound traffic of the first line to the second line through the hash value.
In the outbound resource processing method and the outbound resource processing device of the present invention, the specific implementation content has a corresponding relationship, so the repetitive content will not be described.
Fig. 9 illustrates an exemplary system architecture 900 to which the outbound resource processing method or outbound resource processing device of embodiments of the present invention may be applied.
As shown in fig. 9, system architecture 900 may include terminal devices 901, 902, 903, a network 904, and a server 905. The network 904 is the medium used to provide communications links between the terminal devices 901, 902, 903 and the server 905. The network 904 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 905 over the network 904 using the terminal devices 901, 902, 903 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 901, 902, 903.
Terminal devices 901, 902, 903 may be a variety of electronic devices having outbound resource processing screens and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 905 may be a server that provides various services, such as a background management server (by way of example only) that provides support for users using the terminal devices 901, 902, 903. The background management server may analyze and process the received data such as the product information query request, and feedback the processing result (e.g., the target push information, the product information—only an example) to the terminal device.
It should be noted that, the outbound resource processing method provided in the embodiment of the present invention is generally executed by the server 905, and accordingly, the computing device is generally disposed in the server 905.
It should be understood that the number of terminal devices, networks and servers in fig. 9 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 10, there is illustrated a schematic diagram of a computer system 1000 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 10 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU) 1001, which can execute various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM1003, various programs and data required for the operation of the computer system 1000 are also stored. The CPU1001, ROM1002, and RAM1003 are connected to each other by a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output portion 1007 including a Cathode Ray Tube (CRT), a liquid crystal outbound resource processor (LCD), etc., and a speaker, etc.; a storage portion 1008 including a hard disk or the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The drive 1010 is also connected to the I/O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed as needed in the drive 1010, so that a computer program read out therefrom is installed as needed in the storage section 1008.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 1009, and/or installed from the removable medium 1011. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 1001.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes an acquisition module, a configuration module, and a listening module. The names of these modules do not constitute a limitation on the module itself in some cases.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to include obtaining outbound tasks, configuring a plurality of lines corresponding to the outbound tasks according to a number of concurrences of the outbound tasks to determine a number of concurrences and a priority corresponding to each line; screening the plurality of lines to obtain first lines, determining outbound traffic matched with the concurrency quantity of each first line according to a preset proportion, and generating a hash value corresponding to each first line so as to route the corresponding outbound traffic to the corresponding first line through the hash value; and monitoring the outbound success rate of each first line, and responding to the existence that the outbound success rate of the first line is lower than a preset threshold value, and matching to obtain a second line with priority lower than that of the first line so as to switch the first line into the second line.
According to the technical scheme provided by the embodiment of the invention, the technical problem of low dispatching efficiency of the existing outbound line can be solved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. An outbound resource processing method, comprising:
acquiring outbound tasks, configuring a plurality of lines corresponding to the outbound tasks according to the concurrency quantity of the outbound tasks so as to determine the concurrency quantity and the priority corresponding to each line;
screening the plurality of lines to obtain first lines, determining outbound traffic matched with the concurrency quantity of each first line according to a preset proportion, and generating a hash value corresponding to each first line so as to route the corresponding outbound traffic to the corresponding first line through the hash value;
and monitoring the outbound success rate of each first line, and responding to the existence that the outbound success rate of the first line is lower than a preset threshold value, and matching to obtain a second line with priority lower than that of the first line so as to switch the first line into the second line.
2. The method of claim 1, wherein configuring a plurality of lines corresponding to the outbound task comprises:
and distributing a corresponding calling number for the outbound task, determining a line service provider corresponding to the outbound task according to the calling number, and selecting lines based on the concurrence number of the outbound task in all lines included by the line service provider.
3. The method of claim 1, wherein determining the corresponding number and priority of concurrency for each line comprises:
determining that the sum of the concurrent numbers of all the high-priority lines is greater than or equal to the concurrent number of the outbound tasks;
and determining that the sum of the concurrency numbers of all the next-highest priority lines is greater than or equal to the concurrency number of any one of the high priority lines.
4. The method of claim 1, wherein the first line comprises all high priority lines.
5. The method of claim 1, wherein routing the respective outbound traffic to the corresponding first line through the hash value comprises:
and in response to failure of acquiring outbound traffic by the first line, screening to obtain a second line or a plurality of second lines with priority lower than that of the first line and concurrency number greater than or equal to that of the first line, so as to replace the first line by using the second line or the plurality of second lines.
6. The method of claim 1, wherein listening for outbound success rates for each first line comprises:
the hash data structure based on the remote dictionary service monitors the outbound success rate of each first line by utilizing a sliding window algorithm.
7. The method of claim 1, wherein switching the first line to the second line comprises:
a hash value corresponding to the second line is generated to route outbound traffic of the first line to the second line through the hash value.
8. An outbound resource processing device, comprising:
the acquisition module is used for configuring a plurality of lines corresponding to the outbound task according to the concurrency quantity of the outbound task so as to determine the concurrency quantity and the priority corresponding to each line;
the configuration module is used for screening the plurality of lines to obtain first lines, determining outbound traffic matched with the concurrency quantity of each first line according to a preset proportion, and generating a hash value corresponding to each first line so as to route the corresponding outbound traffic to the corresponding first line through the hash value;
the monitoring module is used for monitoring the outbound success rate of each first line, and responding to the fact that the outbound success rate of the first line is lower than a preset threshold value, and matching to obtain a second line with priority lower than that of the first line so as to switch the first line into the second line.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-7.
10. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-7.
CN202310388866.3A 2023-04-12 2023-04-12 Outbound resource processing method and device Pending CN116366772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310388866.3A CN116366772A (en) 2023-04-12 2023-04-12 Outbound resource processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310388866.3A CN116366772A (en) 2023-04-12 2023-04-12 Outbound resource processing method and device

Publications (1)

Publication Number Publication Date
CN116366772A true CN116366772A (en) 2023-06-30

Family

ID=86904707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310388866.3A Pending CN116366772A (en) 2023-04-12 2023-04-12 Outbound resource processing method and device

Country Status (1)

Country Link
CN (1) CN116366772A (en)

Similar Documents

Publication Publication Date Title
CN109936613B (en) Disaster recovery method and device applied to server
CN111357257B (en) System and method for load balancing media server instances
CN111767157B (en) Request processing method and device based on service grid
CN110321252B (en) Skill service resource scheduling method and device
CN110620722B (en) Order processing method and device
CN109428926B (en) Method and device for scheduling task nodes
CN108093036B (en) Method and device for acquiring resources
US9471389B2 (en) Dynamically tuning server placement
CN112860505A (en) Method and device for regulating and controlling distributed clusters
CN110071952B (en) Service call quantity control method and device
CN116366772A (en) Outbound resource processing method and device
CN116009768A (en) Data acquisition method and device
US11316765B2 (en) Load balancing across bandwidth carrying circuits
US20220035669A1 (en) Method for allocating computing resources, electronic device, and computer program product
CN114745276A (en) Switch bandwidth adjusting method and device, electronic equipment and computer readable medium
CN116340011A (en) Event subscription method, device and system based on blockchain
CN113760469A (en) Distributed computing method and device
CN113448652A (en) Request processing method and device
CN110868477A (en) Task scheduling method, device and system
CN115118762B (en) Session processing method, client and system
US11343151B2 (en) Automatic network scaling for data centers
CN112968975B (en) Service request processing method and device
CN114584547B (en) API (application program interface) calling method and device
CN108600025B (en) Method and device for automatic disaster recovery of system
CN113760319B (en) Method and system for updating application

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