CN106101468B - Method and device for determining transmission link - Google Patents

Method and device for determining transmission link Download PDF

Info

Publication number
CN106101468B
CN106101468B CN201610381777.6A CN201610381777A CN106101468B CN 106101468 B CN106101468 B CN 106101468B CN 201610381777 A CN201610381777 A CN 201610381777A CN 106101468 B CN106101468 B CN 106101468B
Authority
CN
China
Prior art keywords
sip
servers
server
rate
session initiation
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.)
Active
Application number
CN201610381777.6A
Other languages
Chinese (zh)
Other versions
CN106101468A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610381777.6A priority Critical patent/CN106101468B/en
Publication of CN106101468A publication Critical patent/CN106101468A/en
Application granted granted Critical
Publication of CN106101468B publication Critical patent/CN106101468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/12Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal
    • H04M7/1205Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal where the types of switching equipement comprises PSTN/ISDN equipment and switching equipment of networks other than PSTN/ISDN, e.g. Internet Protocol networks
    • H04M7/1275Methods and means to improve the telephone service quality, e.g. reservation, prioritisation or admission control

Landscapes

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

Abstract

The invention discloses a method and a device for determining a transmission link, and belongs to the technical field of internet. The method is applied to a scene that a first terminal in an IP network communicates with a second terminal in a PSTN network, and comprises the following steps: when a communication request sent by a first terminal is received, first performance parameters of a plurality of first transfer service platforms in a PSTN network are obtained; determining a target transit service platform from the plurality of first transit service platforms according to the first performance parameters of the plurality of first transit service platforms; and determining a transmission link between the first terminal and the second terminal according to the target transit service platform. In the communication process, the transfer service platform with the best communication quality is selected from the plurality of first transfer service platforms according to the first performance parameters of the plurality of first transfer service platforms, and the transmission link is determined based on the selected transfer service platform, so that the communication process is ensured to have good communication quality.

Description

Method and device for determining transmission link
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and an apparatus for determining a transmission link.
Background
With the development of internet technology, there are two main ways of voice communication: one is voice communication based on PSTN (public switched Telephone Network) networks, e.g., communication services provided by different operators; another is voice communication based on an IP (Internet Protocol) network, for example, based on communication services provided by various instant applications. Because the users of the PSTN network and the IP network are distributed in different areas, in order to enable the users in different areas and different networks to communicate more smoothly, the PSTN network and the IP network are respectively provided with a plurality of servers in different areas, and a plurality of transmission links can be adopted for transmission in the process of realizing the communication from a calling end to a receiving end. Since the performance of different servers is different and the transmission quality of the transmission link determined by different servers is also different, in order to provide a voice communication service that can be provided to users well, it is necessary to determine the transmission link and the transit server node.
In a scenario of voice communication in an IP network, currently, a server with better performance is selected from a plurality of servers in the IP network as a service node on a transmission link according to performance parameters, network states, and the like of each server in the IP network, and then the transmission link between a calling end and a receiving end is determined according to the service node.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
because the transmission link between the calling end and the receiving end is composed of the transmission link in the IP network and the transmission link in the PSTN network, the server quality data and the link state in the PSTN network cannot be directly obtained in the IP network, and it is difficult to ensure that the calling end and the receiving end have better communication quality only according to the transmission link and the server quality data in the IP network.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for determining a transmission link. The technical scheme is as follows:
in one aspect, a method for determining a transmission link is provided, where the method is applied in a scenario where a first terminal in an internet protocol IP network communicates with a second terminal in a public switched telephone network PSTN network, and the method includes:
when a communication request sent by the first terminal is received, acquiring first performance parameters of a plurality of first transit service platforms in the PSTN network;
determining a target transit service platform from the plurality of first transit service platforms according to the first performance parameters of the plurality of first transit service platforms;
and determining a transmission link between the first terminal and the second terminal according to the target transit service platform.
In another aspect, an apparatus for determining a transmission link is provided, where the apparatus is applied in a scenario where a first terminal in an internet protocol IP network communicates with a second terminal in a public switched telephone network PSTN network, and the apparatus includes:
a first obtaining module, configured to obtain first performance parameters of multiple first transit service platforms located in the PSTN network when receiving a communication request sent by the first terminal;
the first determination module is used for determining a target transit service platform from the plurality of first transit service platforms according to the first performance parameters of the plurality of first transit service platforms;
and the second determining module is used for determining a transmission link between the first terminal and the second terminal according to the target transit service platform.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the communication process, according to the first performance parameters of the first transit service platforms, the transit service platform with the best communication quality is selected from the first transit service platforms, and the transmission link is determined based on the selected transit service platform, so that the good communication quality is ensured in each communication process.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of one embodiment of the present invention providing determination of an existing transmission link;
fig. 2 is an architecture diagram of a determination system for a transmission link provided in accordance with another embodiment of the present invention;
fig. 3 is a flowchart of a method for determining a transmission link according to another embodiment of the present invention;
fig. 4 is a flowchart of a method for determining a transmission link according to another embodiment of the present invention;
fig. 5 is a schematic diagram of a transmission link determination process according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a transmission link determining apparatus according to another embodiment of the present invention;
fig. 7 is an illustration of a server for determination of transmission links in accordance with an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
VOIP (Voice over Internet Protocol) is a new service for Voice communication using Internet technology or network technology. VOIP is gaining favor to more and more users because it can transmit voice, fax, video, etc. over IP networks for free.
Fig. 1 shows a background architecture diagram of an existing VOIP system, as shown in fig. 1, during voice communication, a media stream server cluster in an IP network mainly selects an available communication link from quality lists from a calling end to different equipment rooms according to currently available media stream servers and data such as network quality lists from the calling end to different (historically used) equipment rooms, according to location information of the calling end and a receiving end, information of an Internet Service Provider (ISP), and the like, and uses the media stream server located on the available communication link as a server node.
In the scenario of communicating with the PSTN network in the cross-IP network, because the transmission mechanisms of the IP network and the PSTN network are different, the VOIP system shown in fig. 1 is difficult to acquire comprehensive and accurate data on the PSTN network side. In order to improve the communication quality, fig. 2 shows a background architecture diagram of a determination system of a transmission link, as can be seen from fig. 2, the system includes a calling end, a VOIP platform, a plurality of transit service platforms, and a receiving end.
The calling terminal is a terminal installed with various voice communication applications, such as a smart phone, a personal computer, a tablet computer and the like, and based on any installed voice communication application, the calling terminal can initiate a call to the calling terminal installed with the same voice communication application in an IP network and also can initiate a call to the calling terminal located in a PSTN network.
The relay service platform is located in the PSTN network, and an SIP (session initiation Protocol) server cluster, a media stream server cluster, and the like are erected on the relay service platform. The SIP server cluster is used for receiving various signaling data sent by the calling terminal through an IP network based on different voice communication applications, and sending the various signaling data sent by the calling terminal to the receiving terminal through a PSTN network. The SIP server cluster includes a plurality of SIP servers, such as SIP server 1, SIP server 2. The media stream server cluster is used for receiving various media data sent by the calling terminal through the IP network based on different voice communication applications, and sending the various media data sent by the calling terminal to the receiving terminal through the PSTN network. The media stream server cluster comprises a plurality of media stream servers, such as a media stream server 1, a media stream server 2. In the communication process, only the SIP server cluster and the media stream server cluster on the transit service platform are open to the VOIP platform.
And a VOIP signaling server cluster, a scheduling server and an app media stream server cluster are erected on the VOIP platform. The VOIP signaling server cluster transmits signaling data sent by a calling end to the SIP server cluster on the transfer service platform, and comprises an SIP server cluster which is used for transmitting the signaling data applied through voice communication. The SIP server cluster includes a plurality of SIP servers, such as SIP server 1, SIP server 2. The app media stream server cluster includes a media stream server cluster for transmitting voice data through a voice communication application. The media stream server cluster comprises a plurality of media stream servers such as a media stream server 1, a media stream server 2. The dispatching server stores the SIP server list on the VOIP platform, the SIP server list on the transfer service platform and the media stream server list on the VOIP platform in advance, and the media stream servers on the transfer service platform are dispersed in the floor machine rooms of each operator, so the media stream server list on the transfer service platform is not stored in the dispatching server. The scheduling server can schedule the transit service platform, the SIP server on the VOIP platform and the media stream server on the VOIP platform.
The receiving end is located in the PSTN network, and can communicate with the calling end located in the IP network through the PSTN network, and the receiving end can be a smart phone, a fixed telephone, and the like.
In this embodiment, the scheduling server may communicate with a SIP server cluster, a VOIP signaling server cluster, and an app media stream server cluster on the transit service platform, the VOIP signaling server cluster may communicate with the SIP server cluster on the transit service platform, and the app media stream server cluster may communicate with the media stream server cluster on the transit service platform.
Based on the architecture diagram of the transmission link determination system shown in fig. 2, an embodiment of the present invention provides a transmission link determination method, where the method is applied to a scenario where a first terminal in an IP network communicates with a second terminal in a PSTN network, and referring to fig. 3, a method flow provided by the embodiment of the present invention includes:
301. when a communication request is sent by a terminal, first performance parameters of a plurality of first transfer service platforms in a PSTN network are obtained.
302. And the first performance parameter of the first transit service platform determines a target transit service platform from the plurality of first transit service platforms.
303. And the transfer service platform determines a transmission link between the first terminal and the second terminal.
According to the method provided by the embodiment of the invention, in the communication process, the transfer service platform with the best communication quality is selected from the plurality of first transfer service platforms according to the first performance parameters of the plurality of first transfer service platforms, and the transmission link is determined based on the selected transfer service platform, so that the good communication quality is ensured in each communication process.
In another embodiment of the present invention, the first performance parameter includes a network connection rate, a connection success rate, a network delay, a network packet loss rate, an answering rate, an excessively short call duration rate, a normal hang-up rate, and a spare rate of the first relay platform.
In another embodiment of the present invention, determining a target transit service platform from a plurality of first transit service platforms according to a first performance parameter of the plurality of first transit service platforms includes:
determining a plurality of second transit service platforms from the plurality of first transit service platforms according to first performance parameters of the plurality of first transit service platforms, wherein the second transit service platforms are the first transit service platforms with network communication rate, connection success rate, network time delay, network packet loss rate, answering rate, too short call duration rate, normal hang-up rate and vacancy rate larger than a first threshold;
calculating actual call quality values of a plurality of second transit service platforms;
acquiring a weighted value of the actual call quality value of each second transit service platform in the sum of the actual call quality values of all the second transit service platforms;
and determining a target transit service platform from the plurality of second transit service platforms by adopting a specified algorithm according to the weight value corresponding to each second transit service platform.
In another embodiment of the present invention, calculating the actual call quality values of the plurality of second transit service platforms includes:
for any second transit service platform, the following formula is applied to calculate the reference call quality value of the second transit service platform:
Q=W*0.6a*0.95b*c*d*e*f*g
wherein Q represents a reference call quality value of the second transit service platform, W represents a designated weight value, a represents a network packet loss rate, b represents a network delay, c represents a network communication rate, d represents a connection power, e represents an answering rate, f represents an excessively short call duration rate, and g represents a normal hang-up rate;
if the vacancy rate of the second transit service platform is larger than a second threshold value, taking the reference call quality value as an actual call quality value of the second transit service platform;
and if the vacancy rate of the second transit service platform is smaller than a second threshold value, taking the product of the reference call quality value and the vacancy rate of the second transit service platform as the actual call quality value of the second transit service platform.
In another embodiment of the present invention, the method further comprises:
acquiring second performance parameters of a plurality of first Session Initiation Protocol (SIP) servers in the target transit service platform;
determining a first target SIP server from the plurality of first SIP servers according to the second performance parameters of the plurality of first SIP servers;
and determining a transmission link between the first terminal and the second terminal according to the target transit service platform and the first target SIP server.
In another embodiment of the present invention, the second performance parameter includes a network connection rate, a connection success rate, and a vacancy rate of the first SIP server.
In another embodiment of the present invention, determining a first target SIP server from the plurality of first SIP servers according to the second performance parameter of the plurality of first SIP servers comprises:
determining a plurality of second SIP servers from the plurality of first SIP servers according to second performance parameters of the plurality of first SIP servers, wherein the second SIP servers are the first SIP servers of which the network communication rate, the connection success rate and the vacancy rate are all larger than a third threshold value;
acquiring the weight value of the vacancy rate of each second SIP server in the sum of the vacancy rates of all the first SIP servers;
and determining a first target SIP server from the plurality of second SIP servers by adopting a specified algorithm according to the weight value corresponding to each second SIP server.
In another embodiment of the present invention, after determining the first target SIP server, the method further includes:
and acquiring the position information of the first target SIP server according to the IP address of the first target SIP server.
In another embodiment of the present invention, the method further comprises:
acquiring third performance parameters of a plurality of third SIP servers in the IP network;
determining a second target SIP server from the plurality of third SIP servers according to a third performance parameter of the plurality of third SIP servers;
and determining a transmission link between the first terminal and the second terminal according to the target transfer service platform, the first target SIP server and the second target SIP server.
In another embodiment of the present invention, the third performance parameter includes a network connection rate, a connection success rate, and a vacancy rate of the third SIP server.
In another embodiment of the present invention, determining a second target SIP server from the plurality of third SIP servers according to a third performance parameter of the plurality of third SIP servers comprises:
determining a plurality of fourth SIP servers from the plurality of third SIP servers according to third performance parameters of the plurality of third SIP servers, wherein the fourth SIP servers are third SIP servers of which the network communication rate, the connection success rate and the vacancy rate are all larger than a fourth threshold;
determining a plurality of fifth SIP servers from the plurality of fourth SIP servers according to the position information of the first target SIP server;
acquiring the weight value of the vacancy rate of each fifth SIP server in the sum of the vacancy rates of all fifth SIP servers;
and determining a second target SIP server from the plurality of fifth SIP servers by adopting a specified algorithm according to the weight value corresponding to each fifth SIP server.
In another embodiment of the present invention, determining a plurality of fifth SIP servers from the plurality of fourth SIP servers according to the location information of the first target SIP server includes:
acquiring the position information of a plurality of fourth SIP servers;
for any fourth SIP server, judging whether the position information of the fourth SIP server is the same as the position information of the first target SIP server;
if the position information of the fourth SIP server is the same as the position information of the first target SIP server, taking the fourth SIP server as a fifth SIP server;
and if the position information of the plurality of fourth SIP servers is different from the position information of the first target SIP server, taking the plurality of fourth SIP servers as a plurality of fifth SIP servers.
In another embodiment of the present invention, the method further comprises:
acquiring fourth performance parameters of a plurality of first media stream servers in the IP network;
determining a target media stream server from the plurality of first media stream servers according to the fourth performance parameters of the plurality of first media stream servers and the position information of the second terminal;
and determining a transmission link between the first terminal and the second terminal according to the target transit service platform and the target media stream server.
In another embodiment of the present invention, the fourth performance parameter includes a network delay, a network packet loss rate, and a vacancy rate of the first media streaming server.
In another embodiment of the present invention, determining a target media streaming server from among a plurality of first media streaming servers according to fourth performance parameters of the plurality of first media streaming servers and location information of the second terminal includes:
determining a plurality of second media stream servers from the plurality of first media stream servers according to fourth performance parameters of the plurality of first media stream servers, wherein the second media stream servers are the first media stream servers of which the network delay, the network packet loss rate and the vacancy rate are all larger than a fifth threshold;
acquiring the position information of a plurality of third media stream servers in the target transit service platform, wherein the position information of the plurality of third media stream servers is reported by a plurality of second media stream servers;
determining a plurality of fourth media stream servers from the plurality of second media stream servers according to the position information of the second terminal and the position information of the plurality of third media stream servers;
acquiring the weight value of the vacancy rate of each fourth media stream server in the sum of the vacancy rates of all the fourth media stream servers;
and determining a target media stream server from the plurality of fourth media stream servers by adopting a specified algorithm according to the weight value corresponding to each fourth media stream server.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Based on the architecture diagram of the transmission link determining system shown in fig. 2, an embodiment of the present invention provides a transmission link determining method, where the method is applied in a scenario where a first terminal in an IP network communicates with a second terminal in a PSTN network, where the first terminal is a calling end, the second terminal is a receiving end, and a scheduling server executes the method as an example, with reference to fig. 4, a method flow provided by the embodiment of the present invention includes:
401. when a communication request sent by a first terminal is received, a scheduling server acquires first performance parameters of a plurality of first transit service platforms in a PSTN network.
When a first terminal side user wants to carry out voice communication with a second terminal located in a PSTN network through an IP network free of charge, the first terminal side user can send a communication request to a VOIP platform through any voice communication application installed in the first terminal, and the communication request at least carries a user identifier of the first user side, an identifier of the second terminal and the like. And the VOIP platform sends the received communication request to the scheduling server in the platform. When a communication request sent by a first terminal is received, the scheduling server obtains first performance parameters of a plurality of first transit service platforms according to the obtained first performance parameters, and the first performance parameters are obtained by the scheduling server through calculation according to the latest statistical data of the first transit service platforms.
It should be noted that, since the present embodiment relates to multiple transit service platforms, in order to facilitate distinguishing different transit service platforms, in the present embodiment, an unscreened transit service platform in the determination system of the transmission link is referred to as a first transit service platform, a transit service platform screened from a plurality of first transit service platforms according to the first performance parameter is referred to as a second transit service platform, a transit service platform screened from a plurality of second transit service platforms is referred to as a target transit service platform, and the first transit service platform, the second transit service platform, and the target transit service platform are only for distinguishing and do not represent important orders of different transit service platforms.
In this embodiment, the first performance parameter includes a network connection rate, a connection success rate, a network delay, a network packet loss rate, an answering rate, an excessively short call duration rate, a normal hang-up rate, and a spare rate of the first relay platform. The spare rate comprises the spare rate of each SIP server and each media stream server on the VOIP side and the spare rate of each SIP server and each media stream server on the PSTN side. Among the first performance parameters, the network connection rate, the connection success rate, the network delay, the network packet loss rate and the VOIP side vacancy rate are VOIP side parameters, and the answering rate, the too short call duration rate, the normal hang-up rate and the PSTN side vacancy rate are PSTN side parameters.
The network connectivity rate (conn _ rate) is calculated according to the SIP signaling (REQ _ CNT) sent to each first transit service platform and the corresponding acknowledgement number (ACK _ CNT) within a statistical time (e.g., 5 minutes, 10 minutes, 15 minutes, etc.), and may be represented as (ACK _ CNT/REQ _ CNT) × 100%. The network connection rate is used for monitoring the network connection condition from each SIP server on the VOIP platform to the first transit service platform.
The connection success rate (conn _ SUCC _ rate) is calculated according to the SIP signaling (REQ _ CNT) sent to one SIP server in the first transit service platform and the response success number (SUCC _ CNT) of the SIP server within a statistical time (e.g., 5 minutes, 10 minutes, 15 minutes, etc.), and may be represented as (SUCC _ CNT/REQ _ CNT) × 100%.
The network delay (rep _ relay) is calculated according to the network delays of the media stream server on the VOIP platform and the media stream server on the first transit service platform within the statistical time (such as 5 minutes, 10 minutes, 15 minutes, etc.), and the network delays are reported to the scheduling server by the media stream server on the VOIP platform. The network delay is used for monitoring the call quality between the media stream server on the VOIP platform and the media stream server on the first transit service platform.
The network packet loss rate (rep _ loss) is calculated according to the network packet loss rates of the media stream server on the VOIP platform and the media stream server on the first transit service platform within the statistical time (e.g., 5 minutes, 10 minutes, 15 minutes, etc.), and the network packet loss rate is reported to the scheduling server by the media stream server on the VOIP platform. The network delay is used for monitoring the conversation quality between the media stream server on the VOIP platform and the media stream server on the first transit service platform.
The free rate (free _ rate) of the VOIP side includes the free rate of the SIP server and the free rate of the media streaming server. Usually, each SIP server and media stream server on the VOIP platform have their own concurrent numbers, the concurrent numbers of the VOIP side are reported to the scheduling server by each SIP server and media stream server on the VOIP platform periodically, and the scheduling server calculates the vacancy rate of each SIP server according to the concurrent numbers of each SIP server and the data volume of the currently transmitted signaling data; and the scheduling server calculates the vacancy rate of each media stream server according to the concurrency number of each media stream server and the data volume of the currently transmitted voice data.
The receiving rate (accept _ rate) is calculated according to the number of initiated PSTN CALL requests (CALL _ REQ) and the number of users normally receiving in the initiated PSTN CALL requests (APT _ CNT) within a statistical time (e.g., 5 minutes, 10 minutes, 15 minutes, etc.). The hearing rate may represent (APT _ CNT/CALL _ REQ) 100%. The answering rate is used for monitoring whether the PSTN line of the first transfer service platform is normal or not, and if the answering rate is stable within a certain range, the first transfer service platform can be determined that the PSTN network is normal.
The SHORT _ rate is calculated according to the number of CALLs (SHORT _ CNT) with the CALL duration less than the preset threshold in the normally answered CALL (CALL _ CNT) and the normally answered CALL (CALL _ CNT) within the statistical time (such as 1 day, 3 days, 5 days, etc.). The CALL duration too SHORT rate may be expressed as (SHORT _ CNT/CALL _ CNT) 100%. The too short call duration rate is used for monitoring whether the PSTN line of the first transfer service platform is normal or not, and if the too short call duration rate is stable within a certain range, the PSTN network can be determined to be normal.
The NORMAL CALL hang-up rate (NORMAL _ rate) is calculated according to the number of CALLs in the NORMAL CALL (CALL _ CNT) and the NORMAL hang-up (HANGUP _ NORMAL _ CNT) in the NORMAL CALL (CALL _ CNT) within the statistical time (e.g. 5 minutes, 10 minutes, 15 minutes, etc.). The NORMAL dropped CALL rate can be expressed as (HANGUP _ NORMAL _ CNT/CALL _ CNT) 100%. The normal hanging-up rate of the call is used for monitoring whether the PSTN line of the first transit service platform is normal, and if the normal hanging-up rate of the call is 100%, the PSTN line can be determined to be normal.
The free rate (free _ rate) on the PSTN side is calculated by the scheduling server. Because each first transit service platform has the maximum capacity of the PSTN line, and each SIP server on each first transit service platform also has the maximum concurrency number of the SIP server, the vacancy rate of the PSTN side has two dimensions, wherein one dimension is the vacancy rate of each first transit service platform, and the other dimension is the vacancy rate of each SIP server.
Because each first transit service platform is provided with a plurality of SIP servers and a plurality of media stream servers, when the first performance parameter of any first transit service platform is obtained, the first performance parameter of each SIP server and each media stream server on the first transit service platform can be obtained, and the average value of the first performance parameter is calculated according to the first performance parameter of each SIP server and each media stream server on the first transit service platform and serves as the first performance parameter of the first transit service platform.
402. And the dispatching server determines a target transfer service platform from the plurality of first transfer service platforms according to the first performance parameters of the plurality of first transfer service platforms.
When the step is implemented specifically, the following modes 4021-4024 can be adopted:
4021. the scheduling server determines a plurality of second transit service platforms from the plurality of first transit service platforms according to the first performance parameters of the plurality of first transit service platforms.
After the first performance parameters of the multiple first transit service platforms are acquired, the scheduling server compares the first performance parameters of each first transit service platform with a first threshold, and if the network connection rate, the connection success rate, the network delay, the network packet loss rate, the answering rate, the too short call time rate, the normal hang-up rate and the vacancy rate of any one first transit service platform are all greater than the first threshold, the first transit service platform is used as a second transit service platform; and if any one of the network communication rate, the connection success rate, the network delay, the network packet loss rate, the answering rate, the too short call duration rate, the normal hang-up rate and the vacancy rate of any one of the first transit service platforms is smaller than a first threshold value, the first transit service platform is excluded. The first threshold is set by the scheduling server according to the historical data, and may be 60%, 70%, 90%, and the like, and the size of the first threshold is not specifically limited in this embodiment.
4022. The dispatch server calculates actual call quality values of the plurality of second transit service platforms.
When the dispatch server calculates the actual call quality values of the plurality of second transit service platforms, the dispatch server may adopt the following steps 40221 to 40223:
40221. for any second transit service platform, the scheduling server applies the following formula to calculate the reference call quality value of the second transit service platform:
Q=W*0.6a*0.95b*c*d*e*f*g
wherein, Q represents a reference call quality value of the second transit service platform, W represents a designated weight value which can be set by a technician, a represents a network packet loss rate, b represents a network delay, c represents a network connection rate, d represents a connection power, e represents an answering rate, f represents an excessively short call duration rate, and g represents a normal hang-up rate.
In this embodiment, the vacancy rate of the second transit service platform affects the actual call quality value of the second transit service platform, and when the vacancy rate of the second transit service platform is greater than the second threshold, the actual call quality value of the second transit service platform is calculated through step 40222; when the vacancy rate of the second transit service platform is smaller than the second threshold, the actual call quality value of the second transit service platform is calculated through step 40223. The second threshold is set by the scheduling server according to the historical data, and the second threshold may be 10%, 30%, 40%, and the like, and the size of the second threshold is not specifically limited in this embodiment.
40222. And if the vacancy rate of the second transit service platform is larger than a second threshold value, the dispatching server takes the reference call quality value as the actual call quality value of the second transit service platform.
In the case that the vacancy rate of the second transit service platform is greater than the second threshold, the dispatch server may use the reference call quality calculated in step 40221 as the actual call quality value of the second transit service platform. For example, the second threshold is set to 30%, and if the obtained vacancy rate of the second transit service platform is 50%, and the reference call quality value is calculated to be 50 through the step 40221, the reference call quality value 50 is used as the actual call quality value of the second transit service platform.
40223 if the vacancy rate of the second transit service platform is less than the second threshold, the dispatch server takes the product of the reference call quality value and the vacancy rate of the second transit service platform as the actual call quality value of the second transit service platform.
And under the condition that the vacancy rate of the second transit service platform is smaller than a second threshold value, the dispatching server multiplies the reference call quality by the vacancy rate of the second transit service platform to obtain a product which is used as the actual call quality of the second transit service platform. For example, if the second threshold is set to 30%, and the obtained vacancy rate of the second transit service platform is 20%, and the reference call quality value is calculated to be 50 in the above step 40221, the actual call quality value of the second transit service platform is 20% × 50 ═ 10.
4023. And the scheduling server acquires the weighted value of the actual call quality value of each second transit service platform in the sum of the actual call quality values of all the second transit service platforms.
The dispatching server obtains the sum of the actual call quality values of all the second transit service platforms by adding the actual call quality values of all the second transit service platforms, and obtains the weighted value of the actual call quality value of each second transit service platform in the sum of the actual call quality values of all the second transit service platforms by dividing the actual call quality value of each second transit service platform by the sum of the actual call quality values of all the second transit service platforms.
For example, the dispatch server determines four second transit service platforms from the plurality of first transit service platforms according to the first performance parameters of the plurality of first transit service platforms, which are respectively a second transit service platform a, a second transit service platform B, a second transit service platform C, and a second transit service platform D, wherein the actual call quality value of the second transit service platform a is 20, the actual call value of the second transit service platform B is 25, the actual call quality value of the second transit service platform C is 25, the actual call quality value of the second transit service platform D is 30, and by adding the actual call quality value 20 of the second transit service platform a, the actual call quality value 25 of the second transit service platform B, the actual call quality value 25 of the second transit service platform C, and the actual call quality value 30 of the second transit service platform, obtaining the sum of the actual call quality values of all the second transit service platforms as 100, dividing the actual call quality value 20 of the second transit service platform A by the sum of the actual call quality values of all the second terminal service platforms as 100, and obtaining the weighted value of the second transit service platform A in the sum of the actual call quality values of all the second terminal service platforms as 0.2; dividing the actual call quality value 25 of the second transit service platform B by the sum 100 of the actual call quality values of all the second terminal service platforms to obtain the weighted value of 0.25 of the second transit service platform B in the sum of the actual call quality values of all the second terminal service platforms; dividing the actual call quality value 25 of the second transit service platform C by the sum 100 of the actual call quality values of all the second terminal service platforms to obtain the weighted value of 0.25 of the second transit service platform C in the sum of the actual call quality values of all the second terminal service platforms; dividing the actual call quality value 30 of the second transit service platform D by the sum 100 of the actual call quality values of all the second terminal service platforms to obtain a weighted value of 0.3 of the second transit service platform D in the sum of the actual call quality values of all the second terminal service platforms.
4024. And the dispatching server determines a target transit service platform from the plurality of second transit service platforms by adopting a specified algorithm according to the weight value corresponding to each second transit service platform.
In this embodiment, the designated algorithm may be a weighted random algorithm or the like. When a target transit service platform is determined from a plurality of second transit service platforms by adopting a weighted random algorithm, a weighted value corresponding to each second transit service platform is used as a probability of being selected by a scheduling server, if the weighted value corresponding to any second transit service platform is larger, the probability of being selected by the second transit service platform is correspondingly larger, and if the weighted value corresponding to any second transit service platform is smaller, the probability of being hit by the second transit service platform is correspondingly smaller.
For example, the weighted value corresponding to the second transit service platform a is 0.2, the weighted value corresponding to the second transit service platform B is 0.25, the weighted value corresponding to the second transit service platform C is 0.25, and the weighted value corresponding to the second transit service platform D is 0.3, when the scheduling server determines the target transit service platform in the four second transit service platforms, the probability that the second transit service platform a is selected is 0.2, the probability that the second transit service platform B is selected is 0.25, the probability that the second transit service platform C is selected is 0.25, and the probability that the second transit service platform D is selected is 0.3.
In this embodiment, the dispatch server optimizes the PSTN line quality of the plurality of first transit service platforms according to the first performance parameter, thereby ensuring that the transit service platform with the best quality can be selected for each call. Meanwhile, according to the real-time statistical result of the first performance parameter, the transfer service platform with poor quality is rapidly found, complaints and faults are eliminated, furthermore, the statistical result of the first performance parameter can be utilized to dynamically adjust the call volume of different transfer service platforms, and therefore different transfer service platforms are urged to actively carry out PSTN line optimization.
403. And the scheduling server acquires second performance parameters of a plurality of first Session Initiation Protocol (SIP) servers in the target transit service platform.
The second performance parameter includes a network connection rate, a connection success rate, a vacancy rate, and the like of the first SIP server. Since the scheduling server and the SIP server cluster in the target relay service platform can directly communicate, the scheduling server can obtain the latest statistical data of the network communication rate, the connection success rate, the vacancy rate, and the like of each first SIP server in the target relay service platform, and calculate the latest statistical data to obtain the second performance parameter of each first SIP server.
In order to distinguish the plurality of SIP servers on the target relay service platform, in this embodiment, all the SIP servers on the target relay service platform that are not screened are referred to as a first SIP server, the SIP server screened from the first SIP server is referred to as a second SIP service, and the SIP server screened from the second SIP server is referred to as a first target SIP server.
404. The dispatch server determines a first target SIP server from the plurality of first SIP servers based on the second performance parameters of the plurality of first SIP servers.
When the step is implemented specifically, the following steps 4041-4043 can be adopted:
4041. the dispatch server determines a plurality of second SIP servers from the plurality of first SIP servers based on the second performance parameters of the plurality of first SIP servers.
After the second performance parameters of the plurality of first SIP servers are acquired, the scheduling server compares the second performance parameters of each first SIP server with a third threshold value, and if the network communication rate, the connection success rate and the vacancy rate of any one first SIP server are all larger than the third threshold value, the first SIP server is used as a second SIP server; and if any one of the network connection rate, the connection success rate and the vacancy rate of any first SIP server is smaller than a third threshold value, excluding the first SIP server. The third threshold is set by the scheduling server according to the historical data, and may be 60%, 70%, 90%, and the like, and the size of the third threshold is not specifically limited in this embodiment.
4042. And the scheduling server acquires the weighted value of the vacancy rate of each second SIP server in the sum of the vacancy rates of all the second SIP servers.
And the scheduling server adds the vacancy rates of all the second SIP servers to obtain the sum of the vacancy rates of all the second SIP servers, and divides the vacancy rate of each second SIP server by the sum of the vacancy rates of all the second SIP servers to obtain the weighted value of the vacancy rate of each second SIP server in the sum of the vacancy rates of all the second SIP servers.
For example, the scheduling server determines four second SIP servers from the plurality of first SIP servers, namely a second SIP server a, a second SIP server B, a second SIP server C and a second SIP server D, according to the second performance parameter of the plurality of first SIP servers, wherein the vacancy rate of the second SIP server a is 30%, the vacancy rate of the second SIP server B is 20%, the vacancy rate of the second SIP server C is 25%, the vacancy rate of the second SIP server D is 25%, the sum of the vacancy rates of all the second SIP servers is 100% by adding the vacancy rate of the second SIP server a of 30%, the vacancy rate of the second SIP server B of 20%, the vacancy rate of the second SIP server C of 25% and the vacancy rate of the second SIP server D of 25%, the sum of the vacancy rates of all the second SIP servers is 100%, the vacancy rate of the second SIP server a of 30% is divided by the sum of the vacancy rates of all the second SIP servers of 100%, obtaining that the weight value of the vacancy rate of the second SIP server A in the sum of the vacancy rates of all the second SIP servers is 0.3, dividing 20% of the vacancy rate of the second SIP server B by 100% of the sum of the vacancy rates of all the second SIP servers, obtaining that the weight value of the vacancy rate of the second SIP server B in the sum of the vacancy rates of all the second SIP servers is 0.2, dividing 25% of the vacancy rate of the second SIP server C by 100% of the sum of the vacancy rates of all the second SIP servers, obtaining that the weight value of the vacancy rate of the second SIP server C in the sum of the vacancy rates of all the second SIP servers is 0.25, dividing 25% of the vacancy rate of the second SIP server D by 100% of the sum of the vacancy rates of all the second SIP servers, and obtaining that the weight value of the vacancy rate of the second SIP server D in the sum of the vacancy rates of all the second SIP servers is 0.25.
4043. And the scheduling server determines a first target SIP server from the plurality of second SIP servers by adopting a specified algorithm according to the weight value corresponding to each second SIP server.
In this embodiment, the designated algorithm may be a weighted random algorithm or the like. When a weighted random algorithm is adopted to determine a first target SIP server from a plurality of second SIP servers, a weighted value corresponding to each second SIP server is taken as the probability of being selected by a scheduling server, if the weighted value corresponding to any second SIP server is larger, the probability of being selected by the second SIP server is correspondingly larger, and if the weighted value corresponding to any second SIP server is smaller, the probability of being selected by the second SIP server is correspondingly smaller.
For example, if the weighted value corresponding to the second SIP server a is 0.3, the weighted value corresponding to the second SIP server B is 0.2, the weighted value corresponding to the second SIP server C is 0.25, and the weighted value corresponding to the second SIP server D is 0.25, then the scheduling server determines that the first target SIP server is the target of the four second SIP servers, the probability that the second SIP server a is selected is 0.3, the probability that the second SIP server B is selected is 0.2, the probability that the second SIP server C is selected is 0.25, and the probability that the second SIP server D is selected is 0.25.
In another embodiment of the present invention, after the scheduling server determines the first target SIP server, the location information of the first target SIP server is further obtained according to the IP address of the first target SIP server, and the location information of the first target SIP server includes the country, province, city, etc. where the first target SIP server is located.
405. The scheduling server obtains third performance parameters for a plurality of third SIP servers within the IP network.
The third performance parameter includes a network connection rate, a connection success rate, a vacancy rate, and the like of the third SIP server. Since the scheduling server and the SIP server cluster in the IP network can directly communicate, the scheduling service can obtain the latest statistical data of the network communication rate, the connection success rate, the vacancy rate, and the like of each third SIP server in the IP network, and calculate the latest statistical data to obtain the third performance parameter of each third SIP server.
In order to distinguish the plurality of SIP servers in the IP network, in the present embodiment, all the SIP servers in the IP network that are not screened are referred to as a third SIP server, the SIP server screened from the third SIP server is referred to as a fourth SIP server, and the SIP server screened from the fourth SIP server is referred to as a second destination SIP server.
406. And the scheduling server determines a second target SIP server from the plurality of third SIP servers according to the third performance parameters of the plurality of third SIP servers.
When the step is implemented specifically, the following steps 4061-4064 can be adopted:
4061. and the dispatching server determines a plurality of fourth SIP servers from the plurality of third SIP servers according to the third performance parameters of the plurality of third SIP servers.
After the third performance parameters of a plurality of third SIP servers are obtained, the scheduling server compares the third performance parameters of each third SIP server with a fourth threshold value, and if the network communication rate, the connection success rate and the vacancy rate of any third SIP server are all larger than the fourth threshold value, the third SIP server is used as a fourth SIP server; and if any one of the network communication rate, the connection success rate and the vacancy rate of any third SIP server is less than a fourth threshold value, excluding the third SIP server. The fourth threshold is set by the scheduling server according to the historical data, and may be 60%, 70%, 90%, and so on, and the size of the fourth threshold is not specifically limited in this embodiment.
4062. And the dispatching server determines a plurality of fifth SIP servers from the plurality of fourth SIP servers according to the position information of the first target SIP server.
When the step is implemented specifically, the following steps 40621-40624 can be adopted:
40621. the scheduling server acquires location information of a plurality of fourth SIP servers.
And the scheduling server acquires the position information of each fourth SIP server according to the IP address of each fourth SIP server, wherein the position information comprises the country, province, city and the like of the fourth SIP server.
40622. For any fourth SIP server, the scheduling server judges whether the position information of the fourth SIP server is the same as the position information of the first target SIP server.
For any fourth SIP server, the scheduling server compares the location information of the fourth SIP server with the location information of the first target SIP server to judge whether the location information of the fourth SIP server is the same as the location information of the first target SIP server.
40623. And if the position information of the fourth SIP server is the same as the position information of the first target SIP server, the dispatching server takes the fourth server as a fifth SIP server.
If the location information of the fourth SIP server is the same as the location information of the first target SIP server, the first terminal and the second terminal are in the same location area, and at this time, the scheduling server preferentially selects the fourth SIP server as a fifth SIP server, so as to save transmission resources.
40624. And if the position information of the plurality of fourth SIP servers is different from the position information of the first target SIP server, the dispatching server takes the plurality of fourth SIP servers as a plurality of fifth SIP servers.
When the position information of the plurality of fourth SIP servers is different from the position information of the first target SIP server, the first terminal and the second terminal are in different position areas, and at the moment, the scheduling server reserves all the fourth SIP servers as fifth SIP servers and performs screening in the subsequent steps.
4063. And the scheduling server acquires the weight value of the vacancy rate of each fifth SIP server in the sum of the vacancy rates of all the fifth SIP servers.
And the scheduling server adds the vacancy rates of all the fifth SIP servers to obtain the sum of the vacancy rates of all the fifth SIP servers, and divides the vacancy rate of each fifth SIP server by the sum of the vacancy rates of all the fifth SIP servers to obtain the weighted value of the vacancy rate of each fifth SIP server in the sum of the vacancy rates of all the fifth SIP servers.
4065. And the scheduling server determines a second target SIP server from the plurality of fifth SIP servers by adopting a specified algorithm according to the weight value corresponding to each fifth SIP server.
In this embodiment, the designated algorithm may be a weighted random algorithm or the like. When a weighted random algorithm is adopted to determine a second target SIP server from a plurality of fifth SIP servers, a weighted value corresponding to each fifth SIP server is taken as the probability of being selected by a scheduling server, if the weighted value corresponding to any fifth SIP server is larger, the probability of being selected by the fifth SIP server is correspondingly larger, and if the weighted value corresponding to any fifth SIP server is smaller, the probability of being selected by the fifth SIP server is correspondingly smaller.
407. And the scheduling server acquires fourth performance parameters of a plurality of first media stream servers in the IP network.
The fourth performance parameter includes a network delay, a network packet loss rate, a vacancy rate, and the like of the first media stream server. Since the scheduling server can directly communicate with the media stream server cluster in the IP network, the scheduling server can obtain the latest statistical data of the network connection rate, connection success rate, vacancy rate, and the like of each first media stream server in the IP network, and calculate the fourth performance parameter of each first media stream server by using the latest statistical data.
In order to distinguish a plurality of media streaming servers in the IP network, in this embodiment, all media streaming servers in the IP network that are not screened are referred to as a first media streaming server, a media streaming server screened from the first media streaming server is referred to as a second media streaming server, and a media streaming server screened from the second media streaming server is referred to as a target media server.
408. And the scheduling server determines a target media stream server from the plurality of first media stream servers according to the fourth performance parameters of the plurality of first media stream servers and the position information of the second terminal.
In the specific embodiment of this step, the following steps 4081 to 4085 may be adopted:
4081. and the scheduling server determines a plurality of second media streaming servers from the plurality of first media streaming servers according to the fourth performance parameters of the plurality of first media streaming servers.
After the fourth performance parameters of the plurality of first media stream servers are obtained, the scheduling server compares the fourth performance parameters of each first media stream server with a fifth threshold, and if the network delay, the network packet loss rate and the vacancy rate of any first media stream server are greater than the fifth threshold, the first media stream server is used as a second media stream server; and if any one of the network delay, the network packet loss rate and the vacancy rate required by any one first media stream service is smaller than a fifth threshold value, excluding the first media stream server. The fifth threshold is set by the scheduling server according to the historical data, and may be 60%, 70%, 90%, and so on, and the size of the fifth threshold is not specifically limited in this embodiment.
4082. The scheduling server obtains the position information of a plurality of third media stream servers in the target transit service platform, and the position information of the plurality of third media stream servers is reported by the plurality of second media stream servers.
The location information of the third media stream server includes a country, a province, a city, an ISP, etc. where the third media stream server is located. Because the media stream server in the IP network can communicate with the media stream server on the target relay service platform, the multiple second media stream servers in the IP network can obtain the multiple third media stream servers on the target relay service platform, and report the obtained location information of the third media stream servers to the scheduling server.
4083. And the scheduling server determines a plurality of fourth media stream servers from the plurality of second media stream servers according to the position information of the second terminal and the position information of the plurality of third media stream servers.
And the scheduling server searches a plurality of second media stream servers which are the same as the position information of the second terminal and the position information of the third media stream servers from the plurality of second media stream servers according to the position information of the second terminal and the position information of the third media stream servers to serve as a fourth media stream server.
4084. And the scheduling server acquires the weighted value of the vacancy rate of each fourth media stream server in the sum of the vacancy rates of all the fourth media stream servers.
And the scheduling server adds the vacancy rates of all the four media stream servers to obtain the sum of the vacancy rates of all the fourth media stream servers, and divides the vacancy rate of each fourth media stream server by the sum of the vacancy rates of all the fourth media stream servers to obtain the weighted value of the vacancy rate of each fourth media stream server in the sum of the vacancy rates of all the fourth media stream servers.
4085. And the scheduling server determines a target media stream server from the plurality of fourth media stream servers by adopting a specified algorithm according to the weight value corresponding to each fourth media stream server.
In this embodiment, the designated algorithm may be a weighted random algorithm or the like. When a target media stream server is determined from a plurality of fourth media stream servers by adopting a weighted random algorithm, a weighted value corresponding to each fourth media stream server is taken as the probability of being selected by a scheduling server, if the weighted value corresponding to any fourth media stream server is larger, the probability of being selected by the fourth media stream server is correspondingly larger, and if the weighted value corresponding to any fourth media stream server is smaller, the probability of being selected by the fourth media stream server is correspondingly smaller.
409. And the scheduling server determines a transmission link between the first terminal and the second terminal according to the target transfer service platform, the first target SIP server, the second target SIP server and the target media stream server.
Based on the determined target transfer server platform, the first target SIP server, the second target SIP server and the target media stream server, the scheduling server takes the second target SIP server, the target transfer server and the first target SIP server as server nodes, determines a transmission link of signaling data between the first terminal and the second terminal, takes the target media stream server and the target transfer server as server nodes, and determines a transmission link of voice data between the first terminal and the second terminal.
Of course, in addition to determining the transmission link between the first terminal and the second terminal according to the target relay service platform, the first target SIP server, the second target SIP server and the target media stream server, the transmission link between the first terminal and the second terminal may also be determined according to any one of the target relay service platform, the first target SIP server, the second target SIP server and the target media stream server. Specifically, when determining, the transmission link between the first terminal and the second terminal may be determined according to the target relay server platform and the first target SIP server, or the transmission link between the first terminal and the second terminal may be determined according to the target relay service platform and the second target SIP server, or the transmission link between the first terminal and the second terminal may be determined according to the target relay service platform and the target streaming media server. Of course, the above conditions may also be combined, that is, the transmission link between the first terminal and the second terminal may be determined according to at least two of the target relay service platform, the first target SIP server, the second target SIP server, and the target streaming media server, which is not described in detail in this embodiment.
For the above process, for the convenience of understanding, the determination process of the transmission link shown in fig. 5 will be described as an example, and the forwarding service center in fig. 5 may be a call center.
Referring to fig. 5, when a communication request sent by a first terminal is received, a scheduling server obtains a statistical parameter of each call center, where the statistical parameter is a first performance parameter, and the scheduling server calculates the comprehensive quality of each call center according to the first performance parameter, and performs weighted random selection on a list of call centers of the calculated comprehensive quality, and if one call center cannot be selected from a plurality of call centers, returns a failure message, and the process is ended; if one call center can be selected from the plurality of call centers, further excluding SIP servers with poorer second performance parameters such as network communication rate, connection success rate, vacancy rate and the like from the SIP list of the selected call center, selecting one SIP server from the plurality of remaining SIP servers by adopting a weighted random algorithm according to the vacancy rate of each remaining SIP server, and returning a failure message if one SIP server cannot be selected from the plurality of remaining SIP servers, thus ending the process; if one SIP server can be successfully selected from the SIP servers, further excluding the SIP servers with over-poor third performance parameters such as the spare rate, the network connection rate and the like on the list of the SIP servers of the VOIP platform, performing weighted random selection on the remaining SIP servers according to the spare rate, and if one SIP server cannot be selected from the remaining SIP servers, returning a failure message and ending the process; if one SIP server can be selected from the remaining plurality of SIP servers, further excluding local streaming media servers with poorer fourth performance parameters such as network delay, network packet loss rate and the like from a local media streaming server list of the VOIP platform, performing weighted random selection on the remaining plurality of local media streaming servers according to the vacancy rate, the region information, the SIP information and the like, returning a failure message if one local media streaming server cannot be selected from the remaining plurality of local media streaming servers, and ending the process; if one media stream server can be selected from the remaining local media stream servers, a success message is returned, and the process is ended.
According to the method provided by the embodiment of the invention, in the communication process, the transfer service platform with the best communication quality is selected from the plurality of first transfer service platforms according to the first performance parameters of the plurality of first transfer service platforms, and the transmission link is determined based on the selected transfer service platform, so that the good communication quality is ensured in each communication process.
Referring to fig. 6, an embodiment of the present invention provides a transmission link determining apparatus, where the apparatus is applied in a scenario where a first terminal in an internet protocol IP network communicates with a second terminal in a public switched telephone network PSTN network, and the apparatus includes:
a first obtaining module 601, configured to obtain first performance parameters of multiple first transit service platforms located in a PSTN network when receiving a communication request sent by a first terminal;
a first determining module 602, configured to determine a target transit service platform from the multiple first transit service platforms according to a first performance parameter of the multiple first transit service platforms;
the second determining module 603 is configured to determine a transmission link between the first terminal and the second terminal according to the target transit service platform.
In another embodiment of the present invention, the first performance parameter includes a network connection rate, a connection success rate, a network delay, a network packet loss rate, an answering rate, an excessively short call duration rate, a normal hang-up rate, and a spare rate of the first relay platform.
In another embodiment of the present invention, the first determining module 602 is configured to determine, according to a first performance parameter of a plurality of first transit service platforms, a plurality of second transit service platforms from the plurality of first transit service platforms, where the second transit service platforms are the first transit service platforms whose network connectivity rate, connection success rate, network delay, network packet loss rate, answering rate, too short call duration rate, normal hang-up rate, and vacancy rate are all greater than a first threshold; calculating actual call quality values of a plurality of second transit service platforms; acquiring a weighted value of the actual call quality value of each second transit service platform in the sum of the actual call quality values of all the second transit service platforms; and determining a target transit service platform from the plurality of second transit service platforms by adopting a specified algorithm according to the weight value corresponding to each second transit service platform.
In another embodiment of the present invention, the first determining module 602 is configured to apply the following formula to any one of the second transit service platforms to calculate the reference quality value of the call of the second transit service platform:
Q=W*0.6a*0.95b*c*d*e*f*g
wherein Q represents a reference call quality value of the second transit service platform, W represents a designated weight value, a represents a network packet loss rate, b represents a network delay, c represents a network communication rate, d represents a connection power, e represents an answering rate, f represents an excessively short call duration rate, and g represents a normal hang-up rate; when the vacancy rate of the second transit service platform is larger than a second threshold value, taking the reference call quality value as an actual call quality value of the second transit service platform; and when the vacancy rate of the second transit service platform is smaller than a second threshold value, taking the product of the reference call quality value and the vacancy rate of the second transit service platform as the actual call quality value of the second transit service platform.
In another embodiment of the present invention, the apparatus further comprises:
the second acquisition module is used for acquiring second performance parameters of a plurality of first Session Initiation Protocol (SIP) servers in the target transit service platform;
a third determining module, configured to determine a first target SIP server from the plurality of first SIP servers according to a second performance parameter of the plurality of first SIP servers;
and the fourth determining module is used for determining a transmission link between the first terminal and the second terminal according to the target transfer service platform and the first target SIP server.
In another embodiment of the present invention, the second performance parameter includes a network connection rate, a connection success rate, and a vacancy rate of the first SIP server.
In another embodiment of the present invention, the third determining module is configured to determine, according to the second performance parameter of the plurality of first SIP servers, a plurality of second SIP servers from the plurality of first SIP servers, where the second SIP servers are the first SIP servers whose network connectivity rate, connection success rate, and vacancy rate are all greater than a third threshold; acquiring the weight value of the vacancy rate of each second SIP server in the sum of the vacancy rates of all the first SIP servers; and determining a first target SIP server from the plurality of second SIP servers by adopting a specified algorithm according to the weight value corresponding to each second SIP server.
In another embodiment of the present invention, the apparatus further comprises:
and the third acquisition module is used for acquiring the position information of the first target SIP server according to the IP address of the first target SIP server.
In another embodiment of the present invention, the apparatus further comprises:
a fourth obtaining module, configured to obtain third performance parameters of a plurality of third SIP servers in the IP network;
a fifth determining module, configured to determine a second target SIP server from the plurality of third SIP servers according to a third performance parameter of the plurality of third SIP servers;
and the sixth determining module is used for determining a transmission link between the first terminal and the second terminal according to the target transfer service platform, the first target SIP server and the second target SIP server.
In another embodiment of the present invention, the third performance parameter includes a network connection rate, a connection success rate, and a vacancy rate of the third SIP server.
In another embodiment of the present invention, the fifth determining module is configured to determine, according to a third performance parameter of a plurality of third SIP servers, a plurality of fourth SIP servers from the plurality of third SIP servers, where the fourth SIP servers are third SIP servers whose network connectivity rate, connection success rate, and vacancy rate are all greater than a fourth threshold; determining a plurality of fifth SIP servers from the plurality of fourth SIP servers according to the position information of the first target SIP server; acquiring the weight value of the vacancy rate of each fifth SIP server in the sum of the vacancy rates of all fifth SIP servers; and determining a second target SIP server from the plurality of fifth SIP servers by adopting a specified algorithm according to the weight value corresponding to each fifth SIP server.
In another embodiment of the present invention, the fifth determining module is configured to obtain location information of a plurality of fourth SIP servers; for any fourth SIP server, judging whether the position information of the fourth SIP server is the same as the position information of the first target SIP server; when the position information of the fourth SIP server is the same as that of the first target SIP server, taking the fourth SIP server as a fifth SIP server; and when the position information of the plurality of fourth SIP servers is different from the position information of the first target SIP server, the plurality of fourth SIP servers are used as a plurality of fifth SIP servers.
In another embodiment of the present invention, the apparatus further comprises:
a fifth obtaining module, configured to obtain fourth performance parameters of multiple first media stream servers in the IP network;
a seventh determining module, configured to determine a target media streaming server from the multiple first media streaming servers according to fourth performance parameters of the multiple first media streaming servers and location information of the second terminal;
and the eighth determining module is configured to determine a transmission link between the first terminal and the second terminal according to the target transit service platform and the target media stream server.
In another embodiment of the present invention, the fourth performance parameter includes a network delay, a network packet loss rate, and a vacancy rate of the first media streaming server.
In another embodiment of the present invention, the seventh determining module is configured to determine, according to the fourth performance parameter of the multiple first media stream servers, multiple second media stream servers from the multiple first media stream servers, where the second media stream servers are the first media stream servers whose network delay, network packet loss rate, and vacancy rate are all greater than a fifth threshold; acquiring the position information of a plurality of third media stream servers in the target transit service platform, wherein the position information of the plurality of third media stream servers is reported by a plurality of second media stream servers; determining a plurality of fourth media stream servers from the plurality of second media stream servers according to the position information of the second terminal and the position information of the plurality of third media stream servers; acquiring the weight value of the vacancy rate of each fourth media stream server in the sum of the vacancy rates of all the fourth media stream servers; and determining a target media stream server from the plurality of fourth media stream servers by adopting a specified algorithm according to the weight value corresponding to each fourth media stream server.
In summary, in the apparatus provided in the embodiment of the present invention, in the communication process, according to the first performance parameters of the multiple first transit service platforms, the transit service platform with the best communication quality is selected from the multiple first transit service platforms, and the transmission link is determined based on the selected transit service platform, so that good communication quality is ensured in each communication process.
Fig. 7 is an illustration of a server for determination of transmission links in accordance with an exemplary embodiment. Referring to fig. 7, server 700 includes a processing component 722 that further includes one or more processors and memory resources, represented by memory 732, for storing instructions, such as applications, that are executable by processing component 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. Furthermore, the processing component 722 is configured to execute the instructions to perform the functions performed by the server in the method for determining a transmission link, which is applied in a scenario where a first terminal in an IP network communicates with a second terminal in a PSTN network, and the method includes:
when a communication request sent by a first terminal is received, first performance parameters of a plurality of first transfer service platforms in a PSTN network are obtained;
determining a target transit service platform from the plurality of first transit service platforms according to the first performance parameters of the plurality of first transit service platforms;
and determining a transmission link between the first terminal and the second terminal according to the target transit service platform.
In another embodiment of the present invention, the first performance parameter includes a network connection rate, a connection success rate, a network delay, a network packet loss rate, an answering rate, an excessively short call duration rate, a normal hang-up rate, and a spare rate of the first relay platform.
In another embodiment of the present invention, determining a target transit service platform from a plurality of first transit service platforms according to a first performance parameter of the plurality of first transit service platforms includes:
determining a plurality of second transit service platforms from the plurality of first transit service platforms according to first performance parameters of the plurality of first transit service platforms, wherein the second transit service platforms are the first transit service platforms with network communication rate, connection success rate, network time delay, network packet loss rate, answering rate, too short call duration rate, normal hang-up rate and vacancy rate larger than a first threshold;
calculating actual call quality values of a plurality of second transit service platforms;
acquiring a weighted value of the actual call quality value of each second transit service platform in the sum of the actual call quality values of all the second transit service platforms;
and determining a target transit service platform from the plurality of second transit service platforms by adopting a specified algorithm according to the weight value corresponding to each second transit service platform.
In another embodiment of the present invention, calculating the actual call quality values of the plurality of second transit service platforms includes:
for any second transit service platform, the following formula is applied to calculate the reference call quality value of the second transit service platform:
Q=W*0.6a*0.95b*c*d*e*f*g
wherein Q represents a reference call quality value of the second transit service platform, W represents a designated weight value, a represents a network packet loss rate, b represents a network delay, c represents a network communication rate, d represents a connection power, e represents an answering rate, f represents an excessively short call duration rate, and g represents a normal hang-up rate;
if the vacancy rate of the second transit service platform is larger than a second threshold value, taking the reference call quality value as an actual call quality value of the second transit service platform;
and if the vacancy rate of the second transit service platform is smaller than a second threshold value, taking the product of the reference call quality value and the vacancy rate of the second transit service platform as the actual call quality value of the second transit service platform.
In another embodiment of the present invention, the method further comprises:
acquiring second performance parameters of a plurality of first Session Initiation Protocol (SIP) servers in the target transit service platform;
determining a first target SIP server from the plurality of first SIP servers according to the second performance parameters of the plurality of first SIP servers;
and determining a transmission link between the first terminal and the second terminal according to the target transit service platform and the first target SIP server.
In another embodiment of the present invention, the second performance parameter includes a network connection rate, a connection success rate, and a vacancy rate of the first SIP server.
In another embodiment of the present invention, determining a first target SIP server from the plurality of first SIP servers according to the second performance parameter of the plurality of first SIP servers comprises:
determining a plurality of second SIP servers from the plurality of first SIP servers according to second performance parameters of the plurality of first SIP servers, wherein the second SIP servers are the first SIP servers of which the network communication rate, the connection success rate and the vacancy rate are all larger than a third threshold value;
acquiring the weight value of the vacancy rate of each second SIP server in the sum of the vacancy rates of all the first SIP servers;
and determining a first target SIP server from the plurality of second SIP servers by adopting a specified algorithm according to the weight value corresponding to each second SIP server.
In another embodiment of the present invention, after determining the first target SIP server, the method further includes:
and acquiring the position information of the first target SIP server according to the IP address of the first target SIP server.
In another embodiment of the present invention, the method further comprises:
acquiring third performance parameters of a plurality of third SIP servers in the IP network;
determining a second target SIP server from the plurality of third SIP servers according to a third performance parameter of the plurality of third SIP servers;
and determining a transmission link between the first terminal and the second terminal according to the target transfer service platform, the first target SIP server and the second target SIP server.
In another embodiment of the present invention, the third performance parameter includes a network connection rate, a connection success rate, and a vacancy rate of the third SIP server.
In another embodiment of the present invention, determining a second target SIP server from the plurality of third SIP servers according to a third performance parameter of the plurality of third SIP servers comprises:
determining a plurality of fourth SIP servers from the plurality of third SIP servers according to third performance parameters of the plurality of third SIP servers, wherein the fourth SIP servers are third SIP servers of which the network communication rate, the connection success rate and the vacancy rate are all larger than a fourth threshold;
determining a plurality of fifth SIP servers from the plurality of fourth SIP servers according to the position information of the first target SIP server;
acquiring the weight value of the vacancy rate of each fifth SIP server in the sum of the vacancy rates of all fifth SIP servers;
and determining a second target SIP server from the plurality of fifth SIP servers by adopting a specified algorithm according to the weight value corresponding to each fifth SIP server.
In another embodiment of the present invention, determining a plurality of fifth SIP servers from the plurality of fourth SIP servers according to the location information of the first target SIP server includes:
acquiring the position information of a plurality of fourth SIP servers;
for any fourth SIP server, judging whether the position information of the fourth SIP server is the same as the position information of the first target SIP server;
if the position information of the fourth SIP server is the same as the position information of the first target SIP server, taking the fourth SIP server as a fifth SIP server;
and if the position information of the plurality of fourth SIP servers is different from the position information of the first target SIP server, taking the plurality of fourth SIP servers as a plurality of fifth SIP servers.
In another embodiment of the present invention, the method further comprises:
acquiring fourth performance parameters of a plurality of first media stream servers in the IP network;
determining a target media stream server from the plurality of first media stream servers according to the fourth performance parameters of the plurality of first media stream servers and the position information of the second terminal;
and determining a transmission link between the first terminal and the second terminal according to the target transit service platform and the target media stream server.
In another embodiment of the present invention, the fourth performance parameter includes a network delay, a network packet loss rate, and a vacancy rate of the first media streaming server.
In another embodiment of the present invention, determining a target media streaming server from among a plurality of first media streaming servers according to fourth performance parameters of the plurality of first media streaming servers and location information of the second terminal includes:
determining a plurality of second media stream servers from the plurality of first media stream servers according to fourth performance parameters of the plurality of first media stream servers, wherein the second media stream servers are the first media stream servers of which the network delay, the network packet loss rate and the vacancy rate are all larger than a fifth threshold;
acquiring the position information of a plurality of third media stream servers in the target transit service platform, wherein the position information of the plurality of third media stream servers is reported by a plurality of second media stream servers;
determining a plurality of fourth media stream servers from the plurality of second media stream servers according to the position information of the second terminal and the position information of the plurality of third media stream servers;
acquiring the weight value of the vacancy rate of each fourth media stream server in the sum of the vacancy rates of all the fourth media stream servers;
and determining a target media stream server from the plurality of fourth media stream servers by adopting a specified algorithm according to the weight value corresponding to each fourth media stream server.
The server 700 may also include a power component 726 configured to perform power management of the server 700, a wired or wireless network interface 750 configured to connect the server 700 to a network, and an input output (I/O) interface 758. The Server 700 may operate based on an operating system, such as Windows Server, stored in a memory 732TM,Mac OSXTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
In the server provided by the embodiment of the invention, in the communication process, the transfer service platform with the best communication quality is selected from the plurality of first transfer service platforms according to the first performance parameters of the plurality of first transfer service platforms, and the transmission link is determined based on the selected transfer service platform, so that the server has good communication quality in each communication process.
It should be noted that: in the above embodiment, when determining the transmission link, the determining apparatus for the transmission link is only illustrated by dividing the functional modules, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the determining apparatus for the transmission link is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the determining apparatus of the transmission link and the determining method of the transmission link provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (29)

1. A method for determining a transmission link, the method being applied to a scenario where a first terminal in an IP network communicates with a second terminal in a PSTN network, the method comprising:
when a communication request sent by the first terminal is received, acquiring first performance parameters of a plurality of first transit service platforms in the PSTN network;
determining a plurality of second transit service platforms from the plurality of first transit service platforms according to first performance parameters of the plurality of first transit service platforms, wherein the second transit service platforms are first transit service platforms of which the network communication rate, the connection success rate, the network time delay, the network packet loss rate, the answering rate, the too short call duration rate, the normal hang-up rate and the vacancy rate are all larger than a first threshold value; calculating actual call quality values of the plurality of second transit service platforms; acquiring a weighted value of the actual call quality value of each second transit service platform in the sum of the actual call quality values of all the second transit service platforms; determining a target transit service platform from the plurality of second transit service platforms by adopting a specified algorithm according to the weight value corresponding to each second transit service platform;
and determining a transmission link between the first terminal and the second terminal according to the target transit service platform.
2. The method of claim 1, wherein the first performance parameter includes a network connection rate, a connection success rate, a network delay, a network packet loss rate, an answering rate, an excessively short call duration rate, a normal hang-up rate, and a vacancy rate of the first relay platform.
3. The method of claim 1, wherein the calculating the actual call quality values of the plurality of second transit service platforms comprises:
for any second transit service platform, the following formula is applied to calculate the reference call quality value of the second transit service platform:
Q=W*0.6a*0.95b*c*d*e*f*g
wherein, Q represents a reference call quality value of the second transit service platform, W represents a designated weight value, a represents a network packet loss rate, b represents a network delay, c represents a network connection rate, d represents a connection power, e represents an answering rate, f represents an excessively short call duration rate, and g represents a normal hang-up rate;
if the vacancy rate of the second transit service platform is larger than a second threshold value, taking the reference call quality value as an actual call quality value of the second transit service platform;
and if the vacancy rate of the second transit service platform is smaller than a second threshold value, taking the product of the reference call quality value and the vacancy rate of the second transit service platform as the actual call quality value of the second transit service platform.
4. The method of claim 1, further comprising:
acquiring second performance parameters of a plurality of first Session Initiation Protocol (SIP) servers in the target transit service platform;
determining a first target Session Initiation Protocol (SIP) server from the plurality of first SIP servers according to second performance parameters of the plurality of first SIP servers;
and determining a transmission link between the first terminal and the second terminal according to the target transit service platform and the first target Session Initiation Protocol (SIP) server.
5. The method of claim 4, wherein the second performance parameters comprise a network connection rate, a connection success rate, and a vacancy rate of the first SIP server.
6. The method according to claim 5, wherein said determining a first target session initiation protocol, SIP, server from the plurality of first session initiation protocol, SIP, servers based on a second performance parameter of the plurality of first session initiation protocol, SIP, servers comprises:
determining a plurality of second Session Initiation Protocol (SIP) servers from the plurality of first Session Initiation Protocol (SIP) servers according to second performance parameters of the plurality of first SIP servers, wherein the second SIP servers are the first SIP servers with the network communication rate, the connection success rate and the vacancy rate which are all larger than a third threshold value;
acquiring a weighted value of the vacancy rate of each second session initiation protocol SIP server in the sum of the vacancy rates of all first session initiation protocol SIP servers;
and determining a first target Session Initiation Protocol (SIP) server from the plurality of second SIP servers by adopting a specified algorithm according to the weight value corresponding to each second SIP server.
7. The method of claim 4, wherein after determining the first target Session Initiation Protocol (SIP) server, further comprising:
and acquiring the position information of the first target Session Initiation Protocol (SIP) server according to the IP address of the first target Session Initiation Protocol (SIP) server.
8. The method of claim 7, further comprising:
acquiring third performance parameters of a plurality of third Session Initiation Protocol (SIP) servers in the IP network;
determining a second target Session Initiation Protocol (SIP) server from the plurality of third SIP servers according to a third performance parameter of the plurality of third SIP servers;
and determining a transmission link between the first terminal and the second terminal according to the target transfer service platform, the first target Session Initiation Protocol (SIP) server and the second target SIP server.
9. The method of claim 8, wherein the third performance parameter comprises a network connection rate, a connection success rate, and a vacancy rate of the third SIP server.
10. The method according to claim 9, wherein said determining a second target SIP server from the plurality of third SIP servers according to the third performance parameters of the plurality of third SIP servers comprises:
determining a plurality of fourth session initiation protocol SIP servers from the plurality of third session initiation protocol SIP servers according to third performance parameters of the plurality of third session initiation protocol SIP servers, wherein the fourth session initiation protocol SIP servers are third session initiation protocol SIP servers of which the network communication rate, the connection success rate and the vacancy rate are all larger than a fourth threshold value;
determining a plurality of fifth Session Initiation Protocol (SIP) servers from the plurality of fourth SIP servers according to the position information of the first target SIP server;
acquiring a weighted value of the vacancy rate of each fifth session initiation protocol SIP server in the sum of the vacancy rates of all the fifth session initiation protocol SIP servers;
and determining a second target Session Initiation Protocol (SIP) server from the plurality of fifth Session Initiation Protocol (SIP) servers by adopting a specified algorithm according to the weight value corresponding to each fifth SIP server.
11. The method of claim 10 wherein determining a fifth SIP server from the fourth SIP servers according to the location information of the first target SIP server comprises:
acquiring the position information of the plurality of fourth session initiation protocol SIP servers;
for any fourth Session Initiation Protocol (SIP) server, judging whether the position information of the fourth Session Initiation Protocol (SIP) server is the same as the position information of the first target Session Initiation Protocol (SIP) server;
if the position information of the fourth session initiation protocol SIP server is the same as the position information of the first target session initiation protocol SIP server, taking the fourth session initiation protocol SIP server as a fifth session initiation protocol SIP server;
and if the position information of the plurality of fourth session initiation protocol SIP servers is different from the position information of the first target session initiation protocol SIP server, taking the plurality of fourth session initiation protocol SIP servers as the plurality of fifth session initiation protocol SIP servers.
12. The method of claim 1, further comprising:
acquiring fourth performance parameters of a plurality of first media stream servers in the IP network;
determining a target media streaming server from the plurality of first media streaming servers according to the fourth performance parameters of the plurality of first media streaming servers and the position information of the second terminal;
and determining a transmission link between the first terminal and the second terminal according to the target transit service platform and the target media stream server.
13. The method of claim 12, wherein the fourth performance parameter comprises a network latency, a network packet loss rate, and a vacancy rate of the first media streaming server.
14. The method according to claim 13, wherein the determining a target media streaming server from the plurality of first media streaming servers according to the fourth performance parameters of the plurality of first media streaming servers and the location information of the second terminal comprises:
determining a plurality of second media stream servers from the plurality of first media stream servers according to fourth performance parameters of the plurality of first media stream servers, wherein the second media stream servers are first media stream servers of which network delay, network packet loss rate and vacancy rate are all larger than a fifth threshold;
acquiring the position information of a plurality of third media stream servers in the target transit service platform, wherein the position information of the plurality of third media stream servers is reported by the plurality of second media stream servers;
determining a plurality of fourth media stream servers from the plurality of second media stream servers according to the position information of the second terminal and the position information of the plurality of third media stream servers;
acquiring the weight value of the vacancy rate of each fourth media stream server in the sum of the vacancy rates of all the fourth media stream servers;
and determining a target media stream server from the plurality of fourth media stream servers by adopting a specified algorithm according to the weight value corresponding to each fourth media stream server.
15. A transmission link determining apparatus, for use in a scenario where a first terminal in an IP network communicates with a second terminal in a PSTN network, the apparatus comprising:
a first obtaining module, configured to obtain first performance parameters of multiple first transit service platforms located in the PSTN network when receiving a communication request sent by the first terminal;
a first determining module, configured to determine, according to a first performance parameter of the first transit service platforms, a plurality of second transit service platforms from the first transit service platforms, where the second transit service platforms are the first transit service platforms whose network connectivity rate, connection success rate, network delay, network packet loss rate, answering rate, too short call duration rate, normal hang-up rate, and vacancy rate are greater than a first threshold; calculating actual call quality values of the plurality of second transit service platforms; acquiring a weighted value of the actual call quality value of each second transit service platform in the sum of the actual call quality values of all the second transit service platforms; determining a target transit service platform from the plurality of second transit service platforms by adopting a specified algorithm according to the weight value corresponding to each second transit service platform;
and the second determining module is used for determining a transmission link between the first terminal and the second terminal according to the target transit service platform.
16. The apparatus of claim 15, wherein the first performance parameter includes a network connection rate, a connection success rate, a network delay, a network packet loss rate, a receiving rate, an excessively short call duration rate, a normal hang-up rate, and a vacancy rate of the first transit platform.
17. The apparatus of claim 15, wherein the first determining module is configured to apply the following formula to calculate the reference call quality value of any one of the second transit service platforms:
Q=W*0.6a*0.95b*c*d*e*f*g
wherein, Q represents a reference call quality value of the second transit service platform, W represents a designated weight value, a represents a network packet loss rate, b represents a network delay, c represents a network connection rate, d represents a connection success rate, e represents an answer rate, f represents an excessively short call duration rate, and g represents a normal hang-up rate; when the vacancy rate of the second transit service platform is larger than a second threshold value, taking the reference call quality value as an actual call quality value of the second transit service platform; and when the vacancy rate of the second transit service platform is smaller than a second threshold value, taking the product of the reference call quality value and the vacancy rate of the second transit service platform as the actual call quality value of the second transit service platform.
18. The apparatus of claim 15, further comprising:
a second obtaining module, configured to obtain second performance parameters of multiple first session initiation protocol SIP servers in the target transit service platform;
a third determining module, configured to determine a first target session initiation protocol SIP server from the plurality of first session initiation protocol SIP servers according to a second performance parameter of the plurality of first session initiation protocol SIP servers;
a fourth determining module, configured to determine a transmission link between the first terminal and the second terminal according to the target transit service platform and the first target session initiation protocol SIP server.
19. The apparatus of claim 18, wherein the second performance parameters comprise a network connection rate, a connection success rate, and a vacancy rate of the first SIP server.
20. The apparatus of claim 19, wherein the third determining module is configured to determine a plurality of second SIP servers from the plurality of first SIP servers according to a second performance parameter of the plurality of first SIP servers, and the second SIP servers are first SIP servers with network connectivity, connection success, and vacancy rates greater than a third threshold; acquiring a weighted value of the vacancy rate of each second session initiation protocol SIP server in the sum of the vacancy rates of all first session initiation protocol SIP servers; and determining a first target Session Initiation Protocol (SIP) server from the plurality of second SIP servers by adopting a specified algorithm according to the weight value corresponding to each second SIP server.
21. The apparatus of claim 18, further comprising:
and the third acquisition module is used for acquiring the position information of the first target Session Initiation Protocol (SIP) server according to the IP address of the first target Session Initiation Protocol (SIP) server.
22. The apparatus of claim 21, further comprising:
the fourth acquisition module is used for acquiring third performance parameters of a plurality of third Session Initiation Protocol (SIP) servers in the IP network;
a fifth determining module, configured to determine a second target session initiation protocol SIP server from the plurality of third session initiation protocol SIP servers according to a third performance parameter of the plurality of third session initiation protocol SIP servers;
a sixth determining module, configured to determine a transmission link between the first terminal and the second terminal according to the target transit service platform, the first target session initiation protocol SIP server, and the second target session initiation protocol SIP server.
23. The apparatus of claim 22, wherein the third performance parameter comprises a network connection rate, a connection success rate, and a vacancy rate of a third Session Initiation Protocol (SIP) server.
24. The apparatus of claim 23, wherein the fifth determining module is configured to determine, according to a third performance parameter of the plurality of third SIP servers, a plurality of fourth SIP servers from among the plurality of third SIP servers, where the fourth SIP servers are third SIP servers whose network connectivity rate, connection success rate, and vacancy rate are greater than a fourth threshold; determining a plurality of fifth Session Initiation Protocol (SIP) servers from the plurality of fourth SIP servers according to the position information of the first target SIP server; acquiring a weighted value of the vacancy rate of each fifth session initiation protocol SIP server in the sum of the vacancy rates of all the fifth session initiation protocol SIP servers; and determining a second target Session Initiation Protocol (SIP) server from the plurality of fifth Session Initiation Protocol (SIP) servers by adopting a specified algorithm according to the weight value corresponding to each fifth SIP server.
25. The apparatus of claim 24, wherein the fifth determining module is configured to obtain location information of the plurality of fourth SIP servers; for any fourth Session Initiation Protocol (SIP) server, judging whether the position information of the fourth Session Initiation Protocol (SIP) server is the same as the position information of the first target Session Initiation Protocol (SIP) server; when the position information of the fourth session initiation protocol SIP server is the same as the position information of the first target session initiation protocol SIP server, taking the fourth session initiation protocol SIP server as a fifth session initiation protocol SIP server; when the location information of the plurality of fourth session initiation protocol SIP servers is different from the location information of the first target session initiation protocol SIP server, taking the plurality of fourth session initiation protocol SIP servers as the plurality of fifth session initiation protocol SIP servers.
26. The apparatus of claim 15, further comprising:
a fifth obtaining module, configured to obtain fourth performance parameters of multiple first media stream servers in the IP network;
a seventh determining module, configured to determine a target media streaming server from the multiple first media streaming servers according to fourth performance parameters of the multiple first media streaming servers and the location information of the second terminal;
an eighth determining module, configured to determine a transmission link between the first terminal and the second terminal according to the target transit service platform and the target media stream server.
27. The apparatus of claim 26, wherein the fourth performance parameter comprises a network latency, a network packet loss rate, and a vacancy rate of the first media streaming server.
28. The apparatus of claim 27, wherein the seventh determining module is configured to determine a plurality of second media streaming servers from the plurality of first media streaming servers according to a fourth performance parameter of the plurality of first media streaming servers, where the second media streaming servers are the first media streaming servers whose network latency, network packet loss rate, and vacancy rate are all greater than a fifth threshold; acquiring the position information of a plurality of third media stream servers in the target transit service platform, wherein the position information of the plurality of third media stream servers is reported by the plurality of second media stream servers; determining a plurality of fourth media stream servers from the plurality of second media stream servers according to the position information of the second terminal and the position information of the plurality of third media stream servers; acquiring the weight value of the vacancy rate of each fourth media stream server in the sum of the vacancy rates of all the fourth media stream servers; and determining a target media stream server from the plurality of fourth media stream servers by adopting a specified algorithm according to the weight value corresponding to each fourth media stream server.
29. A memory, characterized in that the memory stores a program for use by a processor for performing the method for determining a transmission link according to any of claims 1-14.
CN201610381777.6A 2016-06-01 2016-06-01 Method and device for determining transmission link Active CN106101468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610381777.6A CN106101468B (en) 2016-06-01 2016-06-01 Method and device for determining transmission link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610381777.6A CN106101468B (en) 2016-06-01 2016-06-01 Method and device for determining transmission link

Publications (2)

Publication Number Publication Date
CN106101468A CN106101468A (en) 2016-11-09
CN106101468B true CN106101468B (en) 2020-06-30

Family

ID=57446950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610381777.6A Active CN106101468B (en) 2016-06-01 2016-06-01 Method and device for determining transmission link

Country Status (1)

Country Link
CN (1) CN106101468B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447107B (en) * 2020-03-20 2023-10-31 Oppo广东移动通信有限公司 Network state determining method and device, storage medium and electronic equipment
CN112910901B (en) * 2021-02-04 2023-09-12 百果园技术(新加坡)有限公司 Device selection method, device and storage medium
CN113891387B (en) * 2021-11-12 2024-03-29 山东亚华电子股份有限公司 Method and equipment for detecting audio and video communication link
CN114465658A (en) * 2022-04-02 2022-05-10 阿里巴巴达摩院(杭州)科技有限公司 Transmission link selection method, communication system, device, and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080247382A1 (en) * 2007-01-24 2008-10-09 Rajneesh Verma System and method for providing improved VoIP services
CN101815079A (en) * 2009-02-24 2010-08-25 北京邮电大学 Method and system for releasing service information by server cluster based on SIP (Session Initiation Protocol)
CN102571421A (en) * 2011-12-22 2012-07-11 中兴通讯股份有限公司 Method and device for detecting service quality of IP access network
CN102984404B (en) * 2012-11-08 2015-03-18 深圳中兴网信科技有限公司 Voice communication scheduling command system
KR101447438B1 (en) * 2013-02-07 2014-10-08 (주)오픈벡스 Communication system using heterogeneous networks
CN105592094A (en) * 2015-12-30 2016-05-18 深圳市有信网络技术有限公司 Internet telephone link establishing method and system

Also Published As

Publication number Publication date
CN106101468A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
US11601849B2 (en) Method for determining background traffic transfer policy and apparatus
US7397778B2 (en) Method and apparatus for predicting the quality of packet data communications
US8452866B2 (en) Network resource management
US8004979B2 (en) Call admission control for mobility-capable telecommunications terminals
CN106101468B (en) Method and device for determining transmission link
US11606714B2 (en) Systems and methods for voice network control and optimization
US9992286B2 (en) System and method for implementing call session quality indicator
CN114615154B (en) Method and device for managing service quality and communication system
CN106572132B (en) Method, device and system for distributing and building link
CN113301299B (en) Multi-channel video transmission method, system, terminal and storage medium
CN109831490A (en) Business access method and system
CN101472315A (en) Handover method and apparatus in a wireless telecommunications network
US7519024B2 (en) Resource selection in a communication network
CN103491641A (en) Method and enterprise network system for realizing voice services in long term evolution enterprise network
CN109819477A (en) A kind of method and corresponding entity of processing request
WO2014176990A1 (en) Node allocation method, device and system
CN102984784A (en) Transmitting data over multiple networks
CN106027599B (en) Data transmission channel establishing method, system and server
CN106797321B (en) A kind of background traffic method for down loading, equipment and system
CN110392019B (en) Method and system for establishing special load bearing of cluster audio and video service
CN101001157A (en) Communication charge
CN102984785A (en) Transmitting data over multiple networks
WO2012175140A1 (en) Gateway selection for load balancing
US20090310576A1 (en) Communication control method, communication monitoring method, communication system, access point and program
JP5324771B2 (en) Access control apparatus and access control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant