WO2017000141A1 - 一种p-cscf负载管理方法及装置 - Google Patents

一种p-cscf负载管理方法及装置 Download PDF

Info

Publication number
WO2017000141A1
WO2017000141A1 PCT/CN2015/082708 CN2015082708W WO2017000141A1 WO 2017000141 A1 WO2017000141 A1 WO 2017000141A1 CN 2015082708 W CN2015082708 W CN 2015082708W WO 2017000141 A1 WO2017000141 A1 WO 2017000141A1
Authority
WO
WIPO (PCT)
Prior art keywords
cscf
load
source
migration
migration instruction
Prior art date
Application number
PCT/CN2015/082708
Other languages
English (en)
French (fr)
Other versions
WO2017000141A8 (zh
Inventor
陈霞云
陈丽金
倪国瑜
邓涛
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580033830.7A priority Critical patent/CN106797585B/zh
Priority to PCT/CN2015/082708 priority patent/WO2017000141A1/zh
Publication of WO2017000141A1 publication Critical patent/WO2017000141A1/zh
Publication of WO2017000141A8 publication Critical patent/WO2017000141A8/zh

Links

Images

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 P-CSCF load management method and apparatus.
  • IP Internet Protocol
  • IMS Internet Multimedia Subsystem
  • P-CSCF Proxy-Call Session Control Funtion
  • I-CSCF Interrogating-Call Session Control Function
  • S-CSCF Serving-Call Session Control Funence
  • the P-CSCF acts as a proxy node for IMS access, and all IMS services need to be accessed through the P-CSCF.
  • the Packet Data Network GateWay (PGW) in the Evolved Packet Core (EPC) network is connected to the P-CSCF of the IMS network through the SGi interface.
  • the PGW is different in capacity and P-
  • the CSCF docking relationship is a one-to-many relationship.
  • the P-CSCF is mainly allocated through the PGW, and the UE needs to establish the SIP signaling before the IMS registration.
  • the default bearer in the IMS PDN connection establishment process, requests the P-CSCF address from the PGW.
  • the PGW carries the P-CSCF address list in the response message.
  • the PGW feeds back the P-CSCF address according to the weight ratio of each P-CSCF pre-configured by the PGW.
  • the list is used to load balance the user terminal.
  • the UE preferentially selects the first P-CSCF address in the P-CSCF address list and initiates the Session Initiation Protocol (SIP) registration before the normal voice master can be performed. Called business.
  • SIP Session Initiation Protocol
  • the load between the P-CSCF devices needs to be adjusted, including:
  • the load imbalance between the actual P-CSCFs is caused in some abnormal scenarios.
  • the P-CSCF recovered after the fault may have no user access, new The number of users accessing the expanded P-CSCF is very small.
  • the PGW will send the P-CSCF address based on the load sharing principle, not all terminals will preferentially select the first P-CSCF address of the address list due to terminal compatibility. Wait.
  • There is no method for controlling load imbalance between P-CSCFs in the prior art and long-term load imbalance will greatly increase the risk of P-CSCF congestion and make the carrier network not optimally utilized.
  • the invention provides a P-CSCF load management method and device, which implement load balancing and lossless load migration of VOLTE voice services.
  • a P-CSCF load management method which is applied to a PGW, and the method includes:
  • the migration instruction includes an identifier, a migration quantity indication information of a source proxy call session control function P-CSCF that needs to perform load migration;
  • P-CSCF address list Transmitting a P-CSCF address list to the load accessing the source P-CSCF in batches according to a preset rate; wherein the P-CSCF address list includes at least one The address of the P-CSCF other than the source P-CSCF;
  • the migration instruction further includes an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination On the P-CSCF;
  • the P-CSCF address list includes an address of the destination P-CSCF, and the destination P-CSCF has the highest priority in the P-CSCF address list.
  • the method further includes:
  • the IMS PDN connection release message is sent to the first load to indicate that the first load disconnects the current IMS PDN connection.
  • the IMS PDN connection release message includes indication information for instructing the first load to immediately re-initiate an IMS PDN establishment request; the first load is a load in which the PGW sends the P-CSCF address list Any load;
  • the P-CSCF address list is separately sent to the load that is not connected to the load of the source P-CSCF.
  • the migration quantity indication information includes:
  • the receiving migration instruction includes:
  • stopping sending the P-CSCF address list to the load that accesses the source P-CSCF, respectively includes:
  • Stop receiving the access when receiving the stop migration instruction forwarded by the S-CSCF The load of the source P-CSCF respectively sends a P-CSCF address list; wherein the stop migration instruction is when the S-CSCF detects that the number of loads accessing the source P-CSCF meets the migration instruction requirement Sent; or, the stop migration instruction is entered by the administrator.
  • the method further includes:
  • the newly accessed load is no longer allocated to the source P-CSCF.
  • a P-CSCF load management method which is applied to an S-CSCF, and the method includes:
  • a migration instruction where the migration instruction includes an identifier of the source P-CSCF and a migration quantity indication information that are required to perform load migration;
  • the migration instruction is forwarded to the PGW, and is used to instruct the PGW to perform load migration on the source P-CSCF according to the indication of the migration instruction.
  • the migration instruction further includes an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF.
  • the migration quantity indication information includes:
  • the method further includes:
  • a PGW including:
  • a receiving unit configured to receive a migration instruction, where the migration instruction includes an identifier, a migration quantity indication information of a source proxy call session control function P-CSCF that needs to perform load migration;
  • an acquiring unit configured to: when the receiving unit receives the migration instruction, scan a user context to obtain a load that accesses the source P-CSCF; where the user context includes a P-loaded by each load Correspondence of CSCF;
  • a sending unit configured to send a P-CSCF address list to the load of the source P-CSCF acquired by the acquiring unit in batches according to a preset rate, where the P-CSCF address list includes at least An address of a P-CSCF other than the source P-CSCF;
  • the sending unit is further configured to stop sending the P-CSCF address list to the load accessing the source P-CSCF separately when the number of loads accessing the source P-CSCF meets the migration instruction requirement.
  • the migration instruction further includes an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF;
  • the P-CSCF address list includes an address of the destination P-CSCF, and the destination P-CSCF has the highest priority in the P-CSCF address list.
  • the sending unit is further configured to:
  • the CSCF feedback message is sent to the first load Sending an IMS PDN connection release message to instruct the first load to disconnect the current IMS PDN connection; wherein the IMS PDN connection release message includes indication information for instructing the first load to immediately re-initiate an IMS PDN establishment request;
  • the first load is any one of the loads in which the PGW sends the P-CSCF address list;
  • the receiving unit is further configured to receive an IMS PDN establishment request sent by the first load;
  • the sending unit is further configured to feed back the P-CSCF address list to the first load.
  • the sending unit is specifically configured to:
  • the P-CSCF address list is separately sent to the load that is not connected to the load of the source P-CSCF.
  • the migration quantity indication information includes:
  • the receiving unit is specifically configured to:
  • the sending unit is specifically configured to:
  • the PGW also includes an allocating unit for no longer allocating a newly accessed load to the source P-CSCF.
  • an S-CSCF including:
  • a receiving unit configured to receive a migration instruction input by an administrator, where the migration instruction includes an identifier of the source proxy call session control function P-CSCF that needs to perform load migration, and a migration quantity indication information;
  • a forwarding unit configured to forward, by the packet data network gateway PGW, the migration instruction received by the receiving unit, to indicate, according to the indication of the migration instruction, the PGW Load migration is performed on the source P-CSCF.
  • the migration instruction further includes an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF.
  • the migration quantity indication information includes:
  • the S-CSCF further includes:
  • a detecting unit configured to detect whether a quantity of the load that accesses the source P-CSCF meets the migration instruction requirement
  • the forwarding unit is further configured to: if the detecting unit detects that the number of loads accessing the source P-CSCF meets the migration instruction requirement or the receiving unit receives the stop migration instruction input by the administrator, The PGW sends the stop migration instruction to instruct the PGW to stop load migration to the source P-CSCF.
  • a PGW including:
  • a receiver configured to receive a migration instruction, where the migration instruction includes an identifier, a migration quantity indication information of a source proxy call session control function P-CSCF that needs to perform load migration;
  • a processor configured to: when the receiver receives the migration instruction, scan a user context to obtain a load that accesses the source P-CSCF; wherein the user context includes each load and a P-accessed thereto Correspondence of CSCF;
  • a transmitter configured to send, according to a preset rate, the load of the source P-CSCF that is obtained by the processor to the processor to send a P-CSCF address list, where the P-CSCF address list includes at least An address of a P-CSCF other than the source P-CSCF;
  • the transmitter is further configured to stop sending a P-CSCF address list to the load accessing the source P-CSCF when the number of loads accessing the source P-CSCF meets the migration instruction requirement.
  • the migration instruction further includes an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF;
  • the P-CSCF address list includes an address of the destination P-CSCF, and the destination P-CSCF has the highest priority in the P-CSCF address list.
  • the transmitter is also used to:
  • the first load After the P-CSCF address list is sent to the load of the source P-CSCF in batches according to the preset rate, if the P-CSCF address list is not received after the preset time period, the first load successfully accesses the network protocol. Sending, by the multimedia subsystem IMS, a IMS PDN connection release message to the first load, to indicate that the first load disconnects the current IMS PDN connection; wherein the IMS PDN connection release message includes indication information, Instructing the first load to immediately re-initiate an IMS PDN establishment request; the first load is any one of a load of the PGW transmitting the P-CSCF address list;
  • the receiver is further configured to receive an IMS PDN establishment request sent by the first load;
  • the transmitter is further configured to feed back the P-CSCF address list to the first load.
  • the transmitter is specifically configured to:
  • the P-CSCF address list is separately sent to the load that is not connected to the load of the source P-CSCF.
  • the migration quantity indication information includes:
  • the receiver is specifically configured to:
  • the transmitter is specifically configured to:
  • Stop receiving the access to the access when receiving the stop migration command input by the administrator The load of the source P-CSCF respectively sends a P-CSCF address list;
  • the processor is further configured to not allocate the newly accessed load to the source P-CSCF.
  • an S-CSCF including:
  • a receiver configured to receive a migration instruction input by an administrator, where the migration instruction includes an identifier of the source proxy call session control function P-CSCF that needs to perform load migration, and a migration quantity indication information;
  • a processor configured to forward the migration instruction received by the receiver to the PGW, to instruct the PGW to perform load migration on the source P-CSCF according to the indication of the migration instruction.
  • the migration instruction further includes an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF.
  • the migration quantity indication information includes:
  • the processor is further configured to: detect whether a quantity of the load that accesses the source P-CSCF meets the migration instruction requirement;
  • the processor is further configured to: if the processor detects that the number of loads accessing the source P-CSCF meets the migration instruction requirement or the receiver receives the stop migration instruction input by the administrator, The PGW sends the stop migration instruction to instruct the PGW to stop load migration to the source P-CSCF.
  • the P-CSCF load management method and apparatus receive the migration instruction, where the migration instruction includes the identifier and migration quantity indication information of the source proxy call session control function P-CSCF that needs to perform load migration; a user context, obtaining a load that accesses the source P-CSCF; wherein the user context includes a correspondence between each load and a P-CSCF that it accesses; and the batch access to the access according to a preset rate
  • the load of the source P-CSCF respectively sends a P-CSCF address list; wherein the P-CSCF address list includes at least one address of a P-CSCF other than the source P-CSCF; when accessing the source P- When the load quantity of the CSCF satisfies the migration instruction requirement, the P-CSCF address list is respectively sent to the load accessing the source P-CSCF.
  • the load is re-accessed to the non-source P-CSCF, and the source P-CSCF is implemented.
  • the load migration meets the requirements of the migration instruction; therefore, the intelligent control of the migration instruction can improve the balance of load distribution, and the risk of overloading each P-CSCF can be reduced accordingly.
  • the load on the P-CSCF overload or operation-oriented P-CSCF
  • the load on the P-CSCF is unloaded, which avoids the overload of the P-CSCF or the damage of the operation and maintenance of the load connected to the load, which improves the user. Experience.
  • FIG. 1 is a flowchart of establishing an IMS PDN provided by the prior art
  • FIG. 3 is a schematic flowchart of a P-CSCF load management method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another P-CSCF load management method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of still another P-CSCF load management method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an apparatus for a PGW according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another apparatus for a PGW according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of an apparatus of an S-CSCF according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another apparatus of an S-CSCF according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another apparatus for a PGW according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another apparatus of an S-CSCF according to an embodiment of the present invention.
  • the IMS PDN connection is established before the UE initiates the IMS registration.
  • the process of establishing an IMS PDN connection by the UE can be as shown in FIG. 1:
  • the UE sends a PDN connectivity request message to a Mobility Management Entity (MME).
  • MME Mobility Management Entity
  • the message carries the request P-CSCF address indication.
  • S102 The MME sends a Create Session Request message to the Serving GateWay (SGW), where the message carries the request P-CSCF address indication.
  • SGW Serving GateWay
  • the SGW sends a Create session request message to the PGW, where the message carries a request P-CSCF address indication.
  • the PGW selects the P-CSCF address list according to the principle of load sharing, and sends the P-CSCF address list to the SGW by creating a session response Create session response message.
  • the selected P-CSCF address list includes at least an address of the preferentially allocated P-CSCF selected by the PGW according to the load sharing principle.
  • the fixed P-CSCF weights pre-configured in the PGW are generally configured according to the performance of each P-CSCF and the network deployment plan, and the load balancing is distributed to the P-CSCF. Implement load balancing for user distribution.
  • P-CSCF1 is first allocated 25 loads
  • P-CSCF2 is assigned 25 loads
  • P-CSCF3 is allocated.
  • Ten loads are then assigned to the P-CSCF4 by 40 loads, which are then repeated to ensure that the ratio of users on each P-CSCF is substantially close to the respective weight ratio (25:25:10:40).
  • the selected P-CSCF address list may be a P-CSCF address or multiple P-CSCF addresses.
  • the SGW sends a Create session response message to the MME, where the message carries the P-CSCF address S105, and the SGW sends a Create session response message to the MME, where the message carries the P-CSCF address list.
  • the MME sends a PDN connectivity accept message to the UE, where the message carries a P-CSCF address list.
  • the UE selects a P-CSCF address from the P-CSCF address list to initiate IMS registration.
  • the UE selects the P-CSCF address with the highest priority from the P-CSCF address list to initiate IMS registration.
  • the P-CSCF accessed by the UE sends an Application auth-request (AAR) message to the PCRF.
  • AAR Application auth-request
  • the AAR message carries the identifier of the UE and the P-CSCF address registered by the UE.
  • the PCRF sends a Re-Auth-Request (RAR) message to the PGW.
  • RAR Re-Auth-Request
  • the RAR message carries the P-CSCF address registered by the UE.
  • the PGW knows the P-CSCF address registered by the UE, and updates the correspondence between the UE and its accessed P-CSCF to the user context in the PGW.
  • the P-CSCF is in danger of failure.
  • the PGW needs to perform fault recovery on the UE accessing the P-CSCF;
  • the process of the P-CSCF1 monitoring process is described by the PGW, and the process of the PGW to recover the UE that accesses the P-CSCF1 is described.
  • the process may include:
  • S201 and PGW periodically detect whether the P-CSCF1 is reachable
  • the PGW finds that the P-CSCF1 is unreachable, the PGW sends an Update Bearer Request message to the UE registered on the P-CSCF1 by using the SGW.
  • the Update bearer request message carries the updated P-CSCF address list; the updated P-CSCF address list does not include the faulty P-CSCF1.
  • the UE After receiving the updated P-CSCF address list, the UE selects a P-CSCF address from the updated P-CSCF address list, and re-initiates the IMS registration.
  • a first embodiment of the present invention provides a P-CSCF load management method, which is applied to a PGW.
  • the method may include:
  • the PGW receives the migration instruction.
  • the migration instruction includes an identifier of the source P-CSCF and a migration quantity indication information that are required to perform load migration.
  • the identifier of the P-CSCF may be the address of the P-CSCF, or the number of the P-CSCF or other.
  • the present invention does not specifically limit this, and any information that can uniquely identify the P-CSCF can be used as the P- The identity of the CSCF.
  • the migration quantity indication information may include: a quantity of the load that needs to be migrated; or a ratio of the number of loads that need to be migrated to the total amount of the load that is accessed on the source P-CSCF.
  • the migration quantity indication information may indicate all or part of the load of the access source P-CSCF.
  • the migration quantity indication information is a ratio of the number of loads to be migrated to the total amount of load connected to the source P-CSCF, it may be expressed in the form of a percentage, or may be expressed in the form of a decimal. It can be expressed in other forms, and the present invention does not specifically limit this.
  • the number of migration indication information in a migration instruction is the number of loads that need to be migrated, and the value is “50”, it can be used to indicate that the load of the access 50 on the source P-CSCF is migrated to other P-CSCFs. .
  • the number of migration indications in a migration instruction is a ratio of the number of loads that need to be migrated to the total amount of load accessed on the source P-CSCF, and the value is “50%”, it can be used to indicate Migrate 50% of the load on the source P-CSCF to other P-CSCFs.
  • the migration instruction may also be used to indicate migration of the specified target, and therefore, the migration instruction may further include an identifier of the destination P-CSCF, indicating The load in the source P-CSCF migrates to the destination P-CSCF.
  • the receiving migration instruction may include the following two solutions:
  • the migration command may be input on the PGW interface when the administrator determines that the source P-CSCF needs to be load-migrated.
  • the migration command may be input on the S-CSCF interface when the administrator determines that the source P-CSCF needs to be load-migrated.
  • the S-CSCF forwards the migration instruction to the PGW, which can be implemented by the following processes (Step 1 to Step 4):
  • Step 1 The S-CSCF forwards the migration instruction to the HSS through an interaction message with a Home Subscriber Server (HSS).
  • HSS Home Subscriber Server
  • the interaction message between the S-CSCF and the HSS may be: a Server-Assignment-Request message.
  • Step 2 The HSS forwards the migration instruction to the MME through an interaction message with a Mobility Management Entity (MME).
  • MME Mobility Management Entity
  • the HSS forwards the move command to each MME by means of broadcast.
  • the interaction message between the HSS and the MME may be an Insert Subscriber Data request.
  • Step 3 The MME forwards the migration instruction to the SGW through an interaction message with a serving gateway (Serving GateWay, SGW for short);
  • a serving gateway Serving GateWay, SGW for short
  • the MME forwards the move command to each SGW by means of broadcast.
  • the interaction message between the MME and the SGW may be a Modify Bearer Request.
  • Step 3 The SGW transparently transmits the migration instruction to the PGW.
  • the condition that the load migration needs to be performed on the source P-CSCF may include, but is not limited to, one or more of the following conditions: load imbalance, source P-CSCF, source P. -CSCF for operation and maintenance, etc.
  • the conditions for determining the load migration of the source P-CSCF may be determined according to actual requirements, which is not specifically limited by the present invention.
  • the PGW scans the user context, and obtains a load of the access source P-CSCF.
  • the user context includes a correspondence between each load and a P-CSCF that it accesses.
  • P-CSCF identification Load identifier of the P-CSCF 1 UE1, UE3 2 UE2, UE4, UE8 3 UE5, UE6 5 UE7 ?? >
  • Table 1 is merely an example to illustrate the content included in the user context, and is not specifically limited to the form and content of the user context.
  • the migration instruction received by the PGW2 includes the identifier of the P-CSCF3, indicating that the PGW2 needs to uninstall the P-CSCF3 according to the indication of the migration instruction; therefore, the PGW2 scans the internal user context as shown in Table 1, The load that accesses the P-CSCF3 is obtained as UE5 and UE6.
  • the PGW sends the P-CSCF address list to the load of the source P-CSCF in batches according to a preset rate.
  • the P-CSCF address list includes at least one address of a P-CSCF other than the source P-CSCF.
  • the migration instruction further includes an identifier of the destination P-CSCF, that is, a target migration
  • the P-CSCF address list further includes a destination P-CSCF in the migration instruction, and the destination P-CSCF is in the P - The highest priority is in the CSCF address list.
  • the migration instruction does not include the identifier of the destination P-CSCF, that is, the non-designated target migration
  • the content of the P-CSCF address list is determined according to the load sharing principle, and the present invention does not elaborate on this. Narration.
  • the load receiving the P-CSCF address list can be re-registered into the P-CSCF address list.
  • the migration of the load on the source P-CSCF is implemented.
  • the preset rate indicates the number of information that can be simultaneously sent. Therefore, the P-CSCF address list is sent to the load of the access source P-CSCF in batches according to the preset rate, which means that each time to the access source P - The number of loads indicated by the preset rate in the load of the CSCF is sent to the P-CSCF address list, and the rest are sent in the next batch.
  • the preset rate is less than or equal to the processing power of the PGW.
  • the preset rate can be set according to actual requirements, which is not specifically limited in the present invention.
  • the preset rate is equal to the processing power of the PGW
  • the preset rate can be less than or equal to 100/sec per second, that is, less than 100 accesses per second.
  • the payload of the source P-CSCF sends a list of P-CSCF addresses.
  • the PGW2 can simultaneously send the P-CSCF address list to the UE5 and the UE6.
  • the preset rate transmission may be lowered to improve the PGW performance.
  • a list of addresses that can include:
  • the P-CSCF address list is separately sent to the load of the non-talking of the load of the access source P-CSCF in batches according to a preset rate.
  • the load of the call being made in the load of the access source P-CSCF is sent to the P-CSCF address list after the call ends.
  • it can be determined whether the load is in a call by judging whether there is a voice-specific bearer with QCI 1.
  • the process for the PGW to send the P-CSCF address list to the load may include the following steps:
  • Step A the PGW sends the P-CSCF address list to the SGW;
  • the PGW can send the P-CSCF address list to the SGW through other signaling messages on the S5/S8 interface.
  • the S5/S8 interface other signaling message may request an Update bearer request message for the update bearer.
  • Step B The SGW sends the P-CSCF address list to the MME.
  • the PGW may send the P-CSCF address list to the MME by using the S11 interface signaling message.
  • the S11 interface signaling message may be an Update bearer request message.
  • Step C The MME sends the P-CSCF address list to the load.
  • the MME may send a P-CSCF address list to the load through a Network Attached Storage (NAS) message.
  • NAS Network Attached Storage
  • the NAS message may request a session management request message for session management.
  • the PGW stops sending the P-CSCF address list to the load of the access source P-CSCF.
  • the number of the load of the access source P-CSCF meets the requirements of the migration instruction, that is, the number of the load of the access source P-CSCF has been changed by the load migration process (the number indicated by the migration quantity indication information in the migration instruction)
  • the load is migrated to the non-source P-CSCF, meeting the requirements of the migration directive.
  • the PGW receives the message carrying the load identifier and the identifier of the P-CSCF that the load accesses sent by the P-CSCF that is successfully accessed by the load, so The message of carrying the load identifier and the identifier of the P-CSCF that is accessed by the P-CSCF that is successfully accessed by the load is determined to determine whether the migration is successful.
  • the method may include:
  • the number of loads that access the source P-CSCF meets the migration instruction requirement; wherein the N is the number of loads indicated by the migration quantity indication information.
  • the feedback message may be an RAR message in S109.
  • the feedback message carries the identifier of the load and the identifier of the newly accessed P-CSCF.
  • stopping the sending of the P-CSCF address list to the load that accesses the source P-CSCF may include:
  • the PGW When the PGW receives the stop migration instruction input by the administrator, it stops sending the P-CSCF address list to the load accessing the source P-CSCF.
  • stopping sending the P-CSCF address list to the load of the access source P-CSCF may include:
  • the stop migration instruction is sent when the S-CSCF detects that the load quantity of the access source P-CSCF meets the migration instruction requirement; or the stop migration instruction is an administrator input received by the S-CSCF.
  • the S-CSCF can count the number of loads on the access source P-CSCF.
  • the number of loads of the source P-CSCF is determined to meet the migration instruction requirements.
  • process of forwarding the migration instruction by the S-CSCF may be the same as the process of forwarding the migration instruction by the S-CSCF described in S301, and details are not described herein.
  • the PGW receives the message carrying the load identifier and the identifier of the P-CSCF that the load accesses, which is sent by the P-CSCF that the load is successfully accessed.
  • the method may further include:
  • the IMS PDN connection release message includes indication information, which is used to indicate that the first load immediately re-initiates an IMS PDN establishment request; the first load is any load in the load that receives the P-CSCF address list. .
  • the P-CSCF address list is fed back to the first load.
  • the indication information may be a reactivation requested cause value.
  • the preset duration may be implemented by using a timer, that is, after the P-CSCF address list is sent to the first load, the timer is started, and when the timer expires, the preset duration ends.
  • the specific value of the preset duration may be set according to actual requirements, which is not specifically limited in the present invention.
  • the timer can cooperate with a timer that initiates a SIP registration timeout on the payload.
  • the duration of the timer in the PGW to determine whether the load is successfully re-accessed may be
  • the duration of the timer that initiates the SIP registration timeout on the load is 2 to 3 seconds longer.
  • the method may further include: no longer allocating the newly accessed load to the source P-CSCF.
  • the P-CSCF load management method provided by the embodiment of the present invention sends a load list not including the source P-CSCF to the load of the access source P-CSCF according to the instruction of the migration instruction, so that the load is reconnected to the non-source P-CSCF.
  • the load migration of the source P-CSCF is realized, which satisfies the requirements of the migration instruction; therefore, the intelligent control of the migration instruction can improve the balance of the load distribution, and the P- is reduced accordingly.
  • the CSCF is in danger of being overloaded.
  • the second embodiment of the present invention provides another P-CSCF load management method, and the method shown in FIG. 3 is described in detail by taking the interaction between the EPC network and each unit in the IMS network as an example. Among them, the administrator enters the migration instruction on the PGW.
  • the method may include:
  • the PGW receives the migration instruction input by the administrator.
  • the migration command is sent by the administrator when the P-CSCF A in the PGW management is overloaded by the system data.
  • the migration instruction can be as shown in Table 2.
  • Source P-CSCF identifier P-CSCF A Number of loads that need to be migrated 200 Destination P-CSCF logo B
  • the PGW scans the user context to obtain a load that accesses the P-CSCF A.
  • S403 and PGW are in batches to load into the P-CSCF A according to a preset rate.
  • the load that has not made the call sends the updated P-CSCF address list and starts the timer separately.
  • the updated P-CSCF address list does not include the address of the P-CSCF A, and includes the address of the P-CSCF A and has the highest priority.
  • the PGW first sends the updated P to the 100 payloads that are not in the load of the access P-CSCF A.
  • the PGW sends the updated P-CSCF address list to the 100 payloads that are not in the load of the P-CSCF A, according to the preset rate, and is forwarded and transmitted by the SGW and the MME.
  • the PGW receives the feedback message that the P-CSCF B successfully accesses the P-CSCF before the timer corresponding to the load expires, indicating that the load contained in the feedback message is migrated from P-CSCF A to P. -CSCF B.
  • the PGW sends an IMS PDN connection release message to the load 1.
  • the IMS PDN connection release message includes a reactivation requested cause value.
  • the PGW sends an IMS PDN connection release message to the load 1, which is forwarded and sent by the SGW and the MME.
  • the PGW receives the IMS PDN setup request sent by the load 1 and feeds back the updated P-CSCF address list to the load 1 to enable the load 1 to complete the IMS re-registration.
  • the P-CSCF load management method provided by the embodiment of the present invention sends a load list not including the source P-CSCF to the load of the access source P-CSCF according to the instruction of the migration instruction, so that the load is reconnected to the non-source P-CSCF.
  • the load migration of the source P-CSCF is realized, which satisfies the requirements of the migration instruction; therefore, the intelligent control of the migration instruction can improve the balance of the load distribution, and the P- is reduced accordingly.
  • the CSCF is in danger of being overloaded.
  • the third embodiment of the present invention provides another P-CSCF load management method, which is applied to an S-CSCF.
  • the method may include:
  • the S-CSCF receives the migration instruction input by the administrator.
  • the migration instruction includes an identifier of the source proxy call session control function P-CSCF and a migration quantity indication information that need to perform load migration.
  • the identifier of the P-CSCF may be the address of the P-CSCF, or the number of the P-CSCF or other.
  • the present invention does not specifically limit this, and any information that can uniquely identify the P-CSCF can be used as the P- The identity of the CSCF.
  • the migration quantity indication information includes: a quantity of the load that needs to be migrated; or a ratio of a quantity of the load that needs to be migrated to a total amount of the load that is accessed on the source P-CSCF.
  • the migration instruction further includes an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF.
  • the S-CSCF forwards the migration instruction to the PGW, and is used to instruct the PGW to perform load migration on the source P-CSCF according to the indication of the migration quantity indication information.
  • the method may further include:
  • the stop migration instruction is sent to the PGW to instruct the PGW to stop the load migration to the source P-CSCF.
  • the PGW sends a migration instruction to the PGW according to the instruction of the migration instruction, and the PGW performs load migration on the source P-CSCF according to the indication of the migration quantity indication information, and implements the source P-
  • the CSCF load migration meets the requirements of the migration command; therefore, the intelligent control of the migration command can improve the load distribution balance, and the risk of overloading each P-CSCF can be reduced accordingly.
  • the load on the P-CSCF (overload or operation-oriented P-CSCF) that cannot continue to be serviced is uninstalled, which avoids the overload of the P-CSCF or the damage of the operation of the load connected to the load on the operation, which is a good improvement. user experience.
  • Embodiment 4 of the present invention provides a PGW 60.
  • the PGW 60 may include:
  • the receiving unit 601 is configured to receive a migration instruction, where the migration instruction includes an identifier, a migration quantity indication information of a source proxy call session control function P-CSCF that needs to perform load migration;
  • the obtaining unit 602 is configured to: when the receiving unit 601 receives the migration instruction, scan a user context, and acquire a load that accesses the source P-CSCF; where the user context includes each load and its access Correspondence relationship of P-CSCF;
  • the sending unit 603 is configured to send a P-CSCF address list to the load of the source P-CSCF acquired by the acquiring unit 602 in batches according to a preset rate, where the P-CSCF address list is sent.
  • the sending unit 603 is further configured to stop loading the access to the source P-CSCF when the number of loads that access the source P-CSCF meets the migration instruction requirement. Send the P-CSCF address list separately.
  • the migration instruction may further include an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF;
  • the P-CSCF address list includes an address of the destination P-CSCF, and the destination P-CSCF has the highest priority in the P-CSCF address list.
  • the sending unit 603 is further configured to:
  • the P-CSCF address list is sent to the load of the source P-CSCF in batches according to the preset rate, if the P-CSCF address list is not received after the preset time period, the first load is successfully received and the P- is successfully accessed.
  • the indication information is used to indicate that the first load immediately re-initiates an IMS PDN establishment request; the first load is any one of the loads of the P-CSCF address list sent by the PGW;
  • the receiving unit 601 is further configured to receive an IMS PDN establishment request sent by the first load;
  • the sending unit 603 is further configured to feed back the P-CSCF address list to the first load.
  • the sending unit 603 is specifically configured to:
  • the P-CSCF address list is separately sent to the load that is not connected to the load of the source P-CSCF.
  • the migration quantity indication information may include:
  • the receiving unit 601 is specifically configured to:
  • the sending unit 603 is specifically configured to:
  • the PGW 60 may further include an allocating unit 604 for no longer allocating the newly accessed load to the source P-CSCF.
  • the PGW 60 provided by the embodiment of the present invention retransmits the load to the non-source P-CSCF by sending an address list not including the source P-CSCF to the load of the access source P-CSCF according to the indication of the migration instruction.
  • the load migration of the source P-CSCF meets the requirements of the migration instruction; therefore, the intelligent control of the migration instruction can improve the balance of the load distribution, and the overload of each P-CSCF is correspondingly reduced. Risk, it is also possible to offload the load on the P-CSCF (overload or operation and maintenance P-CSCF) that cannot continue to serve, to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation and maintenance. Good improves the user experience.
  • the fifth embodiment of the present invention provides an S-CSCF 80.
  • the S-CSCF 80 may include:
  • a receiving unit 801 configured to receive a migration instruction input by an administrator, where
  • the migration instruction includes an identifier of the source proxy call session control function P-CSCF that needs to perform load migration, and a migration quantity indication information;
  • the forwarding unit 802 is configured to forward the migration instruction received by the receiving unit 801 to the PGW, and is used to instruct the PGW to perform load migration on the source P-CSCF according to the indication of the migration instruction.
  • the migration instruction further includes an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF.
  • the migration quantity indication information may include:
  • the S-CSCF 80 may further include:
  • the detecting unit 803 is configured to detect whether the number of loads accessing the source P-CSCF meets the migration instruction requirement
  • the forwarding unit 802 is further configured to: if the detecting unit 803 detects that the number of loads accessing the source P-CSCF meets the migration instruction requirement or the receiving unit 801 receives the stop migration of the administrator input And instructing, by the instruction, to send the stop migration instruction to the PGW, to instruct the PGW to stop load migration to the source P-CSCF.
  • the S-CSCF 80 provided by the embodiment of the present invention sends a migration instruction to the PGW according to the instruction of the migration instruction, and the PGW performs load migration on the source P-CSCF according to the indication of the migration quantity indication information, and implements the source P-CSCF.
  • the load migration meets the requirements of the migration command; therefore, the intelligent control of the migration command can improve the load distribution balance, and the risk of overloading each P-CSCF can be reduced accordingly.
  • the load on the P-CSCF (overload or operation and maintenance P-CSCF) of the continuation service is uninstalled to avoid the overload of the P-CSCF or the damage of the operation of the load connected to the load, which improves the user experience. .
  • the PGW 60 may include:
  • At least one processor 1001 at least one communication bus 1002, for implementing connection and mutual communication between devices, a receiver 1003, a transmitter 1004;
  • the communication bus 1002 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA). ) Bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus.
  • the processor 1001 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the receiver 1003 is configured to receive a migration instruction, where the migration instruction includes an identifier and a migration quantity indication information of a source proxy call session control function P-CSCF that needs to perform load migration.
  • the processor 1001 is configured to: when the receiver 1003 receives the migration instruction, scan a user context to obtain a load that accesses the source P-CSCF; wherein the user context includes each load and its access Correspondence relationship of P-CSCF;
  • the transmitter 1004 is configured to separately send, to the processor 1001, the P-CSCF address list that is connected to the source P-CSCF according to a preset rate, where the P-CSCF address list is sent.
  • the transmitter 1004 is further configured to: when the number of loads that access the source P-CSCF meets the migration instruction requirement, stop sending the P-CSCF address list to the load that accesses the source P-CSCF, respectively. .
  • the migration instruction further includes an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF;
  • the P-CSCF address list includes an address of the destination P-CSCF, and the destination P-CSCF has the highest priority in the P-CSCF address list.
  • the transmitter 1004 can also be used to:
  • the first load After the P-CSCF address list is sent to the load of the source P-CSCF in batches according to the preset rate, if the P-CSCF address list is not received after the preset time period, the first load successfully accesses the network protocol. Sending, by the multimedia subsystem IMS, a IMS PDN connection release message to the first load, to indicate that the first load disconnects the current IMS PDN connection; wherein the IMS PDN connection release message includes indication information, Instructing the first load to immediately re-initiate an IMS PDN establishment request; the first load is any one of a load of the PGW transmitting the P-CSCF address list;
  • the receiver 1003 is further configured to receive an IMS PDN establishment request sent by the first load;
  • the transmitter 1004 is further configured to feed back the P-CSCF address list to the first load.
  • the transmitter 1004 is specifically configured to:
  • the P-CSCF address list is separately sent to the load that is not connected to the load of the source P-CSCF.
  • the migration quantity indication information may include:
  • the receiver 1003 is specifically configured to:
  • the transmitter may be specifically configured to:
  • processor 1001 is further configured to not allocate the newly accessed load to the source P-CSCF.
  • the PGW 60 provided by the embodiment of the present invention retransmits the load to the non-source P-CSCF by sending an address list not including the source P-CSCF to the load of the access source P-CSCF according to the indication of the migration instruction.
  • the load migration of the source P-CSCF meets the requirements of the migration instruction; therefore, the intelligent control of the migration instruction can improve the balance of the load distribution, and the overload of each P-CSCF is correspondingly reduced. Risk, it is also possible to offload the load on the P-CSCF (overload or operation and maintenance P-CSCF) that cannot continue to serve, to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation and maintenance. Good improves the user experience.
  • the seventh embodiment of the present invention provides an S-CSCF 80.
  • the S-CSCF 80 may include:
  • At least one processor 1101 at least one communication bus 1102, for implementing connection and mutual communication between devices, the receiver 1103;
  • the communication bus 1102 can be an Industry Standard Architecture (ISA) bus and an external device interconnection (Peripheral). Component, referred to as PCI) bus or Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 10, but it does not mean that there is only one bus or one type of bus.
  • the processor 1101 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the receiver 1103 is configured to receive a migration instruction input by an administrator, where the migration instruction includes an identifier of the source proxy call session control function P-CSCF and a migration quantity indication information that are required to perform load migration.
  • the processor 1101 is configured to forward the migration instruction received by the receiver 1103 to the PGW, and instruct the PGW to perform load migration on the source P-CSCF according to the indication of the migration instruction.
  • the migration instruction may further include an identifier of the destination P-CSCF, configured to indicate that the load in the source P-CSCF is migrated to the destination P-CSCF.
  • the migration quantity indication information may include:
  • processor 1101 may be further configured to: detect whether a quantity of a load that accesses the source P-CSCF meets the migration instruction requirement;
  • the processor 1101 is further configured to: if the processor 1101 detects that the number of loads accessing the source P-CSCF meets the migration instruction requirement or the receiver 1103 receives the stop of the administrator input
  • the migration instruction sends the stop migration instruction to the PGW to instruct the PGW to stop load migration to the source P-CSCF.
  • the S-CSCF 80 provided by the embodiment of the present invention passes the indication according to the migration instruction.
  • the PGW performs load migration on the source P-CSCF according to the indication of the migration quantity indication information, implements load migration to the source P-CSCF, and satisfies the requirements of the migration instruction; therefore, the intelligence of the migration instruction can be Control can improve the balance of load distribution, and it will reduce the risk of overload of each P-CSCF. It can also be used on the P-CSCF (overload or operation and maintenance P-CSCF) that cannot continue to serve.
  • the load is unloaded to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation and maintenance, which improves the user experience.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage
  • the medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, and the program code can be stored. Medium.

Landscapes

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

Abstract

本发明实施例公开了一种P-CSCF负载管理方法及装置,涉及通信领域,实现负载均衡以及对VOLTE语音业务无损的负载迁移。本发明实施例提供的方案包括:通过接收迁移指令;扫描用户上下文,获取接入所述源P-CSCF的负载;按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述P-CSCF地址列表包含至少一个除所述源P-CSCF之外的P-CSCF的地址;当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。本发明用于P-CSCF的负载管理。

Description

一种P-CSCF负载管理方法及装置 技术领域
本发明涉及通信领域,尤其涉及一种P-CSCF负载管理方法及装置。
背景技术
网络部署语音长期演进技术(Voice over LTE,简称VoLTE)之后,网络协议(Internet Protocol,简称IP)多媒体子系统(IP Multimedia Subsystem,简称IMS)网络由代理呼叫会话控制功能(Proxy-Call Session Control Funtion,简称P-CSCF)、查询呼叫会话控制功能(Interrogating-Call Session Control Funtion,简称I-CSCF)和服务呼叫会话控制功能(Serving-Call Session Control Funtion,简称S-CSCF)等设备构成。其中,P-CSCF作为IMS接入的代理节点,所有IMS业务均需要通过P-CSCF进行接入。
VoLTE部署下,演进分组核心(Evolved Packet Core,简称EPC)网络中的分组数据网网关(Packet Data Network GateWay,简称PGW)通过SGi接口与IMS网络的P-CSCF连接,PGW因为容量差异与P-CSCF对接关系是一对多关系。要接入P-CSCF的用户设备(User Equipment,简称UE),也就是P-CSCF的负载,选择P-CSCF主要是通过PGW进行分配,UE在进行IMS注册之前需要先建立传递SIP信令的缺省承载,在IMS PDN连接建立过程中向PGW请求P-CSCF地址,PGW在响应消息中携带P-CSCF地址列表(PGW根据自身预先配置的各个P-CSCF的权重比值,反馈P-CSCF地址列表,进行负载均衡分发用户终端),UE在P-CSCF地址列表中优先选择第一个P-CSCF地址,并发起会话初始协议(Session Initiation Protocol,简称SIP)注册,之后才能进行正常的语音主被叫业务。
其中,在当前实际部署中,一般根据每个P-CSCF的性能及网 络部署规划,在PGW中预先配置的固定P-CSCF权重,进行负载均衡分发用户到对接的P-CSCF上,以此实现用户分发的负载均衡。
但是,VoLTE运营中不可避免的存在一些异常场景,需要调整P-CSCF设备间的负载,具体包括:
一方面,按照预先配置的固定P-CSCF权重分配负载的方式,在一些异常场景下导致实际P-CSCF之间的负荷不均衡,例如故障之后恢复的P-CSCF上可能无用户接入、新扩容的P-CSCF接入的用户数非常少、虽然PGW会基于负荷分担原则下发P-CSCF地址,但由于终端兼容性,并不是所有终端都会优先选择地址列表的第一个P-CSCF地址等。现有技术中并没有对于P-CSCF间的负载不均衡进行控制的方法,而长期的负载不均衡将大大增加P-CSCF拥塞的风险,以及使得运营商网络未得到最优利用。
另一方面,存在需要把P-CSCF设备上的用户迁移到其他的P-CSCF上场景,例如P-CSCF升级、搬迁、拥塞等场景。现有技术中处理这些场景时,可能直接将需要升级或者搬迁的P-CSCF下线或者识别不到拥塞,都将导致设备上的VOLTE语音业务受损。
发明内容
本发明提供一种P-CSCF负载管理方法及装置,实现负载均衡以及对VOLTE语音业务无损的负载迁移。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,提供一种P-CSCF负载管理方法,应用于PGW,所述方法包括:
接收迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
扫描用户上下文,获取接入所述源P-CSCF的负载;其中,所述用户上下文包括每个负载与其接入的P-CSCF的对应关系;
按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述P-CSCF地址列表包含至少一个 除所述源P-CSCF之外的P-CSCF的地址;
当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。
结合第一方面,在第一方面的第一种可能的实现方式中,所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上;
所述P-CSCF地址列表包括所述目的P-CSCF的地址,且所述目的P-CSCF在所述P-CSCF地址列表中优先级最高。
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,
在所述按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表之后,所述方法还包括:
若在预设时长之后,未接收到第一负载成功接入P-CSCF的反馈消息,则向所述第一负载发送IMS PDN连接释放消息,以指示所述第一负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第一负载立刻重新发起IMS PDN建立请求;所述第一负载为所述PGW发送所述P-CSCF地址列表的负载中任意一个负载;
接收所述第一负载发送的IMS PDN建立请求;
向所述第一负载反馈所述P-CSCF地址列表。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,
所述按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表,包括:
按照所述预设速率,分批向所述接入所述源P-CSCF的负载中,未进行通话的负载,分别发送P-CSCF地址列表。
结合第一方面或第一方面的第一种可能的实现方式至第一方 面的第三种可能的实现方式中任一项,在第一方面的第四种可能的实现方式中,
所述迁移数量指示信息包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第四种可能的实现方式中任一项,在第一方面的第五种可能的实现方式中,
所述接收迁移指令包括:
接收管理员输入的所述迁移指令;
或者,
接收服务呼叫会话控制功能S-CSCF转发的所述迁移指令;其中,所述迁移指令由所述管理员在所述S-CSCF中输入。
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第五种可能的实现方式中任一项,在第一方面的第六种可能的实现方式中,
所述当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表,包括:
当接收到N个负载成功接入P-CSCF的反馈消息时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述N为所述迁移数量指示信息指示的负载数量;
或者,
当接收管理员输入的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;
或者,
当接收所述S-CSCF转发的停止迁移指令时,停止向所述接入 所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述停止迁移指令是由所述S-CSCF检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求时发送的;或者,所述停止迁移指令是管理员输入的。
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第六种可能的实现方式中任一项,在第一方面的第七种可能的实现方式中,
在所述接收迁移指令之后,所述方法还包括:
不再向所述源P-CSCF分配新接入的负载。
第二方面,提供一种P-CSCF负载管理方法,应用于S-CSCF,所述方法包括:
接收管理员输入的迁移指令;其中,所述迁移指令包括需要进行负载迁移的源P-CSCF的标识、迁移数量指示信息;
向PGW转发所述迁移指令,用于指示所述PGW根据所述迁移指令的指示,对所述源P-CSCF进行负载迁移。
结合第二方面,在第二方面的第一种可能的实现方式中,
所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上。
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,
所述迁移数量指示信息包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,
在所述向PGW转发所述迁移指令之后,所述方法还包括:
若检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求或者接收到所述管理员输入的停止迁移指令,向所述PGW发送停止迁移指令,用于指示所述PGW停止对所述源P-CSCF的负载迁移。
第三方面,提供一种PGW,包括:
接收单元,用于接收迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
获取单元,用于当所述接收单元接收到所述迁移指令时,扫描用户上下文,获取接入所述源P-CSCF的负载;其中,所述用户上下文包括每个负载与其接入的P-CSCF的对应关系;
发送单元,用于按照预设速率,分批向所述获取单元获取的所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述P-CSCF地址列表包含至少一个除所述源P-CSCF之外的P-CSCF的地址;
所述发送单元还用于,当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。
结合第三方面,在第三方面的第一种可能的实现方式中,
所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上;
所述P-CSCF地址列表包括所述目的P-CSCF的地址,且所述目的P-CSCF在所述P-CSCF地址列表中优先级最高。
结合第三方面或第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,
所述发送单元还用于:
在所述按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表之后,若在预设时长之后,未接收到第一负载成功接入P-CSCF的反馈消息,则向所述第一负载发 送IMS PDN连接释放消息,以指示所述第一负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第一负载立刻重新发起IMS PDN建立请求;所述第一负载为所述PGW发送所述P-CSCF地址列表的负载中任意一个负载;
所述接收单元还用于,接收所述第一负载发送的IMS PDN建立请求;
所述发送单元还用于,向所述第一负载反馈所述P-CSCF地址列表。
结合第三方面或第三方面的第一种可能的实现方式或第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,
所述发送单元具体用于:
按照所述预设速率,分批向所述接入所述源P-CSCF的负载中,未进行通话的负载,分别发送P-CSCF地址列表。
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第三种可能的实现方式中任一项,在第三方面的第四种可能的实现方式中,
所述迁移数量指示信息包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第四种可能的实现方式中任一项,在第三方面的第五种可能的实现方式中,
所述接收单元具体用于:
接收管理员输入的所述迁移指令;
或者,
接收服务呼叫会话控制功能S-CSCF转发的所述迁移指令;其中,所述迁移指令由所述管理员在所述S-CSCF中输入。
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第五种可能的实现方式中任一项,在第三方面的第六种可能的实现方式中,
所述发送单元具体用于:
当接收到N个负载成功接入P-CSCF的反馈消息时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述N为所述迁移数量指示信息指示的负载数量;
或者,
当接收管理员输入的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;
或者,
当接收所述S-CSCF转发的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述停止迁移指令是由所述S-CSCF检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求时发送的;或者,所述停止迁移指令是管理员输入的。
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第六种可能的实现方式中任一项,在第三方面的第七种可能的实现方式中,
所述PGW还包括分配单元,用于不再向所述源P-CSCF分配新接入的负载。
第四方面,提供一种S-CSCF,包括:
接收单元,用于接收管理员输入的迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
转发单元,用于向分组数据网网关PGW转发所述接收单元接收的所述迁移指令,用于指示所述PGW根据所述迁移指令的指示, 对所述源P-CSCF进行负载迁移。
结合第四方面,在第四方面的第一种可能的实现方式中,
所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上。
结合第四方面或第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,
所述迁移数量指示信息包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
结合第四方面或第四方面的第一种可能的实现方式或第四方面的第二种可能的实现方式,在第四方面的第三种可能的实现方式中,
所述S-CSCF还包括:
检测单元,用于检测接入所述源P-CSCF的负载数量是否满足所述迁移指令要求;
所述转发单元还用于,若所述检测单元检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求或者所述接收单元接收到所述管理员输入的停止迁移指令,向所述PGW发送所述停止迁移指令,用于指示所述PGW停止对所述源P-CSCF的负载迁移。
第五方面,提供一种PGW,包括:
接收器,用于接收迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
处理器,用于当所述接收器接收到所述迁移指令时,扫描用户上下文,获取接入所述源P-CSCF的负载;其中,所述用户上下文包括每个负载与其接入的P-CSCF的对应关系;
发送器,用于按照预设速率,分批向所述处理器获取的所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述P-CSCF地址列表包含至少一个除所述源P-CSCF之外的P-CSCF的地址;
所述发送器还用于,当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。
结合第五方面,在第五方面的第一种可能的实现方式中,
所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上;
所述P-CSCF地址列表包括所述目的P-CSCF的地址,且所述目的P-CSCF在所述P-CSCF地址列表中优先级最高。
结合第五方面或第五方面的第一种可能的实现方式,在第五方面的第二种可能的实现方式中,
所述发送器还用于:
在所述按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表之后,若在预设时长之后,未接收到第一负载成功接入网络协议多媒体子系统IMS的反馈消息,则向所述第一负载发送IMS PDN连接释放消息,以指示所述第一负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第一负载立刻重新发起IMS PDN建立请求;所述第一负载为所述PGW发送所述P-CSCF地址列表的负载中任意一个负载;
所述接收器还用于,接收所述第一负载发送的IMS PDN建立请求;
所述发送器还用于,向所述第一负载反馈所述P-CSCF地址列表。
结合第五方面或第五方面的第一种可能的实现方式或第五方面的第二种可能的实现方式,在第五方面的第三种可能的实现方式 中,
所述发送器具体用于:
按照所述预设速率,分批向所述接入所述源P-CSCF的负载中,未进行通话的负载,分别发送P-CSCF地址列表。
结合第五方面或第五方面的第一种可能的实现方式至第五方面的第三种可能的实现方式中任一项,在第五方面的第四种可能的实现方式中,
所述迁移数量指示信息包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
结合第五方面或第五方面的第一种可能的实现方式至第五方面的第四种可能的实现方式中任一项,在第五方面的第五种可能的实现方式中,
所述接收器具体用于:
接收管理员输入的所述迁移指令;
或者,
接收S-CSCF转发的所述迁移指令;其中,所述迁移指令由所述管理员在所述S-CSCF中输入。
结合第五方面或第五方面的第一种可能的实现方式至第五方面的第五种可能的实现方式中任一项,在第五方面的第六种可能的实现方式中,
所述发送器具体用于:
当接收到N个负载成功接入P-CSCF的反馈消息时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述N为所述迁移数量指示信息指示的负载数量;
或者,
当接收管理员输入的停止迁移指令时,停止向所述接入所述 源P-CSCF的负载分别发送P-CSCF地址列表;
或者,
当接收所述S-CSCF转发的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述停止迁移指令是由所述S-CSCF检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求时发送的;或者,所述停止迁移指令是管理员输入的。
结合第五方面或第五方面的第一种可能的实现方式至第五方面的第六种可能的实现方式中任一项,在第五方面的第七种可能的实现方式中,
所述处理器还用于,不再向所述源P-CSCF分配新接入的负载。
第六方面,提供一种S-CSCF,包括:
接收器,用于接收管理员输入的迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
处理器,用于向PGW转发所述接收器接收的所述迁移指令,用于指示所述PGW根据所述迁移指令的指示,对所述源P-CSCF进行负载迁移。
结合第六方面,在第六方面的第一种可能的实现方式中,
所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上。
结合第六方面或第六方面的第一种可能的实现方式,在第六方面的第二种可能的实现方式中,
所述迁移数量指示信息包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
结合第六方面或第六方面的第一种可能的实现方式或第六方面的第二种可能的实现方式,在第六方面的第三种可能的实现方式中,
所述处理器还用于,检测接入所述源P-CSCF的负载数量是否满足所述迁移指令要求;
所述处理器还用于,若所述处理器检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求或者所述接收器接收到所述管理员输入的停止迁移指令,向所述PGW发送所述停止迁移指令,用于指示所述PGW停止对所述源P-CSCF的负载迁移。
本发明实施例提供的P-CSCF负载管理方法及装置,通过接收迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;扫描用户上下文,获取接入所述源P-CSCF的负载;其中,所述用户上下文包括每个负载与其接入的P-CSCF的对应关系;按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述P-CSCF地址列表包含至少一个除所述源P-CSCF之外的P-CSCF的地址;当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。这样一来,根据迁移指令的指示,通过向接入源P-CSCF的负载发送不包含源P-CSCF的地址列表,使得负载向非源P-CSCF重新接入,实现了对源P-CSCF的负载迁移,满足了迁移指令的要求;因此,可以通过迁移指令的智能控制,可以很好的提高负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险,还可以将无法继续服务的P-CSCF(过载或者运维的P-CSCF)上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介 绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为现有技术提供的一种IMS PDN建立流程图;
图2为现有技术提供的一种故障恢复流程图;
图3为本发明实施例提供的一种P-CSCF负载管理方法流程示意图;
图4为本发明实施例提供的另一种P-CSCF负载管理方法流程示意图;
图5为本发明实施例提供的再一种P-CSCF负载管理方法流程示意图;
图6为本发明实施例提供的一种PGW的装置结构示意图;
图7为本发明实施例提供的另一种PGW的装置结构示意图;
图8为本发明实施例提供的一种S-CSCF的装置结构示意图;
图9为本发明实施例提供的另一种S-CSCF的装置结构示意图;
图10为本发明实施例提供的再一种PGW的装置结构示意图;
图11为本发明实施例提供的另一种S-CSCF的装置结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
具体的,VoLTE的部署下,UE发起IMS注册之前,会先建立IMS PDN连接。UE建立IMS PDN连接的过程可以如图1所示:
S101、UE向移动管理实体(Mobility Management Entity,简称MME)发送PDN连接请求(PDN connectivity request)消息, 消息中携带请求P-CSCF地址指示。
S102、MME向服务网关(Serving GateWay,简称SGW)发送创建会话请求(Create session request)消息,消息中携带请求P-CSCF地址指示。
S103、SGW向PGW发送Create session request消息,消息中携带请求P-CSCF地址指示。
S104、PGW根据负荷分担的原则,选择P-CSCF地址列表,并通过创建会话响应Create session response消息发给SGW。
其中,选择的P-CSCF地址列表至少包括PGW根据负荷分担原则选择的优先分配的P-CSCF的地址。
具体的,在当前实际部署中,一般根据每个P-CSCF的性能及网络部署规划,在PGW中预先配置的固定P-CSCF权重,进行负载均衡分发用户到对接的P-CSCF上,以此实现用户分发的负载均衡。
示例性的,假设一个PGW管理4个P-CSCF(分别记录为P-CSCF1、P-CSCF2、P-CSCF3、P-CSCF4),根据每个P-CSCF的性能及网络部署规划,在PGW中预先配置的固定P-CSCF权重为:25∶25∶10∶40。那么,PGW根据配置的权重值,对用户进行负载均衡分发时,按照顺序依次进行如下操作:先给P-CSCF1分配25个负载,再给P-CSCF2分配25个负载,再给P-CSCF3分配10个负载,再给P-CSCF4分配40个负载,之后重复进行,以保证每个P-CSCF上的用户数比率基本接近各自权重比值(25∶25∶10∶40)。
可选的,选择的P-CSCF地址列表可以是一个P-CSCF地址,也可以是多个P-CSCF地址。
S105、SGW向MME发送Create session response消息,消息中携带了P-CSCF地址S105、SGW向MME发送Create session response消息,消息中携带了P-CSCF地址列表。
S106、MME向UE发送PDN connectivity accept消息,消息中携带了P-CSCF地址列表。
S107、UE从P-CSCF地址列表中选择一个P-CSCF地址发起IMS注册。
优选的,UE从P-CSCF地址列表中,选择优先级最高的P-CSCF地址发起IMS注册。
S108、UE在IMS注册成功后,UE接入的P-CSCF向PCRF发送应用授权请求(Application auth-request,简称AAR)消息。
其中,AAR消息中携带UE的标识及该UE注册的P-CSCF地址。
S109、PCRF向PGW发送信用重授权请求(Re-Auth-Request,简称RAR)消息。
其中,RAR消息中携带UE注册的P-CSCF地址。
由此可知,通过S108和S109两步,PGW就知道UE注册的P-CSCF地址,并将UE及其接入的P-CSCF的对应关系更新至PGW内的用户上下文中。
进一步的,当UE在IMS注册成功之后,P-CSCF存在出现故障的风险,当某个P-CSCF出现故障时,PGW还需要对接入该P-CSCF的UE进行故障恢复;参见图2,以PGW对P-CSCF1监测过程为例,对PGW对接入P-CSCF1的UE进行故障恢复的过程进行描述,该过程可以包括:
S201、PGW周期性的检测P-CSCF1是否可达;
S202、当PGW发现P-CSCF1不可达时,PGW通过SGW向注册到P-CSCF1上的UE发送更新承载请求(Update bearer request)消息;
其中,Update bearer request消息消息中携带更新后的P-CSCF地址列表;更新的P-CSCF地址列表不包含故障的P-CSCF1。
S202、UE收到更新后的P-CSCF地址列表后,从更新后的P-CSCF地址列表中选择一个P-CSCF地址,重新发起IMS注册。
需要说明的是,由于UE兼容性问题,部分终端不支持PGW发起的故障恢复流程,即S202中,UE收到更新后的P-CSCF地址 列表并不重新发起IMS注册。
S202之后的流程与S108和S109相同,此处不再进行赘述。
实施例一
本发明实施例一提供一种P-CSCF负载管理方法,应用于PGW,参见图3,所述方法可以包括:
S301、PGW接收迁移指令。
其中,所述迁移指令包括需要进行负载迁移的源P-CSCF的标识、迁移数量指示信息;
需要说明的是,P-CSCF的标识可以为P-CSCF的地址,或者P-CSCF的编号或者其他,本发明对此不进行具体限定,凡是能唯一标识P-CSCF的信息均可以作为P-CSCF的标识。
可选的,所述迁移数量指示信息可以包括:需要迁移的负载数量;或者,需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
其中,所述迁移数量指示信息指示的可以是接入源P-CSCF的全部或部分负载。
需要说明的是,当迁移数量指示信息为需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例时,可以用百分比的形式表示,也可以用小数的形式表示,还可以用其他形式表示,本发明对此不进行具体限定。
示例性的,假设一迁移指令中的迁移数量指示信息为需要迁移的负载数量,且值为“50”,则可以用于表示将源P-CSCF上接入50的负载迁移至其他P-CSCF。
示例性的,假设一迁移指令中的迁移数量指示信息为需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例,且值为“50%”,则可以用于表示将源P-CSCF上接入的负载中50%的负载迁移至其他P-CSCF。
进一步的,所述迁移指令还可以用于表示指定目标的迁移,因此,所述迁移指令还可以包括目的P-CSCF的标识,用于指示将 所述源P-CSCF中的负载迁移至所述目的P-CSCF上。
可选的,所述接收迁移指令可以包括下述两种方案:
第一种方案:
接收管理员输入的所述迁移指令。
其中,迁移指令可以是管理员判断需要对源P-CSCF进行负载迁移时在PGW界面上输入的。
第二种方案:
接收S-CSCF转发的所述迁移指令。
其中,所述迁移指令可以是管理员判断需要对源P-CSCF进行负载迁移时在S-CSCF界面上输入的。
可选的,S-CSCF向PGW转发迁移指令,可以通过下述流程(步骤1至步骤4)实现:
步骤1、S-CSCF通过与归属签约用户服务器(Home Subscriber Server,简称HSS)的交互消息,将迁移指令转发给HSS;
其中,S-CSCF与HSS的交互消息可以为:服务器分配应答(Server-Assignment-Request)消息。
步骤2、HSS通过与移动管理实体(Mobility Management Entity,简称MME)的交互消息,将迁移指令转发给MME;
其中,当网络组网中存在多个MME时,HSS则通过广播的方式将移指令转发给各个MME。
示例性的,HSS与MME的交互消息可以为插入签约数据(Insert Subscriber Data)请求。
步骤3、MME通过与服务网关(Serving GateWay,简称SGW)的交互消息,将迁移指令转发给SGW;
其中,当网络组网中存在多个SGW时,MME则通过广播的方式将移指令转发给各个SGW。
示例性的,MME与SGW的交互消息可以为承载修改请求(Modify Bearer Request)请求。
步骤3、SGW将迁移指令透传给PGW。
具体的,在上述两种方案中,判断需要对源P-CSCF进行负载迁移的条件可以可以包括但不限于下述条件中的一项或多项:负载不均衡、源P-CSCF、源P-CSCF进行运维等等。
需要说明的是,对于判断需要对源P-CSCF进行负载迁移的条件,可以根据实际需求确定,本发明对此不进行具体限定。
S302、PGW扫描用户上下文,获取接入源P-CSCF的负载。
其中,所述用户上下文包括每个负载与其接入的P-CSCF的对应关系。
示例性的,如表1所示,示意了一种用户上下文;
表1
P-CSCF的标识 接入该P-CSCF的负载标识
1 UE1、UE3
2 UE2、UE4、UE8
3 UE5、UE6
5 UE7
...... ......
需要说明的是,表1只是以示例的形式,举例说明用户上下文的包括的内容,并不是对用户上下文的形式及内容的具体限定。
示例性的,假设PGW2接收到的迁移指令中包含P-CSCF3的标识,说明PGW2需要根据迁移指令的指示对P-CSCF3进行卸载;因此,PGW2扫描内部的如表1所示的用户上下文,可以获取接入P-CSCF3的负载为UE5、UE6。
S303、PGW按照预设速率,分批向接入所述源P-CSCF的负载分别发送P-CSCF地址列表。
其中,所述P-CSCF地址列表包含至少一个除所述源P-CSCF之外的P-CSCF的地址。
进一步的,若所述迁移指令中还包括目的P-CSCF的标识时,也就是指定目标迁移,所述P-CSCF地址列表还包括迁移指令中的目的P-CSCF,且目的P-CSCF在P-CSCF地址列表中优先级最高。
需要说明的是,若所述迁移指令中不包括目的P-CSCF的标识,也就是非指定目标迁移时,所述P-CSCF地址列表的内容根据负荷分担原则确定,本发明对此不在进行详细赘述。
由于向接入源P-CSCF的负载发送的P-CSCF地址列表中不包含所述源P-CSCF的地址,使得接收到P-CSCF地址列表的负载可以重新注册到P-CSCF地址列表中包括的其他P-CSCF上,实现了源P-CSCF上的负载的迁移。
具体的,预设速率指示了可同时发送信息的数量,因此,按照预设速率,分批向接入源P-CSCF的负载分别发送P-CSCF地址列表,是指每次向接入源P-CSCF的负载中的预设速率指示的个数个负载发送P-CSCF地址列表,其余的下批发送。
可选的,预设速率小于或等于PGW的处理能力。预设速率可以根据实际需求设定,本发明对此不进行具体限定。
优选的,预设速率等于PGW的处理能力
示例性的,假设PGW的处理能力为每秒钟可以与100个P-CSCF交互,那么预设速率则可以为每秒钟小于或等于100/秒,即可以每秒钟向小于100个接入源P-CSCF的负载发送P-CSCF地址列表。
示例性的,以上述S302中的示例为基础,若PGW的处理能力为每秒钟可以与100个P-CSCF交互,那么PGW2则可以同时向UE5、UE6发送P-CSCF地址列表。
需要说明的是,当按照预设速率分批发送P-CSCF地址列表时,若检测到PGW的开销过大,还可以降低预设速率发送,以提高PGW性能。
进一步的,对于PGW获取的接入源P-CSCF的负载,可能存在正在通话的负载,因此,所述按照预设速率,分批向所述接入源P-CSCF的负载分别发送P-CSCF地址列表,可以包括:
按照预设速率,分批向所述接入源P-CSCF的负载中未进行通话的负载分别发送所述P-CSCF地址列表。
进一步的,接入源P-CSCF的负载中正在进行通话的负载,待通话结束后,向其发送P-CSCF地址列表。
示例性的,可以通过判断是否存在QCI=1的语音专有承载判断负载是否正在进行通话。
具体的,若存在QCI=1的语音专有承载,则判断负载正在进行通话;反之亦然。
可选的,PGW向负载发送P-CSCF地址列表的过程可以包括下述步骤:
步骤A、PGW将P-CSCF地址列表发送给SGW;
其中,PGW可以通过S5/S8接口其他信令消息向SGW发送P-CSCF地址列表。
示例性的,S5/S8接口其他信令消息可以为更新承载请求Update bearer request消息。
步骤B、SGW将P-CSCF地址列表发送给MME;
其中,PGW可以通过S11接口信令消息向MME发送P-CSCF地址列表。
示例性的,S11接口信令消息可以为Update bearer request消息。
步骤C、MME将P-CSCF地址列表发送给负载。
其中,MME可以通过网络附属存储(Network Attached Storage,简称NAS)消息向负载发送P-CSCF地址列表。
示例性的,NAS消息可以为会话管理请求session management request消息。
S304、当接入源P-CSCF的负载数量满足迁移指令要求时,PGW停止向接入源P-CSCF的负载发送P-CSCF地址列表。
其中,接入源P-CSCF的负载数量满足迁移指令要求是指,通过负载迁移的过程,已经将接入源P-CSCF的负载中N个(迁移指令中的迁移数量指示信息所指示的数量)负载迁移至了非源P-CSCF中,满足了迁移指令的要求。
从上述S108及S109可知,当负载成功接入P-CSCF时,PGW会接收到负载成功接入的P-CSCF发送的携带负载标识及负载接入的P-CSCF的标识的消息,因此,可以通过接收到负载成功接入的P-CSCF发送的携带负载标识及其接入的P-CSCF的标识的消息来判断是否迁移成功。
可选的,对于判断接入所述源P-CSCF的负载数量是否满足迁移指令要求,可以包括:
当接收到N个负载成功接入P-CSCF的反馈消息时,接入所述源P-CSCF的负载数量满足迁移指令要求;其中,所述N为所述迁移数量指示信息指示的负载数量。
其中,所述反馈消息可以为S109中的RAR消息。所述反馈消息中携带负载标识及负载新接入的P-CSCF的标识。
相应的,所述当接入所述源P-CSCF的负载数量满足迁移指令要求时,停止向接入所述源P-CSCF的负载分别发送P-CSCF地址列表,可以包括:
当PGW接收到N个负载成功接入P-CSCF的反馈消息时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;
或者,
当PGW接收到管理员输入的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。
进一步可选的,所述当接入源P-CSCF的负载数量满足迁移指令要求时,停止向接入源P-CSCF的负载发送P-CSCF地址列表,可以包括:
接收S-CSCF转发的停止迁移指令,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。
其中,所述停止迁移指令是由S-CSCF检测到接入源P-CSCF的负载数量满足迁移指令要求时发送的;或者,所述停止迁移指令是S-CSCF接收的管理员输入的。
具体的,S-CSCF可以通过统计接入源P-CSCF上的负载数量 判断源P-CSCF的负载数量满足迁移指令要求。
需要说明的是,S-CSCF转发停止迁移指令的过程,可以与S301中所述的S-CSCF转发迁移指令的过程的相同,此处对此不再进行赘述。
进一步的,从上述S108及S109可知,当负载成功接入P-CSCF时,PGW会接收到负载成功接入的P-CSCF发送的携带负载标识及负载接入的P-CSCF的标识的消息,但是也存在负载在收到新的-CSCF地址列表后,并不重新发起IMS注册的现象,因此,在S303之后,所述方法还可以包括:
若在预设时长之后,未接收到第一负载成功接入P-CSCF的反馈消息,则向所述第一负载发送多媒体子系统IMS分组数据网PDN连接释放消息,以指示所述第一负载断开当前IMS PDN连接。
其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第一负载立刻重新发起IMS PDN建立请求;所述第一负载为接收到所述P-CSCF地址列表的负载中任意一个负载。
接收第一负载发送的IMS PDN建立请求;
向第一负载反馈P-CSCF地址列表。
可选的,所述指示信息可以为重新激活请求(reactivation requested)原因值。
具体的,所述预设时长可以采用定时器来实现,即向第一负载发送所述P-CSCF地址列表之后,即启动定时器,当定时器超时,则预设时长结束。
需要说明的是,预设时长的具体取值,可以根据实际需求设定,本发明对此不进行具体限定。其中,预设时长设定的越长,对PGW的性能消耗越大,但能越准确的监控负载是否重新接入;预设时长设定的越短,对PGW的性能是有节省,但是可能会出现负载还没来得及注册完成,PGW的定时器已经超时,导致误判。
优选的,所述定时器可以与负载上发起SIP注册超时的定时器相互配合。PGW中判断负载是否成功重新接入的定时器的时长可 以比负载上发起SIP注册超时的定时器的时长大2~3秒。
可选的,在S301之后,所述方法还可以包括:不再向源P-CSCF分配新接入的负载。
本发明实施例提供的P-CSCF负载管理方法,根据迁移指令的指示,通过向接入源P-CSCF的负载发送不包含源P-CSCF的地址列表,使得负载向非源P-CSCF重新接入,实现了对源P-CSCF的负载迁移,满足了迁移指令的要求;因此,可以通过迁移指令的智能控制,可以很好的提高负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险,还可以将无法继续服务的P-CSCF(过载或者运维的P-CSCF)上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。
实施例二
本发明实施例二提供另一种P-CSCF负载管理方法,以EPC网络与IMS网络中各个单元的交互为例,详细描述图3所示的方法。其中,管理员在PGW上输入迁移指令。
参见图4,所述方法可以包括:
S401、PGW接收管理员输入的迁移指令。
其中,所述迁移指令是管理员通过系统数据,判断PGW管理内的P-CSCF A过载时发送的。
示例性的,所述迁移指令可以如表2所示。
表2
源P-CSCF标识 P-CSCF A
需要迁移的负载数量 200
目的P-CSCF标识 B
S402、PGW扫描用户上下文,获取接入P-CSCF A的负载。
示例性的,假设PGW扫描用户上下文,获取接入P-CSCF A的负载有500个。
S403、PGW按照预设速率,分批向接入P-CSCF A的负载中 未进行通话的负载发送更新后的P-CSCF地址列表,并分别启动定时器。
其中,更新后的P-CSCF地址列表不包含P-CSCF A的地址,包含P-CSCF A的地址且优先级最高。
假设,根据PGW的处理能力,所述预设速率为每秒钟100个,那么,在S403中,PGW首先向接入P-CSCF A的负载中未进行通话的100个负载发送更新后的P-CSCF地址列表,并分别启动定时器。
具体的,PGW按照预设速率,向接入P-CSCF A的负载中未进行通话的100个负载发送更新后的P-CSCF地址列表,是通过SGW、MME逐级转发发送。
若在某个负载对应的定时器超时前,PGW接收P-CSCF B发送的该负载成功接入P-CSCF的反馈消息,说明反馈消息中包含的这个负载实现了从P-CSCF A迁移至P-CSCF B。
进一步的,若在定时器超时后,PGW未接收任何P-CSCF发送的负载1成功接入P-CSCF的反馈消息,则执行S407。
S404、PGW向负载1发送IMS PDN连接释放消息。
其中,所述IMS PDN连接释放消息包括reactivation requested原因值。
具体的,PGW向负载1发送IMS PDN连接释放消息,是通过SGW、MME逐级转发发送。
S405、PGW接收负载1发送的IMS PDN建立请求并向负载1反馈更新后的P-CSCF地址列表,以使得负载1完成IMS重新注册。
需要说明的是,负载1完成IMS重新注册的过程,与图1所示的过程相同,此处不再进行详细赘述。
当PGW接收到P-CSCF B发送的用于指示200个负载都已经成功接入P-CSCF B的反馈消息时,则执行S406。
S406、停止向接入P-CSCF A的负载发送更新后的P-CSCF地址列表。
本发明实施例提供的P-CSCF负载管理方法,根据迁移指令的指示,通过向接入源P-CSCF的负载发送不包含源P-CSCF的地址列表,使得负载向非源P-CSCF重新接入,实现了对源P-CSCF的负载迁移,满足了迁移指令的要求;因此,可以通过迁移指令的智能控制,可以很好的提高负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险,还可以将无法继续服务的P-CSCF(过载或者运维的P-CSCF)上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。
进一步的,由于在迁移中设置了定时器,避免了由于负载兼容性问题造成的迁移失败,也将避免负载的通话受损的现象。
实施例三
本发明实施例三提供另一种P-CSCF负载管理方法,应用于S-CSCF,参见图5,所述方法可以包括:
S501、S-CSCF接收管理员输入的迁移指令。
其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息。
需要说明的是,P-CSCF的标识可以为P-CSCF的地址,或者P-CSCF的编号或者其他,本发明对此不进行具体限定,凡是能唯一标识P-CSCF的信息均可以作为P-CSCF的标识。
可选的,所述迁移数量指示信息包括:需要迁移的负载数量;或者,需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
需要说明的是,对于迁移数量指示信息已经在实施例一中进行了详细描述,此处不再进行赘述。
进一步,所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上。
S502、S-CSCF向PGW转发所述迁移指令,用于指示PGW根据迁移数量指示信息的指示,对源P-CSCF进行负载迁移。
需要说明的是,PGW迁移指令的指示,对源P-CSCF进行负载迁移的过程,已经在实施例一中进行了详细描述,此处不再赘述。
可选的,在S502之后,所述方法还可以包括:
若检测到接入源P-CSCF的负载数量满足迁移指令要求,向PGW发送停止迁移指令,用于指示PGW停止对源P-CSCF的负载迁移。
本发明实施例提供的P-CSCF负载管理方法,根据迁移指令的指示,通过向PGW发送迁移指令,PGW根据迁移数量指示信息的指示,对源P-CSCF进行负载迁移,实现了对源P-CSCF的负载迁移,满足了迁移指令的要求;因此,可以通过迁移指令的智能控制,可以很好的提高负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险,还可以将无法继续服务的P-CSCF(过载或者运维的P-CSCF)上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。
实施例四
本发明实施例四提供一种PGW 60,参见图6,所述PGW 60可以包括:
接收单元601,用于接收迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
获取单元602,用于当所述接收单元601接收到所述迁移指令时,扫描用户上下文,获取接入所述源P-CSCF的负载;其中,所述用户上下文包括每个负载与其接入的P-CSCF的对应关系;
发送单元603,用于按照预设速率,分批向所述获取单元602获取的所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述P-CSCF地址列表包含至少一个除所述源P-CSCF之外的P-CSCF的地址;
所述发送单元603还用于,当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载 分别发送P-CSCF地址列表。
进一步的,所述迁移指令还可以包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上;
相应的,所述P-CSCF地址列表包括所述目的P-CSCF的地址,且所述目的P-CSCF在所述P-CSCF地址列表中优先级最高。
进一步的,所述发送单元603还可以用于:
在所述按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表之后,若在预设时长之后,未接收到第一负载成功接入P-CSCF的反馈消息,则向所述第一负载发送网络协议多媒体子系统IMS分组数据网PDN连接释放消息,以指示所述第一负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第一负载立刻重新发起IMS PDN建立请求;所述第一负载为所述PGW发送所述P-CSCF地址列表的负载中任意一个负载;
所述接收单元601还可以用于,接收所述第一负载发送的IMS PDN建立请求;
所述发送单元603还可以用于,向所述第一负载反馈所述P-CSCF地址列表。
进一步的,所述发送单元603具体可以用于:
按照所述预设速率,分批向所述接入所述源P-CSCF的负载中,未进行通话的负载,分别发送P-CSCF地址列表。
可选的,所述迁移数量指示信息可以包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
可选的,所述接收单元601具体可以用于:
接收管理员输入的所述迁移指令;
或者,
接收S-CSCF转发的所述迁移指令;其中,所述迁移指令由所述管理员在所述S-CSCF中输入。
可选的,所述发送单元603具体可以用于:
当接收到N个负载成功接入P-CSCF的反馈消息时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述N为所述迁移数量指示信息指示的负载数量;
或者,
当接收管理员输入的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;
或者,
当接收所述S-CSCF转发的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述停止迁移指令是由所述S-CSCF检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求时发送的;或者,所述停止迁移指令是管理员输入的。
进一步的,参见图7,所述PGW 60还可以包括分配单元604,用于不再向所述源P-CSCF分配新接入的负载。
本发明实施例提供的PGW 60,根据迁移指令的指示,通过向接入源P-CSCF的负载发送不包含源P-CSCF的地址列表,使得负载向非源P-CSCF重新接入,实现了对源P-CSCF的负载迁移,满足了迁移指令的要求;因此,可以通过迁移指令的智能控制,可以很好的提高负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险,还可以将无法继续服务的P-CSCF(过载或者运维的P-CSCF)上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。
实施例五
本发明实施例五提供一种S-CSCF 80,参见图8,所述S-CSCF 80可以包括:
接收单元801,用于接收管理员输入的迁移指令;其中,所述 迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
转发单元802,用于向PGW转发所述接收单元801接收的所述迁移指令,用于指示所述PGW根据所述迁移指令的指示,对所述源P-CSCF进行负载迁移。
进一步的,所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上。
可选的,所述迁移数量指示信息可以包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
进一步的,参见图9,所述S-CSCF 80还可以包括:
检测单元803,用于检测接入所述源P-CSCF的负载数量是否满足所述迁移指令要求;
所述转发单元802还用于,若所述检测单元803检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求或者所述接收单元801接收到所述管理员输入的停止迁移指令,向所述PGW发送所述停止迁移指令,用于指示所述PGW停止对所述源P-CSCF的负载迁移。
本发明实施例提供的S-CSCF 80,根据迁移指令的指示,通过向PGW发送迁移指令,PGW根据迁移数量指示信息的指示,对源P-CSCF进行负载迁移,实现了对源P-CSCF的负载迁移,满足了迁移指令的要求;因此,可以通过迁移指令的智能控制,可以很好的提高负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险,还可以将无法继续服务的P-CSCF(过载或者运维的P-CSCF)上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。
实施例六
本发明实施例六提供另一种PGW 60,参见图10,所述PGW 60可以包括:
至少一个处理器1001;至少一个通信总线1002,用于实现装置之间的连接和相互通信,接收器1003,发送器1004;
其中,通信总线1002可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
处理器1001可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。
其中,接收器1003,用于接收迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
处理器1001,用于当所述接收器1003接收到所述迁移指令时,扫描用户上下文,获取接入所述源P-CSCF的负载;其中,所述用户上下文包括每个负载与其接入的P-CSCF的对应关系;
发送器1004,用于按照预设速率,分批向所述处理器1001获取的所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述P-CSCF地址列表包含至少一个除所述源P-CSCF之外的P-CSCF的地址;
所述发送器1004还用于,当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。
进一步的,所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上;
所述P-CSCF地址列表包括所述目的P-CSCF的地址,且所述目的P-CSCF在所述P-CSCF地址列表中优先级最高。
进一步的,所述发送器1004还可以用于:
在所述按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表之后,若在预设时长之后,未接收到第一负载成功接入网络协议多媒体子系统IMS的反馈消息,则向所述第一负载发送IMS PDN连接释放消息,以指示所述第一负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第一负载立刻重新发起IMS PDN建立请求;所述第一负载为所述PGW发送所述P-CSCF地址列表的负载中任意一个负载;
所述接收器1003还可以用于,接收所述第一负载发送的IMS PDN建立请求;
所述发送器1004还可以用于,向所述第一负载反馈所述P-CSCF地址列表。
可选的,所述发送器1004具体可以用于:
按照所述预设速率,分批向所述接入所述源P-CSCF的负载中,未进行通话的负载,分别发送P-CSCF地址列表。
可选的,所述迁移数量指示信息可以包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
可选的,所述接收器1003具体可以用于:
接收管理员输入的所述迁移指令;
或者,
接收S-CSCF转发的所述迁移指令;其中,所述迁移指令由所述管理员在所述S-CSCF中输入。
可选的,所述发送器具体可以用于:
当接收到N个负载成功接入P-CSCF的反馈消息时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述N为所述迁移数量指示信息指示的负载数量;
或者,
当接收管理员输入的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;
或者,
当接收所述S-CSCF转发的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述停止迁移指令是由所述S-CSCF检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求时发送的;或者,所述停止迁移指令是管理员输入的。
进一步的,所述处理器1001还可以用于,不再向所述源P-CSCF分配新接入的负载。
本发明实施例提供的PGW 60,根据迁移指令的指示,通过向接入源P-CSCF的负载发送不包含源P-CSCF的地址列表,使得负载向非源P-CSCF重新接入,实现了对源P-CSCF的负载迁移,满足了迁移指令的要求;因此,可以通过迁移指令的智能控制,可以很好的提高负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险,还可以将无法继续服务的P-CSCF(过载或者运维的P-CSCF)上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。
实施例七
本发明实施例七提供一种S-CSCF 80,参见图11,所述S-CSCF 80可以包括:
至少一个处理器1101;至少一个通信总线1102,用于实现装置之间的连接和相互通信,接收器1103;
其中,通信总线1102可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral  Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
处理器1101可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。
其中,接收器1103,用于接收管理员输入的迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
处理器1101,用于向PGW转发所述接收器1103接收的所述迁移指令,用于指示所述PGW根据所述迁移指令的指示,对所述源P-CSCF进行负载迁移。
进一步的,所述迁移指令还可以包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上。
可选的,所述迁移数量指示信息可以包括:
需要迁移的负载数量;
或者,
需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
进一步的,所述处理器1101还可以用于,检测接入所述源P-CSCF的负载数量是否满足所述迁移指令要求;
所述处理器还1101还用于,若所述处理器1101检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求或者所述接收器1103接收到所述管理员输入的停止迁移指令,向所述PGW发送所述停止迁移指令,用于指示所述PGW停止对所述源P-CSCF的负载迁移。
本发明实施例提供的S-CSCF 80,根据迁移指令的指示,通过 向PGW发送迁移指令,PGW根据迁移数量指示信息的指示,对源P-CSCF进行负载迁移,实现了对源P-CSCF的负载迁移,满足了迁移指令的要求;因此,可以通过迁移指令的智能控制,可以很好的提高负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险,还可以将无法继续服务的P-CSCF(过载或者运维的P-CSCF)上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储 介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (24)

  1. 一种P-CSCF负载管理方法,其特征在于,应用于分组数据网网关PGW,所述方法包括:
    接收迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
    扫描用户上下文,获取接入所述源P-CSCF的负载;其中,所述用户上下文包括每个负载与其接入的P-CSCF的对应关系;
    按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述P-CSCF地址列表包含至少一个除所述源P-CSCF之外的P-CSCF的地址;
    当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。
  2. 根据权利要求1所述的方法,其特征在于,所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上:
    所述P-CSCF地址列表包括所述目的P-CSCF的地址,且所述目的P-CSCF在所述P-CSCF地址列表中优先级最高。
  3. 根据权利要求1或2所述的方法,其特征在于,在所述按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表之后,所述方法还包括:
    若在预设时长之后,未接收到第一负载成功接入P-CSCF的反馈消息,则向所述第一负载发送网络协议多媒体子系统IMS分组数据网PDN连接释放消息,以指示所述第一负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第一负载立刻重新发起IMS PDN建立请求;所述第一负载为所述PGW发送所述P-CSCF地址列表的负载中任意一个负载;
    接收所述第一负载发送的IMS PDN建立请求;
    向所述第一负载反馈所述P-CSCF地址列表。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述按 照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表,包括:
    按照所述预设速率,分批向所述接入所述源P-CSCF的负载中,未进行通话的负载,分别发送P-CSCF地址列表。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述迁移数量指示信息包括:
    需要迁移的负载数量;
    或者,
    需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述接收迁移指令包括:
    接收管理员输入的所述迁移指令;
    或者,
    接收服务呼叫会话控制功能S-CSCF转发的所述迁移指令;其中,所述迁移指令由所述管理员在所述S-CSCF中输入。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表,包括:
    当接收到N个负载成功接入P-CSCF的反馈消息时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述N为所述迁移数量指示信息指示的负载数量;
    或者,
    当接收管理员输入的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;
    或者,
    当接收所述S-CSCF转发的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述停止迁移指令是由所述S-CSCF检测到接入所述源P-CSCF的负载数量满足 所述迁移指令要求时发送的;或者,所述停止迁移指令是管理员输入的。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,在所述接收迁移指令之后,所述方法还包括:
    不再向所述源P-CSCF分配新接入的负载。
  9. 一种P-CSCF负载管理方法,其特征在于,应用于服务呼叫会话控制功能S-CSCF,所述方法包括:
    接收管理员输入的迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息:
    向分组数据网网关PGW转发所述迁移指令,用于指示所述PGW根据所述迁移指令的指示,对所述源P-CSCF进行负载迁移。
  10. 根据权利要求9所述的方法,其特征在于,所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上。
  11. 根据权利要求9或10所述的方法,其特征在于,所述迁移数量指示信息包括:
    需要迁移的负载数量;
    或者,
    需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
  12. 根据权利要求9-11任一项所述的方法,其特征在于,在所述向PGW转发所述迁移指令之后,所述方法还包括:
    若检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求或者接收到所述管理员输入的停止迁移指令,向所述PGW发送所述停止迁移指令,用于指示所述PGW停止对所述源P-CSCF的负载迁移。
  13. 一种分组数据网网关PGW,其特征在于,包括:
    接收单元,用于接收迁移指令;其中,所述迁移指令包括需要进 行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息:
    获取单元,用于当所述接收单元接收到所述迁移指令时,扫描用户上下文,获取接入所述源P-CSCF的负载;其中,所述用户上下文包括每个负载与其接入的P-CSCF的对应关系;
    发送单元,用于按照预设速率,分批向所述获取单元获取的所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述P-CSCF地址列表包含至少一个除所述源P-CSCF之外的P-CSCF的地址;
    所述发送单元还用于,当接入所述源P-CSCF的负载数量满足所述迁移指令要求时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表。
  14. 根据权利要求13所述的PGW,其特征在于,所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上;
    所述P-CSCF地址列表包括所述目的P-CSCF的地址,且所述目的P-CSCF在所述P-CSCF地址列表中优先级最高。
  15. 根据权利要求13或14所述的PGW,其特征在于,所述发送单元还用于:
    在所述按照预设速率,分批向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表之后,若在预设时长之后,未接收到第一负载成功接入P-CSCF的反馈消息,则向所述第一负载发送网络协议多媒体子系统IMS分组数据网PDN连接释放消息,以指示所述第一负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第一负载立刻重新发起IMS PDN建立请求;所述第一负载为所述PGW发送所述P-CSCF地址列表的负载中任意一个负载;
    所述接收单元还用于,接收所述第一负载发送的IMS PDN建立请求;
    所述发送单元还用于,向所述第一负载反馈所述P-CSCF地址列表。
  16. 根据权利要求13-15任一项所述的PGW,其特征在于,所述发送单元具体用于:
    按照所述预设速率,分批向所述接入所述源P-CSCF的负载中,未进行通话的负载,分别发送P-CSCF地址列表。
  17. 根据权利要求13-16任一项所述的PGW,其特征在于,所述迁移数量指示信息包括:
    需要迁移的负载数量;
    或者,
    需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
  18. 根据权利要求13-17任一项所述的PGW,其特征在于,所述接收单元具体用于:
    接收管理员输入的所述迁移指令;
    或者,
    接收服务呼叫会话控制功能S-CSCF转发的所述迁移指令;其中,所述迁移指令由所述管理员在所述S-CSCF中输入。
  19. 根据权利要求13-18任一项所述的PGW,其特征在于,所述发送单元具体用于:
    当接收到N个负载成功接入P-CSCF的反馈消息时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述N为所述迁移数量指示信息指示的负载数量;
    或者,
    当接收管理员输入的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;
    或者,
    当接收所述S-CSCF转发的停止迁移指令时,停止向所述接入所述源P-CSCF的负载分别发送P-CSCF地址列表;其中,所述停止迁 移指令是由所述S-CSCF检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求时发送的;或者,所述停止迁移指令是管理员输入的。
  20. 根据权利要求13-19任一项所述的PGW,其特征在于,所述PGW还包括分配单元,用于不再向所述源P-CSCF分配新接入的负载。
  21. 一种服务呼叫会话控制功能S-CSCF,其特征在于,包括:
    接收单元,用于接收管理员输入的迁移指令;其中,所述迁移指令包括需要进行负载迁移的源代理呼叫会话控制功能P-CSCF的标识、迁移数量指示信息;
    转发单元,用于向分组数据网网关PGW转发所述接收单元接收的所述迁移指令,用于指示所述PGW根据所述迁移指令的指示,对所述源P-CSCF进行负载迁移。
  22. 根据权利要求21所述的S-CSCF,其特征在于,所述迁移指令还包括目的P-CSCF的标识,用于指示将所述源P-CSCF中的负载迁移至所述目的P-CSCF上。
  23. 根据权利要求21或22所述的S-CSCF,其特征在于,所述迁移数量指示信息包括:
    需要迁移的负载数量;
    或者,
    需要迁移的负载数量占所述源P-CSCF上接入的负载总量的比例。
  24. 根据权利要求21-23任一项所述的S-CSCF,其特征在于,所述S-CSCF还包括:
    检测单元,用于检测接入所述源P-CSCF的负载数量是否满足所述迁移指令要求;
    所述转发单元还用于,若所述检测单元检测到接入所述源P-CSCF的负载数量满足所述迁移指令要求或者所述接收单元接收到所述管理员输入的停止迁移指令,向所述PGW发送所述停止迁移指 令,用于指示所述PGW停止对所述源P-CSCF的负载迁移。
PCT/CN2015/082708 2015-06-29 2015-06-29 一种p-cscf负载管理方法及装置 WO2017000141A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580033830.7A CN106797585B (zh) 2015-06-29 2015-06-29 一种p-cscf负载管理方法及装置
PCT/CN2015/082708 WO2017000141A1 (zh) 2015-06-29 2015-06-29 一种p-cscf负载管理方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/082708 WO2017000141A1 (zh) 2015-06-29 2015-06-29 一种p-cscf负载管理方法及装置

Publications (2)

Publication Number Publication Date
WO2017000141A1 true WO2017000141A1 (zh) 2017-01-05
WO2017000141A8 WO2017000141A8 (zh) 2017-03-23

Family

ID=57607730

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/082708 WO2017000141A1 (zh) 2015-06-29 2015-06-29 一种p-cscf负载管理方法及装置

Country Status (2)

Country Link
CN (1) CN106797585B (zh)
WO (1) WO2017000141A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021012266A1 (en) * 2019-07-25 2021-01-28 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for subscriber migration

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151901B (zh) * 2018-09-30 2022-02-18 中国联合网络通信集团有限公司 一种业务质量保障方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080075041A1 (en) * 2006-09-27 2008-03-27 Innovative Sonic Limited Method and apparatus for distribution and attachment gateway support node in wireless communications system
CN101500271A (zh) * 2008-02-01 2009-08-05 华为技术有限公司 一种实现核心网设备负载均衡的方法和设备
CN102055654A (zh) * 2009-11-10 2011-05-11 中兴通讯股份有限公司 一种进行网络设备负载均衡的方法及ip多媒体子系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090561A (zh) * 2006-06-16 2007-12-19 华为技术有限公司 选择服务会话控制功能实体的系统及方法
CN101316218A (zh) * 2007-05-29 2008-12-03 诺基亚西门子通信公司 一种在通信系统中实现域选择的方法、系统和服务器
CN101583155B (zh) * 2008-05-16 2011-11-23 大唐移动通信设备有限公司 移动性管理实体上的负载迁移方法及通信设备
CN101350960B (zh) * 2008-08-12 2012-04-25 华为技术有限公司 基于msc池的负载迁移方法、系统和设备
CN101667936A (zh) * 2008-09-04 2010-03-10 中国移动通信集团公司 接入会话控制服务器的故障处理方法、设备及系统
CN102340765B (zh) * 2011-07-18 2014-12-17 中国电信股份有限公司 容灾负荷均衡方法、装置和系统
CN103347282B (zh) * 2013-07-23 2016-03-23 中国联合网络通信有限公司海南省分公司 基于地理位置和负载均衡的p-cscf分配方法
EP2866414A1 (en) * 2013-10-22 2015-04-29 Telefonaktiebolaget L M Ericsson (publ) Proxy node discovery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080075041A1 (en) * 2006-09-27 2008-03-27 Innovative Sonic Limited Method and apparatus for distribution and attachment gateway support node in wireless communications system
CN101500271A (zh) * 2008-02-01 2009-08-05 华为技术有限公司 一种实现核心网设备负载均衡的方法和设备
CN102055654A (zh) * 2009-11-10 2011-05-11 中兴通讯股份有限公司 一种进行网络设备负载均衡的方法及ip多媒体子系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021012266A1 (en) * 2019-07-25 2021-01-28 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for subscriber migration

Also Published As

Publication number Publication date
CN106797585B (zh) 2020-04-21
WO2017000141A8 (zh) 2017-03-23
CN106797585A (zh) 2017-05-31

Similar Documents

Publication Publication Date Title
EP3721674B1 (en) Method, computer program, carrier containing the computer program and wireless device for supporting multiple access networks
US20210227595A1 (en) Communication system and communication method for improving signal processing efficiency
US11122413B2 (en) Method and apparatus for efficiently transmitting small amounts of data in wireless communication systems
US10631356B2 (en) Communication apparatus, core network node, system, computer program and methods for rerouting NAS-messages
US10812534B2 (en) Service processing method and apparatus
CN107113677B (zh) 用于双活跃连接切换的方法和设备
US10827395B2 (en) Methods and apparatus for selecting a serving gateway for a session of a user equipment (UE) in a mobile network having 5G non-standalone (NSA) architecture deployments
WO2019077011A1 (en) PDN AND PDU SESSION TYPE MAPPING, AND DISCOVERING CAPACITY
US11317273B2 (en) Communication system for establishing a connection with a mobility management entity
US20230284114A1 (en) User plane setup during 5g system to evolved packet system handover
CN101925042A (zh) 控制隧道标识分配的方法、装置和系统
US8989124B1 (en) Management of bearers in a cellular wireless communication system
WO2017000142A1 (zh) 一种p-cscf负载管理方法及pgw
JP2021503200A (ja) 通信端末および通信セッションを確立する方法
US8797856B1 (en) Feedback for machine to machine devices to account for failure of network elements
KR102260458B1 (ko) 이동통신 시스템에서 게이트웨이 변경을 지원하기 위한 네트워크 장치 및 그 동작 방법
WO2017000141A1 (zh) 一种p-cscf负载管理方法及装置
CN110048861B (zh) 一种业务数据流处理方法及其相关设备
CN108235428B (zh) 实现ue注册p-cscf的方法、mme设备及pgw设备
CN115604184A (zh) 数据路由方法及装置
KR20130023971A (ko) 트래픽 제어 게이트웨이 및 이를 이용한 트래픽 제어 방법
KR20130023970A (ko) 트래픽 제어 게이트웨이 및 이를 이용한 트래픽 제어 방법
KR101750166B1 (ko) S/p-gw 및 그 제어방법
CN117044179A (zh) 网络切片配额管理增强

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

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

Country of ref document: EP

Kind code of ref document: A1