WO2020083051A1 - Network element load balancing method and network device - Google Patents

Network element load balancing method and network device Download PDF

Info

Publication number
WO2020083051A1
WO2020083051A1 PCT/CN2019/110760 CN2019110760W WO2020083051A1 WO 2020083051 A1 WO2020083051 A1 WO 2020083051A1 CN 2019110760 W CN2019110760 W CN 2019110760W WO 2020083051 A1 WO2020083051 A1 WO 2020083051A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
network
pool
notification message
virtualized
Prior art date
Application number
PCT/CN2019/110760
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 WO2020083051A1 publication Critical patent/WO2020083051A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • H04L41/0897Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Definitions

  • the present disclosure relates to the field of communication technology, and in particular, to a network element load balancing method and network equipment.
  • control plane network elements In the operator's network, the control plane network elements often provide services by using several pools of the same type of network element.
  • the network elements in the pool are load-sharing. When one or more network elements in the pool are returned due to failure In other situations, other networks in the pool can bear the original traffic carried by these network elements, which can solve the problem of unbalanced traffic carried by each network element without pools.
  • the Radio Network Controller selects the MSC / SGSN / MME serving it in the pool.
  • the radio access network (Radio Access Network, RAN) node when a terminal enters the coverage area of a certain MSC pool, the radio access network (Radio Access Network, RAN) node will randomly allocate the terminal location update request to the pool in accordance with the principle of load balancing For a certain MSC, this MSC completes the location update process and subsequent traffic services.
  • the load balancing mechanism adopted is achieved through manual configuration.
  • the load balancing strategy is mainly related to the processing capacity (that is, the nominal capacity) of each MSC in the pool, and is manually configured in the RNC
  • the data pre-sets the capacity factor of each MSC in the pool. For example, the capacity of three MSCs is 400,000 users, 500,000 users, and 600,000 users.
  • the capacity factor is 4: 5: 6.
  • the RNC selects the capacity of each MSC in the pool. The probability is calculated based on this capacity factor.
  • 5G fifth generation
  • AN access network
  • AMF Core Access and Mobility Management Function
  • the selection is based on the weighting factor of the AMF.
  • the weighting factor of the AMF is related to the capacity of each AMF in the pool.
  • the method of load balancing in the pool of the AMF can refer to the method of load balancing in the pool of the MSC above, so it will not be repeated here.
  • CSCF Call Session Control Function
  • SBC Session Border Controller
  • DNS Domain Name System
  • SBC selects the IP address with the highest priority and forwards the message to the CSCF for processing.
  • the IP address list returned by DNS is generated by the static weight data configured in the DNS by the element management system (Element) Management / Operation & Maintenance Center (Operation & Maintenance Center, OMC).
  • EMS / OMC configures the weight ratio of network elements in the DNS according to the capacity of the network elements in the pool.
  • the SBC may be cached locally for a period of time (such as minutes). After the cache period expires, query DNS to obtain the latest IP address list.
  • the above mechanism can make the load of network elements in the pool tend to balance as soon as possible after the network has been running for a period of time.
  • the NE is virtualized, in the case of a pool of virtualized NEs (or a pool of virtualized NEs and physical NEs), because the virtualized NEs support elastic scaling, once the virtualized NEs elastically scale There is no corresponding mechanism for timely notification of the need for data adaptation, and the pool still maintains the initial static data.
  • the virtualized network element supports elastic scaling, after the network has been running for a period of time, the capacity of the virtualized network element after elastic scaling still cannot handle the matching business volume, resulting in the network element in the pool unable to reach the load Balanced state.
  • the present disclosure provides a network element load balancing method and network equipment, which solves the problem that the network element load in the network element pool cannot be automatically balanced.
  • An embodiment of the present disclosure provides a network element load balancing method, which is applied to a first network element, and the method includes:
  • VNF Virtualized Network Function
  • the weighting factors of the network elements in the network element pool are determined.
  • the method further includes:
  • the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool.
  • the message includes the identifier of the network element pool;
  • the method further includes:
  • the capacity change information includes: changed capacity information
  • the step of determining the weighting factors of the network elements in the network element pool according to the notification message includes:
  • An embodiment of the present disclosure also provides a method for load balancing a network element, which is applied to a virtualized network function VNF.
  • the method includes:
  • the notification message is used to indicate the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool; wherein, the network element pool includes at least two virtualized network elements, or, The network element pool includes at least one virtualized network element and at least one physical network element.
  • the method further includes:
  • the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool;
  • a subscription response message is sent to the first network element, and the message includes the identifier of the network element pool.
  • the method further includes:
  • a notification message is generated.
  • the steps for expanding the capacity based on the operation data of the virtualized network element include:
  • the capacity expansion is performed according to the preset elasticity policy.
  • the notification message after generating the notification message according to the expanded capacity information, it also includes:
  • the step of sending a notification message to the first network element is performed.
  • An embodiment of the present disclosure also provides a network device, where the network device is the first network element and includes: a processor; a memory and a transceiver connected to the processor; wherein,
  • the transceiver is used to: receive a notification message sent by a virtualized network function VNF, wherein the notification message is used to indicate the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool; wherein, the network element pool includes at least two A virtualized network element, or the network element pool includes at least one virtualized network element and at least one physical network element;
  • the processor is used to: according to the notification message, determine the weighting factors of the network elements in the network element pool.
  • the transceiver is also used for:
  • the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool.
  • the message includes the identifier of the network element pool;
  • the processor is also used for:
  • the capacity change information includes: changed capacity information
  • the processor is also used to:
  • An embodiment of the present disclosure also provides a network device, where the network device is the first network element, and the network device includes:
  • the first receiving module is configured to receive a notification message sent by a virtualized network function VNF, wherein the notification message is used to indicate capacity change information of a network element in a network element pool, and the message includes an identifier of the network element pool; wherein, the network element pool includes at least Two virtualized network elements, or the network element pool includes at least one virtualized network element and at least one physical network element;
  • the first processing module is used to determine the weighting factor of the network elements in the network element pool according to the notification message.
  • An embodiment of the present disclosure also provides a network device, which is a virtualized network function VNF, including: a processor; a memory and a transceiver connected to the processor; wherein,
  • the transceiver is used to: send a notification message to the first network element, where the notification message is used to indicate the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool;
  • the network element, or the network element pool includes at least one virtualized network element and at least one physical network element.
  • the transceiver is also used for:
  • the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool;
  • a subscription response message is sent to the first network element, and the message includes the identifier of the network element pool.
  • the processor is also used for:
  • a notification message is generated.
  • the processor is also used for:
  • the capacity expansion is performed according to the preset elasticity policy.
  • the processor is also used for:
  • the step of sending a notification message to the first network element is performed.
  • An embodiment of the present disclosure also provides a network device.
  • the network device is a virtualized network function VNF, including:
  • the second sending module is used to send a notification message to the first network element, where the notification message is used to indicate the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool; wherein, the network element pool includes at least two The virtualized network element, or the network element pool includes at least one virtualized network element and at least one physical network element.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the foregoing network element load balancing method are implemented.
  • the first network element determines the weighting factor of the network element in the network element pool according to the capacity change information indicated by the notification message, so that when the network element pool After the capacity of the element is updated, the first network element can determine the latest weighting factor of each network element in the network element pool, and allocate network elements to the user to process the request for processing, so that the network elements in the network element pool achieve load balancing.
  • FIG. 1 is a schematic flowchart of a network element load balancing method on a first network element side according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a network element load balancing method on a VNF side according to an embodiment of the present disclosure
  • 3a and 3b show schematic diagrams of interaction between network element entities according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a module of a network device on a first network element side according to an embodiment of the present disclosure
  • FIG. 5 shows a schematic structural diagram of a module of a network device on a VNF side of an embodiment of the present disclosure
  • FIG. 6 shows a structural block diagram of a network device according to an embodiment of the present disclosure.
  • system and “network” are often used interchangeably herein.
  • B corresponding to A means that B is associated with A, and B can be determined according to A.
  • determining B based on A does not mean determining B based on A alone, and B may also be determined based on A and / or other information.
  • an embodiment of the present disclosure provides a network element load balancing method, which is applied to a first network element.
  • the first network element is an extranet element that supports group pool network elements, which may include but is not limited to wireless
  • the network control RNC / Domain Name System DNS or access network AN includes the following steps:
  • Step 11 Receive a notification message sent by the virtualized network function VNF, where the notification message is used to indicate the capacity change information of the network element in the network element pool.
  • the notification message may be sent to the extranet element after the VNF periodically or after the network element capacity in the network element pool changes.
  • the extranet element is a third-party network element that stores weight information, such as RNC / VNF or AN.
  • the network element pool includes at least two virtualized network elements, or the network element pool includes at least one virtualized network element and at least one physical network element.
  • the VNF will send an indication network to the first network element Notification message for meta-capacity changes.
  • the network element pool EMS / OMC can instruct the virtualized network function manager (Virtualized Network Function Manager, VNFM) to perform the expansion operation of the virtualized network element.
  • VNFM Virtualized Network Function Manager
  • Step 12 Determine the weighting factors of the network elements in the network element pool according to the notification message.
  • the first network element After receiving the notification message, the first network element updates the weight configuration of each network element according to the latest capacity of each network element in the network element pool indicated by the notification message.
  • the capacity change information includes: changed capacity information;
  • Step 12 includes: calculating weighting factors of different network elements in the network element pool according to the changed capacity information indicated by the notification message.
  • the latest capacity may refer to the expanded capacity of the virtualized network element.
  • the first network element actively obtains available capacity information of each network element in the current network element pool, and determines a new weighting factor according to the available capacity information.
  • step 11 it may further include: feeding back a notification response message to the VNF to notify the first network element (such as RNC / VNF or AN) of successfully receiving the capacity change information of the network element.
  • the timing of this step and step 12 is not required, and it can occur before step 12 or after step 12.
  • the physical network element may be: a mobile switching center MSC, a mobile management entity MME or a call session control function CSCF entity, etc.
  • the virtualized network element may be: a virtualized MSC or a virtualized CSCF.
  • the radio access network (Radio Access Network, RAN) node will randomly allocate the terminal location update request to one of the pools according to the principle of load balancing MSC, this MSC completes the location update process and assigns a temporary network identification code (Temporary Mobile Subscriber Identity, TMSI) to the terminal.
  • TMSI Temporal Mobile Subscriber Identity
  • This TMSI carries a network resource identification (Network Resource Identity, NRI) field to identify the terminal service MSC number.
  • NRI Network Resource Identity
  • the extranet element when the extranet element continues to pay attention to the capacity information of the network element in the network element pool, the extranet element can subscribe to the capacity information of the network element, so that the VNF can periodically or when the capacity of the network element in the network element pool changes, outward
  • the networking element sends the capacity change information of the network element.
  • it further includes: sending a subscription request message to the VNF.
  • the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool; receiving a subscription response message fed back by the VNF according to the subscription request message to determine the successful subscription .
  • the extranet elements outside the pool can subscribe to changes in the capacity of the network elements inside the pool through a subscription mechanism.
  • the method further includes: acquiring initial weighting factors and capacity information of the network elements in the network element pool.
  • the first network element RNC / VNF or AN
  • the first network element can obtain the initial weight factor of the pool and the capacity information of each network element in the pool through local configuration.
  • an embodiment of the present disclosure provides a network element load balancing method, which is applied to a virtualized network function VNF and includes the following steps:
  • Step 21 Send a notification message to the first network element, where the notification message is used to indicate the capacity change information of the network element in the network element pool.
  • the network element pool includes at least two virtualized network elements, or the network element pool includes at least one virtualized network element and at least one physical network element.
  • the VNF will send a message indicating the capacity change of the network element to the first network element (such as RNC / VNF or AN) Notification message.
  • the network element pool EMS / OMC can instruct VNFM to perform the expansion operation of the virtualized network element.
  • the extranet element when the extranet element continues to pay attention to the capacity information of the network element in the network element pool, the extranet element can subscribe to the capacity information of the network element, so that the VNF can periodically or when the capacity of the network element in the network element pool changes, outward
  • the networking element sends the capacity change information of the network element.
  • the method further includes: receiving a subscription request message sent by the first network element (such as RNC / DNS or AN).
  • the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool;
  • the first network element (RNC / DNS or AN) sends a subscription response message to notify the first network element (RNC / DNS or AN) that the subscription is successful.
  • the extranet elements outside the pool can subscribe to changes in the capacity of the network elements inside the pool through a subscription mechanism.
  • the method further includes: performing expansion according to the operation data of the virtualized network element; and generating a notification message according to the expanded capacity information.
  • the step of performing capacity expansion according to the operation data of the virtualized network element includes: obtaining the CPU utilization rate of the virtualized network element in the network element pool; if the CPU utilization rate of the virtualized network element exceeds a preset threshold, the Set up an elastic strategy for expansion. For example: when a large number of users try to access the NE in the NE pool (such as burst assembly in the network service area), the CPU usage of the virtualized NE in the pool reaches the threshold, due to the support of the virtualized NE in the NE pool Flexible expansion of capacity.
  • the EMS / OMC in the network element pool can instruct VNFM to perform the expansion operation of the virtualized network element. After completing the expansion operation according to the instructions, VNFM notifies the VNF that the expansion is successful.
  • the step of generating the notification message after the step of generating the notification message, it also includes: querying the subscription list; if the subscription list includes the first network element (RNC / DNS or AN), then execute the first network element (RNC / DNS or AN) The step of sending a notification message, step 21.
  • the VNF whose capacity has changed checks the subscription list. If RNC / DNS or AN is found in the subscription list, that is, the capacity change information has been subscribed, the VNF can carry the capacity change information through the notification message to notify the RNC / outside the previously subscribed pool DNS or AN.
  • the system includes: VNFM, RNC / DNS, VNF and VNFM entities.
  • VNFM virtualized MSC
  • RNC / DNS virtualized network control network
  • VNFM virtualized network management network
  • vMSC1 may be elastically scaled to ensure the capacity after elastic scaling Matching with the amount of traffic it handles, the state of network element load balancing in the network element pool can be achieved through the interaction process between network elements as shown in FIG. 3a.
  • Step 31 The RNC / DNS sends a subscription request message to the VNF (such as a virtualized MSC or MME, etc.), and the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool.
  • VNF such as a virtualized MSC or MME, etc.
  • Step 32 The VNF feeds back the subscription response message to the RNC / DNS to notify the RNC / DNS that the subscription is successful.
  • Step 33 The EMS / OMC detects that the CPU usage of the virtualized network element (such as vMSC1) reaches the preset threshold, the EMS / OMC receives the real-time data of the network element operation, and according to the preset elasticity strategy, the EMS / OMC sends the expansion to the VNFM Request to instruct VNFM to initiate the expansion operation of the virtualized network element, and the capacity of the virtualized network element changes.
  • the virtualized network element such as vMSC1
  • Step 34 The VNFM sends capacity change information to the VNF to notify the capacity change.
  • the capacity change information may be the new capacity after the change.
  • Step 35 The VNF queries the subscription list.
  • Step 36 If the subscription list includes RNC / DNS, the VNF sends a notification message to the RNC / DNS.
  • the notification message is used to indicate the capacity change information of the network element in the network element pool.
  • Step 37 The RNC / DNS feeds back a notification response message to the VNF to notify the VNF that the capacity change information of the network element is successfully received.
  • the core network already has a service-based subscription notification message, and plans to extend the service-oriented message to the N2 interface where the wireless network element selects AMF. That is, a subscription notification message can be defined on the N2 interface to carry new capacity information after the capacity changes.
  • the load balancing method of the network element includes:
  • Step 310 (R) AN sends a subscription request message to VNF through the N2 interface of AMF.
  • the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool.
  • Step 320 The VNF feeds a subscription response message to the (R) AN through the N2 interface of the AMF to notify the RNC / DNS that the subscription is successful.
  • Step 330 The EMS / OMC detects that the CPU usage of the virtualized network element (such as vMSC1) reaches a preset threshold, the EMS / OMC receives the real-time data of the network element operation, and according to the preset elasticity policy, the EMS / OMC sends the expansion to the VNFM Request to instruct VNFM to initiate the capacity expansion operation of vMSC1, and the capacity of vMSC1 changes.
  • the virtualized network element such as vMSC1
  • Step 340 The VNFM sends capacity change information to the VNF to notify the capacity change.
  • the capacity change information may be the new capacity after the change.
  • Step 350 The VNF queries the subscription list.
  • Step 360 If the subscription list includes (R) AN, the VNF sends a notification message to the (R) AN through the AMF N2 interface.
  • the notification message is used to indicate the capacity change information of the network element in the network element pool.
  • Step 370 The AN feeds back a notification response message to the VNF through the AMF's N2 interface to notify the VNF that it has successfully received the capacity change information of the network element.
  • the first network element may also be another extranet element that supports group pool network elements, and its subscription notification and processing mechanism may be See the above embodiment, so it will not be repeated here.
  • the first network element determines the weighting factor of the network element in the network element pool according to the capacity change information indicated by the notification message, so that when the network element pool After the capacity of the network element is updated, the first network element may determine the latest weighting factor of each network element in the network element pool, allocate network elements to the user to process the request for processing, so that the network elements in the network element pool achieve load balancing.
  • the network device in the embodiment of the present disclosure may be the first network element.
  • the network device 400 includes:
  • the first receiving module 410 is configured to receive a notification message sent by a virtualized network function VNF, where the notification message is used to indicate capacity change information of a network element in a network element pool; wherein the network element pool includes at least two virtualized network elements, Or, the network element pool includes at least one virtualized network element and at least one physical network element;
  • the first processing module 420 is configured to determine the weighting factor of the network element in the network element pool according to the notification message.
  • the network device 400 also includes:
  • the first sending module is used to send a subscription request message to the VNF, and the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool;
  • the second receiving module is configured to receive a subscription response message fed back by the VNF according to the subscription request message.
  • the network device 400 further includes:
  • the obtaining module is used to obtain the initial weighting factor and capacity information of the network elements in the network element pool.
  • the capacity change information includes: changed capacity information
  • the first processing module 420 includes:
  • the processing submodule is used to calculate the weighting factors of different network elements in the network element pool according to the changed capacity information indicated by the notification message.
  • the network device in the embodiment of the present disclosure may also be a virtualized network function VNF. As shown in FIG. 5, the network device 500 includes:
  • the second sending module 510 is configured to send a notification message to the first network element, where the notification message is used to indicate capacity change information of the network element in the network element pool; wherein the network element pool includes at least two virtualized network elements, or, The network element pool includes at least one virtualized network element and at least one physical network element.
  • the network device 500 also includes:
  • the third receiving module is used to receive the subscription request message sent by the first network element, and the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool;
  • the third sending module is configured to send a subscription response message to the first network element according to the subscription request message.
  • the network device 500 also includes:
  • the capacity expansion module is used to expand the capacity according to the operating data of the virtualized network element
  • the generation module is used for generating a notification message according to the expanded capacity information.
  • the expansion module includes:
  • the capacity expansion sub-module is used to expand capacity according to a preset elasticity policy if the CPU usage of the virtualized network element exceeds a preset threshold.
  • the network device 500 also includes:
  • the control module is configured to execute the step of sending a notification message to the first network element if the subscription list includes the first network element.
  • the embodiment of the network device of the present disclosure corresponds to the embodiment of the above method. All the implementation means in the above method embodiment are applicable to the embodiment of the network device, and the same technical effect can also be achieved.
  • the first network element After receiving the notification message sent by the VNF, the first network element determines the weighting factor of the network element in the network element pool according to the capacity change information indicated by the notification message, so that when the capacity of the network element in the network element pool is updated, the first network element The latest weighting factor of each network element in the network element pool can be determined, and the network element can be allocated for processing the user's processing request, so that the network elements in the network element pool can achieve load balancing.
  • an embodiment of the present disclosure further provides a network device
  • the network device includes: a processor 600; a memory 620 connected to the processor 600 through a bus interface, And a transceiver 610 connected to the processor 600 through a bus interface; the memory 620 is used to store programs and data used by the processor when performing operations; and send data information or pilots through the transceiver 610, It also receives the uplink control channel through the transceiver 610; when the processor 600 calls and executes the programs and data stored in the memory 620, the following functions are realized:
  • the processor 600 is used to read the program in the memory 620 and execute the corresponding process.
  • the transceiver 610 is used to receive and send data under the control of the processor 600.
  • the transceiver 610 is used to: receive a notification message sent by the virtualized network function VNF, where the notification message is used to indicate the capacity change information of the network element in the network element pool; wherein, the network element pool At least two virtualized network elements are included, or the network element pool includes at least one virtualized network element and at least one physical network element;
  • the processor 600 is configured to: according to the notification message, determine the weighting factor of the network elements in the network element pool.
  • the transceiver 610 is also used for:
  • the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool;
  • the processor 600 is also used for:
  • the capacity change information includes: changed capacity information
  • the processor 600 is also used to:
  • the transceiver 610 is used to: send a notification message to the first network element, where the notification message is used to indicate the capacity change information of the network element in the network element pool; where the network element pool includes At least two virtualized network elements, or the network element pool includes at least one virtualized network element and at least one physical network element.
  • the transceiver 610 is also used for:
  • the subscription request message send a subscription response message to the first network element.
  • the processor 600 is also used for:
  • a notification message is generated.
  • the processor 600 is also used for:
  • the capacity expansion is performed according to the preset elasticity policy.
  • the processor 600 is also used for:
  • the step of sending a notification message to the first network element is performed.
  • the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 600 and various circuits of the memory represented by the memory 620 are linked together.
  • the bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, etc., which are well known in the art, and therefore, they will not be further described in this article.
  • the bus interface provides an interface.
  • the transceiver 610 may be a plurality of elements, including a transmitter and a transceiver, and provides a unit for communicating with various other devices on a transmission medium.
  • the processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 when performing operations.
  • Embodiments of the present disclosure also provide a computer-readable storage medium that stores a computer program on the computer-readable storage medium.
  • the computer program is executed by a processor, the processes of the foregoing network element load balancing method embodiments are implemented, and the same In order to avoid repetition, we will not repeat them here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
  • each component or each step can be decomposed and / or recombined.
  • decompositions and / or recombinations should be regarded as equivalent solutions of the present disclosure.
  • steps for performing the above-mentioned series of processing may naturally be executed in chronological order in the order described, but it does not necessarily need to be executed in chronological order, and some steps may be executed in parallel or independently of each other.
  • the object of the present disclosure can also be achieved by running a program or a group of programs on any computing device.
  • the computing device may be a well-known general-purpose device. Therefore, the object of the present disclosure can also be achieved only by providing a program product containing program code for implementing the method or device. That is, such a program product also constitutes the subject of this application, and a storage medium storing such a program product also constitutes the subject of this application. Obviously, the storage medium may be any known storage medium or any storage medium developed in the future. It should also be noted that, in the device and method of the present disclosure, obviously, each component or each step can be decomposed and / or recombined.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a division of logical functions.
  • there may be other divisions for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present disclosure essentially or part of the contribution to the related technology or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, including several
  • the instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the foregoing storage media include various media that can store program codes, such as a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
  • the storage medium may be a magnetic disk, an optical disk, ROM, RAM, or the like.
  • the embodiments described in the embodiments of the present disclosure may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable Logic Device (Programmable Logic Device, PLD), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, others for performing the functions described in this disclosure Electronic unit or its combination.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSP Device digital signal processing device
  • DPD digital signal processing device
  • PLD programmable Logic Device
  • Field Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • the technology described in the embodiments of the present disclosure may be implemented through modules (eg, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure.
  • the software codes can be stored in the memory and executed by the processor.
  • the memory may be implemented in the processor or external to the processor.

Abstract

Provided in the present disclosure are a network element load balancing method and a network device, the method comprising: receiving a notification message sent by a virtualisation network function VNF, the notification message being used for indicating capacity change information of a network element in a network element pool; the network element pool comprises at least two virtualisation network elements or the network element pool comprises at least one virtualisation network element and at least one physical network element; and, on the basis of the notification message, determining a weighting factor of the network element in the network element pool.

Description

网元负载均衡方法及网络设备Network element load balancing method and network equipment
相关申请的交叉引用Cross-reference of related applications
本申请主张在2018年10月22日在中国提交的中国专利申请号No.201811229086.X的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201811229086.X filed in China on October 22, 2018, the entire contents of which are hereby incorporated by reference.
技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种网元负载均衡方法及网络设备。The present disclosure relates to the field of communication technology, and in particular, to a network element load balancing method and network equipment.
背景技术Background technique
在运营商网络中,控制面网元常常采用若干同类网元组池(pool)的方式提供服务,pool内网元是负荷分担的关系,当出现pool内一个或多个网元因故障退服的情况时,pool内其他网络可以承担这些网元原来承担的业务量,这样可解决不组pool情况下各网元承担业务量不均衡的问题。In the operator's network, the control plane network elements often provide services by using several pools of the same type of network element. The network elements in the pool are load-sharing. When one or more network elements in the pool are returned due to failure In other situations, other networks in the pool can bear the original traffic carried by these network elements, which can solve the problem of unbalanced traffic carried by each network element without pools.
其中,核心网组pool情况下,在pool内进行负载均衡主要有以下两种情况:Among them, in the case of the core network group pool, there are the following two situations for load balancing in the pool:
一、通过本地配置pool内权重因子进行选择。以2/3/4G的无线接入网元选择核心网网元为例,在移动交换中心(Mobile Switching Centre,MSC)/服务通用分组无线服务(General Packet Radio Service,GPRS)支持节点(Serving GPRS Support Node,SGSN)/移动管理实体(Mobile Management Entity,MME)组pool的情况下,由无线网络控制(Radio Network Controller,RNC)选择pool内为其服务的MSC/SGSN/MME。以MSC组pool为例,当终端进入到某个MSC的pool的覆盖区域时,无线接入网络(Radio Access Network,RAN)节点会按照负载均衡的原则将终端位置更新请求随机分配给pool中的某一个MSC,由这个MSC完成位置更新过程以及后续的话务服务。其中RNC第一次选择pool内的MSC时,采用的负载均衡机制是通过人工配置实现的,负载均衡策略主要跟pool内各MSC的处理能力(也就是标称容量)相关,通过在RNC人工配置数据预先设置pool内每个MSC的容量因子,例如3个MSC的容量分别为40万用户、50万用户、60万用户,则容量因子 为4:5:6,RNC选择pool内每个MSC的概率按此容量因子计算得出。相应地,在第五代(5th Generation,5G)移动通信系统中,接入网(Access Network,AN)选择接入移动管理功能(Core Access and Mobility Management Function,AMF)的pool内的AMF时,依据AMF的权重因子进行选择,AMF的权重因子与pool内各AMF的容量相关,AMF的pool内负荷均衡的方式可参照上述MSC的pool内负荷均衡的方式,故不再赘述。当pool运行一段时间后,由于种种原则,例如初期规划的不合理、新增MSC的加入等,都会造成pool内MSC之间的负荷不均衡。因此,需要制定规程来明确负荷状态的监控和调整机制。1. Choose by locally configuring the weighting factors in the pool. Taking the 2/3 / 4G wireless access network element selecting the core network element as an example, in the mobile switching center (Mobile Switching Centre, MSC) / service General Packet Radio Service (General Packet Radio Service (GPRS) support node (Serving GPRS In the case of Support Node, SGSN) / Mobile Management Entity (Mobile Management Entity, MME) group pool, the Radio Network Controller (RNC) selects the MSC / SGSN / MME serving it in the pool. Taking the MSC group pool as an example, when a terminal enters the coverage area of a certain MSC pool, the radio access network (Radio Access Network, RAN) node will randomly allocate the terminal location update request to the pool in accordance with the principle of load balancing For a certain MSC, this MSC completes the location update process and subsequent traffic services. When the RNC first selects the MSC in the pool, the load balancing mechanism adopted is achieved through manual configuration. The load balancing strategy is mainly related to the processing capacity (that is, the nominal capacity) of each MSC in the pool, and is manually configured in the RNC The data pre-sets the capacity factor of each MSC in the pool. For example, the capacity of three MSCs is 400,000 users, 500,000 users, and 600,000 users. The capacity factor is 4: 5: 6. The RNC selects the capacity of each MSC in the pool. The probability is calculated based on this capacity factor. Correspondingly, in the fifth generation (5th Generation, 5G) mobile communication system, when the access network (Access) (AN) chooses to access the AMF in the pool of the mobile management function (Core Access and Mobility Management Function, AMF), The selection is based on the weighting factor of the AMF. The weighting factor of the AMF is related to the capacity of each AMF in the pool. The method of load balancing in the pool of the AMF can refer to the method of load balancing in the pool of the MSC above, so it will not be repeated here. When the pool runs for a period of time, due to various principles, such as unreasonable initial planning and the addition of new MSCs, the load among the MSCs in the pool will be uneven. Therefore, it is necessary to formulate procedures to clarify the monitoring and adjustment mechanism of the load status.
二、借助第三者网元配置的信息进行负载均衡。以呼叫会话控制功能(Call Session Control Function,CSCF)组pool为例,在物理CSCF组成的pool中,所有CSCF共享一个域名,当会话边界控制(Session Border Controller,SBC)选取下一跳CSCF时,SBC用域名查询域名系统(Domain Name System,DNS),DNS返回一个CSCF的IP地址列表,SBC选取优先级最高的IP地址,再将消息转发给该CSCF进行处理。其中,DNS返回的IP地址列表是由网元管理系统(Element Management System,EMS)/操作维护中心(Operation&Maintenance Center,OMC)在DNS中配置的静态的权重数据生成的。当pool内网元部署完成之后,EMS/OMC根据pool内网元的容量在DNS内配置网元的权重比例。根据权重设置,SBC的每一次查询DNS都返回一个IP地址列表,其返回的地址列表顺序与DNS内部配置的权重保持一致。SBC获取到IP地址列表之后,可能会缓存在本地一段时间(如分钟级),等到缓存的周期过后再查询DNS以获取最新的IP地址列表。以上机制可以使得网络在运行一段时间之后,使得pool内网元的负载尽快趋于均衡。但是当网元虚拟化之后,在虚拟化网元组pool(或者虚拟化网元和物理网元混合组pool)的情况下,由于虚拟化网元支持弹性伸缩,一旦虚拟化网元发生弹性伸缩,并无相应的机制及时通知需要进行数据适配,pool仍然维持初期的静态数据。在这种情况下,即便虚拟化网元支持弹性伸缩,但网络在运行一段时间后,弹性伸缩后的虚拟化网元容量仍然无法处理与其匹配的业务量,导致pool内的网元无法达到负载均衡的状态。2. Load balancing with the help of the information of the third-party network element configuration. Taking the Call Session Control Function (CSCF) group pool as an example, in a pool composed of physical CSCFs, all CSCFs share a domain name. When the Session Border Controller (SBC) selects the next hop CSCF, SBC uses the domain name to query the Domain Name System (DNS). DNS returns a list of CSCF IP addresses. SBC selects the IP address with the highest priority and forwards the message to the CSCF for processing. Among them, the IP address list returned by DNS is generated by the static weight data configured in the DNS by the element management system (Element) Management / Operation & Maintenance Center (Operation & Maintenance Center, OMC). After the deployment of network elements in the pool is completed, EMS / OMC configures the weight ratio of network elements in the DNS according to the capacity of the network elements in the pool. According to the weight setting, each time SBC queries DNS, it returns an IP address list, and the order of the returned address list is consistent with the weight configured in DNS. After the SBC obtains the IP address list, it may be cached locally for a period of time (such as minutes). After the cache period expires, query DNS to obtain the latest IP address list. The above mechanism can make the load of network elements in the pool tend to balance as soon as possible after the network has been running for a period of time. However, after the NE is virtualized, in the case of a pool of virtualized NEs (or a pool of virtualized NEs and physical NEs), because the virtualized NEs support elastic scaling, once the virtualized NEs elastically scale There is no corresponding mechanism for timely notification of the need for data adaptation, and the pool still maintains the initial static data. In this case, even if the virtualized network element supports elastic scaling, after the network has been running for a period of time, the capacity of the virtualized network element after elastic scaling still cannot handle the matching business volume, resulting in the network element in the pool unable to reach the load Balanced state.
发明内容Summary of the invention
本公开提供一种网元负载均衡方法及网络设备,解决了网元池内网元负载不能自动均衡的问题。The present disclosure provides a network element load balancing method and network equipment, which solves the problem that the network element load in the network element pool cannot be automatically balanced.
本公开的实施例提供了一种网元负载均衡方法,应用于第一网元,该方法包括:An embodiment of the present disclosure provides a network element load balancing method, which is applied to a first network element, and the method includes:
接收虚拟化网络功能(Virtualized Network Function,VNF)发送的通知消息,其中,通知消息用于指示网元池内网元的容量变化信息,消息包含网元池的标识;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元;Receive a notification message sent by a virtualized network function (Virtualized Network Function, VNF), where the notification message is used to indicate the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool; wherein the network element pool includes at least Virtualized network elements, or the network element pool includes at least one virtualized network element and at least one physical network element;
根据通知消息,确定网元池内网元的权重因子。According to the notification message, the weighting factors of the network elements in the network element pool are determined.
其中,接收虚拟化网络功能VNF发送的通知消息的步骤之前,还包括:Before the step of receiving the notification message sent by the virtualized network function VNF, the method further includes:
向VNF发送订阅请求消息,订阅请求消息用于订阅网元池内网元的容量变化信息,消息包含网元池的标识;Send a subscription request message to the VNF. The subscription request message is used to subscribe to the capacity change information of the network element in the network element pool. The message includes the identifier of the network element pool;
接收VNF根据订阅请求消息反馈的订阅响应消息,消息包含网元池的标识。Receive the subscription response message fed back by the VNF according to the subscription request message, the message containing the identifier of the network element pool.
其中,接收虚拟化网络功能VNF发送的通知消息的步骤之前,还包括:Before the step of receiving the notification message sent by the virtualized network function VNF, the method further includes:
获取网元池内网元的初始权重因子和容量信息。Obtain the initial weight factor and capacity information of the network elements in the network element pool.
其中,容量变化信息包括:变化后的容量信息;Among them, the capacity change information includes: changed capacity information;
根据通知消息,确定网元池内网元的权重因子的步骤,包括:The step of determining the weighting factors of the network elements in the network element pool according to the notification message includes:
根据通知消息指示的变化后的容量信息,计算网元池内不同网元的权重因子。According to the changed capacity information indicated by the notification message, calculate the weighting factors of different network elements in the network element pool.
本公开的实施例还提供了一种网元负载均衡方法,应用于虚拟化网络功能VNF,该方法包括:An embodiment of the present disclosure also provides a method for load balancing a network element, which is applied to a virtualized network function VNF. The method includes:
向第一网元发送通知消息,其中,通知消息用于指示网元池内网元的容量变化信息,消息包含网元池的标识;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元。Send a notification message to the first network element, where the notification message is used to indicate the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool; wherein, the network element pool includes at least two virtualized network elements, or, The network element pool includes at least one virtualized network element and at least one physical network element.
其中,向第一网元发送通知消息的步骤之前,还包括:Before the step of sending the notification message to the first network element, the method further includes:
接收第一网元发送的订阅请求消息,订阅请求消息用于订阅网元池内网 元的容量变化信息,消息包含网元池的标识;Receiving a subscription request message sent by the first network element, the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool;
根据订阅请求消息,向第一网元发送订阅响应消息,消息包含网元池的标识。According to the subscription request message, a subscription response message is sent to the first network element, and the message includes the identifier of the network element pool.
其中,向第一网元发送通知消息的步骤之前,还包括:Before the step of sending the notification message to the first network element, the method further includes:
根据虚拟化网元的运行数据,进行扩容;Expand capacity according to the operating data of virtualized network elements;
根据扩容后的容量信息,生成通知消息。Based on the expanded capacity information, a notification message is generated.
其中,根据虚拟化网元的运行数据,进行扩容的步骤,包括:Among them, the steps for expanding the capacity based on the operation data of the virtualized network element include:
获取网元池中虚拟化网元的CPU占用率;Obtain the CPU usage of virtualized network elements in the network element pool;
若虚拟化网元的CPU占用率超过预设阈值,则根据预设的弹性策略,进行扩容。If the CPU usage of the virtualized network element exceeds the preset threshold, the capacity expansion is performed according to the preset elasticity policy.
其中,根据扩容后的容量信息,生成通知消息的步骤之后,还包括:Among them, after generating the notification message according to the expanded capacity information, it also includes:
查询订阅列表;Query subscription list;
若订阅列表中包括第一网元,则执行向第一网元发送通知消息的步骤。If the subscription list includes the first network element, the step of sending a notification message to the first network element is performed.
本公开的实施例还提供了一种网络设备,网络设备为第一网元,包括:处理器;与处理器相连接的存储器和收发机;其中,An embodiment of the present disclosure also provides a network device, where the network device is the first network element and includes: a processor; a memory and a transceiver connected to the processor; wherein,
收发机用于:接收虚拟化网络功能VNF发送的通知消息,其中,通知消息用于指示网元池内网元的容量变化信息,消息包含网元池的标识;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元;The transceiver is used to: receive a notification message sent by a virtualized network function VNF, wherein the notification message is used to indicate the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool; wherein, the network element pool includes at least two A virtualized network element, or the network element pool includes at least one virtualized network element and at least one physical network element;
处理器用于:根据通知消息,确定网元池内网元的权重因子。The processor is used to: according to the notification message, determine the weighting factors of the network elements in the network element pool.
其中,收发机还用于:Among them, the transceiver is also used for:
向VNF发送订阅请求消息,订阅请求消息用于订阅网元池内网元的容量变化信息,消息包含网元池的标识;Send a subscription request message to the VNF. The subscription request message is used to subscribe to the capacity change information of the network element in the network element pool. The message includes the identifier of the network element pool;
接收VNF根据订阅请求消息反馈的订阅响应消息,消息包含网元池的标识。Receive the subscription response message fed back by the VNF according to the subscription request message, the message containing the identifier of the network element pool.
其中,处理器还用于:Among them, the processor is also used for:
获取网元池内网元的初始权重因子和容量信息。Obtain the initial weight factor and capacity information of the network elements in the network element pool.
其中,容量变化信息包括:变化后的容量信息;Among them, the capacity change information includes: changed capacity information;
处理器还用于:The processor is also used to:
根据通知消息指示的变化后的容量信息,计算网元池内不同网元的权重因子。According to the changed capacity information indicated by the notification message, calculate the weighting factors of different network elements in the network element pool.
本公开的实施例还提供了一种网络设备,网络设备为第一网元,网络设备包括:An embodiment of the present disclosure also provides a network device, where the network device is the first network element, and the network device includes:
第一接收模块,用于接收虚拟化网络功能VNF发送的通知消息,其中,通知消息用于指示网元池内网元的容量变化信息,消息包含网元池的标识;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元;The first receiving module is configured to receive a notification message sent by a virtualized network function VNF, wherein the notification message is used to indicate capacity change information of a network element in a network element pool, and the message includes an identifier of the network element pool; wherein, the network element pool includes at least Two virtualized network elements, or the network element pool includes at least one virtualized network element and at least one physical network element;
第一处理模块,用于根据通知消息,确定网元池内网元的权重因子。The first processing module is used to determine the weighting factor of the network elements in the network element pool according to the notification message.
本公开的实施例还提供了一种网络设备,网络设备为虚拟化网络功能VNF,包括:处理器;与处理器相连接的存储器和收发机;其中,An embodiment of the present disclosure also provides a network device, which is a virtualized network function VNF, including: a processor; a memory and a transceiver connected to the processor; wherein,
收发机用于:向第一网元发送通知消息,其中,通知消息用于指示网元池内网元的容量变化信息,消息包含网元池的标识;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元。The transceiver is used to: send a notification message to the first network element, where the notification message is used to indicate the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool; The network element, or the network element pool includes at least one virtualized network element and at least one physical network element.
其中,收发机还用于:Among them, the transceiver is also used for:
接收第一网元发送的订阅请求消息,订阅请求消息用于订阅网元池内网元的容量变化信息,消息包含网元池的标识;Receiving a subscription request message sent by the first network element, the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool;
根据订阅请求消息,向第一网元发送订阅响应消息,消息包含网元池的标识。According to the subscription request message, a subscription response message is sent to the first network element, and the message includes the identifier of the network element pool.
其中,处理器还用于:Among them, the processor is also used for:
根据虚拟化网元的运行数据,进行扩容;Expand capacity according to the operating data of virtualized network elements;
根据扩容后的容量信息,生成通知消息。Based on the expanded capacity information, a notification message is generated.
其中,处理器还用于:Among them, the processor is also used for:
获取网元池中虚拟化网元的CPU占用率;Obtain the CPU usage of virtualized network elements in the network element pool;
若虚拟化网元的CPU占用率超过预设阈值,则根据预设的弹性策略,进行扩容。If the CPU usage of the virtualized network element exceeds the preset threshold, the capacity expansion is performed according to the preset elasticity policy.
其中,处理器还用于:Among them, the processor is also used for:
查询订阅列表;Query subscription list;
若订阅列表中包括第一网元,则执行向第一网元发送通知消息的步骤。If the subscription list includes the first network element, the step of sending a notification message to the first network element is performed.
本公开的实施例还提供了一种网络设备,网络设备为虚拟化网络功能VNF,包括:An embodiment of the present disclosure also provides a network device. The network device is a virtualized network function VNF, including:
第二发送模块,用于向第一网元发送通知消息,其中,通知消息用于指示网元池内网元的容量变化信息,消息包含网元池的标识;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元。The second sending module is used to send a notification message to the first network element, where the notification message is used to indicate the capacity change information of the network element in the network element pool, and the message includes the identifier of the network element pool; wherein, the network element pool includes at least two The virtualized network element, or the network element pool includes at least one virtualized network element and at least one physical network element.
本公开的实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述的网元负载均衡方法的步骤。Embodiments of the present disclosure also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the foregoing network element load balancing method are implemented.
本公开的上述技术方案的有益效果是:第一网元在接收到VNF发送的通知消息后,根据通知消息指示的容量变化信息,确定网元池内网元的权重因子,这样当网元池内网元的容量更新后,第一网元可确定网元池内各网元最新的权重因子,为用户处理请求分配网元进行处理,使得网元池内网元达到负载均衡。The beneficial effects of the above technical solutions of the present disclosure are: after receiving the notification message sent by the VNF, the first network element determines the weighting factor of the network element in the network element pool according to the capacity change information indicated by the notification message, so that when the network element pool After the capacity of the element is updated, the first network element can determine the latest weighting factor of each network element in the network element pool, and allocate network elements to the user to process the request for processing, so that the network elements in the network element pool achieve load balancing.
附图说明BRIEF DESCRIPTION
图1表示本公开实施例的第一网元侧的网元负载均衡方法的流程示意图;FIG. 1 is a schematic flowchart of a network element load balancing method on a first network element side according to an embodiment of the present disclosure;
图2表示本公开实施例的VNF侧的网元负载均衡方法的流程示意图;FIG. 2 is a schematic flowchart of a network element load balancing method on a VNF side according to an embodiment of the present disclosure;
图3a和3b表示本公开实施例各网元实体之间的交互示意图;3a and 3b show schematic diagrams of interaction between network element entities according to an embodiment of the present disclosure;
图4表示本公开实施例的第一网元侧的网络设备的模块结构示意图;4 is a schematic structural diagram of a module of a network device on a first network element side according to an embodiment of the present disclosure;
图5表示本公开实施例的VNF侧的网络设备的模块结构示意图;FIG. 5 shows a schematic structural diagram of a module of a network device on a VNF side of an embodiment of the present disclosure;
图6表示本公开实施例的网络设备的结构框图。FIG. 6 shows a structural block diagram of a network device according to an embodiment of the present disclosure.
具体实施方式detailed description
为使本公开要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。在下面的描述中,提供诸如具体的配置和组件的特定细节仅仅是为了帮助全面理解本公开的实施例。因此,本领域技术人员应该清楚,可以对这里描述的实施例进行各种改变和修改而不脱离本 公开的范围和精神。另外,为了清楚和简洁,省略了对已知功能和构造的描述。To make the technical problems, technical solutions, and advantages to be solved by the present disclosure clearer, the following will describe in detail with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to assist in a comprehensive understanding of embodiments of the present disclosure. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, descriptions of known functions and constructions are omitted for clarity and conciseness.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本公开的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It should be understood that “one embodiment” or “one embodiment” mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present disclosure. Therefore, “in one embodiment” or “in one embodiment” appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in one or more embodiments in any suitable manner.
在本公开的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开实施例的实施过程构成任何限定。In various embodiments of the present disclosure, it should be understood that the size of the sequence numbers of the following processes does not mean the order of execution, and the execution order of each process should be determined by its function and inherent logic, and should not be implemented by the present disclosure The implementation process of the examples constitutes no limitation.
另外,本文中术语“系统”和“网络”在本文中常可互换使用。In addition, the terms "system" and "network" are often used interchangeably herein.
在本申请所提供的实施例中,应理解,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。In the embodiments provided in this application, it should be understood that “B corresponding to A” means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B based on A does not mean determining B based on A alone, and B may also be determined based on A and / or other information.
如图1所示,本公开的实施例提供了一种网元负载均衡方法,应用于第一网元,该第一网元为支持组pool网元的外联网元,可以包括但不限于无线网络控制RNC/域名系统DNS或接入网AN,具体包括以下步骤:As shown in FIG. 1, an embodiment of the present disclosure provides a network element load balancing method, which is applied to a first network element. The first network element is an extranet element that supports group pool network elements, which may include but is not limited to wireless The network control RNC / Domain Name System DNS or access network AN includes the following steps:
步骤11:接收虚拟化网络功能VNF发送的通知消息,其中,通知消息用于指示网元池内网元的容量变化信息。Step 11: Receive a notification message sent by the virtualized network function VNF, where the notification message is used to indicate the capacity change information of the network element in the network element pool.
其中,通知消息可以是VNF周期性或在网元池内的网元容量发生变化后发送给外联网元的,该外联网元为存储权重信息的第三者网元,如RNC/VNF或AN。网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元。当网元池包括至少两个虚拟化网元,或者网元池至少一个虚拟化网元和至少一个物理网元时,若虚拟网元进行了扩容,VNF会向第一网元发送一指示网元容量变化的通知消息。其中,当有大量用户尝试接入网元池中的网元时(如网络服务区域内突发集会),由于网元池内的虚拟化网元支持容量的弹性伸缩,这时网元池中的EMS/OMC可指示虚拟化网络功能管理器(Virtualized Network Function Manager,VNFM)进行虚拟化网元的扩容操作。Wherein, the notification message may be sent to the extranet element after the VNF periodically or after the network element capacity in the network element pool changes. The extranet element is a third-party network element that stores weight information, such as RNC / VNF or AN. The network element pool includes at least two virtualized network elements, or the network element pool includes at least one virtualized network element and at least one physical network element. When the network element pool includes at least two virtualized network elements, or at least one virtualized network element and at least one physical network element in the network element pool, if the virtual network element is expanded, the VNF will send an indication network to the first network element Notification message for meta-capacity changes. Among them, when a large number of users try to access the network element in the network element pool (such as burst assembly in the network service area), because the virtualized network element in the network element pool supports the elastic scaling of the capacity, the network element pool EMS / OMC can instruct the virtualized network function manager (Virtualized Network Function Manager, VNFM) to perform the expansion operation of the virtualized network element.
步骤12:根据通知消息,确定网元池内网元的权重因子。Step 12: Determine the weighting factors of the network elements in the network element pool according to the notification message.
第一网元在接收到通知消息后,根据通知消息指示的网元池中各个网元的最新容量更新各个网元的权重配置。After receiving the notification message, the first network element updates the weight configuration of each network element according to the latest capacity of each network element in the network element pool indicated by the notification message.
具体地,容量变化信息包括:变化后的容量信息;步骤12包括:根据通知消息指示的变化后的容量信息,计算网元池内不同网元的权重因子。其中,对于虚拟化网元,最新容量可以指虚拟化网元扩容后的容量,第一网元主动获取当前网元池内各网元的可用容量信息,根据可用容量信息确定新的权重因子。Specifically, the capacity change information includes: changed capacity information; Step 12 includes: calculating weighting factors of different network elements in the network element pool according to the changed capacity information indicated by the notification message. For the virtualized network element, the latest capacity may refer to the expanded capacity of the virtualized network element. The first network element actively obtains available capacity information of each network element in the current network element pool, and determines a new weighting factor according to the available capacity information.
其中,步骤11之后还可以包括:向VNF反馈通知响应消息,以通知第一网元(如RNC/VNF或AN)成功接收到网元的容量变化信息。其中,该步骤与步骤12的时序不作要求,既可发生在步骤12之前,亦可发生在步骤12之后。Wherein, after step 11, it may further include: feeding back a notification response message to the VNF to notify the first network element (such as RNC / VNF or AN) of successfully receiving the capacity change information of the network element. The timing of this step and step 12 is not required, and it can occur before step 12 or after step 12.
其中,物理网元可以是:移动交换中心MSC、移动管理实体MME或呼叫会话控制功能CSCF实体等,相应地,虚拟化网元可以是:虚拟化MSC或虚拟化CSCF等。以MSC为例,当终端进入到某个MSC的pool的覆盖区域时,无线接入网络(Radio Access Network,RAN)节点会按照负载均衡的原则将终端位置更新请求随机分配给pool中的某一个MSC,由这个MSC完成位置更新过程并给终端分配临时网络识别码(Temporary Mobile Subscriber Identity,TMSI),这个TMSI中携带了网络资源标识(Network Resource Identity,NRI)字段,用来标识为这个终端服务的MSC编号。该终端在MSC的Pool的服务区域内移动时,将一直由这个MSC为其服务,直到离开MSC的Pool的服务区域为止。在这期间,如果终端有业务请求,那么RAN节点将根据请求消息中所带的TMSI中的NRI信息,将话务直接分配到对应的MSC进行处理。The physical network element may be: a mobile switching center MSC, a mobile management entity MME or a call session control function CSCF entity, etc. Correspondingly, the virtualized network element may be: a virtualized MSC or a virtualized CSCF. Taking MSC as an example, when a terminal enters the coverage area of a pool of an MSC, the radio access network (Radio Access Network, RAN) node will randomly allocate the terminal location update request to one of the pools according to the principle of load balancing MSC, this MSC completes the location update process and assigns a temporary network identification code (Temporary Mobile Subscriber Identity, TMSI) to the terminal. This TMSI carries a network resource identification (Network Resource Identity, NRI) field to identify the terminal service MSC number. When the terminal moves in the MSC's Pool service area, it will be served by the MSC until it leaves the MSC's Pool service area. During this period, if the terminal has a service request, the RAN node will directly distribute the traffic to the corresponding MSC for processing according to the NRI information in the TMSI carried in the request message.
其中,当外联网元有持续关注网元池内网元容量信息的需求时,外联网元可订阅网元的容量信息,这样VNF可周期性或在网元池内网元容量发生变化时,向外联网元发送网元的容量变化信息。具体地,在步骤11之前,还包括:向VNF发送订阅请求消息,订阅请求消息用于订阅网元池内网元的容量变化信息;接收VNF根据订阅请求消息反馈的订阅响应消息,以确定订阅 成功。这样pool外的外联网元可通过订阅机制,订阅pool内网元的容量变化情况。Among them, when the extranet element continues to pay attention to the capacity information of the network element in the network element pool, the extranet element can subscribe to the capacity information of the network element, so that the VNF can periodically or when the capacity of the network element in the network element pool changes, outward The networking element sends the capacity change information of the network element. Specifically, before step 11, it further includes: sending a subscription request message to the VNF. The subscription request message is used to subscribe to the capacity change information of the network element in the network element pool; receiving a subscription response message fed back by the VNF according to the subscription request message to determine the successful subscription . In this way, the extranet elements outside the pool can subscribe to changes in the capacity of the network elements inside the pool through a subscription mechanism.
其中,步骤11之前还包括:获取网元池内网元的初始权重因子和容量信息。具体地,第一网元(RNC/VNF或AN)可通过本地配置获得pool的初始权重因子,以及pool内各网元的容量信息。Among them, before step 11, the method further includes: acquiring initial weighting factors and capacity information of the network elements in the network element pool. Specifically, the first network element (RNC / VNF or AN) can obtain the initial weight factor of the pool and the capacity information of each network element in the pool through local configuration.
如图2所示,本公开的实施例提供了一种网元负载均衡方法,应用于虚拟化网络功能VNF,包括以下步骤:As shown in FIG. 2, an embodiment of the present disclosure provides a network element load balancing method, which is applied to a virtualized network function VNF and includes the following steps:
步骤21:向第一网元发送通知消息,其中,通知消息用于指示网元池内网元的容量变化信息。Step 21: Send a notification message to the first network element, where the notification message is used to indicate the capacity change information of the network element in the network element pool.
其中,所述网元池包括至少两个虚拟化网元,或者,所述网元池包括至少一个虚拟化网元和至少一个物理网元。当网元池包括至少一个虚拟化网元和至少一个物理网元时,若虚拟网元进行了扩容,VNF会向第一网元(如RNC/VNF或AN)发送一指示网元容量变化的通知消息。其中,当有大量用户尝试接入网元池中的网元时(如网络服务区域内突发集会),由于网元池内的虚拟化网元支持容量的弹性伸缩,这时网元池中的EMS/OMC可指示VNFM进行虚拟化网元的扩容操作。Wherein, the network element pool includes at least two virtualized network elements, or the network element pool includes at least one virtualized network element and at least one physical network element. When the network element pool includes at least one virtualized network element and at least one physical network element, if the virtual network element is expanded, the VNF will send a message indicating the capacity change of the network element to the first network element (such as RNC / VNF or AN) Notification message. Among them, when a large number of users try to access the network element in the network element pool (such as burst assembly in the network service area), because the virtualized network element in the network element pool supports the elastic scaling of the capacity, the network element pool EMS / OMC can instruct VNFM to perform the expansion operation of the virtualized network element.
其中,当外联网元有持续关注网元池内网元容量信息的需求时,外联网元可订阅网元的容量信息,这样VNF可周期性或在网元池内网元容量发生变化时,向外联网元发送网元的容量变化信息。具体地,步骤21之前还包括:接收第一网元(如RNC/DNS或AN)发送的订阅请求消息,订阅请求消息用于订阅网元池内网元的容量变化信息;根据订阅请求消息,向第一网元(RNC/DNS或AN)发送订阅响应消息,以通知第一网元(RNC/DNS或AN)订阅成功。这样pool外的外联网元可通过订阅机制,订阅pool内网元的容量变化情况。Among them, when the extranet element continues to pay attention to the capacity information of the network element in the network element pool, the extranet element can subscribe to the capacity information of the network element, so that the VNF can periodically or when the capacity of the network element in the network element pool changes, outward The networking element sends the capacity change information of the network element. Specifically, before step 21, the method further includes: receiving a subscription request message sent by the first network element (such as RNC / DNS or AN). The subscription request message is used to subscribe to the capacity change information of the network element in the network element pool; The first network element (RNC / DNS or AN) sends a subscription response message to notify the first network element (RNC / DNS or AN) that the subscription is successful. In this way, the extranet elements outside the pool can subscribe to changes in the capacity of the network elements inside the pool through a subscription mechanism.
步骤21之前还包括:根据虚拟化网元的运行数据,进行扩容;根据扩容后的容量信息,生成通知消息。具体地,根据虚拟化网元的运行数据,进行扩容的步骤,包括:获取网元池中虚拟化网元的CPU占用率;若虚拟化网元的CPU占用率超过预设阈值,则根据预设的弹性策略,进行扩容。例如:当有大量用户尝试接入网元池中的网元时(如网络服务区域内突发集会),pool 内虚拟化网元CPU占用率达到阈值,由于网元池内的虚拟化网元支持容量的弹性伸缩,这时网元池中的EMS/OMC可指示VNFM进行虚拟化网元的扩容操作,VNFM根据指示完成扩容操作之后,通知VNF扩容成功。Before step 21, the method further includes: performing expansion according to the operation data of the virtualized network element; and generating a notification message according to the expanded capacity information. Specifically, the step of performing capacity expansion according to the operation data of the virtualized network element includes: obtaining the CPU utilization rate of the virtualized network element in the network element pool; if the CPU utilization rate of the virtualized network element exceeds a preset threshold, the Set up an elastic strategy for expansion. For example: when a large number of users try to access the NE in the NE pool (such as burst assembly in the network service area), the CPU usage of the virtualized NE in the pool reaches the threshold, due to the support of the virtualized NE in the NE pool Flexible expansion of capacity. At this time, the EMS / OMC in the network element pool can instruct VNFM to perform the expansion operation of the virtualized network element. After completing the expansion operation according to the instructions, VNFM notifies the VNF that the expansion is successful.
根据扩容后的容量信息,生成通知消息的步骤之后,还包括:查询订阅列表;若订阅列表中包括第一网元(RNC/DNS或AN),则执行向第一网元(RNC/DNS或AN)发送通知消息的步骤,即步骤21。容量发生变化的VNF检查订阅列表,若检查到RNC/DNS或AN在订阅列表内,即已订阅容量变化信息,则VNF可通过通知消息携带容量变化信息,通知此前订阅过的pool外的RNC/DNS或AN。According to the expanded capacity information, after the step of generating the notification message, it also includes: querying the subscription list; if the subscription list includes the first network element (RNC / DNS or AN), then execute the first network element (RNC / DNS or AN) The step of sending a notification message, step 21. The VNF whose capacity has changed checks the subscription list. If RNC / DNS or AN is found in the subscription list, that is, the capacity change information has been subscribed, the VNF can carry the capacity change information through the notification message to notify the RNC / outside the previously subscribed pool DNS or AN.
在一套端到端网络(如2/3/4G网络)系统中,在虚拟化网元组pool或虚拟化网元和物理网元混合组pool的情况下,该系统包括:VNFM、RNC/DNS、VNF和VNFM实体。假设一套虚拟化MSC(vMSC1)和两套物理MSC(MSC2和MSC3)混合组成的网元池,该网元池中vMSC1、MSC2和MSC3的初始部署容量相同,那么在DNS配置三个MSC的权重比为1:1:1。在网络运行一段时间后,若突然有大量用户尝试接入(如网络服务区域内突发集会),由于虚拟化网元支持弹性伸缩,因此vMSC1可能会发生弹性伸缩,为了保证弹性伸缩后的容量与其处理的业务量相匹配,可通过如图3a所示的网元间交互流程达到网元池中网元负载均衡的状态。In a set of end-to-end network (such as 2/3 / 4G network) system, in the case of virtualized network element pool or virtualized network element and physical network element mixed pool, the system includes: VNFM, RNC / DNS, VNF and VNFM entities. Assuming a network element pool composed of a set of virtualized MSC (vMSC1) and two sets of physical MSC (MSC2 and MSC3), the initial deployment capacity of vMSC1, MSC2, and MSC3 in the network element pool is the same, then three MSCs are configured in DNS The weight ratio is 1: 1: 1. After the network has been running for a period of time, if a large number of users suddenly try to access (such as a sudden assembly in the network service area), because the virtualized network element supports elastic scaling, vMSC1 may be elastically scaled to ensure the capacity after elastic scaling Matching with the amount of traffic it handles, the state of network element load balancing in the network element pool can be achieved through the interaction process between network elements as shown in FIG. 3a.
步骤31:RNC/DNS向VNF(如虚拟化MSC或MME等)发送订阅请求消息,该订阅请求消息用于订阅网元池内网元的容量变化信息。Step 31: The RNC / DNS sends a subscription request message to the VNF (such as a virtualized MSC or MME, etc.), and the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool.
步骤32:VNF向RNC/DNS反馈订阅响应消息,以通知RNC/DNS订阅成功。Step 32: The VNF feeds back the subscription response message to the RNC / DNS to notify the RNC / DNS that the subscription is successful.
步骤33:EMS/OMC检测到虚拟化网元(如vMSC1)的CPU占用率达到预设阈值,EMS/OMC收到网元运行实时数据,根据预设的弹性策略,EMS/OMC向VNFM发送扩容请求,以指示VNFM发起对虚拟化网元扩容操作,虚拟化网元的容量发生变化。Step 33: The EMS / OMC detects that the CPU usage of the virtualized network element (such as vMSC1) reaches the preset threshold, the EMS / OMC receives the real-time data of the network element operation, and according to the preset elasticity strategy, the EMS / OMC sends the expansion to the VNFM Request to instruct VNFM to initiate the expansion operation of the virtualized network element, and the capacity of the virtualized network element changes.
步骤34:VNFM向VNF发送容量变化信息,以通知容量变化。其中,容量变化信息可以是变化后的新容量。Step 34: The VNFM sends capacity change information to the VNF to notify the capacity change. The capacity change information may be the new capacity after the change.
步骤35:VNF查询订阅列表。Step 35: The VNF queries the subscription list.
步骤36:若订阅列表中包括RNC/DNS,VNF则向RNC/DNS发送通知消息,该通知消息用于指示网元池内网元的容量变化信息。Step 36: If the subscription list includes RNC / DNS, the VNF sends a notification message to the RNC / DNS. The notification message is used to indicate the capacity change information of the network element in the network element pool.
步骤37:RNC/DNS向VNF反馈通知响应消息,以通知VNF成功接收到网元的容量变化信息。Step 37: The RNC / DNS feeds back a notification response message to the VNF to notify the VNF that the capacity change information of the network element is successfully received.
在5G的SA网络中,核心网已有服务化的订阅通知消息,并且计划可将服务化消息扩展到无线网元选择AMF的N2接口。即,可在N2接口定义订阅通知消息,携带容量变化后新的容量信息。流程如图3b所示,网元负载均衡方法包括:In the 5G SA network, the core network already has a service-based subscription notification message, and plans to extend the service-oriented message to the N2 interface where the wireless network element selects AMF. That is, a subscription notification message can be defined on the N2 interface to carry new capacity information after the capacity changes. The process is shown in Figure 3b. The load balancing method of the network element includes:
步骤310:(R)AN通过AMF的N2接口向VNF发送订阅请求消息,该订阅请求消息用于订阅网元池内网元的容量变化信息。Step 310: (R) AN sends a subscription request message to VNF through the N2 interface of AMF. The subscription request message is used to subscribe to the capacity change information of the network element in the network element pool.
步骤320:VNF通过AMF的N2接口向(R)AN反馈订阅响应消息,以通知RNC/DNS订阅成功。Step 320: The VNF feeds a subscription response message to the (R) AN through the N2 interface of the AMF to notify the RNC / DNS that the subscription is successful.
步骤330:EMS/OMC检测到虚拟化网元(如vMSC1)的CPU占用率达到预设阈值,EMS/OMC收到网元运行实时数据,根据预设的弹性策略,EMS/OMC向VNFM发送扩容请求,以指示VNFM发起对vMSC1扩容操作,vMSC1的容量发生变化。Step 330: The EMS / OMC detects that the CPU usage of the virtualized network element (such as vMSC1) reaches a preset threshold, the EMS / OMC receives the real-time data of the network element operation, and according to the preset elasticity policy, the EMS / OMC sends the expansion to the VNFM Request to instruct VNFM to initiate the capacity expansion operation of vMSC1, and the capacity of vMSC1 changes.
步骤340:VNFM向VNF发送容量变化信息,以通知容量变化。其中,容量变化信息可以是变化后的新容量。Step 340: The VNFM sends capacity change information to the VNF to notify the capacity change. The capacity change information may be the new capacity after the change.
步骤350:VNF查询订阅列表。Step 350: The VNF queries the subscription list.
步骤360:若订阅列表中包括(R)AN,VNF则通过AMF的N2接口向(R)AN发送通知消息,该通知消息用于指示网元池内网元的容量变化信息。Step 360: If the subscription list includes (R) AN, the VNF sends a notification message to the (R) AN through the AMF N2 interface. The notification message is used to indicate the capacity change information of the network element in the network element pool.
步骤370:(R)AN通过AMF的N2接口向VNF反馈通知响应消息,以通知VNF成功接收到网元的容量变化信息。Step 370: (R) The AN feeds back a notification response message to the VNF through the AMF's N2 interface to notify the VNF that it has successfully received the capacity change information of the network element.
其中,值得指出的是,以上实施例仅以RNC/DNS或AN作为第一网元进行说明,第一网元还可以是支持组pool网元的其他外联网元,其订阅通知及处理机制可参见上述实施例,故在此不再赘述。Among them, it is worth noting that the above embodiments only use RNC / DNS or AN as the first network element for description. The first network element may also be another extranet element that supports group pool network elements, and its subscription notification and processing mechanism may be See the above embodiment, so it will not be repeated here.
本公开实施例的网元负载均衡方法中,第一网元在接收到VNF发送的通知消息后,根据通知消息指示的容量变化信息,确定网元池内网元的权重因子,这样当网元池内网元的容量更新后,第一网元可确定网元池内各网元最 新的权重因子,为用户处理请求分配网元进行处理,使得网元池内网元达到负载均衡。In the network element load balancing method of the embodiment of the present disclosure, after receiving the notification message sent by the VNF, the first network element determines the weighting factor of the network element in the network element pool according to the capacity change information indicated by the notification message, so that when the network element pool After the capacity of the network element is updated, the first network element may determine the latest weighting factor of each network element in the network element pool, allocate network elements to the user to process the request for processing, so that the network elements in the network element pool achieve load balancing.
以上实施例分别就本公开的网元负载均衡方法做出介绍,下面本实施例将结合附图对其对应的网络设备做进一步说明。The above embodiments respectively introduce the network element load balancing method of the present disclosure, and the following embodiments will further describe their corresponding network devices with reference to the drawings.
具体地,本公开实施例的网络设备可以是第一网元,如图4所示,该网络设备400包括:Specifically, the network device in the embodiment of the present disclosure may be the first network element. As shown in FIG. 4, the network device 400 includes:
第一接收模块410,用于接收虚拟化网络功能VNF发送的通知消息,其中,通知消息用于指示网元池内网元的容量变化信息;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元;The first receiving module 410 is configured to receive a notification message sent by a virtualized network function VNF, where the notification message is used to indicate capacity change information of a network element in a network element pool; wherein the network element pool includes at least two virtualized network elements, Or, the network element pool includes at least one virtualized network element and at least one physical network element;
第一处理模块420,用于根据通知消息,确定网元池内网元的权重因子。The first processing module 420 is configured to determine the weighting factor of the network element in the network element pool according to the notification message.
该网络设备400还包括:The network device 400 also includes:
第一发送模块,用于向VNF发送订阅请求消息,订阅请求消息用于订阅网元池内网元的容量变化信息;The first sending module is used to send a subscription request message to the VNF, and the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool;
第二接收模块,用于接收VNF根据订阅请求消息反馈的订阅响应消息。The second receiving module is configured to receive a subscription response message fed back by the VNF according to the subscription request message.
其中,该网络设备400还包括:Among them, the network device 400 further includes:
获取模块,用于获取网元池内网元的初始权重因子和容量信息。The obtaining module is used to obtain the initial weighting factor and capacity information of the network elements in the network element pool.
其中,容量变化信息包括:变化后的容量信息;Among them, the capacity change information includes: changed capacity information;
第一处理模块420包括:The first processing module 420 includes:
处理子模块,用于根据通知消息指示的变化后的容量信息,计算网元池内不同网元的权重因子。The processing submodule is used to calculate the weighting factors of different network elements in the network element pool according to the changed capacity information indicated by the notification message.
本公开实施例中的网络设备还可以是虚拟化网络功能VNF,如图5所示,该网络设备500包括:The network device in the embodiment of the present disclosure may also be a virtualized network function VNF. As shown in FIG. 5, the network device 500 includes:
第二发送模块510,用于向第一网元发送通知消息,其中,通知消息用于指示网元池内网元的容量变化信息;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元。The second sending module 510 is configured to send a notification message to the first network element, where the notification message is used to indicate capacity change information of the network element in the network element pool; wherein the network element pool includes at least two virtualized network elements, or, The network element pool includes at least one virtualized network element and at least one physical network element.
该网络设备500还包括:The network device 500 also includes:
第三接收模块,用于接收第一网元发送的订阅请求消息,订阅请求消息用于订阅网元池内网元的容量变化信息;The third receiving module is used to receive the subscription request message sent by the first network element, and the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool;
第三发送模块,用于根据订阅请求消息,向第一网元发送订阅响应消息。The third sending module is configured to send a subscription response message to the first network element according to the subscription request message.
其中,网络设备500还包括:Among them, the network device 500 also includes:
扩容模块,用于根据虚拟化网元的运行数据,进行扩容;The capacity expansion module is used to expand the capacity according to the operating data of the virtualized network element;
生成模块,用于根据扩容后的容量信息,生成通知消息。The generation module is used for generating a notification message according to the expanded capacity information.
其中,扩容模块包括:Among them, the expansion module includes:
获取子模块,用于获取网元池中虚拟化网元的CPU占用率;Obtaining submodule, used to obtain the CPU usage of virtualized network elements in the network element pool;
扩容子模块,用于若虚拟化网元的CPU占用率超过预设阈值,则根据预设的弹性策略,进行扩容。The capacity expansion sub-module is used to expand capacity according to a preset elasticity policy if the CPU usage of the virtualized network element exceeds a preset threshold.
其中网络设备500还包括:The network device 500 also includes:
查询模块,用于查询订阅列表;Query module for querying the subscription list;
控制模块,用于若订阅列表中包括第一网元,则执行向第一网元发送通知消息的步骤。The control module is configured to execute the step of sending a notification message to the first network element if the subscription list includes the first network element.
本公开的网络设备实施例是与上述方法的实施例对应的,上述方法实施例中的所有实现手段均适用于该网络设备的实施例中,也能达到相同的技术效果。该第一网元在接收到VNF发送的通知消息后,根据通知消息指示的容量变化信息,确定网元池内网元的权重因子,这样当网元池内网元的容量更新后,第一网元可确定网元池内各网元最新的权重因子,为用户处理请求分配网元进行处理,使得网元池内网元达到负载均衡。The embodiment of the network device of the present disclosure corresponds to the embodiment of the above method. All the implementation means in the above method embodiment are applicable to the embodiment of the network device, and the same technical effect can also be achieved. After receiving the notification message sent by the VNF, the first network element determines the weighting factor of the network element in the network element pool according to the capacity change information indicated by the notification message, so that when the capacity of the network element in the network element pool is updated, the first network element The latest weighting factor of each network element in the network element pool can be determined, and the network element can be allocated for processing the user's processing request, so that the network elements in the network element pool can achieve load balancing.
为了更好的实现上述目的,如图6所示,本公开实施例还提供了一种网络设备,该网络设备包括:处理器600;通过总线接口与所述处理器600相连接的存储器620,以及通过总线接口与处理器600相连接的收发机610;所述存储器620用于存储所述处理器在执行操作时所使用的程序和数据;通过所述收发机610发送数据信息或者导频,还通过所述收发机610接收上行控制信道;当处理器600调用并执行所述存储器620中所存储的程序和数据时,实现如下的功能:In order to better achieve the above object, as shown in FIG. 6, an embodiment of the present disclosure further provides a network device, the network device includes: a processor 600; a memory 620 connected to the processor 600 through a bus interface, And a transceiver 610 connected to the processor 600 through a bus interface; the memory 620 is used to store programs and data used by the processor when performing operations; and send data information or pilots through the transceiver 610, It also receives the uplink control channel through the transceiver 610; when the processor 600 calls and executes the programs and data stored in the memory 620, the following functions are realized:
处理器600用于读取存储器620中的程序,并执行相应过程。The processor 600 is used to read the program in the memory 620 and execute the corresponding process.
收发机610,用于在处理器600的控制下接收和发送数据。The transceiver 610 is used to receive and send data under the control of the processor 600.
其中,网络设备为第一网元时,收发机610用于:接收虚拟化网络功能VNF发送的通知消息,其中,通知消息用于指示网元池内网元的容量变化信 息;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元;When the network device is the first network element, the transceiver 610 is used to: receive a notification message sent by the virtualized network function VNF, where the notification message is used to indicate the capacity change information of the network element in the network element pool; wherein, the network element pool At least two virtualized network elements are included, or the network element pool includes at least one virtualized network element and at least one physical network element;
处理器600用于:根据通知消息,确定网元池内网元的权重因子。The processor 600 is configured to: according to the notification message, determine the weighting factor of the network elements in the network element pool.
其中,收发机610还用于:Among them, the transceiver 610 is also used for:
向VNF发送订阅请求消息,订阅请求消息用于订阅网元池内网元的容量变化信息;Send a subscription request message to the VNF. The subscription request message is used to subscribe to the capacity change information of the network element in the network element pool;
接收VNF根据订阅请求消息反馈的订阅响应消息。Receive the subscription response message fed back by the VNF according to the subscription request message.
其中,处理器600还用于:Among them, the processor 600 is also used for:
获取网元池内网元的初始权重因子和容量信息。Obtain the initial weight factor and capacity information of the network elements in the network element pool.
其中,容量变化信息包括:变化后的容量信息;Among them, the capacity change information includes: changed capacity information;
处理器600还用于:The processor 600 is also used to:
根据通知消息指示的变化后的容量信息,计算网元池内不同网元的权重因子。According to the changed capacity information indicated by the notification message, calculate the weighting factors of different network elements in the network element pool.
其中,网络设备为虚拟化网络功能VNF时,收发机610用于:向第一网元发送通知消息,其中,通知消息用于指示网元池内网元的容量变化信息;其中,网元池包括至少两个虚拟化网元,或者,网元池包括至少一个虚拟化网元和至少一个物理网元。When the network device is a virtualized network function VNF, the transceiver 610 is used to: send a notification message to the first network element, where the notification message is used to indicate the capacity change information of the network element in the network element pool; where the network element pool includes At least two virtualized network elements, or the network element pool includes at least one virtualized network element and at least one physical network element.
其中,收发机610还用于:Among them, the transceiver 610 is also used for:
接收第一网元发送的订阅请求消息,订阅请求消息用于订阅网元池内网元的容量变化信息;Receiving a subscription request message sent by the first network element, where the subscription request message is used to subscribe to the capacity change information of the network element in the network element pool;
根据订阅请求消息,向第一网元发送订阅响应消息。According to the subscription request message, send a subscription response message to the first network element.
其中,处理器600还用于:Among them, the processor 600 is also used for:
根据虚拟化网元的运行数据,进行扩容;Expand capacity according to the operating data of virtualized network elements;
根据扩容后的容量信息,生成通知消息。Based on the expanded capacity information, a notification message is generated.
其中,处理器600还用于:Among them, the processor 600 is also used for:
获取网元池中虚拟化网元的CPU占用率;Obtain the CPU usage of virtualized network elements in the network element pool;
若虚拟化网元的CPU占用率超过预设阈值,则根据预设的弹性策略,进行扩容。If the CPU usage of the virtualized network element exceeds the preset threshold, the capacity expansion is performed according to the preset elasticity policy.
其中,处理器600还用于:Among them, the processor 600 is also used for:
查询订阅列表;Query subscription list;
若订阅列表中包括第一网元,则执行向第一网元发送通知消息的步骤。If the subscription list includes the first network element, the step of sending a notification message to the first network element is performed.
其中,在图6中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器600代表的一个或多个处理器和存储器620代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机610可以是多个元件,即包括发送机和收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器600负责管理总线架构和通常的处理,存储器620可以存储处理器600在执行操作时所使用的数据。In FIG. 6, the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 600 and various circuits of the memory represented by the memory 620 are linked together. The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, etc., which are well known in the art, and therefore, they will not be further described in this article. The bus interface provides an interface. The transceiver 610 may be a plurality of elements, including a transmitter and a transceiver, and provides a unit for communicating with various other devices on a transmission medium. The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 when performing operations.
本领域技术人员可以理解,实现上述实施例的全部或者部分步骤可以通过硬件来完成,也可以通过计算机程序来指示相关的硬件来完成,所述计算机程序包括执行上述方法的部分或者全部步骤的指令;且该计算机程序可以存储于一可读存储介质中,存储介质可以是任何形式的存储介质。Those skilled in the art can understand that all or part of the steps of the above embodiments can be completed by hardware, or can be completed by instructing related hardware through a computer program, and the computer program includes instructions to perform some or all steps of the above method ; And the computer program may be stored in a readable storage medium, the storage medium may be any form of storage medium.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述网元负载均衡方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present disclosure also provide a computer-readable storage medium that stores a computer program on the computer-readable storage medium. When the computer program is executed by a processor, the processes of the foregoing network element load balancing method embodiments are implemented, and the same In order to avoid repetition, we will not repeat them here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
此外,需要指出的是,在本公开的装置和方法中,显然,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本公开的等效方案。并且,执行上述系列处理的步骤可以自然地按照说明的顺序按时间顺序执行,但是并不需要一定按照时间顺序执行,某些步骤可以并行或彼此独立地执行。对本领域的普通技术人员而言,能够理解本公开的方法和装置的全部或者任何步骤或者部件,可以在任何计算装置(包括处理器、存储介质等)或者计算装置的网络中,以硬件、固件、软件或者它们的组合加以实现,这是本领域普通技术人员在阅读了本公开的说明的情况下运用他们的基本编程技能就能实现的。In addition, it should be pointed out that, in the device and method of the present disclosure, obviously, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent solutions of the present disclosure. In addition, the steps for performing the above-mentioned series of processing may naturally be executed in chronological order in the order described, but it does not necessarily need to be executed in chronological order, and some steps may be executed in parallel or independently of each other. For those of ordinary skill in the art, all or any steps or components of the methods and devices of the present disclosure can be understood, and can be implemented in hardware, firmware in any computing device (including a processor, a storage medium, etc.) or a network of computing devices , Software, or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present disclosure.
因此,本公开的目的还可以通过在任何计算装置上运行一个程序或者一组程序来实现。所述计算装置可以是公知的通用装置。因此,本公开的目的也可以仅仅通过提供包含实现所述方法或者装置的程序代码的程序产品来实现。也就是说,这样的程序产品也构成本申请主题,并且存储有这样的程序产品的存储介质也构成本申请主题。显然,所述存储介质可以是任何公知的存储介质或者将来所开发出来的任何存储介质。还需要指出的是,在本公开的装置和方法中,显然,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本公开的等效方案。并且,执行上述系列处理的步骤可以自然地按照说明的顺序按时间顺序执行,但是并不需要一定按照时间顺序执行。某些步骤可以并行或彼此独立地执行。Therefore, the object of the present disclosure can also be achieved by running a program or a group of programs on any computing device. The computing device may be a well-known general-purpose device. Therefore, the object of the present disclosure can also be achieved only by providing a program product containing program code for implementing the method or device. That is, such a program product also constitutes the subject of this application, and a storage medium storing such a program product also constitutes the subject of this application. Obviously, the storage medium may be any known storage medium or any storage medium developed in the future. It should also be noted that, in the device and method of the present disclosure, obviously, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent solutions of the present disclosure. Moreover, the steps for performing the above-mentioned series of processing can naturally be performed in chronological order in the order described, but it does not necessarily need to be performed in chronological order. Certain steps can be performed in parallel or independently of each other.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。Those of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. A person skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present disclosure.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a division of logical functions. In actual implementation, there may be other divisions, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present disclosure essentially or part of the contribution to the related technology or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, including several The instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present disclosure. The foregoing storage media include various media that can store program codes, such as a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、ROM或RAM等。A person of ordinary skill in the art may understand that all or part of the processes in the method of the foregoing embodiments may be completed by controlling related hardware through a computer program, and the program may be stored in a computer-readable storage medium. During execution, the process of the embodiments of the above methods may be included. Wherein, the storage medium may be a magnetic disk, an optical disk, ROM, RAM, or the like.
可以理解的是,本公开实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本公开所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present disclosure may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable Logic Device (Programmable Logic Device, PLD), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, others for performing the functions described in this disclosure Electronic unit or its combination.
对于软件实现,可通过执行本公开实施例所述功能的模块(例如过程、函数等)来实现本公开实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the technology described in the embodiments of the present disclosure may be implemented through modules (eg, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure. The software codes can be stored in the memory and executed by the processor. The memory may be implemented in the processor or external to the processor.
以上所述是本公开的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。The above is an optional embodiment of the present disclosure. It should be noted that those of ordinary skill in the art can make several improvements and retouching without departing from the principles described in the present disclosure. These improvements and retouching It should also be regarded as the scope of protection of this disclosure.

Claims (31)

  1. 一种网元负载均衡方法,应用于第一网元,包括:A network element load balancing method, applied to the first network element, includes:
    接收虚拟化网络功能VNF发送的通知消息,其中,所述通知消息用于指示网元池内网元的容量变化信息;其中,所述网元池包括至少两个虚拟化网元,或者,所述网元池包括至少一个虚拟化网元和至少一个物理网元;Receiving a notification message sent by a virtualized network function VNF, where the notification message is used to indicate capacity change information of a network element in a network element pool; wherein, the network element pool includes at least two virtualized network elements, or, the The network element pool includes at least one virtualized network element and at least one physical network element;
    根据所述通知消息,确定所述网元池内网元的权重因子。According to the notification message, determine the weighting factor of the network elements in the network element pool.
  2. 根据权利要求1所述的网元负载均衡方法,其中,接收虚拟化网络功能VNF发送的通知消息的步骤之前,还包括:The network element load balancing method according to claim 1, wherein before the step of receiving the notification message sent by the virtualized network function VNF, the method further comprises:
    向所述VNF发送订阅请求消息,所述订阅请求消息用于订阅所述网元池内网元的容量变化信息;Sending a subscription request message to the VNF, where the subscription request message is used to subscribe to capacity change information of network elements in the network element pool;
    接收所述VNF根据所述订阅请求消息反馈的订阅响应消息。Receiving a subscription response message fed back by the VNF according to the subscription request message.
  3. 根据权利要求2所述的网元负载均衡方法,其中,所述订阅请求消息及所述订阅响应消息均包含所述网元池的标识。The network element load balancing method according to claim 2, wherein both the subscription request message and the subscription response message include an identifier of the network element pool.
  4. 根据权利要求1所述的网元负载均衡方法,其中,接收虚拟化网络功能VNF发送的通知消息的步骤之前,还包括:The network element load balancing method according to claim 1, wherein before the step of receiving the notification message sent by the virtualized network function VNF, the method further comprises:
    获取所述网元池内网元的初始权重因子和容量信息。Obtain the initial weight factor and capacity information of the network elements in the network element pool.
  5. 根据权利要求1所述的网元负载均衡方法,其中,所述容量变化信息包括:变化后的容量信息;The network element load balancing method according to claim 1, wherein the capacity change information includes: changed capacity information;
    所述根据所述通知消息,确定所述网元池内网元的权重因子的步骤,包括:The step of determining the weighting factors of the network elements in the network element pool according to the notification message includes:
    根据所述通知消息指示的变化后的容量信息,计算所述网元池内不同网元的权重因子。Calculate the weighting factors of different network elements in the network element pool according to the changed capacity information indicated by the notification message.
  6. 根据权利要求1至5中任一项所述的网元负载均衡方法,其中,所述通知消息包含所述网元池的标识。The network element load balancing method according to any one of claims 1 to 5, wherein the notification message includes an identifier of the network element pool.
  7. 一种网元负载均衡方法,应用于虚拟化网络功能VNF,包括:A network element load balancing method, applied to virtualized network function VNF, including:
    向第一网元发送通知消息,其中,所述通知消息用于指示网元池内网元的容量变化信息;其中,所述网元池包括至少两个虚拟化网元,或者,所述网元池包括至少一个虚拟化网元和至少一个物理网元。Sending a notification message to the first network element, where the notification message is used to indicate capacity change information of the network element in the network element pool; wherein, the network element pool includes at least two virtualized network elements, or, the network element The pool includes at least one virtualized network element and at least one physical network element.
  8. 根据权利要求7所述的网元负载均衡方法,其中,向第一网元发送通知消息的步骤之前,还包括:The network element load balancing method according to claim 7, wherein before the step of sending a notification message to the first network element, the method further comprises:
    接收所述第一网元发送的订阅请求消息,所述订阅请求消息用于订阅所述网元池内网元的容量变化信息;Receiving a subscription request message sent by the first network element, where the subscription request message is used to subscribe to capacity change information of network elements in the network element pool;
    根据所述订阅请求消息,向所述第一网元发送订阅响应消息。Sending a subscription response message to the first network element according to the subscription request message.
  9. 根据权利要求8所述的网元负载均衡方法,其中,所述订阅请求消息及所述订阅响应消息均包含所述网元池的标识。The network element load balancing method according to claim 8, wherein both the subscription request message and the subscription response message include an identifier of the network element pool.
  10. 根据权利要求7所述的网元负载均衡方法,其中,向第一网元发送通知消息的步骤之前,还包括:The network element load balancing method according to claim 7, wherein before the step of sending a notification message to the first network element, the method further comprises:
    根据虚拟化网元的运行数据,进行扩容;Expand capacity according to the operating data of virtualized network elements;
    根据扩容后的容量信息,生成所述通知消息。The notification message is generated according to the expanded capacity information.
  11. 根据权利要求10所述的网元负载均衡方法,其中,根据虚拟化网元的运行数据,进行扩容的步骤,包括:The network element load balancing method according to claim 10, wherein the step of expanding capacity according to the operation data of the virtualized network element includes:
    获取网元池中虚拟化网元的CPU占用率;Obtain the CPU usage of virtualized network elements in the network element pool;
    若所述虚拟化网元的CPU占用率超过预设阈值,则根据预设的弹性策略,进行扩容。If the CPU usage of the virtualized network element exceeds a preset threshold, the capacity expansion is performed according to a preset elasticity strategy.
  12. 根据权利要求10所述的网元负载均衡方法,其中,根据扩容后的容量信息,生成所述通知消息的步骤之后,还包括:The network element load balancing method according to claim 10, wherein after the step of generating the notification message according to the expanded capacity information, further comprising:
    查询订阅列表;Query subscription list;
    若所述订阅列表中包括所述第一网元,则执行向所述第一网元发送通知消息的步骤。If the first network element is included in the subscription list, the step of sending a notification message to the first network element is performed.
  13. 根据权利要求7至12中任一项所述的网元负载均衡方法,其中,所述通知消息包含所述网元池的标识。The network element load balancing method according to any one of claims 7 to 12, wherein the notification message includes an identifier of the network element pool.
  14. 一种网络设备,所述网络设备为第一网元,包括:处理器;与所述处理器相连接的存储器和收发机;其中,A network device, the network device is a first network element, including: a processor; a memory and a transceiver connected to the processor; wherein,
    所述收发机用于:接收虚拟化网络功能VNF发送的通知消息,其中,所述通知消息用于指示网元池内网元的容量变化信息;其中,所述网元池包括至少两个虚拟化网元,或者,所述网元池包括至少一个虚拟化网元和至少一个物理网元;The transceiver is used to: receive a notification message sent by a virtualized network function VNF, wherein the notification message is used to indicate capacity change information of a network element in a network element pool; A network element, or the network element pool includes at least one virtualized network element and at least one physical network element;
    所述处理器用于:根据所述通知消息,确定所述网元池内网元的权重因子。The processor is configured to determine the weighting factor of the network elements in the network element pool according to the notification message.
  15. 根据权利要求14所述的网络设备,其中,所述收发机还用于:The network device according to claim 14, wherein the transceiver is further used to:
    向所述VNF发送订阅请求消息,所述订阅请求消息用于订阅所述网元池内网元的容量变化信息;Sending a subscription request message to the VNF, where the subscription request message is used to subscribe to capacity change information of network elements in the network element pool;
    接收所述VNF根据所述订阅请求消息反馈的订阅响应消息。Receiving a subscription response message fed back by the VNF according to the subscription request message.
  16. 根据权利要求15所述的网络设备,其中,所述订阅请求消息及所述订阅响应消息均包含所述网元池的标识。The network device according to claim 15, wherein both the subscription request message and the subscription response message include an identifier of the network element pool.
  17. 根据权利要求14所述的网络设备,其中,所述处理器还用于:The network device according to claim 14, wherein the processor is further configured to:
    获取所述网元池内网元的初始权重因子和容量信息。Obtain the initial weight factor and capacity information of the network elements in the network element pool.
  18. 根据权利要求14所述的网络设备,其中,所述容量变化信息包括:变化后的容量信息;The network device according to claim 14, wherein the capacity change information includes: changed capacity information;
    所述处理器还用于:The processor is also used to:
    根据所述通知消息指示的变化后的容量信息,计算所述网元池内不同网元的权重因子。Calculate the weighting factors of different network elements in the network element pool according to the changed capacity information indicated by the notification message.
  19. 根据权利要求14至18中任一项所述的网络设备,其中,所述通知消息包含所述网元池的标识。The network device according to any one of claims 14 to 18, wherein the notification message includes an identifier of the network element pool.
  20. 一种网络设备,所述网络设备为第一网元,包括:A network device, the network device is a first network element, including:
    第一接收模块,用于接收虚拟化网络功能VNF发送的通知消息,其中,所述通知消息用于指示网元池内网元的容量变化信息;其中,所述网元池包括至少两个虚拟化网元,或者,所述网元池包括至少一个虚拟化网元和至少一个物理网元;A first receiving module, configured to receive a notification message sent by a virtualized network function VNF, wherein the notification message is used to indicate capacity change information of network elements in a network element pool; A network element, or the network element pool includes at least one virtualized network element and at least one physical network element;
    第一处理模块,用于根据所述通知消息,确定所述网元池内网元的权重因子。The first processing module is configured to determine the weighting factor of the network elements in the network element pool according to the notification message.
  21. 根据权利要求20所述的网络设备,其中,所述通知消息包含所述网元池的标识。The network device according to claim 20, wherein the notification message includes an identifier of the network element pool.
  22. 一种网络设备,所述网络设备为虚拟化网络功能VNF,包括:处理器;与所述处理器相连接的存储器和收发机;其中,A network device, the network device is a virtualized network function VNF, including: a processor; a memory and a transceiver connected to the processor; wherein,
    收发机用于:向第一网元发送通知消息,其中,所述通知消息用于指示 网元池内网元的容量变化信息;其中,所述网元池包括至少两个虚拟化网元,或者,所述网元池包括至少一个虚拟化网元和至少一个物理网元。The transceiver is used to: send a notification message to the first network element, wherein the notification message is used to indicate the capacity change information of the network element in the network element pool; wherein, the network element pool includes at least two virtualized network elements, or , The network element pool includes at least one virtualized network element and at least one physical network element.
  23. 根据权利要求22所述的网络设备,其中,所述收发机还用于:The network device according to claim 22, wherein the transceiver is further used to:
    接收所述第一网元发送的订阅请求消息,所述订阅请求消息用于订阅所述网元池内网元的容量变化信息;Receiving a subscription request message sent by the first network element, where the subscription request message is used to subscribe to capacity change information of network elements in the network element pool;
    根据所述订阅请求消息,向所述第一网元发送订阅响应消息。Sending a subscription response message to the first network element according to the subscription request message.
  24. 根据权利要求23所述的网络设备,其中,所述订阅请求消息及所述订阅响应消息均包含所述网元池的标识。The network device according to claim 23, wherein both the subscription request message and the subscription response message include an identifier of the network element pool.
  25. 根据权利要求22所述的网络设备,其中,所述处理器还用于:The network device according to claim 22, wherein the processor is further configured to:
    根据虚拟化网元的运行数据,进行扩容;Expand capacity according to the operating data of virtualized network elements;
    根据扩容后的容量信息,生成所述通知消息。The notification message is generated according to the expanded capacity information.
  26. 根据权利要求25所述的网络设备,其中,所述处理器还用于:The network device according to claim 25, wherein the processor is further configured to:
    获取网元池中虚拟化网元的CPU占用率;Obtain the CPU usage of virtualized network elements in the network element pool;
    若所述虚拟化网元的CPU占用率超过预设阈值,则根据预设的弹性策略,进行扩容。If the CPU usage of the virtualized network element exceeds a preset threshold, the capacity expansion is performed according to a preset elasticity strategy.
  27. 根据权利要求25所述的网络设备,其中,所述处理器还用于:The network device according to claim 25, wherein the processor is further configured to:
    查询订阅列表;Query subscription list;
    若所述订阅列表中包括所述第一网元,则执行向所述第一网元发送通知消息的步骤。If the first network element is included in the subscription list, the step of sending a notification message to the first network element is performed.
  28. 根据权利要求22至27中任一项所述的网络设备,其中,所述通知消息包含所述网元池的标识。The network device according to any one of claims 22 to 27, wherein the notification message includes an identifier of the network element pool.
  29. 一种网络设备,所述网络设备为虚拟化网络功能VNF,包括:A network device, the network device is a virtualized network function VNF, including:
    第二发送模块,用于向第一网元发送通知消息,其中,所述通知消息用于指示网元池内网元的容量变化信息;其中,所述网元池包括至少两个虚拟化网元,或者,所述网元池包括至少一个虚拟化网元和至少一个物理网元。A second sending module, configured to send a notification message to the first network element, wherein the notification message is used to indicate the capacity change information of the network element in the network element pool; Or, the network element pool includes at least one virtualized network element and at least one physical network element.
  30. 根据权利要求29所述的网络设备,其中,所述通知消息包含所述网元池的标识。The network device according to claim 29, wherein the notification message includes an identifier of the network element pool.
  31. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6、7至13中 任一项所述的网元负载均衡方法的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the network element according to any one of claims 1 to 6, 7 to 13 is realized The steps of the load balancing method.
PCT/CN2019/110760 2018-10-22 2019-10-12 Network element load balancing method and network device WO2020083051A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811229086.X 2018-10-22
CN201811229086.XA CN111082954B (en) 2018-10-22 2018-10-22 Network element load balancing method and network equipment

Publications (1)

Publication Number Publication Date
WO2020083051A1 true WO2020083051A1 (en) 2020-04-30

Family

ID=70309671

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110760 WO2020083051A1 (en) 2018-10-22 2019-10-12 Network element load balancing method and network device

Country Status (2)

Country Link
CN (1) CN111082954B (en)
WO (1) WO2020083051A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785793A (en) * 2022-03-15 2022-07-22 浪潮云信息技术股份公司 Elastic expansion load balancing method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824577B (en) * 2020-06-19 2023-08-15 中国移动通信有限公司研究院 Information processing method, related network equipment and storage medium
CN114040448B (en) * 2021-12-01 2022-11-18 广州爱浦路网络技术有限公司 Base station load balancing method, system, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107104835A (en) * 2017-04-25 2017-08-29 广东工业大学 The dynamic modification method and system of a kind of virtualization SAE GW weights
US20180063741A1 (en) * 2015-03-13 2018-03-01 Intel IP Corporation Mme overload or underload mitigation by mme vnf apparatus and method
CN108287746A (en) * 2017-01-09 2018-07-17 大唐移动通信设备有限公司 It is a kind of to the virtual resource dilatation of EPC network elements or the method and device of capacity reducing

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924737A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Subscribing method and system of user data and related equipment
CN101998512B (en) * 2009-08-20 2013-06-19 中国移动通信集团公司 Load equalization method among MSC (Mobile Switching Center) pools, MSC and system
CN105873114B (en) * 2015-01-21 2020-12-11 中兴通讯股份有限公司 Method for monitoring virtual network function performance and corresponding system
CN106488506B (en) * 2015-08-26 2019-06-18 中国电信股份有限公司 The mixed networking method and system of vMME and MME
CN105407057B (en) * 2015-12-07 2018-09-25 中国联合网络通信集团有限公司 A kind of method and device of load balancing
CN109075995A (en) * 2016-05-11 2018-12-21 英特尔Ip公司 The device that performance measurement data for NFV performance management is subscribed to
CN108075914B (en) * 2016-11-15 2020-06-16 中国移动通信有限公司研究院 Dynamic capacity expansion and reduction method and network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180063741A1 (en) * 2015-03-13 2018-03-01 Intel IP Corporation Mme overload or underload mitigation by mme vnf apparatus and method
CN108287746A (en) * 2017-01-09 2018-07-17 大唐移动通信设备有限公司 It is a kind of to the virtual resource dilatation of EPC network elements or the method and device of capacity reducing
CN107104835A (en) * 2017-04-25 2017-08-29 广东工业大学 The dynamic modification method and system of a kind of virtualization SAE GW weights

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
INTEL ET AL.: "pCR MME Overload Mitigation by MME VNF Procedure", 3GPP TSG SA WG5 (TELECOM MANAGEMENT) MEETING #101 S5-153338, 29 May 2015 (2015-05-29), XP050982078, DOI: 20191218160828A *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785793A (en) * 2022-03-15 2022-07-22 浪潮云信息技术股份公司 Elastic expansion load balancing method and system

Also Published As

Publication number Publication date
CN111082954A (en) 2020-04-28
CN111082954B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
CN109600768B (en) Method, device and system for managing network slices
US20200228990A1 (en) Network resource deployment method and device, and network resource assessment method and device
US20200367154A1 (en) Method and apparatus for providing a virtual network function in a network
JP5759024B2 (en) System and method for restoring a session at a geographically redundant gateway
GB2588981A (en) Network slice instance quality of experience
WO2020083051A1 (en) Network element load balancing method and network device
US20220338106A1 (en) Slice control method and apparatus
US10616930B2 (en) Communication data processing method, apparatus, and system
CN109150808B (en) Communication method, device and system
US11757748B2 (en) Policy determining method, system, and apparatus
WO2017166252A1 (en) Service node selection and query method, apparatus and system
US10986537B2 (en) Method of selecting user plane gateway and device of selecting user plane gateway
WO2022052875A1 (en) Terminal cross-region communication method, network element device, and storage medium
US20230098362A1 (en) Background Data Transfer Policy Formulation Method, Apparatus, and System
KR20200088441A (en) Request processing method and corresponding entity
KR20220030291A (en) Service continuity implementation method, related devices and systems
US10225191B2 (en) Service packet distribution method and apparatus
US11943835B2 (en) Communication method and communications apparatus for PC5 V2X
US20230371098A1 (en) Communication method, apparatus, and system
WO2017215487A1 (en) Method and apparatus for transmitting sgwu address, mme, and sgsn
US11974355B2 (en) Indication information sending method, apparatus and system, and storage medium
CN112910662B (en) Method, device and medium for reporting and receiving and reporting traffic information
WO2023137750A1 (en) Method for slice resource release
CA3156347A1 (en) Communication method, apparatus, and system

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: 19876469

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19876469

Country of ref document: EP

Kind code of ref document: A1