[go: up one dir, main page]

WO2011026391A1 - Load reallocation method for serving gateway, system and serving gateway - Google Patents

Load reallocation method for serving gateway, system and serving gateway Download PDF

Info

Publication number
WO2011026391A1
WO2011026391A1 PCT/CN2010/075942 CN2010075942W WO2011026391A1 WO 2011026391 A1 WO2011026391 A1 WO 2011026391A1 CN 2010075942 W CN2010075942 W CN 2010075942W WO 2011026391 A1 WO2011026391 A1 WO 2011026391A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
gateway
load
service gateway
mobility management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2010/075942
Other languages
French (fr)
Chinese (zh)
Inventor
卢飞
陆光辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Publication of WO2011026391A1 publication Critical patent/WO2011026391A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a load redistribution method, system, and service gateway of a service gateway.
  • the network element included in the Access Network is an Evolved NodeB (eNodeB), which is used to provide radio resources for user access; Packet Data Network (PDN) It is a network that provides services to users; EPC provides lower latency and allows more wireless access systems to access, including the following network elements:
  • the Mobility Management Entity is a control plane function entity that temporarily stores user data. It is responsible for managing and storing the context of user equipment (User Equipment, UE for short) (such as user identity, mobility management status, and user). a security parameter, etc.), assigning a temporary identifier to the user, and when the UE is camped on the tracking area or the network, is responsible for authenticating the user; processing all non-access stratum messages between the MME and the UE; Page of SAE.
  • the MME is a mobility management entity of the SAE system. In the Universal Mobile Telecommunications System (UMTS), the mobility management entity is a serving general packet radio service (GPRS) support node (Serving GPRS Support Node). , referred to as SGSN).
  • GPRS general packet radio service
  • the Serving Gateway is a user plane entity responsible for user plane data routing processing and terminating downlink data of UEs in idle (ECM_IDLE) state. Manage and store the SAE bearer context of the UE, such as IP bearer service parameters and network internal routing information.
  • the SGW is the anchor point of the internal user plane of the 3GPP system. A user can only have one SGW at a time.
  • the Packet Data Network Gateway (PDN Gateway, PGW for short) is the gateway responsible for the UE accessing the PDN, and assigns the user IP address. It is also the mobility anchor of the 3GPP and non-3GPP access systems.
  • the PGW functions include policy implementation and accounting. stand by. Users can access multiple PGWs at the same time.
  • the Policy and Charging Enforcement Function (PCEF) is also located in the PGW.
  • Policy and Charging Rules Function (referred to as Policy and Charging Rules Function)
  • PCRF responsible for providing policy control and charging rules to PCEF.
  • the Home Subscriber Server (HSS) is responsible for permanently storing user subscription data.
  • the content stored in the HSS includes the International Mobile Subscriber Identification (IMSSI) of the UE and the IP address of the PGW.
  • IMSSI International Mobile Subscriber Identification
  • the SGW and the PGW may be unified, and the EPC system user plane network element includes the SGW and
  • the load of the SGW is basically balanced.
  • the SGW needs to be upgraded, some or all users of the SGW that are being upgraded and upgraded are migrated to other SGWs to ensure continuity of user services.
  • the newly added SGW needs to be able to quickly reach a certain load state. In this case, some users of other SGWs in the network need to be migrated to the newly added SGW.
  • the technical problem to be solved by the present invention is to provide a load redistribution method and system for a service gateway, which implements migration of some or all users on the SGW.
  • the present invention provides a load redistribution method for a service gateway, including:
  • the serving gateway sends a load reassignment indication message to the mobility management unit when load redistribution is required;
  • the mobility management unit selects other service gateways other than the serving gateway as a new service gateway, and migrates some or all of the users on the serving gateway to the selected new serving gateway.
  • the service gateway needs to perform load re-allocation: the service gateway needs to migrate the user when maintaining or upgrading, or knowing that the service gateway is newly added in the network;
  • the mobility management unit selects the new serving gateway, the mobility management unit selects a lower-loaded gateway or the newly added serving gateway among the other service gateways in the network.
  • the serving gateway Before the load re-allocation indication message is sent to the mobility management unit, the serving gateway carries the number of users to be migrated in the load re-distribution indication message;
  • the mobility management unit selects a corresponding number of users to migrate to the new serving gateway according to the number of users.
  • the migration is performed according to the state of the user; the user in the idle state is directly migrated to the new service gateway; and the user in the connected state is first transitioned from the connected state to the idle state, and then migrated to the On the new service gateway.
  • the mobility management unit preferentially selects the user in the idle state when selecting the corresponding number of users for migration.
  • the step of the mobility management unit converting the user in the connection state to the idle state includes: the mobility management unit sending a user context release instruction message to the base station of the user, where the user context release instruction message carries a specific cause value , redistributing the service gateway load to indicate the release reason; Sending, by the base station, a radio resource connection release request message to the user, where the radio resource connection release request message carries the specific cause value;
  • the user After the user completes the release of the user context according to the radio resource connection release request message, the user transitions from the connected state to the idle state.
  • the method also includes the step of reconverting the user transitioning to an idle state to a connected state
  • the step of re-converting the user transitioning to the idle state to the connected state includes: reinitiating an indication of the tracking area update request;
  • the base station includes, in the sent radio resource connection release request message, an indication that the user re-initiates a tracking area update request;
  • the user sends a tracking area update request to the mobility management entity according to the indication; and after the mobile management entity receives the tracking area update request, if the user is confirmed to be valid in the current tracking area, the user is Send tracking area update accept message.
  • the method also includes the step of reconverting the user transitioning to an idle state to a connected state
  • the step of re-converting the user that is converted to the idle state to the connected state includes: the mobility management entity initiating a paging message to a base station in the tracking area list to which the user belongs;
  • the base station in the tracking area list initiates a paging message to the user; after receiving the paging message, the user sends a service request message to the mobility management entity;
  • the mobility management entity sends an initial context setup request message to the base station; the base station sends a radio bearer setup request message to the user;
  • the user establishes a radio bearer according to the radio bearer setup request message, and returns a radio bearer setup response message to the base station.
  • the method further includes:
  • the new serving gateway After the user migrates to the new serving gateway, the new serving gateway sends packet data
  • the network gateway sends a modify bearer request message
  • the present invention further provides a load redistribution system of a service gateway, including a service gateway and a mobility management unit, the service gateway includes a load redistribution indication module, and the mobility management unit includes a load redistribution execution module,
  • the load redistribution execution module includes a gateway selection unit and a user migration unit, where:
  • the load redistribution indication module is configured to: send a load reassignment indication message to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or if the service gateway is newly added in the network;
  • the gateway selection unit is configured to: after receiving the load re-distribution indication message, select to send another service gateway other than the load re-allocation indication message as a new service gateway;
  • the user migration unit is configured to: after receiving the load reassignment indication message, select some or all users on the serving gateway, and migrate the selected user to a new service gateway selected by the gateway selection unit. on.
  • the load re-allocation indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message;
  • the user migration unit is configured to: select a corresponding number of users on the service gateway according to the number of users, and migrate the selected user to the new service gateway.
  • the gateway selection unit is configured to: when selecting the new service gateway, select a gateway with a lower load in the network or a new service gateway in the network.
  • the user migration unit is configured to: when migrating the user to the new service gateway, perform migration according to the state of the user as follows: for the user in the idle state, directly migrate to the new On the service gateway, for the user in the connection state, after the connection state is changed to the idle state, the user in the connection state is migrated to the new service gateway.
  • the user migration unit is configured to: preferentially select a user in an idle state when selecting a corresponding number of users for migration.
  • the service gateway further includes a context update module;
  • the context update module is configured to: after the user on the other gateway migrates to the serving gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user.
  • a service gateway where the service gateway includes a load redistribution indication module
  • the load redistribution indication module is configured to: send a load reassignment indication message to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or if the service gateway is newly added in the network;
  • the gateway selection unit and the user migration unit belong to a load re-allocation execution module of the mobility management unit; after receiving the load re-distribution indication message, the gateway selection unit selects to send other services than the load re-allocation indication message.
  • the gateway serves as a new service gateway.
  • the user migration unit selects some or all users on the service gateway, and migrates the selected user to the gateway selection unit. On the new service gateway.
  • the load re-allocation indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message;
  • the user migration unit selects a corresponding number of users on the service gateway according to the number of users, and migrates the selected user to the new service gateway.
  • the service gateway further includes a context update module
  • the context update module is configured to: after the user on the other gateway migrates to the service gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user.
  • a mobility management unit includes a load redistribution execution module, and the load redistribution execution module includes a gateway selection unit and a user migration unit, where:
  • the gateway selection unit is configured to: after receiving the load re-allocation indication message, select to send another service gateway other than the load re-allocation indication message as a new serving gateway; the load re-allocation indication message is heavy by the load
  • the allocation indication module sends to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or learns to newly add the service gateway in the network; the user migration unit is configured to: receive the load redistribution After indicating the message, selecting some or all users on the service gateway, and migrating the selected user to the gateway selection list The yuan is selected on the new service gateway.
  • the user migration unit is configured to: select a corresponding number of users on the service gateway according to the number of users, and migrate the selected user to the new service gateway; the load redistribution indication module is The load redistribution indication message carries the number of users that need to be migrated.
  • the gateway selection unit is configured to: when selecting the new service gateway, select a gateway with a lower load in the network or a new service gateway in the network.
  • the user migration unit is configured to: when migrating the user to the new service gateway, perform migration according to the state of the user as follows: for the user in the idle state, directly migrate to the new On the service gateway, for the user in the connection state, after the connection state is changed to the idle state, the user in the connection state is migrated to the new service gateway.
  • the user migration unit is configured to: preferentially select a user in an idle state when selecting a corresponding number of users for migration.
  • FIG. 3 is a flowchart of migrating an idle state user in an embodiment of the present invention.
  • FIG. 5 is a flowchart of a user in a migration connection state according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a user in a migration connection state according to another embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a load redistribution system of a service gateway according to an embodiment of the present invention.
  • the invention provides a load redistribution method for a service gateway, and adopts the following technical solutions: If the SGW needs to perform load redistribution because of maintenance upgrade or other reasons (such as when the system newly adds the SGW), the mobile management unit is notified that the mobile management unit needs to migrate the user, and the mobility management unit selects the user to perform the migration;
  • the mobility management unit selects a new SGW, sends a session establishment request message to the selected new SGW, and migrates the UE to the new SGW;
  • the user context is updated between the new SGW and the PGW.
  • the mobile management unit stores the current state of the user, and the user selected by the mobility management unit may be an idle state user or a connected state user.
  • the mobility management unit directly migrates to the new SGW; for the UE in the connected state, it needs to be released by the mobility management unit to make it idle, and then the UE in the idle state. Perform the migration.
  • the mobility management unit performs migration according to other SGWs with lower load in the load state network of the SGW in the network, and when the SGW is newly added in the network, the mobility management unit migrates some users on the original SGW to the newly added SGW.
  • the mobility management unit sends the SI of the specific cause value (the interface between the MME and the eNodeB is an S1-MME, collectively referred to as an S1 interface) /Iu (the interface of the RNC to the SGSN) Release procedure, and changes the UE from the connected state to In the idle state, the cause value may be "SGW load balancing Tracking Area Update (TAU) / Routing Area Update (RAU) request (required),,".
  • TAU Tracking Area Update
  • RAU Routing Area Update
  • the mobility management unit includes: an MME, an SGSN, and the like.
  • Step 201 The SGW sends a load re-allocation indication message to the mobility management unit to notify the mobility management unit to migrate the user because of maintenance upgrade or other reasons.
  • the number of migrated users can be carried in the message;
  • the load re-allocation indication message may be carried by using an existing message, such as a bearer update. Equivalent; a separate indication message can also be used.
  • Step 202 The mobility management unit selects a corresponding number of users to perform migration, selects a new SGW for the user, and migrates the user to the new SGW.
  • the mobility management unit randomly selects a specified number of users for migration according to the load reassignment message, and the migrated user may include both an idle state user and a connection state user.
  • the mobility management unit can directly migrate it to the new SGW; for the connection state user, the mobility management unit first releases its wireless resources, turns the user into an idle state, and then migrates it to the new SGW. on.
  • FIG. 3 shows a flow of service gateway load redistribution in the embodiment of the present invention. As shown in FIG. 3, the method mainly includes the following steps:
  • Step 301 The SGW1 sends a load re-allocation indication message to the mobility management unit (such as the MME), and the indication message may carry the number of users that need to be migrated.
  • the mobility management unit such as the MME
  • Step 302 The MME selects a user in an idle state to perform migration.
  • the MME preferentially selects the user in the idle state to perform migration.
  • Step 303 The MME selects a new SGW (SGW2) for the UE, and sends a session establishment request message to the new SGW, requesting to migrate the UE to the new SGW, where the request message carries the control plane address and tunnel of the IMSL MME. Endpoint Identifier (TEID), Bearer ID, and Quality of Service (Bearer QoS).
  • Step 304 The new SGW sends a modify bearer request message to the PGW, requesting to update the context, and carrying the request message. Control plane address and TEID of the new SGW, bearer ID, downlink user plane address and TEID of the new SGW;
  • Step 305 The PGW returns a modify bearer response message to the new SGW.
  • Step 306 the new SGW returns a session establishment response message to the MME, where the message carries the control plane address and TEID of the new SGW;
  • Step 307 The MME sends a release session request to the original SGW (SGW1), and the original SGW releases the context of the UE. Step 308, the original SGW returns a release session response to the MME.
  • this embodiment is also applicable to the case where the UE accesses the SGSN.
  • FIG. 4 shows a process in which the MME needs to change the user state and change the UE from the connected state to the idle state in the embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
  • Step 401 The MME sends an access bearer release request message to the SGW, requesting the SGW to release the user plane address and the TEID.
  • Step 402 The SGW returns an access bearer release response message to the MME.
  • Step 403 The MME sends a user context release command message to the eNodeB, where the command message carries a specific cause value, which is used to indicate that the release cause is caused by SGW load re-allocation, and the UE needs to re-initiate the TAU process.
  • Step 404 The eNodeB sends a radio resource connection (RRC) connection release request message to the UE, where the request message carries a specific cause value, which is used to indicate that the release cause is caused by SGW load re-allocation, and the UE needs to re-initiate TAU.
  • RRC radio resource connection
  • Step 405 The UE returns an RRC connection release response message to the eNodeB.
  • Step 406 The eNodeB returns a user context release complete message to the MME.
  • the UE transitions from the connected state to the idle state.
  • this embodiment is also applicable to the case where the UE accesses the SGSN.
  • FIG. 5 is a flowchart of a service gateway load redistribution according to another embodiment of the present invention. As shown in FIG. 5, the method includes the following steps:
  • Step 501 The SGW sends a load re-allocation indication message to the MME, where the SGW can carry the number of users that need to be migrated.
  • Step 502 The MME selects a corresponding number of users to perform migration.
  • the MME selects a user in the connection state to perform migration.
  • Step 509 The UE sends a tracking area update request to the MME, where the request message carries the Globally Unique Temporary Identity (GUTI) allocated by the MME for the UE; the operations of steps 510-515 and the operations of steps 303-308 in FIG. Similar, it will not be repeated here.
  • Step 516 If the MME confirms that the UE is valid in the current tracking area, send a tracking area update accept message to the UE.
  • GUI Globally Unique Temporary Identity
  • the UE re-transitions to the connected state.
  • Step 517 If the MME allocates a new GUTI identifier to the UE through the TAU procedure, the UE returns a trace area update complete message to the MME for confirmation.
  • this embodiment is also applicable to the case where the UE accesses the SGSN.
  • FIG. 6 is a flowchart showing a process of reassigning a service gateway load according to another embodiment of the present invention. As shown in FIG. 6, the method includes the following steps.
  • Step 601 The SGW sends a load re-allocation indication message to the MME, where the SGW can carry the number of users that need to be migrated.
  • Step 602 The MME selects a corresponding number of connection state users to perform migration.
  • Step 603 the MME needs to change the user state, and the UE is changed from the connection state to the idle state, and the MME sends an access bearer release request message to the SGW, requesting the SGW to release the user plane address and the TEID;
  • Step 604 The SGW returns an access bearer response message to the MME.
  • Step 605 The MME sends a user context release command message to the eNodeB, where the command message carries a specific cause value, which is used to indicate that the release is caused by SGW load redistribution;
  • Step 606 The eNodeB sends a Radio Resource Connection (RRC) connection release request message to the UE, where the command message carries a specific cause value, which is used to indicate that the release is caused by SGW load redistribution;
  • RRC Radio Resource Connection
  • Step 607 The UE returns an RRC connection release response message to the eNodeB.
  • Step 608 The eNodeB returns a user context release complete message to the MME.
  • Step 615 The MME initiates a paging message to the eNodeB of the tracking area list (TA list) to which the UE belongs.
  • TA list tracking area list
  • Step 616 the eNodeB initiates a paging message.
  • Step 617 The UE sends a service request (Service Request) message to the MME.
  • Step 619 The eNodeB initiates a radio bearer setup request message to the UE, requesting to establish a radio bearer.
  • Step 620 The UE returns a radio bearer setup response message to the eNodeB.
  • the UE re-transitions to the connected state.
  • Step 621 The eNodeB sends an initial context setup complete message to the MME, where the response message carries the user plane address and the TEID of the eNodeB.
  • Step 622 The MME sends a modify bearer request message to the SGW, where the request message carries the user plane address and the TEID of the eNodeB.
  • Step 623 The SGW returns a modify bearer response message to the MME.
  • the embodiment is also applicable to the case where the UE accesses the SGSN.
  • the present invention further provides a load redistribution system of a service gateway, including a service gateway and a mobility management unit, where the service gateway includes a load redistribution indication module, and the mobility management unit includes load redistribution execution.
  • the module, the load redistribution execution module further includes a gateway selection unit and a user migration unit, and each module/unit functions as follows:
  • the load re-allocation indication module is configured to: when the service gateway needs to maintain and upgrade, or learn to newly add a service gateway in the network, send a load re-allocation indication message to the gateway selection unit and the user migration unit; the gateway selection unit is configured to receive the load After reassigning the indication message, select another service gateway;
  • the user migration unit is configured to: after receiving the load reassignment indication message, select some or all users on the service gateway, and migrate the selected user to another new service selected by the gateway selection unit. On the gateway.
  • the load re-allocation indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message;
  • the user migration unit is configured to select a corresponding number of users on the service gateway according to the number of users, and migrate the selected users to the new service gateway.
  • the gateway selecting unit selects a gateway with a lower load in the network or a new service gateway in the network.
  • the state is migrated, and the user in the idle state is directly migrated to the new service gateway; for the user in the connected state, it is first changed from the connected state to the idle state, and then migrated to the new one. On the service gateway.
  • the user migration unit may change the user in the connected state to the idle state in the manner of the foregoing embodiment, and the specific operation procedure is not described herein.
  • the user migration unit selects a corresponding number of users for migration, the user in the idle state is preferentially selected.
  • the service gateway further includes a context update module, configured to: after the user on the other gateway migrates to the serving gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user. .
  • the present invention also provides a service gateway, where the service gateway includes a load redistribution indication module, and the load redistribution indication module is configured to: when the service gateway needs to be upgraded, or when the service gateway is newly added in the network Sending a load re-allocation indication message to the gateway selection unit and the user migration unit;
  • the gateway selection unit and the user migration unit belong to a load re-allocation execution module of the mobility management unit; after receiving the load re-distribution indication message, the gateway selection unit selects to send other services than the load re-allocation indication message.
  • the gateway serves as a new service gateway.
  • the user migration unit selects some or all users on the service gateway, and migrates the selected user to the gateway selection unit.
  • the load redistribution indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message;
  • the user migration unit selects a corresponding number of users on the service gateway according to the number of users, and migrates the selected user to the new service gateway.
  • the service gateway further includes a context update module
  • the context update module is configured to: after the user on the other gateway migrates to the service gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user.
  • the present invention also provides a mobility management unit, the mobility management unit includes a load redistribution execution module, and the load redistribution execution module includes a gateway selection unit and a user migration unit, where:
  • the gateway selection unit is configured to: after receiving the load re-allocation indication message, select to send another service gateway other than the load re-allocation indication message as a new serving gateway; the load re-allocation indication message is heavy by the load
  • the allocation indication module sends to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or learns to newly add the service gateway in the network; the user migration unit is configured to: receive the load redistribution After the message is indicated, some or all of the users on the service gateway are selected, and the selected user is migrated to the new service gateway selected by the gateway selection unit.
  • the user migration unit is configured to: select a corresponding number of users on the service gateway according to the number of users, and migrate the selected user to the new service gateway; the load redistribution indication module is The load redistribution indication message carries the number of users that need to be migrated.
  • the gateway selection unit is configured to: when selecting the new service gateway, select a gateway with a lower load in the network or a new service gateway in the network.
  • the user migration unit is configured to: when migrating the user to the new service gateway, perform migration according to the state of the user as follows: for the user in the idle state, directly migrate to the new On the service gateway, for the user in the connection state, after the connection state is changed to the idle state, the user in the connection state is migrated to the new service gateway.
  • the user migration unit is configured to: preferentially select a user in an idle state when selecting a corresponding number of users for migration.
  • some or all users on the SGW can be migrated to the new SGW, which can implement load redistribution of the SGW and achieve the purpose of load balancing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A load reallocation method for serving gateway is disclosed in the present invention, and the method includes: a Serving Gateway(SGW) sends a load reallocation indication message to a mobility management unit when load reallocation is required; and the mobility management unit chooses other serving gateway than the said serving gateway as a new serving gateway, and transfers part or the whole of users on the said serving gateway to the chosen new gateway. The corresponding system, serving gateways and mobility management unit are also disclosed in the present invention. With the present invention, part or the whole of users on the serving gateway can be transferred to a new SGW, and load reallocation for SGW can be realized so that the SGW is able to achieve the goal of load balance.

Description

服务网关的负载重分配方法、 系统及服务网关  Service redistribution method, system and service gateway of service gateway

技术领域 Technical field

本发明涉及通信领域, 尤其涉及一种服务网关的负载重分配方法、 系统 及服务网关。  The present invention relates to the field of communications, and in particular, to a load redistribution method, system, and service gateway of a service gateway.

背景技术 Background technique

随着全球微波接入互通 ( World Interoperability for Microwave Access, WiMax )技术的异军突起, 第三代移动通信系统要保持其在移动通信领域的 竟争力, 必须提高其网络性能, 并降低网络建设及运营成本。 因此, 第三代 合作伙伴计划 ( 3rd Generation Partnership Project, 3GPP ) 的标准化工作组, 目前正致力于研究包交换核心网 (Packet Switch Core, PS Core )和全球移动 通信系统无线接入网 ( Universal Mobile Telecommunication System Radio Access Network, UTRAN ) 的演进。 该研究课题称为系统架构演进(System Architecture Evolution,简称 SAE ) , 目的是使得演进的分组网( Evolved Packet Core, 简称 EPC )可提供更高的传输速率、 更短的传输延时、 优化分组, 及 支持演进的 UTRAN ( Evolved UTRAN, E-UTRAN ) 、 UTRAN, 无线局域网 ( Wireless Local Area Network, 简称 WLAN )及其他非 3GPP的接入网络之 间的移动性管理。  With the emergence of the World Interoperability for Microwave Access (WiMax) technology, the third generation of mobile communication systems must maintain their competitiveness in the field of mobile communications, and must improve their network performance and reduce network construction and operation. cost. Therefore, the Standardization Working Group of the 3rd Generation Partnership Project (3GPP) is currently working on the Packet Switch Core (PS Core) and the Global Mobile Telecommunications System Wireless Access Network (Universal Mobile). Evolution of the Telecommunication System Radio Access Network, UTRAN. The research topic is called System Architecture Evolution (SAE). The purpose is to enable Evolved Packet Core (EPC) to provide higher transmission rate, shorter transmission delay, and optimized packetization. And mobility management between evolved UTRAN (Evolved UTRAN, E-UTRAN), UTRAN, Wireless Local Area Network (WLAN) and other non-3GPP access networks.

目前 SAE的架构如图 1所示, 其中, 演进的无线接入网 (Evolved Radio The current SAE architecture is shown in Figure 1, where the evolved radio access network (Evolved Radio)

Access Network, 简称 E-RAN )中包含的网元是演进节点 B ( Evolved NodeB , 简称 eNodeB,即 eNB ) ,用于为用户的接入提供无线资源;分组数据网(Packet Data Network, 简称 PDN )是为用户提供业务的网络; EPC提供了更低的延 迟, 并允许更多的无线接入系统接入, 其包括如下网元: The network element included in the Access Network (E-RAN for short) is an Evolved NodeB (eNodeB), which is used to provide radio resources for user access; Packet Data Network (PDN) It is a network that provides services to users; EPC provides lower latency and allows more wireless access systems to access, including the following network elements:

移动管理实体 ( Mobility Management Entity, 简称 MME )是控制面功能 实体, 临时存储用户数据的服务器, 负责管理和存储用户设备 (User Equipment, 简称 UE ) 的上下文(比如用户标识、 移动性管理状态、 用户安 全参数等) , 为用户分配临时标识, 当 UE驻扎在该跟踪区域或者该网络时, 负责对该用户进行鉴权;处理 MME和 UE之间的所有非接入层消息;触发在 SAE 的寻呼。 MME 是 SAE 系统的移动管理实体, 在通用移动通信系统 ( Universal Mobile Telecommunications System, 简称 UMTS )中, 移动管理实 体是服务通用分组无线服务( General Packet Radio Service, 简称 GPRS )支持 节点 ( Serving GPRS Support Node, 简称 SGSN ) 。 The Mobility Management Entity (MME) is a control plane function entity that temporarily stores user data. It is responsible for managing and storing the context of user equipment (User Equipment, UE for short) (such as user identity, mobility management status, and user). a security parameter, etc.), assigning a temporary identifier to the user, and when the UE is camped on the tracking area or the network, is responsible for authenticating the user; processing all non-access stratum messages between the MME and the UE; Page of SAE. The MME is a mobility management entity of the SAE system. In the Universal Mobile Telecommunications System (UMTS), the mobility management entity is a serving general packet radio service (GPRS) support node (Serving GPRS Support Node). , referred to as SGSN).

服务网关(Serving Gateway, 简称 SGW ) , 是一个用户面实体, 负责用 户面数据路由处理, 终结处于空闲 (ECM— IDLE )状态的 UE 的下行数据。 管理和存储 UE的 SAE承载(bearer )上下文, 比如 IP承载业务参数和网络 内部路由信息等。 SGW是 3GPP系统内部用户面的锚点, 一个用户在一个时 刻只能有一个 SGW。  The Serving Gateway (SGW) is a user plane entity responsible for user plane data routing processing and terminating downlink data of UEs in idle (ECM_IDLE) state. Manage and store the SAE bearer context of the UE, such as IP bearer service parameters and network internal routing information. The SGW is the anchor point of the internal user plane of the 3GPP system. A user can only have one SGW at a time.

分组数据网网关( PDN Gateway , 简称 PGW ) , 是负责 UE接入 PDN的 网关,分配用户 IP地址,也是 3GPP和非 3GPP接入系统的移动性锚点, PGW 的功能还包括策略实施、 计费支持。 用户在同一时刻能够接入多个 PGW。 策 略与计费实施功能实体( Policy and Charging Enforcement Function,简称 PCEF ) 也位于 PGW中。  The Packet Data Network Gateway (PDN Gateway, PGW for short) is the gateway responsible for the UE accessing the PDN, and assigns the user IP address. It is also the mobility anchor of the 3GPP and non-3GPP access systems. The PGW functions include policy implementation and accounting. stand by. Users can access multiple PGWs at the same time. The Policy and Charging Enforcement Function (PCEF) is also located in the PGW.

策略与计费规则功能实体 ( Policy and Charging Rules Function, 简称 Policy and Charging Rules Function (referred to as Policy and Charging Rules Function)

PCRF ) , 负责向 PCEF提供策略控制与计费规则。 PCRF), responsible for providing policy control and charging rules to PCEF.

归属用户服务器(Home Subscriber Server, 简称 HSS ) , 负责永久存储 用户签约数据, HSS存储的内容包括 UE的国际移动用户识别码(International Mobile Subscriber Identification, 简称 IMSI ) 、 PGW的 IP地址。  The Home Subscriber Server (HSS) is responsible for permanently storing user subscription data. The content stored in the HSS includes the International Mobile Subscriber Identification (IMSSI) of the UE and the IP address of the PGW.

在物理上, SGW和 PGW可能合一, EPC系统用户面网元包括 SGW和 Physically, the SGW and the PGW may be unified, and the EPC system user plane network element includes the SGW and

PGW。 PGW.

在实际的网络中, SGW的负荷基本均衡,但是当 SGW需要维护升级时, 需要将维护升级的 SGW的部分或者全部用户迁移至其他的 SGW, 以保证用 户业务的连续性;另外,当网络中新增加一个 SGW时,需要使新增加的 SGW 能够迅速达到一定的负荷状态, 这种情况下, 需要将网络中其他 SGW 的部 分用户迁移至该新增加的 SGW上。但目前还没有实现 SGW上的用户迁移的 处理机制。 发明内容 In an actual network, the load of the SGW is basically balanced. However, when the SGW needs to be upgraded, some or all users of the SGW that are being upgraded and upgraded are migrated to other SGWs to ensure continuity of user services. When a new SGW is added, the newly added SGW needs to be able to quickly reach a certain load state. In this case, some users of other SGWs in the network need to be migrated to the newly added SGW. However, there is currently no processing mechanism for implementing user migration on the SGW. Summary of the invention

本发明要解决的技术问题是提供一种服务网关的负载重分配方法及系 统, 实现 SGW上的部分或全部用户的迁移。  The technical problem to be solved by the present invention is to provide a load redistribution method and system for a service gateway, which implements migration of some or all users on the SGW.

为了解决上述问题, 本发明提供了一种服务网关的负载重分配方法, 包 括:  In order to solve the above problem, the present invention provides a load redistribution method for a service gateway, including:

服务网关在需要进行负载重分配时, 向移动管理单元发送负载重分配指 示消息; 以及  The serving gateway sends a load reassignment indication message to the mobility management unit when load redistribution is required;

所述移动管理单元选择所述服务网关之外的其他服务网关为新的服务网 关,并将所述服务网关上的部分或全部用户迁移至所选择的新的服务网关上。  The mobility management unit selects other service gateways other than the serving gateway as a new service gateway, and migrates some or all of the users on the serving gateway to the selected new serving gateway.

所述服务网关需要进行负载重分配是: 所述服务网关在维护升级、 或得 知网络中新增加服务网关时, 需要对用户进行迁移;  The service gateway needs to perform load re-allocation: the service gateway needs to migrate the user when maintaining or upgrading, or knowing that the service gateway is newly added in the network;

所述移动管理单元在选择所述新的服务网关时, 选择网络中所述其他服 务网关中负载较低的网关或所述新增的服务网关。  When the mobility management unit selects the new serving gateway, the mobility management unit selects a lower-loaded gateway or the newly added serving gateway among the other service gateways in the network.

向移动管理单元发送负载重分配指示消息之前, 所述服务网关在所述负 载重分配指示消息中携带需要迁移的用户数;  Before the load re-allocation indication message is sent to the mobility management unit, the serving gateway carries the number of users to be migrated in the load re-distribution indication message;

所述迁移步骤中, 所述移动管理单元根据所述用户数选择相应数量的用 户迁移至所述新的服务网关上。 括: 根据所述用户的状态进行迁移; 对于空闲状态的用户, 直接迁移至所述 新的服务网关上; 对于连接状态的用户, 则先从连接状态转变为空闲状态后, 再迁移至所述新的服务网关上。  In the migrating step, the mobility management unit selects a corresponding number of users to migrate to the new serving gateway according to the number of users. The migration is performed according to the state of the user; the user in the idle state is directly migrated to the new service gateway; and the user in the connected state is first transitioned from the connected state to the idle state, and then migrated to the On the new service gateway.

所述移动管理单元在选择相应数量的用户进行迁移时, 优先选择空闲状 态的用户。  The mobility management unit preferentially selects the user in the idle state when selecting the corresponding number of users for migration.

所述移动管理单元将所述连接状态的用户转变为空闲状态的步骤包括: 所述移动管理单元向所述用户的基站发送用户上下文释放指令消息, 所 述用户上下文释放指令消息中携带特定原因值, 以指示释放原因为服务网关 负载重分配; 所述基站向所述用户发送无线资源连接释放请求消息, 在所述无线资源 连接释放请求消息中携带所述特定原因值; 以及 The step of the mobility management unit converting the user in the connection state to the idle state includes: the mobility management unit sending a user context release instruction message to the base station of the user, where the user context release instruction message carries a specific cause value , redistributing the service gateway load to indicate the release reason; Sending, by the base station, a radio resource connection release request message to the user, where the radio resource connection release request message carries the specific cause value;

所述用户根据所述无线资源连接释放请求消息完成用户上下文的释放 后, 从连接状态转变为空闲状态。  After the user completes the release of the user context according to the radio resource connection release request message, the user transitions from the connected state to the idle state.

所述方法还包括将所述转变为空闲状态的用户重新转变为连接状态的步 骤,  The method also includes the step of reconverting the user transitioning to an idle state to a connected state,

所述将所述转变为空闲状态的用户重新转变为连接状态的步骤包括: 重新发起跟踪区更新请求的指示;  The step of re-converting the user transitioning to the idle state to the connected state includes: reinitiating an indication of the tracking area update request;

所述基站在发送的所述无线资源连接释放请求消息中包含所述用户重新 发起跟踪区更新请求的指示;  And the base station includes, in the sent radio resource connection release request message, an indication that the user re-initiates a tracking area update request;

所述用户根据所述指示向所述移动管理实体发送跟踪区更新请求; 以及 所述移动管理实体接收到跟踪区更新请求后, 如果确认所述用户在当前 的跟踪区有效, 则向所述用户发送跟踪区更新接受消息。  And the user sends a tracking area update request to the mobility management entity according to the indication; and after the mobile management entity receives the tracking area update request, if the user is confirmed to be valid in the current tracking area, the user is Send tracking area update accept message.

所述方法还包括将所述转变为空闲状态的用户重新转变为连接状态的步 骤,  The method also includes the step of reconverting the user transitioning to an idle state to a connected state,

所述将所述转变为空闲状态的用户重新转变为连接状态的步骤包括: 所述移动管理实体向所述用户所属的跟踪区列表内的基站发起寻呼消 息;  The step of re-converting the user that is converted to the idle state to the connected state includes: the mobility management entity initiating a paging message to a base station in the tracking area list to which the user belongs;

所述跟踪区列表内的基站向所述用户发起寻呼消息; 所述用户接收到所 述寻呼消息后, 向所述移动管理实体发送业务请求消息;  The base station in the tracking area list initiates a paging message to the user; after receiving the paging message, the user sends a service request message to the mobility management entity;

所述移动管理实体向所述基站发送初始上下文建立请求消息; 所述基站 向所述用户发送无线承载建立请求消息; 以及  The mobility management entity sends an initial context setup request message to the base station; the base station sends a radio bearer setup request message to the user;

所述用户根据所述无线承载建立请求消息建立无线承载, 并向所述基站 返回无线承载建立响应消息。  The user establishes a radio bearer according to the radio bearer setup request message, and returns a radio bearer setup response message to the base station.

所述方法还包括:  The method further includes:

所述用户迁移至所述新的服务网关上后, 所述新的服务网关向分组数据 网网关发送修改承载请求消息; 以及 After the user migrates to the new serving gateway, the new serving gateway sends packet data The network gateway sends a modify bearer request message;

所述分组数据网网关根据接收到的所述修改承载请求消息对所述用户的 上下文进行更新后, 发送修改承载响应给所述新的服务网关。  And after the packet data network gateway updates the context of the user according to the received modify bearer request message, sending a modify bearer response to the new serving gateway.

此外, 本发明还提供了一种服务网关的负载重分配系统, 包括服务网关 和移动管理单元, 所述服务网关包括负载重分配指示模块, 所述移动管理单 元包括负载重分配执行模块, 所述负载重分配执行模块包括网关选择单元和 用户迁移单元, 其中:  In addition, the present invention further provides a load redistribution system of a service gateway, including a service gateway and a mobility management unit, the service gateway includes a load redistribution indication module, and the mobility management unit includes a load redistribution execution module, The load redistribution execution module includes a gateway selection unit and a user migration unit, where:

所述负载重分配指示模块设置为: 在所述服务网关需要维护升级、 或得 知网络中新增加服务网关时, 向所述网关选择单元及所述用户迁移单元发送 负载重分配指示消息;  The load redistribution indication module is configured to: send a load reassignment indication message to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or if the service gateway is newly added in the network;

所述网关选择单元设置为: 接收到所述负载重分配指示消息后, 选择发 送所述负载重分配指示消息之外的其他的服务网关作为新的服务网关;  The gateway selection unit is configured to: after receiving the load re-distribution indication message, select to send another service gateway other than the load re-allocation indication message as a new service gateway;

所述用户迁移单元设置为: 接收到所述负载重分配指示消息后, 选择所 述服务网关上的部分或全部用户, 并将所选择的用户迁移至所述网关选择单 元选择的新的服务网关上。  The user migration unit is configured to: after receiving the load reassignment indication message, select some or all users on the serving gateway, and migrate the selected user to a new service gateway selected by the gateway selection unit. on.

所述负载重分配指示模块还设置为: 在所述负载重分配指示消息中携带 需要迁移的用户数;  The load re-allocation indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message;

所述用户迁移单元是设置为: 根据所述用户数选择所述服务网关上相应 数量的用户, 并将选择的所述用户迁移至所述新的服务网关上。  The user migration unit is configured to: select a corresponding number of users on the service gateway according to the number of users, and migrate the selected user to the new service gateway.

所述网关选择单元是设置为: 在选择所述新的服务网关时, 选择网络中 负载较低的网关或网络中新增的服务网关。  The gateway selection unit is configured to: when selecting the new service gateway, select a gateway with a lower load in the network or a new service gateway in the network.

所述用户迁移单元是设置为: 在将所述用户迁移至所述新的服务网关上 时, 按如下方式根据所述用户的状态进行迁移: 对于空闲状态的用户, 直接 迁移至所述新的服务网关上; 对于连接状态的用户, 则先从连接状态转变为 空闲状态后, 再将所述连接状态的用户迁移至所述新的服务网关上。  The user migration unit is configured to: when migrating the user to the new service gateway, perform migration according to the state of the user as follows: for the user in the idle state, directly migrate to the new On the service gateway, for the user in the connection state, after the connection state is changed to the idle state, the user in the connection state is migrated to the new service gateway.

所述用户迁移单元是设置为: 在选择相应数量的用户进行迁移时, 优先 选择空闲状态的用户。  The user migration unit is configured to: preferentially select a user in an idle state when selecting a corresponding number of users for migration.

所述服务网关还包括上下文更新模块; 所述上下文更新模块设置为: 当所述其他网关上的用户迁移至本服务网 关后, 向分组数据网网关发送修改承载请求消息, 请求所述分组数据网网关 对所述用户的上下文进行更新。 The service gateway further includes a context update module; The context update module is configured to: after the user on the other gateway migrates to the serving gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user.

一种服务网关, 所述服务网关包括负载重分配指示模块,  A service gateway, where the service gateway includes a load redistribution indication module,

所述负载重分配指示模块设置为: 在所述服务网关需要维护升级、 或得 知网络中新增加服务网关时, 向网关选择单元及用户迁移单元发送负载重分 配指示消息;  The load redistribution indication module is configured to: send a load reassignment indication message to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or if the service gateway is newly added in the network;

所述网关选择单元及用户迁移单元属于移动管理单元的负载重分配执行 模块; 所述网关选择单元接收到所述负载重分配指示消息后, 选择发送所述 负载重分配指示消息之外的其他服务网关作为新的服务网关; 所述用户迁移 单元接收到所述负载重分配指示消息后, 选择所述服务网关上的部分或全部 用户, 并将所选择的用户迁移至所述网关选择单元选择的新的服务网关上。  The gateway selection unit and the user migration unit belong to a load re-allocation execution module of the mobility management unit; after receiving the load re-distribution indication message, the gateway selection unit selects to send other services than the load re-allocation indication message. The gateway serves as a new service gateway. After receiving the load re-distribution indication message, the user migration unit selects some or all users on the service gateway, and migrates the selected user to the gateway selection unit. On the new service gateway.

所述负载重分配指示模块还设置为: 在所述负载重分配指示消息中携带 需要迁移的用户数;  The load re-allocation indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message;

所述用户迁移单元是根据所述用户数选择所述服务网关上相应数量的用 户, 并将选择的所述用户迁移至所述新的服务网关上。  The user migration unit selects a corresponding number of users on the service gateway according to the number of users, and migrates the selected user to the new service gateway.

所述服务网关还包括上下文更新模块;  The service gateway further includes a context update module;

所述上下文更新模块设置为: 当所述其他网关上的用户迁移至本服务网 关后, 向分组数据网网关发送修改承载请求消息, 请求所述分组数据网网关 对所述用户的上下文进行更新。  The context update module is configured to: after the user on the other gateway migrates to the service gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user.

一种移动管理单元, 所述移动管理单元包括负载重分配执行模块, 所述 负载重分配执行模块包括网关选择单元和用户迁移单元, 其中:  A mobility management unit, the mobility management unit includes a load redistribution execution module, and the load redistribution execution module includes a gateway selection unit and a user migration unit, where:

所述网关选择单元设置为: 接收到负载重分配指示消息后, 选择发送所 述负载重分配指示消息之外的其他服务网关作为新的服务网关; 所述负载重 分配指示消息由所述负载重分配指示模块在服务网关需要维护升级、 或得知 网络中新增加服务网关时, 向所述网关选择单元及所述用户迁移单元发送; 所述用户迁移单元设置为: 接收到所述负载重分配指示消息后, 选择所 述服务网关上的部分或全部用户, 并将所选择的用户迁移至所述网关选择单 元选择的新的服务网关上。 The gateway selection unit is configured to: after receiving the load re-allocation indication message, select to send another service gateway other than the load re-allocation indication message as a new serving gateway; the load re-allocation indication message is heavy by the load The allocation indication module sends to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or learns to newly add the service gateway in the network; the user migration unit is configured to: receive the load redistribution After indicating the message, selecting some or all users on the service gateway, and migrating the selected user to the gateway selection list The yuan is selected on the new service gateway.

所述用户迁移单元是设置为: 根据所述用户数选择所述服务网关上相应 数量的用户, 并将选择的所述用户迁移至所述新的服务网关上; 所述负载重 分配指示模块在所述负载重分配指示消息中携带需要迁移的用户数。  The user migration unit is configured to: select a corresponding number of users on the service gateway according to the number of users, and migrate the selected user to the new service gateway; the load redistribution indication module is The load redistribution indication message carries the number of users that need to be migrated.

所述网关选择单元是设置为: 在选择所述新的服务网关时, 选择网络中 负载较低的网关或网络中新增的服务网关。  The gateway selection unit is configured to: when selecting the new service gateway, select a gateway with a lower load in the network or a new service gateway in the network.

所述用户迁移单元是设置为: 在将所述用户迁移至所述新的服务网关上 时, 按如下方式根据所述用户的状态进行迁移: 对于空闲状态的用户, 直接 迁移至所述新的服务网关上; 对于连接状态的用户, 则先从连接状态转变为 空闲状态后, 再将所述连接状态的用户迁移至所述新的服务网关上。  The user migration unit is configured to: when migrating the user to the new service gateway, perform migration according to the state of the user as follows: for the user in the idle state, directly migrate to the new On the service gateway, for the user in the connection state, after the connection state is changed to the idle state, the user in the connection state is migrated to the new service gateway.

所述用户迁移单元是设置为: 在选择相应数量的用户进行迁移时, 优先 选择空闲状态的用户。  The user migration unit is configured to: preferentially select a user in an idle state when selecting a corresponding number of users for migration.

釆用上述实施方案, 可以将 SGW上的部分或全部用户迁移至新的 SGW 上, 可以实现 SGW的负载重分配, 使 SGW达到负载均衡的目的。 附图概述 With the above implementation, some or all users on the SGW can be migrated to the new SGW, which can implement load redistribution of the SGW and achieve the purpose of load balancing. BRIEF abstract

图 1为现有技术中 SAE的架构示意图;  1 is a schematic structural diagram of a SAE in the prior art;

图 2为本发明实施例中迁移用户的流程图;  2 is a flowchart of migrating a user in an embodiment of the present invention;

图 3为本发明实施例中迁移空闲状态用户的流程图;  3 is a flowchart of migrating an idle state user in an embodiment of the present invention;

图 4为本发明实施例中改变用户状态的流程图;  4 is a flowchart of changing a user state in an embodiment of the present invention;

图 5为本发明实施例的迁移连接状态用户的流程图;  FIG. 5 is a flowchart of a user in a migration connection state according to an embodiment of the present invention; FIG.

图 6为本发明另一实施例的迁移连接状态用户的流程图;  6 is a flowchart of a user in a migration connection state according to another embodiment of the present invention;

图 7为本发明实施例的服务网关的负载重分配系统的组成框图。  FIG. 7 is a structural block diagram of a load redistribution system of a service gateway according to an embodiment of the present invention.

本发明的较佳实施方式 Preferred embodiment of the invention

本发明提出一种服务网关的负载重分配方法, 釆用如下技术方案: SGW因为维护升级或者其他原因 (如得知系统新增加 SGW时) , 需要 进行负载重分配, 则通知移动管理单元需要迁移用户, 移动管理单元选择用 户进行迁移; The invention provides a load redistribution method for a service gateway, and adopts the following technical solutions: If the SGW needs to perform load redistribution because of maintenance upgrade or other reasons (such as when the system newly adds the SGW), the mobile management unit is notified that the mobile management unit needs to migrate the user, and the mobility management unit selects the user to perform the migration;

移动管理单元选择新的 SGW, 向选择的新的 SGW发送会话建立请求消 息, 将 UE迁移至新的 SGW;  The mobility management unit selects a new SGW, sends a session establishment request message to the selected new SGW, and migrates the UE to the new SGW;

完成 UE的迁移后, 新的 SGW与 PGW之间进行用户上下文的更新。 其中, 移动管理单元中存储有用户当前的状态, 移动管理单元选择的用 户可以是空闲状态用户, 也可以是连接状态用户。 对于处于空闲状态的 UE, 由移动管理单元直接迁移至新的 SGW上; 对于处于连接状态的 UE, 需要由 移动管理单元先对其进行释放,使其变为空闲状态, 而后按照空闲状态的 UE 进行迁移。  After the migration of the UE is completed, the user context is updated between the new SGW and the PGW. The mobile management unit stores the current state of the user, and the user selected by the mobility management unit may be an idle state user or a connected state user. For the UE in the idle state, the mobility management unit directly migrates to the new SGW; for the UE in the connected state, it needs to be released by the mobility management unit to make it idle, and then the UE in the idle state. Perform the migration.

进一步地, 移动管理单元根据网络中 SGW 的负载状态网络中负载较低 的其他 SGW进行迁移, 而当网络中新增加 SGW时, 移动管理单元会将原 SGW上的部分用户迁移至该新增的 SGW。  Further, the mobility management unit performs migration according to other SGWs with lower load in the load state network of the SGW in the network, and when the SGW is newly added in the network, the mobility management unit migrates some users on the original SGW to the newly added SGW.

进一步地, 移动管理单元发送特定原因值的 SI ( MME到 eNodeB之间 的接口的是 S1-MME, 统称为 S1接口) /Iu ( RNC到 SGSN的接口 ) Release 过程, 将 UE从连接状态转变为空闲状态, 该原因值可以是 "SGW负载平衡 ( load balancing )跟踪区更新请求( Tracking Area Update, TAU ) /路由区更 新 ( Routing Area Update , RAU )请求 ( required ) ,, 。  Further, the mobility management unit sends the SI of the specific cause value (the interface between the MME and the eNodeB is an S1-MME, collectively referred to as an S1 interface) /Iu (the interface of the RNC to the SGSN) Release procedure, and changes the UE from the connected state to In the idle state, the cause value may be "SGW load balancing Tracking Area Update (TAU) / Routing Area Update (RAU) request (required),,".

进一步地, 移动管理单元包括: MME, SGSN等。  Further, the mobility management unit includes: an MME, an SGSN, and the like.

为使本发明实施例的目的、 技术方案及优点更加清楚明白, 以下结合附 图及实施例对本发明技术方案的实施作进一步详细阐述。 In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clearly, the implementation of the technical solutions of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.

本发明实施例的迁移用户的方法, 如图 2所示, 主要包括以下步骤: 步骤 201 , SGW因为维护升级或者其他原因, 向移动管理单元发送负载 重分配指示消息, 通知移动管理单元进行迁移用户, 该消息中可以携带迁移 用户的数量;  The method for migrating a user in the embodiment of the present invention, as shown in FIG. 2, mainly includes the following steps: Step 201: The SGW sends a load re-allocation indication message to the mobility management unit to notify the mobility management unit to migrate the user because of maintenance upgrade or other reasons. The number of migrated users can be carried in the message;

其中, 负载重分配指示消息可以釆用现有的消息来携带, 如承载更新请 求等; 也可以釆用单独的指示消息。 The load re-allocation indication message may be carried by using an existing message, such as a bearer update. Equivalent; a separate indication message can also be used.

步骤 202, 移动管理单元选择相应数量的用户进行迁移, 为用户选择新 的 SGW, 将用户迁移至该新的 SGW上。  Step 202: The mobility management unit selects a corresponding number of users to perform migration, selects a new SGW for the user, and migrates the user to the new SGW.

本实施例中, 移动管理单元根据负载重分配消息随机选择指定数量的用 户进行迁移, 迁移的用户可能既包含空闲状态用户, 也包含连接状态用户。 对于空闲状态用户, 移动管理单元可以直接将其迁移至新的 SGW上; 对于 连接状态用户, 移动管理单元先将其无线资源释放, 使用户转化为空闲状态, 然后再将其迁移至新的 SGW上。  In this embodiment, the mobility management unit randomly selects a specified number of users for migration according to the load reassignment message, and the migrated user may include both an idle state user and a connection state user. For idle state users, the mobility management unit can directly migrate it to the new SGW; for the connection state user, the mobility management unit first releases its wireless resources, turns the user into an idle state, and then migrates it to the new SGW. on.

图 3示出了本发明实施例中服务网关负载重分配的流程, 如图 3所示, 主要包括以下步骤: FIG. 3 shows a flow of service gateway load redistribution in the embodiment of the present invention. As shown in FIG. 3, the method mainly includes the following steps:

步骤 301 , SGW1因为维护升级或者其他原因,向移动管理单元(如 MME ) 发送负载重分配指示消息, 该指示消息中可以携带需要迁移的用户数;  Step 301: The SGW1 sends a load re-allocation indication message to the mobility management unit (such as the MME), and the indication message may carry the number of users that need to be migrated.

步骤 302 , MME选择空闲状态的用户进行迁移;  Step 302: The MME selects a user in an idle state to perform migration.

本实施例中, MME优先选择空闲状态的用户进行迁移。  In this embodiment, the MME preferentially selects the user in the idle state to perform migration.

步骤 303 , MME为 UE选择新的 SGW ( SGW2 ) , 并向该新的 SGW发 送会话建立请求消息,请求将 UE迁移至该新的 SGW上, 该请求消息中携带 IMSL MME的控制面地址和隧道端点标识( Tunnel Endpoint Identifier, TEID )、 承载标识(Bearer ID ) 以及服务质量( Quality of Service , Bearer QoS ) ; 步骤 304,新的 SGW向 PGW发送修改承载请求消息,请求更新上下文, 请求消息中携带新的 SGW的控制面地址和 TEID, bearer ID,新的 SGW的下 行用户面地址和 TEID;  Step 303: The MME selects a new SGW (SGW2) for the UE, and sends a session establishment request message to the new SGW, requesting to migrate the UE to the new SGW, where the request message carries the control plane address and tunnel of the IMSL MME. Endpoint Identifier (TEID), Bearer ID, and Quality of Service (Bearer QoS). Step 304: The new SGW sends a modify bearer request message to the PGW, requesting to update the context, and carrying the request message. Control plane address and TEID of the new SGW, bearer ID, downlink user plane address and TEID of the new SGW;

步骤 305 , PGW向新的 SGW返回修改承载响应消息;  Step 305: The PGW returns a modify bearer response message to the new SGW.

步骤 306, 新的 SGW向 MME返回会话建立响应消息, 该消息中携带新 的 SGW的控制面地址和 TEID;  Step 306, the new SGW returns a session establishment response message to the MME, where the message carries the control plane address and TEID of the new SGW;

步骤 307, MME向原 SGW ( SGW1 )发送释放会话请求, 原 SGW释放 UE的上下文; 步骤 308, 原 SGW向 MME返回释放会话响应。 Step 307: The MME sends a release session request to the original SGW (SGW1), and the original SGW releases the context of the UE. Step 308, the original SGW returns a release session response to the MME.

需要指出的是, 本实施例同样适用于 UE接入至 SGSN的情况。  It should be noted that this embodiment is also applicable to the case where the UE accesses the SGSN.

图 4示出了本发明实施例中, MME需要改变用户状态, 使 UE从连接状 态变为空闲状态的流程, 如图 4所示, 主要包括以下步骤: FIG. 4 shows a process in which the MME needs to change the user state and change the UE from the connected state to the idle state in the embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:

步骤 401 , MME向 SGW发送接入承载释放请求消息, 请求 SGW释放 用户面地址和 TEID;  Step 401: The MME sends an access bearer release request message to the SGW, requesting the SGW to release the user plane address and the TEID.

步骤 402 , SGW向 MME返回接入承载释放响应消息;  Step 402: The SGW returns an access bearer release response message to the MME.

步骤 403 , MME向 eNodeB发送用户上下文释放指令消息, 该指令消息 携带特定原因值, 用于指示该释放原因是 SGW负载重分配所致, 并需要 UE 重新发起 TAU过程;  Step 403: The MME sends a user context release command message to the eNodeB, where the command message carries a specific cause value, which is used to indicate that the release cause is caused by SGW load re-allocation, and the UE needs to re-initiate the TAU process.

步骤 404, eNodeB向 UE发送无线资源连接 ( Radio Resource Connection, RRC )连接释放请求消息, 该请求消息携带特定原因值, 用于指示该释放原 因是 SGW负载重分配所致, 并需要 UE重新发起 TAU过程;  Step 404: The eNodeB sends a radio resource connection (RRC) connection release request message to the UE, where the request message carries a specific cause value, which is used to indicate that the release cause is caused by SGW load re-allocation, and the UE needs to re-initiate TAU. Process

步骤 405 , UE向 eNodeB返回 RRC连接释放响应消息;  Step 405: The UE returns an RRC connection release response message to the eNodeB.

步骤 406, eNodeB向 MME返回用户上下文释放完成消息。  Step 406: The eNodeB returns a user context release complete message to the MME.

至此, UE从连接状态转变为空闲状态。  At this point, the UE transitions from the connected state to the idle state.

需要指出的是, 本实施例同样适用于 UE接入至 SGSN的情况。  It should be noted that this embodiment is also applicable to the case where the UE accesses the SGSN.

图 5所示为本发明另一实施例中服务网关负载重分配的流程, 如图 5所 示, 包括如下步骤: FIG. 5 is a flowchart of a service gateway load redistribution according to another embodiment of the present invention. As shown in FIG. 5, the method includes the following steps:

步骤 501, SGW因为维护升级或者其他原因,向 MME发送负载重分配指 示消息, 该指示消息中可以携带需要迁移的用户数;  Step 501: The SGW sends a load re-allocation indication message to the MME, where the SGW can carry the number of users that need to be migrated.

步骤 502, MME选择相应数量的用户进行迁移;  Step 502: The MME selects a corresponding number of users to perform migration.

本实施例中, MME选择连接状态的用户进行迁移。  In this embodiment, the MME selects a user in the connection state to perform migration.

步骤 503~508的操作与图 4中步骤 401~406的操作类似,此处不再赘述。 步骤 509 , UE向 MME发送跟踪区更新请求, 请求消息中携带 MME为 UE分配的全球唯一临时标识(Globally Unique Temporary Identity, GUTI ) ; 步骤 510~515的操作与图 3中步骤 303~308的操作类似,此处不再赘述。 步骤 516, 如果 MME确认 UE在当前的跟踪区内有效, 则向 UE发送跟 踪区更新接受消息; The operations of steps 503-508 are similar to the operations of steps 401-406 in FIG. 4, and details are not described herein again. Step 509: The UE sends a tracking area update request to the MME, where the request message carries the Globally Unique Temporary Identity (GUTI) allocated by the MME for the UE; the operations of steps 510-515 and the operations of steps 303-308 in FIG. Similar, it will not be repeated here. Step 516: If the MME confirms that the UE is valid in the current tracking area, send a tracking area update accept message to the UE.

至此, UE重新转变为连接状态。  At this point, the UE re-transitions to the connected state.

步骤 517, 如果 MME通过 TAU流程为 UE分配了一个新的 GUTI标识 , 那么 UE会返回艮踪区更新完成消息向 MME进行确认。  Step 517: If the MME allocates a new GUTI identifier to the UE through the TAU procedure, the UE returns a trace area update complete message to the MME for confirmation.

需要指出的是, 本实施例同样适用于 UE接入至 SGSN的情况。  It should be noted that this embodiment is also applicable to the case where the UE accesses the SGSN.

图 6所示为本发明又一实施例中服务网关负载重分配的流程, 如图 6所 示, 包括如下步骤 FIG. 6 is a flowchart showing a process of reassigning a service gateway load according to another embodiment of the present invention. As shown in FIG. 6, the method includes the following steps.

步骤 601, SGW因为维护升级或者其他原因,向 MME发送负载重分配指 示消息, 该指示消息中可以携带需要迁移的用户数;  Step 601: The SGW sends a load re-allocation indication message to the MME, where the SGW can carry the number of users that need to be migrated.

步骤 602, MME选择相应数量的连接状态用户进行迁移;  Step 602: The MME selects a corresponding number of connection state users to perform migration.

步骤 603 , MME需要改变用户状态, 使 UE从连接状态变为空闲状态, 则 MME向 SGW发送接入承载释放请求消息, 请求 SGW释放用户面地址和 TEID;  Step 603, the MME needs to change the user state, and the UE is changed from the connection state to the idle state, and the MME sends an access bearer release request message to the SGW, requesting the SGW to release the user plane address and the TEID;

步骤 604 , SGW向 MME返回接入承载响应消息;  Step 604: The SGW returns an access bearer response message to the MME.

步骤 605 , MME向 eNodeB发送用户上下文释放指令消息, 该指令消息 携带特定原因值, 用于指示该释放是 SGW负载重分配所致;  Step 605: The MME sends a user context release command message to the eNodeB, where the command message carries a specific cause value, which is used to indicate that the release is caused by SGW load redistribution;

步骤 606, eNodeB向 UE发送无线资源连接 (Radio Resource Connection, RRC)连接释放请求消息, 该指令消息携带特定原因值, 用于指示该释放是 SGW负载重分配所致;  Step 606: The eNodeB sends a Radio Resource Connection (RRC) connection release request message to the UE, where the command message carries a specific cause value, which is used to indicate that the release is caused by SGW load redistribution;

步骤 607 , UE向 eNodeB返回 RRC连接释放响应消息;  Step 607: The UE returns an RRC connection release response message to the eNodeB.

步骤 608, eNodeB向 MME返回用户上下文释放完成消息。  Step 608: The eNodeB returns a user context release complete message to the MME.

步骤 609~614的操作与图 3中步骤 303~308的操作类似,此处不再赘述。 步骤 615, MME向 UE所属跟踪区列表 ( TA list ) 的 eNodeB发起寻呼 消息; The operations of steps 609-614 are similar to the operations of steps 303-308 in FIG. 3, and details are not described herein again. Step 615: The MME initiates a paging message to the eNodeB of the tracking area list (TA list) to which the UE belongs.

步骤 616, eNodeB发起寻呼消息;  Step 616, the eNodeB initiates a paging message.

步骤 617, UE向 MME发送业务请求( Service Request ) 消息; 步骤 618, MME向 eNodeB发送初始上下文建立请求消息, 该请求消息 中携带 SGW的用户面地址和 TEID , Bearer QoS以及安全上下文等;  Step 617: The UE sends a service request (Service Request) message to the MME. Step 618: The MME sends an initial context setup request message to the eNodeB, where the request message carries the user plane address and TEID of the SGW, the Bearer QoS, and the security context.

步骤 619, eNodeB向 UE发起无线承载建立请求消息, 请求建立无线承 载;  Step 619: The eNodeB initiates a radio bearer setup request message to the UE, requesting to establish a radio bearer.

步骤 620 , UE向 eNodeB返回无线承载建立响应消息;  Step 620: The UE returns a radio bearer setup response message to the eNodeB.

至此, UE重新转变为连接状态。  At this point, the UE re-transitions to the connected state.

步骤 621 , eNodeB向 MME发送初始上下文建立完成消息, 该响应消息 中携带 eNodeB的用户面地址和 TEID;  Step 621: The eNodeB sends an initial context setup complete message to the MME, where the response message carries the user plane address and the TEID of the eNodeB.

步骤 622, MME 向 SGW发送修改承载请求消息, 该请求消息中携带 eNodeB的用户面地址和 TEID;  Step 622: The MME sends a modify bearer request message to the SGW, where the request message carries the user plane address and the TEID of the eNodeB.

步骤 623 , SGW向 MME返回修改承载响应消息。  Step 623: The SGW returns a modify bearer response message to the MME.

需要说明的是, 本实施例同样适用于 UE接入 SGSN的情况。  It should be noted that the embodiment is also applicable to the case where the UE accesses the SGSN.

如图 7所示, 本发明还提供了一种服务网关的负载重分配系统, 包括服 务网关和移动管理单元, 其中, 服务网关中包括负载重分配指示模块, 移动 管理单元中包括负载重分配执行模块, 该负载重分配执行模块进一步又包括 网关选择单元和用户迁移单元, 各模块 /单元的作用如下: As shown in FIG. 7, the present invention further provides a load redistribution system of a service gateway, including a service gateway and a mobility management unit, where the service gateway includes a load redistribution indication module, and the mobility management unit includes load redistribution execution. The module, the load redistribution execution module further includes a gateway selection unit and a user migration unit, and each module/unit functions as follows:

负载重分配指示模块用于, 在服务网关需要维护升级、 或得知网络中新 增加服务网关时,向网关选择单元及用户迁移单元发送负载重分配指示消息; 网关选择单元用于, 接收到负载重分配指示消息后, 选择其他的服务网 关;  The load re-allocation indication module is configured to: when the service gateway needs to maintain and upgrade, or learn to newly add a service gateway in the network, send a load re-allocation indication message to the gateway selection unit and the user migration unit; the gateway selection unit is configured to receive the load After reassigning the indication message, select another service gateway;

用户迁移单元用于, 接收到负载重分配指示消息后, 选择服务网关上的 部分或全部用户, 并将选择的用户迁移至网关选择单元选择的其他新的服务 网关上。 The user migration unit is configured to: after receiving the load reassignment indication message, select some or all users on the service gateway, and migrate the selected user to another new service selected by the gateway selection unit. On the gateway.

进一步地, 负载重分配指示模块还用于, 在负载重分配指示消息中携带 需要迁移的用户数;  Further, the load re-allocation indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message;

用户迁移单元用于, 根据用户数选择服务网关上相应数量的用户, 并将 选择的用户迁移至新的服务网关上。  The user migration unit is configured to select a corresponding number of users on the service gateway according to the number of users, and migrate the selected users to the new service gateway.

进一步地, 网关选择单元在选择新的服务网关时, 选择网络中负载较低 的网关或网络中新增的服务网关。  Further, when selecting a new serving gateway, the gateway selecting unit selects a gateway with a lower load in the network or a new service gateway in the network.

的状态对其进行迁移, 对于空闲状态的用户, 直接将其迁移至新的服务网关 上; 对于连接状态的用户, 则先将其从连接状态转变为空闲状态后, 再将其 迁移至新的服务网关上。 The state is migrated, and the user in the idle state is directly migrated to the new service gateway; for the user in the connected state, it is first changed from the connected state to the idle state, and then migrated to the new one. On the service gateway.

其中, 用户迁移单元在对连接状态的用户进行迁移时, 可按照前述实施 例中的方式将连接状态的用户转变为空闲状态, 其具体操作流程在此不再赘 述。  The user migration unit may change the user in the connected state to the idle state in the manner of the foregoing embodiment, and the specific operation procedure is not described herein.

进一步地, 用户迁移单元在选择相应数量的用户进行迁移时, 优先选择 空闲状态的用户。  Further, when the user migration unit selects a corresponding number of users for migration, the user in the idle state is preferentially selected.

进一步地, 服务网关还包括上下文更新模块, 用于当其他网关上的用户 迁移至本服务网关后, 向分组数据网网关发送修改承载请求消息, 请求分组 数据网网关对所述用户的上下文进行更新。  Further, the service gateway further includes a context update module, configured to: after the user on the other gateway migrates to the serving gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user. .

本发明还提供了一种服务网关,所述服务网关包括负载重分配指示模块, 所述负载重分配指示模块设置为: 在所述服务网关需要维护升级、 或得 知网络中新增加服务网关时, 向网关选择单元及用户迁移单元发送负载重分 配指示消息;  The present invention also provides a service gateway, where the service gateway includes a load redistribution indication module, and the load redistribution indication module is configured to: when the service gateway needs to be upgraded, or when the service gateway is newly added in the network Sending a load re-allocation indication message to the gateway selection unit and the user migration unit;

所述网关选择单元及用户迁移单元属于移动管理单元的负载重分配执行 模块; 所述网关选择单元接收到所述负载重分配指示消息后, 选择发送所述 负载重分配指示消息之外的其他服务网关作为新的服务网关; 所述用户迁移 单元接收到所述负载重分配指示消息后, 选择所述服务网关上的部分或全部 用户, 并将所选择的用户迁移至所述网关选择单元选择的新的服务网关上。 所述负载重分配指示模块还设置为: 在所述负载重分配指示消息中携带 需要迁移的用户数; The gateway selection unit and the user migration unit belong to a load re-allocation execution module of the mobility management unit; after receiving the load re-distribution indication message, the gateway selection unit selects to send other services than the load re-allocation indication message. The gateway serves as a new service gateway. After receiving the load re-distribution indication message, the user migration unit selects some or all users on the service gateway, and migrates the selected user to the gateway selection unit. On the new service gateway. The load redistribution indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message;

所述用户迁移单元是根据所述用户数选择所述服务网关上相应数量的用 户, 并将选择的所述用户迁移至所述新的服务网关上。  The user migration unit selects a corresponding number of users on the service gateway according to the number of users, and migrates the selected user to the new service gateway.

所述服务网关还包括上下文更新模块;  The service gateway further includes a context update module;

所述上下文更新模块设置为: 当所述其他网关上的用户迁移至本服务网 关后, 向分组数据网网关发送修改承载请求消息, 请求所述分组数据网网关 对所述用户的上下文进行更新。  The context update module is configured to: after the user on the other gateway migrates to the service gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user.

本发明还提供了一种移动管理单元, 所述移动管理单元包括负载重分配 执行模块, 所述负载重分配执行模块包括网关选择单元和用户迁移单元, 其 中: The present invention also provides a mobility management unit, the mobility management unit includes a load redistribution execution module, and the load redistribution execution module includes a gateway selection unit and a user migration unit, where:

所述网关选择单元设置为: 接收到负载重分配指示消息后, 选择发送所 述负载重分配指示消息之外的其他服务网关作为新的服务网关; 所述负载重 分配指示消息由所述负载重分配指示模块在服务网关需要维护升级、 或得知 网络中新增加服务网关时, 向所述网关选择单元及所述用户迁移单元发送; 所述用户迁移单元设置为: 接收到所述负载重分配指示消息后, 选择所 述服务网关上的部分或全部用户, 并将所选择的用户迁移至所述网关选择单 元选择的新的服务网关上。  The gateway selection unit is configured to: after receiving the load re-allocation indication message, select to send another service gateway other than the load re-allocation indication message as a new serving gateway; the load re-allocation indication message is heavy by the load The allocation indication module sends to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or learns to newly add the service gateway in the network; the user migration unit is configured to: receive the load redistribution After the message is indicated, some or all of the users on the service gateway are selected, and the selected user is migrated to the new service gateway selected by the gateway selection unit.

所述用户迁移单元是设置为: 根据所述用户数选择所述服务网关上相应 数量的用户, 并将选择的所述用户迁移至所述新的服务网关上; 所述负载重 分配指示模块在所述负载重分配指示消息中携带需要迁移的用户数。  The user migration unit is configured to: select a corresponding number of users on the service gateway according to the number of users, and migrate the selected user to the new service gateway; the load redistribution indication module is The load redistribution indication message carries the number of users that need to be migrated.

所述网关选择单元是设置为: 在选择所述新的服务网关时, 选择网络中 负载较低的网关或网络中新增的服务网关。  The gateway selection unit is configured to: when selecting the new service gateway, select a gateway with a lower load in the network or a new service gateway in the network.

所述用户迁移单元是设置为: 在将所述用户迁移至所述新的服务网关上 时, 按如下方式根据所述用户的状态进行迁移: 对于空闲状态的用户, 直接 迁移至所述新的服务网关上; 对于连接状态的用户, 则先从连接状态转变为 空闲状态后, 再将所述连接状态的用户迁移至所述新的服务网关上。 所述用户迁移单元是设置为: 在选择相应数量的用户进行迁移时, 优先 选择空闲状态的用户。 The user migration unit is configured to: when migrating the user to the new service gateway, perform migration according to the state of the user as follows: for the user in the idle state, directly migrate to the new On the service gateway, for the user in the connection state, after the connection state is changed to the idle state, the user in the connection state is migrated to the new service gateway. The user migration unit is configured to: preferentially select a user in an idle state when selecting a corresponding number of users for migration.

以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保护 范围。 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的情况 这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. The invention may be embodied in various other forms and modifications without departing from the spirit and scope of the invention.

工业实用性 Industrial applicability

釆用上述实施方案, 可以将 SGW上的部分或全部用户迁移至新的 SGW 上, 可以实现 SGW的负载重分配, 使 SGW达到负载均衡的目的。  With the above implementation, some or all users on the SGW can be migrated to the new SGW, which can implement load redistribution of the SGW and achieve the purpose of load balancing.

Claims

权 利 要 求 书 Claim 1、 一种服务网关的负载重分配方法, 该方法包括: A load redistribution method for a service gateway, the method comprising: 服务网关在需要进行负载重分配时, 向移动管理单元发送负载重分配指 示消息; 以及  The serving gateway sends a load reassignment indication message to the mobility management unit when load redistribution is required; 所述移动管理单元选择所述服务网关之外的其他服务网关为新的服务网 关,并将所述服务网关上的部分或全部用户迁移至所选择的新的服务网关上。  The mobility management unit selects other service gateways other than the serving gateway as a new service gateway, and migrates some or all of the users on the serving gateway to the selected new serving gateway. 2、 如权利要求 1所述的方法, 其中,  2. The method of claim 1 wherein 所述服务网关需要进行负载重分配是: 所述服务网关在维护升级、 或得 知网络中新增加服务网关时, 需要对用户进行迁移;  The service gateway needs to perform load re-allocation: the service gateway needs to migrate the user when maintaining or upgrading, or knowing that the service gateway is newly added in the network; 所述移动管理单元在选择所述新的服务网关时, 选择网络中所述其他服 务网关中负载较低的网关或所述新增的服务网关。  When the mobility management unit selects the new serving gateway, the mobility management unit selects a lower-loaded gateway or the newly added serving gateway among the other service gateways in the network. 3、 如权利要求 2所述的方法, 其中,  3. The method of claim 2, wherein 向移动管理单元发送负载重分配指示消息之前, 所述服务网关在所述负 载重分配指示消息中携带需要迁移的用户数;  Before the load re-allocation indication message is sent to the mobility management unit, the serving gateway carries the number of users to be migrated in the load re-distribution indication message; 所述迁移步骤中, 所述移动管理单元根据所述用户数选择相应数量的用 户迁移至所述新的服务网关上。  In the migrating step, the mobility management unit selects a corresponding number of users to migrate to the new serving gateway according to the number of users. 4、 如权利要求 3所述的方法, 其中, 括: 根据所述用户的状态进行迁移; 对于空闲状态的用户, 直接迁移至所述 新的服务网关上; 对于连接状态的用户, 则先从连接状态转变为空闲状态后, 再迁移至所述新的服务网关上。  4. The method according to claim 3, comprising: performing migration according to the state of the user; directly migrating to the new service gateway for the user in the idle state; After the connection state transitions to the idle state, it is migrated to the new service gateway. 5、 如权利要求 4所述的方法, 其中,  5. The method of claim 4, wherein 所述移动管理单元在选择相应数量的用户进行迁移时, 优先选择空闲状 态的用户。  The mobility management unit preferentially selects the user in the idle state when selecting the corresponding number of users for migration. 6、 如权利要求 4所述的方法, 其中,  6. The method of claim 4, wherein 所述移动管理单元将所述连接状态的用户转变为空闲状态的步骤包括: 所述移动管理单元向所述用户的基站发送用户上下文释放指令消息, 所 述用户上下文释放指令消息中携带特定原因值, 以指示释放原因为服务网关 负载重分配; The step of the mobility management unit converting the user in the connected state to the idle state includes: The mobility management unit sends a user context release instruction message to the base station of the user, where the user context release command message carries a specific cause value to indicate that the release reason is a service gateway load redistribution; 所述基站向所述用户发送无线资源连接释放请求消息, 在所述无线资源 连接释放请求消息中携带所述特定原因值; 以及  Sending, by the base station, a radio resource connection release request message to the user, and carrying the specific cause value in the radio resource connection release request message; 所述用户根据所述无线资源连接释放请求消息完成用户上下文的释放 后, 从连接状态转变为空闲状态。  After the user completes the release of the user context according to the radio resource connection release request message, the user transitions from the connected state to the idle state. 7、如权利要求 6所述的方法, 所述方法还包括将所述转变为空闲状态的 用户重新转变为连接状态的步骤,  7. The method of claim 6 further comprising the step of reconverting said user transitioning to an idle state to a connected state, 所述将所述转变为空闲状态的用户重新转变为连接状态的步骤包括: 重新发起跟踪区更新请求的指示;  The step of re-converting the user transitioning to the idle state to the connected state includes: reinitiating an indication of the tracking area update request; 所述基站在发送的所述无线资源连接释放请求消息中包含所述用户重新 发起跟踪区更新请求的指示;  And the base station includes, in the sent radio resource connection release request message, an indication that the user re-initiates a tracking area update request; 所述用户根据所述指示向所述移动管理实体发送跟踪区更新请求; 以及 所述移动管理实体接收到跟踪区更新请求后, 如果确认所述用户在当前 的跟踪区有效, 则向所述用户发送跟踪区更新接受消息。  And the user sends a tracking area update request to the mobility management entity according to the indication; and after the mobile management entity receives the tracking area update request, if the user is confirmed to be valid in the current tracking area, the user is Send tracking area update accept message. 8、如权利要求 6所述的方法, 所述方法还包括将所述转变为空闲状态的 用户重新转变为连接状态的步骤, 所述将所述转变为空闲状态的用户重新转 变为连接状态的步骤包括:  8. The method of claim 6, further comprising the step of re-converting the user transitioning to an idle state to a connected state, the step of re-converting the user transitioning to an idle state to a connected state The steps include: 所述移动管理实体向所述用户所属的跟踪区列表内的基站发起寻呼消 息;  The mobility management entity initiates a paging message to a base station in a tracking area list to which the user belongs; 所述跟踪区列表内的基站向所述用户发起寻呼消息; 所述用户接收到所 述寻呼消息后, 向所述移动管理实体发送业务请求消息;  The base station in the tracking area list initiates a paging message to the user; after receiving the paging message, the user sends a service request message to the mobility management entity; 所述移动管理实体向所述基站发送初始上下文建立请求消息; 所述基站 向所述用户发送无线承载建立请求消息; 以及  The mobility management entity sends an initial context setup request message to the base station; the base station sends a radio bearer setup request message to the user; 所述用户根据所述无线承载建立请求消息建立无线承载, 并向所述基站 返回无线承载建立响应消息。 The user establishes a radio bearer according to the radio bearer setup request message, and sends the radio bearer to the base station Returns the radio bearer setup response message. 9、 如权利要求 1至 8任一项所述的方法, 所述方法还包括:  9. The method of any of claims 1 to 8, the method further comprising: 所述用户迁移至所述新的服务网关上后, 所述新的服务网关向分组数据 网网关发送修改承载请求消息; 以及  After the user migrates to the new serving gateway, the new serving gateway sends a modify bearer request message to the packet data network gateway; 所述分组数据网网关根据接收到的所述修改承载请求消息对所述用户的 上下文进行更新后, 发送修改承载响应给所述新的服务网关。  And after the packet data network gateway updates the context of the user according to the received modify bearer request message, sending a modify bearer response to the new serving gateway. 10、 一种服务网关的负载重分配系统, 所述系统包括服务网关和移动管 理单元, 所述服务网关包括负载重分配指示模块, 所述移动管理单元包括负 载重分配执行模块, 所述负载重分配执行模块包括网关选择单元和用户迁移 单元, 其中:  A load reassignment system of a service gateway, the system includes a service gateway and a mobility management unit, the service gateway includes a load redistribution indication module, and the mobility management unit includes a load redistribution execution module, where the load is heavy The allocation execution module includes a gateway selection unit and a user migration unit, where: 所述负载重分配指示模块设置为: 在所述服务网关需要维护升级、 或得 知网络中新增加服务网关时, 向所述网关选择单元及所述用户迁移单元发送 负载重分配指示消息;  The load redistribution indication module is configured to: send a load reassignment indication message to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or if the service gateway is newly added in the network; 所述网关选择单元设置为: 接收到所述负载重分配指示消息后, 选择发 送所述负载重分配指示消息之外的其他服务网关作为新的服务网关;  The gateway selection unit is configured to: after receiving the load re-distribution indication message, select to send another service gateway other than the load re-allocation indication message as a new service gateway; 所述用户迁移单元设置为: 接收到所述负载重分配指示消息后, 选择所 述服务网关上的部分或全部用户, 并将所选择的用户迁移至所述网关选择单 元选择的新的服务网关上。  The user migration unit is configured to: after receiving the load reassignment indication message, select some or all users on the serving gateway, and migrate the selected user to a new service gateway selected by the gateway selection unit. on. 11、 如权利要求 10所述的系统, 其中,  11. The system of claim 10, wherein 所述负载重分配指示模块还设置为: 在所述负载重分配指示消息中携带 需要迁移的用户数;  The load re-allocation indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message; 所述用户迁移单元是设置为: 根据所述用户数选择所述服务网关上相应 数量的用户, 并将选择的所述用户迁移至所述新的服务网关上。  The user migration unit is configured to: select a corresponding number of users on the service gateway according to the number of users, and migrate the selected user to the new service gateway. 12、 如权利要求 10所述的系统, 其中,  12. The system of claim 10, wherein 所述网关选择单元是设置为: 在选择所述新的服务网关时, 选择网络中 负载较低的网关或网络中新增的服务网关。  The gateway selection unit is configured to: when selecting the new service gateway, select a gateway with a lower load in the network or a new service gateway in the network. 13、 如权利要求 10、 11或 12所述的系统, 其中, 所述用户迁移单元是设置为: 在将所述用户迁移至所述新的服务网关上 时, 按如下方式根据所述用户的状态进行迁移: 对于空闲状态的用户, 直接 迁移至所述新的服务网关上; 对于连接状态的用户, 则先从连接状态转变为 空闲状态后, 再将所述连接状态的用户迁移至所述新的服务网关上。 13. The system of claim 10, 11 or 12, wherein The user migration unit is configured to: when migrating the user to the new service gateway, perform migration according to the state of the user as follows: for the user in the idle state, directly migrate to the new On the service gateway, for the user in the connection state, after the connection state is changed to the idle state, the user in the connection state is migrated to the new service gateway. 14、 如权利要求 13所述的系统, 其中,  14. The system of claim 13 wherein 所述用户迁移单元是设置为: 在选择相应数量的用户进行迁移时, 优先 选择空闲状态的用户。  The user migration unit is configured to: preferentially select a user in an idle state when selecting a corresponding number of users for migration. 15、 如权利要求 14所述的系统, 其中,  15. The system of claim 14 wherein 所述服务网关还包括上下文更新模块;  The service gateway further includes a context update module; 所述上下文更新模块设置为: 当所述其他网关上的用户迁移至本服务网 关后, 向分组数据网网关发送修改承载请求消息, 请求所述分组数据网网关 对所述用户的上下文进行更新。  The context update module is configured to: after the user on the other gateway migrates to the service gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user. 16、 一种服务网关, 所述服务网关包括负载重分配指示模块,  16. A service gateway, where the service gateway includes a load redistribution indication module, 所述负载重分配指示模块设置为: 在所述服务网关需要维护升级、 或得 知网络中新增加服务网关时, 向网关选择单元及用户迁移单元发送负载重分 配指示消息;  The load redistribution indication module is configured to: send a load reassignment indication message to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or if the service gateway is newly added in the network; 所述网关选择单元及用户迁移单元属于移动管理单元的负载重分配执行 模块; 所述网关选择单元接收到所述负载重分配指示消息后, 选择发送所述 负载重分配指示消息之外的其他服务网关作为新的服务网关; 所述用户迁移 单元接收到所述负载重分配指示消息后, 选择所述服务网关上的部分或全部 用户, 并将所选择的用户迁移至所述网关选择单元选择的新的服务网关上。  The gateway selection unit and the user migration unit belong to a load re-allocation execution module of the mobility management unit; after receiving the load re-distribution indication message, the gateway selection unit selects to send other services than the load re-allocation indication message. The gateway serves as a new service gateway. After receiving the load re-distribution indication message, the user migration unit selects some or all users on the service gateway, and migrates the selected user to the gateway selection unit. On the new service gateway. 17、 如权利要求 16所述的服务网关, 其中,  17. The service gateway according to claim 16, wherein 所述负载重分配指示模块还设置为: 在所述负载重分配指示消息中携带 需要迁移的用户数;  The load re-allocation indication module is further configured to: carry the number of users that need to be migrated in the load re-distribution indication message; 所述用户迁移单元是根据所述用户数选择所述服务网关上相应数量的用 户, 并将选择的所述用户迁移至所述新的服务网关上。  The user migration unit selects a corresponding number of users on the service gateway according to the number of users, and migrates the selected user to the new service gateway. 18、如权利要求 16所述的服务网关, 所述服务网关还包括上下文更新模 块; 所述上下文更新模块设置为: 当所述其他网关上的用户迁移至本服务网 关后, 向分组数据网网关发送修改承载请求消息, 请求所述分组数据网网关 对所述用户的上下文进行更新。 18. The service gateway of claim 16, the service gateway further comprising a context update module; The context update module is configured to: after the user on the other gateway migrates to the serving gateway, send a modify bearer request message to the packet data network gateway, requesting the packet data network gateway to update the context of the user. 19、 一种移动管理单元, 所述移动管理单元包括负载重分配执行模块, 所述负载重分配执行模块包括网关选择单元和用户迁移单元, 其中:  19. A mobility management unit, the mobility management unit includes a load redistribution execution module, and the load redistribution execution module includes a gateway selection unit and a user migration unit, where: 所述网关选择单元设置为: 接收到负载重分配指示消息后, 选择发送所 述负载重分配指示消息之外的其他服务网关作为新的服务网关; 所述负载重 分配指示消息由所述负载重分配指示模块在服务网关需要维护升级、 或得知 网络中新增加服务网关时, 向所述网关选择单元及所述用户迁移单元发送; 所述用户迁移单元设置为: 接收到所述负载重分配指示消息后, 选择所 述服务网关上的部分或全部用户, 并将所选择的用户迁移至所述网关选择单 元选择的新的服务网关上。  The gateway selection unit is configured to: after receiving the load re-allocation indication message, select to send another service gateway other than the load re-allocation indication message as a new serving gateway; the load re-allocation indication message is heavy by the load The allocation indication module sends to the gateway selection unit and the user migration unit when the service gateway needs to maintain the upgrade, or learns to newly add the service gateway in the network; the user migration unit is configured to: receive the load redistribution After the message is indicated, some or all of the users on the service gateway are selected, and the selected user is migrated to the new service gateway selected by the gateway selection unit. 20、 如权利要求 19所述的移动管理单元, 其中,  20. The mobility management unit of claim 19, wherein 所述用户迁移单元是设置为: 根据所述用户数选择所述服务网关上相应 数量的用户, 并将选择的所述用户迁移至所述新的服务网关上; 所述负载重 分配指示模块在所述负载重分配指示消息中携带需要迁移的用户数。  The user migration unit is configured to: select a corresponding number of users on the service gateway according to the number of users, and migrate the selected user to the new service gateway; the load redistribution indication module is The load redistribution indication message carries the number of users that need to be migrated. 21、 如权利要求 19所述的移动管理单元, 其中, 21. The mobility management unit of claim 19, wherein 所述网关选择单元是设置为: 在选择所述新的服务网关时, 选择网络中 负载较低的网关或网络中新增的服务网关。  The gateway selection unit is configured to: when selecting the new service gateway, select a gateway with a lower load in the network or a new service gateway in the network. 22、 如权利要求 19所述的移动管理单元, 其中,  22. The mobility management unit of claim 19, wherein 所述用户迁移单元是设置为: 在将所述用户迁移至所述新的服务网关上 时, 按如下方式根据所述用户的状态进行迁移: 对于空闲状态的用户, 直接 迁移至所述新的服务网关上; 对于连接状态的用户, 则先从连接状态转变为 空闲状态后, 再将所述连接状态的用户迁移至所述新的服务网关上。  The user migration unit is configured to: when migrating the user to the new service gateway, perform migration according to the state of the user as follows: for the user in the idle state, directly migrate to the new On the service gateway, for the user in the connection state, after the connection state is changed to the idle state, the user in the connection state is migrated to the new service gateway. 23、 如权利要求 22所述的移动管理单元, 其中,  23. The mobility management unit of claim 22, wherein 所述用户迁移单元是设置为: 在选择相应数量的用户进行迁移时, 优先 选择空闲状态的用户。  The user migration unit is configured to: preferentially select a user in an idle state when selecting a corresponding number of users for migration.
PCT/CN2010/075942 2009-09-04 2010-08-12 Load reallocation method for serving gateway, system and serving gateway Ceased WO2011026391A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910168991.3 2009-09-04
CN200910168991.3A CN102014434B (en) 2009-09-04 2009-09-04 Load re-distribution method and system for service gateway

Publications (1)

Publication Number Publication Date
WO2011026391A1 true WO2011026391A1 (en) 2011-03-10

Family

ID=43648882

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/075942 Ceased WO2011026391A1 (en) 2009-09-04 2010-08-12 Load reallocation method for serving gateway, system and serving gateway

Country Status (2)

Country Link
CN (1) CN102014434B (en)
WO (1) WO2011026391A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995844A (en) * 2018-01-03 2019-07-09 中兴通讯股份有限公司 A kind of implementation method, device and the network functional entity of control plane resource migration

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205903A (en) * 2012-03-14 2014-12-10 瑞典爱立信有限公司 Determining a transition of a terminal between its idle state and its connected state
ES2790388T4 (en) 2016-06-28 2022-04-19 Huawei Tech Co Ltd Charge migration method, apparatus and system
CN112218334B (en) * 2019-07-09 2023-07-04 中国移动通信集团安徽有限公司 Dynamic optimization method, device and computing equipment for core network load
CN113676415B (en) * 2020-05-15 2023-10-27 中国移动通信集团湖南有限公司 A method, device and electronic equipment for network load balancing
CN114615698B (en) * 2020-12-09 2023-07-18 中国移动通信集团四川有限公司 A method and device for adjusting the load of an IBCF interworking gateway

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080259873A1 (en) * 2007-04-20 2008-10-23 Ahmavaara Kalle I Method and Apparatus for Providing Gateway Relocation
CN101400099A (en) * 2007-09-27 2009-04-01 华为技术有限公司 Load information providing method, S-GW, control method for service gateway and MME
CN101500270A (en) * 2008-02-02 2009-08-05 华为技术有限公司 Method and apparatus for load balance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080259873A1 (en) * 2007-04-20 2008-10-23 Ahmavaara Kalle I Method and Apparatus for Providing Gateway Relocation
CN101400099A (en) * 2007-09-27 2009-04-01 华为技术有限公司 Load information providing method, S-GW, control method for service gateway and MME
CN101500270A (en) * 2008-02-02 2009-08-05 华为技术有限公司 Method and apparatus for load balance

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995844A (en) * 2018-01-03 2019-07-09 中兴通讯股份有限公司 A kind of implementation method, device and the network functional entity of control plane resource migration
WO2019134649A1 (en) * 2018-01-03 2019-07-11 中兴通讯股份有限公司 Implementation method and apparatus for control-plane resource migration, and network functional entity

Also Published As

Publication number Publication date
CN102014434B (en) 2014-12-10
CN102014434A (en) 2011-04-13

Similar Documents

Publication Publication Date Title
JP7040556B2 (en) Method, session management function node, user plane function node, and session management parameter maintenance user equipment and its computer readable recording medium.
CN101459907B (en) A method of instructing service gateway bearer management
US8855045B2 (en) Method and system for controlling establishment of local IP access
CN113785634A (en) Wireless device paging over wireless networks
CN113994744A (en) Core paging processing
CN114009108A (en) RAN paging handling
EP2475142B1 (en) Method and system for acquiring route strategies
CN110169140A (en) System and method for session management
CN101039507B (en) Method and apparatus for establishing and releasing tunnel in evolution network framework
US20140153544A1 (en) Method and system for notifying attribute of IP address and SGW
WO2018145671A1 (en) Cross-system handover method and device, and computer storage medium
WO2011134329A1 (en) Method and system for transmitting small data packets
CN101686498B (en) A method and device for realizing load transfer
WO2011060673A1 (en) Public bearer establishment method, data transmission method and core network side apparatus
WO2008113235A1 (en) A method for avoiding resourece being released mistakenly during tracking area update or handover process
CN106332222A (en) Network selection method and base station
CN101009907A (en) Establishment and release method of the tunnel in the evolution network framework and its device
JP7785853B2 (en) Indication information transmission method, device, system, and storage medium
WO2016180018A1 (en) Access method and corresponding access node, terminal and communication network
WO2011026391A1 (en) Load reallocation method for serving gateway, system and serving gateway
CN103220721B (en) Wireless access capability report method and base station, policy control method and system
WO2008154783A1 (en) Method for establishing tunnel from sgsn to serving gateway
WO2018045928A1 (en) Method and device for network congestion control
CN106211274A (en) A method and device for accessing a service network, and a base station
CN101959209B (en) Synchronization method and system for partial failure handling

Legal Events

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

Ref document number: 10813313

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10813313

Country of ref document: EP

Kind code of ref document: A1