WO2006133630A1 - A method for selecting a servicing node according to load status - Google Patents

A method for selecting a servicing node according to load status Download PDF

Info

Publication number
WO2006133630A1
WO2006133630A1 PCT/CN2006/001229 CN2006001229W WO2006133630A1 WO 2006133630 A1 WO2006133630 A1 WO 2006133630A1 CN 2006001229 W CN2006001229 W CN 2006001229W WO 2006133630 A1 WO2006133630 A1 WO 2006133630A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
load
lcdn
load level
resource pool
Prior art date
Application number
PCT/CN2006/001229
Other languages
French (fr)
Chinese (zh)
Inventor
Sihong Zhou
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2006133630A1 publication Critical patent/WO2006133630A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/088Load balancing or load distribution among core 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/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

Definitions

  • the present invention relates to load balancing techniques, and more particularly to a method of selecting service nodes based on load conditions. Background of the invention
  • the Node B node B 2 node B n is the same kind of node, that is, a node capable of achieving the same function, n nodes
  • node B constitutes a node resource pool, and node B provides communication services for user terminals.
  • the network side may further include the node A, so that the user terminal can establish a service connection with the node B through the node A to obtain the corresponding service.
  • Any node B in the node resource pool can provide services for a certain user terminal, but the service performed by the user terminal can only be provided by one node B.
  • the node A can select a node B as a service node of the user terminal for the user terminal in the node resource pool; if there is a signaling interface between each node B in the node resource pool, Node B selects a Node B as the service node of the user terminal for the user terminal in the node resource pool.
  • the methods for selecting the Node B for the user terminal in the node resource pool are as follows: 1. Random selection, that is, randomly selecting a Node B for the user terminal in the node resource pool; 2. Statically selecting, that is, configuring the user terminal and Corresponding relationship between each node B in the node resource pool, selecting the node B for the user terminal according to the configured correspondence relationship; 3. Round-robin selection, that is, sorting numbers for each node B in the node resource pool, each time selecting for the user terminal When serving a node, one node B is selected according to the sequence number; fourth, the user ID (User-ID) is used as the user.
  • the terminal selects the service node, that is, sorts the number of each node B in the node resource pool, and selects the user-ID Mode n node B for the user terminal, where Mode is a modulo operation.
  • a typical application of the above-mentioned node resource pool is a core network (CN, Core Network) node pool in a Wideband Code Division Multiple Access (WCDMA) network, and the foregoing node A can be regarded as a radio access network (RAN, Radio Access).
  • RAN Radio Access
  • Network node
  • node B can be regarded as a CN node.
  • the RAN node can be connected to multiple CN nodes to form a many-to-many correspondence.
  • the RAN node can be a Radio Network Controller (RC) or a Base Station Controller (BSC).
  • RC Radio Network Controller
  • BSC Base Station Controller
  • MSC Mobile Switching Centre
  • SGSN General Pack radio service support node
  • the concept of the pool area is proposed in the 3GPP standard.
  • the pool area refers to the area covered by multiple RAN nodes.
  • the CN node serving the user terminal may not change, thus avoiding the change of the CN node.
  • the resulting location update process is performed to reduce signaling interactions between CN nodes.
  • a pool area is usually served in parallel by multiple CN nodes, and of course can also be served by a CN node.
  • these CN nodes form a CN node pool, such as an MSC pool or an SGSN pool.
  • a CN node pool can serve multiple pool areas at the same time, that is, one CN node pool can correspond to multiple pool areas.
  • each CN node in the CN node pool is assigned one or more network resource identifiers (RI, Network Resource Identifier), and configure the assigned NRI in the CN node through operation and maintenance. Used to identify different CN nodes in a pool of CN nodes.
  • TMSI Temporary Mobile Subscriber Identity
  • P-TMSI Packet Temporary Mobile Subscriber Identity
  • the NRI having a variable length of 0 to 10 bits is located from the 23rd bit to the 14th bit of the TMSI/P-TMSI.
  • the TMSI is allocated by the CN node of the circuit domain, that is, the MSC, to the user terminal; the P-TMSI is allocated by the CN node of the packet domain, that is, the SGSN for the user terminal.
  • the actual effective bit length of the NI in TMSI/P-TMSI depends on the network plan and can be configured through the Operation and Maintenance Center (OMC).
  • OMC Operation and Maintenance Center
  • each CN node is configured with a correspondence between the NRI and other CN nodes.
  • the CN node that serves the user that is, the service CN node carries the NRL of the service CN node in the TMSI/P-TMSI allocated to the user terminal in the pool area, and the user terminal establishes each time
  • the RAN node routes the initial NAS message to the CN node corresponding to the NRI according to the NRI.
  • the user terminal can use the same CN node in a pool area. It can be seen that the RAN node selects the CN node for the user terminal according to the user identifier, that is, the K I included in the TMSI/P-TMSI.
  • the network resource capacity can be greatly improved by adopting the node resource pool, which is embodied in: 1. If a node fails, other nodes in the node resource pool can be used to continue to provide services; Upcoming overload, some user terminals in the node can be transferred to other nodes in the node resource pool; 3. If the maintenance service (0&M) needs to stop the service provided by a node externally, other nodes in the node resource pool can be selected. Continue to provide external services; Fourth, if a new node is added to the node resource pool, Transfer some user terminals to the newly added node quickly enough.
  • the node resource pool which is embodied in: 1. If a node fails, other nodes in the node resource pool can be used to continue to provide services; Upcoming overload, some user terminals in the node can be transferred to other nodes in the node resource pool; 3. If the maintenance service (0&M) needs to stop the service provided by a node externally, other nodes in the node resource pool can be selected. Continue to
  • the node resource pool has the advantage of load sharing, and the key to implementing load sharing is to be able to select a service node for the user terminal according to the load of each node in the node resource pool.
  • both node A and node B can select the service node B for the user terminal according to the load of each node B in the node resource pool. Therefore, these nodes performing the selection function can be referred to as load control decision nodes.
  • an object of the present invention is to provide a method for selecting a service node according to a load condition, so that the load of each node in the node resource pool is more balanced.
  • the present invention provides a method for selecting a service node according to a load condition.
  • Each node in a node resource pool divides a load level according to a load, and a load corresponds to a load level, and the current load of each node corresponds to a load.
  • the method consists of the following steps:
  • the load control decision node LCDN obtains the load level of each node in the node resource pool;
  • the LCDN determines a selection probability corresponding to each node according to a load level of each node;
  • the LCDN selects a service node for the user terminal according to the determined selection probability.
  • the step A further includes the step AO: the node in the node resource pool sends a load information message carrying the current load level of the current node to the LCDN.
  • the step AO further includes the step A01: the LCDN sends a load information request to the node in the node resource pool.
  • the LCDN performs the step A01, and further includes: the LCDN starts the load request timer, and waits to receive the load information message sent by the node in step AO. If the load request timer expires, the LCDN receives the step AO. The load information message sent by the node stops the load request timer; if the load request timer expires and the LCDN does not receive the load information message sent by the node in step AO, the LCDN sends the load information to the node in step AO again. request.
  • the load information request carries an LCDN identifier for identifying the LCDN.
  • the step AO further includes: the LCDN returning a load information response to the node in the step AO.
  • the method further includes: the node starts the load response timer, and waits to receive the load information response returned by the LCDN. If the node receives the load information response returned by the LCDN before the load response timer expires, the load is stopped. Response timer; if the load response timer expires and the node does not receive the load information response returned by the LCDN, the node again sends a load information message carrying the current load level of the node to the LCDN.
  • the load information message further carries: a node identifier, or a new node indication for identifying whether the node is a newly added node in the node resource pool, or an O-M indication for identifying whether the node needs to be operated and maintained, or any of the above The combination.
  • the load information message When the load information message carries the O&M indication, the load information message further carries: a time interval, which is used to indicate that the load information message is sent to perform a maintenance operation. The time interval between.
  • the step AO further includes the step A02: the node in the node resource pool detects that the load level of the node changes.
  • the method further includes: starting the load timer, after the load timer expires, the step AO further includes the step A021: the node determines whether the load information message needs to be sent to the LCDN, and if yes, performing the step AO; Otherwise, the load information message is not sent to the LCDN, and the flow of the present invention is ended.
  • the step A021 is: the node first determines whether the current load level is the same as the load level when the load timer is started. If the current load level is the same as the load level when the load timer is started, step AO is performed; if the current load level is started If the load level of the load timer is different, it is determined whether the current load level is the same as the load level before the load timer is started. If the same, the node does not send a load information message to the LCDN, and the process of the present invention ends; Then, the step AO is performed; or: the node determines whether the current load level is the same as the load level before starting the timer. If the same, the node does not send a load information message to the LCDN, and ends the process of the present invention; if not, executes Step A0.
  • the step B includes the following steps:
  • Bl and LCDN sort the nodes in the node resource pool according to the load level of the node, and accumulate the load levels of the nodes;
  • the LCDN determines the selection probability corresponding to each node according to the accumulated result obtained in step B1 and the load level of each node, and the lower the selection probability according to the higher the load.
  • the node resource pool includes m nodes. The higher the load level of the node is, the larger the current load of the node is.
  • the step B1 is: LCDN according to the load level corresponding to the node, the nodes in the node resource pool are The order in which the load level is increased or decreased is sorted and the sequence number is written, and the load levels of the nodes are accumulated;
  • the step B2 is: LCDN Divide the load level of each node by the accumulated result obtained in step B1, and divide the result of the division as the intermediate probability of each node, and then exchange the intermediate probability of the two nodes whose sum of the node numbers is m+1, LCDN The intermediate probability after the interchange is taken as the final selection probability of each node.
  • the overload threshold is set in the LCDN, and the LCDN sets the selection probability of the node whose load level is greater than or equal to the overload threshold to 0.
  • the m nodes do not include nodes whose load level is greater than or equal to the overload threshold.
  • one load level represents the 1/k load of the node full load, and the increased load level of the node indicates that the load of the node increases.
  • the node resource pool includes m nodes. The higher the load level of the node is, the smaller the current load of the node is.
  • the step B1 is: LCDN according to the load level corresponding to the node, the nodes in the node resource pool are The order in which the load level is increased or decreased is sorted and sequenced, and the load levels of the nodes are accumulated;
  • the step B2 is: LCDN divides the load level of each node by the accumulated result obtained in step B1, and divides The result is the probability of selection for each node.
  • the overload threshold is set in the LCDN, and the LCDN sets the selection probability of the node whose load level is not greater than the overload threshold to 0, and the m nodes do not include the node D whose load level is not greater than the overload threshold.
  • 1 load level represents the 1/k load of the node full load, and the increased load level of the node indicates that the load of the node is reduced.
  • LCDN randomly orders nodes with the same load level, or sorts according to node processing power and capacity.
  • the LCDN directly sets the selection probability of the node that needs to be operated and maintained to 0.
  • the m nodes do not include nodes in the node resource pool that need to be operated and maintained.
  • the method further includes: the LCDN sets the selection probability of the newly added node to the maximum selection probability in the original node, or increases the node's maximum selection probability.
  • the selection probability is set to a value greater than the maximum selection probability in the original node, and the remaining selection probability is assigned to each original node according to the steps B1 and B2, and the remaining selection probability is 1 and the selection probability of the newly added node difference.
  • the value of setting the selection probability of the newly added node to be greater than the maximum selection probability in the original node LCDN sets a weighting coefficient, and if the weighting coefficient is a decimal, the selection probability of the newly added node is 1 and the sum of the decimals The product of the maximum selection probability in the original node. If the weighting coefficient is an integer, the sum of 1 and the integer is divided by the result of the integer, and the product of the largest selection probability in the original node; or a fixed probability is configured in the LCDN. The selection probability of the newly added node is the sum of the maximum selection probability and the fixed probability in the original node.
  • the node resource pool includes m nodes
  • the step C further includes: the LCDN divides m intervals in a range of 0 to 1 according to the determined selection probability, and the interval corresponds to the node, and the length of each interval corresponds to the node. Selecting the probability; the step C is: the LCDN generates a random fraction, determines the interval to which the random fraction belongs, and selects a node corresponding to the interval as the serving node of the user terminal.
  • the method further includes: when the difference between the highest load level and the lowest load level is greater than or equal to the set transition threshold, the LCDN transfers some of the user terminals in the highest load node to the node with the lower load, Step C.
  • the load of each node in the node resource pool is evenly divided into more than one load level, and the current load status of each node corresponds to a load level.
  • the LCDN determines the selection probability of each node in the node resource pool according to the acquired load level of each node in the node resource pool, and selects the service node for the user terminal according to the selection probability. In this way, the LCDN determines a higher selection probability for nodes with lower load in the node resource pool, so that the load of each node in the node resource pool is more balanced.
  • the load level is used as an indicator for measuring the load of the node in the present invention, so that the measurement of the node load is simpler and more effective.
  • the invention also provides a process for transmitting load information. The detailed description enables the LCD to timely acquire the current load status of each node in the node resource pool, and makes the transmission of load information more reasonable and effective.
  • the corresponding node provides the current load level to the LCDN, so that the LCDN can dynamically determine the selection probability of each node according to the load level of each node in the node resource pool.
  • Figure 1 shows a schematic diagram of a node resource pool
  • FIG. 2 is a schematic diagram showing a load information transmission process in the present invention
  • Figure 3 shows a flow chart for selecting a service node based on load conditions in the present invention. Mode for carrying out the invention
  • each node in the node resource pool divides the load level according to the load, and one load corresponds to one load level.
  • the load of each node in the node resource pool is evenly divided into more than one load level, and the current load of each node.
  • the status corresponds to a load level.
  • the LCDN determines the selection probability of each node in the node resource pool according to the load level of each node in the obtained node resource pool, and selects the service node for the user terminal according to the selection probability.
  • the factors determining the load in the prior art include one or more of the following: CPU (Central Processing Unit) occupancy rate, including the number of user terminals that activate user terminals and online user terminals, signaling and services The flow rate, the occupation of memory resources, and so on, the methods and indicators for evaluating the load of node devices produced by different manufacturers are very different.
  • the load level is used as the only indicator of the load of the comprehensive evaluation node.
  • the load of the node is evenly divided into k load levels, and one load level represents 1/k of the full load of the node, and the current load status of the node is represented by the load level, each The current load status of a node corresponds to a load level.
  • the load of a node is evenly divided into 8 load levels, 1 load level represents 1/8 of the full load of the node, and when the node is half loaded, its load level is 4, and the load level when the node is unloaded can be set to 0.
  • the load level increases as the load on the node increases.
  • the load level at the full load of the node is set to 8.
  • the load level at the node no load can also be set to 8.
  • the load level increases with the load on the node.
  • the load level at node full load is set to zero.
  • the above-mentioned no-load does not mean that there is no user terminal in the node, but the load of the node is the lowest; full load does not mean that the load in the node has reached 100%, but the load of the node is the highest.
  • the load level of node 1 and node 2 is 2, load level For the two nodes, the current load should be close to 1/4 of the full load.
  • the load level calculation method can be corrected by the maintenance operation.
  • the maintenance load is used to modify the load factor. Weighted value.
  • Each node in the node resource pool can report its own load information to the LCDN actively or passively.
  • the specific implementation process is shown in Figure 2:
  • Step 201 The LCDN sends a load information request (Loading Information REQ) to the node in the node resource pool, and requests the corresponding node to provide current load information to the node.
  • the load request timer may be started, and then wait for the current load information returned by the corresponding node; if the LCDN does not receive the current load information returned by the corresponding node until the load request timer expires, the LCDN may The load information request is sent to the corresponding node again.
  • the specific structure of the load information request is described in Table 1.
  • LCDN-ID M LCDN identification, if the RAN node is LCDN, the parameter is RAN-ID; if the CN node is LCDN, the parameter is CN-IDo Table 1 load information request structure
  • M is a mandatory parameter carried in the load information request.
  • LCDN sends a load information request to the node in the node resource pool, which is described in detail below.
  • the load request period is set in the LCDN. When each load request period expires, the LCDN sends a load information request to the node in the node resource pool.
  • the load request period can be for the entire node resource pool or for a single node in the node resource pool. If the load request period is for the entire node resource pool, when a load request period expires, the LCDN sends a load information request to each node in the node resource pool, and the LCDN can broadcast to each node in the node resource pool by broadcast. Load information request.
  • the LCDN sends a load information request to the corresponding node, and at this time, the LCD resource pool can be set for the node.
  • the load request period of each node in the middle is for a single node in the node resource pool.
  • a node in the node resource pool does not provide its load information to the LCDN within the set time range.
  • the set time range differs from the load request period in case one in that the time range can be relatively large. Value.
  • the LCDN has just been put into use, taking the CN node pool serving the pool area as an example. If the RAN node is used as the LCDN, after the new RAN node is added to the pool area, the load information request is sent to each CN node in the pool area; If the CN node is used as the LCDN, after the new CN node is added to the CN node pool, a load information request is sent to each CN node in the pool area.
  • Step 202 Each node in the node resource pool sends a load information message (Load Information) to the LCDN, where the load information message carries load information and status information, where the load information is the current load level of the node.
  • Load Information a load information message
  • the load response timer can be started, and then wait for the load information response returned by the LCDN; If the node does not receive the load information response returned by the LCDN until the load response timer expires, the node may again send a load information message to the LCDN.
  • M is a mandatory parameter carried in the load information message.
  • 0 indicates an optional parameter carried in the load information message.
  • the nodes in the node resource pool send load information messages to the LCDN, which are described in detail below.
  • the node in the node resource pool After receiving the load information request sent by the LCDN, the node in the node resource pool sends a load information message to the LCDN in response to the load information request, where the load information message carries the current load level of the corresponding node.
  • a new node is added to the node resource pool. After the node is started, a load information message will be sent to the LCDN. Because it is a newly added node, the load information message carries the The current load level of the node is 0. If the load information message also carries a new node indication, the new node indicates that the corresponding node will be identified as a newly added node in the node resource pool. For example, when the new node indicates 1, the corresponding node indicates The node is a newly added node in the node resource pool, and the original node in the node resource pool can set the new node indication carried in the load information message sent to the LCDN to 0.
  • the node in the node resource pool periodically sends a load information message to the LCDN, where the load information message carries the current load level of the corresponding node.
  • the corresponding node sends a load information message to the LCDN, where the load information message carries the current load level of the corresponding node.
  • the corresponding node sends a load information message to the LCDN.
  • the load information message carries the O&M indication that the identity node will perform the maintenance operation. For example, when the 0 or M indicates 1, the corresponding information indicates The node performs maintenance operations, and the load information message also carries the current load level of the corresponding node.
  • the node is required to cancel the O&M operation on the node that performs operation and maintenance.
  • the corresponding node sends a load information message to the LCDN.
  • the load information message carries the O&M indication that the identity node will cancel the maintenance operation. For example, when the O&M indicates 0, the corresponding node will The maintenance operation is cancelled.
  • the load information message also carries the current load level of the corresponding node.
  • Step 203 After receiving the load information message, the LCDN returns a load information response (Loading Information ACK) to the corresponding node, and notifies the corresponding node that the load information and status information sent by the corresponding node have been received.
  • Loading Information ACK Loading Information
  • LCDN-ID M LCDN identification, if the RAN node is LCDN, the parameter is RAN-ID; if the CN node is LCDN, the parameter is CN-ID Table 3 load information response structure
  • M represents the mandatory parameter carried in the response of the load information.
  • the LCDN stops the load request timer.
  • the node If the node initiates a load response timer after transmitting a load information message to the LCDN, and receives a load information response returned by the LCDN before the load response timer expires, the node stops the load response timer.
  • the LCDN may obtain one or more of the following load information and status information by using the load information message: a unique identifier of the node; a current load level of the node; A new node indication indicating whether the corresponding node is a newly added node in the node resource pool; indicating that the node is to perform a maintenance operation with an O&M indication, for example, a node is identified by 1 to perform a maintenance operation, and a node identifying by 0 does not need to perform a maintenance operation or Cancel the maintenance operation, the LCDN can no longer select the node that needs to perform operation and maintenance as the service node of the user terminal, and can further transfer the user terminal in the node that needs to perform the maintenance operation to other nodes in the node resource pool; The interval between the load information message and the execution of the maintenance operation. When the O&M indicates 1, the parameter can be carried in the load information message.
  • steps 201, 202, and 203 shown in FIG. 2 are not necessarily all performed, but the various steps described above may be omitted, for example, only the execution may be omitted. Step 202 to step 203, or only steps 201 to 202 are performed.
  • the node in the node resource pool can send a load information message carrying the current load level to the LCDN when the current load level is changed, so as to avoid the node in the node resource pool frequently going to the LCDN due to load fluctuation.
  • Send a load information message The node can start the load timer when the load level change is detected. After the load timer expires, the node can first determine whether the current load level is the same as the load level when the load timer is started, if the current load level and the start load timing When the load level is the same, it is determined that the load level has changed, and the node sends a load information message to the LCDN.
  • the node If the current load level is different from the load level when the load timer is started, it is determined whether the current load level is the same as the load level before the load level is changed before the load timer is started, and if they are the same, it is determined to be The load fluctuates, the node does not send a load information message to the LCDN; if not, it determines that the load level changes, and the node sends a load information message to the LCDN. In addition, after the load timer expires, the node can also directly determine whether the current load level is the same as the load level before starting the timer. If the same, it determines that the load is fluctuating, and the node does not send a load information message to the LCDN; if not, Then it is determined that the load level has changed, and the node sends a load information message to the LCDN.
  • the node starts the load timer when it detects that the load level changes to 5.
  • the current load level of the node is j. If j is still 4, it is determined that the load level when the load timer is started is changed to load fluctuation, and the node does not send a load information message to the LCDN; if j is not 4, it is determined that the load level does change, the node The LCDN transmits a load information message, and at this time, even if j is not 5, it indicates that the load level has changed.
  • the LCDN determines the selection probability of each node in the node resource pool according to the current load level of each node in the obtained node resource pool, and selects a service node for the user terminal according to the selection probability.
  • the specific implementation process is as shown in FIG. 3:
  • Step 301 The LCDN acquires the load level of each node in the node resource pool.
  • the specific process can be implemented by the load information transmission process described in FIG. 2, and each node in the node resource pool can actively provide the current load level to the LCDN, for example, a node. When the current load level changes, this can reduce the interaction between the LCDN and each node in the node resource pool;
  • the LCDN is provided with its current load level ij according to the request of the LCDN.
  • Step 302 to step 303 The LCDN accumulates the load levels of the nodes in the node resource pool, and then determines the selection probability of each node according to the accumulated result and the load level of each node.
  • Step 304 The LCDN selects a service node for the user terminal according to the determined selection probability.
  • the LCD and the LCDN no longer select the node as the serving node of the user terminal, that is, the selection probability of the node is determined to be 0, until the node sends the cancel operation.
  • the new load information message indicated by the maintenance of O&M If the new node indicates that the corresponding node is a newly added node in the node resource pool, the LCDN may select the corresponding node as the service node of all user terminals for a period of time, and re-determine the selection of each node in the node resource pool after a period of time. Probability; or LCDN sets the selection probability of the newly added node to be relatively high, and re-determines the selection probability of the original nodes in the node resource pool.
  • One implementation manner of the present invention is: uniformly dividing the load of each node in the node resource pool into k load levels, k being an integer greater than 1, and one load level indicating a 1/k load of the node full load, the node's The current load status is represented by the load level, the current load status of each node corresponds to one load level, and the increase of the node load level indicates that the load of the corresponding node increases.
  • the node resource pool includes m nodes, and m is an integer greater than 1.
  • the LCDN sorts the m nodes according to the current load level of each node acquired, and sorts the numbers according to the order of the nodes.
  • the LCDN can sort the m nodes according to the increase of the load level, or sort according to the decrease of the load level. The following is an example of sorting according to the increase of the load level.
  • the order of the load level is basically the same as the implementation of the load level. Narration.
  • the LCD can sort the m nodes in the node resource pool according to the increase of the load level. For example, the node with the lowest load level has a sequence number of 1, the node with the second lowest load level has a sequence number of 2, and so on, the load level. The highest node has the serial number m. If more than one node in the node resource pool has the same load level, the LCDN can arbitrarily or randomly order the nodes, that is, which node is in the front position, that is, where the serial number is smaller, and which node is in the rear, that is, the serial number is larger.
  • the position of the LCDN can also be sorted according to the processing capacity and capacity of each node with the same load level, that is, the nodes with larger processing capacity and capacity are ranked first, that is, the serial number is smaller. Position, the smaller nodes such as processing capacity and capacity are placed in the back, that is, the position with larger serial number.
  • the intermediate probability corresponding to each node in the node resource pool can be seen in Table 4.
  • the LCDN After determining the intermediate probability of the m nodes in the node resource pool, the LCDN exchanges the intermediate probability of the node with the sequence number 1 with the intermediate probability of the node with the sequence number m, and the intermediate probability of the node with the sequence number 2 and the sequence number is m-
  • the intermediate probability of the node of 1 is interchanged, and so on, the intermediate probability of the node with the sequence number i is exchanged with the intermediate probability of the node with the sequence number m+1-i, and the intermediate probability of the LCDN is used as the corresponding node.
  • the final selection probability which shows that the load level is the most
  • the LCDN exchanges the intermediate probability according to the principle that the sum of the two node numbers is m+1 according to the principle that the sum of the two node numbers is m+1, so that the two-two interchange of the intermediate probability can be completed; if m is an odd number, then Except for the node with the sequence number (m+l)/2, the LCDN can search for the node number with the sum of the serial numbers of the remaining nodes as m + i, that is, the LCDN can all the remaining nodes according to the sum of the two node numbers.
  • the principle of +1 interchanges the intermediate probability, but for the node number (m+l)/2, the node number with the sum of m+1 is still (m+l)/2, therefore, the interchange of intermediate probability is visible. Interchange for its own intermediate probability.
  • the selection probability of the newly put-on node may be set as the selection probability of the node with the node number 1 or set. What is the probability of selection for a node with a node number of 1? : althoughLarger, for example, if the weighting coefficient K is configured in the LCDN, for example, the weighting coefficient K is a decimal, then the LCDN is the selection probability determined by the newly used node?
  • is P m X (1+K), and for example, the weighting coefficient K If it is an integer, the selection probability P determined by the LCDN for the newly used node is Pm x (l+K) / K; for example, the fixed probability P flxed is configured in the LCDN , and the LCDN is the selection probability P determined by the newly used node. With P m +P fixed . After determining the selection probability P new of the newly used node, LCDN re-determines the selection probability of the original nodes in the node resource pool, that is, assigns the remaining selection probability 1-P new to the node resource pool.
  • the selection probability can be determined for the newly used nodes according to the above principles, as long as the sum of the selection probabilities of the existing nodes in the node resource pool is 1 can be.
  • Another implementation manner of the present invention is: uniformly dividing the load of each node in the node resource pool into k load levels, one load level indicating 1/k of the full load of the node, and the current load status of the node by the load level It is indicated that the current load status of each node corresponds to one load level, and the increase of the node load level indicates that the load of the corresponding node is reduced.
  • the node resource pool includes m nodes, and m is an integer greater than 1.
  • the LCDN sorts the m nodes according to the current load level of each node obtained, and sorts the numbers according to the order of each node.
  • the LCDN can sort the m nodes according to the increase of the load level, or sort according to the reduction of the load level.
  • the following is an example of the order of the load level.
  • the order of the load level is basically the same as that of the load level, and is not described here.
  • the LCDN can sort the m nodes in the node resource pool according to the increase of the load level. For example, the node with the lowest load level has the sequence number 1, the node with the lowest load level has the sequence number 2, and so on, the load level is the highest.
  • the node number is m. If more than one node in the node resource pool has the same load level, the LCDN can arbitrarily or randomly order the nodes, that is, which node is in the front position, that is, where the serial number is smaller, and which node is in the rear, that is, the serial number is larger.
  • the location can be; LCDN can also sort these nodes according to the overall capacity and capacity of each node with the same load level, that is, the smaller nodes with the overall capacity and capacity are ranked first, that is, the serial number is larger. Position, the smaller nodes such as the overall capacity and capacity are placed in the back, that is, the position with the larger serial number.
  • the selection probability of the newly put-on node may be set as a node.
  • the selection probability of the node with the sequence number m is set to be larger than the selection probability Pi of the node with the node number of 1, for example, the weighting coefficient K is configured in the LCDN, and if the weighting coefficient K is a decimal, the LCDN is the newly used node.
  • the determined selection probability P new is (1+K). If the weighting coefficient K is an integer, the selection probability P new determined by the LCDN for the newly used node is ?
  • the fixed probability P flxed is configured in the LCDN , and the selection probability P new determined by the LCDN for the newly used node is After determining the selection probability P new of the newly used node, the LCDN re-determines the selection probability of the original nodes in the node resource pool, and allocates the remaining selection probability 1-P new to the original nodes in the node resource pool. If multiple nodes are newly used in the node resource pool at the same time, the selection probability may be determined for the newly used node according to the above principle, as long as the sum of the selection probabilities of the existing nodes in the node resource pool is one.
  • the above description has no obvious execution order between the steps of sorting the nodes in the node resource pool according to the load level and accumulating the load levels of the nodes, and can be performed simultaneously; or performing the sorting on the nodes first, and then executing The load level is accumulated; the load level can also be accumulated first, and then the nodes are sorted.
  • the overload threshold can be further set in the LCDN, and the LCDN directly sets the selection probability of the node whose load level is greater than or equal to the overload threshold to 0, that is, the corresponding node is no longer selected as the service node of the user terminal, thus, the above m nodes do not include node resources Nodes in the source pool whose load levels are greater than or equal to the overload threshold
  • the LCDN sets the selection probability of the node that needs to perform the maintenance operation to 0, and no longer selects the corresponding node for the user terminal.
  • the m nodes described above do not include the node. The nodes in the resource pool that need to be operated and maintained.
  • the node resource pool has both a node whose load level is greater than or equal to the overload threshold and a node that needs to perform maintenance operations, and the LCDN sets the selection probability of the nodes in both cases to 0, then the above m
  • the node does not include nodes in the node resource pool whose load levels are greater than or equal to the overload threshold, and nodes that need to be operated and maintained.
  • the LCDN After determining the selection probability for each node in the node resource pool, the LCDN selects the service node for the user terminal according to the selection probability.
  • the specific implementation process may be: LCDN determines the selection probability for each node in the node resource pool, at 0 m intervals are divided into the range of 1, the i-th interval corresponds to the i-th node, and the length of each interval is the selection probability of the corresponding node, and each node in the node resource pool corresponds to one of the intervals, corresponding to In Table 5, m intervals can be divided into (0, P m ], (P m , P m + P m .
  • the LCDN When selecting a service node for the user terminal, the LCDN generates a random decimal number, determines the interval to which the random decimal belongs, and then selects the node corresponding to the interval as the service node of the user terminal. Each of the above intervals may be a closed interval. If the random number generated by the LCDN is the critical point of the two intervals, the LCDN may randomly select one of the nodes as the service node of the user terminal, The node with a relatively small load can be selected as the service node of the user terminal.
  • the LCDN determines a higher selection probability for the node with lower load in the node resource pool, and each node in the node resource pool is selected as the selection probability of the user terminal service node corresponding to the length of the corresponding interval, and the interval
  • the longer the length the greater the probability that the random number generated by the LCDN falls within the range, and the probability that the corresponding node is selected as the user terminal service node is greater; however, since the LCDN generates a random fraction, the random fraction falls. In which interval is possible, therefore, LCDN does not concentrate on selecting a node for a period of time, and thus avoids a sharp rise in the load of a node.
  • the increase of the node load level indicates that the load of the corresponding node increases.
  • the selection probability determined by the LCDN for the five nodes according to the foregoing process is shown in Table 7.
  • LCDN divides 4 intervals in the range of 0 to 1 according to the determined selection probability, (0,0.4] (0.4,0.7], (0,7,0.9], (0.9,1), and node 1 corresponds to the interval (0, 0.4), node 2 corresponds to interval (0.4, 0.7), node 3 corresponds to interval (0.7, 0.9), and node 4 corresponds to interval (0.9, 1).
  • LCDN generates random when user node selects service node Decimal V, if the random fraction V is 0.3, the LCDN determines that the random fraction 0.3 falls in the interval (0, 0.4), therefore, selects node 1 as the serving node of the user terminal.
  • the LCDN If the random fraction V generated by the LCDN is 0.7, the LCDN It is determined that the random fraction 0.7 falls within the interval (0.4, 0.7), therefore, node 2 is selected as the service node of the user terminal; if the above intervals are closed intervals, the LCDN may select node 2 as the service node of the user terminal, or may select The node 3 serves as a service node of the user terminal. Since the load of the node 2 is lower than the load of the node 3, the LCDN can select the node 2 with a lower load as the service node of the user terminal among the node 2 and the node 3. In addition, the division of each interval may not be 0 as the starting position, and the selection probability shown in Table 7 is taken as an example.
  • LCDN may divide such four intervals in the range of 0 to 1 according to the determined selection probability, [0] , 0.1], [0.1, 0.5], [0.5, 0.7], [0.7, 1], and node 1 corresponds to interval [0.1, 0.5], node 2 corresponds to interval [0.7, 1], and node 3 corresponds to interval [0.5, 0.7], node 4 corresponds to the interval [0, 0.1).
  • the case where the LCDN selects a service node for the user terminal includes but is not limited to: the user terminal accesses the node resource pool; the user terminal requests the node resource pool to provide the service service; the LCDN according to the load status of each node in the node resource pool, some or some The user terminals in the node are transferred to other nodes in the node resource pool.
  • the user terminal in the node with higher load can be transferred to the node with lower load.
  • the transition threshold can be set in the LCDN. The difference between the load level of the node with the highest load and the load level of the node with the lowest load is greater than or equal to the setting.
  • the LCDN When the threshold is shifted, that is, when the difference between the highest load level and the lowest load level is greater than or equal to the set transition threshold, the LCDN starts to transfer the user terminal in the node with the highest load to the node with the lower load, and the user is determined according to the determined selection probability.
  • the terminal selects a service node.
  • the various implementation processes described in the present invention can be applied to various node resource pools, for example, a CN node pool in the Global System for Mobile Communications (UMTS), or a Mobility Management Entity (MME) node in a SAE/LTE evolved network. Pool and User Data Surface Entity (UPE) node pool.
  • UMTS Global System for Mobile Communications
  • MME Mobility Management Entity
  • UEE User Data Surface Entity
  • the user terminal described above includes not only the user terminal device but also any network node that can be served by a node in the node resource pool.

Abstract

A method for selecting a servicing node according to load status, dividing the load of each node in node resource pool equably into more than one load levels, the current load status for each node corresponds to one load level, LCDN obtains load level for each node in node resource pool, and determines the selecting probability corresponding to each node according to the load level for each node, then selects a servicing node for the user terminal according to the determined selecting probability. Thus LCDN determines higher selecting probability for the node that has lower load in node resource pool, which enables the load for each node in the node resource pool tends toward balanced. In addition, the present invention uses load levels as the criterion weighing the node’s load, which makes the weighing to node’s load more easily and more effectively. The present invention also describes in detail the process for transferring load information, which makes LCDN can obtain the current load status for each node in time, and makes the transferring for load information more reasonably and more effectively.

Description

一种根据负载状况选择服务节点的方法 技术领域  Method for selecting service node according to load condition
本发明涉及负载平衡技术, 特别是指一种根据负载状况选择服务节 点的方法。 发明背景  The present invention relates to load balancing techniques, and more particularly to a method of selecting service nodes based on load conditions. Background of the invention
通信领域中, 能够为用户终端提供服务的同种节点有多个时, 需要 在其中选择一个节点作为用户终端的服务节点, 如图 1所示, 节点 B 节点 B2... ...节点 Bn为同种节点, 即能够实现相同功能的节点, n个节点In the communication field, when there are multiple nodes of the same type that can provide services for the user terminal, one node needs to be selected as the service node of the user terminal, as shown in FIG. 1, the Node B node B 2 node B n is the same kind of node, that is, a node capable of achieving the same function, n nodes
B组成节点资源池, 节点 B为用户终端提供通信服务。 网络侧可进一步 包括节点 A, 这样, 用户终端可通过节点 A与节点 B建立业务连接, 以 获得相应服务。节点资源池中的任何一个节点 B都可为某一用户终端提 供服务, 但用户终端每次进行的业务只能由一个节点 B提供相应服务。 B constitutes a node resource pool, and node B provides communication services for user terminals. The network side may further include the node A, so that the user terminal can establish a service connection with the node B through the node A to obtain the corresponding service. Any node B in the node resource pool can provide services for a certain user terminal, but the service performed by the user terminal can only be provided by one node B.
通常, 当用户终端请求业务时, 可由节点 A在节点资源池中为用户 终端选择一个节点 B作为用户终端的服务节点; 如果节点资源池中各节 点 B之间有信令接口,也可由某一节点 B在节点资源池中为用户终端选 择一个节点 B作为用户终端的服务节点。  Generally, when the user terminal requests a service, the node A can select a node B as a service node of the user terminal for the user terminal in the node resource pool; if there is a signaling interface between each node B in the node resource pool, Node B selects a Node B as the service node of the user terminal for the user terminal in the node resource pool.
在节点资源池中为用户终端选择节点 B的方法主要有以下几种:一、 随机选择, 即在节点资源池中随机地为用户终端选择一个节点 B; 二、 静态选择, 即配置用户终端与节点资源池中各节点 B之间的对应关系, 根据配置的对应关系为用户终端选择节点 B; 三、 轮循选择, 即为节点 资源池中的各节点 B编排序号, 每次为用户终端选择服务节点时, 依次 根据序号的顺序选择一个节点 B; 四、 根据用户标识(User-ID )为用户 终端选择服务节点, 即为节点资源池中的各节点 B编排序号, 为用户终 端选择第 (User-ID Mode n)个节点 B, 其中, Mode为取模运算。 The methods for selecting the Node B for the user terminal in the node resource pool are as follows: 1. Random selection, that is, randomly selecting a Node B for the user terminal in the node resource pool; 2. Statically selecting, that is, configuring the user terminal and Corresponding relationship between each node B in the node resource pool, selecting the node B for the user terminal according to the configured correspondence relationship; 3. Round-robin selection, that is, sorting numbers for each node B in the node resource pool, each time selecting for the user terminal When serving a node, one node B is selected according to the sequence number; fourth, the user ID (User-ID) is used as the user. The terminal selects the service node, that is, sorts the number of each node B in the node resource pool, and selects the user-ID Mode n node B for the user terminal, where Mode is a modulo operation.
以上所述节点资源池的典型应用是宽带码分多址(WCDMA ) 网络 中的核心网络(CN, Core Network )节点池, 前面所述的节点 A可视为 无线接入网絡(RAN, Radio Access Network )节点, 节点 B可视为 CN 节点。  A typical application of the above-mentioned node resource pool is a core network (CN, Core Network) node pool in a Wideband Code Division Multiple Access (WCDMA) network, and the foregoing node A can be regarded as a radio access network (RAN, Radio Access). Network ) node, node B can be regarded as a CN node.
根据第三代合作项目 ( 3GPP, 3rd Generation Partnership Project )标 准, RAN节点可与多个 CN节点相连, 形成多对多的对应关系。 RAN 节点可为无线网络控制器(R C, Radio Network Controller )或基站控 制器( BSC , Basic Station Controller )。 电路域的 CN节点为移动交换中 心 (MSC, Mobile Switching Centre ), 分组域的 CN节点为服务通用分 组无线业务支持节点 (SGSN, Serving GPRS Support Node )0 According to the 3rd Generation Partnership Project (3GPP) standard, the RAN node can be connected to multiple CN nodes to form a many-to-many correspondence. The RAN node can be a Radio Network Controller (RC) or a Base Station Controller (BSC). CN node CS domain for the mobile switching center (MSC, Mobile Switching Centre), CN packet switched domain for the node serving general packet radio service support node (SGSN, Serving GPRS Support Node) 0
3GPP标准中提出了池区域的概念, 池区域是指多个 RAN节点覆盖 的区域, 用户终端在池区域中漫游时, 为该用户终端提供服务的 CN节 点可不改变, 这样能够避免由于 CN节点改变而导致的位置更新流程的 执行, 减少 CN节点之间的信令交互。  The concept of the pool area is proposed in the 3GPP standard. The pool area refers to the area covered by multiple RAN nodes. When the user terminal roams in the pool area, the CN node serving the user terminal may not change, thus avoiding the change of the CN node. The resulting location update process is performed to reduce signaling interactions between CN nodes.
一个池区域通常由多个 CN节点并行地提供服务, 当然也可由一个 CN节点提供服务。 一个池区域由多个 CN节点并行地提供服务时, 这 些 CN节点就组成了一个 CN节点池, 例如 MSC池或 SGSN池。 一个 CN节点池可同时为多个池区域提供服务, 即一个 CN节点池可与多个 池区域相对应。  A pool area is usually served in parallel by multiple CN nodes, and of course can also be served by a CN node. When a pool area is served by multiple CN nodes in parallel, these CN nodes form a CN node pool, such as an MSC pool or an SGSN pool. A CN node pool can serve multiple pool areas at the same time, that is, one CN node pool can correspond to multiple pool areas.
以全球移动通信系统 ( UMTS , Universal Mobile Telecommunications System )为例, 为了在一个 CN节点池中唯一标识一个 CN节点 , CN节 点池中的每个 CN节点分配有一个或多个网络资源标识( RI, Network Resource Identifier ), 并通过操作维护将分配的 NRI配置在 CN节点中, 用以标识一个 CN节点池中的不同 CN节点。 当 CN节点为用户终端分 配临时移动用户标识( TMSI, Temporary Mobile Subscriber Identity )或 分组临时移动用户标识(P-TMSI, Packet Temporary Mobile Subscriber Identity )时, 在 TMSI/P-TMSI中插入该 CN节点的 NRI。 可变长度为 0 至 10比特(bits ) 的 NRI位于 TMSI/P-TMSI的第 23比特位至第 14比 特位。 TMSI是由电路域的 CN节点、即 MSC为用户终端分配的; P-TMSI 是由分组域的 CN节点、 即 SGSN为用户终端分配的。 TMSI/P-TMSI中 N I 的实际有效比特长度取决于网络规划, 并可通过操作维护中心 ( OMC , Operation and Maintenance Centre )进行配置。 Taking the Universal Mobile Telecommunications System (UMTS) as an example, in order to uniquely identify a CN node in a CN node pool, each CN node in the CN node pool is assigned one or more network resource identifiers (RI, Network Resource Identifier), and configure the assigned NRI in the CN node through operation and maintenance. Used to identify different CN nodes in a pool of CN nodes. When the CN node allocates a Temporary Mobile Subscriber Identity (TMSI) or a Packet Temporary Mobile Subscriber Identity (P-TMSI) to the user terminal, the CN node is inserted in the TMSI/P-TMSI. NRI. The NRI having a variable length of 0 to 10 bits is located from the 23rd bit to the 14th bit of the TMSI/P-TMSI. The TMSI is allocated by the CN node of the circuit domain, that is, the MSC, to the user terminal; the P-TMSI is allocated by the CN node of the packet domain, that is, the SGSN for the user terminal. The actual effective bit length of the NI in TMSI/P-TMSI depends on the network plan and can be configured through the Operation and Maintenance Center (OMC).
一个池区域的每个 RAN节点中配置有 CN节点池中 NRI与各 CN 节点之间的对应关系。 CN节点池中, 每个 CN节点中配置有 NRI与其 它 CN节点之间的对应关系。  The correspondence between the NRI in the CN node pool and each CN node is configured in each RAN node of a pool area. In the CN node pool, each CN node is configured with a correspondence between the NRI and other CN nodes.
用户终端进入池区域时, 为其提供服务的 CN节点, 即服务 CN节 点在为用户终端分配的 TMSI/P-TMSI中携带该服务 CN节点的 NRL在 该池区域中, 用户终端每次建立到 CN 节点的非接入层 (NAS, Non-Access Stratum )连接时, RAN节点根据 NRI将初始 NAS消息路由 至对应于 NRI的 CN节点。 这样, 可使用户终端在一个池区域内使用同 一个 CN节点。 由此可见 , RAN节点是根据用户标识, 即 TMSI/P-TMSI 中包含的 K I来为用户终端选择 CN节点的。  When the user terminal enters the pool area, the CN node that serves the user, that is, the service CN node carries the NRL of the service CN node in the TMSI/P-TMSI allocated to the user terminal in the pool area, and the user terminal establishes each time When the non-access stratum (NAS, Non-Access Stratum) of the CN node is connected, the RAN node routes the initial NAS message to the CN node corresponding to the NRI according to the NRI. In this way, the user terminal can use the same CN node in a pool area. It can be seen that the RAN node selects the CN node for the user terminal according to the user identifier, that is, the K I included in the TMSI/P-TMSI.
网络建设中, 通过采用节点资源池的方式可大大提升网络的运营能 力, 具体体现在: 一、 如果某个节点故障, 可使用节点资源池中的其它 节点继续提供服务; 二、 如果某个节点即将过载, 可将该节点中的部分 用户终端转移至节点资源池中的其它节点; 三、 如果由于维护操作 ( 0&M )需要停止某个节点对外提供的服务,可选择节点资源池中的其 它节点继续对外提供服务; 四、 如果节点资源池中增加了新的节点, 能 够快速地将一些用户终端转移至该新增节点。 In the network construction, the network resource capacity can be greatly improved by adopting the node resource pool, which is embodied in: 1. If a node fails, other nodes in the node resource pool can be used to continue to provide services; Upcoming overload, some user terminals in the node can be transferred to other nodes in the node resource pool; 3. If the maintenance service (0&M) needs to stop the service provided by a node externally, other nodes in the node resource pool can be selected. Continue to provide external services; Fourth, if a new node is added to the node resource pool, Transfer some user terminals to the newly added node quickly enough.
通过以上描述可见, 节点资源池具有负载分担的优点, 而实现负载 分担的关键在于能够根据节点资源池中的各节点的负载, 来为用户终端 选择服务节点。如图 1中所示,节点 A和节点 B都能够根据节点资源池 中各节点 B的负载, 来为用户终端选择服务节点 B, 因此, 可将执行选 择功能的这些节点称为负载控制决策节点( LCDN, Load Controlling and Deciding Node )0 如果节点 B的选择是由节点 A来执行, 则 LCDN位于 节点 A; 如果节点 B的选择是由节点 B来执行, 则 LCDN位于节点 节点资源池中的节点会向 LCDN提供负载信息, LCDN在节点资源 池中为用户终端选择服务节点时, 将优先选择当前负载最低的节点作为 用户终端的服务节点。 这样, LCDN在节点资源池中为用户终端选择服 务节点时, 仅仅简单地选择当前负载最低的节点, 但是, 如果短时间内 有大量用户终端接入网络, 则会由于只选择当前负载最低的节点作为用 户终端的服务节点, 而使相应节点的负载急剧升高, 甚至过载; 而且简 单地选择负载最低的节点, 根本无法使节点资源池中的各节点的负载趋 于平衡。 发明内容 As can be seen from the above description, the node resource pool has the advantage of load sharing, and the key to implementing load sharing is to be able to select a service node for the user terminal according to the load of each node in the node resource pool. As shown in FIG. 1, both node A and node B can select the service node B for the user terminal according to the load of each node B in the node resource pool. Therefore, these nodes performing the selection function can be referred to as load control decision nodes. (LCDN, Load Controlling and Deciding Node) 0 If the selection of Node B is performed by Node A, the LCDN is located at Node A; If the selection of Node B is performed by Node B, the LCDN is located at the node of the node node resource pool. The load information is provided to the LCDN. When the LCDN selects a service node for the user terminal in the node resource pool, the node with the lowest current load is preferentially selected as the service node of the user terminal. In this way, when the LCDN selects a serving node for the user terminal in the node resource pool, it simply selects the node with the lowest current load. However, if a large number of user terminals access the network in a short time, only the node with the lowest current load is selected. As the service node of the user terminal, the load of the corresponding node is sharply increased, even overloaded; and simply selecting the node with the lowest load cannot make the load of each node in the node resource pool tend to be balanced. Summary of the invention
有鉴于此, 本发明的目的在于提供一种根据负载状况选择服务节点 的方法, 使节点资源池内各节点的负载更加趋于平衡。  In view of this, an object of the present invention is to provide a method for selecting a service node according to a load condition, so that the load of each node in the node resource pool is more balanced.
为了达到上述目的, 本发明提供了一种根据负载状况选择服务节点 的方法, 节点资源池中各节点按负载划分负载级别, 一种负载对应一个 负载级别, 每个节点的当前负载对应在一个负载级别上, 该方法包含以 下步骤:  In order to achieve the above object, the present invention provides a method for selecting a service node according to a load condition. Each node in a node resource pool divides a load level according to a load, and a load corresponds to a load level, and the current load of each node corresponds to a load. At the level, the method consists of the following steps:
A、负载控制决策节点 LCDN获取节点资源池中各节点的负载级别; B、 LCDN根据各节点的负载级别, 确定对应于各节点的选择概率;A. The load control decision node LCDN obtains the load level of each node in the node resource pool; B. The LCDN determines a selection probability corresponding to each node according to a load level of each node;
C、 LCDN根据确定的选择概率为用户终端选择服务节点。 C. The LCDN selects a service node for the user terminal according to the determined selection probability.
所述步骤 A之前进一步包括步骤 AO:节点资源池中的节点向 LCDN 发送携带有本节点当前负载级别的负载信息消息。  The step A further includes the step AO: the node in the node resource pool sends a load information message carrying the current load level of the current node to the LCDN.
所述步骤 AO之前进一步包括步骤 A01 : LCDN向节点资源池中的 节点发送负载信息请求。  The step AO further includes the step A01: the LCDN sends a load information request to the node in the node resource pool.
LCDN执行所述步驟 A01的同时, 进一步包括: LCDN启动负载请 求定时器, 并等待接收步骤 AO中所述节点发送的负载信息消息, 如果 负载请求定时器超时前, LCDN收到步骤 AO中所述节点发送的负载信 息消息, 则停止负载请求定时器; 如果负载请求定时器超时, LCDN未 收到步骤 AO中所述节点发送的负载信息消息,则 LCDN再次向步骤 AO 中所述节点发送负载信息请求。  The LCDN performs the step A01, and further includes: the LCDN starts the load request timer, and waits to receive the load information message sent by the node in step AO. If the load request timer expires, the LCDN receives the step AO. The load information message sent by the node stops the load request timer; if the load request timer expires and the LCDN does not receive the load information message sent by the node in step AO, the LCDN sends the load information to the node in step AO again. request.
所述负载信息请求中携带有用于标识 LCDN的 LCDN标识。  The load information request carries an LCDN identifier for identifying the LCDN.
所述步骤 AO之后进一步包括: LCDN向步骤 AO中所述节点返回负 载信息响应。  The step AO further includes: the LCDN returning a load information response to the node in the step AO.
节点执行所述步驟 AO的同时, 进一步包括: 节点启动负载响应定 时器, 并等待接收 LCDN返回的负载信息响应, 如果负载响应定时器超 时前, 节点收到 LCDN返回的负载信息响应, 则停止负载响应定时器; 如果负载响应定时器超时, 节点未收到 LCDN返回的负载信息响应, 则 节点再次向 LCDN发送携带有本节点当前负载级别的负载信息消息。  When the node performs the step AO, the method further includes: the node starts the load response timer, and waits to receive the load information response returned by the LCDN. If the node receives the load information response returned by the LCDN before the load response timer expires, the load is stopped. Response timer; if the load response timer expires and the node does not receive the load information response returned by the LCDN, the node again sends a load information message carrying the current load level of the node to the LCDN.
所述负载信息消息中进一步携带有: 节点标识, 或用于标识节点是 否为节点资源池中新增加的节点的新节点指示, 或用于标识节点是否需 要进行操作维护的 0&M指示, 或以上任意的组合。  The load information message further carries: a node identifier, or a new node indication for identifying whether the node is a newly added node in the node resource pool, or an O-M indication for identifying whether the node needs to be operated and maintained, or any of the above The combination.
所述负载信息消息中携带有 0&M指示时, 所述负载信息消息中进 一步携带有: 时间间隔, 用于指示从发送负载信息消息到执行维护操作 之间的时间间隔。 When the load information message carries the O&M indication, the load information message further carries: a time interval, which is used to indicate that the load information message is sent to perform a maintenance operation. The time interval between.
所述步骤 AO之前进一步包括步骤 A02: 节点资源池中的节点检测 到本节点的负载级别发生改变。  The step AO further includes the step A02: the node in the node resource pool detects that the load level of the node changes.
节点执行所述步骤 A02的同时, 进一步包括: 启动负载定时器, 负 载定时器超时后, 所述步骤 AO之前进一步包括步骤 A021 : 节点判断是 否需要向 LCDN发送负载信息消息, 如果是, 则执行步骤 AO; 否则, 不向 LCDN发送负载信息消息, 结束本发明流程。  When the node performs the step A02, the method further includes: starting the load timer, after the load timer expires, the step AO further includes the step A021: the node determines whether the load information message needs to be sent to the LCDN, and if yes, performing the step AO; Otherwise, the load information message is not sent to the LCDN, and the flow of the present invention is ended.
所述步驟 A021 为: 节点首先判断当前负载级别与启动负载定时器 时的负载级别是否相同, 如果当前负载级别与启动负载定时器时的负载 级别相同, 则执行步骤 AO; 如果当前负载级别与启动负载定时器时的 负载级别不相同, 则继续判断当前负载级别与启动负载定时器前的负载 级别是否相同, 如果相同, 则该节点不向 LCDN发送负载信息消息, 结 束本发明流程; 如果不相同, 则执行步骤 AO; 或为: 节点判断当前负 载级别与启动定时器前的负载级别是否相同, 如果相同, 则该节点不向 LCDN发送负载信息消息, 结束本发明流程; 如果不相同, 则执行步骤 A0。  The step A021 is: the node first determines whether the current load level is the same as the load level when the load timer is started. If the current load level is the same as the load level when the load timer is started, step AO is performed; if the current load level is started If the load level of the load timer is different, it is determined whether the current load level is the same as the load level before the load timer is started. If the same, the node does not send a load information message to the LCDN, and the process of the present invention ends; Then, the step AO is performed; or: the node determines whether the current load level is the same as the load level before starting the timer. If the same, the node does not send a load information message to the LCDN, and ends the process of the present invention; if not, executes Step A0.
所述步骤 B包括以下步骤:  The step B includes the following steps:
Bl、 LCDN根据节点的负载级别, 将节点资源池中的各节点排序编 号, 并且将各节点的负载级别进行累加;  Bl and LCDN sort the nodes in the node resource pool according to the load level of the node, and accumulate the load levels of the nodes;
B2、 LCDN根据步骤 B1得到的累加结果和各节点的负载级别, 并 根据负载越高选择概率越低的原则, 确定对应于各节点的选择概率。  B2. The LCDN determines the selection probability corresponding to each node according to the accumulated result obtained in step B1 and the load level of each node, and the lower the selection probability according to the higher the load.
节点资源池中包括 m个节点, 节点的所述负载级别越高, 该节点的 当前负载越大, 所述步骤 B1为: LCDN根据对应于节点的负载级别, 将节点资源池中的各节点按照负载级别升高或降低的顺序进行排序并 编写序号, 并且将各节点的负载级别进行累加; 所述步骤 B2为: LCDN 将各节点的负载级別除以步骤 Bl得到的累加结果, 将相除的结果作为 各节点的中间概率,然后将所有节点序号之和为 m+1的两个节点的中间 概率互换, LCDN将互换后的中间概率作为各节点的最终选择概率。 The node resource pool includes m nodes. The higher the load level of the node is, the larger the current load of the node is. The step B1 is: LCDN according to the load level corresponding to the node, the nodes in the node resource pool are The order in which the load level is increased or decreased is sorted and the sequence number is written, and the load levels of the nodes are accumulated; the step B2 is: LCDN Divide the load level of each node by the accumulated result obtained in step B1, and divide the result of the division as the intermediate probability of each node, and then exchange the intermediate probability of the two nodes whose sum of the node numbers is m+1, LCDN The intermediate probability after the interchange is taken as the final selection probability of each node.
LCDN中设置过载门限, LCDN将负载级别大于或等于过载门限的 节点的选择概率设置为 0, 所述 m个节点不包括负载级别大于或等于过 载门限的节点。  The overload threshold is set in the LCDN, and the LCDN sets the selection probability of the node whose load level is greater than or equal to the overload threshold to 0. The m nodes do not include nodes whose load level is greater than or equal to the overload threshold.
如果有 k个负载级别 ,则 1个负载级别表示节点满负载的 1/k负载, 节点的所述负载级别升高表示该节点的负载增大。  If there are k load levels, then one load level represents the 1/k load of the node full load, and the increased load level of the node indicates that the load of the node increases.
节点资源池中包括 m个节点, 节点的所述负载级别越高, 该节点的 当前负载越小, 所述步骤 B1为: LCDN根据对应于节点的负载级别, 将节点资源池中的各节点按照负载级別升高或降低的顺序进行排序并 编写序号, 并且将各节点的负载级别进行累加; 所述步骤 B2为: LCDN 将各节点的负载级别除以步骤 Bl得到的累加结果, 将相除的结果作为 各节点的选择概率。  The node resource pool includes m nodes. The higher the load level of the node is, the smaller the current load of the node is. The step B1 is: LCDN according to the load level corresponding to the node, the nodes in the node resource pool are The order in which the load level is increased or decreased is sorted and sequenced, and the load levels of the nodes are accumulated; the step B2 is: LCDN divides the load level of each node by the accumulated result obtained in step B1, and divides The result is the probability of selection for each node.
LCDN中设置过载门限, LCDN将负载级别不大于过载门限的节点 的选择概率设置为 0, 所述 m个节点不包括负载级别不大于过载门限的 节点 D The overload threshold is set in the LCDN, and the LCDN sets the selection probability of the node whose load level is not greater than the overload threshold to 0, and the m nodes do not include the node D whose load level is not greater than the overload threshold.
如果有 k个负载级别,则 1个负载级别表示节点满负载的 1/k负载, 节点的所述负载级别升高表示该节点的负载降低。  If there are k load levels, then 1 load level represents the 1/k load of the node full load, and the increased load level of the node indicates that the load of the node is reduced.
LCDN将负载级别相同的节点随机排序, 或按照节点处理能力和容 量进行排序。  LCDN randomly orders nodes with the same load level, or sorts according to node processing power and capacity.
LCDN直接将需要进行操作维护的节点的选择概率设置为 0, 所述 m个节点不包括节点资源池中需要进行操作维护的节点。  The LCDN directly sets the selection probability of the node that needs to be operated and maintained to 0. The m nodes do not include nodes in the node resource pool that need to be operated and maintained.
资源节点池中新增加节点时, 该方法进一步包括: LCDN将新增加 节点的选择概率设置为原有节点中的最大选择概率, 或将新增加节点的 选择概率设置为大于原有节点中最大选择概率的值,并按照所述步骤 B1 和步驟 B2将剩余选择概率分配给各原有节点, 所述剩余选择概率为 1 与新增加节点的选择概率的差。 When a node is newly added in the resource node pool, the method further includes: the LCDN sets the selection probability of the newly added node to the maximum selection probability in the original node, or increases the node's maximum selection probability. The selection probability is set to a value greater than the maximum selection probability in the original node, and the remaining selection probability is assigned to each original node according to the steps B1 and B2, and the remaining selection probability is 1 and the selection probability of the newly added node difference.
所述将新增加节点的选择概率设置为大于原有节点中的最大选择概 率的值为: LCDN设置加权系数, 如果该加权系数为小数, 则新增加节 点的选择概率为 1与该小数的和与原有节点中最大选择概率的乘积, 如 果该加权系数为整数, 则 1与该整数的和除以该整数的结果, 与原有节 点中最大选择概率的乘积; 或 LCDN中配置固定概率, 新增加节点的选 择概率为原有节点中最大选择概率与该固定概率的和。  The value of setting the selection probability of the newly added node to be greater than the maximum selection probability in the original node: LCDN sets a weighting coefficient, and if the weighting coefficient is a decimal, the selection probability of the newly added node is 1 and the sum of the decimals The product of the maximum selection probability in the original node. If the weighting coefficient is an integer, the sum of 1 and the integer is divided by the result of the integer, and the product of the largest selection probability in the original node; or a fixed probability is configured in the LCDN. The selection probability of the newly added node is the sum of the maximum selection probability and the fixed probability in the original node.
节点资源池中包括 m个节点, 所述步骤 C之前进一步包括: LCDN 根据确定的选择概率, 在 0至 1的范围内划分 m个区间, 区间与节点相 对应, 每个区间的长度对应节点的选择概率; 所述步骤 C为: LCDN生 成随机小数, 确定该随机小数所属区间, 选择与该区间相对应的节点作 为用户终端的服务节点。  The node resource pool includes m nodes, and the step C further includes: the LCDN divides m intervals in a range of 0 to 1 according to the determined selection probability, and the interval corresponds to the node, and the length of each interval corresponds to the node. Selecting the probability; the step C is: the LCDN generates a random fraction, determines the interval to which the random fraction belongs, and selects a node corresponding to the interval as the serving node of the user terminal.
LCDN中设置转移门限, 该方法进一步包括: 最高负载级别与最低 负载级别之差大于或等于设置的转移门限时, LCDN将负载最高的节点 中的部分用户终端转移至负载较低的节点 , 执行所述步骤 C。  Setting a transition threshold in the LCDN, the method further includes: when the difference between the highest load level and the lowest load level is greater than or equal to the set transition threshold, the LCDN transfers some of the user terminals in the highest load node to the node with the lower load, Step C.
根据本发明提出的方法 , 将节点资源池中各节点的负载均匀地划分 为一个以上的负载级别, 每个节点的当前负载状况对应于一个负载级 别。 LCDN根据获取到的节点资源池中各节点的负载级别, 确定节点资 源池中各节点的选择概率, 根据该选择概率为用户终端选择服务节点。 这样, LCDN为节点资源池中负载较低的节点确定较高的选择概率, 使 得节点资源池内各节点的负载更加趋于平衡。  According to the method proposed by the present invention, the load of each node in the node resource pool is evenly divided into more than one load level, and the current load status of each node corresponds to a load level. The LCDN determines the selection probability of each node in the node resource pool according to the acquired load level of each node in the node resource pool, and selects the service node for the user terminal according to the selection probability. In this way, the LCDN determines a higher selection probability for nodes with lower load in the node resource pool, so that the load of each node in the node resource pool is more balanced.
另外, 本发明中采用负载级别作为衡量节点负载的指标, 使得对节 点负载的衡量更为简单、 有效。 本发明中还对负载信息的传送过程提供 了详细描述,使得 LCD 能够及时获取到节点资源池中各节点的当前负 载状况, 并且使得负载信息的传送更为合理、 有效。 在节点的负载级别 发生改变时,相应节点向 LCDN提供当前负载级别,使得 LCDN能够根 据节点资源池中各节点的负载级别动态地确定各节点的选择概率。 附图简要说明 In addition, the load level is used as an indicator for measuring the load of the node in the present invention, so that the measurement of the node load is simpler and more effective. The invention also provides a process for transmitting load information. The detailed description enables the LCD to timely acquire the current load status of each node in the node resource pool, and makes the transmission of load information more reasonable and effective. When the load level of the node changes, the corresponding node provides the current load level to the LCDN, so that the LCDN can dynamically determine the selection probability of each node according to the load level of each node in the node resource pool. BRIEF DESCRIPTION OF THE DRAWINGS
图 1示出了节点资源池示意图;  Figure 1 shows a schematic diagram of a node resource pool;
图 2示出了本发明中负载信息传送过程示意图;  2 is a schematic diagram showing a load information transmission process in the present invention;
图 3示出了本发明中根据负载状况选择服务节点流程图。 实施本发明的方式  Figure 3 shows a flow chart for selecting a service node based on load conditions in the present invention. Mode for carrying out the invention
为使本发明的目的、 技术方案和优点更加清楚, 下面结合附图对本 发明作进一步的详细描述。  In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings.
本发明中, 节点资源池中各节点按负载划分负载级别, 一种负载对 应一个负载级别, 比如将节点资源池中各节点的负载均匀地划分为一个 以上的负载级别,每个节点的当前负载状况对应于一个负载级别。 LCDN 根据获取到的节点资源池中各节点的负载級别, 确定节点资源池中各节 点的选择概率, 根据该选择概率为用户终端选择服务节点。  In the present invention, each node in the node resource pool divides the load level according to the load, and one load corresponds to one load level. For example, the load of each node in the node resource pool is evenly divided into more than one load level, and the current load of each node. The status corresponds to a load level. The LCDN determines the selection probability of each node in the node resource pool according to the load level of each node in the obtained node resource pool, and selects the service node for the user terminal according to the selection probability.
现有技术中确定负载的因素包括以下所述中的一种或几种: 中央处 理器(CPU, Central Processing Unit ) 占用率, 包括激活用户终端和在 线用户终端的用户终端数量,信令和业务流量, 内存资源的占用, 等等, 不同厂家生产的节点设备评估负载的方法和指标存在很大差异。 本发明 中, 将负载级别作为综合评价节点的负载的唯一指标。  The factors determining the load in the prior art include one or more of the following: CPU (Central Processing Unit) occupancy rate, including the number of user terminals that activate user terminals and online user terminals, signaling and services The flow rate, the occupation of memory resources, and so on, the methods and indicators for evaluating the load of node devices produced by different manufacturers are very different. In the present invention, the load level is used as the only indicator of the load of the comprehensive evaluation node.
本发明中将节点的负载均匀地划分为 k个负载级别, 1个负载级别 表示节点满负载的 1/k, 节点的当前负载状况由负载级别来表示, 每个 节点的当前负载状况对应于一个负载级别。 例如, 将节点的负载均匀地 划分为 8个负载级别, 1个负载级别表示节点满负载的 1/8, 节点半负载 时其负载级别为 4, 可将节点空载时的负载级别设置为 0, 负载级别随 着该节点负载的升高而升高, 节点满负载时的负载级别设置为 8, 也可 将节点空载时的负载级别设置为 8, 负载级别随着该节点负载的升高而 降低, 节点满负载时的负载级别设置为 0。 以上所述的空载并非表示该 节点中没有用户终端, 而是指该节点的负载最低; 满载也并非表示该节 点中的负载已经达到 100%, 而是指该节点的负载最高。 In the present invention, the load of the node is evenly divided into k load levels, and one load level represents 1/k of the full load of the node, and the current load status of the node is represented by the load level, each The current load status of a node corresponds to a load level. For example, the load of a node is evenly divided into 8 load levels, 1 load level represents 1/8 of the full load of the node, and when the node is half loaded, its load level is 4, and the load level when the node is unloaded can be set to 0. The load level increases as the load on the node increases. The load level at the full load of the node is set to 8. The load level at the node no load can also be set to 8. The load level increases with the load on the node. Instead, the load level at node full load is set to zero. The above-mentioned no-load does not mean that there is no user terminal in the node, but the load of the node is the lowest; full load does not mean that the load in the node has reached 100%, but the load of the node is the highest.
在多个厂家生产的节点并存的情况下, 为使相同负载级别在不同节 点中能够表示相同或相近的负载, 如设置 8个负载级别, 节点 1和节点 2的负载级别均为 2, 负载级别为 2在这两个节点中应表示当前负载接 近满负载的 1/4, 可根据各节点运行的实际经验, 通过维护操作对负载 级别计算方法进行修正,例如,通过维护操作修改各负载因素的加权值。  In the case where nodes produced by multiple manufacturers coexist, in order to enable the same load level to represent the same or similar load in different nodes, such as setting 8 load levels, the load level of node 1 and node 2 is 2, load level For the two nodes, the current load should be close to 1/4 of the full load. According to the actual experience of each node operation, the load level calculation method can be corrected by the maintenance operation. For example, the maintenance load is used to modify the load factor. Weighted value.
节点资源池中的各节点可主动或被动地将自身负载信息上报至 LCDN, 具体实现过程如图 2所示:  Each node in the node resource pool can report its own load information to the LCDN actively or passively. The specific implementation process is shown in Figure 2:
步骤 201: LCDN向节点资源池中的节点发送负载信息请求( Loading Information REQ ), 请求相应节点向其提供当前负载信息。 LCDN向节 点发送负载信息请求后, 可启动负载请求定时器, 然后等待相应节点返 回的当前负载信息; 如果直至负载请求定时器超时, LCDN都没有收到 相应节点返回的当前负载信息,则 LCDN可再次向相应节点发送负载信 息请求。 负载信息请求的具体结构参见表一的描述。  Step 201: The LCDN sends a load information request (Loading Information REQ) to the node in the node resource pool, and requests the corresponding node to provide current load information to the node. After the LCDN sends a load information request to the node, the load request timer may be started, and then wait for the current load information returned by the corresponding node; if the LCDN does not receive the current load information returned by the corresponding node until the load request timer expires, the LCDN may The load information request is sent to the corresponding node again. The specific structure of the load information request is described in Table 1.
参数名称 可选 /必选 参数含义  Parameter Name Optional / Required Parameter Meaning
LCDN-ID M LCDN的标识, 如果 RAN节点作为 LCDN, 则 该参数为 RAN-ID; 如果 CN节点作为 LCDN, 则该参数为 CN-IDo 表一 负载信息请求结构 LCDN-ID M LCDN identification, if the RAN node is LCDN, the parameter is RAN-ID; if the CN node is LCDN, the parameter is CN-IDo Table 1 load information request structure
其中: M表示负载信息请求中携带的必选参数 Where: M is a mandatory parameter carried in the load information request.
以下几种情况 , LCDN会向节点资源池中的节点发送负载信息请求, 下面进行详细描述。  In the following cases, LCDN sends a load information request to the node in the node resource pool, which is described in detail below.
一、 LCDN 中设置有负载请求周期, 每个负载请求周期到期时, LCDN向节点资源池中的节点发送负载信息请求。 该负载请求周期可针 对整个节点资源池, 也可针对节点资源池中的单个节点。 如果负载请求 周期是针对整个节点资源池的, 则在一个负载请求周期到期时, LCDN 向节点资源池中的各节点发送负载信息请求, LCDN可通过广播方式向 节点资源池中的各节点发送负载信息请求。 如果负载请求周期是针对节 点资源池中的单个节点的, 则在针对某个节点的一个负载请求周期到期 时, LCDN向相应节点发送负载信息请求, 此时, LCDN中可设置针对 节点资源池中各节点的负载请求周期。  1. The load request period is set in the LCDN. When each load request period expires, the LCDN sends a load information request to the node in the node resource pool. The load request period can be for the entire node resource pool or for a single node in the node resource pool. If the load request period is for the entire node resource pool, when a load request period expires, the LCDN sends a load information request to each node in the node resource pool, and the LCDN can broadcast to each node in the node resource pool by broadcast. Load information request. If the load request period is for a single node in the node resource pool, when a load request period for a certain node expires, the LCDN sends a load information request to the corresponding node, and at this time, the LCD resource pool can be set for the node. The load request period of each node in the middle.
二、节点资源池中的某个节点在设定时间范围内未向 LCDN提供其 负载信息, 该设定的时间范围与情况一中负载请求周期的不同之处在 于, 该时间范围可为比较大的值。  2. A node in the node resource pool does not provide its load information to the LCDN within the set time range. The set time range differs from the load request period in case one in that the time range can be relatively large. Value.
三、 LCDN刚刚投入使用 , 以为池区域提供服务的 CN节点池为例 , 如果 RAN节点作为 LCDN, 则新的 RAN节点增加到池区域以后, 会向 池区域中的各 CN节点发送负载信息请求; 如果 CN节点作为 LCDN, 则新的 CN节点增加到 CN节点池以后, 会向池区域中的各 CN节点发 送负载信息请求。  3. The LCDN has just been put into use, taking the CN node pool serving the pool area as an example. If the RAN node is used as the LCDN, after the new RAN node is added to the pool area, the load information request is sent to each CN node in the pool area; If the CN node is used as the LCDN, after the new CN node is added to the CN node pool, a load information request is sent to each CN node in the pool area.
步驟 202: 节点资源池中的各节点向 LCDN发送负载信息消息 ( Loading Information ),该负载信息消息中携带有负载信息和状态信息, 其中的负载信息为节点的当前负载级别。节点向 LCDN发送负载信息消 息后, 可启动负载响应定时器, 然后等待 LCDN返回的负载信息响应; 如果直至负载响应定时器超时,节点都没有收到 LCDN返回的负载信息 响应, 则节点可再次向 LCDN发送负载信息消息。 负载信息消息的具体 Step 202: Each node in the node resource pool sends a load information message (Load Information) to the LCDN, where the load information message carries load information and status information, where the load information is the current load level of the node. After the node sends a load information message to the LCDN, the load response timer can be started, and then wait for the load information response returned by the LCDN; If the node does not receive the load information response returned by the LCDN until the load response timer expires, the node may again send a load information message to the LCDN. Load information message specific
Figure imgf000014_0001
Figure imgf000014_0001
表二 负载信息消息结构  Table 2 Load information message structure
其中: M表示负载信息消息中携带的必选参数  Where: M is a mandatory parameter carried in the load information message.
0表示负载信息消息中携带的可选参数  0 indicates an optional parameter carried in the load information message.
以下几种情况, 节点资源池中的节点会向 LCDN发送负载信息消 息, 下面进行详细描述。  In the following cases, the nodes in the node resource pool send load information messages to the LCDN, which are described in detail below.
一、节点资源池中的节点收到 LCDN发送的负载信息请求后,响应 该负载信息请求而向 LCDN发送负载信息消息,该负载信息消息中携带 有相应节点的当前负载级别。  After receiving the load information request sent by the LCDN, the node in the node resource pool sends a load information message to the LCDN in response to the load information request, where the load information message carries the current load level of the corresponding node.
二、 节点资源池中增加了新的节点, 该节点启动以后, 将向 LCDN 发送负载信息消息, 由于是新增加的节点, 该负载信息消息中携带的该 节点的当前负载级别为 0;如果该负载信息消息中还携带有新节点指示, 则新节点指示将标识出相应节点为节点资源池中新增加的节点, 例如, 新节点指示为 1时表示相应节点为节点资源池中新增加的节点, 节点资 源池中的原有节点可将向 LCDN发送的负载信息消息中携带的新节点 指示设置为 0。 2. A new node is added to the node resource pool. After the node is started, a load information message will be sent to the LCDN. Because it is a newly added node, the load information message carries the The current load level of the node is 0. If the load information message also carries a new node indication, the new node indicates that the corresponding node will be identified as a newly added node in the node resource pool. For example, when the new node indicates 1, the corresponding node indicates The node is a newly added node in the node resource pool, and the original node in the node resource pool can set the new node indication carried in the load information message sent to the LCDN to 0.
三、节点资源池中的节点周期性地向 LCDN发送负载信息消息, 该 负载信息消息中携带有相应节点的当前负载级别。  The node in the node resource pool periodically sends a load information message to the LCDN, where the load information message carries the current load level of the corresponding node.
四、 节点资源池中节点的负载级别发生改变时, 相应节点向 LCDN 发送负载信息消息, 该负载信息消息中携带有相应节点的当前负载级 别。  4. When the load level of the node in the node resource pool changes, the corresponding node sends a load information message to the LCDN, where the load information message carries the current load level of the corresponding node.
五、 由于 0&M等原因需要停止某个节点对外提供服务, 相应节点 向 LCDN发送负载信息消息,该负载信息消息中携带有标识节点将进行 维护操作的 0&M指示, 例如, 0&M指示为 1时表示相应节点将进行 维护操作, 该负载信息消息中还携带有相应节点的当前负载级别。  5. If the node needs to stop the service provided by a certain node, the corresponding node sends a load information message to the LCDN. The load information message carries the O&M indication that the identity node will perform the maintenance operation. For example, when the 0 or M indicates 1, the corresponding information indicates The node performs maintenance operations, and the load information message also carries the current load level of the corresponding node.
六、需要对进行操作维护的节点取消 0&M操作,相应节点向 LCDN 发送负载信息消息, 该负载信息消息中携带有标识节点将取消维护操作 的 0&M指示, 例如, 0&M指示为 0时表示相应节点将取消维护操作, 该负载信息消息中还携带有相应节点的当前负载级别。  The node is required to cancel the O&M operation on the node that performs operation and maintenance. The corresponding node sends a load information message to the LCDN. The load information message carries the O&M indication that the identity node will cancel the maintenance operation. For example, when the O&M indicates 0, the corresponding node will The maintenance operation is cancelled. The load information message also carries the current load level of the corresponding node.
步驟 203: LCDN收到负载信息消息后, 向相应节点返回负载信息 响应( Loading Information ACK ), 通知相应节点已收到其发送的负载信 息和状态信息。 负载信息响应的具体结构参见表三的描述。  Step 203: After receiving the load information message, the LCDN returns a load information response (Loading Information ACK) to the corresponding node, and notifies the corresponding node that the load information and status information sent by the corresponding node have been received. The specific structure of the load information response is described in Table 3.
参数名称 可选 /必选 参数含义  Parameter Name Optional / Required Parameter Meaning
LCDN-ID M LCDN的标识, 如果 RAN节点作为 LCDN, 贝 >J 该参数为 RAN-ID; 如果 CN节点作为 LCDN, 则该参数为 CN-ID 表三 负载信息响应结构 LCDN-ID M LCDN identification, if the RAN node is LCDN, the parameter is RAN-ID; if the CN node is LCDN, the parameter is CN-ID Table 3 load information response structure
其中: M表示负载信息响应中携带的必选参数 Where: M represents the mandatory parameter carried in the response of the load information.
如果 LCDN在向相应节点发送负载信息请求后, 启动了负载请求定 时器,并且 LCDN在负载请求定时器超时前收到了相应节点发送的负载 信息消息后, 则 LCDN停止负载请求定时器。  If the LCDN starts the load request timer after transmitting the load information request to the corresponding node, and the LCDN receives the load information message sent by the corresponding node before the load request timer expires, the LCDN stops the load request timer.
如果节点在向 LCDN发送负载信息消息后,启动了负载响应定时器, 并且在负载响应定时器超时前收到了 LCDN返回的负载信息响应,则该 节点停止负载响应定时器。  If the node initiates a load response timer after transmitting a load information message to the LCDN, and receives a load information response returned by the LCDN before the load response timer expires, the node stops the load response timer.
LCDN收到节点资源池中的节点发送的负载信息消息后, 可通过该 负载信息消息获取以下所述负载信息和状态信息中的一种或几种: 节点 的唯一标识; 节点的当前负载级别; 标识相应节点是否为节点资源池中 新增加的节点的新节点指示; 标识节点是否将进行维护操作的 0&M指 示, 例如, 通过 1标识节点需要进行维护操作, 通过 0标识节点不需要 进行维护操作或取消维护操作, LCDN可不再选择需要进行操作维护的 节点作为用户终端的服务节点, 而且可进一步将需要进行维护操作的节 点中的用户终端转移至节点资源池中的其他节点; 用于指示从发送负载 信息消息到执行维护操作之间的时间间隔, 当 0&M指示为 1时, 负载 信息消息中可携带该参数。  After receiving the load information message sent by the node in the node resource pool, the LCDN may obtain one or more of the following load information and status information by using the load information message: a unique identifier of the node; a current load level of the node; A new node indication indicating whether the corresponding node is a newly added node in the node resource pool; indicating that the node is to perform a maintenance operation with an O&M indication, for example, a node is identified by 1 to perform a maintenance operation, and a node identifying by 0 does not need to perform a maintenance operation or Cancel the maintenance operation, the LCDN can no longer select the node that needs to perform operation and maintenance as the service node of the user terminal, and can further transfer the user terminal in the node that needs to perform the maintenance operation to other nodes in the node resource pool; The interval between the load information message and the execution of the maintenance operation. When the O&M indicates 1, the parameter can be carried in the load information message.
在一个完整的负载信息传送过程中, 图 2中所示的步骤 201、 步骤 202和步骤 203并不是必须全部执行, 而是根椐以上描述的各种情况, 可以省略相应步骤,例如,只执行步骤 202〜步骤 203 ,或只执行步骤 201〜 步骤 202。  In a complete load information transfer process, the steps 201, 202, and 203 shown in FIG. 2 are not necessarily all performed, but the various steps described above may be omitted, for example, only the execution may be omitted. Step 202 to step 203, or only steps 201 to 202 are performed.
本发明中提出节点资源池中的节点可在检测到当前负载级别发生改 变时, 向 LCDN发送携带有当前负载级别的负载信息消息, 为避免由于 负载波动而导致节点资源池中的节点频繁向 LCDN发送负载信息消息, 节点可在检测到负载级别改变时, 启动负载定时器, 该负载定时器超时 后, 节点可首先判断当前负载級别与启动负载定时器时的负载级别是否 相同, 如果当前负载级别与启动负载定时器时的负载级别相同, 则确定 负载级别已经发生改变, 该节点向 LCDN发送负载信息消息。 如果当前 负载级別与启动负载定时器时的负载级别不相同, 则继续判断当前负载 级别与启动负载定时器前、 即检测到负载级别发生改变前的负载级别是 否相同, 如果相同, 则确定为负载波动, 该节点不向 LCDN发送负载信 息消息; 如果不相同, 则确定负载级别发生改变, 该节点向 LCDN发送 负载信息消息。 另外, 负载定时器超时后, 节点也可直接判断当前负载 级别与启动定时器前的负载级别是否相同, 如果相同, 则确定为负载波 动, 该节点不向 LCDN发送负载信息消息; 如果不相同, 则确定负载级 别发生改变, 该节点向 LCDN发送负载信息消息。 In the present invention, the node in the node resource pool can send a load information message carrying the current load level to the LCDN when the current load level is changed, so as to avoid the node in the node resource pool frequently going to the LCDN due to load fluctuation. Send a load information message, The node can start the load timer when the load level change is detected. After the load timer expires, the node can first determine whether the current load level is the same as the load level when the load timer is started, if the current load level and the start load timing When the load level is the same, it is determined that the load level has changed, and the node sends a load information message to the LCDN. If the current load level is different from the load level when the load timer is started, it is determined whether the current load level is the same as the load level before the load level is changed before the load timer is started, and if they are the same, it is determined to be The load fluctuates, the node does not send a load information message to the LCDN; if not, it determines that the load level changes, and the node sends a load information message to the LCDN. In addition, after the load timer expires, the node can also directly determine whether the current load level is the same as the load level before starting the timer. If the same, it determines that the load is fluctuating, and the node does not send a load information message to the LCDN; if not, Then it is determined that the load level has changed, and the node sends a load information message to the LCDN.
例如, 节点资源池中的某节点的负载级别由 4变化至 5, 则该节点 在检测到负载级别变化为 5时, 启动负载定时器, 负载定时器超时后, 该节点的当前负载级别为 j , 如果 j仍为 4, 则确定启动负载定时器时的 负载级别改变为负载波动, 该节点不向 LCDN发送负载信息消息; 如果 j不为 4, 则确定负载级别确实发生了改变, 该节点向 LCDN发送负载 信息消息, 此时, 即使 j不为 5, 也表示负载级别发生了改变。  For example, if the load level of a node in the node resource pool changes from 4 to 5, the node starts the load timer when it detects that the load level changes to 5. After the load timer expires, the current load level of the node is j. If j is still 4, it is determined that the load level when the load timer is started is changed to load fluctuation, and the node does not send a load information message to the LCDN; if j is not 4, it is determined that the load level does change, the node The LCDN transmits a load information message, and at this time, even if j is not 5, it indicates that the load level has changed.
LCDN根据获取到的节点资源池中各节点的当前负载级别, 确定节 点资源池中各节点的选择概率, 根据该选择概率为用户终端选择服务节 点, 具体实现过程如图 3所示:  The LCDN determines the selection probability of each node in the node resource pool according to the current load level of each node in the obtained node resource pool, and selects a service node for the user terminal according to the selection probability. The specific implementation process is as shown in FIG. 3:
步骤 301: LCDN获取节点资源池中各节点的负载级别, 具体过程 可通过图 2描述的负载信息传送过程来实现, 节点资源池中各节点可主 动向 LCDN提供其当前负载级别, 例如, 某节点的当前负载级别发生改 变时, 这样, 可减少 LCDN与节点资源池中各节点之间的交互; 也可根 据 LCDN的请求向 LCDN提供其当前负载级另 ij。 Step 301: The LCDN acquires the load level of each node in the node resource pool. The specific process can be implemented by the load information transmission process described in FIG. 2, and each node in the node resource pool can actively provide the current load level to the LCDN, for example, a node. When the current load level changes, this can reduce the interaction between the LCDN and each node in the node resource pool; The LCDN is provided with its current load level ij according to the request of the LCDN.
步骤 302〜步骤 303: LCDN将节点资源池中各节点的负载级别进行 累加求和, 然后根据累加结果和各节点的负载级别, 确定各节点的选择 概率。  Step 302 to step 303: The LCDN accumulates the load levels of the nodes in the node resource pool, and then determines the selection probability of each node according to the accumulated result and the load level of each node.
步骤 304: LCDN根据确定的选择概率为用户终端选择服务节点。 另外, 如果 0&M指示指出节点需要进行操作维护, 贝,j LCDN不再 选择该节点作为用户终端的服务节点,即将该节点的选择概率确定为 0, 直至收到该节点发送的、 携带有取消操作维护的 0&M指示的新的负载 信息消息。 如果新节点指示指出相应节点为节点资源池中新增加的节 点,则 LCDN可在一段时间内选择相应节点作为所有用户终端的服务节 点, 并在一段时间以后重新确定节点资源池中各节点的选择概率; 或 LCDN将新增加的节点的选择概率设置得比较高, 并且重新确定节点资 源池中原有各节点的选择概率。  Step 304: The LCDN selects a service node for the user terminal according to the determined selection probability. In addition, if the O&M indication indicates that the node needs to perform operation and maintenance, the LCD and the LCDN no longer select the node as the serving node of the user terminal, that is, the selection probability of the node is determined to be 0, until the node sends the cancel operation. The new load information message indicated by the maintenance of O&M. If the new node indicates that the corresponding node is a newly added node in the node resource pool, the LCDN may select the corresponding node as the service node of all user terminals for a period of time, and re-determine the selection of each node in the node resource pool after a period of time. Probability; or LCDN sets the selection probability of the newly added node to be relatively high, and re-determines the selection probability of the original nodes in the node resource pool.
下面通过举例的方式, 对本发明中根据确定的选择概率为用户终端 选择服务节点的过程作进一步描述。  The process of selecting a service node for a user terminal according to the determined selection probability according to the determined selection probability is further described below by way of example.
本发明的一种实现方式是: 将节点资源池中各节点的负载均匀地划 分为 k个负载级别, k为大于 1的整数, 1个负载级别表示节点满负载 的 1/k负载, 节点的当前负载状况由负载级别来表示, 每个节点的当前 负载状况对应于一个负载级别, 节点负载级别的升高表示相应节点的负 载增大。  One implementation manner of the present invention is: uniformly dividing the load of each node in the node resource pool into k load levels, k being an integer greater than 1, and one load level indicating a 1/k load of the node full load, the node's The current load status is represented by the load level, the current load status of each node corresponds to one load level, and the increase of the node load level indicates that the load of the corresponding node increases.
节点资源池中包括 m个节点, m为大于 1的整数, LCDN根据获取 到的各节点的当前负载级别, 对这 m个节点排序, 并按照各节点的排列 顺序编排序号。 LCDN可对这 m个节点按照负载级别的升高进行排序, 也可按照负载级别的降低进行排序。 下面仅以按照负载级别的升高排序 为例进行描述, 按照负载级别的降低排序与其实现基本一致, 在此不再 赘述。 The node resource pool includes m nodes, and m is an integer greater than 1. The LCDN sorts the m nodes according to the current load level of each node acquired, and sorts the numbers according to the order of the nodes. The LCDN can sort the m nodes according to the increase of the load level, or sort according to the decrease of the load level. The following is an example of sorting according to the increase of the load level. The order of the load level is basically the same as the implementation of the load level. Narration.
LCD 可对节点资源池中的 m个节点按照负载级別的升高进行排 序, 例如, 负载级别最低的节点的序号为 1 , 负载级别次低的节点的序 号为 2, 依此类推, 负载级别最高的节点的序号为 m。 如果节点资源池 中有一个以上的节点的负载级别相同,则 LCDN可对这些节点任意或随 机排序, 也就是说, 哪个节点在前即序号较小的位置、 哪个节点在后即 序号较大的位置都可以; LCDN也可根据负载级别相同的各节点的处理 能力、 容量等因素对这些节点排序, 也就是说, 将处理能力、 容量等较 大的节点排在靠前、 即序号较小的位置, 将处理能力、 容量等较小的节 点排在靠后、 即序号较大的位置。  The LCD can sort the m nodes in the node resource pool according to the increase of the load level. For example, the node with the lowest load level has a sequence number of 1, the node with the second lowest load level has a sequence number of 2, and so on, the load level. The highest node has the serial number m. If more than one node in the node resource pool has the same load level, the LCDN can arbitrarily or randomly order the nodes, that is, which node is in the front position, that is, where the serial number is smaller, and which node is in the rear, that is, the serial number is larger. The position of the LCDN can also be sorted according to the processing capacity and capacity of each node with the same load level, that is, the nodes with larger processing capacity and capacity are ranked first, that is, the serial number is smaller. Position, the smaller nodes such as processing capacity and capacity are placed in the back, that is, the position with larger serial number.
经过 LCDN排序后的 m个节点中的第 i(i=l,2,... ,m)个节点的负载级 另l为 Loadj , 这样 , Loadi < Load2 <… < Load(i.i) < Load; < Load(i+1)… < Loadm, 各节点中的具体负载 L与 Load的顺序相同, 也为!^ < 2 <〜 < L {i. < L < Lmo LCDN将 m个节点的负载级别进行累加, 即 Sum= Loadi+Load2+ · · · +Load;+ · · . +LoadmThe load level of the i-th (i=l, 2,...,m) nodes among the m nodes sorted by LCDN is Loadj, so Loadi < Load 2 <... < Load (i .i) <Load;< Load(i +1 )... < Load m , the specific load L in each node is the same as the order of Load, also! ^ < 2 <~ < L {i . < L < L mo LCDN accumulates the load levels of m nodes, ie Sum = Loadi + Load 2 + · · · +Load; + · · . +Load m .
LCDN将各节点的负载级别除以 Sum, 确定各节点的中间概率 即 Pi=(Loadi I Sum) ,对应于节点资源池中各节点的中间概率可参见表四。
Figure imgf000019_0001
The LCDN divides the load level of each node by Sum, and determines the intermediate probability of each node, that is, Pi=(Loadi I Sum). The intermediate probability corresponding to each node in the node resource pool can be seen in Table 4.
Figure imgf000019_0001
节点资源池中各节点的中间概率  Intermediate probability of each node in the node resource pool
LCDN确定出节点资源池中 m个节点的中间概率后,将序号为 1的 节点的中间概率与序号为 m的节点的中间概率互换,将序号为 2的节点 的中间概率与序号为 m-1的节点的中间概率互换, 依此类推, 将序号为 i的节点的中间概率与序号为 m+1-i的节点的中间概率互换, LCDN将互 换后的中间概率作为相应节点的最终选择概率, 由此可见, 负载级别最 低、 即具体负载最低的节点 1的选择概率最大, 对应于节点资源池中各 节点的选择概率可参见表五。
Figure imgf000020_0001
After determining the intermediate probability of the m nodes in the node resource pool, the LCDN exchanges the intermediate probability of the node with the sequence number 1 with the intermediate probability of the node with the sequence number m, and the intermediate probability of the node with the sequence number 2 and the sequence number is m- The intermediate probability of the node of 1 is interchanged, and so on, the intermediate probability of the node with the sequence number i is exchanged with the intermediate probability of the node with the sequence number m+1-i, and the intermediate probability of the LCDN is used as the corresponding node. The final selection probability, which shows that the load level is the most The selection probability of node 1 with low, that is, the lowest specific load is the largest, and the selection probability corresponding to each node in the node resource pool can be seen in Table 5.
Figure imgf000020_0001
节点资源池中各节点的选择概率  Selection probability of each node in the node resource pool
如果 m为偶数,则 LCDN将节点资源池中的各节点根据两个节点序 号之和为 m+1 的原则互换中间概率, 正好能够完成中间概率的两两互 换; 如果 m为奇数, 则除序号为 (m+l)/2的节点外, LCDN均能够搜索 到与其余节点的序号之和为 m+i的节点序号, 即 LCDN均能够将其余 节点根据两个节点序号之和为 m+1的原则互换中间概率,但是对于节点 序号 (m+l)/2, 与其之和为 m+1的节点序号仍为 (m+l)/2, 因此, 中间概 率的互换可视为其自身中间概率的互换。 If m is an even number, the LCDN exchanges the intermediate probability according to the principle that the sum of the two node numbers is m+1 according to the principle that the sum of the two node numbers is m+1, so that the two-two interchange of the intermediate probability can be completed; if m is an odd number, then Except for the node with the sequence number (m+l)/2, the LCDN can search for the node number with the sum of the serial numbers of the remaining nodes as m + i, that is, the LCDN can all the remaining nodes according to the sum of the two node numbers. The principle of +1 interchanges the intermediate probability, but for the node number (m+l)/2, the node number with the sum of m+1 is still (m+l)/2, therefore, the interchange of intermediate probability is visible. Interchange for its own intermediate probability.
对于在节点资源池中新投入使用的节点, 为了更多地选择该节点作 为用户终端的服务节点, 可将新投入使用的节点的选择概率设置为节点 序号为 1的节点的选择概率, 或设置得比节点序号为 1的节点的选择概 率?:„大一些, 例如, LCDN中配置加权系数 K, 例如加权系数 K为小 数, 则 LCDN为新投入使用的节点确定的选择概率?^为 Pm X (1+K), 又例如加权系数 K为整数,则 LCDN为新投入使用的节点确定的选择概 率 P 为 Pm x (l+K) / K; 再例如, LCDN中配置固定概率 Pflxed, LCDN 为新投入使用的节点确定的选择概率 P隨为 Pm+Pfixed。 确定了新投入使 用的节点的选择概率 Pnew后, LCDN重新确定节点资源池中原有各节点 的选择概率,即将剩余选择概率 1-Pnew分配给节点资源池中原有各节点。 如果同时在节点资源池中新投入使用多个节点, 则可根据以上原则适当 为新投入使用的节点确定选择概率, 只要保证节点资源池中现有各节点 的选择概率之和为 1即可。 本发明的另一种实现方式是: 将节点资源池中各节点的负载均匀地 划分为 k个负载级别, 1个负载级别表示节点满负载的 1/k, 节点的当前 负载状况由负载級别来表示, 每个节点的当前负载状况对应于一个负载 级别, 节点负载级别的升高表示相应节点的负载降低。 For a node newly put into use in the node resource pool, in order to select the node more as a service node of the user terminal, the selection probability of the newly put-on node may be set as the selection probability of the node with the node number 1 or set. What is the probability of selection for a node with a node number of 1? : „Larger, for example, if the weighting coefficient K is configured in the LCDN, for example, the weighting coefficient K is a decimal, then the LCDN is the selection probability determined by the newly used node? ^ is P m X (1+K), and for example, the weighting coefficient K If it is an integer, the selection probability P determined by the LCDN for the newly used node is Pm x (l+K) / K; for example, the fixed probability P flxed is configured in the LCDN , and the LCDN is the selection probability P determined by the newly used node. With P m +P fixed . After determining the selection probability P new of the newly used node, LCDN re-determines the selection probability of the original nodes in the node resource pool, that is, assigns the remaining selection probability 1-P new to the node resource pool. If there are multiple nodes in the node resource pool at the same time, the selection probability can be determined for the newly used nodes according to the above principles, as long as the sum of the selection probabilities of the existing nodes in the node resource pool is 1 can be. Another implementation manner of the present invention is: uniformly dividing the load of each node in the node resource pool into k load levels, one load level indicating 1/k of the full load of the node, and the current load status of the node by the load level It is indicated that the current load status of each node corresponds to one load level, and the increase of the node load level indicates that the load of the corresponding node is reduced.
节点资源池中包括 m个节点, m为大于 1的整数, LCDN根据获取 到的各节点的当前负载级别, 对这 m个节点排序, 并按照各节点的排列 顺序编排序号。 LCDN可对这 m个节点按照负载级别的升高进行排序, 也可按照负载级别的降低进行排序。 下面仅以按照负载级别的升高排序 为例进行描述, 按照负载级别的降低排序与其实现基本一致, 在此不再 赘述。  The node resource pool includes m nodes, and m is an integer greater than 1. The LCDN sorts the m nodes according to the current load level of each node obtained, and sorts the numbers according to the order of each node. The LCDN can sort the m nodes according to the increase of the load level, or sort according to the reduction of the load level. The following is an example of the order of the load level. The order of the load level is basically the same as that of the load level, and is not described here.
LCDN可对节点资源池中的 m个节点按照负载级别的升高进行排 序, 例如, 负载级别最低的节点的序号为 1, 负载级别次低的节点的序 号为 2, 依此类推, 负载级别最高的节点的序号为 m。 如果节点资源池 中有一个以上的节点的负载级别相同,则 LCDN可对这些节点任意或随 机排序, 也就是说, 哪个节点在前即序号较小的位置、 哪个节点在后即 序号较大的位置都可以; LCDN也可根据负载级别相同的各节点的整体 能力、 容量等因素对这些节点排序, 也就是说, 将整体能力、 容量等较 小的节点排在靠前、 即序号较大的位置, 将整体能力、 容量等较小的节 点排在靠后、 即序号较大的位置。  The LCDN can sort the m nodes in the node resource pool according to the increase of the load level. For example, the node with the lowest load level has the sequence number 1, the node with the lowest load level has the sequence number 2, and so on, the load level is the highest. The node number is m. If more than one node in the node resource pool has the same load level, the LCDN can arbitrarily or randomly order the nodes, that is, which node is in the front position, that is, where the serial number is smaller, and which node is in the rear, that is, the serial number is larger. The location can be; LCDN can also sort these nodes according to the overall capacity and capacity of each node with the same load level, that is, the smaller nodes with the overall capacity and capacity are ranked first, that is, the serial number is larger. Position, the smaller nodes such as the overall capacity and capacity are placed in the back, that is, the position with the larger serial number.
经过 LCDN排序后的 m个节点中的第 i(i=l,2,... ,m)个节点的负载级 另1 J为 Loadj , 这样 , Load] > Load2 > · · > Load(i.i) > Loadi > Load(i+1)… > Loadm, 各节点中的具体负载 L与 Load的顺序恰恰相反, 为 < L2 <… L(w) < Li < L(i+1)〜 < Lm。 LCDN将 m个节点的负载级别进行累加, 即 Sum= Loadi+Load2+ . · . +Load;+ ... +LoadmI m through the first node after LCDN Sequencing (i = l, 2, ... , m) other nodes load stage 1 J is Loadj, so that, Load]> Load 2> · ·> Load (i .i) > Loadi > Load ( i +1) ... > Load m , the specific load L in each node is exactly the opposite of Load, which is < L 2 <... L(w) < Li < L( i+1 ) ~ < L m . LCDN accumulates the load levels of m nodes, namely Sum=Loadi+Load 2 + . . . +Load;+ ... +Load m .
LCDN将各节点的负载级别除以 Sum, 确定各节点的选择概率 Pi, 即 Pi=(Loadi / Sum), 由此可见, 负载级别最高、 即具体负载最低的节点 1的选择概率最大,对应于节点资源池中各节点的选择概率可参见表六。
Figure imgf000022_0002
LCDN divides the load level of each node by Sum, and determines the selection probability Pi of each node. That is, Pi=(Loadi / Sum), it can be seen that the selection probability of the node 1 with the highest load level, that is, the lowest specific load is the largest, and the selection probability corresponding to each node in the node resource pool can be seen in Table 6.
Figure imgf000022_0002
表六 节点资源池中各节点的选择概率 对于在节点资源池中新投入使用的节点, 为了更多地选择该节点作 为用户终端的服务节点, 可将新投入使用的节点的选择概率设置为节点 序号为 m的节点的选择概率,或设置得比节点序号为 1的节点的选择概 率 Pi大一些,例如, LCDN中配置加权系数 K,如果加权系数 K为小数, 则 LCDN为新投入使用的节点确定的选择概率 Pnew为 (1+K), 如果 加权系数 K为整数,则 LCDN为新投入使用的节点确定的选择概率 Pnew 为? (1+ )/ 1^; 又例如, LCDN中配置固定概率 Pflxed, LCDN为新投 入使用的节点确定的选择概率 Pnew
Figure imgf000022_0001
确定了新投入使用的节 点的选择概率 Pnew后, LCDN重新确定节点资源池中原有各节点的选择 概率, 即将剩余选择概率 1-Pnew分配给节点资源池中原有各节点。 如果 同时在节点资源池中新投入使用多个节点, 则可根据以上原则适当为新 投入使用的节点确定选择概率, 只要保证节点资源池中现有各节点的选 择概率之和为 1即可。
Table 6 Selection Probability of Each Node in the Node Resource Pool For a node newly put into use in the node resource pool, in order to select the node more as the service node of the user terminal, the selection probability of the newly put-on node may be set as a node. The selection probability of the node with the sequence number m is set to be larger than the selection probability Pi of the node with the node number of 1, for example, the weighting coefficient K is configured in the LCDN, and if the weighting coefficient K is a decimal, the LCDN is the newly used node. The determined selection probability P new is (1+K). If the weighting coefficient K is an integer, the selection probability P new determined by the LCDN for the newly used node is ? (1+)/ 1^; For another example, the fixed probability P flxed is configured in the LCDN , and the selection probability P new determined by the LCDN for the newly used node is
Figure imgf000022_0001
After determining the selection probability P new of the newly used node, the LCDN re-determines the selection probability of the original nodes in the node resource pool, and allocates the remaining selection probability 1-P new to the original nodes in the node resource pool. If multiple nodes are newly used in the node resource pool at the same time, the selection probability may be determined for the newly used node according to the above principle, as long as the sum of the selection probabilities of the existing nodes in the node resource pool is one.
以上描述的将节点资源池中各节点按照负载级别进行排序与将各节 点的负载级别进行累加的步驟之间没有明显的执行顺序, 可同时执行; 也可先执行对节点进行排序, 再执行将负载级别进行累加; 还可先执行 将负载级别进行累加, 再执行对节点进行排序。  The above description has no obvious execution order between the steps of sorting the nodes in the node resource pool according to the load level and accumulating the load levels of the nodes, and can be performed simultaneously; or performing the sorting on the nodes first, and then executing The load level is accumulated; the load level can also be accumulated first, and then the nodes are sorted.
另外, 可在 LCDN中进一步设置过载门限, LCDN直接将负载级别 大于或等于过载门限的节点的选择概率设置为 0, 即相应节点不再被选 中作为用户终端的服务节点, 这样, 以上所述的 m个节点不包括节点资 源池中那些负载级别大于或等于过载门限的节点 In addition, the overload threshold can be further set in the LCDN, and the LCDN directly sets the selection probability of the node whose load level is greater than or equal to the overload threshold to 0, that is, the corresponding node is no longer selected as the service node of the user terminal, thus, the above m nodes do not include node resources Nodes in the source pool whose load levels are greater than or equal to the overload threshold
如果节点资源池中有节点需要进行维护操作, 则 LCDN将需要进行 维护操作的节点的选择概率直接设置为 0, 不再为用户终端选择相应节 点, 这样, 以上所述的 m个节点不包括节点资源池中那些需要进行操作 维护的节点。  If a node in the node resource pool needs to perform maintenance operations, the LCDN sets the selection probability of the node that needs to perform the maintenance operation to 0, and no longer selects the corresponding node for the user terminal. Thus, the m nodes described above do not include the node. The nodes in the resource pool that need to be operated and maintained.
如果节点资源池中既有负载级别大于或等于过载门限的节点, 又有 需要进行维护操作的节点,且 LCDN将这两种情况下的节点的选择概率 均设置为 0, 则以上所述 m个节点不包括节点资源池中那些负载级别大 于或等于过载门限的节点、 及需要进行操作维护的节点。  If the node resource pool has both a node whose load level is greater than or equal to the overload threshold and a node that needs to perform maintenance operations, and the LCDN sets the selection probability of the nodes in both cases to 0, then the above m The node does not include nodes in the node resource pool whose load levels are greater than or equal to the overload threshold, and nodes that need to be operated and maintained.
LCDN为节点资源池中的各节点确定了选择概率后, 将根据该选择 概率为用户终端选择服务节点, 具体实现过程可为: LCDN为节点资源 池中的各节点确定了选择概率后, 在 0至 1的范围内划分 m个区间, 第 i个区间与第 i个节点相对应, 每个区间的长度为相应节点的选择概率, 节点资源池中的每个节点与其中一个区间相对应, 对应于表五, 可将 m 个区间划分为 (0,Pm]、 (Pm, Pm+ Pm. (Pm+ Pm-1, Pm+ Pm.i+Pm-2]…… (Pm+ Pm.i+〜+ P2, 1), 并且序号为 1的节点与区间 (0, Pm]相对应, 序号为 2的 节点与区间 (Pm, Pm+ P:^]相对应,依此类推,序号为 m的节点与区间 (Pm+ Pm.i+〜+ P2, 1)相对应, 对应于表六, 可将 m个区间划分为 (Ο, Ρ!) [Pi, Pi+ P2)、 [Pi+ P2, Pi+ P2+P3)…… [Pj+ Ps+ + Pm-h 1), 并且序号为 1的节 点与区间 (0, Pi)相对应, 序号为 2的节点与区间 [P^ Pi+ P 相对应, 依 此类推, 序号为 m的节点与区间
Figure imgf000023_0001
1)相对应; 在为用户 终端选择服务节点时, LCDN生成一个随机小数, 并确定该随机小数所 属区间, 然后选择与该区间相对应的节点作为用户终端的服务节点。 以 上各区间均可为闭合区间,如果 LCDN生成的随机小数为两个区间的临 界点, 则 LCDN可随机选择其中一个节点作为用户终端的服务节点, 也 可选择负载相对较小的那个节点作为用户终端的服务节点。
After determining the selection probability for each node in the node resource pool, the LCDN selects the service node for the user terminal according to the selection probability. The specific implementation process may be: LCDN determines the selection probability for each node in the node resource pool, at 0 m intervals are divided into the range of 1, the i-th interval corresponds to the i-th node, and the length of each interval is the selection probability of the corresponding node, and each node in the node resource pool corresponds to one of the intervals, corresponding to In Table 5, m intervals can be divided into (0, P m ], (P m , P m + P m . (P m + P m-1 , P m + P m .i+P m - 2 ] ...... (P m + P m .i+~+ P 2 , 1), and the node with the sequence number 1 corresponds to the interval (0, P m ), and the node with the sequence number 2 is the interval (P m , P m + P :^] Correspondingly, and so on, the node with the number m corresponds to the interval (P m + Pm.i+~+ P 2 , 1), corresponding to Table 6, which can divide m intervals into (Ο, Ρ !) [Pi, Pi+ P 2 ), [Pi+ P 2 , Pi+ P2+P3)...... [Pj+ Ps+ + Pm-h 1), and the node with the sequence number 1 corresponds to the interval (0, Pi), and the sequence number is The node of 2 corresponds to the interval [P^Pi+ P, depending on Analogy, m is the number of nodes section
Figure imgf000023_0001
1) Corresponding; When selecting a service node for the user terminal, the LCDN generates a random decimal number, determines the interval to which the random decimal belongs, and then selects the node corresponding to the interval as the service node of the user terminal. Each of the above intervals may be a closed interval. If the random number generated by the LCDN is the critical point of the two intervals, the LCDN may randomly select one of the nodes as the service node of the user terminal, The node with a relatively small load can be selected as the service node of the user terminal.
由以上描述可见, LCDN为节点资源池中负载较低的节点确定较高 的选择概率 , 节点资源池中的每个节点被选中作为用户终端服务节点的 选择概率与其对应的区间长度相对应, 区间长度越长, 则 LCDN生成的 随机小数落在该区间范围内的概率就越大, 相应节点被选中作为用户终 端服务节点的概率也就越大; 但是由于 LCDN会生成随机小数, 该随机 小数落在哪个区间都有可能, 因此, 使得 LCDN不会在一段时间内集中 选择某个节点, 也就避免了某节点的负载急剧上升。  It can be seen from the above description that the LCDN determines a higher selection probability for the node with lower load in the node resource pool, and each node in the node resource pool is selected as the selection probability of the user terminal service node corresponding to the length of the corresponding interval, and the interval The longer the length, the greater the probability that the random number generated by the LCDN falls within the range, and the probability that the corresponding node is selected as the user terminal service node is greater; however, since the LCDN generates a random fraction, the random fraction falls. In which interval is possible, therefore, LCDN does not concentrate on selecting a node for a period of time, and thus avoids a sharp rise in the load of a node.
例如, 节点资源池中有 5个节点, 节点负载级别的升高表示相应节 点的负载增大, LCDN根据前面所述过程为 5个节点确定的选择概率如 表七所示。
Figure imgf000024_0001
For example, there are 5 nodes in the node resource pool. The increase of the node load level indicates that the load of the corresponding node increases. The selection probability determined by the LCDN for the five nodes according to the foregoing process is shown in Table 7.
Figure imgf000024_0001
表七 节点资源池中 5个节点的选择概率 Table 7 Selection probability of 5 nodes in the node resource pool
LCDN根据确定的选择概率, 在 0至 1 的范围内划分 4个区间, (0,0.4] (0.4,0.7]、 (0,7,0.9]、 (0.9,1), 并且节点 1对应于区间 (0,0.4], 节 点 2对应于区间 (0.4,0.7], 节点 3对应于区间 (0.7,0.9], 节点 4对应于区 间 (0.9,1)。 LCDN为用户终端选择服务节点时, 生成随机小数 V , 如果随 机小数 V为 0.3, 则 LCDN确定随机小数 0.3落在区间(0,0.4]中, 因此, 选择节点 1作为用户终端的服务节点。如果 LCDN生成的随机小数 V为 0.7, 则 LCDN确定随机小数 0.7落在区间 (0.4,0.7〗 中, 因此, 选择节点 2作为用户终端的服务节点; 如果以上区间均为闭合区间, 则 LCDN可 选择节点 2作为用户终端的服务节点, 也可选择节点 3作为用户终端的 服务节点, 由于节点 2的负载要低于节点 3的负载, 因此, LCDN可在 节点 2和节点 3中选择负载较低的节点 2作为用户终端的服务节点。 另外, 各区间的划分也可不由 0作为起始位置, 仍以表七中所示选 择概率为例, LCDN可根据确定的选择概率, 在 0至 1的范围内划分这 样 4个区间, [0,0.1]、 [0.1,0.5〗、 [0.5,0.7]、 [0.7,1〗, 并且节点 1对应于区 间 [0.1,0.5], 节点 2对应于区间 [0.7,1], 节点 3对应于区间 [0.5,0.7], 节 点 4对应于区间 [0,0.1)。 LCDN divides 4 intervals in the range of 0 to 1 according to the determined selection probability, (0,0.4] (0.4,0.7], (0,7,0.9], (0.9,1), and node 1 corresponds to the interval (0, 0.4), node 2 corresponds to interval (0.4, 0.7), node 3 corresponds to interval (0.7, 0.9), and node 4 corresponds to interval (0.9, 1). LCDN generates random when user node selects service node Decimal V, if the random fraction V is 0.3, the LCDN determines that the random fraction 0.3 falls in the interval (0, 0.4), therefore, selects node 1 as the serving node of the user terminal. If the random fraction V generated by the LCDN is 0.7, the LCDN It is determined that the random fraction 0.7 falls within the interval (0.4, 0.7), therefore, node 2 is selected as the service node of the user terminal; if the above intervals are closed intervals, the LCDN may select node 2 as the service node of the user terminal, or may select The node 3 serves as a service node of the user terminal. Since the load of the node 2 is lower than the load of the node 3, the LCDN can select the node 2 with a lower load as the service node of the user terminal among the node 2 and the node 3. In addition, the division of each interval may not be 0 as the starting position, and the selection probability shown in Table 7 is taken as an example. LCDN may divide such four intervals in the range of 0 to 1 according to the determined selection probability, [0] , 0.1], [0.1, 0.5], [0.5, 0.7], [0.7, 1], and node 1 corresponds to interval [0.1, 0.5], node 2 corresponds to interval [0.7, 1], and node 3 corresponds to interval [0.5, 0.7], node 4 corresponds to the interval [0, 0.1).
LCDN为用户终端选择服务节点的情况包括但不限于: 用户终端接 入节点资源池; 用户终端请求节点资源池提供业务服务; LCDN根据节 点资源池中各节点的负载状况, 将某个或某些节点中的用户终端转移至 节点资源池中的其他节点。  The case where the LCDN selects a service node for the user terminal includes but is not limited to: the user terminal accesses the node resource pool; the user terminal requests the node resource pool to provide the service service; the LCDN according to the load status of each node in the node resource pool, some or some The user terminals in the node are transferred to other nodes in the node resource pool.
为使节点资源池中各节点的负载达到均衡, 可将负载较高的节点中 的用户终端转移至负载较低的节点, 但是, 如果用户终端的转移过于频 繁, 会使 LCDN的工作量过大, 而且在负载相差较小的节点之间转移负 载又不是很必要, 因此, 可在 LCDN中设置转移门限, 在负载最高的节 点的负载级别与负载最低的节点的负载级别之差大于或等于设置的转 移门限时, 即最高负载級别与最低负载级别之差大于或等于设置的转移 门限时, LCDN开始将负载最高的节点中用户终端转移至负载较低的节 点, 根据确定的选择概率为用户终端选择服务节点。  In order to balance the load of each node in the node resource pool, the user terminal in the node with higher load can be transferred to the node with lower load. However, if the transfer of the user terminal is too frequent, the workload of the LCDN is too large. And it is not necessary to transfer the load between nodes with small load differences. Therefore, the transition threshold can be set in the LCDN. The difference between the load level of the node with the highest load and the load level of the node with the lowest load is greater than or equal to the setting. When the threshold is shifted, that is, when the difference between the highest load level and the lowest load level is greater than or equal to the set transition threshold, the LCDN starts to transfer the user terminal in the node with the highest load to the node with the lower load, and the user is determined according to the determined selection probability. The terminal selects a service node.
本发明中所述的各种实现过程可以应用于各种节点资源池中,例如, 全球移动通信系统 UMTS中的 CN节点池,或者, SAE/LTE演进网络中 的移动性管理实体(MME ) 节点池和用户数据面实体(UPE ) 节点池。 以上所述用户终端不仅包括用户终端设备, 还可包括任何可由节点资源 池中的节点提供服务的网络节点。  The various implementation processes described in the present invention can be applied to various node resource pools, for example, a CN node pool in the Global System for Mobile Communications (UMTS), or a Mobility Management Entity (MME) node in a SAE/LTE evolved network. Pool and User Data Surface Entity (UPE) node pool. The user terminal described above includes not only the user terminal device but also any network node that can be served by a node in the node resource pool.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发 明的保护范围。  In summary, the above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种根据负载状况选择服务节点的方法, 其特征在于, 节点资源 池中各节点按负载划分负载级别, 一种负载对应一个负载级别, 每个节 点的当前负载对应在一个负载级别上, 该方法包含以下步骤: A method for selecting a service node according to a load condition, wherein each node in the node resource pool divides the load level according to the load, and one load corresponds to a load level, and the current load of each node corresponds to a load level. The method includes the following steps:
A、负载控制决策节点 LCDN获取节点资源池中各节点的负载级别; A. The load control decision node LCDN obtains the load level of each node in the node resource pool;
B、 LCDN根据各节点的负载级别, 确定对应于各节点的选择概率;B. The LCDN determines a selection probability corresponding to each node according to a load level of each node;
C、 LCDN根据确定的选择概率为用户终端选择服务节点。 C. The LCDN selects a service node for the user terminal according to the determined selection probability.
2、 根据权利要求 1所述的方法, 其特征在于, 所述步骤 A之前进 一步包括:  2. The method according to claim 1, wherein the step A further comprises:
AO、节点资源池中的节点向 LCDN发送携带有本节点当前负载级别 的负载信息消息。  The AO, the node in the node resource pool sends a load information message carrying the current load level of the node to the LCDN.
3、 根据权利要求 2所述的方法, 其特征在于, 所述步骤 AO之前进 一步包括:  3. The method according to claim 2, wherein the step AO further comprises:
AO 1、 LCDN向节点资源池中的节点发送负载信息请求。  AO 1, LCDN sends a load information request to a node in the node resource pool.
4、 根据权利要求 3所述的方法, 其特征在于,  4. The method of claim 3, wherein
LCDN执行所述步骤 A01的同时, 进一步包括: LCDN启动负载请 求定时器, 并等待接收步骤 AO中所述节点发送的负载信息消息,  The LCDN performs the step A01 at the same time, and further includes: the LCDN starts the load request timer, and waits to receive the load information message sent by the node in the step AO,
如果负载请求定时器超时前, LCDN收到步驟 AO中所述节点发送 的负载信息消息, 则停止负载请求定时器;  If the LCDN receives the load information message sent by the node in step AO before the load request timer expires, the load request timer is stopped;
如果负载请求定时器超时, LCDN未收到步骤 AO中所述节点发送 的负载信息消息, 则 LCDN再次向步驟 AO中所述节点发送负载信息请 求。  If the load request timer expires and the LCDN does not receive the load information message sent by the node in step AO, the LCDN sends a load information request to the node in step AO again.
5、根据权利要求 3或 4所述的方法, 其特征在于, 所述负载信息请 求中携带有用于标识 LCDN的 LCDN标识。 The method according to claim 3 or 4, wherein the load information request carries an LCDN identifier for identifying the LCDN.
6、 根据权利要求 2或 3所述的方法, 其特征在于, 所述步骤 AO之 后进一步包括: LCDN向步骤 AO中所述节点返回负载信息响应。 The method according to claim 2 or 3, wherein the step AO further comprises: the LCDN returning a load information response to the node in the step AO.
7、 根据权利要求 6所述的方法, 其特征在于,  7. The method of claim 6 wherein:
节点执行所述步骤 AO的同时, 进一步包括: 节点启动负载响应定 时器, 并等待接收 LCDN返回的负载信息响应,  While the node performs the step AO, the method further includes: the node starting the load response timer, and waiting to receive the load information response returned by the LCDN,
如果负载响应定时器超时前,节点收到 LCDN返回的负载信息响应, 则停止负载响应定时器;  If the node receives the load information response returned by the LCDN before the load response timer expires, the load response timer is stopped;
如果负载响应定时器超时,节点未收到 LCDN返回的负载信息响应, 则节点再次向 LCDN发送携带有本节点当前负载级别的负载信息消息。  If the load response timer expires and the node does not receive the load information response returned by the LCDN, the node again sends a load information message carrying the current load level of the node to the LCDN.
8、根据权利要求 2所述的方法, 其特征在于, 所述负载信息消息中 进一步携带有: 节点标识, 或用于标识节点是否为节点资源池中新增加 的节点的新节点指示, 或用于标识节点是否需要进行操作维护的 0&M 指示, 或以上任意的组合。  The method according to claim 2, wherein the load information message further carries: a node identifier, or a new node indication for identifying whether the node is a newly added node in the node resource pool, or Indicates whether the node needs O&M indication for operation and maintenance, or any combination of the above.
9、根据权利要求 8所述的方法, 其特征在于, 所述负载信息消息中 携带有 0&M指示时, 所述负载信息消息中进一步携带有: 时间间隔, 用于指示从发送负载信息消息到执行维护操作之间的时间间隔。  The method according to claim 8, wherein when the load information message carries an indication of 0, the load information message further carries: a time interval, which is used to indicate that the load information message is sent to be executed. The time interval between maintenance operations.
10、 根据权利要求 2所述的方法, 其特征在于, 所述步骤 AO之前 进一步包括:  The method according to claim 2, wherein the step AO further comprises:
A02、 节点资源池中的节点检测到本节点的负载级别发生改变。 A02. The node in the node resource pool detects that the load level of the node changes.
11、 根据权利要求 10所述的方法, 其特征在于, 11. The method of claim 10, wherein
节点执行所述步骤 A02的同时, 进一步包括: 启动负载定时器, 负载定时器超时后, 所述步骤 A0之前进一步包括:  When the node performs the step A02, the method further includes: starting a load timer, and after the load timer expires, the step A0 further includes:
A021、 节点判断是否需要向 LCDN发送负载信息消息, 如果是, 则 执行步骤 A0; 否则, 不向 LCDN发送负载信息消息, 结束本发明流程。  A021: The node determines whether it needs to send a load information message to the LCDN. If yes, step A0 is performed; otherwise, the load information message is not sent to the LCDN, and the flow of the present invention is ended.
12、根据权利要求 11所述的方法,其特征在于,所述步骤 A021为: 节点首先判断当前负载级别与启动负载定时器时的负载级别是否相 同, 如果当前负载级别与启动负载定时器时的负载级别相同, 则执行步 驟 AO; 如果当前负载级别与启动负载定时器时的负载级别不相同, 则 继续判断当前负载级别与启动负载定时器前的负载级別是否相同, 如果 相同, 则该节点不向 LCDN发送负载信息消息, 结束本发明流程; 如果 不相同, 则执行步驟 AO; 12. The method of claim 11 wherein said step A021 is: The node first determines whether the current load level is the same as the load level when the load timer is started. If the current load level is the same as the load level when the load timer is started, step AO is performed; if the current load level is the load when the load timer is started The level is not the same, and it is determined whether the current load level is the same as the load level before the load timer is started. If the same, the node does not send a load information message to the LCDN, and ends the process of the present invention; if not, the step AO is executed. ;
或为:节点判断当前负载级别与启动定时器前的负载級别是否相同, 如果相同, 则该节点不向 LCDN发送负载信息消息, 结束本发明流程; 如果不相同, 则执行步骤 A0。  Or: the node determines whether the current load level is the same as the load level before starting the timer. If they are the same, the node does not send a load information message to the LCDN, and ends the process of the present invention; if not, step A0 is performed.
13、 根据权利要求 1所述的方法, 其特征在于, 所述步骤 B包括以 下步驟:  13. The method according to claim 1, wherein the step B comprises the following steps:
Bl、 LCDN根据节点的负载级别, 将节点资源池中的各节点排序编 号, 并且将各节点的负载级别进行累加;  Bl and LCDN sort the nodes in the node resource pool according to the load level of the node, and accumulate the load levels of the nodes;
B2、 LCDN根据步骤 B1得到的累加结果和各节点的负载级别, 并 根据负载越高选择概率越低的原则 , 确定对应于各节点的选择概率。  B2. The LCDN determines the selection probability corresponding to each node according to the accumulated result obtained in step B1 and the load level of each node, and the lower the selection probability according to the higher the load.
14、 根据权利要求 13所述的方法, 其特征在于,  14. The method of claim 13 wherein:
节点资源池中包括 m个节点, 节点的所述负载级别越高, 该节点的 当前负载越大,  The node resource pool includes m nodes. The higher the load level of the node, the larger the current load of the node.
所述步驟 B1 中所述执行编号为: LCDN根据对应于节点的负载级 别, 将节点资源池中的各节点按照负载级别升高或降低的顺序进行排序 并编写序号;  The execution number in the step B1 is: LCDN sorts each node in the node resource pool in the order of increasing or decreasing the load level according to the load level corresponding to the node, and writes the sequence number;
所述步骤 B2为: LCDN将各节点的负载级别除以步骤 B 1得到的累 加结果, 将相除的结果作为各节点的中间概率, 然后将所有节点序号之 和为 m+1的两个节点的中间概率互换, LCDN将互换后的中间概率作为 各节点的最终选择概率。 The step B2 is: LCDN divides the load level of each node by the accumulated result obtained in step B1, takes the result of the division as the intermediate probability of each node, and then sets the sum of all the node numbers to two nodes of m+1. The intermediate probability is interchanged, and the LCDN uses the intermediate probability after the interchange as the final selection probability of each node.
15、根据权利要求 14所述的方法, 其特征在于, LCDN中设置过载 门限, LCDN将负载级别大于或等于过载门限的节点的选择概率设置为 0 , 所述 m个节点不包括负载级别大于或等于过载门限的节点。 The method according to claim 14, wherein an overload threshold is set in the LCDN, and the LCDN sets a selection probability of a node whose load level is greater than or equal to an overload threshold to 0, and the m nodes do not include a load level greater than or A node equal to the overload threshold.
16、 根据权利要求 1所述的方法, 其特征在于, 如果有 k个负载级 别, 则 1个负载级别表示节点满负载的 1/k负载, 节点的所述负载级别 升高表示该节点的负载增大。  16. The method according to claim 1, wherein if there are k load levels, one load level represents a 1/k load of the node full load, and the load level of the node increases to indicate the load of the node. Increase.
17、 根据权利要求 13所述的方法, 其特征在于,  17. The method of claim 13 wherein:
节点资源池中包括 m个节点, 节点的所述负载级别越高, 该节点的 当前负载越小,  The node resource pool includes m nodes. The higher the load level of the node, the smaller the current load of the node.
所述步骤 B1 中所述执行编号为: LCDN根据对应于节点的负载级 别, 将节点资源池中的各节点按照负载级别升高或降低的顺序进行排序 并编写序号, 并且将各节点的负载级别进行累加;  The execution number in the step B1 is: LCDN sorts each node in the node resource pool in the order of increasing or decreasing the load level according to the load level corresponding to the node, and writes the sequence number, and loads the load level of each node. Accumulate
所述步驟 B2为: LCDN将各节点的负载级别除以步驟 B 1得到的累 加结果, 将相除的结果作为各节点的选择概率。  The step B2 is: the LCDN divides the load level of each node by the accumulated result obtained in step B1, and uses the result of the division as the selection probability of each node.
18、根据权利要求 17所述的方法, 其特征在于, LCDN中设置过载 门限, LCDN将负载级别不大于过载门限的节点的选择概率设置为 0, 所述 m个节点不包括负载级别不大于过载门限的节点。  The method according to claim 17, wherein an overload threshold is set in the LCDN, and the LCDN sets a selection probability of a node whose load level is not greater than an overload threshold to 0, and the m nodes do not include a load level not greater than an overload. The node of the threshold.
19、 才 据权利要求 1所述的方法, 其特征在于, 如果有 k个负载级 别, 则 1个负载级别表示节点满负载的 1/k负载, 节点的所述负载级别 升高表示该节点的负载 P条低。  19. The method according to claim 1, wherein if there are k load levels, one load level represents a 1/k load of the node full load, and the load level of the node is increased to indicate the node The load P is low.
20、 才艮据权利要求 14或 17所述的方法, 其特征在于, LCDN将负 载級别相同的节点随机排序, 或按照节点处理能力和容量进行排序。  20. A method according to claim 14 or 17, characterized in that the LCDN randomly orders nodes of the same load level or sorts according to node processing power and capacity.
21、 根据权利要求 14或 17所述的方法, 其特征在于, LCDN直接 将需要进行操作维护的节点的选择概率设置为 0, 所述 m个节点不包括 节点资源池中需要进行操作维护的节点。 The method according to claim 14 or 17, wherein the LCDN directly sets the selection probability of the node that needs to be operated and maintained to 0, and the m nodes do not include the node in the node resource pool that needs to be operated and maintained. .
22、 根据权利要求 14或 17所述的方法, 其特征在于, 资源节点池 中新增加节点时, 该方法进一步包括: LCDN将新增加节点的选择概率 设置为原有节点中的最大选择概率, 或将新增加节点的选择概率设置为 大于原有节点中最大选择概率的值,并按照所述步骤 B1和步骤 B2将剩 余选择概率分配给各原有节点, 所述剩余选择概率为 1与新增加节点的 选择概率的差。 The method according to claim 14 or 17, wherein when the node is newly added in the resource node pool, the method further comprises: the LCDN setting the selection probability of the newly added node to the maximum selection probability in the original node, Or setting the selection probability of the newly added node to a value greater than the maximum selection probability in the original node, and assigning the remaining selection probability to each original node according to the step B1 and the step B2, where the remaining selection probability is 1 and new Increase the difference in the selection probability of the node.
23、根据权利要求 22所述的方法, 其特征在于, 所述将新增加节点 的选择概率设置为大于原有节点中的最大选择概率的值为:  The method according to claim 22, wherein the setting of the selection probability of the newly added node to be greater than the maximum selection probability in the original node is:
LCDN设置加权系数, 如果该加权系数为小数, 则新增加节点的选 择概率为 1与该小数的和与原有节点中最大选择概率的乘积, 如果该加 权系数为整数, 则 1与该整数的和除以该整数的结果, 与原有节点中最 大选择概率的乘积; 或 LCDN中配置固定概率, 新增加节点的选择概率 为原有节点中最大选择概率与该固定概率的和。  The LCDN sets a weighting coefficient. If the weighting coefficient is a decimal, the selection probability of the newly added node is 1 and the product of the sum of the decimal and the maximum selection probability in the original node. If the weighting coefficient is an integer, 1 and the integer And the result of dividing the integer, the product of the maximum selection probability in the original node; or the fixed probability in the LCDN, the selection probability of the newly added node is the sum of the maximum selection probability and the fixed probability in the original node.
24、 根据权利要求 1、 13、 14或 17所述的方法, 其特征在于, 节点资源池中包括 m个节点, 所述步骤 C之前进一步包括: LCDN 才艮据确定的选择概率, 在 0至 1的范围内划分 m个区间, 区间与节点相 对应, 每个区间的长度对应节点的选择概率;  The method according to claim 1, 13, 14, or 17, wherein the node resource pool includes m nodes, and the step C further includes: the LCDN determines the selected probability, at 0 to The range of 1 is divided into m intervals, the interval corresponds to the node, and the length of each interval corresponds to the selection probability of the node;
所述步骤 C为: LCDN生成随机小数, 确定该随机小数所属区间, 选择与该区间相对应的节点作为用户终端的服务节点。  The step C is: the LCDN generates a random fraction, determines the interval to which the random fraction belongs, and selects a node corresponding to the interval as the service node of the user terminal.
25、 根据权利要求 1所述的方法, 其特征在于, LCDN中设置转移 门限, 该方法进一步包括: 最高负载级别与最低负载级别之差大于或等 于设置的转移门限时, LCDN将负载最高的节点中的部分用户终端转移 至负载较低的节点, 执行所述步骤 C。  25. The method according to claim 1, wherein a transition threshold is set in the LCDN, the method further comprising: when the difference between the highest load level and the lowest load level is greater than or equal to the set transition threshold, the LCDN will load the node with the highest load. A part of the user terminals are transferred to the node with a lower load, and the step C is performed.
PCT/CN2006/001229 2005-06-15 2006-06-06 A method for selecting a servicing node according to load status WO2006133630A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510076802.1 2005-06-15
CNB2005100768021A CN100459795C (en) 2005-06-15 2005-06-15 Method for selecting service node according to load status

Publications (1)

Publication Number Publication Date
WO2006133630A1 true WO2006133630A1 (en) 2006-12-21

Family

ID=37520085

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/001229 WO2006133630A1 (en) 2005-06-15 2006-06-06 A method for selecting a servicing node according to load status

Country Status (2)

Country Link
CN (1) CN100459795C (en)
WO (1) WO2006133630A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009056164A1 (en) 2007-10-29 2009-05-07 Telefonaktiebolaget Lm Ericsson (Publ) Load balancing in core network comprising a pool of core network elements
CN101895932B (en) * 2009-05-19 2013-01-23 中国移动通信集团公司 Load transferring method, system and device
CN103152774A (en) * 2013-03-26 2013-06-12 广东电网公司电力调度控制中心 LTE (long term evolution) interface expanding method and system supporting distributed autonomous load balancing
CN110933136A (en) * 2019-10-31 2020-03-27 北京浪潮数据技术有限公司 Service node selection method, device, equipment and readable storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272614B (en) 2007-03-20 2010-12-08 华为技术有限公司 Method, system and device for selecting network equipment
WO2008113300A1 (en) * 2007-03-20 2008-09-25 Huawei Technologies Co., Ltd. Method, system and apparatus for selecting network devices
CN101730201B (en) * 2008-10-10 2012-06-06 大唐移动通信设备有限公司 Destination node selection method and device based on loading information
CN101925123B (en) * 2009-06-12 2012-12-12 中国移动通信集团设计院有限公司 Method, system and related functional entities for realizing load balancing in pool area
CN102170422A (en) * 2010-02-25 2011-08-31 腾讯科技(深圳)有限公司 Method, device and system for inquiring node
CN102487509A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Method and system for dynamically allocating resources of packet control unit
CN103188164B (en) * 2011-12-31 2016-01-27 中国移动通信集团云南有限公司 Based on method, the Apparatus and system of upgrade client node shunting peer node load
CN102970243B (en) * 2012-11-19 2015-09-09 北京思特奇信息技术股份有限公司 A kind of message conversion link equalization methods based on load factor and device
CN105207818A (en) * 2015-09-23 2015-12-30 杭州数梦工场科技有限公司 Node control method and device
CN107977270A (en) * 2017-11-22 2018-05-01 用友金融信息技术股份有限公司 Peers distribution method, peers distribution system and computer installation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6002676A (en) * 1997-06-30 1999-12-14 Motorola, Inc. Method and apparatus for selecting a resource in a communication system with resources having unbalanced load capacity
US6522881B1 (en) * 2000-03-08 2003-02-18 Lucent Technologies Inc. Method and apparatus for selecting an access point in a wireless network
CN1585399A (en) * 2004-05-25 2005-02-23 华中科技大学 Load balancing method for cluster server
US6898635B2 (en) * 2001-12-29 2005-05-24 Lg Electronics Inc. Mobile communication system and method of selecting server in mobile communication system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100300348B1 (en) * 1998-09-23 2001-09-06 윤종용 Method for call setup in cellular system
CN1112813C (en) * 1999-03-19 2003-06-25 上海贝尔电话设备制造有限公司 Intelligent routing method in communication network
SE0004591D0 (en) * 2000-12-12 2000-12-12 Ericsson Telefon Ab L M Method and means in a telecommunication system
US20040067735A1 (en) * 2001-03-16 2004-04-08 Lobley Nigel C. Selection of an appropriate network resource node in a cellular telecommunication system
US7142860B2 (en) * 2001-03-30 2006-11-28 Telefonaktiebolaget Lm Ericsson (Publ) Network/cell/interface selection in mixed networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6002676A (en) * 1997-06-30 1999-12-14 Motorola, Inc. Method and apparatus for selecting a resource in a communication system with resources having unbalanced load capacity
US6522881B1 (en) * 2000-03-08 2003-02-18 Lucent Technologies Inc. Method and apparatus for selecting an access point in a wireless network
US6898635B2 (en) * 2001-12-29 2005-05-24 Lg Electronics Inc. Mobile communication system and method of selecting server in mobile communication system
CN1585399A (en) * 2004-05-25 2005-02-23 华中科技大学 Load balancing method for cluster server

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009056164A1 (en) 2007-10-29 2009-05-07 Telefonaktiebolaget Lm Ericsson (Publ) Load balancing in core network comprising a pool of core network elements
US8457133B2 (en) 2007-10-29 2013-06-04 Telefonaktiebolaget L M Ericsson (Publ) Load balancing in core network comprising a pool of core network elements
CN101895932B (en) * 2009-05-19 2013-01-23 中国移动通信集团公司 Load transferring method, system and device
CN103152774A (en) * 2013-03-26 2013-06-12 广东电网公司电力调度控制中心 LTE (long term evolution) interface expanding method and system supporting distributed autonomous load balancing
CN110933136A (en) * 2019-10-31 2020-03-27 北京浪潮数据技术有限公司 Service node selection method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN1882166A (en) 2006-12-20
CN100459795C (en) 2009-02-04

Similar Documents

Publication Publication Date Title
WO2006133630A1 (en) A method for selecting a servicing node according to load status
US8331224B2 (en) Self-management of mobility management entity (MME) pools
US6898635B2 (en) Mobile communication system and method of selecting server in mobile communication system
CN103069871B (en) The reconstruction signaling of radio resource during network congestion in mobile wireless device
EP2863684B1 (en) Mobile communication network distribution system and mobile communication network distribution method
KR101061609B1 (en) Femto base station and femto zone management system and method in wireless communication network
US10979285B2 (en) Service transmission method, device, and system
JP2005304019A (en) Centralized cell homing and load balancing in base station controller
EP1388266A1 (en) Method for protecting against overload in a mobile communication network
TW200952534A (en) Method and apparatus for handling scheduling information report
CN103891364A (en) Mobile device network signaling management
EP3531619B1 (en) Method, device and system for function scheduling
WO2011032454A1 (en) Method and equipment for allocating resource of shared network
CN101653023B (en) Radio telecommunications network management
CN102131238B (en) Load balancing method from time division-synchronization code division multiple access (TD-SCDMA) system to global system for mobile communication (GSM) system
EP2744285B1 (en) Method and device for short-delay resource management, and wireless access network device
WO2014022995A1 (en) Method and device for managing shared network
CN101115285B (en) Core network node selecting method for supporting InFlex technique
US20090059840A1 (en) Wireless communication system and method for managing service flow identifier in the same
CN101267587A (en) A method, device and system for realizing load reallocation
WO2009012694A1 (en) Network address processing method and router node
CN103249094B (en) A kind of load equalization method and system
WO2013097230A1 (en) Policy control method, device and system
JP5793796B2 (en) Communication system and communication method
WO2012071970A1 (en) Method and system for dynamically allocating resources of packet control unit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06742115

Country of ref document: EP

Kind code of ref document: A1