WO2017005050A1 - Method and apparatus for adjusting diameter signaling link, and dra - Google Patents

Method and apparatus for adjusting diameter signaling link, and dra Download PDF

Info

Publication number
WO2017005050A1
WO2017005050A1 PCT/CN2016/081610 CN2016081610W WO2017005050A1 WO 2017005050 A1 WO2017005050 A1 WO 2017005050A1 CN 2016081610 W CN2016081610 W CN 2016081610W WO 2017005050 A1 WO2017005050 A1 WO 2017005050A1
Authority
WO
WIPO (PCT)
Prior art keywords
diameter
predetermined number
activated
signaling
link
Prior art date
Application number
PCT/CN2016/081610
Other languages
French (fr)
Chinese (zh)
Inventor
张学军
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017005050A1 publication Critical patent/WO2017005050A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Definitions

  • This document relates to, but is not limited to, the field of communications, and in particular, to a method, an apparatus, and a DRA for adjusting a Diameter signaling link.
  • Virtualization of core network elements is a technology that is about to sweep the entire industry. Virtualization is not just for mobile communications, but a common type of Internet technology for all servers.
  • the essence of network element virtualization is the separation of software and hardware.
  • the hardware in a broad sense includes "Central Processing Unit (CPU)", “Storage”, “Bandwidth”, “Network Resources”, and the like.
  • CPU Central Processing Unit
  • Storage Storage
  • Bitwidth "Network Resources”
  • Network Resources and the like.
  • hardware resources are “on-demand”, with excellent features such as high reliability, rapid deployment, and green environmental protection.
  • a virtual machine (virtual machine or virtual machine) is a core concept in virtualization. Each virtual machine can be configured with a certain amount of physical CPU, memory, hard disk, and other resources.
  • “Flexible scaling” is an important technology for virtualization. Users dynamically adjust the required hardware resources at the granularity of the virtual machine. When the traffic increases, the user applies for one or more new virtual machines, that is, Scale Out; when the traffic is reduced, one or more virtual machines are released, that is, Scale In.
  • the criteria for elastic scaling are based on the most prominent hardware resources, the most common being the virtual CPU load. However, it is not limited to the Diameter Routing Agent (DRA).
  • DRA Diameter Routing Agent
  • the DRA is a Diameter signaling switching device and is a highway for Diameter signaling. Each DRA establishes a signaling connection with many other DRA or Diameter signaling nodes. A maximum of 32 Diameter signaling links can be established between a DRA and each adjacent node. According to the operator's specifications, a total number of adjacent nodes supported by a DRA is 8192, and the total number of signaling links is up to 15000. The operator configures the number of signaling links according to the maximum traffic.
  • the bandwidth of a single Diameter signaling link is up to 100 megabits/s, and the allocated transceiver buffer consumes a large memory space, and the memory capacity of each virtual machine is always limited.
  • a fully loaded signaling link consumes a staggering CPU. According to the current CPU processing power, one physical CPU can only handle several full-load signaling links. Therefore, the maximum number of signaling links configured per VM is limited, for example 128.
  • the Diameter signaling link becomes a more prominent scarce hardware resource for DRA network elements. For example, a DRA is configured with 6400 signaling links. When the traffic on all signaling links drops to close to 0, at least 50 virtual machines need to be allocated due to the number of signaling links on a single VM. But the CPU load of each virtual machine is not high.
  • the Diameter signaling link cannot be flexibly stretched, all signaling links need to be activated at any time. The consequence is that if the traffic of the DRA and a neighboring node is low, that is, all the nodes are When the traffic on the signaling link is very low, the relevant signaling link does not make the best use of it, but most of it is wasted, which does not meet the purpose of "on-demand allocation" in virtualization technology; The protruding bottleneck of Scale In. When the traffic is low, although the CPU load of each VM is not large, the VM cannot be elastically contracted because each VM cannot allocate a new signaling link. Therefore, in the related art, there is a problem that the Diameter signaling link resource is wasted due to the inability of the Diameter signaling link to be elastically stretched.
  • the embodiment of the invention provides a method, a device and a DRA for adjusting a Diameter signaling link, which can avoid waste of Diameter signaling link resources due to the inability of the Diameter signaling link to be flexibly stretched.
  • a method for adjusting a Diameter signaling link includes: determining that a total load of an activated Diameter signaling link between a Diameter routing proxy DRA device and a Diameter node is reduced to less than At a first threshold, a predetermined number of Diameter signaling links are selected from the activated Diameter signaling links as deactivation signaling a link; deactivating the to-be-deactivated signaling link between the DRA device and the Diameter node.
  • the Diameter node includes: a plurality of Diameter adjacent nodes; wherein selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: selecting the DRA device and the multiple The Diameter signaling link between the first predetermined number of Diameter adjacent nodes in the Diameter adjacent nodes; the method further comprising: the to-be-deactivated letter between the DRA device and the Diameter node After deactivating the link, the first predetermined number of Diameter neighbor nodes are switched from an active state to an inactive state.
  • selecting the activated Diameter signaling link between the DRA device and the first predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes comprises: determining a number of the plurality of Diameter neighbor nodes Whether a predetermined number of Diameter adjacent nodes have the capability of carrying the total load; if the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load, the plurality of Diameter adjacent nodes are excluded a Diameter adjacent node other than the second predetermined number of Diameter adjacent nodes as the first predetermined number of Diameter adjacent nodes, and selecting an activated Diameter letter between the DRA device and the first predetermined number of Diameter adjacent nodes Let the link.
  • selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: selecting one of the activated Diameter signaling links according to a priority from low to high priority Or multiple Diameter signaling links.
  • the method further includes: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node increases to be greater than a second threshold, between the DRA device and the Diameter node A predetermined number of Diameter signaling links are selected as the to-be-activated signaling link in the configured but not yet activated Diameter signaling link; the to-be-activated letter is between the DRA device and the Diameter node The link is activated, wherein the to-be-activated signaling link is used to carry a predetermined proportion of the load in the total load after being activated.
  • the Diameter node includes: a plurality of Diameter neighbor nodes, wherein a third predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes are in an active state, the DRA device and the third predetermined number
  • the activated Diameter signaling link exists between the Diameter adjacent nodes, and the fourth predetermined number of the plurality of Diameter adjacent nodes
  • the Diameter adjacency node is in an inactive state, and the configured, but not yet activated, Diameter signaling link exists between the DRA device and the fourth predetermined number of Diameter neighbor nodes; wherein, the DRA device is Selecting a predetermined number of Diameter signaling links from a configured, but not yet activated, Diameter signaling link between the Diameter nodes includes: causing a fifth predetermined number of the fourth predetermined number of Diameter adjacent nodes Diameter adjacency node switches from the non-working state to an active state, and selects one of the configured or not yet activated Diameter signaling links between the DRA device and the
  • selecting one or more Diameter signaling links from the configured, but not yet activated, Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes comprises: prioritizing The highest to lowest order selects one or more Diameter signaling links from the configured, but not yet activated, Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes.
  • the method further includes: between the DRA device and the Diameter node The configured Diameter signaling link sets a priority, wherein the configured Diameter signaling link includes the activated Diameter signaling link.
  • a first predetermined number of Diameter signaling links in the predetermined number of Diameter signaling links that are deactivated are configured between a first virtual machine and the Diameter node in the DRA device
  • An activated second predetermined number of Diameter signaling links are further configured between the first virtual machine and the Diameter node, wherein the DMA device and the Diameter node are to be deactivated
  • Deactivating the signaling link includes: turning off the first virtual machine, and migrating the second predetermined number of Diameter signaling links to a second virtual machine in the DRA device and the Diameter node So that the activated second predetermined number of Diameter signaling links exist between the second virtual machine and the Diameter node.
  • an apparatus for adjusting a Diameter signaling link comprising: a first selecting module configured to determine an activated Diameter signaling between a Diameter routing proxy DRA device and a Diameter node Selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links when the total load of the link decreases below a first threshold, As a signal link to be deactivated; a deactivation module is arranged to deactivate the to-be-deactivated signaling link between the DRA device and the Diameter node.
  • the Diameter node includes: a plurality of Diameter adjacent nodes; wherein the first selection module includes: a first selecting unit, configured to select the first one of the DRA device and the plurality of Diameter adjacent nodes An activated Diameter signaling link between a predetermined number of Diameter adjacent nodes; wherein the apparatus further comprises a switching module configured to switch the first predetermined number of Diameter adjacency nodes from an active state to an inactive state.
  • the first selection module includes: a first selecting unit, configured to select the first one of the DRA device and the plurality of Diameter adjacent nodes An activated Diameter signaling link between a predetermined number of Diameter adjacent nodes; wherein the apparatus further comprises a switching module configured to switch the first predetermined number of Diameter adjacency nodes from an active state to an inactive state.
  • the first selecting unit includes: a determining subunit, configured to determine whether a second predetermined number of Diameter adjoining nodes of the plurality of Diameter neighboring nodes have the capability of carrying the total load; and selecting a subunit, Providing, when the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load, using a Diameter adjacent node of the plurality of Diameter adjacent nodes other than the second predetermined number of Diameter adjacent nodes The first predetermined number of Diameter adjacent nodes and selecting an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter neighbor nodes.
  • the first selection module further includes: a second selecting unit, configured to select one or more Diameter signaling from the activated Diameter signaling links in descending order of priority link.
  • a second selecting unit configured to select one or more Diameter signaling from the activated Diameter signaling links in descending order of priority link.
  • the device further includes: a second selecting module, configured to: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node increases to be greater than a second threshold, Determining a predetermined number of Diameter signaling links in the Diameter signaling link configured between the DRA device and the Diameter node, but not yet activated, as a signaling link to be activated; an activation module, configured to The activation signaling link is activated between the DRA device and the Diameter node, wherein the to-be-activated signaling link is used to carry a predetermined proportion of the total load when activated.
  • a second selecting module configured to: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node increases to be greater than a second threshold, Determining a predetermined number of Diameter signaling links in the Diameter signaling link configured between the DRA device and the Diameter node, but not yet activated, as a signaling link to be activated
  • the Diameter node includes: a plurality of Diameter neighbor nodes, wherein a third predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes are in an active state, the DRA device and the third predetermined number
  • the activated Diameter signaling link exists between the Diameter adjacent nodes, a fourth predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes are in a non-working state, the DRA device and the fourth predetermined Quantity
  • the configured, but not yet activated, Diameter signaling link exists between the Diameter adjacency nodes;
  • the second selection module comprises: a third selection unit configured to abut the fourth predetermined number of Diameter A fifth predetermined number of Diameter adjacency nodes in the node switch from the non-working state to the active state, and a Diameter configured between the DRA device and the fifth predetermined number of Diameter adjacency nodes but not yet activated
  • One or more Diameter signaling links are selected as the to-be-activated
  • the third selecting unit is configured to: a configured but not yet activated Diameter between the DRA device and the fifth predetermined number of Diameter adjacent nodes in descending order of priority One or more Diameter signaling links are selected in the signaling link.
  • the apparatus further includes: a setting module, configured to set a priority to a configured Diameter signaling link between the DRA device and the Diameter node, wherein the configured Diameter signaling chain The path includes the activated Diameter signaling link.
  • a setting module configured to set a priority to a configured Diameter signaling link between the DRA device and the Diameter node, wherein the configured Diameter signaling chain The path includes the activated Diameter signaling link.
  • a first predetermined number of Diameter signaling links in the predetermined number of Diameter signaling links that are deactivated are configured between a first virtual machine and the Diameter node in the DRA device
  • An activated second predetermined number of Diameter signaling links are further configured between the first virtual machine and the Diameter node
  • the deactivation module includes: a processing unit, configured to close the first virtual And moving the second predetermined number of Diameter signaling links between the second virtual machine in the DRA device and the Diameter node, such that the second virtual machine and the Diameter node There is a second predetermined number of Diameter signaling links that are activated.
  • a Diameter Routing Agent DRA comprising the apparatus of any of the above.
  • the activated Diameter signaling link when determining that the total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced to less than a first threshold, from the activated Diameter signaling link Selecting a predetermined number of Diameter signaling links as a signaling link to be deactivated; deactivating the to-be-deactivated signaling link between the DRA device and the Diameter node can avoid the Diameter letter
  • the link cannot be elastically stretched, which causes waste of Diameter signaling link resources, thereby achieving the effect of avoiding waste of Diameter signaling link resources.
  • FIG. 1 is a flowchart of a method for adjusting a Diameter signaling link according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention
  • FIG. 3 is a block diagram showing an optional structure of an adjustment apparatus of a Diameter signaling link according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of a first selecting unit 32 in an adjusting apparatus of a Diameter signaling link according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a first selection module 22 in an adjustment apparatus of a Diameter signaling link according to an embodiment of the present invention
  • FIG. 6 is a block diagram 1 of an optional structure of an adjustment apparatus for a Diameter signaling link according to an embodiment of the present invention
  • FIG. 7 is a structural block diagram of a second selection module 62 in an adjustment apparatus of a Diameter signaling link according to an embodiment of the present invention.
  • FIG. 8 is a block diagram 2 of an optional structure of an adjustment apparatus for a Diameter signaling link according to an embodiment of the present invention
  • FIG. 9 is a structural block diagram of a deactivation module 24 in an adjustment apparatus of a Diameter signaling link according to an embodiment of the present invention.
  • Diameter routing agent DRA is a structural block diagram of a Diameter routing agent DRA according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a signaling link configuration of a DRA and a peer node (Peer) according to an embodiment of the present invention
  • FIG. 12 is a schematic diagram of a scale intrusion of a signaling link of a DRA and a peer node (Peer) according to an embodiment of the present invention
  • FIG. 13 is a schematic diagram of a signaling link configuration of a DRA and a set of contiguous PCRFs according to an embodiment of the present invention
  • 15 is a schematic diagram of signaling link, virtual machine, and traffic synchronization according to an embodiment of the present invention.
  • 16 is a flowchart of establishing a signaling link when a DRA network element is started and powers on for the first time according to an embodiment of the present invention
  • FIG. 17 is a flow chart of a signaling link elastic intrusion (Scale In) according to an embodiment of the present invention.
  • FIG. 19 is a flow chart of a server group elastic intrusion (Scale In) according to an embodiment of the present invention.
  • 20 is a flow chart of server group elastic expansion (Scale Out) according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for adjusting a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps. :
  • Step S102 when determining that the total load of the activated Diameter signaling link between the Diameter routing proxy DRA device and the Diameter node is reduced to less than a first threshold, selecting a predetermined number of Diameters from the activated Diameter signaling links. a signaling link as a signaling link to be deactivated;
  • Step S104 Deactivate the to-be-deactivated signaling link between the DRA device and the Diameter node.
  • the active Diameter signaling link can be appropriately reduced.
  • the number and the reduced Diameter signaling link can perform other services, thereby avoiding the waste of Diameter signaling link resources due to the inability of the Diameter signaling link to flexibly scale, thereby avoiding the Diameter signaling chain. The wasteful effect of road resources.
  • the Diameter node includes: a plurality of Diameter adjacent nodes; wherein selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: selecting a DRA device and multiple Diameter activating a Diameter signaling link between a first predetermined number of Diameter neighbor nodes in a node; wherein, after deactivating a selected predetermined number of Diameter signaling links between the DRA device and the Diameter node, The method also includes switching a first predetermined number of Diameter adjacency nodes from a working state to a non-working state.
  • the selected predetermined number of Diameter signaling links that are subjected to the deactivation operation may be concentrated in the first predetermined number of Diameter adjacent nodes, when the predetermined number of Diameter signaling links selected above are performed. After the deactivation operation, all of the Diameter signaling links in the first predetermined number of Diameter neighbor nodes may have been deactivated, so that the first predetermined number of Diameter neighbor nodes may be switched from the working state to the inactive state; Of course, the above selected predetermined number of Diameter signaling links may also be only a part of the first predetermined number of Diameter adjacent nodes, after the selected predetermined number of Diameter signaling links are subjected to the deactivation operation, There is another portion of the Diameter signaling link in the first predetermined number of Diameter adjacent nodes, in which case the load transfer in another portion of the Diameter signaling link of the first predetermined number of Diameter adjacent nodes may be Go to the Diameter signaling link of the active state in the other Diameter adjacent nodes.
  • Diameter signaling link of the active state in the other Diameter neighboring nodes cannot bear the load in the other part of the Diameter signaling link of the first predetermined number of Diameter neighboring nodes, it may be appropriate in other Diameter neighboring nodes.
  • the Diameter signaling link of the active state is added to carry the load.
  • selecting the activated Diameter signaling link between the foregoing DRA device and the first predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes comprises: determining, in the plurality of Diameter adjacent nodes Whether the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load; if the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load, the second predetermined number of Diameter adjacencies of the plurality of Diameter adjacent nodes a Diameter adjacency node other than the node as the first predetermined number of Diameter adjoining nodes, and selecting a DRA device and a first predetermined number of Diameter adjacent nodes The activated Diameter signaling link.
  • selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: from the above-described activated Diameter signaling links in descending order of priority Select one or more Diameter signaling links. When a plurality of Diameter signaling links need to be selected, a Diameter signaling link having the lowest priority may be selected, and then a Diameter signaling link having the lowest priority may be selected from the remaining Diameter signaling links. By analogy, it is known to select the number of Diameter signaling links that meet the requirements.
  • the method further includes: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node is increased to be greater than a second threshold, then the relationship between the DRA device and the Diameter node is A predetermined number of Diameter signaling links are selected as the to-be-activated signaling link in the configured but not yet activated Diameter signaling link; and the to-be-activated signaling link is activated between the DRA device and the Diameter node, The to-be-activated signaling link is used to carry a predetermined proportion of the load in the total load after being activated.
  • the Diameter node includes: a plurality of Diameter adjacent nodes, wherein a third predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes are in an active state, and the DRA device and the third predetermined number of There is an activated Diameter signaling link between the Diameter neighboring nodes, and a fourth predetermined number of Diameter neighboring nodes among the plurality of Diameter neighboring nodes are in an inactive state, and the DRA device is in a non-operating state between the DRA device and the fourth predetermined number of Diameter adjacent nodes There is a Diameter signaling link that has been configured but not yet activated; wherein a predetermined number of Diameter signaling links are selected from the configured, but not yet activated, Diameter signaling links between the DRA device and the Diameter node.
  • Diameter signaling links are selected as the to-be-activated signaling links in the activated Diameter signaling link.
  • selecting one or more Diameter signaling links from the configured, but not yet activated, Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes includes: One or more Diameter signaling links are selected from the configured, but not yet activated, Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes in descending order of priority. Wherein, when multiple Diameter signaling links are selected, The highest priority Diameter signaling link can be selected first, then the highest priority Diameter signaling link is selected from the remaining Diameter signaling links, and so on, until a satisfactory number of Diameter signaling links are selected. .
  • the method before determining that the total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced to less than a first threshold, the method further includes: for the DRA device and the Diameter node The configured Diameter signaling link sets a priority, wherein the configured Diameter signaling link includes an activated Diameter signaling link.
  • the first predetermined number of Diameter signaling links in the deactivated predetermined number of Diameter signaling links are configured between the first virtual machine and the Diameter node in the DRA device
  • An activated second predetermined number of Diameter signaling links are further configured between the first virtual machine and the Diameter node
  • deactivating the deactivated signaling link between the DRA device and the Diameter node includes: turning off a first virtual machine, and migrating the second predetermined number of Diameter signaling links between the second virtual machine and the Diameter node in the DRA device such that an activated first exists between the second virtual machine and the Diameter node Two predetermined number of Diameter signaling links.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • a device for adjusting the Diameter signaling link is further provided, and the device is used to implement the foregoing embodiments and optional embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a group of software and hardware The implementation of the combination is also possible and conceived.
  • FIG. 2 is a structural block diagram of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a first selection module 22 and a deactivation module 24. The apparatus will be described below.
  • the first selection module 22 is configured to, when determining that the total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced to less than a first threshold, from the activated Diameter signaling link Selecting a predetermined number of Diameter signaling links as a signaling link to be deactivated;
  • the deactivation module 24 is coupled to the first selection module 22 and is configured to deactivate the deactivation signaling link between the DRA device and the Diameter node.
  • the above Diameter node includes: a plurality of Diameter adjacent nodes; wherein, FIG. 3 is an optional structural block diagram of an adjustment device of a Diameter signaling link according to an embodiment of the present invention, as shown in FIG.
  • the module 22 includes a first selection unit 32 that includes, in addition to all of the modules shown in FIG. 2, a switching module 34, which is described below.
  • the first selecting unit 32 is configured to select an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes;
  • the switching module 34 is coupled to the deactivation module 24 and configured to cause the first predetermined number of Diameter adjacent nodes to switch from the active state to the inactive state.
  • FIG. 4 is a structural block diagram of a first selecting unit 32 in a adjusting apparatus of a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 4, the first selecting unit 32 includes a determining subunit 42 and a selecting subunit 44. The first selection unit 32 will be described below.
  • the determining subunit 42 is configured to determine whether the second predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes have the capability of carrying a total load;
  • the selecting subunit 44 is connected to the judging subunit 42 and configured to divide the plurality of Diameter adjacent nodes by a second predetermined number of Diameter adjacent nodes when the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load.
  • the outer Diameter adjacency node acts as a first predetermined number of Diameter adjoining nodes and selects an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter neighbor nodes.
  • FIG. 5 is a structural block diagram of a first selection module 22 in a device for adjusting a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 5, the first selection module 22 includes a second selection unit 52. The first selection module 22 is described.
  • the second selection unit 52 is arranged to select one or more Diameter signaling links from the activated Diameter signaling links in descending order of priority.
  • FIG. 6 is a block diagram of an optional structure of an adjustment apparatus for a Diameter signaling link according to an embodiment of the present invention.
  • the apparatus includes a second selection module 62 in addition to all the modules shown in FIG. And the activation module 64, wherein the connection relationship between the second selection module 62 and the activation module 64 and the first selection module 22 described above is various, and FIG. 6 is only an example. The apparatus will be described below with reference to FIG.
  • the second selection module 62 is configured to: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node increases to be greater than a second threshold, configured from the DRA device and the Diameter node, but not yet Selecting a predetermined number of Diameter signaling links in the activated Diameter signaling link as a signaling link to be activated;
  • the activation module 64 is connected to the second selection module 62 and the first selection module 22, and is configured to activate the activation signaling link between the DRA device and the Diameter node, wherein the to-be activated signaling link is activated. It is then used to carry a predetermined proportion of the load in the total load.
  • the Diameter node includes: a plurality of Diameter neighbor nodes, wherein a third predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes are in an active state, and the DRA device is adjacent to a third predetermined number of Diameter neighbor nodes.
  • There is an activated Diameter signaling link a fourth predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes are in an inactive state, and there is a configured but between the DRA device and the fourth predetermined number of Diameter adjacent nodes.
  • Figure 7 is a block diagram showing the structure of the second selection module 62 in the adjustment device of the Diameter signaling link according to the embodiment of the present invention. As shown in FIG. 7, the second selection module 62 includes The third selection unit 72 will be described below with respect to the second selection module 62.
  • the third selecting unit 72 is configured to switch a fifth predetermined number of Diameter adjacent nodes of the fourth predetermined number of Diameter adjacent nodes from the non-working state to the working state, and from the DRA device and the fifth predetermined number of Diameter adjacent nodes Between, but not yet activated One or more Diameter signaling links are selected as the to-be-activated signaling links in the Diameter signaling link.
  • the foregoing third selecting unit 72 is configured to: a Diameter signaling link configured between the DRA device and the fifth predetermined number of Diameter adjacent nodes in order from the highest to the lowest priority, but not yet activated. Select one or more Diameter signaling links.
  • FIG. 8 is a block diagram showing an optional structure of a device for adjusting a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 8, the device includes a setting module 82, in addition to all the modules shown in FIG. The device will be described.
  • the setting module 82 is connected to the first selection module 22, and is configured to set a priority for the configured Diameter signaling link between the DRA device and the Diameter node, wherein the configured Diameter signaling link includes the activated Diameter signaling link.
  • FIG. 9 is a structural block diagram of the deactivation module 24 in the adjusting device of the Diameter signaling link according to the embodiment of the present invention, as shown in FIG. 9.
  • the deactivation module 24 includes a processing unit 92, which is described below.
  • the processing unit 92 is configured to shut down the first virtual machine, and migrate the second predetermined number of Diameter signaling links to the second virtual machine in the DRA device and the Diameter node, so that the second virtual machine and the Diameter There is a second predetermined number of Diameter signaling links that have been activated between the nodes.
  • FIG. 10 is a structural block diagram of a Diameter routing agent DRA according to an embodiment of the present invention. As shown in FIG. 10, the DRA 102 includes the adjustment device 104 of the Diameter signaling link of any of the above.
  • the above embodiments can effectively solve the problem in the related art.
  • the operator plans a larger number of signaling links according to traffic peak traffic and other factors, but because of the signaling link.
  • the elastic scalability cannot be performed, which causes a large amount of waste of signaling link resources during normal traffic or low traffic, and seriously affects the elastic expansion and contraction of virtual machines, so that the green environmental protection capability brought by virtualization is invalid to some extent. problem.
  • An embodiment of the present invention further provides an implementation method for elastic contraction of a Diameter signaling link. The method will be described below.
  • the operator configures the DRA to the signaling link of other Diameter peer nodes (Peers).
  • Peers For neighboring nodes that support elastic scaling, configure the maximum number of signaling links (for example, 32) and the minimum number of signaling links (for example, 2). Configure which links are not flexibly stretched and which are used for elastic scaling.
  • For the elastically scalable signaling link set the elastic scaling priority of each signaling link. And set which signaling links are initially established after power-on.
  • a capability negotiation Capabilities Exchange-Request (CER) and Capabilities Exchange-Answer (CEA)
  • CER Capabilities Exchange-Request
  • CEA Capabilities Exchange-Answer
  • a letter is added.
  • Link elastic scaling attributes ie, "elastic scaling type” and "elastic scaling priority”
  • the elastic scaling class is: “Scale Fix”, “Scale Enable”.
  • the link with the elastic scaling type is not flexibly scalable. You need to set the elastic scaling priority.
  • the link with the elastic scalability is Scale Enable. You can flexibly flex the link. ;
  • FIG. 11 is a schematic diagram of a signaling link configuration of a DRA and a peer node (Peer) according to an embodiment of the present invention (does not support the dual impact of signaling link elastic scaling).
  • the number of signaling links between the DRA and the adjacent peer node is According to the maximum traffic, when the 4G user volume is large, if the full configuration is performed, some adjacent peer nodes can configure up to 32 signaling links. When the traffic volume is low (for example, the load per link is a%), the utilization of the signaling link bandwidth is very low, resulting in waste of resources; DRA needs to apply for more virtual machines and cannot continue to scale in (Scale In).
  • FIG. 12 is a schematic diagram of elastic contraction of a signaling link between a DRA and a peer node (supporting the dual benefits of elastic extension of a signaling link) according to an embodiment of the present invention.
  • the elastic scaling of the signaling link is supported, and the scalability is performed when the traffic volume is low (for example, the load per link is a%), then each peer node only Two signaling links are required for activation (for example, the load per link is 16xa%); at the same time, this DRA only needs to apply for fewer VM virtual machines.
  • FIG. 13 is a schematic diagram of a signaling link configuration of a DRA and a group of contiguous PCRFs according to an embodiment of the present invention (the elastic link of the signaling link is not supported), and it is assumed that the DRA is connected to 16 PCRFs, and the functions of each PCRF are completely equal. Price, each adjacent PCRF is configured with 32 signaling links. When the traffic is extremely low (for example, the load per link is b%), signaling link resources, and even many PCRF node resources are wasted; at the same time, the DRA also needs to apply for more virtual machines (VMs). .
  • VMs virtual machines
  • FIG. 14 is a schematic diagram of elastic indentation of a DRA and a contiguous PCRF group according to an embodiment of the present invention.
  • the elastic scaling of the signaling link is supported, only two PCRFs need to be activated, and each PCRF is activated.
  • Two signaling links are available, each signaling link has a load of 128Xb% (assuming 128xb% is less than 0.5), other PCRFs sleep, and only link reconstruction is monitored; at the same time, this DRA only needs to apply for fewer VMs. virtual machine.
  • FIG. 15 is a schematic diagram of signaling link, virtual machine, and traffic synchronization according to an embodiment of the present invention.
  • the DRA network element needs to follow the following principles to implement synchronization of signaling links, virtual machines, and traffic:
  • Virtual DRA network elements need to apply for the least virtual machine (VM) and signaling links even if there is no load or only very low load. These virtual machines and signaling links are never released or elastically stretched.
  • VM virtual machine
  • the corresponding priority is medium priority.
  • the probability of applying for use is very low, and only the traffic peak needs to be applied. Once the peak period expires, Immediately released.
  • the CER/CEA capability negotiation message adds the elastic scalability attribute AVP.
  • the CER (Capabilities-Exchange-Request) message is defined as follows:
  • the CEA message is defined as follows:
  • AVP Code 8000, Vendor-Id: 3902, group type.
  • AVP Code 8001, Vendor-Id: 3902, Type: Enumeration.
  • AVP Code 8002, Vendor-Id: 3902, type: Unsigned32.
  • the lowest priority (the highest priority is to release the link, and the lowest priority is to establish the link)
  • DPR Disconnect-Peer-Request
  • AVP Code 273, Type: Enumeration.
  • Figure 16 is The DRA network element is activated according to the embodiment of the present invention, and the flow chart of the signaling link establishment at the time of first power-on is started.
  • the DRA network element is started, and the SCTP bearer is established first when the power is first powered on, and then the CER/CEA capability negotiation is performed.
  • the capability negotiation negotiates the elastic scaling attributes (elastic scaling type and elastic scaling priority) to facilitate subsequent elastic contraction.
  • the process includes the following steps:
  • Step S1602 The DRA network element is started for the first time, and the operator determines the total number of signaling links according to, but not limited to, the following factors:
  • the DRA is a dual-plane network, you need to consider disaster recovery.
  • the temporary signaling caused by the partner DRA is doubled.
  • each link is randomly assigned a different priority; if the bearers are different, and SCTP or In TCP, each link is assigned a priority according to the bearer classification, and all SCTP links have higher priority than TCP, or vice versa.
  • Step S1604 The first establishment of the link, the DRA selects a signaling link with a link type of SCALE_FIX and a link type of SCALE_ENABLE as the highest priority of the elastic extension according to the configuration (for example, the number of activated links).
  • the SCTP bearer is established first, and then the CER/CEA capability negotiation is performed.
  • the capability negotiation has elastic scaling attributes (for example, Scale_Type is ‘SCALE_FIX’; or Scale_Type is ‘SCALE_ENABLE, and the elastic scaling priority is 0);
  • Step S1606 After receiving the message, the peer node (PEER) returns to the CEA, and the negotiation result of the elastic scaling attribute (for example, Scale_Type is 'SCALE_FIX'; or Scale_Type is 'SCALE_ENABLE and the elastic scaling priority is 0), DRA Recorded after receiving.
  • the elastic scaling attribute for example, Scale_Type is 'SCALE_FIX'; or Scale_Type is 'SCALE_ENABLE and the elastic scaling priority is 0
  • FIG. 17 is a flowchart of the signaling link elastic intrusion (Scale In) according to an embodiment of the present invention, when a peer node (Peer) The total link load is decreased.
  • the signaling link with the lowest priority is selected to initiate the disconnection according to the elastic scaling priority of the signaling link, that is, the DPR message is sent.
  • the reason for the disconnection is indicated by the enumeration value of "Disconnect-Cause AVP" in the message "SCALE_IN 3".
  • the two NEs cannot generate a serious alarm and do not immediately reestablish the link.
  • the process includes the following steps:
  • Step S1702 When a total link load of a peer node (Peer) decreases and some or all signaling links need to be closed, the DRA decides to perform a signaling chain for a peer node (Peer) through a local virtualization algorithm.
  • Scale In the case of Scale In, the elastic negotiation is successful and the elastic scaling priority is among the lowest links.
  • the VM virtual machine is used to determine an active link.
  • the DPR is sent to the peer to disconnect the link. The reason is "SCALE_IN". The node does not perform serious alarms and does not perform link reestablishment immediately.
  • Step S1704 After receiving the message, the peer node (PEER) returns to the DPA. No serious alarms are issued.
  • FIG. 18 is a flowchart of the elastic extension of the signaling link according to an embodiment of the present invention.
  • the link with the highest priority is selected to initiate the reconstruction of the signaling link according to the elastic scaling priority of the signaling link: the SCTP bearer is established first, and then the CER/CEA capability negotiation is performed.
  • the capability negotiation negotiates the elastic scaling attributes (elastic scaling type and elastic scaling priority) to facilitate subsequent elastic contraction.
  • the process includes the following steps:
  • Step S1802 When the total link load of a peer node (Peer) rises, signaling needs to be added. On the link, when the DRA determines the scale out of the signaling link for a peer node through the local virtualization algorithm, the inactive link with the highest elastic priority is selected to establish the SCTP bearer. CER/CEA capacity negotiation. Capability negotiation has elastic scaling attributes (for example, Scale_Type is ‘SCALE_ENABLE; elasticity priority is 3);
  • Step S1804 After receiving the message, the peer node (PEER) returns to the CEA, and includes the negotiation result of the elastic extension attribute, and the DRA receives the record after receiving the message. If the CEA does not return the negotiation result of the elastic scaling attribute, the signaling link cannot perform Scale In.
  • FIG. 19 is a flowchart of elastic contraction of a server group according to an embodiment of the present invention.
  • the unconfigured elastic expansion is selected.
  • a DPR message is sent on each link.
  • the reason for the disconnection is indicated by the "SCALE_IN 3" enumeration value of "Disconnect-Cause AVP" in the message.
  • the NEs on both sides cannot generate serious alarms and do not immediately reestablish links.
  • the process includes:
  • Step S1902 When the total load of a certain server group decreases and some servers need to be closed, the server whose elastic scaling type is ‘SCALE_FIX’ is not selected. On the A-link of the server, the DPR is sent to the peer to disconnect the link. The reason is "SCALE_IN”. The node does not perform serious alarms and does not perform link re-establishment immediately.
  • Step S1904 After receiving the message, the peer node (PEER) returns to the DPA. No serious alarms are issued.
  • Step S1906 On the B link of the server, the DPR is sent to the peer to disconnect the link, and the reason is "SCALE_IN". The node does not perform a serious alarm and does not immediately perform link reestablishment.
  • the disconnection process of the A/B link can be performed in parallel.
  • Step S1908 After receiving the message, the peer node returns to the DPA. No serious alarms are issued.
  • FIG. 20 is a flowchart of a server group elastic extension according to an embodiment of the present invention.
  • Select a server that does not have an elastic scaling type of 'SCALE_FIX'. Select to activate m links.
  • the SCTP bearer setup is performed first, and then the CER/CEA capability negotiation is performed.
  • the capability negotiation negotiates the elastic scaling attributes (elastic scaling type and elastic scaling priority) to facilitate subsequent elastic contraction.
  • the process includes the following steps:
  • Step S2002 When the total load of a certain server group rises and a part of the server needs to be activated, the server with the elastic extension type ‘SCALE_FIX’ is not configured. Select to activate 2 (or more, the same number of links as other services) link. On the A link on the server, SCTP bearer setup is performed, and then CER/CEA capability negotiation is performed. Capability negotiation has elastic scaling attributes (for example, Scale_Type is ‘SCALE_ENABLE; elasticity priority is 0);
  • Step S2004 After receiving the message, the peer node returns to the CEA, and the negotiation result of the elastic scalability attribute is recorded after the DRA receives the message.
  • Step S2006 On the B link, perform SCTP bearer establishment, and then perform CER/CEA capability negotiation.
  • Capability negotiation has elastic scaling attributes (for example, Scale_Type is ‘SCALE_ENABLE; elasticity priority is 1);
  • the establishment process of the A/B link can be performed in parallel.
  • Step S2008 After receiving the message, the peer node returns to the CEA, and the negotiation result of the elastic scalability attribute is recorded after the DRA receives the message.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; Alternatively, the above modules are located in multiple processors.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • S2 Deactivate the signaling link to be deactivated between the DRA device and the Diameter node.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the processor performs steps S1-S3 according to the stored program code in the storage medium.
  • Diameter signaling link is allocated on demand, and the ability to utilize a single Diameter signaling link can save the resource overhead of the Diameter signaling link for most of the time.
  • the Diameter node reasonably arranges the distribution on the VM according to the elastic scaling priority of the signaling link, the probability of migration of the Diameter signaling link between the VMs in the network element can be significantly reduced, thereby avoiding unnecessary internal loss.
  • DRA may connect to some groups of servers, such as connecting a group of PCRFs, a group of OCSs, a group of HLRs, and any one of the services can select any one of the groups. Servers. When traffic is low, it takes only one or two servers to provide services in these groups. Other servers can disconnect all the links and sleep.
  • the embodiments of the present invention can be carried out as long as they are supported by two or two Diameter nodes, and thus are easy to implement.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the foregoing technical solution can avoid the waste of Diameter signaling link resources caused by the inability of the Diameter signaling link to be elastically stretched, thereby achieving the effect of avoiding waste of Diameter signaling link resources.

Landscapes

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

Abstract

A method and apparatus for adjusting a Diameter signaling link, and a DRA. The method comprises: selecting, when determining that total load of activated Diameter signaling links between a Diameter routing agent (DRA) device and a Diameter node decreases to be less than a first threshold, a preset quantity of Diameter signaling links from the foregoing activated Diameter signaling links as to-be-deactivated signaling links; and performing deactivation on the foregoing to-be-deactivated signaling links between the foregoing DRA device and the Diameter node. The foregoing technical solution can avoid waste of Diameter signaling link resources due to incapability of scale in/out of Diameter signaling links, thereby achieving the effect of avoiding the waste of the Diameter signaling link resources.

Description

Diameter信令链路的调整方法、装置及DRADiameter signaling link adjustment method, device and DRA 技术领域Technical field
本文涉及但不限于通信领域,具体而言,涉及一种Diameter信令链路的调整方法、装置及DRA。This document relates to, but is not limited to, the field of communications, and in particular, to a method, an apparatus, and a DRA for adjusting a Diameter signaling link.
背景技术Background technique
移动通讯领域中,核心网元的虚拟化是一个即将席卷整个行业的技术。虚拟化并不是仅仅针对移动通讯,而是一类通用的互联网技术,适用所有的服务器。In the field of mobile communications, the virtualization of core network elements is a technology that is about to sweep the entire industry. Virtualization is not just for mobile communications, but a common type of Internet technology for all servers.
网元虚拟化的本质是软件与硬件分离。广义上的硬件有“中央处理器(Central Processing Unit,简称为CPU)”、“存储”、“带宽”、“网络资源”等等。通过虚拟化,硬件资源“按需分配”,具有高可靠性、快速部署、绿色环保等优秀特征。The essence of network element virtualization is the separation of software and hardware. The hardware in a broad sense includes "Central Processing Unit (CPU)", "Storage", "Bandwidth", "Network Resources", and the like. Through virtualization, hardware resources are “on-demand”, with excellent features such as high reliability, rapid deployment, and green environmental protection.
虚拟机(Virtual Machine,简称为虚机或者VM)是虚拟化中的一个核心概念,每个虚拟机可配置一定数量的物理CPU、内存、硬盘等资源。A virtual machine (virtual machine or virtual machine) is a core concept in virtualization. Each virtual machine can be configured with a certain amount of physical CPU, memory, hard disk, and other resources.
“弹性伸缩”是虚拟化的一项重要技术,用户以虚拟机的粒度动态调整所需的硬件资源。当业务量增加时,用户申请一个或者多个新的虚机,即弹性扩展(Scale Out);当话务量降低时,则释放一个或者多个虚机,即弹性收缩(Scale In)。弹性伸缩的判断准则是依据最突出的硬件资源,最常用的是虚拟CPU负荷。但是,对于Diameter路由代理(Diameter Routing Agent,简称为DRA)来说不限于此。"Flexible scaling" is an important technology for virtualization. Users dynamically adjust the required hardware resources at the granularity of the virtual machine. When the traffic increases, the user applies for one or more new virtual machines, that is, Scale Out; when the traffic is reduced, one or more virtual machines are released, that is, Scale In. The criteria for elastic scaling are based on the most prominent hardware resources, the most common being the virtual CPU load. However, it is not limited to the Diameter Routing Agent (DRA).
DRA是Diameter信令转接设备,是Diameter信令的高速公路。每个DRA与许多其他DRA或者Diameter信令节点之间建立信令连接。一个DRA与每个邻接节点之间最多可以建立32条Diameter信令链路。按照运营商的规范要求,一个DRA支持的总邻接节点为8192个,总信令链路数最多达15000条。运营商按照最大话务量配置信令链路数。 The DRA is a Diameter signaling switching device and is a highway for Diameter signaling. Each DRA establishes a signaling connection with many other DRA or Diameter signaling nodes. A maximum of 32 Diameter signaling links can be established between a DRA and each adjacent node. According to the operator's specifications, a total number of adjacent nodes supported by a DRA is 8192, and the total number of signaling links is up to 15000. The operator configures the number of signaling links according to the maximum traffic.
单条Diameter信令链路的带宽高达百兆bit/s以上,为其分配的收发缓存消耗较大的内存空间,而每个虚拟机的内存容量总是有限的。另外,一条满负载的信令链路消耗的CPU惊人,按照当前CPU的处理能力,一个物理CPU仅够处理几条满负载的信令链路。因此,每个VM的配置的最大信令链路数是有限的,比如为128条。Diameter信令链路成了DRA网元的一种更加突出的稀缺硬件资源。比如说,一个DRA配置了6400条信令链路,当所有信令链路上的业务量降到接近0,由于单个VM上信令链路数的约束,则至少需要分配50个虚拟机,但是每个虚拟机的CPU负荷并不高。The bandwidth of a single Diameter signaling link is up to 100 megabits/s, and the allocated transceiver buffer consumes a large memory space, and the memory capacity of each virtual machine is always limited. In addition, a fully loaded signaling link consumes a staggering CPU. According to the current CPU processing power, one physical CPU can only handle several full-load signaling links. Therefore, the maximum number of signaling links configured per VM is limited, for example 128. The Diameter signaling link becomes a more prominent scarce hardware resource for DRA network elements. For example, a DRA is configured with 6400 signaling links. When the traffic on all signaling links drops to close to 0, at least 50 virtual machines need to be allocated due to the number of signaling links on a single VM. But the CPU load of each virtual machine is not high.
由于Diameter信令链路无法弹性伸缩,任何时候都需要激活所有的信令链路,带来的后果是:如果DRA与某个邻接节点的话务量很低,即与该节点之间的所有信令链路上的话务量很低时,相关信令链路没有物尽其用,而是大多数被浪费了,不符合虚拟化技术中”按需分配”的宗旨;成为虚机弹性收缩(Scale In)的突出瓶颈。当处于话务低峰时,虽然每个VM的CPU负荷不大,但是由于每个VM无法再分配新的信令链路,造成VM无法弹性收缩。由此可知,在相关技术中存在着由于Diameter信令链路无法弹性伸缩而造成Diameter信令链路资源的浪费的问题。Since the Diameter signaling link cannot be flexibly stretched, all signaling links need to be activated at any time. The consequence is that if the traffic of the DRA and a neighboring node is low, that is, all the nodes are When the traffic on the signaling link is very low, the relevant signaling link does not make the best use of it, but most of it is wasted, which does not meet the purpose of "on-demand allocation" in virtualization technology; The protruding bottleneck of Scale In. When the traffic is low, although the CPU load of each VM is not large, the VM cannot be elastically contracted because each VM cannot allocate a new signaling link. Therefore, in the related art, there is a problem that the Diameter signaling link resource is wasted due to the inability of the Diameter signaling link to be elastically stretched.
针对相关技术中存在的由于Diameter信令链路无法弹性伸缩而造成Diameter信令链路资源的浪费的问题,目前尚未提出有效的解决方案。For the problem that the Diameter signaling link resources are wasted due to the inability of the Diameter signaling link to be elastically stretched in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种Diameter信令链路的调整方法、装置及DRA,能够避免由于Diameter信令链路无法弹性伸缩而造成Diameter信令链路资源的浪费。The embodiment of the invention provides a method, a device and a DRA for adjusting a Diameter signaling link, which can avoid waste of Diameter signaling link resources due to the inability of the Diameter signaling link to be flexibly stretched.
根据本发明实施例的一个方面,提供了一种Diameter信令链路的调整方法,包括:当确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值时,从所述已激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待去激活信令 链路;在所述DRA设备与所述Diameter节点之间对所述待去激活信令链路进行去激活。According to an aspect of the embodiments of the present invention, a method for adjusting a Diameter signaling link includes: determining that a total load of an activated Diameter signaling link between a Diameter routing proxy DRA device and a Diameter node is reduced to less than At a first threshold, a predetermined number of Diameter signaling links are selected from the activated Diameter signaling links as deactivation signaling a link; deactivating the to-be-deactivated signaling link between the DRA device and the Diameter node.
可选地,所述Diameter节点包括:多个Diameter邻接节点;其中,从所述已激活的Diameter信令链路中选择预定数量的Diameter信令链路包括:选择所述DRA设备与所述多个Diameter邻接节点中的第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路;所述方法还包括:在所述DRA设备与所述Diameter节点之间对所述待去激活信令链路进行去激活之后,使所述第一预定数量的Diameter邻接节点从工作状态切换到非工作状态。Optionally, the Diameter node includes: a plurality of Diameter adjacent nodes; wherein selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: selecting the DRA device and the multiple The Diameter signaling link between the first predetermined number of Diameter adjacent nodes in the Diameter adjacent nodes; the method further comprising: the to-be-deactivated letter between the DRA device and the Diameter node After deactivating the link, the first predetermined number of Diameter neighbor nodes are switched from an active state to an inactive state.
可选地,选择所述DRA设备与所述多个Diameter邻接节点中的第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路包括:判断所述多个Diameter邻接节点中的第二预定数量的Diameter邻接节点是否具备承载所述总负荷的能力;若所述第二预定数量的Diameter邻接节点具备承载所述总负荷的能力,则将所述多个Diameter邻接节点中除所述第二预定数量的Diameter邻接节点之外的Diameter邻接节点作为所述第一预定数量的Diameter邻接节点,并选择所述DRA设备与所述第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路。Optionally, selecting the activated Diameter signaling link between the DRA device and the first predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes comprises: determining a number of the plurality of Diameter neighbor nodes Whether a predetermined number of Diameter adjacent nodes have the capability of carrying the total load; if the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load, the plurality of Diameter adjacent nodes are excluded a Diameter adjacent node other than the second predetermined number of Diameter adjacent nodes as the first predetermined number of Diameter adjacent nodes, and selecting an activated Diameter letter between the DRA device and the first predetermined number of Diameter adjacent nodes Let the link.
可选地,从所述已激活的Diameter信令链路中选择预定数量的Diameter信令链路包括:按照优先级从低到高的顺序从所述已激活的Diameter信令链路中选择一条或多条Diameter信令链路。Optionally, selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: selecting one of the activated Diameter signaling links according to a priority from low to high priority Or multiple Diameter signaling links.
可选地,还包括:当所述DRA设备与所述Diameter节点之间已激活的Diameter信令链路的总负荷增加到大于第二阈值,则从所述DRA设备与所述Diameter节点之间已配置的、但尚未激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待激活信令链路;在所述DRA设备与所述Diameter节点之间对所述待激活信令链路进行激活,其中,所述待激活信令链路在被激活后用于承载所述总负荷中的预定比例的负荷。Optionally, the method further includes: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node increases to be greater than a second threshold, between the DRA device and the Diameter node A predetermined number of Diameter signaling links are selected as the to-be-activated signaling link in the configured but not yet activated Diameter signaling link; the to-be-activated letter is between the DRA device and the Diameter node The link is activated, wherein the to-be-activated signaling link is used to carry a predetermined proportion of the load in the total load after being activated.
可选地,所述Diameter节点包括:多个Diameter邻接节点,其中,所述多个Diameter邻接节点中的第三预定数量的Diameter邻接节点处于工作状态,所述DRA设备与所述第三预定数量的Diameter邻接节点之间存在所述已激活的Diameter信令链路,所述多个Diameter邻接节点中的第四预定数量 的Diameter邻接节点处于非工作状态,所述DRA设备与所述第四预定数量的Diameter邻接节点之间存在所述已配置的、但尚未激活的Diameter信令链路;其中,从所述DRA设备与所述Diameter节点之间已配置的、但尚未激活的Diameter信令链路中选择预定数量的Diameter信令链路包括:使所述第四预定数量的Diameter邻接节点中的第五预定数量的Diameter邻接节点从所述非工作状态切换到工作状态,并从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路作为所述待激活信令链路。Optionally, the Diameter node includes: a plurality of Diameter neighbor nodes, wherein a third predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes are in an active state, the DRA device and the third predetermined number The activated Diameter signaling link exists between the Diameter adjacent nodes, and the fourth predetermined number of the plurality of Diameter adjacent nodes The Diameter adjacency node is in an inactive state, and the configured, but not yet activated, Diameter signaling link exists between the DRA device and the fourth predetermined number of Diameter neighbor nodes; wherein, the DRA device is Selecting a predetermined number of Diameter signaling links from a configured, but not yet activated, Diameter signaling link between the Diameter nodes includes: causing a fifth predetermined number of the fourth predetermined number of Diameter adjacent nodes Diameter adjacency node switches from the non-working state to an active state, and selects one of the configured or not yet activated Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes A plurality of Diameter signaling links are used as the to-be-activated signaling link.
可选地,从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路包括:按照优先级从高到低的顺序从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路。Optionally, selecting one or more Diameter signaling links from the configured, but not yet activated, Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes comprises: prioritizing The highest to lowest order selects one or more Diameter signaling links from the configured, but not yet activated, Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes.
可选地,在确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值之前,还包括:对所述DRA设备与所述Diameter节点之间已配置的Diameter信令链路设置优先级,其中,所述已配置的Diameter信令链路包括所述已激活的Diameter信令链路。Optionally, before determining that the total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced to be less than a first threshold, the method further includes: between the DRA device and the Diameter node The configured Diameter signaling link sets a priority, wherein the configured Diameter signaling link includes the activated Diameter signaling link.
可选地,去激活的所述预定数量的Diameter信令链路中的第一预定数量的Diameter信令链路配置在所述DRA设备中的第一虚拟机与所述Diameter节点之间,在所述第一虚拟机与所述Diameter节点之间还配置有已激活的第二预定数量的Diameter信令链路,其中,在所述DRA设备与所述Diameter节点之间对所述待去激活信令链路进行去激活包括:关闭所述第一虚拟机,并将所述第二预定数量的Diameter信令链路迁移至所述DRA设备中的第二虚拟机与所述Diameter节点之间,使得在所述第二虚拟机与所述Diameter节点之间存在所述已激活的第二预定数量的Diameter信令链路。Optionally, a first predetermined number of Diameter signaling links in the predetermined number of Diameter signaling links that are deactivated are configured between a first virtual machine and the Diameter node in the DRA device, An activated second predetermined number of Diameter signaling links are further configured between the first virtual machine and the Diameter node, wherein the DMA device and the Diameter node are to be deactivated Deactivating the signaling link includes: turning off the first virtual machine, and migrating the second predetermined number of Diameter signaling links to a second virtual machine in the DRA device and the Diameter node So that the activated second predetermined number of Diameter signaling links exist between the second virtual machine and the Diameter node.
根据本发明实施例的另一方面,提供了一种Diameter信令链路的调整装置,包括:第一选择模块,设置为当确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值时,从所述已激活的Diameter信令链路中选择预定数量的Diameter信令链路, 作为待去激活信令链路;去激活模块,设置为在所述DRA设备与所述Diameter节点之间对所述待去激活信令链路进行去激活。According to another aspect of an embodiment of the present invention, there is provided an apparatus for adjusting a Diameter signaling link, comprising: a first selecting module configured to determine an activated Diameter signaling between a Diameter routing proxy DRA device and a Diameter node Selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links when the total load of the link decreases below a first threshold, As a signal link to be deactivated; a deactivation module is arranged to deactivate the to-be-deactivated signaling link between the DRA device and the Diameter node.
可选地,所述Diameter节点包括:多个Diameter邻接节点;其中,所述第一选择模块包括:第一选择单元,设置为选择所述DRA设备与所述多个Diameter邻接节点中的第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路;其中,所述装置还包括切换模块,设置为使所述第一预定数量的Diameter邻接节点从工作状态切换到非工作状态。Optionally, the Diameter node includes: a plurality of Diameter adjacent nodes; wherein the first selection module includes: a first selecting unit, configured to select the first one of the DRA device and the plurality of Diameter adjacent nodes An activated Diameter signaling link between a predetermined number of Diameter adjacent nodes; wherein the apparatus further comprises a switching module configured to switch the first predetermined number of Diameter adjacency nodes from an active state to an inactive state.
可选地,所述第一选择单元包括:判断子单元,设置为判断所述多个Diameter邻接节点中的第二预定数量的Diameter邻接节点是否具备承载所述总负荷的能力;选择子单元,设置为当所述第二预定数量的Diameter邻接节点具备承载所述总负荷的能力时,将所述多个Diameter邻接节点中除所述第二预定数量的Diameter邻接节点之外的Diameter邻接节点作为所述第一预定数量的Diameter邻接节点,并选择所述DRA设备与所述第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路。Optionally, the first selecting unit includes: a determining subunit, configured to determine whether a second predetermined number of Diameter adjoining nodes of the plurality of Diameter neighboring nodes have the capability of carrying the total load; and selecting a subunit, Providing, when the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load, using a Diameter adjacent node of the plurality of Diameter adjacent nodes other than the second predetermined number of Diameter adjacent nodes The first predetermined number of Diameter adjacent nodes and selecting an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter neighbor nodes.
可选地,所述第一选择模块还包括:第二选择单元,设置为按照优先级从低到高的顺序从所述已激活的Diameter信令链路中选择一条或多条的Diameter信令链路。Optionally, the first selection module further includes: a second selecting unit, configured to select one or more Diameter signaling from the activated Diameter signaling links in descending order of priority link.
可选地,所述装置还包括:第二选择模块,设置为当所述DRA设备与所述Diameter节点之间已激活的Diameter信令链路的总负荷增加到大于第二阈值时,从所述DRA设备与所述Diameter节点之间已配置的、但尚未激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待激活信令链路;激活模块,设置为在所述DRA设备与所述Diameter节点之间对待激活信令链路进行激活,其中,所述待激活信令链路在被激活后用于承载所述总负荷中的预定比例的负荷。Optionally, the device further includes: a second selecting module, configured to: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node increases to be greater than a second threshold, Determining a predetermined number of Diameter signaling links in the Diameter signaling link configured between the DRA device and the Diameter node, but not yet activated, as a signaling link to be activated; an activation module, configured to The activation signaling link is activated between the DRA device and the Diameter node, wherein the to-be-activated signaling link is used to carry a predetermined proportion of the total load when activated.
可选地,所述Diameter节点包括:多个Diameter邻接节点,其中,所述多个Diameter邻接节点中的第三预定数量的Diameter邻接节点处于工作状态,所述DRA设备与所述第三预定数量的Diameter邻接节点之间存在所述已激活的Diameter信令链路,所述多个Diameter邻接节点中的第四预定数量的Diameter邻接节点处于非工作状态,所述DRA设备与所述第四预定数量 的Diameter邻接节点之间存在所述已配置的、但尚未激活的Diameter信令链路;其中,所述第二选模块包括:第三选择单元,设置为使所述第四预定数量的Diameter邻接节点中的第五预定数量的Diameter邻接节点从所述非工作状态切换到工作状态,并从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路作为所述待激活信令链路。Optionally, the Diameter node includes: a plurality of Diameter neighbor nodes, wherein a third predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes are in an active state, the DRA device and the third predetermined number The activated Diameter signaling link exists between the Diameter adjacent nodes, a fourth predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes are in a non-working state, the DRA device and the fourth predetermined Quantity The configured, but not yet activated, Diameter signaling link exists between the Diameter adjacency nodes; wherein the second selection module comprises: a third selection unit configured to abut the fourth predetermined number of Diameter A fifth predetermined number of Diameter adjacency nodes in the node switch from the non-working state to the active state, and a Diameter configured between the DRA device and the fifth predetermined number of Diameter adjacency nodes but not yet activated One or more Diameter signaling links are selected as the to-be-activated signaling link in the signaling link.
可选地,所述第三选择单元是设置为:按照优先级从高到低的顺序从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路。Optionally, the third selecting unit is configured to: a configured but not yet activated Diameter between the DRA device and the fifth predetermined number of Diameter adjacent nodes in descending order of priority One or more Diameter signaling links are selected in the signaling link.
可选地,所述装置还包括:设置模块,设置为对所述DRA设备与所述Diameter节点之间已配置的Diameter信令链路设置优先级,其中,所述已配置的Diameter信令链路包括所述已激活的Diameter信令链路。Optionally, the apparatus further includes: a setting module, configured to set a priority to a configured Diameter signaling link between the DRA device and the Diameter node, wherein the configured Diameter signaling chain The path includes the activated Diameter signaling link.
可选地,去激活的所述预定数量的Diameter信令链路中的第一预定数量的Diameter信令链路配置在所述DRA设备中的第一虚拟机与所述Diameter节点之间,在所述第一虚拟机与所述Diameter节点之间还配置有已激活的第二预定数量的Diameter信令链路,其中,所述去激活模块包括:处理单元,设置为关闭所述第一虚拟机,并将所述第二预定数量的Diameter信令链路迁移至所述DRA设备中的第二虚拟机与所述Diameter节点之间,使得在所述第二虚拟机与所述Diameter节点之间存在所述已激活的第二预定数量的Diameter信令链路。Optionally, a first predetermined number of Diameter signaling links in the predetermined number of Diameter signaling links that are deactivated are configured between a first virtual machine and the Diameter node in the DRA device, An activated second predetermined number of Diameter signaling links are further configured between the first virtual machine and the Diameter node, where the deactivation module includes: a processing unit, configured to close the first virtual And moving the second predetermined number of Diameter signaling links between the second virtual machine in the DRA device and the Diameter node, such that the second virtual machine and the Diameter node There is a second predetermined number of Diameter signaling links that are activated.
根据本发明实施例的另一方面,提供了一种Diameter路由代理DRA,包括上述任一项所述的装置。According to another aspect of an embodiment of the present invention, there is provided a Diameter Routing Agent DRA, comprising the apparatus of any of the above.
通过本发明实施例,采用当确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值时,从所述已激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待去激活信令链路;在所述DRA设备与所述Diameter节点之间对所述待去激活信令链路进行去激活,能够避免由于Diameter信令链路无法弹性伸缩而造成Diameter信令链路资源的浪费,进而达到了避免Diameter信令链路资源的浪费的效果。 With the embodiment of the present invention, when determining that the total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced to less than a first threshold, from the activated Diameter signaling link Selecting a predetermined number of Diameter signaling links as a signaling link to be deactivated; deactivating the to-be-deactivated signaling link between the DRA device and the Diameter node can avoid the Diameter letter The link cannot be elastically stretched, which causes waste of Diameter signaling link resources, thereby achieving the effect of avoiding waste of Diameter signaling link resources.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是根据本发明实施例的Diameter信令链路的调整方法的流程图;1 is a flowchart of a method for adjusting a Diameter signaling link according to an embodiment of the present invention;
图2是根据本发明实施例的Diameter信令链路的调整装置的结构框图;2 is a structural block diagram of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention;
图3是根据本发明实施例的Diameter信令链路的调整装置的可选结构框图;3 is a block diagram showing an optional structure of an adjustment apparatus of a Diameter signaling link according to an embodiment of the present invention;
图4是根据本发明实施例的Diameter信令链路的调整装置中第一选择单元32的结构框图;4 is a structural block diagram of a first selecting unit 32 in an adjusting apparatus of a Diameter signaling link according to an embodiment of the present invention;
图5是根据本发明实施例的Diameter信令链路的调整装置中第一选择模块22的结构框图;FIG. 5 is a structural block diagram of a first selection module 22 in an adjustment apparatus of a Diameter signaling link according to an embodiment of the present invention;
图6是根据本发明实施例的Diameter信令链路的调整装置的可选结构框图一;6 is a block diagram 1 of an optional structure of an adjustment apparatus for a Diameter signaling link according to an embodiment of the present invention;
图7是根据本发明实施例的Diameter信令链路的调整装置中第二选择模块62的结构框图;FIG. 7 is a structural block diagram of a second selection module 62 in an adjustment apparatus of a Diameter signaling link according to an embodiment of the present invention;
图8是根据本发明实施例的Diameter信令链路的调整装置的可选结构框图二;8 is a block diagram 2 of an optional structure of an adjustment apparatus for a Diameter signaling link according to an embodiment of the present invention;
图9是根据本发明实施例的Diameter信令链路的调整装置中去激活模块24的结构框图;9 is a structural block diagram of a deactivation module 24 in an adjustment apparatus of a Diameter signaling link according to an embodiment of the present invention;
图10是根据本发明实施例的Diameter路由代理DRA的结构框图;10 is a structural block diagram of a Diameter routing agent DRA according to an embodiment of the present invention;
图11是根据本发明实施例的DRA与对等节点(Peer)的信令链路配置示意图;11 is a schematic diagram of a signaling link configuration of a DRA and a peer node (Peer) according to an embodiment of the present invention;
图12是根据本发明实施例的DRA与对等节点(Peer)的信令链路的弹性收缩(Scale In)示意图;12 is a schematic diagram of a scale intrusion of a signaling link of a DRA and a peer node (Peer) according to an embodiment of the present invention;
图13是根据本发明实施例的DRA与一组邻接PCRF的信令链路配置示意图;13 is a schematic diagram of a signaling link configuration of a DRA and a set of contiguous PCRFs according to an embodiment of the present invention;
图14是根据本发明实施例的DRA与邻接PCRF组的弹性收缩(Scale In) 示意图;14 is an elastic contraction (Scale In) of a DRA and a contiguous PCRF group according to an embodiment of the present invention. schematic diagram;
图15是根据本发明实施例的信令链路、虚机、话务量同步的示意图;15 is a schematic diagram of signaling link, virtual machine, and traffic synchronization according to an embodiment of the present invention;
图16是根据本发明实施例的DRA网元启动,首次上电时的信令链路建立的流程图;16 is a flowchart of establishing a signaling link when a DRA network element is started and powers on for the first time according to an embodiment of the present invention;
图17是根据本发明实施例的信令链路弹性收缩(Scale In)的流程图;17 is a flow chart of a signaling link elastic intrusion (Scale In) according to an embodiment of the present invention;
图18是根据本发明实施例的信令链路弹性扩展(Scale Out)的流程图;18 is a flowchart of a signaling link elastic extension (Scale Out) according to an embodiment of the present invention;
图19是根据本发明实施例的服务器组弹性收缩(Scale In)的流程图;19 is a flow chart of a server group elastic intrusion (Scale In) according to an embodiment of the present invention;
图20是根据本发明实施例的服务器组弹性扩展(Scale Out)的流程图。20 is a flow chart of server group elastic expansion (Scale Out) according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种Diameter信令链路的调整方法,图1是根据本发明实施例的Diameter信令链路的调整方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for adjusting a Diameter signaling link is provided. FIG. 1 is a flowchart of a method for adjusting a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps. :
步骤S102,当确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值时,从上述已激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待去激活信令链路;Step S102, when determining that the total load of the activated Diameter signaling link between the Diameter routing proxy DRA device and the Diameter node is reduced to less than a first threshold, selecting a predetermined number of Diameters from the activated Diameter signaling links. a signaling link as a signaling link to be deactivated;
步骤S104,在上述DRA设备与Diameter节点之间对上述待去激活信令链路进行去激活。Step S104: Deactivate the to-be-deactivated signaling link between the DRA device and the Diameter node.
在上述步骤中,当确定DRA设备和Diameter节点间已激活的Diameter信令链路的总负荷小于第一阈值时,说明当前话务量偏低,无需使用全部已激活的Diameter信令链路,此时可以适当的缩减激活的Diameter信令链路的 数量,并且,缩减的Diameter信令链路可以再去执行其他的业务,从而避免了由于Diameter信令链路无法弹性伸缩而造成Diameter信令链路资源的浪费,进而达到了避免Diameter信令链路资源的浪费的效果。In the foregoing steps, when it is determined that the total load of the activated Diameter signaling link between the DRA device and the Diameter node is less than the first threshold, the current traffic is low, and it is not necessary to use all activated Diameter signaling links. At this point, the active Diameter signaling link can be appropriately reduced. The number and the reduced Diameter signaling link can perform other services, thereby avoiding the waste of Diameter signaling link resources due to the inability of the Diameter signaling link to flexibly scale, thereby avoiding the Diameter signaling chain. The wasteful effect of road resources.
在一个可选的实施例中,上述Diameter节点包括:多个Diameter邻接节点;其中,从上述已激活的Diameter信令链路中选择预定数量的Diameter信令链路包括:选择DRA设备与多个Diameter邻接节点中的第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路;其中,在DRA设备与Diameter节点之间对选择的预定数量的Diameter信令链路进行去激活之后,该方法还包括:使第一预定数量的Diameter邻接节点从工作状态切换到非工作状态。其中,上述选择的预定数量的被执行了去激活操作的Diameter信令链路可以集中于该第一预定数量的Diameter邻接节点中,当对上述的选择的预定数量的Diameter信令链路执行了去激活操作之后,该第一预定数量的Diameter邻接节点中的所有Diameter信令链路可能均已被去激活,从而可以将该第一预定数量的Diameter邻接节点从工作状态切换到非工作状态;当然,上述的选择的预定数量的Diameter信令链路也可能只是该第一预定数量的Diameter邻接节点中的一部分,当上述选择的预定数量的Diameter信令链路被执行了去激活操作之后,该第一预定数量的Diameter邻接节点中还存在另一部分Diameter信令链路,在该种情况下,可以将该第一预定数量的Diameter邻接节点中的另一部分Diameter信令链路中的负荷转移到其他的Diameter邻接节点中的激活状态的Diameter信令链路中。当其他的Diameter邻接节点中的激活状态的Diameter信令链路无法承受该第一预定数量的Diameter邻接节点中的另一部分Diameter信令链路中的负荷时,可以适当的在其他的Diameter邻接节点中增加激活状态的Diameter信令链路来承载负荷。In an optional embodiment, the Diameter node includes: a plurality of Diameter adjacent nodes; wherein selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: selecting a DRA device and multiple Diameter activating a Diameter signaling link between a first predetermined number of Diameter neighbor nodes in a node; wherein, after deactivating a selected predetermined number of Diameter signaling links between the DRA device and the Diameter node, The method also includes switching a first predetermined number of Diameter adjacency nodes from a working state to a non-working state. Wherein, the selected predetermined number of Diameter signaling links that are subjected to the deactivation operation may be concentrated in the first predetermined number of Diameter adjacent nodes, when the predetermined number of Diameter signaling links selected above are performed. After the deactivation operation, all of the Diameter signaling links in the first predetermined number of Diameter neighbor nodes may have been deactivated, so that the first predetermined number of Diameter neighbor nodes may be switched from the working state to the inactive state; Of course, the above selected predetermined number of Diameter signaling links may also be only a part of the first predetermined number of Diameter adjacent nodes, after the selected predetermined number of Diameter signaling links are subjected to the deactivation operation, There is another portion of the Diameter signaling link in the first predetermined number of Diameter adjacent nodes, in which case the load transfer in another portion of the Diameter signaling link of the first predetermined number of Diameter adjacent nodes may be Go to the Diameter signaling link of the active state in the other Diameter adjacent nodes. When the Diameter signaling link of the active state in the other Diameter neighboring nodes cannot bear the load in the other part of the Diameter signaling link of the first predetermined number of Diameter neighboring nodes, it may be appropriate in other Diameter neighboring nodes. The Diameter signaling link of the active state is added to carry the load.
在一个可选的实施例中,选择上述DRA设备与多个Diameter邻接节点中的第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路包括:判断该多个Diameter邻接节点中的第二预定数量的Diameter邻接节点是否具备承载上述总负荷的能力;若第二预定数量的Diameter邻接节点具备承载总负荷的能力,则将该多个Diameter邻接节点中除第二预定数量的Diameter邻接节点之外的Diameter邻接节点作为上述第一预定数量的Diameter邻接节点,并选择DRA设备与第一预定数量的Diameter邻接节点之 间已激活的Diameter信令链路。In an optional embodiment, selecting the activated Diameter signaling link between the foregoing DRA device and the first predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes comprises: determining, in the plurality of Diameter adjacent nodes Whether the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load; if the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load, the second predetermined number of Diameter adjacencies of the plurality of Diameter adjacent nodes a Diameter adjacency node other than the node as the first predetermined number of Diameter adjoining nodes, and selecting a DRA device and a first predetermined number of Diameter adjacent nodes The activated Diameter signaling link.
在一个可选的实施例中,从上述已激活的Diameter信令链路中选择预定数量的Diameter信令链路包括:按照优先级从低到高的顺序从上述已激活的Diameter信令链路中选择一条或多条Diameter信令链路。当需要选择多条Diameter信令链路时,可以先选择优先级最低的一条Diameter信令链路,再从剩余的Diameter信令链路中选择优先级最低的一条Diameter信令链路,以此类推,知道选择出满足要求的数量的Diameter信令链路为止。In an optional embodiment, selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: from the above-described activated Diameter signaling links in descending order of priority Select one or more Diameter signaling links. When a plurality of Diameter signaling links need to be selected, a Diameter signaling link having the lowest priority may be selected, and then a Diameter signaling link having the lowest priority may be selected from the remaining Diameter signaling links. By analogy, it is known to select the number of Diameter signaling links that meet the requirements.
在一个可选的实施例中,还包括:当该DRA设备与Diameter节点之间上述已激活的Diameter信令链路的总负荷增加到大于第二阈值,则从DRA设备与Diameter节点之间已配置的、但尚未激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待激活信令链路;在DRA设备与Diameter节点之间对上述待激活信令链路进行激活,其中,该待激活信令链路在被激活后用于承载总负荷中的预定比例的负荷。In an optional embodiment, the method further includes: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node is increased to be greater than a second threshold, then the relationship between the DRA device and the Diameter node is A predetermined number of Diameter signaling links are selected as the to-be-activated signaling link in the configured but not yet activated Diameter signaling link; and the to-be-activated signaling link is activated between the DRA device and the Diameter node, The to-be-activated signaling link is used to carry a predetermined proportion of the load in the total load after being activated.
在一个可选的实施例中,上述Diameter节点包括:多个Diameter邻接节点,其中,该多个Diameter邻接节点中的第三预定数量的Diameter邻接节点处于工作状态,DRA设备与第三预定数量的Diameter邻接节点之间存在已激活的Diameter信令链路,该多个Diameter邻接节点中的第四预定数量的Diameter邻接节点处于非工作状态,该DRA设备与第四预定数量的Diameter邻接节点之间存在已配置的、但尚未激活的Diameter信令链路;其中,从该DRA设备与Diameter节点之间已配置的、但尚未激活的Diameter信令链路中选择预定数量的Diameter信令链路包括:使第四预定数量的Diameter邻接节点中的第五预定数量的Diameter邻接节点从非工作状态切换到工作状态,并从DRA设备与第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路作为待激活信令链路。In an optional embodiment, the Diameter node includes: a plurality of Diameter adjacent nodes, wherein a third predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes are in an active state, and the DRA device and the third predetermined number of There is an activated Diameter signaling link between the Diameter neighboring nodes, and a fourth predetermined number of Diameter neighboring nodes among the plurality of Diameter neighboring nodes are in an inactive state, and the DRA device is in a non-operating state between the DRA device and the fourth predetermined number of Diameter adjacent nodes There is a Diameter signaling link that has been configured but not yet activated; wherein a predetermined number of Diameter signaling links are selected from the configured, but not yet activated, Diameter signaling links between the DRA device and the Diameter node. Resetting a fifth predetermined number of Diameter adjacency nodes of the fourth predetermined number of Diameter adjacent nodes from an inactive state to an active state, and configured from the DRA device and the fifth predetermined number of Diameter adjacent nodes, but not yet One or more Diameter signaling links are selected as the to-be-activated signaling links in the activated Diameter signaling link.
在一个可选的实施例中,从上述DRA设备与第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路包括:按照优先级从高到低的顺序从DRA设备与第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路。其中,选择多条Diameter信令链路时, 可以首先选择优先级最高的Diameter信令链路,其次,从剩余的Diameter信令链路中选择优先级最高的Diameter信令链路,以此类推,直至选择满足数量的Diameter信令链路为止。In an optional embodiment, selecting one or more Diameter signaling links from the configured, but not yet activated, Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes includes: One or more Diameter signaling links are selected from the configured, but not yet activated, Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes in descending order of priority. Wherein, when multiple Diameter signaling links are selected, The highest priority Diameter signaling link can be selected first, then the highest priority Diameter signaling link is selected from the remaining Diameter signaling links, and so on, until a satisfactory number of Diameter signaling links are selected. .
在一个可选的实施例中,在确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值之前,还包括:对DRA设备与Diameter节点之间已配置的Diameter信令链路设置优先级,其中,该已配置的Diameter信令链路包括已激活的Diameter信令链路。In an optional embodiment, before determining that the total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced to less than a first threshold, the method further includes: for the DRA device and the Diameter node The configured Diameter signaling link sets a priority, wherein the configured Diameter signaling link includes an activated Diameter signaling link.
在一个可选的实施例中,去激活的上述预定数量的Diameter信令链路中的第一预定数量的Diameter信令链路配置在DRA设备中的第一虚拟机与Diameter节点之间,在该第一虚拟机与Diameter节点之间还配置有已激活的第二预定数量的Diameter信令链路,其中,在DRA设备与Diameter节点之间对待去激活信令链路进行去激活包括:关闭第一虚拟机,并将该第二预定数量的Diameter信令链路迁移至DRA设备中的第二虚拟机与Diameter节点之间,使得在第二虚拟机与Diameter节点之间存在已激活的第二预定数量的Diameter信令链路。In an optional embodiment, the first predetermined number of Diameter signaling links in the deactivated predetermined number of Diameter signaling links are configured between the first virtual machine and the Diameter node in the DRA device, An activated second predetermined number of Diameter signaling links are further configured between the first virtual machine and the Diameter node, wherein deactivating the deactivated signaling link between the DRA device and the Diameter node includes: turning off a first virtual machine, and migrating the second predetermined number of Diameter signaling links between the second virtual machine and the Diameter node in the DRA device such that an activated first exists between the second virtual machine and the Diameter node Two predetermined number of Diameter signaling links.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
在本实施例中还提供了一种Diameter信令链路的调整装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组 合的实现也是可能并被构想的。In this embodiment, a device for adjusting the Diameter signaling link is further provided, and the device is used to implement the foregoing embodiments and optional embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a group of software and hardware The implementation of the combination is also possible and conceived.
图2是根据本发明实施例的Diameter信令链路的调整装置的结构框图,如图2所示,该装置包括第一选择模块22和去激活模块24,下面对该装置进行说明。2 is a structural block diagram of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a first selection module 22 and a deactivation module 24. The apparatus will be described below.
第一选择模块22,设置为当确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值时,从上述已激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待去激活信令链路;The first selection module 22 is configured to, when determining that the total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced to less than a first threshold, from the activated Diameter signaling link Selecting a predetermined number of Diameter signaling links as a signaling link to be deactivated;
去激活模块24,连接至上述第一选择模块22,设置为在上述DRA设备与Diameter节点之间对待去激活信令链路进行去激活。The deactivation module 24 is coupled to the first selection module 22 and is configured to deactivate the deactivation signaling link between the DRA device and the Diameter node.
可选地,上述Diameter节点包括:多个Diameter邻接节点;其中,图3是根据本发明实施例的Diameter信令链路的调整装置的可选结构框图,如图3所示,该第一选择模块22包括第一选择单元32,该装置除包括图2所示的所有模块外,还包括切换模块34,下面对该装置进行说明。Optionally, the above Diameter node includes: a plurality of Diameter adjacent nodes; wherein, FIG. 3 is an optional structural block diagram of an adjustment device of a Diameter signaling link according to an embodiment of the present invention, as shown in FIG. The module 22 includes a first selection unit 32 that includes, in addition to all of the modules shown in FIG. 2, a switching module 34, which is described below.
第一选择单元32,设置为选择DRA设备与多个Diameter邻接节点中的第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路;The first selecting unit 32 is configured to select an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes;
切换模块34,连接至上述去激活模块24,设置为使上述第一预定数量的Diameter邻接节点从工作状态切换到非工作状态。The switching module 34 is coupled to the deactivation module 24 and configured to cause the first predetermined number of Diameter adjacent nodes to switch from the active state to the inactive state.
图4是根据本发明实施例的Diameter信令链路的调整装置中第一选择单元32的结构框图,如图4所示,该第一选择单元32包括判断子单元42和选择子单元44。下面对该第一选择单元32进行说明。FIG. 4 is a structural block diagram of a first selecting unit 32 in a adjusting apparatus of a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 4, the first selecting unit 32 includes a determining subunit 42 and a selecting subunit 44. The first selection unit 32 will be described below.
判断子单元42,设置为判断上述多个Diameter邻接节点中的第二预定数量的Diameter邻接节点是否具备承载总负荷的能力;The determining subunit 42 is configured to determine whether the second predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes have the capability of carrying a total load;
选择子单元44,连接至上述判断子单元42,设置为当上述第二预定数量的Diameter邻接节点具备承载总负荷的能力时,将多个Diameter邻接节点中除第二预定数量的Diameter邻接节点之外的Diameter邻接节点作为第一预定数量的Diameter邻接节点,并选择该DRA设备与第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路。 The selecting subunit 44 is connected to the judging subunit 42 and configured to divide the plurality of Diameter adjacent nodes by a second predetermined number of Diameter adjacent nodes when the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load. The outer Diameter adjacency node acts as a first predetermined number of Diameter adjoining nodes and selects an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter neighbor nodes.
图5是根据本发明实施例的Diameter信令链路的调整装置中第一选择模块22的结构框图,如图5所示,该第一选择模块22包括第二选择单元52,下面对该第一选择模块22进行说明。FIG. 5 is a structural block diagram of a first selection module 22 in a device for adjusting a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 5, the first selection module 22 includes a second selection unit 52. The first selection module 22 is described.
第二选择单元52,设置为按照优先级从低到高的顺序从上述已激活的Diameter信令链路中选择一条或多条Diameter信令链路。The second selection unit 52 is arranged to select one or more Diameter signaling links from the activated Diameter signaling links in descending order of priority.
图6是根据本发明实施例的Diameter信令链路的调整装置的可选结构框图一,如图6所示,该装置除包括图2所示的所有模块外,还包括第二选择模块62和激活模块64,其中,该第二选择模块62和激活模块64与上述的第一选择模块22的连接关系有多种,图6仅是一种示例。下面结合图6对该装置进行说明。FIG. 6 is a block diagram of an optional structure of an adjustment apparatus for a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes a second selection module 62 in addition to all the modules shown in FIG. And the activation module 64, wherein the connection relationship between the second selection module 62 and the activation module 64 and the first selection module 22 described above is various, and FIG. 6 is only an example. The apparatus will be described below with reference to FIG.
第二选择模块62,设置为当DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷增加到大于第二阈值时,从该DRA设备与Diameter节点之间已配置的、但尚未激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待激活信令链路;The second selection module 62 is configured to: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node increases to be greater than a second threshold, configured from the DRA device and the Diameter node, but not yet Selecting a predetermined number of Diameter signaling links in the activated Diameter signaling link as a signaling link to be activated;
激活模块64,连接至上述第二选择模块62和第一选择模块22,设置为在DRA设备与Diameter节点之间对待激活信令链路进行激活,其中,该待激活信令链路在被激活后用于承载总负荷中的预定比例的负荷。The activation module 64 is connected to the second selection module 62 and the first selection module 22, and is configured to activate the activation signaling link between the DRA device and the Diameter node, wherein the to-be activated signaling link is activated. It is then used to carry a predetermined proportion of the load in the total load.
可选地,上述Diameter节点包括:多个Diameter邻接节点,其中,该多个Diameter邻接节点中的第三预定数量的Diameter邻接节点处于工作状态,该DRA设备与第三预定数量的Diameter邻接节点之间存在已激活的Diameter信令链路,多个Diameter邻接节点中的第四预定数量的Diameter邻接节点处于非工作状态,DRA设备与第四预定数量的Diameter邻接节点之间存在已配置的、但尚未激活的Diameter信令链路,图7是根据本发明实施例的Diameter信令链路的调整装置中第二选择模块62的结构框图,如图7所示,该第二选择模块62包括第三选择单元72,下面对该第二选择模块62进行说明。Optionally, the Diameter node includes: a plurality of Diameter neighbor nodes, wherein a third predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes are in an active state, and the DRA device is adjacent to a third predetermined number of Diameter neighbor nodes. There is an activated Diameter signaling link, a fourth predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes are in an inactive state, and there is a configured but between the DRA device and the fourth predetermined number of Diameter adjacent nodes. Figure 7 is a block diagram showing the structure of the second selection module 62 in the adjustment device of the Diameter signaling link according to the embodiment of the present invention. As shown in FIG. 7, the second selection module 62 includes The third selection unit 72 will be described below with respect to the second selection module 62.
第三选择单元72,设置为使第四预定数量的Diameter邻接节点中的第五预定数量的Diameter邻接节点从非工作状态切换到工作状态,并从上述DRA设备与第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的 Diameter信令链路中选择一条或多条Diameter信令链路作为待激活信令链路。The third selecting unit 72 is configured to switch a fifth predetermined number of Diameter adjacent nodes of the fourth predetermined number of Diameter adjacent nodes from the non-working state to the working state, and from the DRA device and the fifth predetermined number of Diameter adjacent nodes Between, but not yet activated One or more Diameter signaling links are selected as the to-be-activated signaling links in the Diameter signaling link.
可选地,上述第三选择单元72是设置为:按照优先级从高到低的顺序从DRA设备与第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路。Optionally, the foregoing third selecting unit 72 is configured to: a Diameter signaling link configured between the DRA device and the fifth predetermined number of Diameter adjacent nodes in order from the highest to the lowest priority, but not yet activated. Select one or more Diameter signaling links.
图8是根据本发明实施例的Diameter信令链路的调整装置的可选结构框图二,如图8所示,该装置除包括图2所示的所有模块外,还包括设置模块82,下面对该装置进行说明。FIG. 8 is a block diagram showing an optional structure of a device for adjusting a Diameter signaling link according to an embodiment of the present invention. As shown in FIG. 8, the device includes a setting module 82, in addition to all the modules shown in FIG. The device will be described.
设置模块82,连接至上述第一选择模块22,设置为对DRA设备与Diameter节点之间已配置的Diameter信令链路设置优先级,其中,该已配置的Diameter信令链路包括已激活的Diameter信令链路。The setting module 82 is connected to the first selection module 22, and is configured to set a priority for the configured Diameter signaling link between the DRA device and the Diameter node, wherein the configured Diameter signaling link includes the activated Diameter signaling link.
可选地,去激活的上述预定数量的Diameter信令链路中的第一预定数量的Diameter信令链路配置在DRA设备中的第一虚拟机与Diameter节点之间,在第一虚拟机与Diameter节点之间还配置有已激活的第二预定数量的Diameter信令链路,图9是根据本发明实施例的Diameter信令链路的调整装置中去激活模块24的结构框图,如图9所示,该去激活模块24包括处理单元92,下面对该去激活模块24进行说明。Optionally, the first predetermined number of Diameter signaling links in the deactivated predetermined number of Diameter signaling links are configured between the first virtual machine and the Diameter node in the DRA device, in the first virtual machine The second predetermined number of Diameter signaling links that are activated are also configured between the Diameter nodes. FIG. 9 is a structural block diagram of the deactivation module 24 in the adjusting device of the Diameter signaling link according to the embodiment of the present invention, as shown in FIG. 9. As shown, the deactivation module 24 includes a processing unit 92, which is described below.
处理单元92,设置为关闭上述第一虚拟机,并将上述第二预定数量的Diameter信令链路迁移至DRA设备中的第二虚机与Diameter节点之间,使得在第二虚机与Diameter节点之间存在已激活的第二预定数量的Diameter信令链路。The processing unit 92 is configured to shut down the first virtual machine, and migrate the second predetermined number of Diameter signaling links to the second virtual machine in the DRA device and the Diameter node, so that the second virtual machine and the Diameter There is a second predetermined number of Diameter signaling links that have been activated between the nodes.
图10是根据本发明实施例的Diameter路由代理DRA的结构框图,如图10所示,该DRA 102包括上述任一项的Diameter信令链路的调整装置104。FIG. 10 is a structural block diagram of a Diameter routing agent DRA according to an embodiment of the present invention. As shown in FIG. 10, the DRA 102 includes the adjustment device 104 of the Diameter signaling link of any of the above.
通过上述实施例,可以有效解决相关技术中存在的,在DRA网元中,运营商按照话务最高峰话务以及其他因素,规划了数目较多的信令链路,但是由于信令链路无法进行弹性伸缩,造成在正常话务期间或者低话务期间的信令链路资源的大量浪费,并严重影响虚拟机的弹性伸缩,使虚拟化带来的绿色环保能力在一定程度上失效的问题。The above embodiments can effectively solve the problem in the related art. In the DRA network element, the operator plans a larger number of signaling links according to traffic peak traffic and other factors, but because of the signaling link. The elastic scalability cannot be performed, which causes a large amount of waste of signaling link resources during normal traffic or low traffic, and seriously affects the elastic expansion and contraction of virtual machines, so that the green environmental protection capability brought by virtualization is invalid to some extent. problem.
本发明实施例中还提供了一种Diameter信令链路弹性收缩的实现方法, 下面针对该方法进行说明。An embodiment of the present invention further provides an implementation method for elastic contraction of a Diameter signaling link. The method will be described below.
运营商配置DRA到其它Diameter对等节点(Peer)的信令链路。对于支持弹性伸缩的邻接节点,配置该节点的最大信令链路数(比如说32条),最小信令链路数(比如说2条)。并配置那些链路不进行弹性伸缩,哪些用于弹性伸缩。对于可弹性伸缩的信令链路,设置每条信令链路的弹性伸缩优先级。并设置上电初始建立哪些信令链路。The operator configures the DRA to the signaling link of other Diameter peer nodes (Peers). For neighboring nodes that support elastic scaling, configure the maximum number of signaling links (for example, 32) and the minimum number of signaling links (for example, 2). Configure which links are not flexibly stretched and which are used for elastic scaling. For the elastically scalable signaling link, set the elastic scaling priority of each signaling link. And set which signaling links are initially established after power-on.
在建立Diameter信令链路时需要进行能力协商(能力交换请求(Capabilities Exchange-Request,简称为CER)以及能力交换应答(Capabilities Exchange-Answer,简称为CEA)),在能力协商消息中,增加信令链路弹性伸缩属性(即“弹性伸缩类型”和“弹性伸缩优先级”)的协商。弹性伸缩类性为:“Scale Fix”,“Scale Enable”。弹性伸缩类性为“Scale Fix”的链路不进行弹性伸缩,勿需设置弹性伸缩优先级;弹性伸缩类性为“Scale Enable”的链路可进行弹性伸缩,协商时需设置弹性伸缩优先级;When a Diameter signaling link is established, a capability negotiation (Capabilities Exchange-Request (CER) and Capabilities Exchange-Answer (CEA)) is required. In the capability negotiation message, a letter is added. Negotiation of link elastic scaling attributes (ie, "elastic scaling type" and "elastic scaling priority"). The elastic scaling class is: "Scale Fix", "Scale Enable". The link with the elastic scaling type is not flexibly scalable. You need to set the elastic scaling priority. The link with the elastic scalability is Scale Enable. You can flexibly flex the link. ;
信令链路弹性收缩(Scale In):当一个对等节点(Peer)的总链路负荷下降,需要关闭部分或者全部信令链路时,按照信令链路的弹性伸缩优先级,选择弹性伸缩优先级最低的信令链路发起断链,即发送DPR(Disconnect-Peer-Request)消息。通过设置DPR消息中“断链原因(Disconnect-Cause)AVP”的枚举值为“SCALE_IN(3)”进行表示断链原因。对于由于弹性收缩造成的链路关闭情形,双方网元不能产生严重告警,也不立即重建链路。Scale In): When the total link load of a peer (Peer) drops and some or all of the signaling links need to be closed, the flexibility is selected according to the elastic scaling priority of the signaling link. The signaling link with the lowest scaling priority initiates a broken link, that is, a DPR (Disconnect-Peer-Request) message is sent. The reason for the disconnection is indicated by setting the enumeration value of "Disconnect-Cause AVP" in the DPR message to "SCALE_IN(3)". For a link down situation caused by elastic contraction, the two NEs cannot generate a serious alarm and do not immediately reestablish the link.
信令链路弹性扩展(Scale Out):当一个对等节点(Peer)的总链路负荷上升,需要增加信令链路时,按照信令链路的弹性伸缩优先级,选择优先级最高的链路发起信令链路的重建。Scale Out: When the total link load of a peer (Peer) increases and the signaling link needs to be added, the priority of the signaling link is selected according to the elastic scaling priority of the signaling link. The link initiates the reconstruction of the signaling link.
图11是根据本发明实施例的DRA与对等节点(Peer)的信令链路配置示意图(不支持信令链路弹性伸缩的双重影响)DRA与邻接对等节点的信令链路数量是按照最大话务来计算的,当4G用户量很大时,如果进行满配置,则某些邻接对等节点最大可配置32条信令链路。在话务量较低(比如说每链路的负荷为a%)时,信令链路带宽的利用率很低,造成资源浪费;同时,本 DRA需要申请较多的虚机,无法继续弹性收缩(Scale In)。11 is a schematic diagram of a signaling link configuration of a DRA and a peer node (Peer) according to an embodiment of the present invention (does not support the dual impact of signaling link elastic scaling). The number of signaling links between the DRA and the adjacent peer node is According to the maximum traffic, when the 4G user volume is large, if the full configuration is performed, some adjacent peer nodes can configure up to 32 signaling links. When the traffic volume is low (for example, the load per link is a%), the utilization of the signaling link bandwidth is very low, resulting in waste of resources; DRA needs to apply for more virtual machines and cannot continue to scale in (Scale In).
图12是根据本发明实施例的DRA与对等节点的信令链路的弹性收缩示意图(支持信令链路弹性伸缩的双重好处)。对于图10的情形,如果支持信令链路的弹性伸缩,在话务量很低(比如说每链路的负荷为a%)时进行弹性收缩(Scale In),则每个对等节点只需要2条信令链路进行激活(比如说每链路的负荷为16xa%);同时,本DRA也仅需要申请较少的VM虚拟机。FIG. 12 is a schematic diagram of elastic contraction of a signaling link between a DRA and a peer node (supporting the dual benefits of elastic extension of a signaling link) according to an embodiment of the present invention. For the case of Figure 10, if the elastic scaling of the signaling link is supported, and the scalability is performed when the traffic volume is low (for example, the load per link is a%), then each peer node only Two signaling links are required for activation (for example, the load per link is 16xa%); at the same time, this DRA only needs to apply for fewer VM virtual machines.
图13是根据本发明实施例的DRA与一组邻接PCRF的信令链路配置示意图(不支持信令链路的弹性伸缩),假定DRA与16个PCRF进行连接,每个PCRF的功能完全等价,每个邻接PCRF配置32条信令链路。在话务量极低(比如说每链路的负荷为b%)时,信令链路资源,甚至许多PCRF节点资源都造成浪费;同时,本DRA也需要申请较多的虚机(VM)。13 is a schematic diagram of a signaling link configuration of a DRA and a group of contiguous PCRFs according to an embodiment of the present invention (the elastic link of the signaling link is not supported), and it is assumed that the DRA is connected to 16 PCRFs, and the functions of each PCRF are completely equal. Price, each adjacent PCRF is configured with 32 signaling links. When the traffic is extremely low (for example, the load per link is b%), signaling link resources, and even many PCRF node resources are wasted; at the same time, the DRA also needs to apply for more virtual machines (VMs). .
图14是根据本发明实施例的DRA与邻接PCRF组的弹性收缩(Scale In)示意图,对于图13的情形,如果支持信令链路的弹性伸缩,只需要激活两个PCRF,每个PCRF激活2条信令链路即可,每条信令链路的负荷为128Xb%(假定128xb%小于0.5),其他PCRF进行休眠,仅监测链路重建;同时,本DRA仅需要申请较少的VM虚拟机。14 is a schematic diagram of elastic indentation of a DRA and a contiguous PCRF group according to an embodiment of the present invention. For the case of FIG. 13, if the elastic scaling of the signaling link is supported, only two PCRFs need to be activated, and each PCRF is activated. Two signaling links are available, each signaling link has a load of 128Xb% (assuming 128xb% is less than 0.5), other PCRFs sleep, and only link reconstruction is monitored; at the same time, this DRA only needs to apply for fewer VMs. virtual machine.
图15是根据本发明实施例的信令链路、虚拟机、话务量同步的示意图,其中,DRA网元需要遵循下面的原则,实现信令链路、虚拟机、话务量的同步:FIG. 15 is a schematic diagram of signaling link, virtual machine, and traffic synchronization according to an embodiment of the present invention. The DRA network element needs to follow the following principles to implement synchronization of signaling links, virtual machines, and traffic:
虚拟DRA网元即使没有负荷或者仅有极低的负荷,也需要申请最少的虚机(VM)和信令链路,这些虚机和信令链路永不释放或者弹性伸缩。Virtual DRA network elements need to apply for the least virtual machine (VM) and signaling links even if there is no load or only very low load. These virtual machines and signaling links are never released or elastically stretched.
当有低话务量且需申请虚机和信令链路时,对应的都是高优先级,在整个运行中,申请使用的概率很高。When there is low traffic and need to apply for virtual machine and signaling link, the corresponding high priority, the probability of applying for use is high throughout the operation.
当有中话务量且需申请虚机和信令链路时,对应的都是中优先级。When there is medium traffic and a virtual machine and signaling link are required, the corresponding priority is medium priority.
当有大话务量且需申请VM和信令链路时,对应的都是低优先级,在整个运行中,申请使用的概率很低,仅在话务高峰需要申请,一旦高峰期过,立马被释放。When there is a large amount of traffic and the VM and signaling link need to be applied, the corresponding low priority. In the whole operation, the probability of applying for use is very low, and only the traffic peak needs to be applied. Once the peak period expires, Immediately released.
由于信令链路和VM与话务量的变化是一致的,且成线性关系,所以, 要么同时申请,要么同时释放,可最大程度上避免VM之间的信令链路的迁移。Since the signaling link and the VM and the traffic change are consistent and linear, therefore, Either apply at the same time or release at the same time to minimize the migration of signaling links between VMs.
CER/CEA能力协商消息增加弹性伸缩属性AVP。The CER/CEA capability negotiation message adds the elastic scalability attribute AVP.
CER(Capabilities-Exchange-Request)消息的定义如下:The CER (Capabilities-Exchange-Request) message is defined as follows:
<CER>::=<Diameter Header:257,REQ><CER>::=<Diameter Header:257,REQ>
...
[Scale-attribute](新增)[Scale-attribute] (new)
CEA消息的定义如下:The CEA message is defined as follows:
<CEA>::=<Diameter Header:257><CEA>::=<Diameter Header:257>
...
[Scale-attribute](新增)[Scale-attribute] (new)
Scale-attribute AVP定义:Scale-attribute AVP definition:
AVP Code:8000,Vendor-Id:3902,组类型.AVP Code: 8000, Vendor-Id: 3902, group type.
Scale-attribute::=<AVP Header:8000>Scale-attribute::=<AVP Header:8000>
{Scale-type}{Scale-type}
[Scale-priority][Scale-priority]
*[AVP]*[AVP]
Scale-type AVP定义:Scale-type AVP definition:
AVP Code:8001,Vendor-Id:3902,类型:枚举.AVP Code: 8001, Vendor-Id: 3902, Type: Enumeration.
枚举值:Enumeration value:
SCALE_FIX(对应图中的S_F)                0SCALE_FIX (corresponding to S_F in the figure) 0
SCALE_ENABLE(对应图中的S_E)             1 SCALE_ENABLE (corresponding to S_E in the figure) 1
Scale-type AVP定义:Scale-type AVP definition:
AVP Code:8002,Vendor-Id:3902,类型:Unsigned32.AVP Code: 8002, Vendor-Id: 3902, type: Unsigned32.
取值范围:(0,31)Value range: (0, 31)
0:优先级最高(最优先建立本链路,最低优先释放本链路)0: The highest priority (the highest priority is established for this link, and the lowest priority is for the link)
1:优先级次高1: the highest priority
...
31:优先级最低(最优先释放本链路,最低优先建立本链路)31: The lowest priority (the highest priority is to release the link, and the lowest priority is to establish the link)
DPR(Disconnect-Peer-Request)断开链路请求消息的断链原因AVP增加”弹性收缩原因”枚举值。DPR (Disconnect-Peer-Request) disconnects the link request message. The reason why the AVP increases the "elastic contraction cause" enumeration value.
<DPR>::=<Diameter Header:282,REQ><DPR>::=<Diameter Header:282,REQ>
{Origin-Host}{Origin-Host}
{Origin-Realm}{Origin-Realm}
{Disconnect-Cause}{Disconnect-Cause}
*[AVP]*[AVP]
AVP Disconnect-Cause AVP定义:AVP Disconnect-Cause AVP definition:
AVP Code:273,类型:枚举.AVP Code: 273, Type: Enumeration.
枚举值:Enumeration value:
REBOOTING                      0REBOOTING 0
BUSY                           1BUSY 1
DO_NOT_WANT_TO_TALK_TO_YOU     2 DO_NOT_WANT_TO_TALK_TO_YOU 2
SCALE_IN                       3(新增,弹性收缩原因)SCALE_IN 3 (new, elastic contraction reason)
链路的首次建立,进行弹性伸缩属性的协商流程可参见图16:图16是 根据本发明实施例的DRA网元启动,首次上电时的信令链路建立的流程图,DRA网元启动,首次上电时先进行SCTP承载建立,然后进行CER/CEA能力协商。能力协商含弹性伸缩属性(弹性伸缩类型和弹性伸缩优先级)的协商,便于后续的弹性收缩。For the first time of establishing a link, the negotiation process of elastic scalability attributes can be seen in Figure 16: Figure 16 is The DRA network element is activated according to the embodiment of the present invention, and the flow chart of the signaling link establishment at the time of first power-on is started. The DRA network element is started, and the SCTP bearer is established first when the power is first powered on, and then the CER/CEA capability negotiation is performed. The capability negotiation negotiates the elastic scaling attributes (elastic scaling type and elastic scaling priority) to facilitate subsequent elastic contraction.
该流程包括如下步骤:The process includes the following steps:
步骤S1602:DRA网元首次启动,运营商按照(但不限于)下述因素确定总信令链路数:Step S1602: The DRA network element is started for the first time, and the operator determines the total number of signaling links according to, but not limited to, the following factors:
近一年内,话务高峰期间(比如说春节,圣诞节,中秋节)DRA的最大话务量;In the past year, during the peak traffic hours (such as the Spring Festival, Christmas, Mid-Autumn Festival), the maximum traffic volume of the DRA;
如果DRA是双平面组网,需要考虑容灾,伙伴DRA局宕机造成的临时信令加倍;If the DRA is a dual-plane network, you need to consider disaster recovery. The temporary signaling caused by the partner DRA is doubled.
近期或者中期4G业务和其他相关业务的增长率,如年增长50%;The growth rate of 4G business and other related businesses in the near or medium term, such as annual growth of 50%;
必要的裕量。The necessary margin.
链路优先级的确定:对于相同承载的信令链路(比如说都是SCTP或者都是TCP),为每个链路随机分配一个不同的优先级;如果承载不同,且需要优先选择SCTP或者TCP时,按照承载分类,每个链路分配一个优先级,所有SCTP链路的优先级高于TCP,或者相反。Determination of link priority: For the same bearer signaling link (for example, both SCTP or TCP), each link is randomly assigned a different priority; if the bearers are different, and SCTP or In TCP, each link is assigned a priority according to the bearer classification, and all SCTP links have higher priority than TCP, or vice versa.
链路与虚拟机对应关系的确定:参见图15,需满足一致性。Determination of the correspondence between the link and the virtual machine: See Figure 15 for consistency.
步骤S1604:链路的首次建立,DRA按照配置(例如激活链路数),选择链路类型为SCALE_FIX和链路类型为SCALE_ENABLE中的部分弹性伸缩最高优先级的信令链路进行建链。Step S1604: The first establishment of the link, the DRA selects a signaling link with a link type of SCALE_FIX and a link type of SCALE_ENABLE as the highest priority of the elastic extension according to the configuration (for example, the number of activated links).
对于一条链路,先进行SCTP承载建立,然后进行CER/CEA能力协商。能力协商含弹性伸缩属性(比如说,Scale_Type为‘SCALE_FIX’;或者Scale_Type为‘SCALE_ENABLE,且弹性伸缩优先级为0);For a link, the SCTP bearer is established first, and then the CER/CEA capability negotiation is performed. The capability negotiation has elastic scaling attributes (for example, Scale_Type is ‘SCALE_FIX’; or Scale_Type is ‘SCALE_ENABLE, and the elastic scaling priority is 0);
步骤S1606:对等节点(PEER)接收到该消息后,回CEA,含弹性伸缩属性的协商结果(比如说,Scale_Type为‘SCALE_FIX’;或者Scale_Type为‘SCALE_ENABLE且弹性伸缩优先级为0),DRA接收到后进行记录。Step S1606: After receiving the message, the peer node (PEER) returns to the CEA, and the negotiation result of the elastic scaling attribute (for example, Scale_Type is 'SCALE_FIX'; or Scale_Type is 'SCALE_ENABLE and the elastic scaling priority is 0), DRA Recorded after receiving.
如果CEA没有返回弹性伸缩属性的协商结果,则该信令链路不能进行弹 性收缩(Scale In)。If the CEA does not return the negotiation result of the elastic scaling attribute, the signaling link cannot be played. Scaling (Scale In).
信令链路的弹性收缩(Scale In)流程可参见图17,图17是根据本发明实施例的信令链路弹性收缩(Scale In)的流程图,当某个对等节点(Peer)的总链路负荷下降,需要关闭部分或者全部信令链路时,按照信令链路的弹性伸缩优先级,选择优先级最低的信令链路发起断链,即发送DPR消息。通过消息中”断链原因(Disconnect-Cause)AVP”的枚举值为”SCALE_IN 3”进行表示断链原因。对于由于弹性收缩造成的链路关闭,双方网元不能产生严重告警,也不立即重建链路。The Scale In process of the signaling link can be seen in FIG. 17, which is a flowchart of the signaling link elastic intrusion (Scale In) according to an embodiment of the present invention, when a peer node (Peer) The total link load is decreased. When some or all of the signaling links need to be closed, the signaling link with the lowest priority is selected to initiate the disconnection according to the elastic scaling priority of the signaling link, that is, the DPR message is sent. The reason for the disconnection is indicated by the enumeration value of "Disconnect-Cause AVP" in the message "SCALE_IN 3". For a link that is closed due to elastic contraction, the two NEs cannot generate a serious alarm and do not immediately reestablish the link.
该流程包括如下步骤:The process includes the following steps:
步骤S1702:当某个对等节点(Peer)的总链路负荷下降,需要关闭部分或者全部信令链路时,DRA通过本地虚拟化算法决定对某个对等节点(Peer)进行信令链路的弹性收缩(Scale In)时,选择弹性协商成功且弹性伸缩优先级最低几个链路中间,结合VM虚拟机确定一条激活态链路。发送DPR到对端断开该链路,携带原因为“SCALE_IN”,本节点不进行严重告警,也不立即进行链路重建。Step S1702: When a total link load of a peer node (Peer) decreases and some or all signaling links need to be closed, the DRA decides to perform a signaling chain for a peer node (Peer) through a local virtualization algorithm. In the case of Scale In, the elastic negotiation is successful and the elastic scaling priority is among the lowest links. The VM virtual machine is used to determine an active link. The DPR is sent to the peer to disconnect the link. The reason is "SCALE_IN". The node does not perform serious alarms and does not perform link reestablishment immediately.
类型为‘SCALE_FIX’的链路不得弹性释放。Links of type 'SCALE_FIX' must not be elastically released.
步骤S1704:对等节点(PEER)接收到该消息后,回DPA。不进行严重告警。Step S1704: After receiving the message, the peer node (PEER) returns to the DPA. No serious alarms are issued.
信令链路的弹性扩展(Scale Out)流程见图18,图18是根据本发明实施例的信令链路弹性扩展的流程图,当对等节点(Peer)的总链路负荷上升,需要增加信令链路时,按照信令链路的弹性伸缩优先级,选择优先级最高的链路发起信令链路的重建:先进行SCTP承载建立,然后进行CER/CEA能力协商。能力协商含弹性伸缩属性(弹性伸缩类型和弹性伸缩优先级)的协商,便于后续的弹性收缩。The Scale Out process of the signaling link is shown in FIG. 18. FIG. 18 is a flowchart of the elastic extension of the signaling link according to an embodiment of the present invention. When the total link load of the peer node (Peer) increases, it is required. When the signaling link is added, the link with the highest priority is selected to initiate the reconstruction of the signaling link according to the elastic scaling priority of the signaling link: the SCTP bearer is established first, and then the CER/CEA capability negotiation is performed. The capability negotiation negotiates the elastic scaling attributes (elastic scaling type and elastic scaling priority) to facilitate subsequent elastic contraction.
该流程包括如下步骤:The process includes the following steps:
步骤S1802:当某个对等节点(Peer)的总链路负荷上升,需要增加信令 链路时,DRA通过本地虚拟化算法决定对某个对等节点进行信令链路弹性扩展(Scale Out)时,选择弹性伸缩优先级最高的未激活态链路,进行SCTP承载建立,然后进行CER/CEA能力协商。能力协商含弹性伸缩属性(比如说,Scale_Type为‘SCALE_ENABLE;弹性优先级为3);Step S1802: When the total link load of a peer node (Peer) rises, signaling needs to be added. On the link, when the DRA determines the scale out of the signaling link for a peer node through the local virtualization algorithm, the inactive link with the highest elastic priority is selected to establish the SCTP bearer. CER/CEA capacity negotiation. Capability negotiation has elastic scaling attributes (for example, Scale_Type is ‘SCALE_ENABLE; elasticity priority is 3);
步骤S1804:对等节点(PEER)接收到该消息后,回CEA,含弹性伸缩属性的协商结果,DRA接收到后进行记录。如果CEA没有返回弹性伸缩属性的协商结果,则该信令链路不能进行弹性收缩(Scale In)。Step S1804: After receiving the message, the peer node (PEER) returns to the CEA, and includes the negotiation result of the elastic extension attribute, and the DRA receives the record after receiving the message. If the CEA does not return the negotiation result of the elastic scaling attribute, the signaling link cannot perform Scale In.
服务器组中服务器的弹性收缩流程见图19,图19是根据本发明实施例的服务器组弹性收缩的流程图,当某个服务器组的总负荷下降,需要关闭部分服务器时,选择未配置弹性伸缩类型为‘SCALE_FIX’的服务器。在每个链路上发送DPR消息。通过消息中“断链原因(Disconnect-Cause)AVP”的枚举值为“SCALE_IN 3”进行表示断链原因。双方网元不能产生严重告警,也不立即重建链路。FIG. 19 is a flowchart of elastic contraction of a server group according to an embodiment of the present invention. When the total load of a server group decreases and some servers need to be closed, the unconfigured elastic expansion is selected. A server of type 'SCALE_FIX'. A DPR message is sent on each link. The reason for the disconnection is indicated by the "SCALE_IN 3" enumeration value of "Disconnect-Cause AVP" in the message. The NEs on both sides cannot generate serious alarms and do not immediately reestablish links.
该流程包括:The process includes:
服务器组中服务器链路弹性伸缩属性的确定:选择2个(或者多个)服务器,配置2条(或者多条)弹性伸缩类型为‘SCALE_FIX’的链路,此类型的服务器不会进行弹性伸缩,但是链路支持弹性伸缩。Determine the elastic link attribute of the server link in the server group: Select two (or more) servers and configure two (or more) links with the elastic extension type of 'SCALE_FIX'. This type of server will not be elastically stretched. , but the link supports elastic scaling.
对于其他服务器,配置0条弹性伸缩类型为‘SCALE_FIX’的链路,此类型的服务器支持进行弹性伸缩,且链路也支持弹性伸缩。For other servers, configure a link with the elastic scalability type of ‘SCALE_FIX’. This type of server supports elastic scaling and the link also supports elastic scaling.
步骤S1902:当某个服务器组的总负荷下降,需要关闭部分服务器时,选择未配置弹性伸缩类型为‘SCALE_FIX’的服务器。在该服务器上的A链路上,发送DPR到对端断开该链路,携带原因为“SCALE_IN”,本节点不进行严重告警,也不立即进行链路重建。Step S1902: When the total load of a certain server group decreases and some servers need to be closed, the server whose elastic scaling type is ‘SCALE_FIX’ is not selected. On the A-link of the server, the DPR is sent to the peer to disconnect the link. The reason is "SCALE_IN". The node does not perform serious alarms and does not perform link re-establishment immediately.
步骤S1904:对等节点(PEER)接收到该消息后,回DPA。不进行严重告警。Step S1904: After receiving the message, the peer node (PEER) returns to the DPA. No serious alarms are issued.
步骤S1906:在该服务器上的B链路上,发送DPR到对端断开该链路,携带原因为“SCALE_IN”,本节点不进行严重告警,也不立即进行链路重建。 Step S1906: On the B link of the server, the DPR is sent to the peer to disconnect the link, and the reason is "SCALE_IN". The node does not perform a serious alarm and does not immediately perform link reestablishment.
A/B链路的断开流程可并行进行。The disconnection process of the A/B link can be performed in parallel.
步骤S1908:对等节点接收到该消息后,回DPA。不进行严重告警。Step S1908: After receiving the message, the peer node returns to the DPA. No serious alarms are issued.
在该服务器上的所有链路都弹性释放后,该服务器就弹性收缩(Scale In)了。After all the links on the server are elastically released, the server is Scale In.
服务器组中服务器的弹性扩展(Scale Out)流程可参见图20,图20是根据本发明实施例的服务器组弹性扩展的流程图,当某个服务器组的总负荷上升,需要激活部分服务器时,选择未配置弹性伸缩类型为‘SCALE_FIX’的服务器。选择激活m条链路。先进行SCTP承载建立,然后进行CER/CEA能力协商。能力协商含弹性伸缩属性(弹性伸缩类型和弹性伸缩优先级)的协商,便于后续的弹性收缩。FIG. 20 is a flowchart of a server group elastic extension according to an embodiment of the present invention. When a total load of a server group rises and a part of servers need to be activated, Select a server that does not have an elastic scaling type of 'SCALE_FIX'. Select to activate m links. The SCTP bearer setup is performed first, and then the CER/CEA capability negotiation is performed. The capability negotiation negotiates the elastic scaling attributes (elastic scaling type and elastic scaling priority) to facilitate subsequent elastic contraction.
该流程包括如下步骤:The process includes the following steps:
步骤S2002:当某个服务器组的总负荷上升,需要激活部分服务器时,选择未配置弹性伸缩类型为‘SCALE_FIX’的服务器。选择激活2条(或者多条,与其他服务的链路数相同即可)链路。在该服务器上的A链路上,进行SCTP承载建立,然后进行CER/CEA能力协商。能力协商含弹性伸缩属性(比如说,Scale_Type为‘SCALE_ENABLE;弹性优先级为0);Step S2002: When the total load of a certain server group rises and a part of the server needs to be activated, the server with the elastic extension type ‘SCALE_FIX’ is not configured. Select to activate 2 (or more, the same number of links as other services) link. On the A link on the server, SCTP bearer setup is performed, and then CER/CEA capability negotiation is performed. Capability negotiation has elastic scaling attributes (for example, Scale_Type is ‘SCALE_ENABLE; elasticity priority is 0);
步骤S2004:对等节点接收到该消息后,回CEA,含弹性伸缩属性的协商结果,DRA接收到后进行记录。Step S2004: After receiving the message, the peer node returns to the CEA, and the negotiation result of the elastic scalability attribute is recorded after the DRA receives the message.
步骤S2006:在该B链路上,进行SCTP承载建立,然后进行CER/CEA能力协商。能力协商含弹性伸缩属性(比如说,Scale_Type为‘SCALE_ENABLE;弹性优先级为1);Step S2006: On the B link, perform SCTP bearer establishment, and then perform CER/CEA capability negotiation. Capability negotiation has elastic scaling attributes (for example, Scale_Type is ‘SCALE_ENABLE; elasticity priority is 1);
A/B链路的建立流程可并行进行。The establishment process of the A/B link can be performed in parallel.
步骤S2008:对等节点接收到该消息后,回CEA,含弹性伸缩属性的协商结果,DRA接收到后进行记录。Step S2008: After receiving the message, the peer node returns to the CEA, and the negotiation result of the elastic scalability attribute is recorded after the DRA receives the message.
在该服务器弹性扩展(Scale Out)后,就可以承担业务了。After the server is scaled out, you can take on the business.
需要说明的是,上述每个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中; 或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; Alternatively, the above modules are located in multiple processors.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,当确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值时,则从上述已激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待去激活信令链路;S1. When it is determined that the total load of the activated Diameter signaling link between the Diameter routing proxy DRA device and the Diameter node is reduced to less than a first threshold, selecting a predetermined number of Diameters from the activated Diameter signaling links. a signaling link as a signaling link to be deactivated;
S2,在上述DRA设备与Diameter节点之间对待去激活信令链路进行去激活。S2: Deactivate the signaling link to be deactivated between the DRA device and the Diameter node.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行步骤S1-S3。Optionally, in the embodiment, the processor performs steps S1-S3 according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
通过上述实施例可以达到如下有益效果:The following beneficial effects can be achieved by the above embodiments:
支持基于Diameter信令链路的弹性伸缩。按需分配Diameter信令链路,充分利用单条Diameter信令链路的能力,在绝大部分时间,能节省Diameter信令链路的资源开销。Supports elastic scaling based on Diameter signaling links. The Diameter signaling link is allocated on demand, and the ability to utilize a single Diameter signaling link can save the resource overhead of the Diameter signaling link for most of the time.
防止Diameter信令链路成为影响VM弹性伸缩功能的一个因素甚至是短板,使VM能够不受影响地弹性收缩(Scale In)。Preventing the Diameter signaling link from becoming a factor affecting the VM's elastic scaling function is even a short board, enabling the VM to be Scale In without being affected.
减少Diameter信令链路的迁移概率。当Diameter节点根据信令链路的弹性伸缩优先级合理安排在VM上的分布后,可显著地降低Diameter信令链路在网元内VM之间的迁移的概率,避免无谓的内部损耗。Reduce the migration probability of the Diameter signaling link. When the Diameter node reasonably arranges the distribution on the VM according to the elastic scaling priority of the signaling link, the probability of migration of the Diameter signaling link between the VMs in the network element can be significantly reduced, thereby avoiding unnecessary internal loss.
支持基于服务器组的弹性伸缩。DRA可能会连接一些成组的服务器,比如说连接一组PCRF,一组OCS,一组HLR,任何一个业务都可以选择组中任何一 个服务器。当话务量很低时,这些组中只需要1到2个服务器提供业务就足够了,其他的服务器可以将链路全部断开,进行休眠。本发明实施例只要两两Diameter节点支持即可开展,因而易于实施。Support for server group-based elastic scaling. DRA may connect to some groups of servers, such as connecting a group of PCRFs, a group of OCSs, a group of HLRs, and any one of the services can select any one of the groups. Servers. When traffic is low, it takes only one or two servers to provide services in these groups. Other servers can disconnect all the links and sleep. The embodiments of the present invention can be carried out as long as they are supported by two or two Diameter nodes, and thus are easy to implement.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
上述技术方案能够避免由于Diameter信令链路无法弹性伸缩而造成Diameter信令链路资源的浪费,进而达到了避免Diameter信令链路资源的浪费的效果。 The foregoing technical solution can avoid the waste of Diameter signaling link resources caused by the inability of the Diameter signaling link to be elastically stretched, thereby achieving the effect of avoiding waste of Diameter signaling link resources.

Claims (19)

  1. 一种Diameter信令链路的调整方法,包括:A method for adjusting a Diameter signaling link includes:
    当确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值时,从所述已激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待去激活信令链路;Determining a predetermined number of Diameter signaling from the activated Diameter signaling links when it is determined that the total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced to less than a first threshold The link acts as a signaling link to be deactivated;
    在所述DRA设备与所述Diameter节点之间对所述待去激活信令链路进行去激活。Deactivating the to-be-deactivated signaling link between the DRA device and the Diameter node.
  2. 根据权利要求1所述的方法,其中,所述Diameter节点包括:多个Diameter邻接节点;The method of claim 1, wherein the Diameter node comprises: a plurality of Diameter adjacency nodes;
    从所述已激活的Diameter信令链路中选择预定数量的Diameter信令链路包括:选择所述DRA设备与所述多个Diameter邻接节点中的第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路;Selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: selecting that the DRA device is activated between a first predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes Diameter signaling link;
    所述方法还包括:在所述DRA设备与所述Diameter节点之间对所述待去激活信令链路进行去激活之后,使所述第一预定数量的Diameter邻接节点从工作状态切换到非工作状态。The method further includes: after deactivating the to-be-deactivated signaling link between the DRA device and the Diameter node, switching the first predetermined number of Diameter neighbor nodes from a working state to a non-deactivation Working status.
  3. 根据权利要求2所述的方法,其中,选择所述DRA设备与所述多个Diameter邻接节点中的第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路包括:The method of claim 2, wherein selecting an activated Diameter signaling link between the DRA device and a first predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes comprises:
    判断所述多个Diameter邻接节点中的第二预定数量的Diameter邻接节点是否具备承载所述总负荷的能力;Determining whether a second predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes have the capability of carrying the total load;
    若所述第二预定数量的Diameter邻接节点具备承载所述总负荷的能力,则将所述多个Diameter邻接节点中除所述第二预定数量的Diameter邻接节点之外的Diameter邻接节点作为所述第一预定数量的Diameter邻接节点,并选择所述DRA设备与所述第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路。If the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load, the Diameter adjacent nodes of the plurality of Diameter adjacent nodes except the second predetermined number of Diameter adjacent nodes are used as the A first predetermined number of Diameter adjacent nodes and selecting an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter neighbor nodes.
  4. 根据权利要求1至3中任一项所述的方法,其中,从所述已激活的Diameter信令链路中选择预定数量的Diameter信令链路包括:The method of any one of claims 1 to 3, wherein selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links comprises:
    按照优先级从低到高的顺序从所述已激活的Diameter信令链路中选择一 条或多条Diameter信令链路。Select one of the activated Diameter signaling links in descending order of priority Strip or multiple Diameter signaling links.
  5. 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:
    当所述DRA设备与所述Diameter节点之间已激活的Diameter信令链路的总负荷增加到大于第二阈值,则从所述DRA设备与所述Diameter节点之间已配置的、但尚未激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待激活信令链路;And when the total load of the activated Diameter signaling link between the DRA device and the Diameter node is increased to be greater than a second threshold, configured from the DRA device and the Diameter node but not yet activated Selecting a predetermined number of Diameter signaling links in the Diameter signaling link as a signaling link to be activated;
    在所述DRA设备与所述Diameter节点之间对所述待激活信令链路进行激活,其中,所述待激活信令链路在被激活后用于承载所述总负荷中的预定比例的负荷。Activating the to-be-activated signaling link between the DRA device and the Diameter node, wherein the to-be-activated signaling link is used to carry a predetermined proportion of the total load after being activated load.
  6. 根据权利要求5所述的方法,其中,所述Diameter节点包括:多个Diameter邻接节点,其中,所述多个Diameter邻接节点中的第三预定数量的Diameter邻接节点处于工作状态,所述DRA设备与所述第三预定数量的Diameter邻接节点之间存在所述已激活的Diameter信令链路,所述多个Diameter邻接节点中的第四预定数量的Diameter邻接节点处于非工作状态,所述DRA设备与所述第四预定数量的Diameter邻接节点之间存在所述已配置的、但尚未激活的Diameter信令链路;The method of claim 5, wherein the Diameter node comprises: a plurality of Diameter adjacency nodes, wherein a third predetermined number of Diameter adjoining nodes of the plurality of Diameter adjoining nodes are in an active state, the DRA device The activated Diameter signaling link exists between the third predetermined number of Diameter adjacent nodes, and a fourth predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes are in an inactive state, the DRA The configured, but not yet activated, Diameter signaling link exists between the device and the fourth predetermined number of Diameter adjacent nodes;
    其中,从所述DRA设备与所述Diameter节点之间已配置的、但尚未激活的Diameter信令链路中选择预定数量的Diameter信令链路包括:使所述第四预定数量的Diameter邻接节点中的第五预定数量的Diameter邻接节点从所述非工作状态切换到工作状态,并从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路作为所述待激活信令链路。Wherein, selecting a predetermined number of Diameter signaling links from the configured, but not yet activated, Diameter signaling links between the DRA device and the Diameter node comprises: causing the fourth predetermined number of Diameter adjacent nodes The fifth predetermined number of Diameter adjacency nodes in the switch from the non-working state to the active state, and a Diameter letter configured between the DRA device and the fifth predetermined number of Diameter adjacent nodes but not yet activated One or more Diameter signaling links are selected in the link as the to-be-activated signaling link.
  7. 根据权利要求6所述的方法,其中,从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路包括:The method of claim 6 wherein one or more Diameter letters are selected from a configured, but not yet activated, Diameter signaling link between said DRA device and said fifth predetermined number of Diameter adjacent nodes Let the link include:
    按照优先级从高到低的顺序从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路。 Selecting one or more Diameter signaling chains from the configured, but not yet activated, Diameter signaling links between the DRA device and the fifth predetermined number of Diameter neighbor nodes in descending order of priority road.
  8. 根据权利要求1至3、5至6中任一项所述的方法,还包括:The method of any one of claims 1 to 3, 5 to 6, further comprising:
    在确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值之前,对所述DRA设备与所述Diameter节点之间已配置的Diameter信令链路设置优先级,其中,所述已配置的Diameter信令链路包括所述已激活的Diameter信令链路。Determining a configured Diameter signaling chain between the DRA device and the Diameter node before determining that the total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced below a first threshold The path sets a priority, wherein the configured Diameter signaling link includes the activated Diameter signaling link.
  9. 根据权利要求1至3、5至6中任一项所述的方法,其中,去激活的所述预定数量的Diameter信令链路中的第一预定数量的Diameter信令链路配置在所述DRA设备中的第一虚拟机与所述Diameter节点之间,在所述第一虚拟机与所述Diameter节点之间还配置有已激活的第二预定数量的Diameter信令链路,其中,The method of any one of claims 1 to 3, 5 to 6, wherein a first predetermined number of Diameter signaling links of said predetermined number of Diameter signaling links deactivated are configured Between the first virtual machine and the Diameter node in the DRA, a second predetermined number of Diameter signaling links that are activated are further configured between the first virtual machine and the Diameter node, where
    在所述DRA设备与所述Diameter节点之间对所述待去激活信令链路进行去激活包括:关闭所述第一虚拟机,并将所述第二预定数量的Diameter信令链路迁移至所述DRA设备中的第二虚拟机与所述Diameter节点之间,使得在所述第二虚拟机与所述Diameter节点之间存在所述已激活的第二预定数量的Diameter信令链路。Deactivating the to-be-deactivated signaling link between the DRA device and the Diameter node includes: turning off the first virtual machine, and migrating the second predetermined number of Diameter signaling links Between the second virtual machine in the DRA device and the Diameter node, such that the activated second predetermined number of Diameter signaling links exist between the second virtual machine and the Diameter node .
  10. 一种Diameter信令链路的调整装置,包括:An adjustment device for a Diameter signaling link, comprising:
    第一选择模块,设置为当确定Diameter路由代理DRA设备与Diameter节点之间已激活的Diameter信令链路的总负荷降低到小于第一阈值时,从所述已激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待去激活信令链路;a first selection module configured to determine from the activated Diameter signaling link when it is determined that a total load of the activated Diameter signaling link between the Diameter routing agent DRA device and the Diameter node is reduced to less than a first threshold Selecting a predetermined number of Diameter signaling links as a signaling link to be deactivated;
    去激活模块,设置为在所述DRA设备与所述Diameter节点之间对所述待去激活信令链路进行去激活。And deactivating the module, configured to deactivate the to-be-deactivated signaling link between the DRA device and the Diameter node.
  11. 根据权利要求10所述的装置,其中,所述Diameter节点包括:多个Diameter邻接节点;The apparatus of claim 10, wherein the Diameter node comprises: a plurality of Diameter adjacency nodes;
    所述第一选择模块包括:第一选择单元,设置为选择所述DRA设备与所述多个Diameter邻接节点中的第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路;The first selection module includes: a first selection unit configured to select an activated Diameter signaling link between the DRA device and a first predetermined number of Diameter neighbor nodes of the plurality of Diameter adjacent nodes;
    所述装置还包括切换模块,设置为使所述第一预定数量的Diameter邻接 节点从工作状态切换到非工作状态。The apparatus also includes a switching module configured to abut the first predetermined number of Diameter The node switches from the working state to the non-working state.
  12. 根据权利要求11所述的装置,其中,所述第一选择单元包括:The apparatus of claim 11 wherein said first selection unit comprises:
    判断子单元,设置为判断所述多个Diameter邻接节点中的第二预定数量的Diameter邻接节点是否具备承载所述总负荷的能力;a determining subunit, configured to determine whether a second predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes have the capability of carrying the total load;
    选择子单元,设置为当所述第二预定数量的Diameter邻接节点具备承载所述总负荷的能力时,将所述多个Diameter邻接节点中除所述第二预定数量的Diameter邻接节点之外的Diameter邻接节点作为所述第一预定数量的Diameter邻接节点,并选择所述DRA设备与所述第一预定数量的Diameter邻接节点之间已激活的Diameter信令链路。Selecting a subunit, configured to: when the second predetermined number of Diameter adjacent nodes have the capability of carrying the total load, except the second predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes The Diameter adjacency node acts as the first predetermined number of Diameter neighbor nodes and selects an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter neighbor nodes.
  13. 根据权利要求11至12中任一项所述的装置,所述第一选择模块还包括:第二选择单元,设置为按照优先级从低到高的顺序从所述已激活的Diameter信令链路中选择一条或多条Diameter信令链路。The apparatus according to any one of claims 11 to 12, the first selection module further comprising: a second selection unit arranged to be from the activated Diameter signaling chain in descending order of priority Select one or more Diameter signaling links in the path.
  14. 根据权利要求10所述的装置,还包括:The apparatus of claim 10 further comprising:
    第二选择模块,设置为当所述DRA设备与所述Diameter节点之间已激活的Diameter信令链路的总负荷增加到大于第二阈值时,从所述DRA设备与所述Diameter节点之间已配置的、但尚未激活的Diameter信令链路中选择预定数量的Diameter信令链路,作为待激活信令链路;a second selection module, configured to: when the total load of the activated Diameter signaling link between the DRA device and the Diameter node increases to be greater than a second threshold, between the DRA device and the Diameter node A predetermined number of Diameter signaling links are selected as the to-be-activated signaling links in the configured, but not yet activated, Diameter signaling links;
    激活模块,设置为在所述DRA设备与所述Diameter节点之间对待激活信令链路进行激活,其中,所述待激活信令链路在被激活后用于承载所述总负荷中的预定比例的负荷。An activation module configured to activate an activation signaling link between the DRA device and the Diameter node, wherein the to-be-activated signaling link is used to carry a reservation in the total load after being activated The proportion of the load.
  15. 根据权利要求14所述的装置,其中,所述Diameter节点包括:多个Diameter邻接节点,其中,所述多个Diameter邻接节点中的第三预定数量的Diameter邻接节点处于工作状态,所述DRA设备与所述第三预定数量的Diameter邻接节点之间存在所述已激活的Diameter信令链路,所述多个Diameter邻接节点中的第四预定数量的Diameter邻接节点处于非工作状态,所述DRA设备与所述第四预定数量的Diameter邻接节点之间存在所述已配置的、但尚未激活的Diameter信令链路;The apparatus of claim 14, wherein the Diameter node comprises: a plurality of Diameter adjacency nodes, wherein a third predetermined number of Diameter adjoining nodes of the plurality of Diameter adjoining nodes are in an active state, the DRA device The activated Diameter signaling link exists between the third predetermined number of Diameter adjacent nodes, and a fourth predetermined number of Diameter adjacent nodes of the plurality of Diameter adjacent nodes are in an inactive state, the DRA The configured, but not yet activated, Diameter signaling link exists between the device and the fourth predetermined number of Diameter adjacent nodes;
    其中,所述第二选模块包括:第三选择单元,设置为使所述第四预定数 量的Diameter邻接节点中的第五预定数量的Diameter邻接节点从所述非工作状态切换到工作状态,并从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路作为所述待激活信令链路。The second selection module includes: a third selection unit, configured to enable the fourth predetermined number The fifth predetermined number of Diameter neighbor nodes in the Diameter adjacency node switch from the non-working state to the active state, and are configured between the DRA device and the fifth predetermined number of Diameter adjacent nodes, but One or more Diameter signaling links are selected as the to-be-activated signaling link in the Diameter signaling link that has not been activated.
  16. 根据权利要求15所述的装置,其中,The device according to claim 15, wherein
    所述第三选择单元是设置为,按照优先级从高到低的顺序从所述DRA设备与所述第五预定数量的Diameter邻接节点之间已配置的、但尚未激活的Diameter信令链路中选择一条或多条Diameter信令链路。The third selection unit is configured to set, but not yet activated, a Diameter signaling link between the DRA device and the fifth predetermined number of Diameter adjacent nodes in order of priority from highest to lowest Select one or more Diameter signaling links.
  17. 根据权利要求10至12、14至15中任一项所述的装置,还包括:The apparatus according to any one of claims 10 to 12, 14 to 15, further comprising:
    设置模块,设置为对所述DRA设备与所述Diameter节点之间已配置的Diameter信令链路设置优先级,其中,所述已配置的Diameter信令链路包括所述已激活的Diameter信令链路。a setting module configured to set a priority for a configured Diameter signaling link between the DRA device and the Diameter node, wherein the configured Diameter signaling link includes the activated Diameter signaling link.
  18. 根据权利要求10至12、14至15中任一项所述的装置,其中,去激活的所述预定数量的Diameter信令链路中的第一预定数量的Diameter信令链路配置在所述DRA设备中的第一虚拟机与所述Diameter节点之间,在所述第一虚拟机与所述Diameter节点之间还配置有已激活的第二预定数量的Diameter信令链路,其中,The apparatus of any one of claims 10 to 12, 14 to 15, wherein a first predetermined number of Diameter signaling links of said predetermined number of Diameter signaling links deactivated are configured Between the first virtual machine and the Diameter node in the DRA, a second predetermined number of Diameter signaling links that are activated are further configured between the first virtual machine and the Diameter node, where
    所述去激活模块包括:处理单元,设置为关闭所述第一虚拟机,并将所述第二预定数量的Diameter信令链路迁移至所述DRA设备中的第二虚拟机与所述Diameter节点之间,使得在所述第二虚拟机与所述Diameter节点之间存在所述已激活的第二预定数量的Diameter信令链路。The deactivation module includes: a processing unit configured to shut down the first virtual machine, and migrate the second predetermined number of Diameter signaling links to a second virtual machine in the DRA device and the Diameter Between the nodes, the second predetermined number of Diameter signaling links that are activated are present between the second virtual machine and the Diameter node.
  19. 一种Diameter路由代理DRA,包括权利要求10至18中任一项所述的装置。 A Diameter routing agent DRA comprising the apparatus of any one of claims 10 to 18.
PCT/CN2016/081610 2015-07-08 2016-05-10 Method and apparatus for adjusting diameter signaling link, and dra WO2017005050A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510398369.7 2015-07-08
CN201510398369.7A CN106341334B (en) 2015-07-08 2015-07-08 Method and device for adjusting Diameter signaling link and DRA

Publications (1)

Publication Number Publication Date
WO2017005050A1 true WO2017005050A1 (en) 2017-01-12

Family

ID=57684650

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081610 WO2017005050A1 (en) 2015-07-08 2016-05-10 Method and apparatus for adjusting diameter signaling link, and dra

Country Status (2)

Country Link
CN (1) CN106341334B (en)
WO (1) WO2017005050A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150512A (en) * 2007-10-23 2008-03-26 中兴通讯股份有限公司 Method for load balance of communication link
CN102123447A (en) * 2010-01-08 2011-07-13 中兴通讯股份有限公司 Discontinuous reception method and system
CN102143062A (en) * 2010-12-28 2011-08-03 华为技术有限公司 Policy and charging rule function addressing method, device and system
WO2015005633A1 (en) * 2013-07-08 2015-01-15 Lg Electronics Inc. Method for controlling uplink transmissions of a user equipment (ue) in a multi-radio access technology (rat) environment and apparatus therefor

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100571209C (en) * 2006-05-23 2009-12-16 华为技术有限公司 The method that load is adjusted to the media gateway control interface bearing link
CN101621476B (en) * 2009-08-17 2011-11-23 中兴通讯股份有限公司 Establishing method of Diameter link and Diameter network element
CN102833087A (en) * 2011-06-17 2012-12-19 中兴通讯股份有限公司 Method and device for processing unstable-quality link in IMA transmission
US20130003559A1 (en) * 2011-06-30 2013-01-03 Broadcom Corporation Adaptive Power Savings for Aggregated Resources
CN103037115B (en) * 2011-10-09 2015-06-17 上海市南电信服务中心有限公司 Dynamic elastic control system for computer supported telephony application (CSTA) link
TWI699978B (en) * 2018-04-04 2020-07-21 香港商鴻穎創新有限公司 Methods and related devices of channel state information (csi) reporting for bandwidth part (bwp) switch operation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150512A (en) * 2007-10-23 2008-03-26 中兴通讯股份有限公司 Method for load balance of communication link
CN102123447A (en) * 2010-01-08 2011-07-13 中兴通讯股份有限公司 Discontinuous reception method and system
CN102143062A (en) * 2010-12-28 2011-08-03 华为技术有限公司 Policy and charging rule function addressing method, device and system
WO2015005633A1 (en) * 2013-07-08 2015-01-15 Lg Electronics Inc. Method for controlling uplink transmissions of a user equipment (ue) in a multi-radio access technology (rat) environment and apparatus therefor

Also Published As

Publication number Publication date
CN106341334A (en) 2017-01-18
CN106341334B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN110535676B (en) SMF dynamic disaster tolerance realization method, device, equipment and storage medium
KR101467138B1 (en) System and method for session resiliancy at geo-redundant gateways
US8989000B2 (en) Cloud-based telecommunications infrastructure
CN101651608B (en) Link management method, corresponding management entity, execution node and mobile communication system
US9532359B2 (en) Resource allocation method and device
WO2013172107A1 (en) Control node and communication control method
CN109936878A (en) A kind of method and terminal device of triggering state recovery
CN103078933B (en) A kind of method and apparatus determining data migration time
WO2021196616A1 (en) Message report method and apparatus, device, and storage medium
CN109933431B (en) Intelligent client load balancing method and system
WO2011079467A1 (en) Method, device and system for scheduling distributed buffer resources
EP3644646A1 (en) Load-balancing method and apparatus
CN108617033A (en) Method, terminal and the access network equipment of communication
JP2020534760A (en) RBG division method and user terminal
CN108282526B (en) Dynamic allocation method and system for servers between double clusters
CN103782270A (en) Method for managing stream processing system, and related apparatus and system
CN110139396A (en) RRC state conversion method, terminal, CU, DU and computer readable storage medium
KR101402367B1 (en) Efficient and cost-effective distributed call admission control
US20160011648A1 (en) Method and network units for handling states
CN102123511A (en) Mobile network data transmission method and system as well as mobile terminal
WO2021083196A1 (en) Network traffic migration method and apparatus
WO2017005050A1 (en) Method and apparatus for adjusting diameter signaling link, and dra
WO2012155639A1 (en) Method and device for roaming user data
WO2018120822A1 (en) User data anchor migration method, device and system
CN102820992A (en) Processing method and device of data packets

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16820701

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16820701

Country of ref document: EP

Kind code of ref document: A1