CN106341334B - Method and device for adjusting Diameter signaling link and DRA - Google Patents

Method and device for adjusting Diameter signaling link and DRA Download PDF

Info

Publication number
CN106341334B
CN106341334B CN201510398369.7A CN201510398369A CN106341334B CN 106341334 B CN106341334 B CN 106341334B CN 201510398369 A CN201510398369 A CN 201510398369A CN 106341334 B CN106341334 B CN 106341334B
Authority
CN
China
Prior art keywords
diameter
activated
predetermined number
signaling links
dra
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510398369.7A
Other languages
Chinese (zh)
Other versions
CN106341334A (en
Inventor
张学军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510398369.7A priority Critical patent/CN106341334B/en
Priority to PCT/CN2016/081610 priority patent/WO2017005050A1/en
Publication of CN106341334A publication Critical patent/CN106341334A/en
Application granted granted Critical
Publication of CN106341334B publication Critical patent/CN106341334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention provides a method and a device for adjusting a Diameter signaling link and a DRA, wherein the method comprises the following steps: when determining that the total load of activated Diameter signaling links between Diameter routing agent DRA equipment and a Diameter node is reduced to be smaller than a first threshold value, selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links as signaling links to be deactivated; and deactivating the signaling link to be deactivated between the DRA equipment and the Diameter node. The invention solves the problem of waste of Diameter signaling link resources caused by the fact that the Diameter signaling link cannot elastically stretch and retract in the related technology, and further achieves the effect of avoiding the waste of the Diameter signaling link resources.

Description

Method and device for adjusting Diameter signaling link and DRA
Technical Field
The invention relates to the field of communication, in particular to a method and a device for adjusting a Diameter signaling link and a DRA.
Background
In the field of mobile communication, virtualization of core network elements is a technology about to complete the entire industry. Virtualization is not only for mobile communication, but also for a general internet technology, and is applicable to all kinds of servers.
The essence of network element virtualization is that the software is separated from the hardware. The hardware in a broad sense includes "Central Processing Unit (CPU)", "storage", "bandwidth", "network resource", and the like. Through virtualization, hardware resources are distributed according to needs, and the method has the excellent characteristics of high reliability, rapid deployment, environmental friendliness and the like.
Virtual Machines (VM) are a core concept in virtualization, and each Virtual Machine can configure a certain amount of resources such as physical CPUs, memories, hard disks, and the like.
"elastic scaling" is an important technique for virtualization, where users dynamically adjust the required hardware resources at the granularity of a virtual machine. When the traffic volume increases, the user applies for one or more new virtual machines, namely Scale Out; when the traffic volume decreases, then one or more virtual machines are released, i.e., scaled In. The criterion for elastic expansion is based on the most prominent hardware resources, and the most common is the virtual CPU load. However, the Diameter Routing Agent (abbreviated DRA) is not limited thereto.
DRA is Diameter signaling switching equipment and is a Diameter signaling highway. Each DRA establishes signaling connections with many other DRAs or Diameter signaling nodes. A maximum of 32 Diameter signaling links may be established between one DRA and each neighboring node. According to the specification requirement of an operator, the total number of adjacent nodes supported by one DRA is 8192, and the total number of signaling links reaches up to 15000. The operator configures the number of signaling links according to the maximum traffic volume.
The bandwidth of a single Diameter signaling link is as high as more than hundred megabits/s, a large memory space is consumed by a receiving and sending cache allocated to the Diameter signaling link, and the memory capacity of each virtual machine is always limited. In addition, a fully loaded signaling link consumes a CPU which is prohibitively large, and a physical CPU is only capable of handling a few fully loaded signaling links, in terms of the processing power of the current CPU. Therefore, the maximum number of signaling links per VM configuration is limited, such as 128. Diameter signaling links constitute a more prominent scarce hardware resource for DRA network elements. For example, a DRA is configured with 6400 signaling links, and when the traffic on all signaling links drops to near 0, due to the constraint of the number of signaling links on a single VM, at least 50 virtual machines need to be allocated, but the CPU load of each virtual machine is not high.
Because Diameter signaling links cannot be elastically stretched, all signaling links need to be activated at any time, and the following consequences are brought: if the traffic volume of the DRA and a certain adjacent node is very low, namely the traffic volume of all signaling links between the DRA and the node is very low, the related signaling links are not used as much as possible, but most of the signaling links are wasted and do not conform to the aim of 'demand allocation' in the virtualization technology; becoming a prominent bottleneck for the virtual machine Scale In. When the traffic is low, although the CPU load of each VM is not large, each VM cannot allocate a new signaling link, so that the VM cannot shrink elastically. Therefore, the problem that the Diameter signaling link resource is wasted due to the fact that the Diameter signaling link cannot be elastically stretched exists in the related art.
Aiming at the problem of waste of Diameter signaling link resources caused by the fact that a Diameter signaling link cannot be elastically stretched and contracted in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The invention provides a method and a device for adjusting a Diameter signaling link and a DRA (Diameter agent), which are used for at least solving the problem of waste of Diameter signaling link resources caused by the fact that the Diameter signaling link cannot be elastically stretched in the related technology.
According to an aspect of the present invention, there is provided a method for adjusting a Diameter signaling link, including: when determining that the total load of activated Diameter signaling links between Diameter routing agent DRA equipment and a Diameter node is reduced to be smaller than a first threshold value, selecting a preset number of Diameter signaling links from the activated Diameter signaling links as signaling links to be deactivated; deactivating the signaling link to be deactivated between the DRA equipment and the Diameter node.
Optionally, the Diameter node comprises: a plurality of Diameter neighbor nodes; wherein selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links comprises: selecting activated Diameter signaling links between the DRA device and a first predetermined number of the plurality of Diameter neighbor nodes; wherein, after the signaling link to be deactivated is deactivated between the DRA device and the Diameter node, the method further comprises: causing the first predetermined number of Diameter neighbor nodes to switch from an active state to an inactive state.
Optionally, selecting activated Diameter signaling links between the DRA device and a first predetermined number of the plurality of Diameter neighbor nodes comprises: determining whether a second predetermined number of the Diameter neighbor nodes of the plurality of Diameter neighbor nodes have the capability of carrying the total load; if the second predetermined number of Diameter adjacent nodes have the capacity of bearing the total load, taking the Diameter adjacent nodes except the second predetermined number of Diameter adjacent nodes in the plurality of Diameter adjacent nodes as the first predetermined number of Diameter adjacent nodes, and selecting activated Diameter signaling links between the DRA device and the first predetermined number of Diameter adjacent nodes.
Optionally, selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links comprises: one or more Diameter signaling links are selected from the activated Diameter signaling links in descending order of priority.
Optionally, the method further comprises: when the total load of the activated Diameter signaling links between the DRA equipment and the Diameter node is increased to be larger than a second threshold value, selecting a preset number of Diameter signaling links from the Diameter signaling links which are configured but not activated between the DRA equipment and the Diameter node as signaling links to be activated; and activating the signaling link to be activated between the DRA equipment and the Diameter node, wherein the signaling link to be activated is used for carrying a load with a preset proportion in the total load after being activated.
Optionally, the Diameter node comprises: a plurality of Diameter neighbor nodes, wherein a third predetermined number of the plurality of Diameter neighbor nodes are in an active state, the activated Diameter signaling links exist between the DRA device and the third predetermined number of Diameter neighbor nodes, a fourth predetermined number of the plurality of Diameter neighbor nodes are in an inactive state, and the configured, but not yet activated, Diameter signaling links exist between the DRA device and the fourth predetermined number of Diameter neighbor nodes; wherein selecting a predetermined number of Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the Diameter node comprises: causing a fifth predetermined number of the fourth predetermined number of Diameter neighbor nodes to switch from the inactive state to an active state, and selecting one or more Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the fifth predetermined number of Diameter neighbor nodes as the signaling links to be activated.
Optionally, selecting one or more Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the fifth predetermined number of Diameter adjacent nodes comprises: selecting one or more Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the fifth predetermined number of Diameter adjacent nodes in order of priority from high to low.
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 the first threshold, the method further includes: prioritizing configured Diameter signaling links between the DRA device and the Diameter node, wherein the configured Diameter signaling links include the activated Diameter signaling link.
Optionally, a first predetermined number of Diameter signaling links of the predetermined number of deactivated Diameter signaling links are configured between a first virtual machine in the DRA device and the Diameter node, and a second predetermined number of activated Diameter signaling links are further configured between the first virtual machine and the Diameter node, where deactivating the signaling link to be deactivated between the DRA device and the Diameter node includes: closing the first virtual machine and migrating the second predetermined number of Diameter signaling links between a 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.
According to another aspect of the present invention, there is provided an apparatus for adjusting a Diameter signaling link, comprising: a first selection module, configured to select, when it is determined that a 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 predetermined number of Diameter signaling links from the activated Diameter signaling links as signaling links to be deactivated; a deactivation module, configured to deactivate the signaling link to be deactivated between the DRA device and the Diameter node.
Optionally, the Diameter node comprises: a plurality of Diameter neighbor nodes; wherein the first selection module comprises: a first selecting unit, configured to select activated Diameter signaling links between the DRA device and a first predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes; wherein the apparatus further comprises a switching module to switch the first predetermined number of Diameter neighbor nodes from an active state to an inactive state.
Optionally, the first selecting unit includes: a determining subunit, configured to determine whether a second predetermined number of Diameter adjacent nodes in the plurality of Diameter adjacent nodes have a capability of bearing the total load; a selecting subunit, configured to, when the second predetermined number of Diameter adjacent nodes have a capability of carrying the total load, take Diameter adjacent nodes, except the second predetermined number of Diameter adjacent nodes, of the plurality of Diameter adjacent nodes as the first predetermined number of Diameter adjacent nodes, and select an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter adjacent nodes.
Optionally, the first selection module includes: and the second selecting unit is used for selecting one or more Diameter signaling links from the activated Diameter signaling links according to the sequence of the priorities from low to high.
Optionally, the apparatus further comprises: a second selecting module, configured to select, as signaling links to be activated, a predetermined number of Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the Diameter node when a total load of activated Diameter signaling links between the DRA device and the Diameter node increases to be greater than a second threshold; and the activation module is used for activating a signaling link to be activated between the DRA equipment and the Diameter node, wherein the signaling link to be activated is used for bearing a load of a predetermined proportion in the total load after being activated.
Optionally, the Diameter node comprises: a plurality of Diameter neighbor nodes, wherein a third predetermined number of the plurality of Diameter neighbor nodes are in an active state, the activated Diameter signaling links exist between the DRA device and the third predetermined number of Diameter neighbor nodes, a fourth predetermined number of the plurality of Diameter neighbor nodes are in an inactive state, and the configured, but not yet activated, Diameter signaling links exist between the DRA device and the fourth predetermined number of Diameter neighbor nodes; wherein the second selection module comprises: a third selecting unit, configured to cause a fifth predetermined number of Diameter adjacent nodes of the fourth predetermined number of Diameter adjacent nodes to switch from the inactive state to an active state, and select one or more Diameter signaling links as the signaling link to be activated from Diameter signaling links configured but not yet activated between the DRA device and the fifth predetermined number of Diameter adjacent nodes.
Optionally, the third selecting unit includes: selecting one or more Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the fifth predetermined number of Diameter adjacent nodes in order of priority from high to low.
Optionally, the apparatus further comprises: 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.
Optionally, a first predetermined number of the deactivated predetermined number of Diameter signaling links is configured between a first virtual machine in the DRA device and the Diameter node, and a second predetermined number of activated Diameter signaling links is further configured between the first virtual machine and the Diameter node, wherein the deactivation module includes: a processing unit, configured to close the first virtual machine, and migrate the second predetermined number of Diameter signaling links to a location between 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.
According to another aspect of the present invention, there is provided a Diameter routing agent DRA comprising the apparatus of any of the above.
According to the method, when the total load of the activated Diameter signaling links between the Diameter routing agent DRA equipment and the Diameter node is determined to be reduced to be less than a first threshold value, a predetermined number of Diameter signaling links are selected from the activated Diameter signaling links to be used as signaling links to be deactivated; the signaling link to be deactivated is deactivated between the DRA equipment and the Diameter node, so that the problem of waste of Diameter signaling link resources caused by the fact that the Diameter signaling link cannot be elastically stretched and contracted in the related technology is solved, and the effect of avoiding the waste of the Diameter signaling link resources is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
figure 1 is a flow diagram of a method of adjusting a Diameter signaling link in accordance with an embodiment of the present invention;
figure 2 is a block diagram of an arrangement for adjusting a Diameter signaling link according to an embodiment of the present invention;
figure 3 is a block diagram of a preferred architecture of an apparatus for adjusting a Diameter signaling link in accordance with an embodiment of the present invention;
figure 4 is a block diagram of the structure of the first selection unit 32 in the Diameter signaling link adjustment apparatus according to an embodiment of the present invention;
figure 5 is a block diagram of the structure of the first selection module 22 in the Diameter signaling link adjustment apparatus according to an embodiment of the present invention;
figure 6 is a block diagram one of a preferred architecture of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention;
figure 7 is a block diagram of the structure of the second selection module 62 in the Diameter signaling link adjustment apparatus according to an embodiment of the present invention;
figure 8 is a block diagram of a preferred architecture of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention;
figure 9 is a block diagram of the structure of deactivation module 24 in the Diameter signaling link adjustment apparatus according to an embodiment of the present invention;
figure 10 is a block diagram of the structure of a Diameter routing agent DRA according to an embodiment of the invention;
fig. 11 is a schematic diagram of signaling link configuration between DRA and adjacent Peer according to an embodiment of the present invention;
fig. 12 is a Scale In diagram of a signaling link between a DRA and a neighboring Peer according to an embodiment of the invention;
figure 13 is a schematic diagram of signaling link configuration of a DRA with a set of adjacent PCRFs according to an embodiment of the present invention;
fig. 14 is a Scale In diagram of a DRA and an adjacent PCRF group according to an embodiment of the present invention;
FIG. 15 is a schematic diagram of signaling link, virtual machine, traffic synchronization in accordance with an embodiment of the present invention;
fig. 16 is a flowchart of signaling link establishment when a DRA network element is started and powered on for the first time according to an embodiment of the present invention;
fig. 17 is a flow chart of a signaling link Scale In according to an embodiment of the present invention;
FIG. 18 is a flow chart of the signaling link Scale Out according to an embodiment of the invention;
FIG. 19 is a flow diagram of a server group Scale In according to an embodiment of the invention;
fig. 20 is a flowchart of the server group Scale Out according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In this embodiment, a method for adjusting a Diameter signaling link is provided, and 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 flowchart includes the following steps:
step S102, when determining that the total load of the activated Diameter signaling links between the Diameter routing agent DRA equipment and the Diameter node is reduced to be less than a first threshold value, selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links as signaling links to be deactivated;
step S104, deactivating the signaling link to be deactivated between the DRA device and the Diameter node.
In the above steps, when it is determined that the total load of the activated Diameter signaling links between the DRA device and the Diameter node is less than the first threshold, it indicates that the current traffic is low, and it is not necessary to use all activated Diameter signaling links, at this time, the number of the activated Diameter signaling links can be appropriately reduced, and the reduced Diameter signaling links can execute other services, thereby solving the problem of waste of Diameter signaling link resources due to the fact that the Diameter signaling links cannot be elastically stretched in the related art, and further achieving the effect of avoiding waste of Diameter signaling link resources.
In an optional embodiment, the Diameter node includes: a plurality of Diameter neighbor nodes; wherein selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links comprises: selecting activated Diameter signaling links between the DRA device and a first predetermined number of Diameter neighbor nodes of the plurality of Diameter neighbor nodes; after deactivating the selected predetermined number of Diameter signaling links between the DRA device and the Diameter node, the method further includes: a first predetermined number of Diameter neighbor nodes are switched from an active state to an inactive state. Wherein the selected predetermined number of Diameter signaling links on which deactivation operations have been performed may be concentrated in the first predetermined number of Diameter adjacent nodes, and after deactivation operations have been performed on the selected predetermined number of Diameter signaling links, all Diameter signaling links in the first predetermined number of Diameter adjacent nodes may have been deactivated, so that the first predetermined number of Diameter adjacent nodes may be switched from an active state to an inactive state; of course, the selected predetermined number of Diameter signaling links may also be only a portion of the first predetermined number of Diameter neighboring nodes, and another portion of the Diameter signaling links may exist in the first predetermined number of Diameter neighboring nodes after the selected predetermined number of Diameter signaling links are deactivated, in which case the load in the another portion of the Diameter signaling links in the first predetermined number of Diameter neighboring nodes may be transferred to the activated Diameter signaling links in the other Diameter neighboring nodes. When the activated Diameter signaling link in the other Diameter adjacent nodes cannot bear the load in another part of the Diameter signaling links in the first predetermined number of Diameter adjacent nodes, the activated Diameter signaling link in the other Diameter adjacent nodes can be added appropriately to bear the load.
In an optional embodiment, selecting activated Diameter signaling links between the DRA device and a first predetermined number of Diameter adjacency nodes of the plurality of Diameter adjacency nodes comprises: 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; if the second predetermined number of Diameter adjacent nodes have the capacity of bearing the total load, taking the Diameter adjacent nodes except the second predetermined number of Diameter adjacent nodes in the plurality of Diameter adjacent nodes as the first predetermined number of Diameter adjacent nodes, and selecting the activated Diameter signaling links between the DRA equipment and the first predetermined number of Diameter adjacent nodes.
In an alternative embodiment, selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links includes: one or more Diameter signaling links are selected from the activated Diameter signaling links according to the order of priority from low to high. When a plurality of Diameter signaling links need to be selected, one Diameter signaling link with the lowest priority level may be selected first, and then one Diameter signaling link with the lowest priority level may be selected from the remaining Diameter signaling links, and so on, until the Diameter signaling links meeting the requirement are selected.
In an optional embodiment, further comprising: when the total load of the activated Diameter signaling links between the DRA equipment and the Diameter node is increased to be larger than a second threshold value, selecting a preset number of Diameter signaling links from the Diameter signaling links which are configured but not activated between the DRA equipment and the Diameter node as signaling links to be activated; and activating the signaling link to be activated between the DRA equipment and the Diameter node, wherein the signaling link to be activated is used for carrying a load with a preset proportion in the total load after being activated.
In an optional embodiment, the Diameter node includes: a plurality of Diameter neighbor nodes, wherein a third predetermined number of the plurality of Diameter neighbor nodes are in an active state, activated Diameter signaling links exist between the DRA device and the third predetermined number of Diameter neighbor nodes, a fourth predetermined number of the plurality of Diameter neighbor nodes are in an inactive state, configured, but not yet activated Diameter signaling links exist between the DRA device and the fourth predetermined number of Diameter neighbor nodes; wherein selecting a predetermined number of Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and a Diameter node comprises: and switching a fifth preset number of Diameter adjacent nodes in the fourth preset number of Diameter adjacent nodes from a non-working state to a working state, and selecting one or more Diameter signaling links as signaling links to be activated from Diameter signaling links which are configured between the DRA equipment and the fifth preset number of Diameter adjacent nodes and are not activated.
In an optional embodiment, selecting one or more Diameter signaling links from among Diameter signaling links configured but not yet activated between the DRA device and a fifth predetermined number of Diameter adjacent nodes comprises: one or more Diameter signaling links are selected from Diameter signaling links configured but not yet activated between the DRA device and a fifth predetermined number of Diameter adjacent nodes in the order of priority from high to low. When a plurality of Diameter signaling links are selected, the Diameter signaling link with the highest priority level may be selected first, and then the Diameter signaling link with the highest priority level may be selected from the remaining Diameter signaling links, and so on until a Diameter signaling link meeting the number is selected.
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 decreases to be less than the first threshold, the method further comprises: prioritizing configured Diameter signaling links between the DRA device and the Diameter node, wherein the configured Diameter signaling links include activated Diameter signaling links.
In an optional embodiment, a first predetermined number of Diameter signaling links in the predetermined number of deactivated Diameter signaling links are configured between a first virtual machine in the DRA device and a Diameter node, and a second predetermined number of activated Diameter signaling links are also configured between the first virtual machine and the Diameter node, where deactivating, between the DRA device and the Diameter node, a signaling link to be deactivated includes: and closing the first virtual machine, and migrating the second preset number of Diameter signaling links between a second virtual machine and a Diameter node in the DRA equipment, so that the activated second preset number of Diameter signaling links exist between the second virtual machine and the Diameter node.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, an adjusting apparatus for a Diameter signaling link is further provided, where the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Figure 2 is a block diagram of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention, and as shown in figure 2, the apparatus includes a first selecting module 22 and a deactivating module 24, which will be described below.
A first selecting module 22, configured to, when it is determined that a 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, select a predetermined number of Diameter signaling links from the activated Diameter signaling links as signaling links to be deactivated; a deactivation module 24, connected to the first selection module 22, configured to deactivate the signaling link to be deactivated between the DRA device and the Diameter node.
Optionally, the Diameter node includes: a plurality of Diameter neighbor nodes; fig. 3 is a block diagram of a preferred structure of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention, and as shown in fig. 3, the first selecting module 22 includes a first selecting unit 32, and the apparatus includes a switching module 34 in addition to all modules shown in fig. 2, which will be described below.
A first selecting unit 32, configured to select activated Diameter signaling links between the DRA device and a first predetermined number of Diameter adjacency nodes of the plurality of Diameter adjacency nodes;
a switching module 34, coupled to the deactivation module 24, for switching the first predetermined number of Diameter adjacent nodes from an active state to an inactive state.
Fig. 4 is a block diagram illustrating a structure of the first selecting unit 32 in the Diameter signaling link adjusting apparatus according to the embodiment of the present invention, and as shown in fig. 4, the first selecting unit 32 includes a judging subunit 42 and a selecting subunit 44. The first selection unit 32 will be explained below.
A determining subunit 42, configured to determine whether a second predetermined number of Diameter adjacent nodes in the plurality of Diameter adjacent nodes have a capability of bearing a total load; and a selecting subunit 44, connected to the determining subunit 42, configured to, when the second predetermined number of Diameter adjacent nodes have a capability of carrying a total load, take Diameter adjacent nodes, except the second predetermined number of Diameter adjacent nodes, of the plurality of Diameter adjacent nodes as the first predetermined number of Diameter adjacent nodes, and select an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter adjacent nodes.
Fig. 5 is a block diagram illustrating a structure of the first selection module 22 in the Diameter signaling link adjustment apparatus according to an embodiment of the present invention, and as shown in fig. 5, the first selection module 22 includes a second selection unit 52, and the first selection module 22 is described below.
A second selecting unit 52, configured to select one or more Diameter signaling links from the activated Diameter signaling links in order of priority from low to high.
Fig. 6 is a first block diagram of a preferred structure of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention, and as shown in fig. 6, the apparatus includes, in addition to all modules shown in fig. 2, a second determining module 62, a second selecting module 64, and an activating module 66, where connection relationships between the second determining module 62, the second selecting module 64, and the activating module 66 and the first selecting module 22 are various, and fig. 6 is merely an example. The apparatus is described below with reference to fig. 6.
A second selecting module 62, configured to, when a total load of activated Diameter signaling links between the DRA device and the Diameter node increases to be greater than a second threshold, select a predetermined number of Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the Diameter node as signaling links to be activated; and an activation module 64, connected to the second selection module 62 and the first selection module 22, for activating, between the DRA device and the Diameter node, a signaling link to be activated, wherein the signaling link to be activated is used for carrying a predetermined proportion of the total load after being activated.
Optionally, the Diameter node includes: a plurality of Diameter adjacent nodes, wherein a third predetermined number of Diameter adjacent nodes in the plurality of Diameter adjacent nodes are in an active state, activated Diameter signaling links exist between the DRA device and the third predetermined number of Diameter adjacent nodes, a fourth predetermined number of Diameter adjacent nodes in the plurality of Diameter adjacent nodes are in an inactive state, configured, but not yet activated, Diameter signaling links exist between the DRA device and the fourth predetermined number of Diameter adjacent nodes, and fig. 7 is a block diagram of a second selection module 62 in an apparatus for adjusting Diameter signaling links according to an embodiment of the present invention, as shown in fig. 7, the second selection module 62 includes a third selection unit 72, and the second selection module 62 is described below.
A third selecting unit 72, configured to cause a fifth predetermined number of Diameter adjacent nodes of the fourth predetermined number of Diameter adjacent nodes to switch from an inactive state to an active state, and select one or more Diameter signaling links as signaling links to be activated from Diameter signaling links configured between the DRA device and the fifth predetermined number of Diameter adjacent nodes but not yet activated.
Optionally, the third selecting unit 72 includes: one or more Diameter signaling links are selected from Diameter signaling links configured but not yet activated between the DRA device and a fifth predetermined number of Diameter adjacent nodes in the order of priority from high to low.
Figure 8 is a block diagram of a preferred structure of an apparatus for adjusting a Diameter signaling link according to an embodiment of the present invention, and as shown in figure 8, the apparatus includes a setting module 82 in addition to all modules shown in figure 2, and the apparatus will be described below.
A setting module 82, connected to the first selection module 22, is configured to prioritize configured Diameter signaling links between the DRA device and the Diameter node, where the configured Diameter signaling links include activated Diameter signaling links.
Optionally, a first predetermined number of Diameter signaling links of the deactivated predetermined number of Diameter signaling links are configured between a first virtual machine and a Diameter node in the DRA device, and an activated second predetermined number of Diameter signaling links are also configured between the first virtual machine and the Diameter node, fig. 9 is a block diagram of a configuration of the deactivation module 24 in the Diameter signaling link adjustment apparatus according to the embodiment of the present invention, as shown in fig. 9, the deactivation module 24 includes a processing unit 92, and the deactivation module 24 is described below.
The processing unit 92 is configured to close the first virtual machine, and migrate the second predetermined number of Diameter signaling links to a location between a second virtual machine and a Diameter node in the DRA device, so that the activated second predetermined number of Diameter signaling links exist between the second virtual machine and the Diameter node.
Figure 10 is a block diagram of a Diameter routing agent DRA according to an embodiment of the present invention, and as shown in figure 10, the DRA102 includes an adjustment apparatus 104 for a Diameter signaling link of any of the above.
Through the embodiment, the problem that in the related technology, in a DRA network element, an operator plans a large number of signaling links according to the highest traffic peak and other factors, but because the signaling links cannot be elastically stretched, a large amount of signaling link resources are wasted in a normal traffic period or a low traffic period, the elastic stretching of a virtual machine is seriously influenced, and the green environment-friendly capability brought by virtualization is invalid to a certain extent can be effectively solved.
In view of the above problem, an embodiment of the present invention further provides a method for implementing elastic shrinkage of a Diameter signaling link, and the method is described below.
The operator configures the signaling links of the DRA to other Diameter adjacent nodes (peers). For an adjacent node supporting elastic expansion and contraction, the maximum number of signaling links (for example, 32) and the minimum number of signaling links (for example, 2) of the node are configured. And configure those links not to be elastically scaled, which are used for elastic scaling. For elastically scalable signaling links, an elastic scaling priority is set for each signaling link. And sets which signaling links are initially established upon power-up.
When a Diameter signaling link is established, capability negotiation (capability Exchange Request (CER for short)/capability Exchange response (CEA for short)) needs to be performed, and negotiation of signaling link elastic scalability attributes (namely, an "elastic scalability type" and an "elastic scalability priority") is added in a capability negotiation message. The elastic stretchability is: "Scale Fix", "Scale Enable". The link with the elastic expansion property of 'Scale Fix' does not perform elastic expansion, and the elastic expansion priority does not need to be set; the link with the elastic scalability of 'Scale Enable' can be elastically scalable, and the elastic scalability priority needs to be set during negotiation;
signaling link "Scale In": when the total link load of a certain Peer is reduced and partial or all signaling links need to be closed, selecting the signaling link with the lowest elastic stretching priority to initiate chain breaking according to the elastic stretching priority of the signaling link, namely sending a DPR (Disconnect-Peer-Request) message. The reason for the broken link is indicated by setting the enumerated value of "Disconnect-Cause AVP" IN the DPR message to "SCALE _ IN (3)". For the link closing situation caused by elastic shrinkage, the network elements of both sides cannot generate serious alarm and can not immediately rebuild the link.
Signaling link "Scale Out": when the load of a certain Peer total link rises and a signaling link needs to be added, selecting the link with the highest priority to initiate the reconstruction of the signaling link according to the elastic expansion priority of the signaling link.
Fig. 11 is a signaling link configuration diagram (not supporting the dual effect of signaling link elastic scaling) of DRA and adjacent Peer according to the embodiment of the present invention, where the number of signaling links of DRA and adjacent Peer is calculated according to the maximum traffic, and when the 4G user volume is large, if full configuration is performed, some adjacent peers may configure 32 signaling links at maximum. When the traffic volume is low (for example, the load of each link is a%), the utilization rate of the signaling link bandwidth is low, which causes resource waste; meanwhile, the DRA needs to apply for more VM virtual machines and cannot continue Scale In.
Fig. 12 is a Scale In diagram of a DRA and signaling link adjacent to a Peer according to an embodiment of the present invention (supporting the dual benefits of signaling link elastic scaling). For the situation of fig. 10, if elastic scaling of signaling links is supported, elastic scaling (Scale In) is performed when the traffic is low (say, the load per link is a%), then each Peer only needs 2 signaling links to activate (say, the load per link is 16 Xa%); meanwhile, the DRA only needs to apply for a few VM virtual machines.
Fig. 13 is a schematic diagram of signaling link configuration between a DRA and a group of adjacent PCRFs (flexible scaling of signaling links is not supported), according to an embodiment of the present invention, assuming that the DRA is connected to 16 PCRFs, each PCRF has a fully equivalent function, and each adjacent PCRF configures 32 signaling links. When the traffic volume is extremely low (for example, the load of each link is b%), signaling link resources, even a lot of PCRF node resources are wasted; meanwhile, the DRA also needs to apply for more VM virtual machines.
Fig. 14 is a Scale In schematic diagram of a DRA and an adjacent PCRF group according to an embodiment of the present invention, for the situation In fig. 13, if elastic expansion of signaling links is supported, only two PCRFs need to be activated, each PCRF activates 2 signaling links, the load of each signaling link is 128 Xb% (it is assumed that 128 Xb% is less than 0.5), and other PCRFs are dormant and only monitor link reconstruction; meanwhile, the DRA only needs to apply for a few VM virtual machines.
Fig. 15 is a schematic diagram of signaling link, virtual machine, and traffic synchronization according to an embodiment of the present invention, where a DRA network element needs to implement synchronization of signaling link, virtual machine, and traffic following the following principles:
the virtual DRA network element requires minimal, if not very loaded, VM and signaling links that never release or elastically scale.
When the traffic is low and a VM and a signaling link need to be applied, the priority is high correspondingly, and the probability of application and use is high in the whole operation.
When there is a medium traffic and a VM and a signaling link need to be applied, the medium priority is corresponding.
When a large traffic volume exists and VM and a signaling link need to be applied, the priority is low correspondingly, the probability of application and use is very low in the whole operation, the VM and the signaling link need to be applied only at the traffic peak, and the Trojan horse is released once the peak period passes.
Since the signaling link and the VM are consistent and linear with the traffic, the signaling link between the VMs can be prevented from migrating to the maximum extent by applying or releasing the signaling link and the VM at the same time.
The CER/CEA capability negotiation message adds an elastic scaling attribute AVP.
The CER (Capabilities-Exchange-Request) message is defined as follows:
<CER>::=<Diameter Header:257,REQ>
[ Scale-attribute ] (newly added)
The CEA message is defined as follows:
<CEA>::=<Diameter Header:257>
[ Scale-attribute ] (newly added)
Scale-attribute AVP definition:
AVP Code: 8000, Vendor-Id: 3902, group type.
Scale-attribute::=<AVP Header:8000>
{Scale-type}
[Scale-priority]
*[AVP]
Scale-type AVP definition:
AVP Code: 8001, Vendor-Id: 3902, type: and (6) enumeration.
Enumerated values:
SCALE_FIX 0
SCALE_ENABLE 1
scale-type AVP definition:
AVP Code: 8002, Vendor-Id: 3902, type: unogned 32.
Value range (0,31)
0: highest priority (highest priority to establish own link, lowest priority to release own link)
1 the highest priority
31 lowest priority (highest priority to release the link, lowest priority to establish the link)
The disconnection-reason AVP of the DPR (Disconnect-Peer-Request) disconnection Request message is increased by an "elastic contraction reason" enumeration value.
<DPR>::=<Diameter Header:282,REQ>
{Origin-Host}
{Origin-Realm}
{Disconnect-Cause}
*[AVP]
AVP Disconnect-Cause AVP definition:
AVP Code: 273, type: and (6) enumeration.
Enumerated values:
REBOOTING 0
BUSY 1
DO_NOT_WANT_TO_TALK_TO_YOU 2
SCALE _ IN 3 (New, elastic shrinkage reason)
For the first establishment of the link, the negotiation process of the elastic expansion attribute may be as shown in fig. 16: fig. 16 is a flowchart of signaling link establishment during DRA network element startup and first power-on according to the embodiment of the present invention, where the DRA network element is started up, SCTP bearer establishment is performed first during power-on, and then CER/CEA capability negotiation is performed. The capability negotiation includes negotiation of elastic stretch attributes (elastic stretch type and elastic stretch priority) to facilitate subsequent elastic shrinkage.
The process comprises the following steps:
step S1602: the DRA network element is first started, and the operator determines the total number of signaling links according to (but not limited to) the following factors:
maximum traffic of DRA during traffic peaks (e.g., spring, christmas, mid-autumn) in the last year;
if the DRA is a biplane networking, disaster tolerance needs to be considered, and temporary signaling caused by shutdown of a partner DRA is doubled;
the growth rate of recent or medium 4G services and other related services, such as 50% annual growth;
the necessary margin.
Determination of link priority: for signaling links (for example, both SCTP and TCP) of the same bearer, randomly allocating a different priority; if the bearers are different and the SCTP or TCP needs to be selected preferentially, each link is assigned with a priority according to the bearer classification, and the priorities of all SCTP links are higher than that of TCP, or vice versa.
Determining the corresponding relation between the link and the virtual machine: referring to fig. 15, consistency needs to be satisfied.
Step S1604: for the first establishment of the link, the DRA selects the signaling link with the link type SCALE _ FIX and the link type SCALE _ ENABLE with the highest priority for partial elastic expansion according to the configuration (such as the number of activated links) for establishing the link.
For a link, SCTP bearer establishment is carried out first, and then CER/CEA capability negotiation is carried out. The capability negotiation includes the elastic scaling attribute (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 returns the CEA, and records the negotiation result including the elastic scaling attribute (for example, Scale _ Type is ' Scale _ FIX ', or Scale _ Type is ' Scale _ ENABLE and the elastic scaling priority is 0) after receiving the DRA.
If the CEA does not return the negotiation result of the elastic expansion and contraction attribute, the signaling link can not be elastically contracted (Scale In).
The Scale In process of the signaling link can be seen In fig. 17, and fig. 17 is a flowchart of the Scale In process of the signaling link according to the embodiment of the present invention, and when the total link load of a certain Peer decreases and a part or all of the signaling links need to be closed, the signaling link with the lowest priority is selected to initiate a link disconnection according to the flexible expansion priority of the signaling link, that is, a DPR message is sent. And representing the broken link reason by the enumeration value of 'Disconnect-Cause AVP' IN the message being 'SCALE _ IN 3'. For the link closing caused by elastic shrinkage, the network elements of both parties can not generate serious alarm and can not immediately rebuild the link.
The process comprises the following steps:
step 1702: when the total link load of a certain Peer is reduced and partial or all signaling links need to be closed, the DRA selects the middle of several links with successful elastic negotiation and lowest elastic expansion priority to determine an activated link by combining a VM virtual machine when the Scale In of the signaling link is determined to be performed on the certain Peer through a local virtualization algorithm. And sending the DPR to the opposite terminal to disconnect the link, wherein the carried reason is 'SCALE _ IN', the node does not perform serious alarm and does not immediately perform link reconstruction.
Links of type 'SCALE _ FIX' must not be released elastically.
Step S1704: the PEER receives the message and returns to the DPA. No serious alarm is made.
The Scale Out flow of the signaling link is shown in fig. 18, fig. 18 is a flow chart of the Scale Out of the signaling link according to the embodiment of the present invention, and when the total link load of the Peer increases and the signaling link needs to be increased, the link with the highest priority is selected to initiate the reestablishment of the signaling link according to the elastic expansion priority of the signaling link: SCTP load building is carried out first, and then CER/CEA capability negotiation is carried out. The capability negotiation includes negotiation of elastic stretch attributes (elastic stretch type and elastic stretch priority) to facilitate subsequent elastic shrinkage.
The process comprises the following steps:
step S1802: when the total link load of a certain Peer rises and a signaling link needs to be added, the DRA selects an inactive link with the highest elastic expansion priority to establish SCTP load when deciding to perform signaling link Scale Out on the certain Peer through a local virtualization algorithm, and then performs CER/CEA capability negotiation. Capability negotiation includes elastic scaling attribute (for example, Scale _ Type is' SCALE _ ENABLE; elastic priority is 3);
step S1804: after receiving the message, PEER returns CEA, including the negotiation result of the elastic expansion attribute, and DRA receives and records it. If the CEA does not return the negotiation result of the elastic expansion and contraction attribute, the signaling link can not be elastically contracted (Scale In).
Fig. 19 is a flowchart of Scale In of servers In a server group, and fig. 19 is a flowchart of Scale In of a server group according to an embodiment of the present invention, where when the total load of a certain server group decreases and a part of servers needs to be shut down, a server not configured with the flexible scaling type 'Scale _ FIX' is selected. DPR messages are sent on the respective links. And representing the broken link reason by the enumeration value of 'Disconnect-Cause AVP' IN the message being 'SCALE _ IN 3'. The network elements of both parties cannot generate serious alarms and cannot immediately reestablish links.
The process comprises the following steps:
determining the elastic expansion and contraction attribute of the server link in the server group: 2 (or more) servers are selected, 2 (or more) links with the elastic expansion type of 'SCALE _ FIX' are configured, and the servers of the type do not perform elastic expansion, but the links support elastic expansion.
For other servers, 0 link with the elastic scaling type 'SCALE _ FIX' is configured, and this type of server supports elastic scaling, and the link also supports elastic scaling.
Step S1902: when the total load of a certain server group is reduced and partial servers need to be closed, a server which is not configured with the flexible scaling type 'SCALE _ FIX' is selected. On the A link on the server, sending DPR to the opposite terminal to disconnect the link, carrying the reason of 'SCALE _ IN', the node does not perform serious alarm and does not immediately perform link reconstruction.
Step S1904: the PEER receives the message and returns to the DPA. No serious alarm is made.
Step S1906: on the B link on the server, sending DPR to the opposite terminal to disconnect the link, carrying the reason of 'SCALE _ IN', the node does not perform serious alarm and does not immediately perform link reconstruction.
The disconnection process of the a/B link may be performed in parallel.
Step S1908: the PEER receives the message and returns to the DPA. No serious alarm is made.
After all links on the server are elastically released, the server elastically contracts (Scale In).
Referring to fig. 20, fig. 20 is a flowchart of the Scale Out of the server group according to an embodiment of the present invention, and when the total load of a certain server group increases and a part of servers need to be activated, a server not configured with the flexible scaling type 'Scale _ FIX' is selected. And selecting to activate m links. SCTP load building is carried out first, and then CER/CEA capability negotiation is carried out. The capability negotiation includes negotiation of elastic stretch attributes (elastic stretch type and elastic stretch priority) to facilitate subsequent elastic shrinkage.
The process comprises the following steps:
step S2002: when the total load of a certain server group rises and partial servers need to be activated, a server which is not configured with the elastic scaling type 'SCALE _ FIX' is selected. 2 (or more, the same number of links as other services) links are selected to be activated. And carrying out SCTP bearer establishment on the A link on the server, and then carrying out CER/CEA capability negotiation. Capability negotiation includes elastic scaling attribute (for example, Scale _ Type is' SCALE _ ENABLE; elastic priority is 0);
step S2004: after receiving the message, PEER returns CEA, including the negotiation result of the elastic expansion attribute, and DRA receives and records it.
Step S2006: and on the B link, SCTP bearer establishment is carried out, and then CER/CEA capability negotiation is carried out. The capability negotiation contains elastic expansion and contraction attributes (for example, Scale _ Type is' SCALE _ ENABLE; elastic priority is 1);
the establishment process of the A/B link can be performed in parallel.
Step S2008: after receiving the message, PEER returns CEA, including the negotiation result of the elastic expansion attribute, and DRA receives and records it.
After the server Scale Out, the service can be assumed.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in a plurality of processors.
The embodiment of the invention also provides a storage medium. Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, when determining that the total load of the activated Diameter signaling links between the Diameter routing agent DRA device and the Diameter node is reduced to be less than a first threshold value, selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links as signaling links to be deactivated;
and S2, deactivating the signaling link to be deactivated between the DRA equipment and the Diameter node.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Alternatively, in this embodiment, the processor performs steps S1-S3 according to program code already stored in the storage medium.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The following beneficial effects can be achieved through the embodiment:
elastic scaling based on Diameter signaling links is supported. The Diameter signaling links are distributed according to the needs, the capacity of a single Diameter signaling link is fully utilized, and the resource overhead of the Diameter signaling link can be saved in most of time.
The Diameter signaling link is prevented from becoming a factor or even a short board influencing the elastic scaling function of the VM, so that the VM can be scaled In without influence.
The migration probability of the Diameter signaling link is reduced. After each Diameter node is reasonably arranged on each VM according to the elastic expansion priority of the signaling link, the probability of migration of the Diameter signaling link among the VMs in the network element can be remarkably reduced, and meaningless internal loss is avoided.
Elastic scaling based on server groups is supported. The DRA may be connected to some servers in a group, for example, to a group of PCRF, a group of OCS, a group of HLR, and any service may select any server in the group. When the traffic volume is low, it is sufficient that only 1 to 2 servers in these groups are needed to provide services, and the other servers can completely disconnect the link and go to sleep. The embodiment of the invention can be carried out only by the support of two Diameter nodes, thereby being easy to implement.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (19)

1. A method for adjusting a Diameter signaling link, wherein a Diameter node comprises a plurality of Diameter adjacent nodes, the method comprising:
when determining that the total load of activated Diameter signaling links between Diameter routing agent DRA equipment and Diameter nodes is reduced to be smaller than a first threshold value, selecting a first preset number of Diameter adjacent nodes from a plurality of Diameter adjacent nodes, and selecting a preset number of Diameter signaling links from the activated Diameter signaling links between the DRA equipment and the first preset number of Diameter adjacent nodes as signaling links to be deactivated;
deactivating the signaling link to be deactivated between the DRA equipment and the Diameter node.
2. The method of claim 1, wherein after deactivating the signaling link to be deactivated between the DRA device and the Diameter node, the method further comprises: causing the first predetermined number of Diameter neighbor nodes to switch from an active state to an inactive state.
3. The method of claim 2, wherein selecting activated Diameter signaling links between the DRA device and a first predetermined number of the plurality of Diameter neighbor nodes comprises:
determining whether a second predetermined number of the Diameter neighbor nodes of the plurality of Diameter neighbor nodes have the capability of carrying the total load;
if the second predetermined number of Diameter adjacent nodes have the capacity of bearing the total load, taking the Diameter adjacent nodes except the second predetermined number of Diameter adjacent nodes in the plurality of Diameter adjacent nodes as the first predetermined number of Diameter adjacent nodes, and selecting activated Diameter signaling links between the DRA device and the first predetermined number of Diameter adjacent nodes.
4. The method of any of claims 1-3, wherein selecting a predetermined number of Diameter signaling links from the activated Diameter signaling links comprises: one or more Diameter signaling links are selected from the activated Diameter signaling links in descending order of priority.
5. The method of claim 1, further comprising:
when the total load of the activated Diameter signaling links between the DRA equipment and the Diameter node is increased to be larger than a second threshold value, selecting a preset number of Diameter signaling links from the Diameter signaling links which are configured but not activated between the DRA equipment and the Diameter node as signaling links to be activated;
and activating the signaling link to be activated between the DRA equipment and the Diameter node, wherein the signaling link to be activated is used for carrying a load with a preset proportion in the total load after being activated.
6. The method of claim 5 wherein a third predetermined number of the plurality of Diameter neighbor nodes are in an active state, the activated Diameter signaling links exist between the DRA device and the third predetermined number of Diameter neighbor nodes, a fourth predetermined number of the plurality of Diameter neighbor nodes are in an inactive state, and the configured, but not yet activated, Diameter signaling links exist between the DRA device and the fourth predetermined number of Diameter neighbor nodes;
wherein selecting a predetermined number of Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the Diameter node comprises: causing a fifth predetermined number of the fourth predetermined number of Diameter neighbor nodes to switch from the inactive state to an active state, and selecting one or more Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the fifth predetermined number of Diameter neighbor nodes as the signaling links to be activated.
7. The method of claim 6, wherein selecting one or more Diameter signaling links from Diameter signaling links configured, but not yet activated, between the DRA device and the fifth predetermined number of Diameter neighbor nodes comprises: selecting one or more Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the fifth predetermined number of Diameter adjacent nodes in order of priority from high to low.
8. The method of any of claims 1-3 and 5-6, wherein prior to determining that the total load of the activated Diameter signaling links between the Diameter routing agent DRA device and the Diameter node has decreased to less than the first threshold, further comprising:
prioritizing configured Diameter signaling links between the DRA device and the Diameter node, wherein the configured Diameter signaling links include the activated Diameter signaling link.
9. The method of any of claims 1-3, 5-6, wherein a first predetermined number of the deactivated predetermined number of Diameter signaling links is configured between a first virtual machine in the DRA device and the Diameter node, and wherein an activated second predetermined number of Diameter signaling links is further configured between the first virtual machine and the Diameter node, wherein,
deactivating the signaling link to be deactivated between the DRA device and the Diameter node comprises: closing the first virtual machine and migrating the second predetermined number of Diameter signaling links between a 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. An apparatus for regulating Diameter signaling links, wherein a Diameter node comprises a plurality of Diameter adjacent nodes, the apparatus comprising:
the first selection module comprises a first selection unit, and is used for selecting a first preset number of Diameter adjacent nodes in a plurality of Diameter adjacent nodes when the total load of activated Diameter signaling links between a Diameter routing agent DRA device and the Diameter nodes is determined to be smaller than a first threshold value, and selecting the preset number of Diameter signaling links from the activated Diameter signaling links between the DRA device and the first preset number of Diameter adjacent nodes as signaling links to be deactivated;
a deactivation module, configured to deactivate the signaling link to be deactivated between the DRA device and the Diameter node.
11. The apparatus of claim 10,
wherein the apparatus further comprises a switching module to switch the first predetermined number of Diameter neighbor nodes from an active state to an inactive state.
12. The apparatus of claim 11, wherein the first selecting unit comprises:
a determining subunit, configured to determine whether a second predetermined number of Diameter adjacent nodes in the plurality of Diameter adjacent nodes have a capability of bearing the total load;
a selecting subunit, configured to, when the second predetermined number of Diameter adjacent nodes have a capability of carrying the total load, take Diameter adjacent nodes, except the second predetermined number of Diameter adjacent nodes, of the plurality of Diameter adjacent nodes as the first predetermined number of Diameter adjacent nodes, and select an activated Diameter signaling link between the DRA device and the first predetermined number of Diameter adjacent nodes.
13. The apparatus of any one of claims 10 to 12, wherein the first selection module comprises: a second selecting unit, configured to select one or more Diameter signaling links from the activated Diameter signaling links in order of priority from low to high.
14. The apparatus of claim 10, further comprising:
a second selecting module, configured to select, as signaling links to be activated, a predetermined number of Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the Diameter node when a total load of activated Diameter signaling links between the DRA device and the Diameter node increases to be greater than a second threshold;
and the activation module is used for activating a signaling link to be activated between the DRA equipment and the Diameter node, wherein the signaling link to be activated is used for bearing a load of a predetermined proportion in the total load after being activated.
15. The apparatus of claim 14 wherein a third predetermined number of the plurality of Diameter neighbor nodes are in an active state, the activated Diameter signaling links exist between the DRA device and the third predetermined number of Diameter neighbor nodes, a fourth predetermined number of the plurality of Diameter neighbor nodes are in an inactive state, and the configured, but not yet activated, Diameter signaling links exist between the DRA device and the fourth predetermined number of Diameter neighbor nodes;
wherein the second selection module comprises: a third selecting unit, configured to cause a fifth predetermined number of Diameter adjacent nodes of the fourth predetermined number of Diameter adjacent nodes to switch from the inactive state to an active state, and select one or more Diameter signaling links as the signaling link to be activated from Diameter signaling links configured but not yet activated between the DRA device and the fifth predetermined number of Diameter adjacent nodes.
16. The apparatus of claim 15, wherein the third selecting unit comprises: selecting one or more Diameter signaling links from Diameter signaling links configured but not yet activated between the DRA device and the fifth predetermined number of Diameter adjacent nodes in order of priority from high to low.
17. The apparatus of any one of claims 10 to 12, 14 to 15, further comprising:
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. The apparatus of any of claims 10-12, 14-15 wherein a first predetermined number of the deactivated predetermined number of Diameter signaling links are configured between a first virtual machine in the DRA device and the Diameter node, and wherein an activated second predetermined number of Diameter signaling links are also configured between the first virtual machine and the Diameter node, wherein,
the deactivation module includes: a processing unit, configured to close the first virtual machine, and migrate the second predetermined number of Diameter signaling links to a location between 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.
19. A Diameter routing agent DRA comprising the apparatus of any of claims 10 to 18.
CN201510398369.7A 2015-07-08 2015-07-08 Method and device for adjusting Diameter signaling link and DRA Active CN106341334B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510398369.7A CN106341334B (en) 2015-07-08 2015-07-08 Method and device for adjusting Diameter signaling link and DRA
PCT/CN2016/081610 WO2017005050A1 (en) 2015-07-08 2016-05-10 Method and apparatus for adjusting diameter signaling link, and dra

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN106341334A CN106341334A (en) 2017-01-18
CN106341334B true CN106341334B (en) 2021-03-30

Family

ID=57684650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510398369.7A Active CN106341334B (en) 2015-07-08 2015-07-08 Method and device 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
CN101060475A (en) * 2006-05-23 2007-10-24 华为技术有限公司 A method and system for regulating the link loads of media gateway control interface
CN101621476A (en) * 2009-08-17 2010-01-06 中兴通讯股份有限公司 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
CN111903162A (en) * 2018-04-04 2020-11-06 鸿颖创新有限公司 Channel state information reporting method and related device for partial bandwidth switching operation

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150512B (en) * 2007-10-23 2011-05-25 中兴通讯股份有限公司 Method for load balance of communication link
CN102123447B (en) * 2010-01-08 2015-12-16 中兴通讯股份有限公司 A kind of discontinuous reception method and system
CN102143062A (en) * 2010-12-28 2011-08-03 华为技术有限公司 Policy and charging rule function addressing method, device and system
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
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101060475A (en) * 2006-05-23 2007-10-24 华为技术有限公司 A method and system for regulating the link loads of media gateway control interface
CN101621476A (en) * 2009-08-17 2010-01-06 中兴通讯股份有限公司 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
CN111903162A (en) * 2018-04-04 2020-11-06 鸿颖创新有限公司 Channel state information reporting method and related device for partial bandwidth switching operation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
P. Reviriego,B. Huiszoon,V. L'opez.Improving Energy Efficiency in IEEE 802.3ba High-Rate Ethernet Optical Links.《IEEE》.2010, *

Also Published As

Publication number Publication date
WO2017005050A1 (en) 2017-01-12
CN106341334A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
US20200015131A1 (en) Communication method and communications device
US8989000B2 (en) Cloud-based telecommunications infrastructure
JP2019513259A (en) Method and apparatus for expanding high availability server cluster
EP2693704A2 (en) Method, correlative device and system for virtual network migration
CN111880936B (en) Resource scheduling method, device, container cluster, computer equipment and storage medium
US20190230060A1 (en) Service transmission method, device, and system
CN108616942A (en) Method, access network equipment and the terminal of communication
JP5859634B2 (en) Mobile communication system, communication system, call processing node, and communication control method
US10146294B2 (en) Method and network units for handling states
CN112492574A (en) Load migration method, device and system
WO2023124309A1 (en) Cloud native upf signaling plane load balancing selection method and system
US10216593B2 (en) Distributed processing system for use in application migration
CN112753250A (en) Network slice registration management
CN110515728B (en) Server scheduling method and device, electronic equipment and machine-readable storage medium
CN109561450B (en) Interaction method and device for load information
CN112000435A (en) Multi-activity load balancing method and system based on Openstack
CN102724104A (en) Apparatus and method for automatically configuring Java EE application cluster
CN111064666B (en) Networking method and device
CN110798412A (en) Multicast service processing method, device, cloud platform, equipment and readable storage medium
CN106911741B (en) Method for balancing virtual network management file downloading load and network management server
EP3056988A1 (en) Method, apparatus and system for home management device virtualization
CN106341334B (en) Method and device for adjusting Diameter signaling link and DRA
CN106169982B (en) Method, device and system for processing expansion port
CN106534758B (en) Conference backup method and device
JP5829230B2 (en) Management system and management method

Legal Events

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