WO2017000142A1 - P-cscf load management method and pgw - Google Patents
P-cscf load management method and pgw Download PDFInfo
- Publication number
- WO2017000142A1 WO2017000142A1 PCT/CN2015/082710 CN2015082710W WO2017000142A1 WO 2017000142 A1 WO2017000142 A1 WO 2017000142A1 CN 2015082710 W CN2015082710 W CN 2015082710W WO 2017000142 A1 WO2017000142 A1 WO 2017000142A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cscf
- load
- pgw
- managed
- status message
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1016—IP multimedia subsystem [IMS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1046—Call controllers; Call servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1029—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer
Definitions
- the present invention relates to the field of communications, and in particular, to a P-CSCF load management method and a Packet Data Network GateWay (PGW).
- PGW Packet Data Network GateWay
- 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 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 a one-to-many relationship between the PW and the P-CSCF.
- 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 weight of the fixed P-CSCF pre-configured in the PGW is generally performed according to the performance of each P-CSCF and the network deployment plan.
- the user is distributed to the docked P-CSCF to achieve load balancing of user distribution.
- 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 a PGW, which implement automatic 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 load on each P-CSCF managed by the PGW is managed according to the status message.
- the status message includes load information indicating a P-CSCF access capability
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message includes bearer information indicating whether the P-CSCF is overloaded
- the managing the load on each P-CSCF managed by the PGW according to the status message includes:
- a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the status message further includes load information indicating a P-CSCF access capability
- the managing the load on each P-CSCF managed by the PGW according to the status message includes:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message includes maintenance information indicating whether the P-CSCF is about to be operated and maintained;
- the managing the load on each P-CSCF managed by the PGW according to the status message includes:
- a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the managing the load on each P-CSCF managed by the PGW according to the status message includes:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes bearer information indicating whether the P-CSCF is overloaded
- the managing the load on each P-CSCF managed by the PGW according to the status message includes:
- the third P-CSCF indicates that the maintenance information in the status message in the P-CSCF managed by the PGW is P - the CSCF is not about to be operated, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF is the maintenance information indication in the status message in the P-CSCF managed by the PGW The P-CSCF is about to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
- a P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the status message further includes load information indicating a P-CSCF access capability
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
- a first P-CSCF address list where the first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is per P-CSCF
- the remaining accessible load numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
- the load migration includes:
- the method further includes:
- the IMS PND connection release message is sent to the second load to instruct the second load to disconnect the current IMS PDN connection;
- the IMS PDN connection release message includes indication information for instructing the second load to immediately re-initiate an IMS PDN establishment request; the second load is any load in a load that is sent by the P-CSCF address list ;
- the fifteenth possible aspect of the first aspect In conjunction with the twelfth possible implementation of the first aspect or the thirteenth possible implementation of the first aspect or the fourteenth possible implementation of the first aspect, the fifteenth possible aspect of the first aspect In the implementation,
- the load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
- the priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P-CSCF capacity.
- the occupancy ratio is arranged in order from low to high.
- the method further includes:
- the newly accessed load is no longer allocated to the P-CSCF for load migration.
- the status message sent by each proxy call session control function P-CSCF managed by the PGW is received by forwarding of a Policy and Charging Rules Function (PCRF).
- PCRF Policy and Charging Rules Function
- a PGW including:
- a receiving unit configured to receive a status message sent by each proxy call session control function P-CSCF managed by the PGW;
- a management unit configured to manage, according to the status message received by the receiving unit, a load on each P-CSCF managed by the PGW.
- the status message includes load information indicating a P-CSCF access capability
- the management unit is specifically configured to:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message includes bearer information indicating whether the P-CSCF is overloaded
- the management unit is specifically configured to:
- a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the management unit is specifically configured to:
- the status message further includes load information indicating a P-CSCF access capability
- the management unit is specifically configured to:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message includes maintenance information indicating whether the P-CSCF is about to be operated and maintained;
- the management unit is specifically configured to:
- the maintenance information in the status message in the P-CSCF indicates the P-CSCF to be operated and operated by the P-CSCF;
- a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the management unit is specifically configured to:
- a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the management unit is specifically configured to:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes bearer information indicating whether the P-CSCF is overloaded
- the management unit is specifically configured to:
- the third P-CSCF indicates that the maintenance information in the status message in the P-CSCF managed by the PGW is P - the CSCF is not ready for operation and maintenance, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF
- the maintenance information in the status message in the P-CSCF managed by the PGW indicates that the P-CSCF is to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
- a P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the management unit is specifically configured to:
- the status message further includes load information indicating a P-CSCF access capability
- the management unit is specifically configured to:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
- the management unit manages the load on each P-CSCF managed by the PGW according to the load information, including:
- a first P-CSCF address list where the first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is per P-CSCF
- the remaining accessible load numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
- the management unit performs load migration, including:
- the second P-CSCF address list does not include an address of the fourth P-CSCF.
- the management unit is further configured to:
- the second P-CSCF address list is sent to the load of the fourth P-CSCF in batches according to the preset rate
- the second load update P is not received.
- the second load immediately re-initiates an IMS PDN setup request; the second payload is any one of loads of the P-CSCF address list being sent;
- the management unit is specifically configured to:
- the fifteenth possible aspect of the second aspect In conjunction with the twelfth possible implementation of the second aspect or the thirteenth possible implementation of the second aspect or the fourteenth possible implementation of the second aspect, the fifteenth possible aspect of the second aspect In the implementation,
- the load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
- the priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P-CSCF capacity.
- the occupancy ratio is arranged in order from low to high.
- the management unit further includes:
- the newly accessed load is no longer allocated to the P-CSCF for load migration.
- the receiving unit is specifically configured to:
- a PGW including:
- a receiver configured to receive a status message sent by each proxy call session control function P-CSCF managed by the PGW;
- a processor configured to manage, according to the status message received by the receiver, a load on each P-CSCF managed by the PGW.
- the status message includes load information indicating a P-CSCF access capability
- the processor is specifically configured to:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message includes bearer information indicating whether the P-CSCF is overloaded
- the processor is specifically configured to:
- a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the processor is specifically configured to:
- the status message further includes load information indicating a P-CSCF access capability
- the processor is specifically configured to:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message includes maintenance information indicating whether the P-CSCF is about to be operated and maintained;
- the processor is specifically configured to:
- a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the processor is specifically configured to:
- a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the processor is specifically used to:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes bearer information indicating whether the P-CSCF is overloaded
- the processor is specifically configured to:
- the third P-CSCF indicates that the maintenance information in the status message in the P-CSCF managed by the PGW is P - the CSCF is not about to be operated, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF is the maintenance information indication in the status message in the P-CSCF managed by the PGW The P-CSCF is about to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
- a P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the status message further includes load information indicating a P-CSCF access capability
- the processor is specifically configured to:
- the status message further includes load information indicating a P-CSCF access capability
- the processor is specifically configured to:
- each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- the load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
- the processor manages the load on each P-CSCF managed by the PGW according to the load information, including:
- a first P-CSCF address list where the first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is per P-CSCF
- the remaining accessible load numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
- the processor performs load migration, including:
- the processor is further configured to:
- the second P-CSCF address list is sent to the load of the fourth P-CSCF in batches according to the preset rate
- the second load update P is not received.
- the second load immediately re-initiates an IMS PDN setup request; the second payload is any one of loads of the P-CSCF address list being sent;
- the processor is specifically configured to:
- the fifteenth possible aspect of the third aspect In conjunction with the twelfth possible implementation of the third aspect or the thirteenth possible implementation of the third aspect or the fourteenth possible implementation of the third aspect, the fifteenth possible aspect of the third aspect In the implementation,
- the load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
- the priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P-CSCF capacity.
- the occupancy ratio is arranged in order from low to high.
- the processor further includes:
- the newly accessed load is no longer allocated to the P-CSCF for load migration.
- the receiver is specifically configured to:
- a status message sent by each proxy call session control function P-CSCF managed by the PGW is received by forwarding of the PCRF.
- the P-CSCF load management method and the PGW provided by the embodiment of the present invention receive the status message sent by each P-CSCF managed by the PGW, and manage the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration).
- the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF;
- PGW can also overload the P- The CSCF or the load on the P-CSCF to be operated and unloaded is unloaded to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation, 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. 4A is a schematic flowchart of a method for load migration according to an embodiment of the present invention.
- FIG. 5 is a schematic flowchart of another P-CSCF load management method according to an embodiment of the present disclosure.
- FIG. 6 is a structural diagram of a device of a PGW according to an embodiment of the present invention.
- FIG. 7 is a structural diagram of another apparatus of a PGW 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 (PDN connectivity request) message to the Mobility Management Entity (MME), where the message carries a request P-CSCF address indication.
- PDN connectivity request PDN connectivity request
- MME Mobility Management Entity
- 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 is in the message. Carry the 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 P-CSCF address ranked first is a high priority address for the UE to preferentially select.
- the SGW sends a Create session response message to the MME, where the message carries a P-CSCF address list.
- the MME sends a PDN connection to the UE to receive a connectivity accept message, 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 that is accessed by the UE sends an Application-Auth-Request (AAR) message to the PCRF.
- AAR Application-Auth-Request
- the AAR message carries the P-CSCF address registered by the UE.
- the PCRF sends an authentication response request (Re-Auth-Request, RAR for short) message to the PGW.
- Re-Auth-Request Re-Auth-Request, RAR for short
- 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 the 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.
- the UE receives the updated P-CSCF address list and does not re-initiate 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 status message may be a regular interaction message between the PGW and the P-CSCF, that is, the content in the status message is carried by a regular interaction message between the PGW and the P-CSCF.
- the status message may also be a dedicated message, and is dedicated to sending content included in the status message; the present invention does not specifically limit the form of the status message.
- the receiving time of the status message may be determined according to actual requirements, which is not specifically limited by the present invention.
- the status message may be sent along with the regular interaction message, and the content of the status message is carried each time the regular interaction message is sent.
- the status message may be sent periodically or at a preset time.
- the present invention does not specifically limit this.
- the manner in which the PGW receives the status message may include, but is not limited to, the following two methods:
- a status message sent by each P-CSCF within the jurisdiction is received through the SGi interface.
- the SGi interface is a direct communication interface between the PGW and the P-CSCF.
- the status message may be a probe message, such as a ping message.
- the status message is a conventional interaction between PGW and P-CSCF
- the form of the status message may be set according to actual needs, and the present invention does not specifically limit this.
- the status message sent by each P-CSCF within the jurisdiction is received by the forwarding of the PCRF.
- the PGW when the PGW receives the status message sent by each P-CSCF in the jurisdiction through the forwarding of the PCRF, the PGW receives the status message through the message interaction of the Rx interface and the Gx interface.
- the Rx interface message may be an AAR message; and the Gx interface message may be a RAR interface message.
- the P-CSCF may send a status message to the PCRF via an Rx interface message (eg, an AAR message), which forwards the status message to the PGW using a Gx interface message (eg, RAR).
- Rx interface message eg, an AAR message
- Gx interface message eg, RAR
- the management of the load on each P-CSCF managed by the PGW may include, but is not limited to, load allocation, load migration, and the like.
- different content may be included in the status message according to actual requirements to instruct the PGW to manage the load on the P-CSCF.
- the information about the access capability of the P-CSCF is included in the status message, so that the PGW performs the allocation of the newly accessed load according to the information, thereby improving the load imbalance.
- the information about the overload of the P-CSCF may be included in the status message, so that the PGW unloads the load on the overloaded P-CSCF according to the information, thereby improving the phenomenon that the access user is damaged due to the overload.
- the information about the upcoming operation and maintenance of the P-CSCF may be included in the status message, so that the PGW unloads the load on the P-CSCF to be operated and operated according to the information, and the P-CSCF is soon to be improved. Operation and maintenance cannot provide services that cause damage to the access user's business.
- the content included in the status message may be set according to actual requirements, which is not specifically limited in the present invention. Any scheme in which the PGW manages the load on the managed P-CSCF according to the status message belongs to the protection scope of the present invention.
- the P-CSCF load management method receives the status message sent by each P-CSCF managed by the PGW, and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration).
- the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF;
- PGW can also overload the P- The CSCF or the load on the P-CSCF to be operated and unloaded is unloaded to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation, which improves the user experience.
- the second embodiment of the present invention provides another P-CSCF load management method, which is applied to a PGW.
- the method may include:
- the status message of the P-CSCF may include at least one of the following information: load information indicating the P-CSCF access capability, bearer information indicating whether the P-CSCF is currently overloaded, Maintenance information indicating whether the P-CSCF is about to be operated and maintained.
- the load information may include at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio.
- the load information is sent by the P-CSCF and then sent.
- the specific solution of the P-CSCF for obtaining the load information is not limited.
- the P-CSCF capacity occupation ratio may be a ratio of the number of loads that the P-CSCF has accessed to the maximum number of accessible ports, or the number of loads that the P-CSCF has accessed and the P-CSCF. The maximum number of accessible loads.
- the present invention does not limit the specific representation of the capacity occupancy ratio of the P-CSCF.
- the bearer information is sent by the P-CSCF when it is judged to be overloaded according to its own load information.
- the P-CSCF determines that the number of loads that it has accessed is greater than or equal to the first preset threshold, the P-CSCF determines that it is overloaded; or the P-CSCF determines its own central processor (
- the central processing unit (CPU) is called the P-CSCF to determine that it is overloaded when the occupancy rate is greater than or equal to the second preset threshold.
- the first preset threshold may be less than or equal to the maximum access of the P-CSCF.
- the number of loads; the second preset threshold may be less than or equal to 100%.
- the maintenance information is sent by the P-CSCF according to an operation and maintenance instruction that occurs internally, and is determined to be sent when the operation and maintenance are performed.
- the operations and maintenance include, but are not limited to, operations such as upgrading, powering off, and the like that cannot continue service.
- the format of the information included in the status message may be in the form of a character or a digital form, which is not specifically limited in the present invention. Any interaction between the two sides can be known.
- the P-CSCF may not include load information in the status message.
- the status message of the P-CSCF may only load information, and does not include bearer information or maintenance information.
- the bearer information is included in the status information.
- the maintenance information is included in the status information.
- the PGW when the PGW receives the status of each P-CSCF managed by the PGW After the message, the PGW needs to manage the load on each P-CSCF managed by the PGW according to the status message.
- the PGW manages the load on each P-CSCF managed by the PGW according to the status message according to the content included in the status message, and may selectively perform any one of S402, S403, S406, and S409. item.
- the process of allocating a subsequent newly accessed load to each P-CSCF managed by the PGW according to the load information may include the following steps A and B:
- Step A Receive a P-CSCF address request message sent by the first load, where the first load is any load of a subsequently newly accessed load.
- Step B Feed back the first P-CSCF address list to the first load.
- the first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or The priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
- the priority ranking need not be considered.
- the address of the P-CSCF included in the first P-CSCF address list is the remaining in the P-CSCF managed by the PGW. The highest number of loads that can be accessed.
- the first P-CSCF address list includes only one address of the P-CSCF that is not overloaded and is not operated in the jurisdiction, the first P-CSCF address list is The address of the P-CSCF included only is the lowest capacity occupancy ratio in the P-CSCF that is not overloaded and has not been operated.
- PGW1 manages five P-CSCFs, which are respectively recorded as proxy 1, proxy 2, proxy 3, proxy 4, and proxy 5;
- PGW1 receives the status messages (including load information only) sent by the three P-CSCFs within the jurisdiction:
- Status message of agent 3 the number of remaining accessible ports 300, the number of connected loads 50;
- PGW1 can allocate the subsequent newly accessed load to the managed 3 P-CSCFs (Proxy 1, Agent 2, Agent 3) according to the load information in the status message.
- the solution that the PGW1 allocates the subsequent newly accessed load to the managed three P-CSCFs (Proxy 1, Agent 2, and Agent 3) according to the load information in the status message may have at least the following two schemes:
- the remaining loadable capacities of the proxy 1, the proxy 2, and the proxy 3 are respectively: 100, 150, 300;
- PGW1 When PGW1 receives the P-CSCF address request message sent by the newly accessed load, PGW1 may sequentially send the proxy to the proxy according to the weight ratio of 100:150:300 (ie, 2:3:6) according to the load sharing principle. Agent 2, Agent 3 allocates the load of the new access.
- PGW1 may first allocate 2 loads to the agent 1, then allocate 3 loads to the agent 2, and then allocate 6 loads to the agent 3, and then repeat the execution.
- PGW1 may also first distribute the load to the agent 2, and may also first distribute the load to the agent 3.
- the present invention does not limit the order of assigning the newly accessed load to the agent 1, the agent 2, and the agent 3 in this example. It can be distributed in order according to the weight ratio of 2:3:6.
- the capacity occupation ratios of the agent 1, the agent 2, and the agent 3 are respectively: 200/(100+200), 100/(150+100), 50/(300+50), that is, They are: 66.7%, 40%, 14.3%;
- PGW1 When PGW1 receives the P-CSCF address request message sent by the newly accessed load, PGW1 allocates the newly accessed load in order of the capacity occupation ratio of the three P-CSCFs from low to high, so that each P-CSCF The capacity occupancy ratio is as close as possible.
- PGW1 may preferentially assign the newly accessed load to the agent 3.
- the specific implementation may be as follows:
- PGW1 When PGW1 receives a P-CSCF address request message sent by a newly accessed load, PGW1 may feed back the P-CSCF address list to the load of the new access as: the address of the proxy 1; or, PGW1 may go to this
- the newly accessed load feedback P-CSCF address list is: the address of the agent 1, the address of the agent 2, and the address of the agent 3.
- S403. Determine whether the first P-CSCF exists in the P-CSCF managed by the PGW.
- the first P-CSCF is a P-CSCF in which the bearer information in the status message in the P-CSCF managed by the PGW indicates that the P-CSCF is overloaded.
- the method for performing load migration on the first P-CSCF may include:
- S4041 Scan a user context, and obtain a load that accesses the first P-CSCF.
- the user context is stored in the PGW, and includes a correspondence between each P-CSCF in the jurisdiction and a load that accesses the P-CSCF.
- 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. In the actual application, the form and content of the user context can be determined according to actual needs, which is not specifically limited by the present invention.
- the status message that the PGW2 receives the P-CSCF3 includes the bearer information indicating that the P-CSCF3 is overloaded, and the PGW2 scans the internal user context as shown in Table 1, and can obtain the load of accessing the P-CSCF3 as the UE5 and the UE6. .
- S4042 Send a second P-CSCF address list to the load that accesses the first P-CSCF in batches according to the preset rate, to indicate that the load connected to the first P-CSCF is migrated.
- the second P-CSCF address list does not include an address of the first P-CSCF.
- the priority of the P-CSCF address included in the second P-CSCF address list is ranked according to the number of remaining accessible loads of each P-CSCF from highest to lowest, or, according to each P- The CSCF capacity occupancy ratio is arranged in order from low to high.
- the preset rate indicates the number of information that can be simultaneously sent. Therefore, the second P-CSCF address list is sent to the load of the first P-CSCF in batches according to the preset rate, which means that each time the connection is forwarded. A plurality of loads indicated by the preset rate in the load of the first P-CSCF transmit a second P-CSCF address list, and the remaining ones 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 connections per second.
- the load entering the first P-CSCF sends a second P-CSCF address list.
- PGW2 may simultaneously send the second P-CSCF address list to UE5 and UE6.
- the preset rate transmission may be reduced to improve the PGW performance.
- Sending a second P-CSCF address list may include:
- the load of the call that is being connected to the load of the first P-CSCF is sent to the second P-CSCF address list after the call ends.
- the PGW sends the P-CSCF address list to the load, and may be directly sent by the SGi interface or may be forwarded by the PCRF.
- the current existing interactive message may be implemented by using the P-CSCF address list that needs to be sent, or may be implemented in the form of a proprietary message. Nor is it specifically limited.
- the method for performing load migration on the first P-CSCF may further include the following S4043 to S4045:
- the IMS PDN connection release message includes indication information for indicating that the second load immediately re-initiates the IMS PDN establishment request; and the second load is any load of the load that is sent by the P-CSCF address list.
- the indication information may be a Reactivation requested cause value.
- the preset duration may be implemented by using a timer, that is, after the second P-CSCF address list is sent to the second 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. Among them, the longer the preset duration is set, the better the judgment accuracy is, but the higher the system implementation requirement is; the shorter the preset duration is set, the judgment accuracy is slightly lower, and the system implementation cost is lower.
- the preset duration is set to 10 seconds.
- step 3 to step 4 are required to re-register the second load for the purpose of migration. Avoid overloading the call of the second load.
- the message that the second load updates the P-CSCF address may be an AAR message in S109.
- S4045 Feed back a second P-CSCF address list to the second load.
- S4044 and S4045 are the same as S103 and S104, and details are not described herein.
- the newly accessed load will not be allocated to the first P-CSCF.
- the status message may further include load information indicating a P-CSCF access capability.
- the P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a subsequent new access load, including:
- the P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access.
- a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a subsequent new access load, and the S402 manages to the PGW according to the load information.
- the process in which the P-CSCF allocates the subsequent newly accessed load is similar, except that the P-CSCF address list that the PGW feeds back to the newly accessed load does not include the first P-CSCF.
- PGW1 governs 5 P-CSCFs, which are respectively recorded as Agent 1, Agent 2, Agent 3, Agent 4, and Agent 5;
- the status messages sent by PGW1 to each of the five P-CSCFs within the jurisdiction are:
- the agent 3 is overloaded, and then S404 is performed to perform load migration.
- the PGW1 can allocate the load of the subsequent new access to the agent (the agent 1, the agent 2, the agent 4) according to the load information in the status message.
- the process of the specific allocation has been described in detail in S402, and will not be described again here. .
- the second P-CSCF is a P-CSCF indicating that the P-CSCF is to be operated and maintained by the maintenance information in the status message in the P-CSCF managed by the PGW.
- the newly accessed load will not be allocated to the second P-CSCF.
- the status message may further include load information for indicating a P-CSCF access capability.
- the P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access, including:
- the P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access.
- a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a subsequent new access load, and S402 manages each of the PGWs according to the load information.
- the process in which the P-CSCF allocates the subsequent newly accessed load is similar, except that the P-CSCF address list that the PGW feeds back to the newly accessed load does not include the second P-CSCF.
- PGW1 governs 5 P-CSCFs, which are respectively recorded as Agent 1, Agent 2, Agent 3, Agent 4, and Agent 5;
- the status messages sent by PGW1 to each of the five P-CSCFs within the jurisdiction are:
- the agent 3 is about to perform operation and maintenance, and then performs load migration on S407.
- the PGW1 can allocate the load of the subsequent new access to the agent (the agent 1, the agent 2, the agent 4) according to the load information in the status message.
- the process of the specific allocation has been described in detail in S402, and will not be described again here. .
- the third P-CSCF indicates that the maintenance information in the status message in the P-CSCF managed by the PGW indicates that the P-CSCF is not about to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is overloaded by the P-CSCF. Or the third P-CSCF indicates that the P-CSCF is to be operated and maintained for the maintenance information in the status message in the P-CSCF managed by the PGW, and the bearer information in the status message indicates that the P-CSCF is not overloaded. CSCF.
- the third P-CSCF indicates that the P-CSCF is not about to be operated and maintained
- the maintenance information in the status message in the P-CSCF managed by the PGW, and the bearer information in the status message indicates that the P-CSCF is overloaded.
- -CSCF then load migration of the third P-CSCF until the third P-CSCF is not overloaded.
- the third P-CSCF indicates that the P-CSCF is to be operated and maintained in the maintenance information in the status message in the P-CSCF managed by the PGW, and the bearer information in the status message indicates that the P-CSCF is not overloaded, the P-CSCF is not overloaded. Then, the third P-CSCF is subjected to load migration until no load is accessed on the third P-CSCF.
- the newly accessed load will not be allocated to the third P-CSCF.
- the status message may further include Load information of CSCF access capability.
- the P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access, including:
- the P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access.
- the P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a subsequent new access load, and the S402 manages to the PGW according to the load information.
- the process in which the P-CSCF allocates the subsequent newly accessed load is similar, and is only the P-CSCF address that the PGW feeds back to the newly accessed load.
- the third P-CSCF is not included in the list.
- the newly accessed load is no longer allocated to the P-CSCF that performs load migration.
- the P-CSCF load management method receives the status message sent by each P-CSCF managed by the PGW, and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration).
- the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF;
- PGW can also overload the P- The CSCF or the load on the P-CSCF to be operated and unloaded is unloaded to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation, which improves the user experience.
- the preset duration is set in the migration, migration failure due to load compatibility problems is avoided, and the call loss of the load is also avoided.
- the third embodiment of the present invention provides a P-CSCF load management method.
- the method shown in FIG. 3 or FIG. 4 is described in detail by taking the interaction between the EPC network and each unit in the IMS network as an example.
- the process in which the PGW directly interacts with the P-CSCF through the SGi interface is taken as an example.
- PGW manages two P-CSCFs, which are recorded as P-CSCF A and P-CSCF B, respectively.
- the method may include:
- the PGW receives the status message including the load information sent by the P-CSCF A and the P-CSCF B through the SGi interface.
- the load information in the status message sent by the P-CSCF A received by the PGW is: the capacity occupancy ratio is 30%; the load information in the status message sent by the P-CSCF B received by the PGW is: the capacity occupancy ratio is 50. %.
- the PGW receives the P-CSCF address request message sent by the UE1.
- the UE1 is any one of the subsequent newly accessed loads.
- the P-CSCF address request message sent by the UE1 is forwarded and received by the MME, the HSS, and the SGW.
- the PGW feeds back the P-CSCF address list to the UE1.
- the P-CSCF address list includes an address of the P-CSCF A and an address of the P-CSCF B, and the address of the P-CSCF A has a higher priority than the address of the P-CSCF B.
- the PGW feeds back the P-CSCF address list to the UE1, and the PGW is forwarded and transmitted by the SGW, the HSS, and the MME.
- the PGW receives, by using the SGi interface, a status message that is sent by the P-CSCF A and includes the bearer information.
- the bearer information in the status message indicates that the P-CSCF A is overloaded.
- the PGW scans the user context and obtains a load that accesses the P-CSCF A.
- the PGW scans the user context, and the load of accessing the P-CSCF A is 20, which are sequentially recorded as UE2 to UE21.
- the PGW sends the updated P-CSCF address list to the five loads that are not in the load of the load connected to the P-CSCF A according to the preset rate, and starts the timer respectively.
- the PGW sends the updated P-CSCF address list to the five bears that are not in the load of the load connected to the P-CSCF A according to the preset rate, and is forwarded by the SGW, the HSS, and the MME. .
- the preset rate is 5 per second.
- the PGW transmits the updated P-CSCF address list to UE3, UE6, UE8, UE10, and UE12 that are not in the UE2 to UE21.
- the updated P-CSCF address list does not include the address of the P-CSCF A, and only includes the address of the P-CSCF B.
- the PGW receives the message that the UE3, UE6, UE8, and UE10 sent by the P-CSCF B update the P-CSCF address, and the P-CSCF B sends the message.
- the message that the UE3, the UE6, the UE8, and the UE10 update the P-CSCF address includes the identifiers of the UE3, the UE6, the UE8, and the UE10, and is used to indicate that the UE3, the UE6, the UE8, and the UE10 have re-accessed the P-CSCF B.
- P-CSCF A is migrated to P-CSCF B.
- the message that the UE3, the UE6, the UE8, and the UE10 that are sent by the P-CSCF B to update the P-CSCF address may be a message or a plurality of messages, which is not specifically limited in the present invention.
- the PGW sends an IMS PND connection release message to the UE 12.
- the IMS PDN connection release message includes a reactivation requested cause value.
- the PGW PGW sends an IMS PND connection release message to the UE 12, which is forwarded and sent by the SGW, the HSS, and the MME.
- the PGW receives the IMS PDN setup request sent by the UE12 and feeds back the updated P-CSCF address list to the U12, so that the UE12 completes the IMS re-registration.
- the PGW receives the status information including the load information sent by the P-CSCF A, and ends the load migration of the P-CSCF A.
- the PGW receives the status message that is sent by the P-CSCF B and includes the maintenance information, and starts to perform load migration on the P-CSCF B until no load is accessed on the second P-CSCF.
- the process of performing load migration on the P-CSCF B in S510 is the same as the process of performing load migration on the P-CSCF A in S505 to S508, and details are not described herein.
- the P-CSCF load management method receives the status message sent by each P-CSCF managed by the PGW, and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including allocation, migration, etc.).
- PGW can also overload The P-CSCF or the load on the P-CSCF to be operated and unloaded 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.
- Embodiment 4 of the present invention provides a PGW 60.
- the PGW 60 may include:
- the receiving unit 601 is configured to receive a status message sent by each P-CSCF managed by the PGW 60.
- the management unit 602 is configured to manage the load on each P-CSCF managed by the PGW 60 according to the status message received by the receiving unit 601.
- the status message may include load information used to indicate a P-CSCF access capability
- management unit 602 can be specifically configured to:
- each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
- the status message may include bearer information used to indicate whether the P-CSCF is overloaded
- the management unit 602 may be specifically configured to:
- the P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW 60 is allocated a load of the subsequent new access.
- the status message includes an indication of whether the P-CSCF is overloaded. Based on the bearer information, the status message may further include load information indicating a P-CSCF access capability;
- the management unit 602 allocates, to the P-CSCFs other than the first P-CSCF, the load of the subsequent new access to the P-CSCF managed by the PGW 60 according to the status message, which may include:
- the P-CSCF other than the first P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
- the management unit 602 may be specifically configured to:
- each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
- the status message may include maintenance information used to indicate whether the P-CSCF is to be operated and operated;
- the management unit 602 may be specifically configured to:
- the P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW 60 is allocated a load of the subsequent new access.
- the status message may further include load information for indicating a P-CSCF access capability
- the management unit 602 allocates a load of the subsequent new access to the P-CSCF except the second P-CSCF in the P-CSCF managed by the PGW 60 according to the status message, which may include:
- the P-CSCF other than the second P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
- the management unit 602 can be specifically configured to:
- each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
- the status message may further include bearer information indicating whether the P-CSCF is overloaded;
- the management unit 602 may be specifically configured to:
- the third P-CSCF indicates that the P-CSCF is not ready for transport in the status message in the P-CSCF managed by the PGW 60.
- Dimension, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF indicates that the P-CSCF is to be operated and maintained in the maintenance information in the status message in the P-CSCF managed by the PGW 60.
- the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
- the P-CSCF other than the third P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
- the status message may further include indicating that the P-CSCF is connected. Load information of the capacity
- management unit 602 can be specifically configured to:
- the P-CSCF other than the third P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
- the status message may further include load information for indicating a P-CSCF access capability
- the management unit 602 may be specifically configured to:
- each P-CSCF managed by the PGW is allocated a load of subsequent new access.
- the load information may include at least one of the following information: a quantity of the remaining P-CSCF that can be accessed, and a capacity ratio of the P-CSCF;
- the management unit 602 manages the load on each P-CSCF managed by the PGW according to the load information, including:
- the first P-CSCF address list includes an address of at least one PGW-managed P-CSCF, and the priority is according to a remaining accessible load of each P-CSCF
- the numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity ratio from low to high.
- the management unit 602 performs load migration, and may include:
- the second P-CSCF address list does not include an address of the fourth P-CSCF.
- management unit 602 can also be used to:
- the second P-CSCF address list is sent to the load of the fourth P-CSCF in batches according to the preset rate
- the second load update P is not received.
- the second load immediately re-initiates an IMS PDN setup request; the second payload is any one of loads of the P-CSCF address list being sent;
- the management unit 602 is specifically configured to:
- the priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P. -CSCF capacity occupancy ratios are arranged in order from low to high.
- management unit 602 can also be used to:
- the newly accessed load is no longer allocated to the P-CSCF for load migration.
- the receiving unit 601 is specifically configured to:
- the status message sent by each P-CSCF managed by the PGW 60 is received by the forwarding of the PCRF.
- the PGW 60 provided by the embodiment of the present invention receives the status message sent by each P-CSCF managed by the PGW; and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration).
- the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF;
- PGW can also overload the P- The CSCF or the load on the P-CSCF to be operated and unloaded is unloaded to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation, which improves the user experience.
- Embodiment 4 of the present invention provides another PGW 60.
- the PGW 60 may include:
- At least one processor 701 At least one processor 701; at least one communication bus 702 for implementing connection and mutual communication between devices, a receiver 703;
- the communication bus 702 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 7, but it does not mean that there is only one bus or one type of bus.
- the processor 701 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 703 is configured to receive a status message sent by each P-CSCF managed by the PGW 60.
- the processor 701 is configured to manage the load on each P-CSCF managed by the PGW 60 according to the status message received by the receiver 703.
- the status message may include load information used to indicate a P-CSCF access capability
- processor 701 can be specifically configured to:
- each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
- the status message may include bearer information used to indicate whether the P-CSCF is overloaded
- the processor 701 may be specifically configured to:
- the P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW 60 is allocated a load of the subsequent new access.
- the status message may further include load information indicating a P-CSCF access capability
- the processor 701 allocates a load of the subsequent new access to the P-CSCF of the P-CSCF managed by the PGW 60 according to the status message, which may include:
- the P-CSCF other than the first P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
- the processor 701 may be specifically configured to:
- each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
- the status message may include maintenance information used to indicate whether the P-CSCF is to be operated and operated;
- the processor 701 may be specifically configured to:
- the P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW 60 is allocated a load of the subsequent new access.
- the status message may further include load information for indicating a P-CSCF access capability
- the processor 701 allocates a load of the subsequent new access to the P-CSCF of the P-CSCF managed by the PGW 60 according to the status message, which may include:
- the P-CSCF other than the second P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
- the processor 701 may be specifically configured to:
- each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
- the status message may further include bearer information indicating whether the P-CSCF is overloaded;
- the processor 701 may be specifically configured to:
- the third P-CSCF indicates that the P-CSCF is not maintained by the maintenance information in the status message in the P-CSCF managed by the PGW 60 Upcoming operation, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF indicates the maintenance information in the status message in the P-CSCF managed by the PGW 60.
- the CSCF is about to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
- the P-CSCF other than the third P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
- the status message may further include indicating that the P-CSCF is connected. Load information of the capacity
- processor 701 can be specifically configured to:
- the P-CSCF other than the third P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
- the status message may further include an indication for the P-CSCF.
- Load information of access capabilities
- the processor 701 may be specifically configured to:
- each P-CSCF managed by the PGW is allocated a load of subsequent new access.
- the load information may include at least one of the following information: a quantity of the remaining P-CSCF that can be accessed, and a capacity ratio of the P-CSCF;
- the processor 701 manages the load on each P-CSCF managed by the PGW according to the load information, including:
- the first P-CSCF address list includes an address of at least one PGW-managed P-CSCF, and the priority is according to a remaining accessible load of each P-CSCF
- the numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity ratio from low to high.
- the processor 701 performs load migration, which may include:
- the second P-CSCF address list does not include an address of the fourth P-CSCF.
- processor 701 is further configured to:
- the second P-CSCF address list is sent to the load of the fourth P-CSCF in batches according to the preset rate, if the second P-CSCF address list is received after the preset time period, the second load update P is not received.
- a message of the -CSCF address to the second load Sending an IMS PND connection release message to instruct the second load to disconnect the current IMS PDN connection; wherein the IMS PDN connection release message includes indication information for instructing the second load to immediately re-initiate an IMS PDN establishment request;
- the second load is any one of loads that are sent by the P-CSCF address list;
- the processor 701 is specifically configured to:
- the priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P. -CSCF capacity occupancy ratios are arranged in order from low to high.
- processor 701 is further configured to:
- the newly accessed load is no longer allocated to the P-CSCF for load migration.
- the receiver 703 is specifically configured to:
- the status message sent by each P-CSCF managed by the PGW 60 is received by the forwarding of the PCRF.
- the PGW 60 provided by the embodiment of the present invention receives the status message sent by each P-CSCF managed by the PGW; and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration).
- the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF; PGW can also overload the P- CSCF or P-CSCF to be operated and maintained
- the load on 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 software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions 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. The medium of the code.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
Disclosed in the embodiments of the present invention are a P-CSCF load management method and PGW, relating to the field of communications and implementing automatic load balancing and lossless load migration for a VoLTE voice service. The method provided in the embodiments of the present invention comprises: receiving a status message sent by each P-CSCF managed by a PGW; and on the basis of the status message, implementing management of the load on each P-CSCF managed by the PGW. The present invention is used for P-CSCF load management.
Description
本发明涉及通信领域,尤其涉及一种P-CSCF负载管理方法及分组数据网网关(Packet Data Network GateWay,简称PGW)。The present invention relates to the field of communications, and in particular, to a P-CSCF load management method and a Packet Data Network GateWay (PGW).
网络部署语音长期演进技术(Voice OverLTE,简称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进行接入。After the network is deployed with Voice OverLTE (VoLTE), the Internet Protocol (IP) Multimedia Subsystem (IMS) network is controlled by Proxy-Call Session Control Funtion. It is abbreviated as P-CSCF), Interrogating-Call Session Control Function (I-CSCF), and Serving-Call Session Control Funence (S-CSCF). Among them, the P-CSCF acts as a proxy node for IMS access, and all IMS services need to be accessed through the P-CSCF.
VoLTE部署下,演进分组核心(Evolved Packet Core,简称EPC)网络中的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)注册,之后才能进行正常的语音主被叫业务。In the VoLTE deployment, the 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 a one-to-many relationship between the PW and the P-CSCF. To access the user equipment (User Equipment, UE for short) of the P-CSCF, that is, the load of the P-CSCF, 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.
其中,在当前实际部署中,一般根据每个P-CSCF的性能及网络部署规划,在PGW中预先配置的固定P-CSCF权重,进行负载
均衡分发用户到对接的P-CSCF上,以此实现用户分发的负载均衡。In the current actual deployment, the weight of the fixed P-CSCF pre-configured in the PGW is generally performed according to the performance of each P-CSCF and the network deployment plan.
The user is distributed to the docked P-CSCF to achieve load balancing of user distribution.
但是,VoLTE运营中不可避免的存在一些异常场景,需要调整P-CSCF设备间的负载,具体包括:However, there are some abnormal scenarios in the VoLTE operation. The load between the P-CSCF devices needs to be adjusted, including:
一方面,按照预先配置的固定P-CSCF权重分配负载的方式,在一些异常场景下导致实际P-CSCF之间的负荷不均衡,例如故障之后恢复的P-CSCF上可能无用户接入、新扩容的P-CSCF接入的用户数非常少、虽然PGW会基于负荷分担原则下发P-CSCF地址,但由于终端兼容性,并不是所有终端都会优先选择地址列表的第一个P-CSCF地址等。现有技术中并没有对于P-CSCF间的负载不均衡进行控制的方法,而长期的负载不均衡将大大增加P-CSCF拥塞的风险,以及使得运营商网络未得到最优利用。On the one hand, according to the pre-configured fixed P-CSCF weight distribution load, the load imbalance between the actual P-CSCFs is caused in some abnormal scenarios. For example, 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. Although 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.
另一方面,存在需要把P-CSCF设备上的用户迁移到其他的P-CSCF上场景,例如P-CSCF升级、搬迁、拥塞等场景。现有技术中处理这些场景时,可能直接将需要升级或者搬迁的P-CSCF下线或者识别不到拥塞,都将导致设备上的VoLTE语音业务受损。On the other hand, there are scenarios in which users on the P-CSCF device need to be migrated to other P-CSCFs, such as P-CSCF upgrade, relocation, and congestion. When the P-CSCF that needs to be upgraded or relocated is offline or cannot be conceived, the VoLTE voice service on the device may be damaged.
发明内容Summary of the invention
本发明提供一种P-CSCF负载管理方法及PGW,实现自动负载均衡以及对VoLTE语音业务无损的负载迁移。The invention provides a P-CSCF load management method and a PGW, which implement automatic load balancing and lossless load migration of VoLTE voice services.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,提供一种P-CSCF负载管理方法,应用于PGW,所述方法包括:In a first aspect, a P-CSCF load management method is provided, which is applied to a PGW, and the method includes:
接收所述PGW管理的每个P-CSCF发送的状态消息;Receiving a status message sent by each P-CSCF managed by the PGW;
根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理。The load on each P-CSCF managed by the PGW is managed according to the status message.
结合第一方面,在第一方面的第一种可能的实现方式中,In conjunction with the first aspect, in a first possible implementation of the first aspect,
所述状态消息包括用于指示P-CSCF接入能力的负载信息;The status message includes load information indicating a P-CSCF access capability;
所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:
And managing, according to the status message, a load on each P-CSCF managed by the PGW, including:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第一方面,在第一方面的第二种可能的实现方式中,In conjunction with the first aspect, in a second possible implementation of the first aspect,
所述状态消息包括用于指示P-CSCF是否过载的承载信息;The status message includes bearer information indicating whether the P-CSCF is overloaded;
若所述PGW管理的P-CSCF中存在第一P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the first P-CSCF exists in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:
对所述第一P-CSCF进行负载迁移,直至所述第一P-CSCF不过载;其中,所述第一P-CSCF为所述PGW管理的P-CSCF中状态消息中的承载信息指示P-CSCF过载的P-CSCF;Performing load migration on the first P-CSCF until the first P-CSCF is not overloaded; wherein the first P-CSCF indicates that the bearer information in the status message in the P-CSCF managed by the PGW is P -CSCF overloaded P-CSCF;
根据所述状态消息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,In conjunction with the second possible implementation of the first aspect, in a third possible implementation of the first aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
所述根据所述状态消息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载,包括:And allocating a load of the subsequent new access to the P-CSCF except the first P-CSCF in the P-CSCF managed by the PGW, according to the status message, including:
根据所述负载信息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。And assigning, to the P-CSCF other than the first P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
结合第一方面的第二种可能的实现方式,在第一方面的第四种可能的实现方式中,In conjunction with the second possible implementation of the first aspect, in a fourth possible implementation of the first aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
若所述PGW管理的P-CSCF中不存在所述第一P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the first P-CSCF does not exist in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。
According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第一方面,在第一方面的第五种可能的实现方式中,In conjunction with the first aspect, in a fifth possible implementation of the first aspect,
所述状态消息包括用于指示P-CSCF是否即将运维的维护信息;The status message includes maintenance information indicating whether the P-CSCF is about to be operated and maintained;
若所述PGW管理的P-CSCF中存在第二P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the second P-CSCF exists in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:
对所述第二P-CSCF进行负载迁移,直至所述第二P-CSCF上无负载接入;其中,所述第二P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维的P-CSCF;Performing load migration on the second P-CSCF until no load access is performed on the second P-CSCF; wherein the second P-CSCF is maintenance in a status message in the P-CSCF managed by the PGW The information indicates the P-CSCF that the P-CSCF is about to operate and maintain;
根据所述状态消息,向所述PGW管理的P-CSCF中除所述第二P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第一方面的第五种可能的实现方式,在第一方面的第六种可能的实现方式中,In conjunction with the fifth possible implementation of the first aspect, in a sixth possible implementation of the first aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
所述根据所述状态消息,向所述PGW管理的P-CSCF中除所述第二P-CSCF之外的P-CSCF分配后续新接入的负载,包括:And allocating a load of the subsequent new access to the P-CSCF except the second P-CSCF in the P-CSCF managed by the PGW, according to the status message, including:
根据所述负载信息,向所述PGW管理的P-CSCF中除所述第二一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第一方面的第五种可能的实现方式,在第一方面的第七种可能的实现方式中,In conjunction with the fifth possible implementation of the first aspect, in a seventh possible implementation of the first aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
若所述PGW管理的P-CSCF中不存在所述第二P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the second P-CSCF does not exist in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。
According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第一方面的第五种可能的实现方式,在第一方面的第八种可能的实现方式中,In conjunction with the fifth possible implementation of the first aspect, in an eighth possible implementation manner of the first aspect,
所述状态消息还包括用于指示P-CSCF是否过载的承载信息;The status message further includes bearer information indicating whether the P-CSCF is overloaded;
若所述PGW管理的P-CSCF中存在第三P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If a third P-CSCF exists in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:
对所述第三P-CSCF进行负载迁移,直至所述第三P-CSCF不过载;其中,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF不即将运维,且状态消息中的承载信息指示P-CSCF过载的P-CSCF;或者,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维,且状态消息中的承载信息指示P-CSCF不过载的P-CSCF;Performing load migration on the third P-CSCF until the third P-CSCF is not overloaded; wherein the third P-CSCF indicates that the maintenance information in the status message in the P-CSCF managed by the PGW is P - the CSCF is not about to be operated, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF is the maintenance information indication in the status message in the P-CSCF managed by the PGW The P-CSCF is about to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
根据所述状态消息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第一方面的第八种可能的实现方式,在第一方面的第九种可能的实现方式中,In conjunction with the eighth possible implementation of the first aspect, in a ninth possible implementation manner of the first aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
所述根据所述状态消息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载,包括:And allocating a load of the subsequent new access to the P-CSCF except the third P-CSCF in the P-CSCF managed by the PGW, according to the status message, including:
根据所述负载信息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And assigning, to the P-CSCF other than the third P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
结合第一方面的第八种可能的实现方式,在第一方面的第十种可能的实现方式中,In conjunction with the eighth possible implementation of the first aspect, in a tenth possible implementation manner of the first aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
若所述PGW管理的P-CSCF中不存在所述第三P-CSCF,所
述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the third P-CSCF does not exist in the P-CSCF managed by the PGW,
According to the status message, managing the load on each P-CSCF managed by the PGW, including:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第一方面的第一种可能的实现方式或第一方面的第四种可能的实现方式或第一方面的第七种可能的实现方式或第一方面的第十种可能的实现方式,在第一方面的第十一种可能的实现方式中,With reference to the first possible implementation of the first aspect or the fourth possible implementation of the first aspect or the seventh possible implementation of the first aspect or the tenth possible implementation of the first aspect, In an eleventh possible implementation manner of the first aspect,
所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;The load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
所述根据所述负载信息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:And managing, according to the load information, a load on each P-CSCF managed by the PGW, including:
接收第一负载发送的P-CSCF地址请求消息;其中,所述第一负载为后续新接入的负载中任一负载;Receiving a P-CSCF address request message sent by the first load; wherein the first load is any load of a subsequently newly added load;
向所述第一负载反馈第一P-CSCF地址列表;其中,所述第一P-CSCF地址列表中包括至少一个所述PGW管理的P-CSCF的地址,优先级按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,优先级按照每个P-CSCF容量占用比从低到高依次排列。And feeding back, to the first load, a first P-CSCF address list, where the first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is per P-CSCF The remaining accessible load numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
结合第一方面的第二种可能的实现方式至第一方面的第十种可能的实现方式中任一项,在第一方面的第十二种可能的实现方式中,In conjunction with the second possible implementation of the first aspect, to any one of the tenth possible implementations of the first aspect, in a twelfth possible implementation of the first aspect,
对于第四P-CSCF,所述负载迁移,包括:For the fourth P-CSCF, the load migration includes:
扫描用户上下文,获取接入所述第四P-CSCF的负载;其中,所述用户上下文包括管辖内的每个P-CSCF与接入P-CSCF的负载的对应关系;所述第四P-CSCF需要进行负载迁移的任一个P-CSCF;Scanning a user context to obtain a load for accessing the fourth P-CSCF; wherein the user context includes a correspondence between each P-CSCF within the jurisdiction and a load of accessing the P-CSCF; the fourth P- CSCF needs any P-CSCF for load migration;
按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表,以指示所述接入所述第四P-CSCF
的负载进行迁移;其中,所述第二P-CSCF地址列表不包含所述第四P-CSCF的地址。Transmitting, to the load of the fourth P-CSCF, a second P-CSCF address list to the load of the fourth P-CSCF in batches to indicate the access to the fourth P-CSCF
The load is migrated; wherein the second P-CSCF address list does not include the address of the fourth P-CSCF.
结合第一方面的第十二种可能的实现方式,在第一方面的第十三种可能的实现方式中,In conjunction with the twelfth possible implementation of the first aspect, in a thirteenth possible implementation of the first aspect,
在所述按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表之后,所述方法还包括:After the sending the second P-CSCF address list to the load of the fourth P-CSCF in batches according to the preset rate, the method further includes:
若在预设时长之后,未接收到第二负载更新P-CSCF地址的消息,则向所述第二负载发送IMS PND连接释放消息,以指示所述第二负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第二负载立刻重新发起IMS PDN建立请求;所述第二负载为被发送所述P-CSCF地址列表的负载中的任一负载;If the second load update P-CSCF address message is not received after the preset duration, the IMS PND connection release message is sent to the second load to instruct the second load to disconnect the current IMS PDN connection; The IMS PDN connection release message includes indication information for instructing the second load to immediately re-initiate an IMS PDN establishment request; the second load is any load in a load that is sent by the P-CSCF address list ;
接收所述第二负载发送的IMS PDN建立请求;Receiving an IMS PDN establishment request sent by the second load;
向所述第二负载反馈所述第二P-CSCF地址列表。And feeding back the second P-CSCF address list to the second load.
结合第一方面的第十二种可能的实现方式或第一方面的第十三种可能的实现方式,在第一方面的第十四种可能的实现方式中,In conjunction with the twelfth possible implementation of the first aspect or the thirteenth possible implementation of the first aspect, in a fourteenth possible implementation of the first aspect,
所述按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表,包括:And sending the second P-CSCF address list to the load of the fourth P-CSCF in batches according to the preset rate, including:
按照所述预设速率,分批向在所述接入所述第四P-CSCF的负载中未进行通话的负载分别发送所述第二P-CSCF地址列表。And transmitting, according to the preset rate, the second P-CSCF address list to the load that is not in the load of the fourth P-CSCF.
结合第一方面的第十二种可能的实现方式或第一方面的第十三种可能的实现方式或第一方面的第十四种可能的实现方式,在第一方面的第十五种可能的实现方式中,In conjunction with the twelfth possible implementation of the first aspect or the thirteenth possible implementation of the first aspect or the fourteenth possible implementation of the first aspect, the fifteenth possible aspect of the first aspect In the implementation,
所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;The load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
所述第二P-CSCF地址列表中包括的P-CSCF地址的优先级,按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,按照每个P-CSCF容量占用比从低到高依次排列。
The priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P-CSCF capacity. The occupancy ratio is arranged in order from low to high.
结合第一方面的第二种可能的实现方式至第一方面的第十种可能的实现方式,第一方面的第十二种可能的实现方式至第一方面的第十五种可能的实现方式中任一项,在第一方面的第十六种可能的实现方式中,With reference to the second possible implementation of the first aspect to the tenth possible implementation of the first aspect, the twelfth possible implementation of the first aspect to the fifteenth possible implementation of the first aspect In any of the sixteenth possible implementations of the first aspect,
在所述负载迁移之后,所述方法还包括:After the load migration, the method further includes:
不再向所述进行负载迁移的P-CSCF分配新接入的负载。The newly accessed load is no longer allocated to the P-CSCF for load migration.
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第十六种可能的实现方式中任一项,在第一方面的第十七种可能的实现方式中,With reference to the first aspect or the first possible implementation of the first aspect to any one of the sixteenth possible implementations of the first aspect, in a seventeenth possible implementation of the first aspect,
接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息,包括:Receiving a status message sent by each proxy call session control function P-CSCF managed by the PGW, including:
通过SGi接口接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;Receiving, by the SGi interface, a status message sent by each proxy call session control function P-CSCF managed by the PGW;
或者,or,
通过策略与计费规则功能单元(Policy and Charging Rules Function,简称PCRF)的转发接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息。The status message sent by each proxy call session control function P-CSCF managed by the PGW is received by forwarding of a Policy and Charging Rules Function (PCRF).
第二方面,提供一种PGW,包括:In a second aspect, a PGW is provided, including:
接收单元,用于接收接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;a receiving unit, configured to receive a status message sent by each proxy call session control function P-CSCF managed by the PGW;
管理单元,用于根据所述接收单元接收的所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理。And a management unit, configured to manage, according to the status message received by the receiving unit, a load on each P-CSCF managed by the PGW.
结合第二方面,在第二方面的第一种可能的实现方式中,In conjunction with the second aspect, in a first possible implementation of the second aspect,
所述状态消息包括用于指示P-CSCF接入能力的负载信息;The status message includes load information indicating a P-CSCF access capability;
所述管理单元具体用于:The management unit is specifically configured to:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第二方面,在第二方面的第二种可能的实现方式中,In conjunction with the second aspect, in a second possible implementation of the second aspect,
所述状态消息包括用于指示P-CSCF是否过载的承载信息;
The status message includes bearer information indicating whether the P-CSCF is overloaded;
若所述PGW管理的P-CSCF中存在第一P-CSCF,所述管理单元具体用于:If the first P-CSCF exists in the P-CSCF managed by the PGW, the management unit is specifically configured to:
对所述第一P-CSCF进行负载迁移,直至所述第一P-CSCF不过载;其中,所述第一P-CSCF为所述PGW管理的P-CSCF中状态消息中的承载信息指示P-CSCF过载的P-CSCF;Performing load migration on the first P-CSCF until the first P-CSCF is not overloaded; wherein the first P-CSCF indicates that the bearer information in the status message in the P-CSCF managed by the PGW is P -CSCF overloaded P-CSCF;
根据所述状态消息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,In conjunction with the second possible implementation of the second aspect, in a third possible implementation of the second aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
所述管理单元具体用于:The management unit is specifically configured to:
根据所述负载信息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。And assigning, to the P-CSCF other than the first P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
结合第二方面的第二种可能的实现方式,在第二方面的第四种可能的实现方式中,In conjunction with the second possible implementation of the second aspect, in a fourth possible implementation of the second aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
若所述PGW管理的P-CSCF中不存在所述第一P-CSCF,所述管理单元具体用于:If the first P-CSCF does not exist in the P-CSCF managed by the PGW, the management unit is specifically configured to:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第二方面,在第二方面的第五种可能的实现方式中,In conjunction with the second aspect, in a fifth possible implementation of the second aspect,
所述状态消息包括用于指示P-CSCF是否即将运维的维护信息;The status message includes maintenance information indicating whether the P-CSCF is about to be operated and maintained;
若所述PGW管理的P-CSCF中存在第二P-CSCF,所述管理单元具体用于:If the second P-CSCF exists in the P-CSCF managed by the PGW, the management unit is specifically configured to:
对所述第二P-CSCF进行负载迁移,直至所述第二P-CSCF上无负载接入;其中,所述第二P-CSCF为所述PGW管理的
P-CSCF中状态消息中的维护信息指示P-CSCF即将运维的P-CSCF;Performing load migration on the second P-CSCF until no load access is performed on the second P-CSCF; wherein the second P-CSCF is managed by the PGW
The maintenance information in the status message in the P-CSCF indicates the P-CSCF to be operated and operated by the P-CSCF;
根据所述状态消息,向所述PGW管理的P-CSCF中除所述第二P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第二方面的第五种可能的实现方式,在第二方面的第六种可能的实现方式中,In conjunction with the fifth possible implementation of the second aspect, in a sixth possible implementation manner of the second aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
所述管理单元具体用于:The management unit is specifically configured to:
根据所述负载信息,向所述PGW管理的P-CSCF中除所述第二一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第二方面的第五种可能的实现方式,在第二方面的第七种可能的实现方式中,With reference to the fifth possible implementation manner of the second aspect, in a seventh possible implementation manner of the second aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
若所述PGW管理的P-CSCF中不存在所述第二P-CSCF,所述管理单元具体用于:If the second P-CSCF does not exist in the P-CSCF managed by the PGW, the management unit is specifically configured to:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第二方面的第五种可能的实现方式,在第二方面的第八种可能的实现方式中,In conjunction with the fifth possible implementation of the second aspect, in an eighth possible implementation manner of the second aspect,
所述状态消息还包括用于指示P-CSCF是否过载的承载信息;The status message further includes bearer information indicating whether the P-CSCF is overloaded;
若所述PGW管理的P-CSCF中存在第三P-CSCF,所述管理单元具体用于:If the third P-CSCF exists in the P-CSCF managed by the PGW, the management unit is specifically configured to:
对所述第三P-CSCF进行负载迁移,直至所述第三P-CSCF不过载;其中,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF不即将运维,且状态消息中的承载信息指示P-CSCF过载的P-CSCF;或者,所述第三P-CSCF
为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维,且状态消息中的承载信息指示P-CSCF不过载的P-CSCF;Performing load migration on the third P-CSCF until the third P-CSCF is not overloaded; wherein the third P-CSCF indicates that the maintenance information in the status message in the P-CSCF managed by the PGW is P - the CSCF is not ready for operation and maintenance, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF
The maintenance information in the status message in the P-CSCF managed by the PGW indicates that the P-CSCF is to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
根据所述状态消息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第二方面的第八种可能的实现方式,在第二方面的第九种可能的实现方式中,In conjunction with the eighth possible implementation of the second aspect, in a ninth possible implementation manner of the second aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
所述管理单元具体用于:The management unit is specifically configured to:
根据所述负载信息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And assigning, to the P-CSCF other than the third P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
结合第二方面的第八种可能的实现方式,在第二方面的第十种可能的实现方式中,In conjunction with the eighth possible implementation of the second aspect, in a tenth possible implementation manner of the second aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
若所述PGW管理的P-CSCF中不存在所述第三P-CSCF,所述管理单元具体用于:If the third P-CSCF does not exist in the P-CSCF managed by the PGW, the management unit is specifically configured to:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第二方面的第一种可能的实现方式或第二方面的第四种可能的实现方式或第二方面的第七种可能的实现方式或第二方面的第十种可能的实现方式,在第二方面的第十一种可能的实现方式中,With reference to the first possible implementation of the second aspect or the fourth possible implementation of the second aspect or the seventh possible implementation of the second aspect or the tenth possible implementation of the second aspect, In an eleventh possible implementation manner of the second aspect,
所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;The load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
所述管理单元根据所述负载信息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:The management unit manages the load on each P-CSCF managed by the PGW according to the load information, including:
接收第一负载发送的P-CSCF地址请求消息;其中,所述第
一负载为后续新接入的负载中任一负载;Receiving a P-CSCF address request message sent by the first load; wherein, the
A load is any load in the subsequent newly accessed load;
向所述第一负载反馈第一P-CSCF地址列表;其中,所述第一P-CSCF地址列表中包括至少一个所述PGW管理的P-CSCF的地址,优先级按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,优先级按照每个P-CSCF容量占用比从低到高依次排列。And feeding back, to the first load, a first P-CSCF address list, where the first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is per P-CSCF The remaining accessible load numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
结合第二方面的第二种可能的实现方式至第二方面的第十种可能的实现方式中任一项,在第二方面的第十二种可能的实现方式中,With reference to any one of the second possible implementation of the second aspect to the tenth possible implementation of the second aspect, in a twelfth possible implementation of the second aspect,
对于第四P-CSCF,所述管理单元进行负载迁移,包括:For the fourth P-CSCF, the management unit performs load migration, including:
扫描用户上下文,获取接入所述第四P-CSCF的负载;其中,所述用户上下文包括管辖内的每个P-CSCF与接入P-CSCF的负载的对应关系;所述第四P-CSCF需要进行负载迁移的任一个P-CSCF;Scanning a user context to obtain a load for accessing the fourth P-CSCF; wherein the user context includes a correspondence between each P-CSCF within the jurisdiction and a load of accessing the P-CSCF; the fourth P- CSCF needs any P-CSCF for load migration;
按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表,以指示所述接入所述第四P-CSCF的负载进行迁移;其中,所述第二P-CSCF地址列表不包含所述第四P-CSCF的地址。Transmitting a second P-CSCF address list to the load of the fourth P-CSCF in batches according to a preset rate, to indicate that the load connected to the fourth P-CSCF is migrated; The second P-CSCF address list does not include an address of the fourth P-CSCF.
结合第二方面的第十二种可能的实现方式,在第二方面的第十三种可能的实现方式中,In conjunction with the twelfth possible implementation of the second aspect, in a thirteenth possible implementation of the second aspect,
所述管理单元还用于:The management unit is further configured to:
在所述按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表之后,若在预设时长之后,未接收到第二负载更新P-CSCF地址的消息,则向所述第二负载发送IMS PND连接释放消息,以指示所述第二负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第二负载立刻重新发起IMS PDN建立请求;所述第二负载为被发送所述P-CSCF地址列表的负载中的任一负载;After the second P-CSCF address list is sent to the load of the fourth P-CSCF in batches according to the preset rate, if the second P-CSCF address list is received after the preset time period, the second load update P is not received. Sending an IMS PND connection release message to the second load to indicate that the second load disconnects the current IMS PDN connection; wherein the IMS PDN connection release message includes indication information for indicating The second load immediately re-initiates an IMS PDN setup request; the second payload is any one of loads of the P-CSCF address list being sent;
接收所述第二负载发送的IMS PDN建立请求;
Receiving an IMS PDN establishment request sent by the second load;
向所述第二负载反馈所述第二P-CSCF地址列表。And feeding back the second P-CSCF address list to the second load.
结合第二方面的第十二种可能的实现方式或第二方面的第十三种可能的实现方式,在第二方面的第十四种可能的实现方式中,With reference to the twelfth possible implementation of the second aspect or the thirteenth possible implementation of the second aspect, in the fourteenth possible implementation manner of the second aspect,
所述管理单元具体用于:The management unit is specifically configured to:
按照所述预设速率,分批向在所述接入所述第四P-CSCF的负载中未进行通话的负载分别发送所述第二P-CSCF地址列表。And transmitting, according to the preset rate, the second P-CSCF address list to the load that is not in the load of the fourth P-CSCF.
结合第二方面的第十二种可能的实现方式或第二方面的第十三种可能的实现方式或第二方面的第十四种可能的实现方式,在第二方面的第十五种可能的实现方式中,In conjunction with the twelfth possible implementation of the second aspect or the thirteenth possible implementation of the second aspect or the fourteenth possible implementation of the second aspect, the fifteenth possible aspect of the second aspect In the implementation,
所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;The load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
所述第二P-CSCF地址列表中包括的P-CSCF地址的优先级,按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,按照每个P-CSCF容量占用比从低到高依次排列。The priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P-CSCF capacity. The occupancy ratio is arranged in order from low to high.
结合第二方面的第二种可能的实现方式至第二方面的第十种可能的实现方式,第二方面的第十二种可能的实现方式至第二方面的第十五种可能的实现方式中任一项,在第二方面的第十六种可能的实现方式中,With reference to the second possible implementation of the second aspect to the tenth possible implementation of the second aspect, the twelfth possible implementation of the second aspect to the fifteenth possible implementation of the second aspect In any of the sixteenth possible implementations of the second aspect,
所述管理单元还包括:The management unit further includes:
不再向所述进行负载迁移的P-CSCF分配新接入的负载。The newly accessed load is no longer allocated to the P-CSCF for load migration.
结合第二方面或第二方面的第一种可能的实现方式至第二方面的第十六种可能的实现方式中任一项,在第二方面的第十七种可能的实现方式中,With reference to the second aspect or the first possible implementation of the second aspect to any one of the sixteenth possible implementations of the second aspect, in a seventeenth possible implementation of the second aspect,
所述接收单元具体用于:The receiving unit is specifically configured to:
通过SGi接口接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;Receiving, by the SGi interface, a status message sent by each proxy call session control function P-CSCF managed by the PGW;
或者,or,
通过PCRF的转发接收所述PGW管理的每个代理呼叫会话
控制功能P-CSCF发送的状态消息。Receiving each proxy call session managed by the PGW by forwarding of the PCRF
Controls the status message sent by the P-CSCF.
第三方面,提供一种PGW,包括:In a third aspect, a PGW is provided, including:
接收器,用于接收接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;a receiver, configured to receive a status message sent by each proxy call session control function P-CSCF managed by the PGW;
处理器,用于根据所述接收器接收的所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理。And a processor, configured to manage, according to the status message received by the receiver, a load on each P-CSCF managed by the PGW.
结合第三方面,在第三方面的第一种可能的实现方式中,In conjunction with the third aspect, in a first possible implementation of the third aspect,
所述状态消息包括用于指示P-CSCF接入能力的负载信息;The status message includes load information indicating a P-CSCF access capability;
所述处理器具体用于:The processor is specifically configured to:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第三方面,在第三方面的第二种可能的实现方式中,In conjunction with the third aspect, in a second possible implementation of the third aspect,
所述状态消息包括用于指示P-CSCF是否过载的承载信息;The status message includes bearer information indicating whether the P-CSCF is overloaded;
若所述PGW管理的P-CSCF中存在第一P-CSCF,所述处理器具体用于:If the first P-CSCF exists in the P-CSCF managed by the PGW, the processor is specifically configured to:
对所述第一P-CSCF进行负载迁移,直至所述第一P-CSCF不过载;其中,所述第一P-CSCF为所述PGW管理的P-CSCF中状态消息中的承载信息指示P-CSCF过载的P-CSCF;Performing load migration on the first P-CSCF until the first P-CSCF is not overloaded; wherein the first P-CSCF indicates that the bearer information in the status message in the P-CSCF managed by the PGW is P -CSCF overloaded P-CSCF;
根据所述状态消息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,In conjunction with the second possible implementation of the third aspect, in a third possible implementation of the third aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
所述处理器具体用于:The processor is specifically configured to:
根据所述负载信息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。And assigning, to the P-CSCF other than the first P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
结合第三方面的第二种可能的实现方式,在第三方面的第四种可能的实现方式中,
In conjunction with the second possible implementation of the third aspect, in a fourth possible implementation manner of the third aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
若所述PGW管理的P-CSCF中不存在所述第一P-CSCF,所述处理器具体用于:If the first P-CSCF does not exist in the P-CSCF managed by the PGW, the processor is specifically configured to:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第三方面,在第三方面的第五种可能的实现方式中,In conjunction with the third aspect, in a fifth possible implementation of the third aspect,
所述状态消息包括用于指示P-CSCF是否即将运维的维护信息;The status message includes maintenance information indicating whether the P-CSCF is about to be operated and maintained;
若所述PGW管理的P-CSCF中存在第二P-CSCF,所述处理器具体用于:If the second P-CSCF exists in the P-CSCF managed by the PGW, the processor is specifically configured to:
对所述第二P-CSCF进行负载迁移,直至所述第二P-CSCF上无负载接入;其中,所述第二P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维的P-CSCF;Performing load migration on the second P-CSCF until no load access is performed on the second P-CSCF; wherein the second P-CSCF is maintenance in a status message in the P-CSCF managed by the PGW The information indicates the P-CSCF that the P-CSCF is about to operate and maintain;
根据所述状态消息,向所述PGW管理的P-CSCF中除所述第二P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第三方面的第五种可能的实现方式,在第三方面的第六种可能的实现方式中,In conjunction with the fifth possible implementation of the third aspect, in a sixth possible implementation manner of the third aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
所述处理器具体用于:The processor is specifically configured to:
根据所述负载信息,向所述PGW管理的P-CSCF中除所述第二一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第三方面的第五种可能的实现方式,在第三方面的第七种可能的实现方式中,With reference to the fifth possible implementation manner of the third aspect, in a seventh possible implementation manner of the third aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
若所述PGW管理的P-CSCF中不存在所述第二P-CSCF,所
述处理器具体用于:If the second P-CSCF does not exist in the P-CSCF managed by the PGW,
The processor is specifically used to:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第三方面的第五种可能的实现方式,在第三方面的第八种可能的实现方式中,With reference to the fifth possible implementation manner of the third aspect, in an eighth possible implementation manner of the third aspect,
所述状态消息还包括用于指示P-CSCF是否过载的承载信息;The status message further includes bearer information indicating whether the P-CSCF is overloaded;
若所述PGW管理的P-CSCF中存在第三P-CSCF,所述处理器具体用于:If a third P-CSCF exists in the P-CSCF managed by the PGW, the processor is specifically configured to:
对所述第三P-CSCF进行负载迁移,直至所述第三P-CSCF不过载;其中,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF不即将运维,且状态消息中的承载信息指示P-CSCF过载的P-CSCF;或者,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维,且状态消息中的承载信息指示P-CSCF不过载的P-CSCF;Performing load migration on the third P-CSCF until the third P-CSCF is not overloaded; wherein the third P-CSCF indicates that the maintenance information in the status message in the P-CSCF managed by the PGW is P - the CSCF is not about to be operated, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF is the maintenance information indication in the status message in the P-CSCF managed by the PGW The P-CSCF is about to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
根据所述状态消息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第三方面的第八种可能的实现方式,在第三方面的第九种可能的实现方式中,In conjunction with the eighth possible implementation of the third aspect, in a ninth possible implementation manner of the third aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The status message further includes load information indicating a P-CSCF access capability;
所述处理器具体用于:The processor is specifically configured to:
根据所述负载信息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And assigning, to the P-CSCF other than the third P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
结合第三方面的第八种可能的实现方式,在第三方面的第十种可能的实现方式中,In conjunction with the eighth possible implementation of the third aspect, in a tenth possible implementation manner of the third aspect,
所述状态消息还包括用于指示P-CSCF接入能力的负载信息;
The status message further includes load information indicating a P-CSCF access capability;
若所述PGW管理的P-CSCF中不存在所述第三P-CSCF,所述处理器具体用于:If the third P-CSCF does not exist in the P-CSCF managed by the PGW, the processor is specifically configured to:
根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
结合第三方面的第一种可能的实现方式或第三方面的第四种可能的实现方式或第三方面的第七种可能的实现方式或第三方面的第十种可能的实现方式,在第三方面的第十一种可能的实现方式中,With reference to the first possible implementation of the third aspect or the fourth possible implementation of the third aspect or the seventh possible implementation of the third aspect or the tenth possible implementation of the third aspect, In an eleventh possible implementation manner of the third aspect,
所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;The load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
所述处理器根据所述负载信息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:The processor manages the load on each P-CSCF managed by the PGW according to the load information, including:
接收第一负载发送的P-CSCF地址请求消息;其中,所述第一负载为后续新接入的负载中任一负载;Receiving a P-CSCF address request message sent by the first load; wherein the first load is any load of a subsequently newly added load;
向所述第一负载反馈第一P-CSCF地址列表;其中,所述第一P-CSCF地址列表中包括至少一个所述PGW管理的P-CSCF的地址,优先级按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,优先级按照每个P-CSCF容量占用比从低到高依次排列。And feeding back, to the first load, a first P-CSCF address list, where the first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is per P-CSCF The remaining accessible load numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
结合第三方面的第二种可能的实现方式至第三方面的第十种可能的实现方式中任一项,在第三方面的第十二种可能的实现方式中,With reference to any one of the second possible implementation of the third aspect to the tenth possible implementation of the third aspect, in a twelfth possible implementation manner of the third aspect,
对于第四P-CSCF,所述处理器进行负载迁移,包括:For the fourth P-CSCF, the processor performs load migration, including:
扫描用户上下文,获取接入所述第四P-CSCF的负载;其中,所述用户上下文包括管辖内的每个P-CSCF与接入P-CSCF的负载的对应关系;所述第四P-CSCF需要进行负载迁移的任一个P-CSCF;Scanning a user context to obtain a load for accessing the fourth P-CSCF; wherein the user context includes a correspondence between each P-CSCF within the jurisdiction and a load of accessing the P-CSCF; the fourth P- CSCF needs any P-CSCF for load migration;
按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表,以指示所述接入所述第四P-CSCF
的负载进行迁移;其中,所述第二P-CSCF地址列表不包含所述第四P-CSCF的地址。Transmitting, to the load of the fourth P-CSCF, a second P-CSCF address list to the load of the fourth P-CSCF in batches to indicate the access to the fourth P-CSCF
The load is migrated; wherein the second P-CSCF address list does not include the address of the fourth P-CSCF.
结合第三方面的第十二种可能的实现方式,在第三方面的第十三种可能的实现方式中,In conjunction with the twelfth possible implementation of the third aspect, in a thirteenth possible implementation of the third aspect,
所述处理器还用于:The processor is further configured to:
在所述按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表之后,若在预设时长之后,未接收到第二负载更新P-CSCF地址的消息,则向所述第二负载发送IMS PND连接释放消息,以指示所述第二负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第二负载立刻重新发起IMS PDN建立请求;所述第二负载为被发送所述P-CSCF地址列表的负载中的任一负载;After the second P-CSCF address list is sent to the load of the fourth P-CSCF in batches according to the preset rate, if the second P-CSCF address list is received after the preset time period, the second load update P is not received. Sending an IMS PND connection release message to the second load to indicate that the second load disconnects the current IMS PDN connection; wherein the IMS PDN connection release message includes indication information for indicating The second load immediately re-initiates an IMS PDN setup request; the second payload is any one of loads of the P-CSCF address list being sent;
接收所述第二负载发送的IMS PDN建立请求;Receiving an IMS PDN establishment request sent by the second load;
向所述第二负载反馈所述第二P-CSCF地址列表。And feeding back the second P-CSCF address list to the second load.
结合第三方面的第十二种可能的实现方式或第三方面的第十三种可能的实现方式,在第三方面的第十四种可能的实现方式中,With reference to the twelfth possible implementation manner of the third aspect or the thirteenth possible implementation manner of the third aspect, in the fourteenth possible implementation manner of the third aspect,
所述处理器具体用于:The processor is specifically configured to:
按照所述预设速率,分批向在所述接入所述第四P-CSCF的负载中未进行通话的负载分别发送所述第二P-CSCF地址列表。And transmitting, according to the preset rate, the second P-CSCF address list to the load that is not in the load of the fourth P-CSCF.
结合第三方面的第十二种可能的实现方式或第三方面的第十三种可能的实现方式或第三方面的第十四种可能的实现方式,在第三方面的第十五种可能的实现方式中,In conjunction with the twelfth possible implementation of the third aspect or the thirteenth possible implementation of the third aspect or the fourteenth possible implementation of the third aspect, the fifteenth possible aspect of the third aspect In the implementation,
所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;The load information includes at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio;
所述第二P-CSCF地址列表中包括的P-CSCF地址的优先级,按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,按照每个P-CSCF容量占用比从低到高依次排列。The priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P-CSCF capacity. The occupancy ratio is arranged in order from low to high.
结合第三方面的第二种可能的实现方式至第三方面的第十
种可能的实现方式,第三方面的第十二种可能的实现方式至第三方面的第十五种可能的实现方式中任一项,在第三方面的第十六种可能的实现方式中,Combining the second possible implementation of the third aspect to the tenth of the third aspect
a possible implementation manner, the twelfth possible implementation manner of the third aspect, to any one of the fifteenth possible implementation manners of the third aspect, in the sixteenth possible implementation manner of the third aspect ,
所述处理器还包括:The processor further includes:
不再向所述进行负载迁移的P-CSCF分配新接入的负载。The newly accessed load is no longer allocated to the P-CSCF for load migration.
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第十六种可能的实现方式中任一项,在第三方面的第十七种可能的实现方式中,With reference to the third aspect, or the first possible implementation of the third aspect, to any one of the sixteenth possible implementations of the third aspect, in a seventeenth possible implementation manner of the third aspect,
所述接收器具体用于:The receiver is specifically configured to:
通过SGi接口接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;Receiving, by the SGi interface, a status message sent by each proxy call session control function P-CSCF managed by the PGW;
或者,or,
通过PCRF的转发接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息。A status message sent by each proxy call session control function P-CSCF managed by the PGW is received by forwarding of the PCRF.
本发明实施例提供的P-CSCF负载管理方法及PGW,通过接收PGW管理的每个P-CSCF发送的状态消息;根据状态消息,对PGW管理的每个P-CSCF上的负载进行管理。这样一来,由于状态消息由P-CSCF反馈,动态反应了每一个P-CSCF的当前状态,PGW根据该状态消息对每个P-CSCF上的负载进行管理(包括分配、迁移等管理方式),使得负载的分配更好的符合每一个P-CSCF当前接入能力,提高了负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险;PGW还可以将过载的P-CSCF或者即将运维的P-CSCF上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。The P-CSCF load management method and the PGW provided by the embodiment of the present invention receive the status message sent by each P-CSCF managed by the PGW, and manage the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration). Therefore, the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF; PGW can also overload the P- The CSCF or the load on the P-CSCF to be operated and unloaded is unloaded to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation, which improves the user experience.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施
例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only Is some implementation of the invention
For example, other drawings may be obtained from those of ordinary skill in the art in light of the inventive work.
图1为现有技术提供的一种IMS PDN建立流程图;FIG. 1 is a flowchart of establishing an IMS PDN provided by the prior art;
图2为现有技术提供的一种故障恢复流程图;2 is a flowchart of fault recovery provided by the prior art;
图3为本发明实施例提供的一种P-CSCF负载管理方法流程示意图;3 is a schematic flowchart of a P-CSCF load management method according to an embodiment of the present invention;
图4为本发明实施例提供的另一种P-CSCF负载管理方法流程示意图;4 is a schematic flowchart of another P-CSCF load management method according to an embodiment of the present invention;
图4A为本发明实施例提供的一种负载迁移的方法流程示意图;4A is a schematic flowchart of a method for load migration according to an embodiment of the present invention;
图5为本发明实施例提供的另一种P-CSCF负载管理方法流程示意图;FIG. 5 is a schematic flowchart of another P-CSCF load management method according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种PGW的装置结构图;FIG. 6 is a structural diagram of a device of a PGW according to an embodiment of the present invention;
图7为本发明实施例提供的另一种PGW的装置结构图。FIG. 7 is a structural diagram of another apparatus of a PGW according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
具体的,VoLTE的部署下,UE发起IMS注册之前,会先建立IMS PDN连接。UE建立IMS PDN连接的过程可以如图1所示:Specifically, in the deployment of VoLTE, 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:
S101、UE向移动管理实体(Mobility Management Entity,简称MME)发送PDN连接请求(PDN connectivity request)消息,消息中携带请求P-CSCF地址指示。S101. The UE sends a PDN connectivity request (PDN connectivity request) message to the Mobility Management Entity (MME), where the message carries a request P-CSCF address indication.
S102、MME向服务网关(Serving GateWay,简称SGW)发送创建会话请求(Create session request)消息,消息中携带请求P-CSCF地址指示。S102: The MME sends a Create Session Request message to the Serving GateWay (SGW), where the message carries the request P-CSCF address indication.
S103、SGW向PGW发送Create session request消息,消息中
携带请求P-CSCF地址指示。S103. The SGW sends a Create session request message to the PGW, where the message is in the message.
Carry the request P-CSCF address indication.
S104、PGW根据负荷分担的原则,选择P-CSCF地址列表,并通过创建会话响应Create session response消息发给SGW。S104. 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.
其中,选择的P-CSCF地址列表至少包括PGW根据负荷分担原则选择的优先分配的P-CSCF的地址。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.
具体的,在当前实际部署中,一般根据每个P-CSCF的性能及网络部署规划,在PGW中预先配置的固定P-CSCF权重,进行负载均衡分发用户到对接的P-CSCF上,以此实现用户分发的负载均衡。Specifically, in the current actual deployment, 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.
示例性的,假设一个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)。Exemplarily, suppose a PGW manages 4 P-CSCFs (recorded as P-CSCF1, P-CSCF2, P-CSCF3, and P-CSCF4, respectively), according to the performance of each P-CSCF and network deployment plan, in the PGW. The pre-configured fixed P-CSCF weights are: 25:25:10:40. Then, when the PGW performs load balancing distribution on the user according to the configured weight value, the following operations are sequentially performed: P-CSCF1 is first allocated 25 loads, then P-CSCF2 is assigned 25 loads, and then 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).
需要说明的是,上述示例只是举例说明负载分发的,并不是对负载分发的具体方式的限定。It should be noted that the above examples are merely illustrative of load distribution, and are not intended to limit the specific manner of load distribution.
可选的,选择的P-CSCF地址列表可以是一个P-CSCF地址,也可以是多个P-CSCF地址。Optionally, the selected P-CSCF address list may be a P-CSCF address or multiple P-CSCF addresses.
优选的,当选择的P-CSCF地址列表是多个P-CSCF地址时,排在第一位的P-CSCF地址是高优先级的地址,以便UE优先选择。Preferably, when the selected P-CSCF address list is a plurality of P-CSCF addresses, the P-CSCF address ranked first is a high priority address for the UE to preferentially select.
S105、SGW向MME发送Create session response消息,消息中携带了P-CSCF地址列表。S105. The SGW sends a Create session response message to the MME, where the message carries a P-CSCF address list.
S106、MME向UE发送PDN连接接收connectivity accept消息,消息中携带了P-CSCF地址列表。
S106. The MME sends a PDN connection to the UE to receive a connectivity accept message, where the message carries a P-CSCF address list.
S107、UE从P-CSCF地址列表中选择一个P-CSCF地址发起IMS注册。S107. The UE selects a P-CSCF address from the P-CSCF address list to initiate IMS registration.
优选的,UE从P-CSCF地址列表中,选择优先级最高的P-CSCF地址发起IMS注册。Preferably, the UE selects the P-CSCF address with the highest priority from the P-CSCF address list to initiate IMS registration.
S108、UE在IMS注册成功后,UE接入的P-CSCF向PCRF发送应用认证请求(Application-Auth-Request,简称AAR)消息。S108. After the IMS is successfully registered, the P-CSCF that is accessed by the UE sends an Application-Auth-Request (AAR) message to the PCRF.
其中,AAR消息中携带UE注册的P-CSCF地址。The AAR message carries the P-CSCF address registered by the UE.
S109、PCRF向PGW发送认证响应请求(Re-Auth-Request,简称RAR)消息。S109. The PCRF sends an authentication response request (Re-Auth-Request, RAR for short) message to the PGW.
其中,RAR消息中携带UE注册的P-CSCF地址。The RAR message carries the P-CSCF address registered by the UE.
由此可知,通过S108和S109两步,PGW就知道UE注册的P-CSCF地址,并将UE及P-CSCF的对应关系更新至PGW内的用户上下文中。It can be seen that, through two steps S108 and S109, the PGW knows the P-CSCF address registered by the UE, and updates the correspondence between the UE and the P-CSCF to the user context in the PGW.
进一步的,当UE在IMS注册成功之后,P-CSCF存在出现故障的风险,当某个P-CSCF出现故障时,PGW还需要对接入该P-CSCF的UE进行故障恢复;参见图2,以PGW对P-CSCF1监测过程为例,对PGW对接入P-CSCF1的UE进行故障恢复的过程进行描述,该过程可以包括:Further, after the UE successfully registers with the IMS, the P-CSCF is in danger of failure. When a certain P-CSCF fails, 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、PGW周期性的检测P-CSCF1是否可达;S201 and PGW periodically detect whether the P-CSCF1 is reachable;
S202、当PGW发现P-CSCF1不可达时,PGW通过SGW向注册到P-CSCF1上的UE发送更新承载请求(Update bearer request)消息;S202. When 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.
其中,Update bearer request消息消息中携带更新后的P-CSCF地址列表;更新的P-CSCF地址列表不包含故障的P-CSCF1。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.
S202、UE收到更新后的P-CSCF地址列表后,从更新后的P-CSCF地址列表中选择一个P-CSCF地址,重新发起IMS注册。S202. 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.
需要说明的是,由于UE兼容性问题,部分终端不支持PGW
发起的故障恢复流程,即S202中,UE收到更新后的P-CSCF地址列表并不重新发起IMS注册。It should be noted that some terminals do not support PGW due to UE compatibility issues.
In the initiated fault recovery process, that is, in S202, the UE receives the updated P-CSCF address list and does not re-initiate the IMS registration.
S202之后的流程与S108和S109相同,此处不再进行赘述。The flow after S202 is the same as that of S108 and S109, and will not be described again here.
实施例一Embodiment 1
本发明实施例一提供一种P-CSCF负载管理方法,应用于PGW,参见图3,所述方法可以包括:A first embodiment of the present invention provides a P-CSCF load management method, which is applied to a PGW. Referring to FIG. 3, the method may include:
S301、接收PGW管理的每个P-CSCF发送的状态消息。S301. Receive a status message sent by each P-CSCF managed by the PGW.
可选的,所述状态消息可以为PGW与P-CSCF的常规交互消息,即通过PGW与P-CSCF的常规交互消息携带所述状态消息中的内容。Optionally, the status message may be a regular interaction message between the PGW and the P-CSCF, that is, the content in the status message is carried by a regular interaction message between the PGW and the P-CSCF.
当然,所述状态消息也可以为专用消息,专用于发送所述状态消息所包含的内容;本发明对于所述状态消息的形式不进行具体限定。Certainly, the status message may also be a dedicated message, and is dedicated to sending content included in the status message; the present invention does not specifically limit the form of the status message.
需要说明的是,不论所述状态消息采取哪种形式,所述状态消息的接收时间都可以根据实际需求确定,本发明对此不进行具体限定。It should be noted that, regardless of the form of the status message, the receiving time of the status message may be determined according to actual requirements, which is not specifically limited by the present invention.
示例性的,若状态消息为PGW与P-CSCF的常规交互消息,状态消息可以随常规交互消息发送,每发送一次常规交互消息,则携带状态消息的内容。Exemplarily, if the status message is a regular interaction message between the PGW and the P-CSCF, the status message may be sent along with the regular interaction message, and the content of the status message is carried each time the regular interaction message is sent.
示例性的,若状态消息为专用消息,状态消息可以周期性的发送,也可以在预设时间点发送,本发明对此均不进行具体限定。For example, if the status message is a dedicated message, the status message may be sent periodically or at a preset time. The present invention does not specifically limit this.
可选的,对于PGW接收状态消息的方式,可以包括但不限于下述两种方式:Optionally, the manner in which the PGW receives the status message may include, but is not limited to, the following two methods:
第一种方式:The first way:
通过SGi接口接收管辖内每个P-CSCF发送的状态消息。A status message sent by each P-CSCF within the jurisdiction is received through the SGi interface.
其中,SGi接口为PGW与P-CSCF的直接通信接口。The SGi interface is a direct communication interface between the PGW and the P-CSCF.
可选的,在上述第一种方式中,若状态消息为PGW与P-CSCF的常规交互消息,状态消息可以为探测消息,例如Ping报文。Optionally, in the first mode, if the status message is a regular interaction message between the PGW and the P-CSCF, the status message may be a probe message, such as a ping message.
需要说明的是,若状态消息为PGW与P-CSCF的常规交互消
息,状态消息的形式可以根据实际需求设定,本发明对此不进行具体限定。It should be noted that if the status message is a conventional interaction between PGW and P-CSCF
The form of the status message may be set according to actual needs, and the present invention does not specifically limit this.
第二种方式:The second way:
通过PCRF的转发接收管辖内每个P-CSCF发送的状态消息。The status message sent by each P-CSCF within the jurisdiction is received by the forwarding of the PCRF.
其中,当PGW通过PCRF的转发接收管辖内每个P-CSCF发送的状态消息时,PGW即通过Rx接口及Gx接口的消息交互接收所述状态消息。Wherein, when the PGW receives the status message sent by each P-CSCF in the jurisdiction through the forwarding of the PCRF, the PGW receives the status message through the message interaction of the Rx interface and the Gx interface.
示例性的,在上述第一种方式中,若状态消息为PGW与P-CSCF的常规交互消息,所述Rx接口消息可以为AAR消息;Gx接口消息可以为RAR接口消息。Exemplarily, in the foregoing first mode, if the status message is a regular interaction message between the PGW and the P-CSCF, the Rx interface message may be an AAR message; and the Gx interface message may be a RAR interface message.
例如,P-CSCF可以通过Rx接口消息(如AAR消息)向PCRF发送状态消息,PCRF利用Gx接口消息(如RAR)将所述状态消息转发至PGW。For example, the P-CSCF may send a status message to the PCRF via an Rx interface message (eg, an AAR message), which forwards the status message to the PGW using a Gx interface message (eg, RAR).
S302、根据所述状态消息,对PGW管理的每个P-CSCF上的负载进行管理。S302. Manage, according to the status message, a load on each P-CSCF managed by the PGW.
其中,对PGW管理的每个P-CSCF上的负载进行管理可以包括但不限于:负载分配、负载迁移等。The management of the load on each P-CSCF managed by the PGW may include, but is not limited to, load allocation, load migration, and the like.
具体的,可以根据实际需求的不同,在状态消息中包括不同的内容,以指示PGW对P-CSCF上的负载进行管理。Specifically, different content may be included in the status message according to actual requirements to instruct the PGW to manage the load on the P-CSCF.
可选的,可以通过在状态消息中包括反应P-CSCF的接入能力的信息,以使得PGW根据该信息,进行新接入的负载的分配,改善负载不均衡的现象。Optionally, the information about the access capability of the P-CSCF is included in the status message, so that the PGW performs the allocation of the newly accessed load according to the information, thereby improving the load imbalance.
可选的,可以通过在状态消息中包括反应P-CSCF过载的信息,以使得PGW根据该信息,对过载的P-CSCF上的负载进行卸载,改善由于过载导致接入用户业务受损的现象。Optionally, the information about the overload of the P-CSCF may be included in the status message, so that the PGW unloads the load on the overloaded P-CSCF according to the information, thereby improving the phenomenon that the access user is damaged due to the overload. .
可选的,可以通过在状态消息中包括反应P-CSCF即将进行运维的信息,以使得PGW根据该信息,对即将进行运维的P-CSCF上的负载进行卸载,改善由于P-CSCF即将运维无法提供服务导致接入用户业务受损的现象。
Optionally, the information about the upcoming operation and maintenance of the P-CSCF may be included in the status message, so that the PGW unloads the load on the P-CSCF to be operated and operated according to the information, and the P-CSCF is soon to be improved. Operation and maintenance cannot provide services that cause damage to the access user's business.
需要说明的是,状态消息中包括的内容可以根据实际需求设定,本发明对此不进行具体限定。凡是PGW根据状态消息对所管理的P-CSCF上的负载进行管理的方案,均属于本发明的保护范围。It should be noted that the content included in the status message may be set according to actual requirements, which is not specifically limited in the present invention. Any scheme in which the PGW manages the load on the managed P-CSCF according to the status message belongs to the protection scope of the present invention.
本发明实施例提供的P-CSCF负载管理方法,通过接收PGW管理的每个P-CSCF发送的状态消息;根据状态消息,对PGW管理的每个P-CSCF上的负载进行管理。这样一来,由于状态消息由P-CSCF反馈,动态反应了每一个P-CSCF的当前状态,PGW根据该状态消息对每个P-CSCF上的负载进行管理(包括分配、迁移等管理方式),使得负载的分配更好的符合每一个P-CSCF当前接入能力,提高了负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险;PGW还可以将过载的P-CSCF或者即将运维的P-CSCF上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。The P-CSCF load management method provided by the embodiment of the present invention receives the status message sent by each P-CSCF managed by the PGW, and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration). Therefore, the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF; PGW can also overload the P- The CSCF or the load on the P-CSCF to be operated and unloaded is unloaded to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation, which improves the user experience.
实施例二Embodiment 2
本发明实施例二提供另一种P-CSCF负载管理方法,应用于PGW,参见图4,所述方法可以包括:The second embodiment of the present invention provides another P-CSCF load management method, which is applied to a PGW. Referring to FIG. 4, the method may include:
S401、接收PGW管理的每个P-CSCF发送的状态消息。S401. Receive a status message sent by each P-CSCF managed by the PGW.
其中,对于PGW接收PGW管理的每个P-CSCF发送的状态消息的方式,已经在实施例一中进行了详细描述,此处不再进行赘述。The manner in which the PGW receives the status message sent by each P-CSCF managed by the PGW has been described in detail in Embodiment 1, and details are not described herein.
可选的,一个P-CSCF的状态消息可以包括下述信息中的至少一项:用于指示该P-CSCF接入能力的负载信息、用于指示该P-CSCF当前是否过载的承载信息、用于指示该P-CSCF是否即将进行运维的维护信息。Optionally, the status message of the P-CSCF may include at least one of the following information: load information indicating the P-CSCF access capability, bearer information indicating whether the P-CSCF is currently overloaded, Maintenance information indicating whether the P-CSCF is about to be operated and maintained.
具体的,所述负载信息可以包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比。负载信息由P-CSCF统计获取后发送,本发明对于P-CSCF统计获取负载信息的具体方案不进行限定。
Specifically, the load information may include at least one of the following: the number of remaining ports that the P-CSCF can access, and the P-CSCF capacity occupancy ratio. The load information is sent by the P-CSCF and then sent. The specific solution of the P-CSCF for obtaining the load information is not limited.
其中,所述P-CSCF容量占用比可以为该P-CSCF已经接入的负载数量与其最大可接入负载数量的比值,也可以为该P-CSCF已经接入的负载数量和该P-CSCF最大可接入负载数量。本发明对于P-CSCF容量占用比的具体表示形式不进行限定。The P-CSCF capacity occupation ratio may be a ratio of the number of loads that the P-CSCF has accessed to the maximum number of accessible ports, or the number of loads that the P-CSCF has accessed and the P-CSCF. The maximum number of accessible loads. The present invention does not limit the specific representation of the capacity occupancy ratio of the P-CSCF.
具体的,所述承载信息由P-CSCF根据自身的负载信息判断自身过载时发送。Specifically, the bearer information is sent by the P-CSCF when it is judged to be overloaded according to its own load information.
其中,所述P-CSCF判断自身已接入的负载数量大于或等于第一预设门限值时称之为P-CSCF判断自身过载;或者,所述P-CSCF判断自身的中央处理器(Central Processing Unit,简称CPU)占用率大于或等于第二预设门限值时称之为P-CSCF判断自身过载;所述第一预设门限值可以小于或等于P-CSCF最大可接入负载数量;所述第二预设门限值可以小于或等于100%。Wherein, when the P-CSCF determines that the number of loads that it has accessed is greater than or equal to the first preset threshold, the P-CSCF determines that it is overloaded; or the P-CSCF determines its own central processor ( The central processing unit (CPU) is called the P-CSCF to determine that it is overloaded when the occupancy rate is greater than or equal to the second preset threshold. The first preset threshold may be less than or equal to the maximum access of the P-CSCF. The number of loads; the second preset threshold may be less than or equal to 100%.
具体的,所述维护信息由P-CSCF根据内部出现的运维指令,判断自身即将进行运维时发送。Specifically, the maintenance information is sent by the P-CSCF according to an operation and maintenance instruction that occurs internally, and is determined to be sent when the operation and maintenance are performed.
其中,所述进行运维包括但不限于:升级、下电等不能继续服务的操作。The operations and maintenance include, but are not limited to, operations such as upgrading, powering off, and the like that cannot continue service.
需要说明的是,对于状态消息中包括的信息的表示格式,可以采用字符形式,或者数字形式,本发明对此不进行具体限定。凡是交互双方共知即可。It should be noted that the format of the information included in the status message may be in the form of a character or a digital form, which is not specifically limited in the present invention. Any interaction between the two sides can be known.
优选的,若一个P-CSCF判断自身过载或者即将进行运维,则该P-CSCF的状态消息中可以不包括负载信息。Preferably, if a P-CSCF determines that it is overloaded or is about to perform operation and maintenance, the P-CSCF may not include load information in the status message.
优选的,若一个P-CSCF判断自身未过载或者不会即将进行运维,则该P-CSCF的状态消息中可以仅负载信息,而不包括承载信息或维护信息。Preferably, if a P-CSCF determines that it is not overloaded or is not going to perform operation and maintenance, the status message of the P-CSCF may only load information, and does not include bearer information or maintenance information.
优选的,当一个P-CSCF判断自身过载时,其状态信息中才包括承载信息。Preferably, when a P-CSCF judges that it is overloaded, the bearer information is included in the status information.
优选的,当一个P-CSCF判断自身即将进行运维时,其状态信息中才包括维护信息。Preferably, when a P-CSCF determines that it is about to perform operation and maintenance, the maintenance information is included in the status information.
进一步的,当PGW接收到管理的每一个P-CSCF发送的状态
消息之后,PGW需要根据状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理。Further, when the PGW receives the status of each P-CSCF managed by the PGW
After the message, the PGW needs to manage the load on each P-CSCF managed by the PGW according to the status message.
可选的,根据状态消息中包括的内容不同,PGW根据状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,可以选择性的执行S402、S403、S406、S409中任意一项。Optionally, the PGW manages the load on each P-CSCF managed by the PGW according to the status message according to the content included in the status message, and may selectively perform any one of S402, S403, S406, and S409. item.
具体的,若PGW接收到的状态消息中仅包括负载信息,则执行S402。Specifically, if only the load information is included in the status message received by the PGW, S402 is performed.
若PGW接收到的状态消息中包括承载信息时,执行S403。If the status message received by the PGW includes the bearer information, S403 is performed.
若PGW接收到的状态消息中包括运维信息时,执行S406。If the operation message received by the PGW includes operation and maintenance information, S406 is performed.
若PGW接收到的状态消息中包括运维信息和承载信息时,执行S409。If the status message received by the PGW includes the operation and maintenance information and the bearer information, S409 is performed.
S402、根据负载信息,向PGW管理的每个P-CSCF分配后续新接入的负载。S402. Allocating a load of a subsequent new access to each P-CSCF managed by the PGW according to the load information.
具体的,所述根据负载信息,向PGW管理的每个P-CSCF分配后续新接入的负载的过程,可以包括下述步骤A和步骤B:Specifically, the process of allocating a subsequent newly accessed load to each P-CSCF managed by the PGW according to the load information may include the following steps A and B:
步骤A、接收第一负载发送的P-CSCF地址请求消息;其中,所述第一负载为后续新接入的负载中任一负载。Step A: Receive a P-CSCF address request message sent by the first load, where the first load is any load of a subsequently newly accessed load.
步骤B、向第一负载反馈第一P-CSCF地址列表。Step B: Feed back the first P-CSCF address list to the first load.
其中,所述第一P-CSCF地址列表中包括至少一个所述PGW管理的P-CSCF的地址,优先级按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,优先级按照每个P-CSCF容量占用比从低到高依次排列。The first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or The priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
需要说明的是,若第一P-CSCF地址列表中仅包括一个PGW管理的P-CSCF的地址,则无需考虑优先级排列。It should be noted that if the address of the P-CSCF managed by the PGW is included in the first P-CSCF address list, the priority ranking need not be considered.
可选的,若第一P-CSCF地址列表中仅包括一个PGW管理的P-CSCF的地址,第一P-CSCF地址列表中仅包括的P-CSCF的地址是PGW管理的P-CSCF中剩余可接入的负载数量最高的。Optionally, if only the address of the P-CSCF managed by the PGW is included in the first P-CSCF address list, the address of the P-CSCF included in the first P-CSCF address list is the remaining in the P-CSCF managed by the PGW. The highest number of loads that can be accessed.
可选的,若第一P-CSCF地址列表中仅包括一个所述管辖内的未过载且未进行运维的P-CSCF的地址,第一P-CSCF地址列表中
仅包括的P-CSCF的地址是管辖内的未过载且未进行运维的P-CSCF中容量占用比最低的。Optionally, if the first P-CSCF address list includes only one address of the P-CSCF that is not overloaded and is not operated in the jurisdiction, the first P-CSCF address list is
The address of the P-CSCF included only is the lowest capacity occupancy ratio in the P-CSCF that is not overloaded and has not been operated.
示例性的,假设PGW1管理5个P-CSCF,分别记录为代理1、代理2、代理3、代理4、代理5;Exemplarily, it is assumed that PGW1 manages five P-CSCFs, which are respectively recorded as proxy 1, proxy 2, proxy 3, proxy 4, and proxy 5;
在某一时刻,PGW1接收到管辖内的3个P-CSCF各自发送的状态消息(仅包括负载信息)分别为:At some point, PGW1 receives the status messages (including load information only) sent by the three P-CSCFs within the jurisdiction:
代理1的状态消息:剩余可接入的负载数量100、已接入负载数量200;Status message of agent 1: the number of remaining accessible ports is 100, and the number of connected loads is 200;
代理2的状态消息:剩余可接入的负载数量150、已接入负载数量100;Status message of the agent 2: the number of remaining accessible ports 150, the number of connected loads 100;
代理3的状态消息:剩余可接入的负载数量300、已接入负载数量50;Status message of agent 3: the number of remaining accessible ports 300, the number of connected loads 50;
因此,PGW1可按照状态消息中的负载信息向管理的3个P-CSCF(代理1、代理2、代理3)分配后续新接入的负载。Therefore, PGW1 can allocate the subsequent newly accessed load to the managed 3 P-CSCFs (Proxy 1, Agent 2, Agent 3) according to the load information in the status message.
可选的,PGW1按照状态消息中的负载信息向管理的3个P-CSCF(代理1、代理2、代理3)分配后续新接入的负载的方案至少可以有以下两种方案:Optionally, the solution that the PGW1 allocates the subsequent newly accessed load to the managed three P-CSCFs (Proxy 1, Agent 2, and Agent 3) according to the load information in the status message may have at least the following two schemes:
方案1:plan 1:
从上述状态消息中的负载信息可知,代理1、代理2、代理3的剩余可接入的负载数量分别为:100、150、300;It can be seen from the load information in the above status message that the remaining loadable capacities of the proxy 1, the proxy 2, and the proxy 3 are respectively: 100, 150, 300;
当PGW1接收到新接入的负载发送的P-CSCF地址请求消息时,PGW1可以按照负荷分担的原则,按照100∶150∶300(即2∶3∶6)的权重比值,依次向代理1、代理2、代理3分配新接入的负载。When PGW1 receives the P-CSCF address request message sent by the newly accessed load, PGW1 may sequentially send the proxy to the proxy according to the weight ratio of 100:150:300 (ie, 2:3:6) according to the load sharing principle. Agent 2, Agent 3 allocates the load of the new access.
可选的,PGW1可以先向代理1分配2个负载,再向代理2分配3个负载,再向代理3分配6个负载,之后重复执行。Optionally, PGW1 may first allocate 2 loads to the agent 1, then allocate 3 loads to the agent 2, and then allocate 6 loads to the agent 3, and then repeat the execution.
当然,PGW1也可以先向代理2分配负载,还可以先向代理3分配负载,本发明对于该示例中向代理1、代理2、代理3分配新接入的负载的顺序不进行限定,只需按照2∶3∶6的权重比值依次分配即可。
Of course, PGW1 may also first distribute the load to the agent 2, and may also first distribute the load to the agent 3. The present invention does not limit the order of assigning the newly accessed load to the agent 1, the agent 2, and the agent 3 in this example. It can be distributed in order according to the weight ratio of 2:3:6.
方案2:Scenario 2:
从上述状态消息中的负载信息可知,代理1、代理2、代理3的容量占用比分别为:200/(100+200)、100/(150+100)、50/(300+50),即分别为:66.7%、40%、14.3%;It can be seen from the load information in the above status message that the capacity occupation ratios of the agent 1, the agent 2, and the agent 3 are respectively: 200/(100+200), 100/(150+100), 50/(300+50), that is, They are: 66.7%, 40%, 14.3%;
当PGW1接收到新接入的负载发送的P-CSCF地址请求消息时,PGW1按照三个P-CSCF的容量占用比从低到高的顺序依次分配新接入的负载,以使得各个P-CSCF的容量占用比尽可能接近。When PGW1 receives the P-CSCF address request message sent by the newly accessed load, PGW1 allocates the newly accessed load in order of the capacity occupation ratio of the three P-CSCFs from low to high, so that each P-CSCF The capacity occupancy ratio is as close as possible.
示例性的,PGW1可以优先向代理3分配新接入的负载。Exemplarily, PGW1 may preferentially assign the newly accessed load to the agent 3.
具体的,在上述两个方案中,若采用PGW1向代理1分配负载,具体可以实现为:Specifically, in the foregoing two solutions, if the load is allocated to the proxy 1 by using the PGW1, the specific implementation may be as follows:
当PGW1接收到一个新接入的负载发送的P-CSCF地址请求消息时,PGW1则可以向这个新接入的负载反馈P-CSCF地址列表为:代理1的地址;或者,PGW1则可以向这个新接入的负载反馈P-CSCF地址列表为:代理1的地址、代理2的地址、代理3的地址。When PGW1 receives a P-CSCF address request message sent by a newly accessed load, PGW1 may feed back the P-CSCF address list to the load of the new access as: the address of the proxy 1; or, PGW1 may go to this The newly accessed load feedback P-CSCF address list is: the address of the agent 1, the address of the agent 2, and the address of the agent 3.
S403、判断PGW管理的P-CSCF中是否存在第一P-CSCF。S403. Determine whether the first P-CSCF exists in the P-CSCF managed by the PGW.
其中,所述第一P-CSCF为PGW管理的P-CSCF中状态消息中的承载信息指示P-CSCF过载的P-CSCF。The first P-CSCF is a P-CSCF in which the bearer information in the status message in the P-CSCF managed by the PGW indicates that the P-CSCF is overloaded.
具体的,若PGW管理的P-CSCF中存在第一P-CSCF,则执行S404和S405。Specifically, if the first P-CSCF exists in the P-CSCF managed by the PGW, S404 and S405 are performed.
若PGW管理的P-CSCF中不存在第一P-CSCF,则执行S402。If the first P-CSCF does not exist in the P-CSCF managed by the PGW, S402 is performed.
S404、对第一P-CSCF进行负载迁移,直至第一P-CSCF不过载。S404. Perform load migration on the first P-CSCF until the first P-CSCF is not overloaded.
具体的,参见图4A、所述对第一P-CSCF进行负载迁移的方法,可以包括:Specifically, referring to FIG. 4A, the method for performing load migration on the first P-CSCF may include:
S4041、扫描用户上下文,获取接入第一P-CSCF的负载。S4041: Scan a user context, and obtain a load that accesses the first P-CSCF.
其中,所述用户上下文为PGW中存储的,包括管辖内的每个P-CSCF与接入P-CSCF的负载的对应关系。
The user context is stored in the PGW, and includes a correspondence between each P-CSCF in the jurisdiction and a load that accesses the P-CSCF.
示例性的,如表1所示,示意了一种用户上下文;Illustratively, as shown in Table 1, a user context is illustrated;
表1Table 1
管辖内的P-CSCF的标识Identification of the P-CSCF within the jurisdiction | 接入该P-CSCF的负载标识Load identifier of the P-CSCF |
11 | UE1、UE3UE1, UE3 |
22 | UE2、UE4、UE8UE2, UE4, UE8 |
33 | UE5、UE6UE5, UE6 |
55 | UE7UE7 |
……...... | ……...... |
需要说明的是,表1只是以示例的形式,举例说明用户上下文的包括的内容,并不是对用户上下文的形式及内容的具体限定。在实际应用中,可以根据实际需求确定用户上下文的形式和内容,本发明对此不进行具体限定。It should be noted that 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. In the actual application, the form and content of the user context can be determined according to actual needs, which is not specifically limited by the present invention.
示例性的,假设PGW2接收到P-CSCF3的状态消息中包括承载信息指示P-CSCF3过载,PGW2扫描内部的如表1所示的用户上下文,可以获取接入P-CSCF3的负载为UE5、UE6。Illustratively, it is assumed that the status message that the PGW2 receives the P-CSCF3 includes the bearer information indicating that the P-CSCF3 is overloaded, and the PGW2 scans the internal user context as shown in Table 1, and can obtain the load of accessing the P-CSCF3 as the UE5 and the UE6. .
S4042、按照预设速率,分批向接入第一P-CSCF的负载分别发送第二P-CSCF地址列表,以指示接入第一P-CSCF的负载进行迁移。S4042: Send a second P-CSCF address list to the load that accesses the first P-CSCF in batches according to the preset rate, to indicate that the load connected to the first P-CSCF is migrated.
其中,所述第二P-CSCF地址列表不包含所述第一P-CSCF的地址。The second P-CSCF address list does not include an address of the first P-CSCF.
可选的,第二P-CSCF地址列表中包括的P-CSCF地址的优先级,按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,按照每个P-CSCF容量占用比从低到高依次排列。Optionally, the priority of the P-CSCF address included in the second P-CSCF address list is ranked according to the number of remaining accessible loads of each P-CSCF from highest to lowest, or, according to each P- The CSCF capacity occupancy ratio is arranged in order from low to high.
由于向接入第一P-CSCF的负载发送的第二P-CSCF地址列表
中不包含所述第一P-CSCF的地址,使得接收到第二P-CSCF地址列表的负载可以重新注册到第二P-CSCF地址列表中包括的其他P-CSCF上,实现了负载的迁移。List of second P-CSCF addresses sent to the load accessing the first P-CSCF
The address of the first P-CSCF is not included, so that the load that receives the second P-CSCF address list can be re-registered to other P-CSCFs included in the second P-CSCF address list, thereby implementing load migration. .
具体的,预设速率指示了可同时发送信息的数量,因此,按照预设速率,分批向接入第一P-CSCF的负载分别发送第二P-CSCF地址列表,是指每次向接入第一P-CSCF的负载中的预设速率指示的个数个负载发送第二P-CSCF地址列表,其余的下批发送。Specifically, the preset rate indicates the number of information that can be simultaneously sent. Therefore, the second P-CSCF address list is sent to the load of the first P-CSCF in batches according to the preset rate, which means that each time the connection is forwarded. A plurality of loads indicated by the preset rate in the load of the first P-CSCF transmit a second P-CSCF address list, and the remaining ones are sent in the next batch.
可选的,预设速率小于或等于PGW的处理能力。预设速率可以根据实际需求设定,本发明对此不进行具体限定。Optionally, 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.
优选的,预设速率等于PGW的处理能力Preferably, the preset rate is equal to the processing power of the PGW
示例性的,假设PGW的处理能力为每秒钟可以与100个P-CSCF交互,那么预设速率则可以为每秒钟向小于或等于100/秒,即可以每秒钟向小于100个接入第一P-CSCF的负载发送第二P-CSCF地址列表。Exemplarily, assuming that the processing power of the PGW can be interacted with 100 P-CSCFs per second, the preset rate can be less than or equal to 100/sec per second, that is, less than 100 connections per second. The load entering the first P-CSCF sends a second P-CSCF address list.
示例性的,以上述步骤1中的示例为基础,若PGW的处理能力为每秒钟可以与100个P-CSCF交互,那么PGW2则可以同时向UE5、UE6发送第二P-CSCF地址列表。Exemplarily, based on the example in step 1 above, if the processing capability of the PGW is to be able to interact with 100 P-CSCFs per second, then PGW2 may simultaneously send the second P-CSCF address list to UE5 and UE6.
需要说明的是,当按照预设速率分批发送第二P-CSCF地址列表时,若检测到PGW的开销过大,还可以降低预设速率发送,以提高PGW性能。It should be noted that when the second P-CSCF address list is sent in batches according to the preset rate, if the overhead of detecting the PGW is too large, the preset rate transmission may be reduced to improve the PGW performance.
进一步的,对于PGW获取的接入第一P-CSCF的负载,可能存在正在通话的负载,因此,所述按照预设速率,分批向所述接入所述第一P-CSCF的负载分别发送第二P-CSCF地址列表,可以包括:Further, for the load that is acquired by the PGW to access the first P-CSCF, there may be a load that is being called. Therefore, the load to the first P-CSCF in batches is respectively determined according to a preset rate. Sending a second P-CSCF address list may include:
按照所述预设速率,分批向在所述接入第一P-CSCF的负载中未进行通话的负载分别发送所述第二P-CSCF地址列表。And transmitting, according to the preset rate, the second P-CSCF address list to the load that is not in the load of the first P-CSCF.
进一步的,接入第一P-CSCF的负载中正在进行通话的负载,待通话结束后,向其发送第二P-CSCF地址列表。
Further, the load of the call that is being connected to the load of the first P-CSCF is sent to the second P-CSCF address list after the call ends.
需要说明的是,对于PGW向负载发送P-CSCF地址列表,可以通过SGi接口直接发送,也可以通过PCRF的转发发送,本发明对此不进行具体限定。It should be noted that, the PGW sends the P-CSCF address list to the load, and may be directly sent by the SGi interface or may be forwarded by the PCRF.
还需要说明的是,对于PGW向负载发送P-CSCF地址列表,可以采用当前已有的交互消息携带需要发送的P-CSCF地址列表实现,也可以采用专有消息的形式实现,本发明对此也不进行具体限定。It should be noted that, for the PGW to send the P-CSCF address list to the load, the current existing interactive message may be implemented by using the P-CSCF address list that needs to be sent, or may be implemented in the form of a proprietary message. Nor is it specifically limited.
可选的,在上述S4042之后,所述对第一P-CSCF进行负载迁移的方法还可以包括下述S4043至S4045:Optionally, after the foregoing S4042, the method for performing load migration on the first P-CSCF may further include the following S4043 to S4045:
S4043、若在预设时长之后,未接收到第二负载更新P-CSCF地址的消息,则向第二负载发送IMS PND连接释放消息,以指示第二负载断开当前IMS PDN连接。S4043. If the second load update P-CSCF address message is not received after the preset duration, send an IMS PND connection release message to the second load to instruct the second load to disconnect the current IMS PDN connection.
其中,所述IMS PDN连接释放消息包括指示信息,用于指示第二负载立刻重新发起IMS PDN建立请求;第二负载为被发送所述P-CSCF地址列表的负载中的任一负载。The IMS PDN connection release message includes indication information for indicating that the second load immediately re-initiates the IMS PDN establishment request; and the second load is any load of the load that is sent by the P-CSCF address list.
可选的,所述指示信息可以为需要重新激活(Reactivation requested)原因值。Optionally, the indication information may be a Reactivation requested cause value.
具体的,所述预设时长可以采用定时器来实现,即向第二负载发送第二P-CSCF地址列表之后,即启动定时器,当定时器超时,则预设时长结束。Specifically, the preset duration may be implemented by using a timer, that is, after the second P-CSCF address list is sent to the second load, the timer is started, and when the timer expires, the preset duration ends.
需要说明的是,预设时长的具体取值,可以根据实际需求设定,本发明对此不进行具体限定。其中,预设时长设定的越长,判断准确性越好,但系统实现要求越高;预设时长设定的越短,判断准确性稍低,系统实现成本越低。It should be noted that the specific value of the preset duration may be set according to actual requirements, which is not specifically limited in the present invention. Among them, the longer the preset duration is set, the better the judgment accuracy is, but the higher the system implementation requirement is; the shorter the preset duration is set, the judgment accuracy is slightly lower, and the system implementation cost is lower.
优选的,预设时长设定为10秒。Preferably, the preset duration is set to 10 seconds.
在预设时长之后,若未接收到第二负载更新P-CSCF地址的消息,则说明第二负载迁移不成功,则需要执行步骤3到步骤4使得第二负载重新注册,以达到迁移的目的;避免过载造成第二负载的通话受损。
After the preset duration, if the second load update P-CSCF address message is not received, the second load migration is unsuccessful, and step 3 to step 4 are required to re-register the second load for the purpose of migration. Avoid overloading the call of the second load.
可选的,第二负载更新P-CSCF地址的消息可以为S109中的AAR消息。Optionally, the message that the second load updates the P-CSCF address may be an AAR message in S109.
S4044、接收第二负载发送的IMS PDN建立请求。S4044. Receive an IMS PDN setup request sent by the second load.
S4045、向第二负载反馈第二P-CSCF地址列表。S4045: Feed back a second P-CSCF address list to the second load.
需要说明的是,S4044和S4045与S103和S104相同,此处不再进行赘述。It should be noted that S4044 and S4045 are the same as S103 and S104, and details are not described herein.
进一步的,当对第一P-CSCF进行负载迁移后,新接入的负载将不向第一P-CSCF分配。Further, after load migration of the first P-CSCF, the newly accessed load will not be allocated to the first P-CSCF.
S405、根据状态消息,向PGW管理的P-CSCF中除第一P-CSCF之外的P-CSCF分配后续新接入的负载。S405. According to the status message, allocate a subsequent new access load to the P-CSCF except the first P-CSCF in the P-CSCF managed by the PGW.
进一步的,在所述状态消息包括用于指示P-CSCF是否过载的承载信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息。Further, on the basis that the status message includes bearer information indicating whether the P-CSCF is overloaded, the status message may further include load information indicating a P-CSCF access capability.
具体的,在S405中,根据状态消息,向PGW管理的P-CSCF中除第一P-CSCF之外的P-CSCF分配后续新接入的负载,包括:Specifically, in S405, according to the status message, the P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a subsequent new access load, including:
根据负载信息,向PGW管理的P-CSCF中除第一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, the P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access.
需要说明的是,S405中根据负载信息,向PGW管理的P-CSCF中除第一P-CSCF之外的P-CSCF分配后续新接入的负载,与S402根据负载信息,向PGW管理的每个P-CSCF分配后续新接入的负载的过程相似,仅仅是PGW向新接入的负载反馈的P-CSCF地址列表中不包括第一P-CSCF。It should be noted that, in S405, according to the load information, a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a subsequent new access load, and the S402 manages to the PGW according to the load information. The process in which the P-CSCF allocates the subsequent newly accessed load is similar, except that the P-CSCF address list that the PGW feeds back to the newly accessed load does not include the first P-CSCF.
示例性的,假设PGW1管辖5个P-CSCF,分别记录为代理1、代理2、代理3、代理4、代理5;Exemplarily, it is assumed that PGW1 governs 5 P-CSCFs, which are respectively recorded as Agent 1, Agent 2, Agent 3, Agent 4, and Agent 5;
在某一时刻,PGW1接收到管辖内的5个P-CSCF各自发送的状态消息分别为:At a certain moment, the status messages sent by PGW1 to each of the five P-CSCFs within the jurisdiction are:
代理1的状态消息:剩余可接入的负载数量100、已接入负载数量200;Status message of agent 1: the number of remaining accessible ports is 100, and the number of connected loads is 200;
代理2的状态消息:剩余可接入的负载数量150、已接入负载
数量100;Status message of agent 2: the number of remaining accessible ports 150, the connected load
Quantity 100;
代理3的状态消息:已过载;Status message of agent 3: overloaded;
代理4的状态消息:剩余可接入的负载数量300、已接入负载数量50;Status message of the agent 4: the remaining loadable number of 300, the number of connected loads is 50;
因此,代理3已过载,则执行S404对其进行负载迁移。Therefore, the agent 3 is overloaded, and then S404 is performed to perform load migration.
PGW1可按照状态消息中的负载信息,向(代理1、代理2、代理4)分配后续新接入的负载;对于具体分配的过程,已经在S402中进行了详细描述,此处不再进行赘述。The PGW1 can allocate the load of the subsequent new access to the agent (the agent 1, the agent 2, the agent 4) according to the load information in the status message. The process of the specific allocation has been described in detail in S402, and will not be described again here. .
S406、判断PGW管理的P-CSCF中是否存在第二P-CSCF。S406. Determine whether a second P-CSCF exists in the P-CSCF managed by the PGW.
其中,所述所述第二P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维的P-CSCF。The second P-CSCF is a P-CSCF indicating that the P-CSCF is to be operated and maintained by the maintenance information in the status message in the P-CSCF managed by the PGW.
具体的,若PGW管理的P-CSCF中存在第二P-CSCF,则执行S407和S408。Specifically, if the second P-CSCF exists in the P-CSCF managed by the PGW, S407 and S408 are performed.
若PGW管理的P-CSCF中不存在第二P-CSCF,则执行S402。If the second P-CSCF does not exist in the P-CSCF managed by the PGW, S402 is performed.
S407、对第二P-CSCF进行负载迁移,直至所述第二P-CSCF上无负载接入。S407. Perform load migration on the second P-CSCF until no load is received on the second P-CSCF.
需要说明的是,对于PGW对P-CSCF进行负载迁移的具体过程,已经在S404中进行了详细描述,此处不再进行赘述。It should be noted that the specific process of performing load migration on the P-CSCF by the PGW has been described in detail in S404, and details are not described herein.
进一步的,当对第二P-CSCF进行负载迁移后,新接入的负载将不向第二P-CSCF分配。Further, after load migration of the second P-CSCF, the newly accessed load will not be allocated to the second P-CSCF.
S408、根据状态消息,向PGW管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载。S408. According to the status message, allocate a subsequent new access load to the P-CSCF except the second P-CSCF in the P-CSCF managed by the PGW.
进一步的,在所述状态消息包括用于指示P-CSCF是否即将运维的维护信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息。Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated and operated, the status message may further include load information for indicating a P-CSCF access capability.
具体的,在S408中,根据状态消息,向PGW管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载,包括:Specifically, in S408, according to the status message, the P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access, including:
根据负载信息,向PGW管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载。
According to the load information, the P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access.
需要说明的是,S408中根据负载信息,向PGW管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载,与S402根据负载信息,向PGW管理的每个P-CSCF分配后续新接入的负载的过程相似,仅仅是PGW向新接入的负载反馈的P-CSCF地址列表中不包括第二P-CSCF。It should be noted that, in S408, according to the load information, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a subsequent new access load, and S402 manages each of the PGWs according to the load information. The process in which the P-CSCF allocates the subsequent newly accessed load is similar, except that the P-CSCF address list that the PGW feeds back to the newly accessed load does not include the second P-CSCF.
示例性的,假设PGW1管辖5个P-CSCF,分别记录为代理1、代理2、代理3、代理4、代理5;Exemplarily, it is assumed that PGW1 governs 5 P-CSCFs, which are respectively recorded as Agent 1, Agent 2, Agent 3, Agent 4, and Agent 5;
在某一时刻,PGW1接收到管辖内的5个P-CSCF各自发送的状态消息分别为:At a certain moment, the status messages sent by PGW1 to each of the five P-CSCFs within the jurisdiction are:
代理1的状态消息:剩余可接入的负载数量100、已接入负载数量200;Status message of agent 1: the number of remaining accessible ports is 100, and the number of connected loads is 200;
代理2的状态消息:剩余可接入的负载数量150、已接入负载数量100;Status message of the agent 2: the number of remaining accessible ports 150, the number of connected loads 100;
代理3的状态消息:即将进行运维;Status message of agent 3: Operation and maintenance are about to be carried out;
代理4的状态消息:剩余可接入的负载数量300、已接入负载数量50;Status message of the agent 4: the remaining loadable number of 300, the number of connected loads is 50;
因此,代理3即将进行运维,则执行S407对其进行负载迁移。Therefore, the agent 3 is about to perform operation and maintenance, and then performs load migration on S407.
PGW1可按照状态消息中的负载信息,向(代理1、代理2、代理4)分配后续新接入的负载;对于具体分配的过程,已经在S402中进行了详细描述,此处不再进行赘述。The PGW1 can allocate the load of the subsequent new access to the agent (the agent 1, the agent 2, the agent 4) according to the load information in the status message. The process of the specific allocation has been described in detail in S402, and will not be described again here. .
S409、判断PGW管理的P-CSCF中是否存在第三P-CSCF。S409. Determine whether a third P-CSCF exists in the P-CSCF managed by the PGW.
其中,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF不即将运维,且状态消息中的承载信息指示P-CSCF过载的P-CSCF;或者,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维,且状态消息中的承载信息指示P-CSCF不过载的P-CSCF。The third P-CSCF indicates that the maintenance information in the status message in the P-CSCF managed by the PGW indicates that the P-CSCF is not about to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is overloaded by the P-CSCF. Or the third P-CSCF indicates that the P-CSCF is to be operated and maintained for the maintenance information in the status message in the P-CSCF managed by the PGW, and the bearer information in the status message indicates that the P-CSCF is not overloaded. CSCF.
具体的,若PGW管理的P-CSCF中存在第三P-CSCF,则执行
S410和S411。Specifically, if a third P-CSCF exists in the P-CSCF managed by the PGW, execution is performed.
S410 and S411.
若PGW管理的P-CSCF中不存在第三P-CSCF,则执行S402。If the third P-CSCF does not exist in the P-CSCF managed by the PGW, S402 is performed.
S410、对第三P-CSCF进行负载迁移。S410. Perform load migration on the third P-CSCF.
具体的,若所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF不即将运维,且状态消息中的承载信息指示P-CSCF过载的P-CSCF,则对第三P-CSCF进行负载迁移直至第三P-CSCF不过载。Specifically, if the third P-CSCF indicates that the P-CSCF is not about to be operated and maintained, the maintenance information in the status message in the P-CSCF managed by the PGW, and the bearer information in the status message indicates that the P-CSCF is overloaded. -CSCF, then load migration of the third P-CSCF until the third P-CSCF is not overloaded.
若所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维,且状态消息中的承载信息指示P-CSCF不过载的P-CSCF,则对第三P-CSCF进行负载迁移直至第三P-CSCF上无负载接入。If the third P-CSCF indicates that the P-CSCF is to be operated and maintained in the maintenance information in the status message in the P-CSCF managed by the PGW, and the bearer information in the status message indicates that the P-CSCF is not overloaded, the P-CSCF is not overloaded. Then, the third P-CSCF is subjected to load migration until no load is accessed on the third P-CSCF.
需要说明的是,对于PGW对P-CSCF进行负载迁移的具体过程,已经在S404中进行了详细描述,此处不再进行赘述。It should be noted that the specific process of performing load migration on the P-CSCF by the PGW has been described in detail in S404, and details are not described herein.
进一步的,当对第三P-CSCF进行负载迁移后,新接入的负载将不向第三P-CSCF分配。Further, after load migration of the third P-CSCF, the newly accessed load will not be allocated to the third P-CSCF.
S411、根据状态消息,向PGW管理的P-CSCF中除第三P-CSCF之外的P-CSCF分配后续新接入的负载。S411. According to the status message, allocate a subsequent new access load to the P-CSCF except the third P-CSCF in the P-CSCF managed by the PGW.
进一步的,在所述状态消息包括用于指示P-CSCF是否即将运维的维护信息及用于指示P-CSCF是否过载的承载信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息。Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated and maintained, and bearer information indicating whether the P-CSCF is overloaded, the status message may further include Load information of CSCF access capability.
具体的,在S411中,根据状态消息,向PGW管理的P-CSCF中除第三P-CSCF之外的P-CSCF分配后续新接入的负载,包括:Specifically, in S411, according to the status message, the P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access, including:
根据负载信息,向PGW管理的P-CSCF中除第三P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, the P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of the subsequent new access.
需要说明的是,S411中根据负载信息,向PGW管理的P-CSCF中除第三P-CSCF之外的P-CSCF分配后续新接入的负载,与S402根据负载信息,向PGW管理的每个P-CSCF分配后续新接入的负载的过程相似,仅仅是PGW向新接入的负载反馈的P-CSCF地址
列表中不包括第三P-CSCF。It should be noted that, in S411, according to the load information, the P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a subsequent new access load, and the S402 manages to the PGW according to the load information. The process in which the P-CSCF allocates the subsequent newly accessed load is similar, and is only the P-CSCF address that the PGW feeds back to the newly accessed load.
The third P-CSCF is not included in the list.
S412、不再向进行负载迁移的P-CSCF分配新接入的负载。S412. The newly accessed load is no longer allocated to the P-CSCF that performs load migration.
本发明实施例提供的P-CSCF负载管理方法,通过接收PGW管理的每个P-CSCF发送的状态消息;根据状态消息,对PGW管理的每个P-CSCF上的负载进行管理。这样一来,由于状态消息由P-CSCF反馈,动态反应了每一个P-CSCF的当前状态,PGW根据该状态消息对每个P-CSCF上的负载进行管理(包括分配、迁移等管理方式),使得负载的分配更好的符合每一个P-CSCF当前接入能力,提高了负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险;PGW还可以将过载的P-CSCF或者即将运维的P-CSCF上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。The P-CSCF load management method provided by the embodiment of the present invention receives the status message sent by each P-CSCF managed by the PGW, and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration). Therefore, the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF; PGW can also overload the P- The CSCF or the load on the P-CSCF to be operated and unloaded is unloaded to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation, which improves the user experience.
进一步的,由于在迁移中设置了预设时长,避免了由于负载兼容性问题造成的迁移失败,也将避免负载的通话受损的现象。Further, since the preset duration is set in the migration, migration failure due to load compatibility problems is avoided, and the call loss of the load is also avoided.
实施例三Embodiment 3
本发明实施例三提供再一种P-CSCF负载管理方法,以EPC网络与IMS网络中各个单元的交互为例,详细描述图3或图4所示的方法。其中,PGW通过SGi接口与P-CSCF直接交互的过程为例。The third embodiment of the present invention provides a P-CSCF load management method. The method shown in FIG. 3 or FIG. 4 is described in detail by taking the interaction between the EPC network and each unit in the IMS network as an example. The process in which the PGW directly interacts with the P-CSCF through the SGi interface is taken as an example.
假设PGW管理2个P-CSCF,分别记录为P-CSCF A、P-CSCF B。It is assumed that the PGW manages two P-CSCFs, which are recorded as P-CSCF A and P-CSCF B, respectively.
参见图5,所述方法可以包括:Referring to FIG. 5, the method may include:
S501、PGW通过SGi接口分别接收P-CSCF A和P-CSCF B发送的包含负载信息的状态消息。S501. The PGW receives the status message including the load information sent by the P-CSCF A and the P-CSCF B through the SGi interface.
示例性的,PGW接收到的P-CSCF A发送的状态消息中的负载信息为:容量占用比30%;PGW接收到的P-CSCF B发送的状态消息中的负载信息为:容量占用比50%。Exemplarily, the load information in the status message sent by the P-CSCF A received by the PGW is: the capacity occupancy ratio is 30%; the load information in the status message sent by the P-CSCF B received by the PGW is: the capacity occupancy ratio is 50. %.
S502、PGW接收UE1发送的P-CSCF地址请求消息。S502. The PGW receives the P-CSCF address request message sent by the UE1.
其中,所述UE1为后续新接入的负载中任意一个。
The UE1 is any one of the subsequent newly accessed loads.
具体的,所述UE1发送的P-CSCF地址请求消息,是通过MME、HSS、SGW逐级转发接收的。Specifically, the P-CSCF address request message sent by the UE1 is forwarded and received by the MME, the HSS, and the SGW.
S503、PGW向UE1反馈P-CSCF地址列表。S503. The PGW feeds back the P-CSCF address list to the UE1.
其中,所述P-CSCF地址列表中包括P-CSCF A的地址和P-CSCF B的地址,P-CSCF A的地址的优先级高于P-CSCF B的地址。The P-CSCF address list includes an address of the P-CSCF A and an address of the P-CSCF B, and the address of the P-CSCF A has a higher priority than the address of the P-CSCF B.
具体的,PGW向UE1反馈P-CSCF地址列表,是通过SGW、HSS、MME逐级转发发送。Specifically, the PGW feeds back the P-CSCF address list to the UE1, and the PGW is forwarded and transmitted by the SGW, the HSS, and the MME.
在S503之后,UE1注册IMS的过程,已经在实施例一中进行了详细描述,此处不再进行赘述。The process of registering the IMS by the UE1 after S503 has been described in detail in Embodiment 1, and details are not described herein again.
S504、PGW通过SGi接口接收P-CSCF A发送的包括承载信息的状态消息。S504. The PGW receives, by using the SGi interface, a status message that is sent by the P-CSCF A and includes the bearer information.
其中,所述状态消息中的承载信息指示P-CSCF A过载。The bearer information in the status message indicates that the P-CSCF A is overloaded.
S505、PGW扫描用户上下文,获取接入P-CSCF A的负载。S505. The PGW scans the user context and obtains a load that accesses the P-CSCF A.
示例性的,假设PGW扫描用户上下文,获取接入P-CSCF A的负载有20个,依次分别记录为UE2~UE21。Exemplarily, it is assumed that the PGW scans the user context, and the load of accessing the P-CSCF A is 20, which are sequentially recorded as UE2 to UE21.
S506、PGW按照预设速率,向接入P-CSCF A的负载中的负载中未进行通话的5个负载发送更新后的P-CSCF地址列表,并分别启动定时器。S506. The PGW sends the updated P-CSCF address list to the five loads that are not in the load of the load connected to the P-CSCF A according to the preset rate, and starts the timer respectively.
具体的,PGW按照预设速率,向接入P-CSCF A的负载中的负载中未进行通话的5个负载发送更新后的P-CSCF地址列表,是通过SGW、HSS、MME逐级转发发送。Specifically, the PGW sends the updated P-CSCF address list to the five bears that are not in the load of the load connected to the P-CSCF A according to the preset rate, and is forwarded by the SGW, the HSS, and the MME. .
其中,预设速率为每秒钟处理5个。Among them, the preset rate is 5 per second.
假设PGW向UE2~UE21中未进行通话的UE3、UE6、UE8、UE10、UE12发送更新后的P-CSCF地址列表。It is assumed that the PGW transmits the updated P-CSCF address list to UE3, UE6, UE8, UE10, and UE12 that are not in the UE2 to UE21.
所述更新后的P-CSCF地址列表不包P-CSCF A的地址,仅包含P-CSCF B的地址。The updated P-CSCF address list does not include the address of the P-CSCF A, and only includes the address of the P-CSCF B.
假设在定时器超时前,PGW接收P-CSCF B发送的UE3、UE6、UE8、UE10更新P-CSCF地址的消息,P-CSCF B发送的
UE3、UE6、UE8、UE10更新P-CSCF地址的消息中包括了UE3、UE6、UE8、UE10的标识,用于指示UE3、UE6、UE8、UE10已经重新接入了P-CSCF B,实现了从P-CSCF A迁移至P-CSCF B。It is assumed that before the timer expires, the PGW receives the message that the UE3, UE6, UE8, and UE10 sent by the P-CSCF B update the P-CSCF address, and the P-CSCF B sends the message.
The message that the UE3, the UE6, the UE8, and the UE10 update the P-CSCF address includes the identifiers of the UE3, the UE6, the UE8, and the UE10, and is used to indicate that the UE3, the UE6, the UE8, and the UE10 have re-accessed the P-CSCF B. P-CSCF A is migrated to P-CSCF B.
需要说明的是,P-CSCF B发送的UE3、UE6、UE8、UE10更新P-CSCF地址的消息可以为一条消息,也可以为多条消息,本发明对此不进行具体限定。It should be noted that the message that the UE3, the UE6, the UE8, and the UE10 that are sent by the P-CSCF B to update the P-CSCF address may be a message or a plurality of messages, which is not specifically limited in the present invention.
进一步的,若在定时器超时后,PGW未接收P-CSCF B发送的UE12更新P-CSCF地址的消息,则执行S507。Further, if the PGW does not receive the message that the UE 12 sent by the P-CSCF B updates the P-CSCF address after the timer expires, S507 is performed.
S507、PGW向UE12发送IMS PND连接释放消息。S507. The PGW sends an IMS PND connection release message to the UE 12.
其中,所述IMS PDN连接释放消息包括reactivation requested原因值。The IMS PDN connection release message includes a reactivation requested cause value.
具体的,PGW PGW向UE12发送IMS PND连接释放消息,是通过SGW、HSS、MME逐级转发发送。Specifically, the PGW PGW sends an IMS PND connection release message to the UE 12, which is forwarded and sent by the SGW, the HSS, and the MME.
S508、PGW接收UE12发送的IMS PDN建立请求并向U12反馈更新后的P-CSCF地址列表,以使得UE12完成IMS重新注册。S508. The PGW receives the IMS PDN setup request sent by the UE12 and feeds back the updated P-CSCF address list to the U12, so that the UE12 completes the IMS re-registration.
S509、PGW接收到P-CSCF A发送的包括负载信息的状态信息,结束P-CSCF A的负载迁移。S509. The PGW receives the status information including the load information sent by the P-CSCF A, and ends the load migration of the P-CSCF A.
S510、PGW接收到P-CSCF B发送的包含维护信息的状态消息,开始对P-CSCF B进行负载迁移,直至第二P-CSCF上无负载接入。S510: The PGW receives the status message that is sent by the P-CSCF B and includes the maintenance information, and starts to perform load migration on the P-CSCF B until no load is accessed on the second P-CSCF.
具体的,在S510中对P-CSCF B进行负载迁移的过程与S505至S508对P-CSCF A进行负载迁移的过程相同,此处不再进行赘述。Specifically, the process of performing load migration on the P-CSCF B in S510 is the same as the process of performing load migration on the P-CSCF A in S505 to S508, and details are not described herein.
本发明实施例提供的P-CSCF负载管理方法,通过接收PGW管理的每个P-CSCF发送的状态消息;根据状态消息,对PGW管理的每个P-CSCF上的负载进行管理。这样一来,由于状态消息由P-CSCF反馈,动态反应了每一个P-CSCF的当前状态,PGW根据该状态消息对每个P-CSCF上的负载进行管理(包括分配、迁移等
管理方式),使得负载的分配更好的符合每一个P-CSCF当前接入能力,提高了负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险;PGW还可以将过载的P-CSCF或者即将运维的P-CSCF上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。The P-CSCF load management method provided by the embodiment of the present invention receives the status message sent by each P-CSCF managed by the PGW, and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including allocation, migration, etc.).
Management mode), so that the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF; PGW can also overload The P-CSCF or the load on the P-CSCF to be operated and unloaded 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.
进一步的,由于在迁移中设置了定时器,避免了由于负载兼容性问题造成的迁移失败,也将避免负载的通话受损的现象。Further, since the timer is set in the migration, migration failure due to load compatibility problems is avoided, and the call loss of the load is also avoided.
实施例四Embodiment 4
本发明实施例四提供提供一种PGW 60,参见图6,所述PGW60可以包括:Embodiment 4 of the present invention provides a PGW 60. Referring to FIG. 6, the PGW 60 may include:
接收单元601,用于接收PGW 60管理的每个P-CSCF发送的状态消息;The receiving unit 601 is configured to receive a status message sent by each P-CSCF managed by the PGW 60.
管理单元602,用于根据接收单元601接收的状态消息,对PGW 60管理的每个P-CSCF上的负载进行管理。The management unit 602 is configured to manage the load on each P-CSCF managed by the PGW 60 according to the status message received by the receiving unit 601.
可选的,所述状态消息可以包括用于指示P-CSCF接入能力的负载信息;Optionally, the status message may include load information used to indicate a P-CSCF access capability;
相应的,所述管理单元602具体可以用于:Correspondingly, the management unit 602 can be specifically configured to:
根据负载信息,向PGW 60管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
可选的,所述状态消息可以包括用于指示P-CSCF是否过载的承载信息;Optionally, the status message may include bearer information used to indicate whether the P-CSCF is overloaded;
相应的,若PGW 60管理的P-CSCF中存在第一P-CSCF,所述管理单元602具体可以用于:Correspondingly, if the first P-CSCF exists in the P-CSCF managed by the PGW 60, the management unit 602 may be specifically configured to:
对第一P-CSCF进行负载迁移,直至第一P-CSCF不过载;其中,所述第一P-CSCF为PGW 60管理的P-CSCF中状态消息中的承载信息指示P-CSCF过载的P-CSCF;Performing load migration on the first P-CSCF until the first P-CSCF is not overloaded; wherein the first P-CSCF indicates that the P-CSCF is overloaded by the bearer information in the status message in the P-CSCF managed by the PGW 60. -CSCF;
根据状态消息,向PGW 60管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the status message, the P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW 60 is allocated a load of the subsequent new access.
进一步的,在所述状态消息包括用于指示P-CSCF是否过载的
承载信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息;Further, the status message includes an indication of whether the P-CSCF is overloaded.
Based on the bearer information, the status message may further include load information indicating a P-CSCF access capability;
相应的,所述管理单元602根据状态消息,向PGW 60管理的P-CSCF中除第一P-CSCF之外的P-CSCF分配后续新接入的负载,具体可以包括:Correspondingly, the management unit 602 allocates, to the P-CSCFs other than the first P-CSCF, the load of the subsequent new access to the P-CSCF managed by the PGW 60 according to the status message, which may include:
根据负载信息,向PGW 60管理的P-CSCF中除第一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, the P-CSCF other than the first P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
相应的,若PGW 60管理的P-CSCF中不存在所述第一P-CSCF,所述管理单元602具体可以用于:Correspondingly, if the first P-CSCF does not exist in the P-CSCF managed by the PGW 60, the management unit 602 may be specifically configured to:
根据负载信息,向PGW 60管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
可选的,所述状态消息可以包括用于指示P-CSCF是否即将运维的维护信息;Optionally, the status message may include maintenance information used to indicate whether the P-CSCF is to be operated and operated;
相应的,若所述PGW管理的P-CSCF中存在第二P-CSCF,所述管理单元602具体可以用于:Correspondingly, if there is a second P-CSCF in the P-CSCF managed by the PGW, the management unit 602 may be specifically configured to:
对第二P-CSCF进行负载迁移,直至第二P-CSCF上无负载接入;其中,第二P-CSCF为PGW 60管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维的P-CSCF;Performing load migration on the second P-CSCF until no load access is performed on the second P-CSCF; wherein the second P-CSCF indicates that the P-CSCF is about to be shipped in the status message in the P-CSCF managed by the PGW 60. Dimensional P-CSCF;
根据所述状态消息,向PGW 60管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载。According to the status message, the P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW 60 is allocated a load of the subsequent new access.
进一步的,在所述状态消息包括用于指示P-CSCF是否即将运维的维护信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息;Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated and operated, the status message may further include load information for indicating a P-CSCF access capability;
相应的,所述管理单元602根据状态消息,向PGW 60管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载,具体可以包括:Correspondingly, the management unit 602 allocates a load of the subsequent new access to the P-CSCF except the second P-CSCF in the P-CSCF managed by the PGW 60 according to the status message, which may include:
根据负载信息,向PGW 60管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, the P-CSCF other than the second P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
相应的,若PGW 60管理的P-CSCF中不存在第二P-CSCF,
所述管理单元602具体可以用于:Correspondingly, if the second P-CSCF does not exist in the P-CSCF managed by the PGW 60,
The management unit 602 can be specifically configured to:
根据负载信息,向PGW 60管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
进一步的,在所述状态消息包括用于指示P-CSCF是否即将运维的维护信息的基础上,所述状态消息还可以包括用于指示P-CSCF是否过载的承载信息;Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated and operated, the status message may further include bearer information indicating whether the P-CSCF is overloaded;
相应的,若所述PGW管理的P-CSCF中存在第三P-CSCF,所述管理单元602具体可以用于:Correspondingly, if there is a third P-CSCF in the P-CSCF managed by the PGW, the management unit 602 may be specifically configured to:
对第三P-CSCF进行负载迁移,直至第三P-CSCF不过载;其中,所述第三P-CSCF为PGW 60管理的P-CSCF中状态消息中的维护信息指示P-CSCF不即将运维,且状态消息中的承载信息指示P-CSCF过载的P-CSCF;或者,所述第三P-CSCF为PGW 60管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维,且状态消息中的承载信息指示P-CSCF不过载的P-CSCF;Performing load migration on the third P-CSCF until the third P-CSCF is not overloaded; wherein the third P-CSCF indicates that the P-CSCF is not ready for transport in the status message in the P-CSCF managed by the PGW 60. Dimension, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF indicates that the P-CSCF is to be operated and maintained in the maintenance information in the status message in the P-CSCF managed by the PGW 60. And the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
根据状态消息,向PGW 60管理的P-CSCF中除第三P-CSCF之外的P-CSCF分配后续新接入的负载。According to the status message, the P-CSCF other than the third P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
进一步的,在状态消息包括用于指示P-CSCF是否即将运维的维护信息及用于指示P-CSCF是否过载的承载信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息;Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated and not, and bearer information indicating whether the P-CSCF is overloaded, the status message may further include indicating that the P-CSCF is connected. Load information of the capacity;
相应的,所述管理单元602具体可以用于:Correspondingly, the management unit 602 can be specifically configured to:
根据负载信息,向PGW 60管理的P-CSCF中除第三P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, the P-CSCF other than the third P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
进一步的,在状态消息包括用于指示P-CSCF是否即将运维的维护信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息;Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated and operated, the status message may further include load information for indicating a P-CSCF access capability;
相应的,若PGW 60管理的P-CSCF中不存在第三P-CSCF,所述管理单元602具体可以用于:Correspondingly, if the third P-CSCF does not exist in the P-CSCF managed by the PGW 60, the management unit 602 may be specifically configured to:
根据负载信息,向PGW管理的每个P-CSCF分配后续新接入的负载。
According to the load information, each P-CSCF managed by the PGW is allocated a load of subsequent new access.
可选的,所述负载信息可以包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;Optionally, the load information may include at least one of the following information: a quantity of the remaining P-CSCF that can be accessed, and a capacity ratio of the P-CSCF;
相应的,所述管理单元602根据所述负载信息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:Correspondingly, the management unit 602 manages the load on each P-CSCF managed by the PGW according to the load information, including:
接收第一负载发送的P-CSCF地址请求消息;其中,所述第一负载为后续新接入的负载中任一负载;Receiving a P-CSCF address request message sent by the first load; wherein the first load is any load of a subsequently newly added load;
向第一负载反馈第一P-CSCF地址列表;其中,第一P-CSCF地址列表中包括至少一个PGW管理的P-CSCF的地址,优先级按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,优先级按照每个P-CSCF容量占用比从低到高依次排列。Feeding, to the first load, a first P-CSCF address list; wherein, the first P-CSCF address list includes an address of at least one PGW-managed P-CSCF, and the priority is according to a remaining accessible load of each P-CSCF The numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity ratio from low to high.
具体的,对于第四P-CSCF,所述管理单元602进行负载迁移,可以包括:Specifically, for the fourth P-CSCF, the management unit 602 performs load migration, and may include:
扫描用户上下文,获取接入所述第四P-CSCF的负载;其中,所述用户上下文包括管辖内的每个P-CSCF与接入P-CSCF的负载的对应关系;所述第四P-CSCF需要进行负载迁移的任一个P-CSCF;Scanning a user context to obtain a load for accessing the fourth P-CSCF; wherein the user context includes a correspondence between each P-CSCF within the jurisdiction and a load of accessing the P-CSCF; the fourth P- CSCF needs any P-CSCF for load migration;
按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表,以指示所述接入所述第四P-CSCF的负载进行迁移;其中,所述第二P-CSCF地址列表不包含所述第四P-CSCF的地址。Transmitting a second P-CSCF address list to the load of the fourth P-CSCF in batches according to a preset rate, to indicate that the load connected to the fourth P-CSCF is migrated; The second P-CSCF address list does not include an address of the fourth P-CSCF.
进一步的,所述管理单元602还可以用于:Further, the management unit 602 can also be used to:
在所述按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表之后,若在预设时长之后,未接收到第二负载更新P-CSCF地址的消息,则向所述第二负载发送IMS PND连接释放消息,以指示所述第二负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第二负载立刻重新发起IMS PDN建立请求;所述第二负载为被发送所述P-CSCF地址列表的负载中的任一负载;After the second P-CSCF address list is sent to the load of the fourth P-CSCF in batches according to the preset rate, if the second P-CSCF address list is received after the preset time period, the second load update P is not received. Sending an IMS PND connection release message to the second load to indicate that the second load disconnects the current IMS PDN connection; wherein the IMS PDN connection release message includes indication information for indicating The second load immediately re-initiates an IMS PDN setup request; the second payload is any one of loads of the P-CSCF address list being sent;
接收所述第二负载发送的IMS PDN建立请求;
Receiving an IMS PDN establishment request sent by the second load;
向所述第二负载反馈所述第二P-CSCF地址列表。And feeding back the second P-CSCF address list to the second load.
优选的,所述管理单元602具体可以用于:Preferably, the management unit 602 is specifically configured to:
按照所述预设速率,分批向在所述接入所述第四P-CSCF的负载中未进行通话的负载分别发送所述第二P-CSCF地址列表。And transmitting, according to the preset rate, the second P-CSCF address list to the load that is not in the load of the fourth P-CSCF.
优选的,所述第二P-CSCF地址列表中包括的P-CSCF地址的优先级,按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,按照每个P-CSCF容量占用比从低到高依次排列。Preferably, the priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P. -CSCF capacity occupancy ratios are arranged in order from low to high.
进一步的,所述管理单元602还可以用于:Further, the management unit 602 can also be used to:
不再向所述进行负载迁移的P-CSCF分配新接入的负载。The newly accessed load is no longer allocated to the P-CSCF for load migration.
可选的,所述接收单元601具体可以用于:Optionally, the receiving unit 601 is specifically configured to:
通过SGi接口接收PGW 60管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;Receiving, by the SGi interface, a status message sent by each proxy call session control function P-CSCF managed by the PGW 60;
或者,or,
通过PCRF的转发接收PGW 60管理的每个P-CSCF发送的状态消息。The status message sent by each P-CSCF managed by the PGW 60 is received by the forwarding of the PCRF.
本发明实施例提供的PGW 60,通过接收PGW管理的每个P-CSCF发送的状态消息;根据状态消息,对PGW管理的每个P-CSCF上的负载进行管理。这样一来,由于状态消息由P-CSCF反馈,动态反应了每一个P-CSCF的当前状态,PGW根据该状态消息对每个P-CSCF上的负载进行管理(包括分配、迁移等管理方式),使得负载的分配更好的符合每一个P-CSCF当前接入能力,提高了负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险;PGW还可以将过载的P-CSCF或者即将运维的P-CSCF上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。The PGW 60 provided by the embodiment of the present invention receives the status message sent by each P-CSCF managed by the PGW; and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration). Therefore, the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF; PGW can also overload the P- The CSCF or the load on the P-CSCF to be operated and unloaded is unloaded to avoid overloading of the P-CSCF or damage to the call of the load connected to the operation, which improves the user experience.
实施例五Embodiment 5
本发明实施例四提供提供另一种PGW 60,参见图7,所述PGW60可以包括:
Embodiment 4 of the present invention provides another PGW 60. Referring to FIG. 7, the PGW 60 may include:
至少一个处理器701;至少一个通信总线702,用于实现装置之间的连接和相互通信,接收器703;At least one processor 701; at least one communication bus 702 for implementing connection and mutual communication between devices, a receiver 703;
其中,通信总线702可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus 702 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA). ) Bus, etc. 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 7, but it does not mean that there is only one bus or one type of bus.
处理器701可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 701 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.
其中,接收器703,用于接收PGW 60管理的每个P-CSCF发送的状态消息;The receiver 703 is configured to receive a status message sent by each P-CSCF managed by the PGW 60.
处理器701,用于根据接收器703接收的状态消息,对PGW 60管理的每个P-CSCF上的负载进行管理。The processor 701 is configured to manage the load on each P-CSCF managed by the PGW 60 according to the status message received by the receiver 703.
可选的,所述状态消息可以包括用于指示P-CSCF接入能力的负载信息;Optionally, the status message may include load information used to indicate a P-CSCF access capability;
相应的,所述处理器701具体可以用于:Correspondingly, the processor 701 can be specifically configured to:
根据负载信息,向PGW 60管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
可选的,所述状态消息可以包括用于指示P-CSCF是否过载的承载信息;Optionally, the status message may include bearer information used to indicate whether the P-CSCF is overloaded;
相应的,若PGW 60管理的P-CSCF中存在第一P-CSCF,所述处理器701具体可以用于:Correspondingly, if there is a first P-CSCF in the P-CSCF managed by the PGW 60, the processor 701 may be specifically configured to:
对第一P-CSCF进行负载迁移,直至第一P-CSCF不过载;其中,所述第一P-CSCF为PGW 60管理的P-CSCF中状态消息中的承载信息指示P-CSCF过载的P-CSCF;
Performing load migration on the first P-CSCF until the first P-CSCF is not overloaded; wherein the first P-CSCF indicates that the P-CSCF is overloaded by the bearer information in the status message in the P-CSCF managed by the PGW 60. -CSCF;
根据状态消息,向PGW 60管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the status message, the P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW 60 is allocated a load of the subsequent new access.
进一步的,在所述状态消息包括用于指示P-CSCF是否过载的承载信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息;Further, on the basis that the status message includes bearer information indicating whether the P-CSCF is overloaded, the status message may further include load information indicating a P-CSCF access capability;
相应的,所述处理器701根据状态消息,向PGW 60管理的P-CSCF中除第一P-CSCF之外的P-CSCF分配后续新接入的负载,具体可以包括:Correspondingly, the processor 701 allocates a load of the subsequent new access to the P-CSCF of the P-CSCF managed by the PGW 60 according to the status message, which may include:
根据负载信息,向PGW 60管理的P-CSCF中除第一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, the P-CSCF other than the first P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
相应的,若PGW 60管理的P-CSCF中不存在所述第一P-CSCF,所述处理器701具体可以用于:Correspondingly, if the first P-CSCF does not exist in the P-CSCF managed by the PGW 60, the processor 701 may be specifically configured to:
根据负载信息,向PGW 60管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
可选的,所述状态消息可以包括用于指示P-CSCF是否即将运维的维护信息;Optionally, the status message may include maintenance information used to indicate whether the P-CSCF is to be operated and operated;
相应的,若所述PGW管理的P-CSCF中存在第二P-CSCF,所述处理器701具体可以用于:Correspondingly, if there is a second P-CSCF in the P-CSCF managed by the PGW, the processor 701 may be specifically configured to:
对第二P-CSCF进行负载迁移,直至第二P-CSCF上无负载接入;其中,第二P-CSCF为PGW 60管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维的P-CSCF;Performing load migration on the second P-CSCF until no load access is performed on the second P-CSCF; wherein the second P-CSCF indicates that the P-CSCF is about to be shipped in the status message in the P-CSCF managed by the PGW 60. Dimensional P-CSCF;
根据所述状态消息,向PGW 60管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载。According to the status message, the P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW 60 is allocated a load of the subsequent new access.
进一步的,在所述状态消息包括用于指示P-CSCF是否即将运维的维护信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息;Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated and operated, the status message may further include load information for indicating a P-CSCF access capability;
相应的,所述处理器701根据状态消息,向PGW 60管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载,具体可以包括:
Correspondingly, the processor 701 allocates a load of the subsequent new access to the P-CSCF of the P-CSCF managed by the PGW 60 according to the status message, which may include:
根据负载信息,向PGW 60管理的P-CSCF中除第二P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, the P-CSCF other than the second P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
相应的,若PGW 60管理的P-CSCF中不存在第二P-CSCF,所述处理器701具体可以用于:Correspondingly, if the second P-CSCF does not exist in the P-CSCF managed by the PGW 60, the processor 701 may be specifically configured to:
根据负载信息,向PGW 60管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW 60 is allocated a load of a subsequent new access.
进一步的,在所述状态消息包括用于指示P-CSCF是否即将运维的维护信息的基础上,所述状态消息还可以包括用于指示P-CSCF是否过载的承载信息;Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated and operated, the status message may further include bearer information indicating whether the P-CSCF is overloaded;
相应的,若所述PGW管理的P-CSCF中存在第三P-CSCF,所述处理器701具体可以用于:Correspondingly, if there is a third P-CSCF in the P-CSCF managed by the PGW, the processor 701 may be specifically configured to:
对第三P-CSCF进行负载迁移,直至第三P-CSCF不过载;其中,所述第三P-CSCF为所述PGW 60管理的P-CSCF中状态消息中的维护信息指示P-CSCF不即将运维,且状态消息中的承载信息指示P-CSCF过载的P-CSCF;或者,所述第三P-CSCF为所述PGW 60管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维,且状态消息中的承载信息指示P-CSCF不过载的P-CSCF;Performing load migration on the third P-CSCF until the third P-CSCF is not overloaded; wherein the third P-CSCF indicates that the P-CSCF is not maintained by the maintenance information in the status message in the P-CSCF managed by the PGW 60 Upcoming operation, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF indicates the maintenance information in the status message in the P-CSCF managed by the PGW 60. The CSCF is about to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;
根据状态消息,向PGW 60管理的P-CSCF中除第三P-CSCF之外的P-CSCF分配后续新接入的负载。According to the status message, the P-CSCF other than the third P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
进一步的,在状态消息包括用于指示P-CSCF是否即将运维的维护信息及用于指示P-CSCF是否过载的承载信息的基础上,所述状态消息还可以包括用于指示P-CSCF接入能力的负载信息;Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated and not, and bearer information indicating whether the P-CSCF is overloaded, the status message may further include indicating that the P-CSCF is connected. Load information of the capacity;
相应的,所述处理器701具体可以用于:Correspondingly, the processor 701 can be specifically configured to:
根据负载信息,向PGW 60管理的P-CSCF中除第三P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, the P-CSCF other than the third P-CSCF among the P-CSCFs managed by the PGW 60 is allocated a load of the subsequent new access.
进一步的,在状态消息包括用于指示P-CSCF是否即将运维的维护信息的基础上,所述状态消息还可以包括用于指示P-CSCF
接入能力的负载信息;Further, on the basis that the status message includes maintenance information indicating whether the P-CSCF is to be operated, the status message may further include an indication for the P-CSCF.
Load information of access capabilities;
相应的,若PGW 60管理的P-CSCF中不存在第三P-CSCF,所述处理器701具体可以用于:Correspondingly, if the third P-CSCF does not exist in the P-CSCF managed by the PGW 60, the processor 701 may be specifically configured to:
根据负载信息,向PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of subsequent new access.
可选的,所述负载信息可以包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;Optionally, the load information may include at least one of the following information: a quantity of the remaining P-CSCF that can be accessed, and a capacity ratio of the P-CSCF;
相应的,所述处理器701根据所述负载信息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:Correspondingly, the processor 701 manages the load on each P-CSCF managed by the PGW according to the load information, including:
接收第一负载发送的P-CSCF地址请求消息;其中,所述第一负载为后续新接入的负载中任一负载;Receiving a P-CSCF address request message sent by the first load; wherein the first load is any load of a subsequently newly added load;
向第一负载反馈第一P-CSCF地址列表;其中,第一P-CSCF地址列表中包括至少一个PGW管理的P-CSCF的地址,优先级按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,优先级按照每个P-CSCF容量占用比从低到高依次排列。Feeding, to the first load, a first P-CSCF address list; wherein, the first P-CSCF address list includes an address of at least one PGW-managed P-CSCF, and the priority is according to a remaining accessible load of each P-CSCF The numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity ratio from low to high.
具体的,对于第四P-CSCF,所述处理器701进行负载迁移,可以包括:Specifically, for the fourth P-CSCF, the processor 701 performs load migration, which may include:
扫描用户上下文,获取接入所述第四P-CSCF的负载;其中,所述用户上下文包括管辖内的每个P-CSCF与接入P-CSCF的负载的对应关系;所述第四P-CSCF需要进行负载迁移的任一个P-CSCF;Scanning a user context to obtain a load for accessing the fourth P-CSCF; wherein the user context includes a correspondence between each P-CSCF within the jurisdiction and a load of accessing the P-CSCF; the fourth P- CSCF needs any P-CSCF for load migration;
按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表,以指示所述接入所述第四P-CSCF的负载进行迁移;其中,所述第二P-CSCF地址列表不包含所述第四P-CSCF的地址。Transmitting a second P-CSCF address list to the load of the fourth P-CSCF in batches according to a preset rate, to indicate that the load connected to the fourth P-CSCF is migrated; The second P-CSCF address list does not include an address of the fourth P-CSCF.
进一步的,所述处理器701还可以用于:Further, the processor 701 is further configured to:
在所述按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表之后,若在预设时长之后,未接收到第二负载更新P-CSCF地址的消息,则向所述第二负载
发送IMS PND连接释放消息,以指示所述第二负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第二负载立刻重新发起IMS PDN建立请求;所述第二负载为被发送所述P-CSCF地址列表的负载中的任一负载;After the second P-CSCF address list is sent to the load of the fourth P-CSCF in batches according to the preset rate, if the second P-CSCF address list is received after the preset time period, the second load update P is not received. a message of the -CSCF address to the second load
Sending an IMS PND connection release message to instruct the second load to disconnect the current IMS PDN connection; wherein the IMS PDN connection release message includes indication information for instructing the second load to immediately re-initiate an IMS PDN establishment request; The second load is any one of loads that are sent by the P-CSCF address list;
接收所述第二负载发送的IMS PDN建立请求;Receiving an IMS PDN establishment request sent by the second load;
向所述第二负载反馈所述第二P-CSCF地址列表。And feeding back the second P-CSCF address list to the second load.
优选的,所述处理器701具体可以用于:Preferably, the processor 701 is specifically configured to:
按照所述预设速率,分批向在所述接入所述第四P-CSCF的负载中未进行通话的负载分别发送所述第二P-CSCF地址列表。And transmitting, according to the preset rate, the second P-CSCF address list to the load that is not in the load of the fourth P-CSCF.
优选的,所述第二P-CSCF地址列表中包括的P-CSCF地址的优先级,按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,按照每个P-CSCF容量占用比从低到高依次排列。Preferably, the priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P. -CSCF capacity occupancy ratios are arranged in order from low to high.
进一步的,所述处理器701还可以用于:Further, the processor 701 is further configured to:
不再向所述进行负载迁移的P-CSCF分配新接入的负载。The newly accessed load is no longer allocated to the P-CSCF for load migration.
可选的,所述接收器703具体可以用于:Optionally, the receiver 703 is specifically configured to:
通过SGi接口接收PGW 60管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;Receiving, by the SGi interface, a status message sent by each proxy call session control function P-CSCF managed by the PGW 60;
或者,or,
通过PCRF的转发接收PGW 60管理的每个P-CSCF发送的状态消息。The status message sent by each P-CSCF managed by the PGW 60 is received by the forwarding of the PCRF.
本发明实施例提供的PGW 60,通过接收PGW管理的每个P-CSCF发送的状态消息;根据状态消息,对PGW管理的每个P-CSCF上的负载进行管理。这样一来,由于状态消息由P-CSCF反馈,动态反应了每一个P-CSCF的当前状态,PGW根据该状态消息对每个P-CSCF上的负载进行管理(包括分配、迁移等管理方式),使得负载的分配更好的符合每一个P-CSCF当前接入能力,提高了负载分配的均衡度,也将相应降低了每一个P-CSCF出现过载的风险;PGW还可以将过载的P-CSCF或者即将运维的P-CSCF
上的负载进行卸载,避免P-CSCF的过载或者运维对其上接入的负载的通话的损坏,很好的提高了用户体验。The PGW 60 provided by the embodiment of the present invention receives the status message sent by each P-CSCF managed by the PGW; and manages the load on each P-CSCF managed by the PGW according to the status message. In this way, since the status message is fed back by the P-CSCF, the current state of each P-CSCF is dynamically reflected, and the PGW manages the load on each P-CSCF according to the status message (including management modes such as allocation and migration). Therefore, the load distribution is better matched to the current access capability of each P-CSCF, which improves the balance of load distribution, and also reduces the risk of overload of each P-CSCF; PGW can also overload the P- CSCF or P-CSCF to be operated and maintained
The load on 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.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, 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. In addition, 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.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, 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.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序
代码的介质。The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions 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.
The medium of the code.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (36)
- 一种P-CSCF负载管理方法,其特征在于,应用于分组数据网网关PGW,所述方法包括:A P-CSCF load management method is characterized in that it is applied to a packet data network gateway PGW, and the method includes:接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;Receiving a status message sent by each proxy call session control function P-CSCF managed by the PGW;根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理。The load on each P-CSCF managed by the PGW is managed according to the status message.
- 根据权利要求1所述的方法,其特征在于,所述状态消息包括用于指示P-CSCF接入能力的负载信息;The method according to claim 1, wherein the status message includes load information indicating a P-CSCF access capability;所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:And managing, according to the status message, a load on each P-CSCF managed by the PGW, including:根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求1所述的方法,其特征在于,所述状态消息包括用于指示P-CSCF是否过载的承载信息;The method according to claim 1, wherein the status message comprises bearer information indicating whether the P-CSCF is overloaded;若所述PGW管理的P-CSCF中存在第一P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the first P-CSCF exists in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:对所述第一P-CSCF进行负载迁移,直至所述第一P-CSCF不过载;其中,所述第一P-CSCF为所述PGW管理的P-CSCF中状态消息中的承载信息指示P-CSCF过载的P-CSCF;Performing load migration on the first P-CSCF until the first P-CSCF is not overloaded; wherein the first P-CSCF indicates that the bearer information in the status message in the P-CSCF managed by the PGW is P -CSCF overloaded P-CSCF;根据所述状态消息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求3所述的方法,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The method according to claim 3, wherein the status message further comprises load information indicating a P-CSCF access capability;所述根据所述状态消息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载,包括:And allocating a load of the subsequent new access to the P-CSCF except the first P-CSCF in the P-CSCF managed by the PGW, according to the status message, including:根据所述负载信息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。 And assigning, to the P-CSCF other than the first P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
- 根据权利要求3所述的方法,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The method according to claim 3, wherein the status message further comprises load information indicating a P-CSCF access capability;若所述PGW管理的P-CSCF中不存在所述第一P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the first P-CSCF does not exist in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求1所述的方法,其特征在于,所述状态消息包括用于指示P-CSCF是否即将运维的维护信息;The method according to claim 1, wherein the status message includes maintenance information indicating whether the P-CSCF is about to be operated and operated;若所述PGW管理的P-CSCF中存在第二P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the second P-CSCF exists in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:对所述第二P-CSCF进行负载迁移,直至所述第二P-CSCF上无负载接入;其中,所述第二P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维的P-CSCF;Performing load migration on the second P-CSCF until no load access is performed on the second P-CSCF; wherein the second P-CSCF is maintenance in a status message in the P-CSCF managed by the PGW The information indicates the P-CSCF that the P-CSCF is about to operate and maintain;根据所述状态消息,向所述PGW管理的P-CSCF中除所述第二P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求6所述的方法,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The method according to claim 6, wherein the status message further comprises load information indicating a P-CSCF access capability;所述根据所述状态消息,向所述PGW管理的P-CSCF中除所述第二P-CSCF之外的P-CSCF分配后续新接入的负载,包括:And allocating a load of the subsequent new access to the P-CSCF except the second P-CSCF in the P-CSCF managed by the PGW, according to the status message, including:根据所述负载信息,向所述PGW管理的P-CSCF中除所述第二一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求6所述的方法,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The method according to claim 6, wherein the status message further comprises load information indicating a P-CSCF access capability;若所述PGW管理的P-CSCF中不存在所述第二P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the second P-CSCF does not exist in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续 新接入的负载。Allocating a subsequent to each P-CSCF managed by the PGW according to the load information The load of the new access.
- 根据权利要求6所述的方法,其特征在于,所述状态消息还包括用于指示P-CSCF是否过载的承载信息;The method according to claim 6, wherein the status message further comprises bearer information indicating whether the P-CSCF is overloaded;若所述PGW管理的P-CSCF中存在第三P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If a third P-CSCF exists in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:对所述第三P-CSCF进行负载迁移;其中,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF不即将运维,且状态消息中的承载信息指示P-CSCF过载的P-CSCF;或者,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维,且状态消息中的承载信息指示P-CSCF不过载的P-CSCF;And performing load migration on the third P-CSCF, where the third P-CSCF indicates that the P-CSCF is not about to be operated and maintained, and the status message is in the maintenance information in the status message in the P-CSCF managed by the PGW. The bearer information indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF indicates that the P-CSCF is about to be operated and maintained in the status information in the status message in the P-CSCF managed by the PGW, and the status message is in the status message. The bearer information indicates that the P-CSCF is not overloaded by the P-CSCF;根据所述状态消息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求9所述的方法,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The method according to claim 9, wherein the status message further comprises load information indicating a P-CSCF access capability;所述根据所述状态消息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载,包括:And allocating a load of the subsequent new access to the P-CSCF except the third P-CSCF in the P-CSCF managed by the PGW, according to the status message, including:根据所述负载信息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And assigning, to the P-CSCF other than the third P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
- 根据权利要求9所述的方法,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The method according to claim 9, wherein the status message further comprises load information indicating a P-CSCF access capability;若所述PGW管理的P-CSCF中不存在所述第三P-CSCF,所述根据所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:If the third P-CSCF does not exist in the P-CSCF managed by the PGW, the managing the load on each P-CSCF managed by the PGW according to the status message includes:根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求2、5、8、11中任一项所述的方法,其特征在于,所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接 入的负载数量、该P-CSCF容量占用比;The method according to any one of claims 2, 5, 8, and 11, wherein the load information comprises at least one of the following information: the P-CSCF is remaining connectable The amount of load entered, the capacity occupancy ratio of the P-CSCF;所述根据所述负载信息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:And managing, according to the load information, a load on each P-CSCF managed by the PGW, including:接收第一负载发送的P-CSCF地址请求消息;其中,所述第一负载为后续新接入的负载中任一负载;Receiving a P-CSCF address request message sent by the first load; wherein the first load is any load of a subsequently newly added load;向所述第一负载反馈第一P-CSCF地址列表;其中,所述第一P-CSCF地址列表中包括至少一个所述PGW管理的P-CSCF的地址,优先级按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,优先级按照每个P-CSCF容量占用比从低到高依次排列。And feeding back, to the first load, a first P-CSCF address list, where the first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is per P-CSCF The remaining accessible load numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
- 根据权利要求3-11中任一项所述的方法,其特征在于,对于第四P-CSCF,所述负载迁移,包括:The method according to any one of claims 3-11, wherein for the fourth P-CSCF, the load migration comprises:扫描用户上下文,获取接入所述第四P-CSCF的负载;其中,所述用户上下文包括管辖内的每个P-CSCF与接入P-CSCF的负载的对应关系;所述第四P-CSCF需要进行负载迁移的任一个P-CSCF;Scanning a user context to obtain a load for accessing the fourth P-CSCF; wherein the user context includes a correspondence between each P-CSCF within the jurisdiction and a load of accessing the P-CSCF; the fourth P- CSCF needs any P-CSCF for load migration;按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表,以指示所述接入所述第四P-CSCF的负载进行迁移;其中,所述第二P-CSCF地址列表不包含所述第四P-CSCF的地址。Transmitting a second P-CSCF address list to the load of the fourth P-CSCF in batches according to a preset rate, to indicate that the load connected to the fourth P-CSCF is migrated; The second P-CSCF address list does not include an address of the fourth P-CSCF.
- 根据权利要求13所述的方法,其特征在于,在所述按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表之后,所述方法还包括:The method according to claim 13, wherein after the transmitting the second P-CSCF address list to the load of the fourth P-CSCF in batches according to a preset rate, The method also includes:若在预设时长之后,未接收到第二负载更新P-CSCF地址的消息,则向所述第二负载发送多媒体子系统IMS分组数据网PND连接释放消息,以指示所述第二负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第二负载立刻重新发起IMS PDN建立请求;所述第二负载为被发送所述P-CSCF地址列表的负载中的任一负载;If the second load update P-CSCF address message is not received after the preset duration, the multimedia subsystem IMS packet data network PND connection release message is sent to the second load to indicate that the second load is disconnected a current IMS PDN connection; wherein the IMS PDN connection release message includes indication information for instructing the second load to immediately re-initiate an IMS PDN establishment request; the second load is sent by the P-CSCF address list Any load in the load;接收所述第二负载发送的IMS PDN建立请求;Receiving an IMS PDN establishment request sent by the second load;向所述第二负载反馈所述第二P-CSCF地址列表。 And feeding back the second P-CSCF address list to the second load.
- 根据权利要求13或14所述的方法,其特征在于,所述按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表,包括:The method according to claim 13 or 14, wherein the transmitting the second P-CSCF address list to the load of the fourth P-CSCF in batches according to a preset rate comprises:按照所述预设速率,分批向在所述接入所述第四P-CSCF的负载中未进行通话的负载分别发送所述第二P-CSCF地址列表。And transmitting, according to the preset rate, the second P-CSCF address list to the load that is not in the load of the fourth P-CSCF.
- 根据权利要求13-15任一项所述的方法,其特征在于,所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;The method according to any one of claims 13 to 15, wherein the load information comprises at least one of the following: the number of remaining ports that the P-CSCF can access, and the capacity occupied by the P-CSCF ratio;所述第二P-CSCF地址列表中包括的P-CSCF地址的优先级,按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,按照每个P-CSCF容量占用比从低到高依次排列。The priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P-CSCF capacity. The occupancy ratio is arranged in order from low to high.
- 根据权利要求3-11、13-16任一项所述的方法,其特征在于,在所述负载迁移之后,所述方法还包括:The method of any of claims 3-11, 13-16, wherein after the load migration, the method further comprises:不再向所述进行负载迁移的P-CSCF分配新接入的负载。The newly accessed load is no longer allocated to the P-CSCF for load migration.
- 根据权利要求1-17任一项所述的方法,其特征在于,接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息,包括:The method according to any one of claims 1 to 17, wherein receiving a status message sent by each proxy call session control function P-CSCF managed by the PGW comprises:通过SGi接口接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;Receiving, by the SGi interface, a status message sent by each proxy call session control function P-CSCF managed by the PGW;或者,or,通过策略与计费规则功能单元PCRF的转发接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息。A status message sent by each proxy call session control function P-CSCF managed by the PGW is received by forwarding of the Policy and Charging Rules Function Unit PCRF.
- 一种分组数据网网关PGW,其特征在于,包括:A packet data network gateway PGW, comprising:接收单元,用于接收接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;a receiving unit, configured to receive a status message sent by each proxy call session control function P-CSCF managed by the PGW;管理单元,用于根据所述接收单元接收的所述状态消息,对所述PGW管理的每个P-CSCF上的负载进行管理。And a management unit, configured to manage, according to the status message received by the receiving unit, a load on each P-CSCF managed by the PGW.
- 根据权利要求19所述的PGW,其特征在于,所述状态消息包括用于指示P-CSCF接入能力的负载信息; The PGW according to claim 19, wherein the status message includes load information indicating a P-CSCF access capability;所述管理单元具体用于:The management unit is specifically configured to:根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求19所述的PGW,其特征在于,所述状态消息包括用于指示P-CSCF是否过载的承载信息;The PGW according to claim 19, wherein the status message includes bearer information indicating whether the P-CSCF is overloaded;若所述PGW管理的P-CSCF中存在第一P-CSCF,所述管理单元具体用于:If the first P-CSCF exists in the P-CSCF managed by the PGW, the management unit is specifically configured to:对所述第一P-CSCF进行负载迁移,直至所述第一P-CSCF不过载;其中,所述第一P-CSCF为所述PGW管理的P-CSCF中状态消息中的承载信息指示P-CSCF过载的P-CSCF;Performing load migration on the first P-CSCF until the first P-CSCF is not overloaded; wherein the first P-CSCF indicates that the bearer information in the status message in the P-CSCF managed by the PGW is P -CSCF overloaded P-CSCF;根据所述状态消息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the first P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求21所述的PGW,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The PGW according to claim 21, wherein the status message further includes load information indicating a P-CSCF access capability;所述管理单元具体用于:The management unit is specifically configured to:根据所述负载信息,向所述PGW管理的P-CSCF中除所述第一P-CSCF之外的P-CSCF分配后续新接入的负载。And assigning, to the P-CSCF other than the first P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
- 根据权利要求21所述的PGW,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The PGW according to claim 21, wherein the status message further includes load information indicating a P-CSCF access capability;若所述PGW管理的P-CSCF中不存在所述第一P-CSCF,所述管理单元具体用于:If the first P-CSCF does not exist in the P-CSCF managed by the PGW, the management unit is specifically configured to:根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求19所述的PGW,其特征在于,所述状态消息包括用于指示P-CSCF是否即将运维的维护信息;The PGW according to claim 19, wherein the status message includes maintenance information indicating whether the P-CSCF is to be operated and operated;若所述PGW管理的P-CSCF中存在第二P-CSCF,所述管理单元具体用于:If the second P-CSCF exists in the P-CSCF managed by the PGW, the management unit is specifically configured to:对所述第二P-CSCF进行负载迁移,直至所述第二P-CSCF上无负载接入;其中,所述第二P-CSCF为所述PGW管理的P-CSCF中状 态消息中的维护信息指示P-CSCF即将运维的P-CSCF;Performing load migration on the second P-CSCF until no load access is performed on the second P-CSCF; wherein the second P-CSCF is in the P-CSCF managed by the PGW The maintenance information in the status message indicates the P-CSCF that the P-CSCF is about to operate and maintain;根据所述状态消息,向所述PGW管理的P-CSCF中除所述第二P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求24所述的PGW,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The PGW according to claim 24, wherein the status message further includes load information indicating a P-CSCF access capability;所述管理单元具体用于:The management unit is specifically configured to:根据所述负载信息,向所述PGW管理的P-CSCF中除所述第二一P-CSCF之外的P-CSCF分配后续新接入的负载。According to the load information, a P-CSCF other than the second P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求24所述的PGW,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The PGW according to claim 24, wherein the status message further includes load information indicating a P-CSCF access capability;若所述PGW管理的P-CSCF中不存在所述第二P-CSCF,所述管理单元具体用于:If the second P-CSCF does not exist in the P-CSCF managed by the PGW, the management unit is specifically configured to:根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求24所述的PGW,其特征在于,所述状态消息还包括用于指示P-CSCF是否过载的承载信息;The PGW according to claim 24, wherein the status message further includes bearer information indicating whether the P-CSCF is overloaded;若所述PGW管理的P-CSCF中存在第三P-CSCF,所述管理单元具体用于:If the third P-CSCF exists in the P-CSCF managed by the PGW, the management unit is specifically configured to:对所述第三P-CSCF进行负载迁移,直至所述第三P-CSCF不过载;其中,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF不即将运维,且状态消息中的承载信息指示P-CSCF过载的P-CSCF;或者,所述第三P-CSCF为所述PGW管理的P-CSCF中状态消息中的维护信息指示P-CSCF即将运维,且状态消息中的承载信息指示P-CSCF不过载的P-CSCF;Performing load migration on the third P-CSCF until the third P-CSCF is not overloaded; wherein the third P-CSCF indicates that the maintenance information in the status message in the P-CSCF managed by the PGW is P - the CSCF is not about to be operated, and the bearer information in the status message indicates the P-CSCF overloaded by the P-CSCF; or the third P-CSCF is the maintenance information indication in the status message in the P-CSCF managed by the PGW The P-CSCF is about to be operated and maintained, and the bearer information in the status message indicates that the P-CSCF is not overloaded by the P-CSCF;根据所述状态消息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And according to the status message, a P-CSCF other than the third P-CSCF in the P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求27所述的PGW,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The PGW according to claim 27, wherein the status message further comprises load information indicating a P-CSCF access capability;所述管理单元具体用于: The management unit is specifically configured to:根据所述负载信息,向所述PGW管理的P-CSCF中除所述第三P-CSCF之外的P-CSCF分配后续新接入的负载。And assigning, to the P-CSCF other than the third P-CSCF, a load of a subsequent new access to the P-CSCF managed by the PGW according to the load information.
- 根据权利要求27所述的PGW,其特征在于,所述状态消息还包括用于指示P-CSCF接入能力的负载信息;The PGW according to claim 27, wherein the status message further comprises load information indicating a P-CSCF access capability;若所述PGW管理的P-CSCF中不存在所述第三P-CSCF,所述管理单元具体用于:If the third P-CSCF does not exist in the P-CSCF managed by the PGW, the management unit is specifically configured to:根据所述负载信息,向所述PGW管理的每个P-CSCF分配后续新接入的负载。According to the load information, each P-CSCF managed by the PGW is allocated a load of a subsequent new access.
- 根据权利要求20、23、26、29中任一项所述的PGW,其特征在于,所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;The PGW according to any one of claims 20, 23, 26, 29, wherein the load information comprises at least one of the following: the number of remaining ports that the P-CSCF can access, P-CSCF capacity occupancy ratio;所述管理单元根据所述负载信息,对所述PGW管理的每个P-CSCF上的负载进行管理,包括:The management unit manages the load on each P-CSCF managed by the PGW according to the load information, including:接收第一负载发送的P-CSCF地址请求消息;其中,所述第一负载为后续新接入的负载中任一负载;Receiving a P-CSCF address request message sent by the first load; wherein the first load is any load of a subsequently newly added load;向所述第一负载反馈第一P-CSCF地址列表;其中,所述第一P-CSCF地址列表中包括至少一个所述PGW管理的P-CSCF的地址,优先级按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,优先级按照每个P-CSCF容量占用比从低到高依次排列。And feeding back, to the first load, a first P-CSCF address list, where the first P-CSCF address list includes at least one address of the P-CSCF managed by the PGW, and the priority is per P-CSCF The remaining accessible load numbers are arranged in order from high to low, or the priority is arranged in order of each P-CSCF capacity occupancy ratio from low to high.
- 根据权利要求21-29中任一项所述的PGW,其特征在于,对于第四P-CSCF,所述管理单元进行负载迁移,包括:The PGW according to any one of claims 21 to 29, wherein, for the fourth P-CSCF, the management unit performs load migration, including:扫描用户上下文,获取接入所述第四P-CSCF的负载;其中,所述用户上下文包括管辖内的每个P-CSCF与接入P-CSCF的负载的对应关系;所述第四P-CSCF需要进行负载迁移的任一个P-CSCF;Scanning a user context to obtain a load for accessing the fourth P-CSCF; wherein the user context includes a correspondence between each P-CSCF within the jurisdiction and a load of accessing the P-CSCF; the fourth P- CSCF needs any P-CSCF for load migration;按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表,以指示所述接入所述第四P-CSCF的负载进行迁移;其中,所述第二P-CSCF地址列表不包含所述第四P-CSCF的地址。Transmitting a second P-CSCF address list to the load of the fourth P-CSCF in batches according to a preset rate, to indicate that the load connected to the fourth P-CSCF is migrated; The second P-CSCF address list does not include an address of the fourth P-CSCF.
- 根据权利要求31所述的PGW,其特征在于,所述管理单元 还用于:A PGW according to claim 31, wherein said management unit Also used for:在所述按照预设速率,分批向所述接入所述第四P-CSCF的负载分别发送第二P-CSCF地址列表之后,若在预设时长之后,未接收到第二负载更新P-CSCF地址的消息,则向所述第二负载发送多媒体子系统IMS分组数据网PND连接释放消息,以指示所述第二负载断开当前IMS PDN连接;其中,所述IMS PDN连接释放消息包括指示信息,用于指示所述第二负载立刻重新发起IMS PDN建立请求;所述第二负载为被发送所述P-CSCF地址列表的负载中的任一负载;After the second P-CSCF address list is sent to the load of the fourth P-CSCF in batches according to the preset rate, if the second P-CSCF address list is received after the preset time period, the second load update P is not received. a message of the CSCF address, sending a multimedia subsystem IMS packet data network PND connection release message to the second load, to indicate that the second load disconnects the current IMS PDN connection; wherein the IMS PDN connection release message includes The indication information is used to indicate that the second load immediately re-initiates an IMS PDN establishment request; the second load is any load in a load that is sent by the P-CSCF address list;接收所述第二负载发送的IMS PDN建立请求;Receiving an IMS PDN establishment request sent by the second load;向所述第二负载反馈所述第二P-CSCF地址列表。And feeding back the second P-CSCF address list to the second load.
- 根据权利要求31或32所述的PGW,其特征在于,所述管理单元具体用于:The PGW according to claim 31 or 32, wherein the management unit is specifically configured to:按照所述预设速率,分批向在所述接入所述第四P-CSCF的负载中未进行通话的负载分别发送所述第二P-CSCF地址列表。And transmitting, according to the preset rate, the second P-CSCF address list to the load that is not in the load of the fourth P-CSCF.
- 根据权利要求31-33任一项所述的PGW,其特征在于,所述负载信息包括下述信息中的至少一项:该P-CSCF剩余可接入的负载数量、该P-CSCF容量占用比;The PGW according to any one of claims 31 to 33, wherein the load information comprises at least one of the following: the number of remaining ports that the P-CSCF can access, and the capacity occupied by the P-CSCF ratio;所述第二P-CSCF地址列表中包括的P-CSCF地址的优先级,按照每个P-CSCF的剩余可接入的负载数量从高到低依次排列,或者,按照每个P-CSCF容量占用比从低到高依次排列。The priority of the P-CSCF address included in the second P-CSCF address list is arranged in descending order of the number of remaining accessible ports of each P-CSCF, or according to each P-CSCF capacity. The occupancy ratio is arranged in order from low to high.
- 根据权利要求21-29、31-34任一项所述的PGW,其特征在于,所述管理单元还包括:The PGW according to any one of claims 21-29, 31-34, wherein the management unit further comprises:不再向所述进行负载迁移的P-CSCF分配新接入的负载。The newly accessed load is no longer allocated to the P-CSCF for load migration.
- 根据权利要求19-35任一项所述的PGW,其特征在于,所述接收单元具体用于:The PGW according to any one of claims 19 to 35, wherein the receiving unit is specifically configured to:通过SGi接口接收所述PGW管理的每个代理呼叫会话控制功能P-CSCF发送的状态消息;Receiving, by the SGi interface, a status message sent by each proxy call session control function P-CSCF managed by the PGW;或者,or,通过策略与计费规则功能单元PCRF的转发接收所述PGW管理 的每个代理呼叫会话控制功能P-CSCF发送的状态消息。 Receiving the PGW management by forwarding of the policy and charging rule function unit PCRF Each agent calls the session control function to send a status message to the P-CSCF.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201580031159.2A CN106464693B (en) | 2015-06-29 | 2015-06-29 | A kind of P-CSCF load management method and PGW |
PCT/CN2015/082710 WO2017000142A1 (en) | 2015-06-29 | 2015-06-29 | P-cscf load management method and pgw |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/082710 WO2017000142A1 (en) | 2015-06-29 | 2015-06-29 | P-cscf load management method and pgw |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017000142A1 true WO2017000142A1 (en) | 2017-01-05 |
Family
ID=57607449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/082710 WO2017000142A1 (en) | 2015-06-29 | 2015-06-29 | P-cscf load management method and pgw |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106464693B (en) |
WO (1) | WO2017000142A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108696557A (en) * | 2017-04-11 | 2018-10-23 | 北京京东尚科信息技术有限公司 | Information processing system, method and apparatus |
US20190394630A1 (en) * | 2018-04-04 | 2019-12-26 | T-Mobile Usa, Inc. | Call setup logic with emerg-request-non-100 timer |
WO2020212642A1 (en) * | 2019-04-16 | 2020-10-22 | Nokia Technologies Oy | Data centre management |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737322B (en) * | 2017-04-13 | 2021-01-26 | 展讯通信(上海)有限公司 | Service recovery method and device and mobile terminal |
WO2021012266A1 (en) * | 2019-07-25 | 2021-01-28 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for subscriber migration |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937557A (en) * | 2006-09-05 | 2007-03-28 | 华为技术有限公司 | Structured reciprocal network system and its load query, transfer and resource seeking method |
WO2008134959A1 (en) * | 2007-05-08 | 2008-11-13 | Huawei Technologies Co., Ltd. | Method and system for realizing load balancing in packet network |
JP2010288223A (en) * | 2009-06-15 | 2010-12-24 | Hitachi Ltd | Wireless system, and gateway |
WO2011150564A1 (en) * | 2010-06-02 | 2011-12-08 | 华为技术有限公司 | Method, equipment and system for processing data gateway load |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101304366A (en) * | 2007-05-08 | 2008-11-12 | 华为技术有限公司 | Method, apparatus and system for implementing load balance in packet network |
CN101500271A (en) * | 2008-02-01 | 2009-08-05 | 华为技术有限公司 | Method and equipment for implementing core network equipment load balance |
CN102594881B (en) * | 2012-02-08 | 2017-10-17 | 中兴通讯股份有限公司 | A kind of virtual machine load-balancing method, management module and virtual machine cluster system |
-
2015
- 2015-06-29 CN CN201580031159.2A patent/CN106464693B/en active Active
- 2015-06-29 WO PCT/CN2015/082710 patent/WO2017000142A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937557A (en) * | 2006-09-05 | 2007-03-28 | 华为技术有限公司 | Structured reciprocal network system and its load query, transfer and resource seeking method |
WO2008134959A1 (en) * | 2007-05-08 | 2008-11-13 | Huawei Technologies Co., Ltd. | Method and system for realizing load balancing in packet network |
JP2010288223A (en) * | 2009-06-15 | 2010-12-24 | Hitachi Ltd | Wireless system, and gateway |
WO2011150564A1 (en) * | 2010-06-02 | 2011-12-08 | 华为技术有限公司 | Method, equipment and system for processing data gateway load |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108696557A (en) * | 2017-04-11 | 2018-10-23 | 北京京东尚科信息技术有限公司 | Information processing system, method and apparatus |
CN108696557B (en) * | 2017-04-11 | 2021-08-10 | 北京京东尚科信息技术有限公司 | Information processing system, method and device |
US20190394630A1 (en) * | 2018-04-04 | 2019-12-26 | T-Mobile Usa, Inc. | Call setup logic with emerg-request-non-100 timer |
US10687195B2 (en) * | 2018-04-04 | 2020-06-16 | T-Mobile Usa, Inc. | Call setup logic with emerg-request-non-100 timer |
WO2020212642A1 (en) * | 2019-04-16 | 2020-10-22 | Nokia Technologies Oy | Data centre management |
Also Published As
Publication number | Publication date |
---|---|
CN106464693A (en) | 2017-02-22 |
CN106464693B (en) | 2019-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11463946B2 (en) | System and method for UE context and PDU session context management | |
US10945118B2 (en) | Communication system | |
CN107113599B (en) | Communication device, core network node, system, computer program and method of rerouting NAS messages | |
CN105828315B (en) | Gateway selection method and system | |
CN110365727B (en) | Communication method and related device | |
WO2017000142A1 (en) | P-cscf load management method and pgw | |
US10051458B2 (en) | Method and apparatus for efficiently transmitting small amounts of data in wireless communication systems | |
JP2020517130A (en) | Communication method, source base station, target base station, core network device, and terminal device | |
KR102392120B1 (en) | Processing method, device and system for nf component abnormality | |
EP3512300B1 (en) | Service transmission based on correspondence among tunnel endpoint identifier index, user equipment ip address segment and user plane network element | |
KR20120035896A (en) | Method of handling apn based congestion control and related communication devices | |
KR102055198B1 (en) | Recording medium recording program for method of providing augmented reality contents during video call service, and apparatus teherfor | |
EP3075127B1 (en) | Method and apparatus for an i-cscf to assign to a user equipment a s-cscf server in an ims system. | |
KR20170018453A (en) | Network element selection entity and user equipment registration method | |
CN106797585B (en) | P-CSCF load management method and device | |
CN115604184A (en) | Data routing method and device | |
JP6623268B1 (en) | Control plane device, program, system, and information processing apparatus | |
US12144039B2 (en) | Communication system and communication method for improving signal processing efficiency | |
CN117044179A (en) | Network slice quota management enhancement |
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: 15896673 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: 15896673 Country of ref document: EP Kind code of ref document: A1 |