WO2018054157A1 - Method, apparatus and system for releasing session resource - Google Patents

Method, apparatus and system for releasing session resource Download PDF

Info

Publication number
WO2018054157A1
WO2018054157A1 PCT/CN2017/093902 CN2017093902W WO2018054157A1 WO 2018054157 A1 WO2018054157 A1 WO 2018054157A1 CN 2017093902 W CN2017093902 W CN 2017093902W WO 2018054157 A1 WO2018054157 A1 WO 2018054157A1
Authority
WO
WIPO (PCT)
Prior art keywords
pgw
identifier
resource
session
release request
Prior art date
Application number
PCT/CN2017/093902
Other languages
French (fr)
Chinese (zh)
Inventor
何光伟
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018054157A1 publication Critical patent/WO2018054157A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/82Criteria or parameters used for performing billing operations
    • H04M15/8228Session based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method, apparatus, and system for releasing session resources.
  • the UE When a user accesses a certain network service through a user equipment (UE), the UE establishes a network connection with the service server of the network service, and at the same time, the network element in the network saves the session corresponding to the UE, and the Internet access of the UE
  • the charging information such as the duration and the data traffic is sent to the charging server, and the charging server allocates session resources, such as processing resources and memory resources, to the UE to perform charging for the UE.
  • the C (Control, Control) plane and the U (User) plane of the PGW are separated.
  • the network element in the network may include the PGW-C (PDN Gateway Control Plane, PDN).
  • the accounting server may be an AAA (Authentication, Authorization and Accounting, Authentication, Authorization, and Accounting) server, and the PGW-C and the PGW-U, respectively.
  • the AAA server performs signaling interaction.
  • the PGW-U may fail to restart. After the PGW-U is restarted, the UE corresponding to the PGW-U goes offline, and the AAA server needs to release the corresponding session resources. Specifically, after the PGW-U fails to be restarted, a restart notification is sent to the PGW-C, and then the PGW-C initiates a resource release procedure corresponding to the PGW-U, that is, the PGW-C is based on each UE corresponding to the PGW-U.
  • the session sends a resource release request (such as an Accounting-Request STOP message) to the AAA server one by one.
  • the resource release request may carry the identifier of the session, so that the AAA server releases the resources of the session.
  • the PGW-C For multiple sessions on the restarted PGW-U, the PGW-C needs to send a resource release request to the AAA server one by one, which results in a lower efficiency of releasing session resources.
  • embodiments of the present invention provide a method, apparatus, and system for releasing session resources.
  • the technical solution is as follows:
  • the system may include an accounting server, at least one PGW-C device, and at least one PGW-U device, and the system may further include a UE and other network elements.
  • the PGW-C can establish a connection between the billing server and the PGW-U device, respectively.
  • a method for releasing a session resource is provided, the method being applicable to a PGW-C device, the method comprising:
  • the PGW-C device determines that the PDN gateway user plane PGW-U device that establishes the connection with the local device restarts to the accounting server. Sending a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used by the charging server to release the PGW-U The session resource corresponding to the device.
  • the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the identifiers corresponding to the PGW-U.
  • the session resource does not require the PGW-C to send a resource release request one by one for each UE on the PGW-U, thereby improving the efficiency of releasing the session resources.
  • the resource release request further carries an identifier of the PGW-C device.
  • the charging server can release the session resources corresponding to the PGW-U device and the PGW-C device.
  • the determining that the PDN gateway user plane PGW-U device that establishes the connection with the local device is restarted specifically includes: :
  • a restart notification sent by the PGW-U device determines that the PGW-U device restarts.
  • the PGW-C can determine whether the PGW-U device restarts, so as to notify the charging server to release the session resources in time.
  • the method further includes:
  • the charging server Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE.
  • the charging server may establish a correspondence between the identifier of the PGW-U device and the session resource of the UE, so as to release the session resource corresponding to the PGW-U device.
  • a second aspect provides a method for releasing a session resource, where the method is applied to an accounting server, and the method includes:
  • the charging server receives the resource release request sent by the PDN gateway control plane PGW-C device, where the resource release request carries the identifier of the PDN gateway user plane PGW-U device, according to the identifier of the pre-stored PGW-U device.
  • the session resource corresponding to the identifier of the PGW-U device is determined, and the determined session resource is released.
  • the PGW-C after the PGW-U is restarted, the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server. After receiving the resource release request, the accounting server may release the resource release request. For all the session resources corresponding to the identifier of the PGW-U, the PGW-C does not need to send a resource release request one by one for each UE on the PGW-U, thereby improving the efficiency of releasing the session resources.
  • the resource release request further carries an identifier of the PGW-C device
  • the charging server can release the session resources corresponding to the PGW-U device and the PGW-C device.
  • the method before the receiving the resource release request sent by the PGW-C device, the method further includes:
  • the PGW-C device Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
  • the charging server may establish a correspondence between the identifier of the PGW-U device and the session resource of the UE, so as to release the session resource corresponding to the PGW-U device.
  • the resource release request further carries the restart times of the PGW-U device
  • the method further includes:
  • the processing may be omitted to avoid repeated release, thereby saving the processing resources of the charging processor.
  • a PGW-C device comprising:
  • a determining unit configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device restarts
  • a sending unit configured to send, to the charging server, a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used by the
  • the accounting server releases the session resources corresponding to the PGW-U device.
  • the resource release request further includes an identifier of the PGW-C device, where the identifier of the PGW-C device is used by the charging server to release the PGW a U-device and a session resource corresponding to the PGW-C device.
  • the determining unit is specifically configured to:
  • the sending unit is further configured to:
  • the charging server Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
  • a billing server includes:
  • a receiving unit configured to receive a resource release request sent by a PDN gateway control plane PGW-C device, where the resource is released
  • the request carries the identifier of the PDN gateway user plane PGW-U device
  • a determining unit configured to determine, according to a correspondence between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device;
  • a release unit for releasing the determined session resources.
  • the resource release request further carries an identifier of the PGW-C device
  • the determining unit is specifically configured to:
  • the receiving unit is further configured to:
  • the PGW-C device Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
  • the billing server further includes an establishing unit, configured to:
  • the resource release request further carries a restart number of the PGW-U device
  • the determining unit is further configured to:
  • a PDN gateway control plane PGW-C device comprising a processor and a transceiver, wherein:
  • the processor is configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device restarts;
  • the transceiver is configured to send a resource release request corresponding to the PGW-U device to the charging server, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used by And releasing, by the charging server, a session resource corresponding to the PGW-U device.
  • the resource release request further includes an identifier of the PGW-C device, where the identifier of the PGW-C device is used by the charging server to release the PGW a U-device and a session resource corresponding to the PGW-C device.
  • the processor is specifically configured to:
  • the third possible implementation manner of the fifth aspect is further configured to:
  • the charging server Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
  • a billing server comprising a processor, a transceiver, and a memory, wherein:
  • the transceiver is configured to receive a resource release request sent by a PDN gateway control plane PGW-C device, where the resource release request carries an identifier of the PDN gateway user plane PGW-U device;
  • the processor is configured to determine, according to the correspondence between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device;
  • the processor is further configured to release the determined session resource.
  • the resource release request further carries an identifier of the PGW-C device
  • the processor is specifically configured to:
  • the transceiver is further configured to:
  • the PGW-C device Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
  • the processor is further configured to allocate a session resource to the UE, and establish a correspondence between an identifier of the PGW-U device and a session resource of the UE.
  • the resource release request further includes a restart number of the PGW-U device
  • the processor is further configured to:
  • a system for releasing session resources comprising a PDN gateway control plane PGW-C device and a charging server, wherein:
  • the PGW-C device is configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device is restarted, and sends a resource release request corresponding to the PGW-U device to the accounting server, where the resource release request is carried.
  • the charging server is configured to receive a resource release request sent by the PDN gateway control plane PGW-C device, and determine, according to the correspondence between the identifier of the PGW-U device and the session resource, the identifier of the PGW-U device Meeting The resources are released, and the determined session resources are released.
  • the PGW-C after the PGW-U is restarted, the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the session resources corresponding to the identifier of the PGW-U. It is not necessary for the PGW-C to send a resource release request one by one for each UE on the PGW-U, so that the efficiency of releasing the session resources can be improved.
  • FIG. 1 is a system frame diagram provided by an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for releasing session resources according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for releasing session resources according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a PGW-C device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a charging server according to an embodiment of the present invention.
  • the embodiment of the invention discloses a method for releasing the session resources of the UE in the AAA charging scenario under the CU separate network architecture.
  • the C (Control) plane and the U (User) plane of the PGW device are separated, that is, the PGW device can be divided into a PGW-C device (PDN Gateway Control Plane, PDN Gateway Control Plane).
  • a PGW-U device PDN Gateway User Plane
  • FIG. 1 is a system framework diagram of an embodiment of the present invention, where the system may include a UE, an accounting server, and at least one PGW-C device. At least one PGW-U device and other network elements.
  • one PGW-C device can establish a connection with multiple PGW-U devices.
  • one PGW-U device can also establish a connection with multiple PGW-C devices; the other network elements can be PGW-C devices and PGWs.
  • - NEs other than the U device such as SGW-U (Serving Gateway User Plane), SGW-C (Serving Gateway Control Plane), and MME (Mobility Management Entity) Wait.
  • the PGW-C device can receive the online notification of the UE, and then select the corresponding PGW-U device for the UE.
  • the service server of the network service can be accessed, and then the PGW-U device can collect charging information such as the Internet access time and data traffic of the UE, and can send the charging information of the UE to the PGW-C device.
  • the PGW-C device sends the charging information of the UE to the charging server, so that the charging server performs charging for the UE.
  • the accounting server and each network element in the network may save the session corresponding to the UE, and serve as the UE.
  • Allocate session resources such as processing resources and memory resources.
  • the embodiment of the present invention is mainly concerned with the process of releasing the session resources corresponding to the PGW-U device after the PGW-U device fails and restarts.
  • FIG. 2 is a flowchart of a method for releasing session resources according to an exemplary embodiment of the present invention.
  • the method may be used in a network system as shown in FIG. 1.
  • the method for releasing session resources may include:
  • Step 201 The PGW-C device determines that the PDN gateway user plane PGW-U device that establishes the connection with the local device restarts.
  • the PGW-C device can establish a connection with at least one PGW-U device, and then the PGW-C device can detect in real time at least one PGW-U device whether there is a restarted PGW-U device.
  • the manner in which the PGW-C device detects whether the PGW-U device is restarted may be various. This embodiment provides two feasible processing modes, as follows:
  • the PGW-C device sends a detection message to each PGW-U device that establishes a connection with the local device, and the PGW-U device that does not receive the feedback message within the preset duration is determined to be the restarted PGW-U device.
  • the transmission period of the detection message may be preset in the PGW-C device.
  • the PGW-C device separately sends a detection message to the PGW-U device that establishes a connection with the local, and the detection message may be a heartbeat detection message.
  • the normal working PGW-U device can send a feedback message to the PGW-C device, and the PGW-C device will not receive the feedback message if the link fails or the PGW-U device itself fails. Based on this, the PGW-C device can determine the PGW-U device in which the restart occurs, wherein the self failure can be a restart or an internal abnormality or the like.
  • the PGW-C device After the PGW-C device sends a detection message, it can perform timing, and can determine the PGW-U device that does not send the feedback message within the preset duration (which can be referred to as the first preset duration), and the PGW-U device is taken as Faulty PGW-U device.
  • the PGW-C device may continuously send multiple detection messages within a preset duration (which may be referred to as a second preset duration), and the PGW-C device may receive multiple feedbacks sent by the normally working PGW-U device.
  • the PGW-C device may determine the PGW-U device that has not sent the feedback message after transmitting the multiple detection messages, and use the PGW-U device as the failed PGW-U device.
  • the PGW-C device receives 3 feedback messages sent by the PGW-U device 1, and the PGW-U device 2 sends 2 feedback messages, but does not receive the PGW.
  • the feedback message sent by the U device 3 can determine that the PGW-U device 3 has failed.
  • the first preset duration and the second preset duration may be the same or different, and are not limited in this embodiment.
  • the PGW-C device receives a restart notification sent by the PGW-U device that establishes a connection with the local device, and determines that the PGW-U device restarts.
  • the PGW-U device may send a restart notification to the PGW-C device after the restart, and the restart notification may be any signaling message carrying the restart identifier.
  • the restart identifier may be an identifier for indicating that the PGW-U device is restarted, such as an identifier of a restart action, a restart number of the PGW-U device, and the like.
  • the PGW-C device can determine whether the PGW-U device restarts based on the restart identifier.
  • the restart identifier may be added to the PGW-C device signaling message, and the PGW-C device receives the signaling message sent by the PGW-U device.
  • the information message may be parsed. If the information message carries a restart identifier, it may be determined that the PGW-U device restarts.
  • the PGW-U device can record the number of restarts within the preset duration. After the PGW-U device restarts, the number of restarts can be increased by one. When the threshold is preset, the PGW-U device can clear its own restart count and then re-record. The PGW-U device can perform signaling interaction with the PGW-C device, and the interworking signaling can carry the current number of restarts of the PGW-U device. After receiving the number of restarts sent by the PGW-U device, the PGW-C device may compare the number of restarts with the number of restarts of the PGW-U device whose receiving time is closest to the current time. If the two are the same, the device may determine The PGW-U device does not restart, if both If it is not the same, it can be judged that the PGW-U device restarts.
  • Step 202 The PGW-C device sends a resource release request corresponding to the PGW-U device to the accounting server.
  • the resource release request may carry the resource release request carrying the identifier of the PGW-U device, where the identifier of the PGW-U device is used by the accounting server to release the session resource corresponding to the PGW-U device.
  • the PGW-C device may send a resource release request corresponding to the PGW-U device to the accounting server.
  • the resource release request may be an Accounting-Request OFF message, and the Accounting-Request OFF message may carry an identifier of the PGW-U device, such as a User Plane Identifier, and/or a User Plane IP Address.
  • the User Plane Identifier can be the ID of the PGW-U device
  • the User Plane IP Address can be the IP address of the PGW-U device.
  • the accounting server may reply a response message, such as an Accounting-Response, to the PGW-C device.
  • the PGW-C device allocates session resources to the UE, and can store the correspondence between the UE and the PGW-U device. After the PGW-C device determines that the PGW-U device restarts, the UE corresponding to the PGW-U device may be determined. For each UE corresponding to the PGW-U device, the PGW-C device may determine the session resources allocated locally for the UE one by one, and send a resource release request to the NEs adjacent to the PGW-C device one by one for each UE. So that the network elements can release the session resources of the UEs, wherein the network element adjacent to the PGW-C device does not include the charging server.
  • the PGW-C device can also release the session resources allocated locally for these UEs one by one.
  • the processing resources and the storage resources corresponding to the UE may be released.
  • the processing sequence of the process and the step 202 may be in no particular order.
  • the PGW-C device may also carry the restart times of the PGW-U device in the resource release request, and the corresponding processing may be as follows: acquiring the restart times of the PGW-U device.
  • the PGW-C device can obtain the restart number of the PGW-U device, and can add the restart number to the resource release request, and then send the call to the charging server.
  • the resource release request may be an Accounting-Request OFF message, and the Accounting-Request OFF message may carry the User Plane Recovery in addition to the identifier of the PGW-U device, and the User Plane Recovery is the number of restarts of the PGW-U device.
  • the PGW-C device may further carry the identifier of the PGW-C device in the resource release request, where the identifier of the PGW-C device is used by the charging server to release the PGW-U device and the session resource corresponding to the PGW-C device. .
  • Step 203 The charging server receives the resource release request sent by the PGW-C device.
  • the resource release request may carry the identifier of the PGW-U device.
  • the accounting server may parse the received resource release request and obtain the identifier of the PGW-U device carried therein for subsequent processing.
  • Step 204 The charging server determines the session resource corresponding to the identifier of the PGW-U device according to the correspondence between the identifier of the PGW-U device and the session resource.
  • the corresponding relationship between the identifier of the PGW-U device and the session resource may be pre-stored in the accounting server, and the session resource may be all session resources corresponding to the PGW-U device.
  • the accounting server may determine all the session resources corresponding to the identifier of the PGW-U device in the resource release request according to the correspondence between the identifier of the PGW-U device and the session resource, so as to release the session resources.
  • the specific process for the charging server to establish the correspondence between the identifier of the PGW-U device and the session resource may include the following steps:
  • Step 1 The PGW-C device sends a charging request corresponding to the UE to the charging server.
  • the UE is the UE corresponding to the PGW-U device, and the charging request may carry the identifier of the PGW-U device and the session identifier of the UE, and the charging request may be an Accounting-Request START message and/or an Accounting-Request Interim- Update message.
  • the PGW-C device may receive an online notification of the UE, and then may select a corresponding PGW-U device for the UE. Thereafter, the PGW-C device may send a charging request corresponding to the UE to the charging server to notify the charging server to perform charging for the UE.
  • Step 2 The charging server receives the charging request sent by the PGW-C device.
  • the accounting server may parse the charging request, and obtain the identifier of the PGW-U device and the session identifier of the UE.
  • Step 3 The accounting server allocates a session resource to the UE, and establishes a correspondence between the identifier of the PGW-U device and the session resource of the UE.
  • the charging server may allocate a session resource to the UE, and then add the identifier of the PGW-U device and the session resource of the UE to the corresponding relationship between the identifier of the PGW-U device and the session resource. Thereby, the correspondence between the identifier of the PGW-U device and the session resource of the UE is established.
  • the charging server may first determine, according to the number of restarts of the PGW-U device, whether resource release is required, and correspondingly, before step 204. The following process may also be performed: the charging server determines whether the number of restarts of the PGW-U device is the same as the number of restarts of the PGW-U device whose receiving time is closest to the current time, and if not, performs the pre-stored PGW- The step of determining the session resource corresponding to the identifier of the PGW-U device by the correspondence between the identifier of the U device and the session resource.
  • the charging server may receive the number of restarts of the PGW-U device sent by the PGW-C device, for example, the number of restarts of the PGW-U device that the PGW-C device may send to the charging server.
  • the number of restarts of the PGW-U device may be carried in the Accounting-Request START, the Accounting-Request Interim-Update, and the Accounting-Request ON in the interaction signaling between the PGW-C device and the accounting server.
  • the accounting server can obtain the number of restarts of the PGW-U device and then store it.
  • the accounting server may parse the resource release request, obtain the identifier of the PGW-U device, and the number of restarts of the PGW-U device (for the convenience of description, the first restart number may be referred to as ).
  • the charging server may obtain the number of restarts of the PGW-U device whose receiving time is closest to the current time (referred to as a second restart number for convenience of description).
  • the accounting server may determine whether the first restarting number is the same as the second restarting number. If the first restarting number is the same as the second restarting number, the step 204 may not be performed, and the session resource release may be successfully sent to the PGW-C device. Response message. If the number of the first restarts is different from the number of the second restarts, step 204 may be performed, when the charging server receives the resource release request corresponding to the PGW-U device sent by the other PGW-C device, and the resource release request is carried in the resource release request. When the number of restarts is the first number of restarts, the response message that the session resource is successfully released may be directly sent to other PGW-C devices.
  • the charging server may also release the session resource corresponding to the PGW-U device and the PGW-C device.
  • the process of step 204 may be as follows: according to the identifier of the pre-stored PGW-U device, PGW- Corresponding relationship between the identifier of the C device and the session resource, and the identifier of the PGW-C device and the identifier of the PGW-U device in the resource release request, determine the corresponding session resource.
  • the PGW-C device sends the corresponding UE's charging request to the charging server, and may also carry the PGW-U setting.
  • the accounting server may allocate the session resource to the UE, and then add the identifier of the PGW-U device, the identifier of the PGW-C device, and the session resource of the UE to the PGW-U.
  • the accounting server may be based on the identifier of the pre-stored PGW-U device, the correspondence between the identifier of the PGW-C device and the session resource, and the PGW in the resource release request.
  • the identifier of the C device and the identifier of the PGW-U device determine the corresponding session resource, and the determined session resource is the session resource corresponding to the PGW-U device and the PGW-C device.
  • Step 205 The accounting server releases the determined session resource.
  • the session resource allocated for the UE may be released one by one based on the session resource of each UE included in the session resource. For example, the processing resources and the storage resources corresponding to a certain UE may be released. For a specific process, refer to the prior art, and details are not described in this embodiment.
  • the charging server determines that the identifier of the PGW-U device corresponds to all UEs according to the correspondence between the identifier of the PGW-U device and the session resource.
  • the charging server may release the identifier of the PGW-U device corresponding to the session resources of all UEs.
  • the charging server may release the identifier of the PGW-U device corresponding to the session resources of all UEs.
  • the charging server according to the identifier of the PGW-U device stored in advance, the identifier of the PGW-C device, and the correspondence relationship of the session resources, and The identifier of the PGW-C device in the resource release request and the identifier of the PGW-U device determine the corresponding session resource, and then release the determined session resource.
  • an example of a method for releasing a session resource may be:
  • Step1 After the UE goes online, the PGW-C sends an Accounting-Request START message to the AAA Server.
  • the User Plane Identifier, and/or the User Plane IP Address, and/or the User Plane Identifier are the IDs of the PGW-U, and the User Plane IP Address is the IP address of the PGW-U.
  • User Plane Recovery is the number of restarts of PGW-U.
  • Step2 AAA Server replies to Accounting-Response to PGW-C.
  • Step 3 The PGW-C sends an Accounting-Request Interim-Update message to the AAA Server.
  • the Accounting-Request Interim-Update message carries a User Plane Identifier, and/or a User Plane IP Address, and/or a User Plane Recovery.
  • Step4 AAA Server replies to Accounting-Response to PGW-C.
  • Step5 PGW-U restarts.
  • Step6 PGW-C detects the PGW-U restart.
  • Step 7 the PGW-C sends an Accounting-Request OFF message to the AAA Server.
  • the Accounting-Request OFF message carries the User Plane Identifier, and/or User Plane IP Address, and/or User Plane Recovery, to notify the AAA Server to release the PGW-U related session resources.
  • Step8 AAA Server replies to Accounting-Response.
  • Step 9 The AAA server releases the session resource corresponding to the PGW-U according to the Accounting-Request OFF message.
  • Step 10 After the PGW-C detects that the PGW-U restarts successfully, the PGW-C may send an Accounting-Request ON message to the AAA Server.
  • the Accounting-Request ON message carries the User Plane Identifier, and/or User Plane IP Address, and/or User Plane Recovery, to notify the AAA Server that the PGW-U resumes normal operation.
  • Step11 AAA Server replies to Accounting-Response.
  • the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the session resources corresponding to the identifier of the PGW-U, and does not need the PGW.
  • -C sends a resource release request one by one for each UE on the PGW-U, so that the efficiency of releasing the session resources can be improved, and the signaling load between the PGW-C and the charging server can be reduced.
  • FIG. 4 is a schematic structural diagram of a network device according to an exemplary embodiment of the present invention.
  • the network device 10 may be the PGW-C device or the charging server described above, and the network device 10 includes a processor 401, a transceiver 402, a memory 403, and a network interface 404.
  • the memory 403 and the network interface 404 are respectively connected to the processor 401 and the transceiver 402; the memory 403 is used to store program code, the program code includes computer operation instructions, and the processor 401 and the transceiver 402 are used to execute the program stored in the memory 403.
  • the code is used to implement related processing for releasing session resources, and the transceiver 402 can communicate with other UEs or network devices through the network interface 404.
  • Processor 401 includes one or more processing cores.
  • the processor 401 executes various functional applications and data processing by running software programs and modules.
  • the network device 10 further includes a component such as a bus 405.
  • the memory 403 and the network interface 404 are respectively connected to the processor 402 via the bus 405.
  • Memory 403 can be used to store software programs as well as modules. Specifically, the memory 403 can store the operating system 162, the application module 164 required for at least one function.
  • the operating system 162 can be an operating system such as Real Time eXecutive (RTX), LINUX, UNIX, WINDOWS, or OS X.
  • the processor 401 is configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device restarts;
  • the transceiver 402 is configured to send, to the charging server, a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device And the charging server is configured to release the session resource corresponding to the PGW-U device.
  • the resource release request further carries an identifier of the PGW-C device, where the identifier of the PGW-C device is used by the charging server to release the PGW-U device and the PGW-C The session resource corresponding to the device.
  • the processor 401 is specifically configured to:
  • the transceiver 402 is further configured to:
  • the charging server Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
  • the transceiver 402 is configured to receive a resource release request sent by the PDN gateway control plane PGW-C device, where the resource release request carries the PDN gateway user plane PGW- The identifier of the U device;
  • the processor 401 is configured to determine, according to the correspondence between the identifier of the PGW-U device and the session resource that is stored in the memory 403, the session resource corresponding to the identifier of the PGW-U device;
  • the processor 401 is further configured to release the determined session resource.
  • the resource release request further carries an identifier of the PGW-C device.
  • the processor 401 is specifically configured to:
  • the identifier of the device determines the corresponding session resource.
  • the transceiver 402 is further configured to:
  • the PGW-C device Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
  • the processor 401 is further configured to allocate a session resource to the UE, and establish a correspondence between the identifier of the PGW-U device and the session resource of the UE.
  • the resource release request further carries the restart number of the PGW-U device.
  • the processor 401 is further configured to:
  • the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the session resources corresponding to the identifier of the PGW-U, and does not need the PGW.
  • -C sends a resource release request one by one for each UE on the PGW-U, so that the efficiency of releasing the session resources can be improved, and the signaling load between the PGW-C and the charging server can be reduced.
  • an embodiment of the present invention further provides a PGW-C device.
  • the PGW-C device includes a determining unit 501 and a sending unit 502, where:
  • a determining unit 501 configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device restarts;
  • the sending unit 502 is configured to send, to the charging server, a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used for The charging server releases the session resources corresponding to the PGW-U device.
  • the resource release request further carries an identifier of the PGW-C device, where the identifier of the PGW-C device is used by the charging server to release the PGW-U device and the PGW-C The session resource corresponding to the device.
  • the determining unit 501 is specifically configured to:
  • the sending unit 502 is further configured to:
  • the charging server Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
  • the embodiment of the present invention further provides an accounting server.
  • the accounting server includes:
  • the receiving unit 601 is configured to receive a resource release request sent by the PDN gateway control plane PGW-C device, where the resource release request carries an identifier of the PDN gateway user plane PGW-U device;
  • a determining unit 602 configured to determine, according to a correspondence between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device;
  • the release unit 603 is configured to release the determined session resource.
  • the resource release request further carries an identifier of the PGW-C device.
  • the determining unit 602 is specifically configured to:
  • the receiving unit 601 is further configured to:
  • the PGW-C device Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
  • the charging server may further include an establishing unit, configured to:
  • the resource release request further carries the restart number of the PGW-U device.
  • the determining unit 602 is further configured to:
  • the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the session resources corresponding to the identifier of the PGW-U, and does not need the PGW.
  • -C sends a resource release request one by one for each UE on the PGW-U, so that the efficiency of releasing the session resources can be improved, and the signaling load between the PGW-C and the charging server can be reduced.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention belongs to the technical field of the Internet, and disclosed thereby are a method, apparatus and system for releasing a session resource. The method is applied to a packet data network (PDN) gateway control plane (PGW-C) device, and comprises: determining that a PDN gateway user plane (PGW-U) device that establishes a local connection restarts; sending to a charging server a resource release request corresponding to the PGW-U device, the resource release request carrying an identifier of the PGW-U device, and the identifier of the PGW-U device being used for the charging server releasing a session resource corresponding to the PGW-U device without requiring a PGW-C to send a resource release request for each user equipment (UE) on the PGW-U one by one, thereby increasing efficiency of releasing session resources.

Description

一种释放会话资源的方法、装置和系统Method, device and system for releasing session resources
本申请要求于2016年9月26日提交中国专利局、申请号为201610851484.X、发明名称为“一种释放会话资源的方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610851484.X, filed on September 26, 2016, entitled "A Method, Apparatus, and System for Dissipating Session Resources", the entire contents of which are hereby incorporated by reference. The citations are incorporated herein by reference.
技术领域Technical field
本发明涉及互联网技术领域,特别涉及一种释放会话资源的方法、装置和系统。The present invention relates to the field of Internet technologies, and in particular, to a method, apparatus, and system for releasing session resources.
背景技术Background technique
随着互联网技术的发展,互联网的应用越来越广泛,互联网的用户也越来越多。用户通过UE(User Equipment,用户终端)访问某网络业务时,UE会与该网络业务的业务服务器建立网络连接,同时,网络中的网元会保存该UE对应的会话,并将该UE的上网时长和数据流量等计费信息发送给计费服务器,计费服务器则会为该UE分配会话资源,如处理资源和内存资源等,从而为该UE进行计费。其中,在CU分离的场景下,PGW的C(Control,控制)面和U(User,用户)面是分离的,相应的,网络中的网元可以包括PGW-C(PDN Gateway Control Plane,PDN网关控制面)和PGW-U(PDN Gateway User Plane,PDN网关用户面),计费服务器可以是AAA(Authentication,Authorization and Accounting,认证、授权和会计)服务器,PGW-C分别与PGW-U、AAA服务器进行信令交互。With the development of Internet technology, the application of the Internet has become more and more widespread, and the number of users of the Internet has also increased. When a user accesses a certain network service through a user equipment (UE), the UE establishes a network connection with the service server of the network service, and at the same time, the network element in the network saves the session corresponding to the UE, and the Internet access of the UE The charging information such as the duration and the data traffic is sent to the charging server, and the charging server allocates session resources, such as processing resources and memory resources, to the UE to perform charging for the UE. The C (Control, Control) plane and the U (User) plane of the PGW are separated. In the scenario where the CU is separated, the network element in the network may include the PGW-C (PDN Gateway Control Plane, PDN). The gateway control plane) and the PGW-U (PDN Gateway User Plane), the accounting server may be an AAA (Authentication, Authorization and Accounting, Authentication, Authorization, and Accounting) server, and the PGW-C and the PGW-U, respectively. The AAA server performs signaling interaction.
在实际中,PGW-U可能会发生故障重启。PGW-U故障重启后,会导致该PGW-U对应的各UE下线,AAA服务器则需要释放相应的会话资源。具体的,PGW-U故障重启后,会向PGW-C发送重启通知,然后PGW-C发起对应该PGW-U的资源释放流程,也即,PGW-C基于PGW-U对应的每个UE的会话,向AAA服务器逐个发送会话的资源释放请求(如Accounting-Request STOP消息),资源释放请求中可以携带有会话的标识,以使AAA服务器释放该会话的资源。In practice, the PGW-U may fail to restart. After the PGW-U is restarted, the UE corresponding to the PGW-U goes offline, and the AAA server needs to release the corresponding session resources. Specifically, after the PGW-U fails to be restarted, a restart notification is sent to the PGW-C, and then the PGW-C initiates a resource release procedure corresponding to the PGW-U, that is, the PGW-C is based on each UE corresponding to the PGW-U. The session sends a resource release request (such as an Accounting-Request STOP message) to the AAA server one by one. The resource release request may carry the identifier of the session, so that the AAA server releases the resources of the session.
在实现本发明的过程中,发明人发现现有技术至少存在以下问题:In the process of implementing the present invention, the inventors have found that the prior art has at least the following problems:
对于重启的PGW-U上的多个会话,PGW-C需要逐个发送资源释放请求给AAA服务器,这样会导致释放会话资源的效率较低。For multiple sessions on the restarted PGW-U, the PGW-C needs to send a resource release request to the AAA server one by one, which results in a lower efficiency of releasing session resources.
发明内容Summary of the invention
为了解决现有技术的问题,本发明实施例提供了一种释放会话资源的方法、装置和系统。所述技术方案如下:In order to solve the problems in the prior art, embodiments of the present invention provide a method, apparatus, and system for releasing session resources. The technical solution is as follows:
在CU分离网络架构下的AAA计费场景中,上述系统可以包括计费服务器、至少一个PGW-C设备、至少一个PGW-U设备,该系统还可以包括UE和其他网元。PGW-C可以分别于计费服务器和PGW-U设备建立连接。In the AAA charging scenario in the CU separate network architecture, the system may include an accounting server, at least one PGW-C device, and at least one PGW-U device, and the system may further include a UE and other network elements. The PGW-C can establish a connection between the billing server and the PGW-U device, respectively.
第一方面,提供了一种释放会话资源的方法,该方法可以应用于PGW-C设备,所述方法包括:In a first aspect, a method for releasing a session resource is provided, the method being applicable to a PGW-C device, the method comprising:
PGW-C设备确定与本地建立连接的PDN网关用户面PGW-U设备发生重启,向计费服务器 发送对应所述PGW-U设备的资源释放请求,该资源释放请求中携带有所述PGW-U设备的标识,所述PGW-U设备的标识用于所述计费服务器释放所述PGW-U设备对应的会话资源。The PGW-C device determines that the PDN gateway user plane PGW-U device that establishes the connection with the local device restarts to the accounting server. Sending a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used by the charging server to release the PGW-U The session resource corresponding to the device.
本发明实施例所示的方案,当PGW-U发生重启后,PGW-C向计费服务器发送对应该PGW-U的资源释放请求,以使计费服务器释放该PGW-U的标识对应的全部会话资源,无需PGW-C针对每个PGW-U上的UE逐个发送资源释放请求,从而可以提高释放会话资源的效率。In the solution shown in the embodiment of the present invention, after the PGW-U is restarted, the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the identifiers corresponding to the PGW-U. The session resource does not require the PGW-C to send a resource release request one by one for each UE on the PGW-U, thereby improving the efficiency of releasing the session resources.
在第一方面的第一种可能实现方式中,该资源释放请求中还携带有该PGW-C设备的标识。In a first possible implementation manner of the first aspect, the resource release request further carries an identifier of the PGW-C device.
这样,计费服务器可以释放所述PGW-U设备和所述PGW-C设备对应的会话资源。In this way, the charging server can release the session resources corresponding to the PGW-U device and the PGW-C device.
结合第一方面或者第一方面的第一种可能实现方式,在第一方面的第二种可能实现方式中,所述确定与本地建立连接的PDN网关用户面PGW-U设备发生重启,具体包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the determining that the PDN gateway user plane PGW-U device that establishes the connection with the local device is restarted, specifically includes: :
向与本地建立连接的各PGW-U设备发送检测消息,在预设时长内未收到反馈消息的PGW-U设备被确定为发生重启的PGW-U设备;或者,接收到与本地建立连接的PGW-U设备发送的重启通知,确定所述PGW-U设备发生重启。Sending a detection message to each PGW-U device that establishes a connection with the local, the PGW-U device that has not received the feedback message within the preset duration is determined to be the restarted PGW-U device; or, the connection with the local connection is received. A restart notification sent by the PGW-U device determines that the PGW-U device restarts.
这样,PGW-C可以判断PGW-U设备是否发生重启,从而及时通知计费服务器释放会话资源。In this way, the PGW-C can determine whether the PGW-U device restarts, so as to notify the charging server to release the session resources in time.
结合第一方面至第一方面的第二种可能实现方式,在第一方面的第三种可能实现方式中,在所述确定与本地建立连接的PDN网关用户面PGW-U设备发生重启之前,所述方法还包括:With reference to the first aspect to the second possible implementation of the first aspect, in a third possible implementation manner of the first aspect, before the determining that the PDN gateway user plane PGW-U device that establishes the connection with the local device is restarted, The method further includes:
向所述计费服务器发送对应用户设备UE的计费请求,所述计费请求中携带所述PGW-U设备的标识和所述UE的会话标识。Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE.
这样,计费服务器可以建立所述PGW-U设备的标识与所述UE的会话资源的对应关系,以便释放该PGW-U设备对应的会话资源。In this way, the charging server may establish a correspondence between the identifier of the PGW-U device and the session resource of the UE, so as to release the session resource corresponding to the PGW-U device.
第二方面,提供了一种释放会话资源的方法,该方法应用于计费服务器,所述方法包括:A second aspect provides a method for releasing a session resource, where the method is applied to an accounting server, and the method includes:
计费服务器接收PDN网关控制面PGW-C设备发送的资源释放请求,所述资源释放请求中携带有所述PDN网关用户面PGW-U设备的标识,根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源,释放确定出的会话资源。The charging server receives the resource release request sent by the PDN gateway control plane PGW-C device, where the resource release request carries the identifier of the PDN gateway user plane PGW-U device, according to the identifier of the pre-stored PGW-U device The session resource corresponding to the identifier of the PGW-U device is determined, and the determined session resource is released.
本发明实施例所示的方案,当PGW-U发生重启后,PGW-C会向计费服务器发送对应该PGW-U的资源释放请求,计费服务器接收到该资源释放请求后,可以释放该PGW-U的标识对应的全部会话资源,无需PGW-C针对每个PGW-U上的UE逐个发送资源释放请求,从而可以提高释放会话资源的效率。In the solution shown in the embodiment of the present invention, after the PGW-U is restarted, the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server. After receiving the resource release request, the accounting server may release the resource release request. For all the session resources corresponding to the identifier of the PGW-U, the PGW-C does not need to send a resource release request one by one for each UE on the PGW-U, thereby improving the efficiency of releasing the session resources.
在第二方面的第一种可能实现方式中,所述资源释放请求中还携带有所述PGW-C设备的标识;In a first possible implementation manner of the second aspect, the resource release request further carries an identifier of the PGW-C device;
所述根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源,具体包括:Determining, according to the corresponding relationship between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device, specifically:
根据预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及所述资源释放请求中的所述PGW-C设备的标识和所述PGW-U设备的标识,确定对应的会话资源。 Corresponding relationship between the identifier of the PGW-U device, the identifier of the PGW-C device, and the session resource, and the identifier of the PGW-C device and the identifier of the PGW-U device in the resource release request, Determine the corresponding session resource.
这样,计费服务器可以释放所述PGW-U设备和所述PGW-C设备对应的会话资源。In this way, the charging server can release the session resources corresponding to the PGW-U device and the PGW-C device.
结合第二方面或第二方面的第一种可能实现方式,在第二方面的第二种可能实现方式中,在所述接收PGW-C设备发送的资源释放请求之前,所述方法还包括:With reference to the second aspect, or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, before the receiving the resource release request sent by the PGW-C device, the method further includes:
接收所述PGW-C设备发送的计费请求,所述计费请求中携带所述PGW-U设备的标识和用户设备UE的会话标识,所述PGW-U设备为所述UE对应的PGW-U设备;Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
为所述UE分配会话资源,并建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。And allocating a session resource to the UE, and establishing a correspondence between the identifier of the PGW-U device and the session resource of the UE.
这样,计费服务器可以建立所述PGW-U设备的标识与所述UE的会话资源的对应关系,以便释放该PGW-U设备对应的会话资源。In this way, the charging server may establish a correspondence between the identifier of the PGW-U device and the session resource of the UE, so as to release the session resource corresponding to the PGW-U device.
结合第二方面至第二方面的第二种可能实现方式,在第二方面的第三种可能实现方式中,所述资源释放请求中还携带有所述PGW-U设备的重启次数;With reference to the second aspect, the second possible implementation manner of the second aspect, in the third possible implementation manner of the second aspect, the resource release request further carries the restart times of the PGW-U device;
在所述确定所述PGW-U设备的标识对应的会话资源之前,还包括:Before the determining the session resource corresponding to the identifier of the PGW-U device, the method further includes:
确定所述PGW-U设备的重启次数是否与接收时间离当前时间最近的所述PGW-U设备的重启次数相同,如果不相同,则执行所述确定所述PGW-U设备的标识对应的会话资源的步骤。Determining whether the number of restarts of the PGW-U device is the same as the number of restarts of the PGW-U device whose receiving time is closest to the current time. If not, performing the determining the session corresponding to the identifier of the PGW-U device The steps of the resource.
这样,可以判定该PGW-U设备对应的会话资源是否已经释放,如果已经释放,则可不进行处理,避免重复释放,从而可以节约计费处理器的处理资源。In this way, it can be determined whether the session resource corresponding to the PGW-U device has been released. If it has been released, the processing may be omitted to avoid repeated release, thereby saving the processing resources of the charging processor.
第三方面,提供了一种PGW-C设备,该PGW-C设备包括:In a third aspect, a PGW-C device is provided, the PGW-C device comprising:
确定单元,用于确定与本地建立连接的PDN网关用户面PGW-U设备发生重启;a determining unit, configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device restarts;
发送单元,用于向计费服务器发送对应所述PGW-U设备的资源释放请求,所述资源释放请求中携带有所述PGW-U设备的标识,所述PGW-U设备的标识用于所述计费服务器释放所述PGW-U设备对应的会话资源。a sending unit, configured to send, to the charging server, a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used by the The accounting server releases the session resources corresponding to the PGW-U device.
在第三方面的第一种可能实现方式中,所述资源释放请求中还携带有所述PGW-C设备的标识,所述PGW-C设备的标识用于所述计费服务器释放所述PGW-U设备和所述PGW-C设备对应的会话资源。In a first possible implementation manner of the third aspect, the resource release request further includes an identifier of the PGW-C device, where the identifier of the PGW-C device is used by the charging server to release the PGW a U-device and a session resource corresponding to the PGW-C device.
结合第三方面或者第三方面的第一种可能实现方式,在第三方面的第二种可能实现方式中,所述确定单元具体用于:With reference to the third aspect, or the first possible implementation manner of the third aspect, in the second possible implementation manner of the third aspect, the determining unit is specifically configured to:
向与本地建立连接的各PGW-U设备发送检测消息,在预设时长内未收到反馈消息的PGW-U设备被确定为发生重启的PGW-U设备;或者,Sending a detection message to each PGW-U device that establishes a connection with the local, and the PGW-U device that has not received the feedback message within the preset duration is determined to be the restarted PGW-U device; or
接收到与本地建立连接的PGW-U设备发送的重启通知,确定所述PGW-U设备发生重启。Receiving a restart notification sent by the PGW-U device that establishes a connection with the local, determining that the PGW-U device restarts.
结合第三方面至第三方面的第二种可能实现方式,在第三方面的第三种可能实现方式中,所述发送单元,还用于:In conjunction with the second possible implementation of the third aspect to the third aspect, in a third possible implementation manner of the third aspect, the sending unit is further configured to:
向所述计费服务器发送对应用户设备UE的计费请求,所述计费请求中携带所述PGW-U设备的标识和所述UE的会话标识,以使所述计费服务器建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
第四方面,提供了一种计费服务器,所述计费服务器包括:In a fourth aspect, a billing server is provided, where the billing server includes:
接收单元,用于接收PDN网关控制面PGW-C设备发送的资源释放请求,所述资源释放 请求中携带有所述PDN网关用户面PGW-U设备的标识;a receiving unit, configured to receive a resource release request sent by a PDN gateway control plane PGW-C device, where the resource is released The request carries the identifier of the PDN gateway user plane PGW-U device;
确定单元,用于根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源;a determining unit, configured to determine, according to a correspondence between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device;
释放单元,用于释放确定出的会话资源。a release unit for releasing the determined session resources.
在第四方面的第一种可能实现方式中,所述资源释放请求中还携带有所述PGW-C设备的标识;In a first possible implementation manner of the fourth aspect, the resource release request further carries an identifier of the PGW-C device;
所述确定单元,具体用于:The determining unit is specifically configured to:
根据预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及所述资源释放请求中的所述PGW-C设备的标识和所述PGW-U设备的标识,确定对应的会话资源。Corresponding relationship between the identifier of the PGW-U device, the identifier of the PGW-C device, and the session resource, and the identifier of the PGW-C device and the identifier of the PGW-U device in the resource release request, Determine the corresponding session resource.
结合第四方面或第四方面的第一种可能实现方式,在第四方面的第二种可能实现方式中,所述接收单元,还用于:With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in the second possible implementation manner of the fourth aspect, the receiving unit is further configured to:
接收所述PGW-C设备发送的计费请求,所述计费请求中携带所述PGW-U设备的标识和用户设备UE的会话标识,所述PGW-U设备为所述UE对应的PGW-U设备;Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
所述计费服务器还包括建立单元,用于:The billing server further includes an establishing unit, configured to:
为所述UE分配会话资源,并建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。And allocating a session resource to the UE, and establishing a correspondence between the identifier of the PGW-U device and the session resource of the UE.
结合第四方面至第四方面的第二种可能实现方式,在第四方面的第三种可能实现方式中,所述资源释放请求中还携带有所述PGW-U设备的重启次数;With reference to the second possible implementation of the fourth aspect to the fourth aspect, in a third possible implementation manner of the fourth aspect, the resource release request further carries a restart number of the PGW-U device;
所述确定单元,还用于:The determining unit is further configured to:
确定所述PGW-U设备的重启次数是否与接收时间离当前时间最近的所述PGW-U设备的重启次数相同,如果不相同,则执行所述确定所述PGW-U设备的标识对应的会话资源的步骤。Determining whether the number of restarts of the PGW-U device is the same as the number of restarts of the PGW-U device whose receiving time is closest to the current time. If not, performing the determining the session corresponding to the identifier of the PGW-U device The steps of the resource.
第五方面,提供了一种PDN网关控制面PGW-C设备,所述PGW-C设备包括处理器和收发器,其中:In a fifth aspect, a PDN gateway control plane PGW-C device is provided, the PGW-C device comprising a processor and a transceiver, wherein:
所述处理器,用于确定与本地建立连接的PDN网关用户面PGW-U设备发生重启;The processor is configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device restarts;
所述收发器,用于向计费服务器发送对应所述PGW-U设备的资源释放请求,所述资源释放请求中携带有所述PGW-U设备的标识,所述PGW-U设备的标识用于所述计费服务器释放所述PGW-U设备对应的会话资源。The transceiver is configured to send a resource release request corresponding to the PGW-U device to the charging server, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used by And releasing, by the charging server, a session resource corresponding to the PGW-U device.
在第五方面的第一种可能实现方式中,所述资源释放请求中还携带有所述PGW-C设备的标识,所述PGW-C设备的标识用于所述计费服务器释放所述PGW-U设备和所述PGW-C设备对应的会话资源。In a first possible implementation manner of the fifth aspect, the resource release request further includes an identifier of the PGW-C device, where the identifier of the PGW-C device is used by the charging server to release the PGW a U-device and a session resource corresponding to the PGW-C device.
结合第五方面或者第五方面的第一种可能实现方式,在第五方面的第二种可能实现方式中,所述处理器,具体用于:With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the processor is specifically configured to:
向与本地建立连接的各PGW-U设备发送检测消息,在预设时长内未收到反馈消息的PGW-U设备被确定为发生重启的PGW-U设备;或者,Sending a detection message to each PGW-U device that establishes a connection with the local, and the PGW-U device that has not received the feedback message within the preset duration is determined to be the restarted PGW-U device; or
接收到与本地建立连接的PGW-U设备发送的重启通知,确定所述PGW-U设备发生重启。Receiving a restart notification sent by the PGW-U device that establishes a connection with the local, determining that the PGW-U device restarts.
结合第五方面至第五方面的第二种可能实现方式,在第五方面的第三种可能实现方式 中,所述收发器,还用于:In conjunction with the second possible implementation of the fifth aspect to the fifth aspect, the third possible implementation manner of the fifth aspect The transceiver is further configured to:
向所述计费服务器发送对应用户设备UE的计费请求,所述计费请求中携带所述PGW-U设备的标识和所述UE的会话标识,以使所述计费服务器建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
第六方面,提供了一种计费服务器,所述计费服务器包括处理器、收发器和存储器,其中:In a sixth aspect, a billing server is provided, the billing server comprising a processor, a transceiver, and a memory, wherein:
所述收发器,用于接收PDN网关控制面PGW-C设备发送的资源释放请求,所述资源释放请求中携带有所述PDN网关用户面PGW-U设备的标识;The transceiver is configured to receive a resource release request sent by a PDN gateway control plane PGW-C device, where the resource release request carries an identifier of the PDN gateway user plane PGW-U device;
所述处理器,用于根据所述存储器预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源;The processor is configured to determine, according to the correspondence between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device;
所述处理器,还用于释放确定出的会话资源。The processor is further configured to release the determined session resource.
在第六方面的第一种可能实现方式中,所述资源释放请求中还携带有所述PGW-C设备的标识;In a first possible implementation manner of the sixth aspect, the resource release request further carries an identifier of the PGW-C device;
所述处理器,具体用于:The processor is specifically configured to:
根据所述存储器预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及所述资源释放请求中的所述PGW-C设备的标识和所述PGW-U设备的标识,确定对应的会话资源。Corresponding relationship between the identifier of the PGW-U device, the identifier of the PGW-C device, and the session resource, and the identifier of the PGW-C device in the resource release request and the PGW-U device according to the identifier of the PGW-U device pre-stored by the memory The identity of the corresponding session resource.
结合第六方面或第六方面的第一种可能实现方式,在第六方面的第二种可能实现方式中,所述收发器,还用于:With reference to the sixth aspect, or the first possible implementation manner of the sixth aspect, in the second possible implementation manner of the sixth aspect, the transceiver is further configured to:
接收所述PGW-C设备发送的计费请求,所述计费请求中携带所述PGW-U设备的标识和用户设备UE的会话标识,所述PGW-U设备为所述UE对应的PGW-U设备;Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
所述处理器,还用于为所述UE分配会话资源,并建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。The processor is further configured to allocate a session resource to the UE, and establish a correspondence between an identifier of the PGW-U device and a session resource of the UE.
结合第六方面至第六方面的第二种可能实现方式,在第六方面的第三种可能实现方式中,所述资源释放请求中还携带有所述PGW-U设备的重启次数;With reference to the second possible implementation manner of the sixth aspect to the sixth aspect, in a third possible implementation manner of the sixth aspect, the resource release request further includes a restart number of the PGW-U device;
所述处理器,还用于:The processor is further configured to:
确定所述PGW-U设备的重启次数是否与接收时间离当前时间最近的所述PGW-U设备的重启次数相同,如果不相同,则执行所述确定所述PGW-U设备的标识对应的会话资源的步骤。Determining whether the number of restarts of the PGW-U device is the same as the number of restarts of the PGW-U device whose receiving time is closest to the current time. If not, performing the determining the session corresponding to the identifier of the PGW-U device The steps of the resource.
第七方面,提供了一种释放会话资源的系统,所述系统包括PDN网关控制面PGW-C设备和计费服务器,其中:In a seventh aspect, a system for releasing session resources is provided, the system comprising a PDN gateway control plane PGW-C device and a charging server, wherein:
所述PGW-C设备,用于确定与本地建立连接的PDN网关用户面PGW-U设备发生重启,向计费服务器发送对应所述PGW-U设备的资源释放请求,所述资源释放请求中携带有所述PGW-U设备的标识,所述PGW-U设备的标识用于所述计费服务器释放所述PGW-U设备对应的会话资源;The PGW-C device is configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device is restarted, and sends a resource release request corresponding to the PGW-U device to the accounting server, where the resource release request is carried. An identifier of the PGW-U device, where the identifier of the PGW-U device is used by the charging server to release a session resource corresponding to the PGW-U device;
所述计费服务器,用于接收PDN网关控制面PGW-C设备发送的资源释放请求,根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会 话资源,释放确定出的会话资源。The charging server is configured to receive a resource release request sent by the PDN gateway control plane PGW-C device, and determine, according to the correspondence between the identifier of the PGW-U device and the session resource, the identifier of the PGW-U device Meeting The resources are released, and the determined session resources are released.
本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present invention are:
本发明实施例中,当PGW-U发生重启后,PGW-C向计费服务器发送对应该PGW-U的资源释放请求,以使计费服务器释放该PGW-U的标识对应的全部会话资源,无需PGW-C针对每个PGW-U上的UE逐个发送资源释放请求,从而可以提高释放会话资源的效率。In the embodiment of the present invention, after the PGW-U is restarted, the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the session resources corresponding to the identifier of the PGW-U. It is not necessary for the PGW-C to send a resource release request one by one for each UE on the PGW-U, so that the efficiency of releasing the session resources can be improved.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明实施例提供的一种系统框架图;1 is a system frame diagram provided by an embodiment of the present invention;
图2是本发明实施例提供的一种释放会话资源的方法流程图;2 is a flowchart of a method for releasing session resources according to an embodiment of the present invention;
图3是本发明实施例提供的一种释放会话资源的方法流程图;FIG. 3 is a flowchart of a method for releasing session resources according to an embodiment of the present invention;
图4是本发明实施例提供的一种网络设备的结构示意图;4 is a schematic structural diagram of a network device according to an embodiment of the present invention;
图5是本发明实施例提供的一种PGW-C设备的结构示意图;FIG. 5 is a schematic structural diagram of a PGW-C device according to an embodiment of the present invention;
图6是本发明实施例提供的一种计费服务器的结构示意图。FIG. 6 is a schematic structural diagram of a charging server according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
本发明实施例公开了一种在CU分离网络架构下的AAA计费场景中,释放UE的会话资源的方法。在CU分离的场景中,PGW设备的C(Control,控制)面和U(User,用户)面是分离的,即PGW设备可以分为PGW-C设备(PDN Gateway Control Plane,PDN网关控制面)和PGW-U设备(PDN Gateway User Plane,PDN网关用户面),如图1所示,为本发明实施例的系统框架图,该系统可以包括UE、计费服务器、至少一个PGW-C设备、至少一个PGW-U设备和其他网元。The embodiment of the invention discloses a method for releasing the session resources of the UE in the AAA charging scenario under the CU separate network architecture. In the scenario where the CU is separated, the C (Control) plane and the U (User) plane of the PGW device are separated, that is, the PGW device can be divided into a PGW-C device (PDN Gateway Control Plane, PDN Gateway Control Plane). And a PGW-U device (PDN Gateway User Plane), as shown in FIG. 1 , is a system framework diagram of an embodiment of the present invention, where the system may include a UE, an accounting server, and at least one PGW-C device. At least one PGW-U device and other network elements.
其中,一个PGW-C设备可以与多个PGW-U设备建立连接,同样,一个PGW-U设备也可以与多个PGW-C设备建立连接;上述其他网元可以是除PGW-C设备和PGW-U设备以外的网元,如SGW-U(Serving Gateway User Plane,服务网关用户面)、SGW-C(Serving Gateway Control Plane,服务网关控制面)和MME(Mobility Management Entity,移动性管理实体)等。Wherein, one PGW-C device can establish a connection with multiple PGW-U devices. Similarly, one PGW-U device can also establish a connection with multiple PGW-C devices; the other network elements can be PGW-C devices and PGWs. - NEs other than the U device, such as SGW-U (Serving Gateway User Plane), SGW-C (Serving Gateway Control Plane), and MME (Mobility Management Entity) Wait.
用户通过UE访问某网络业务时,UE会请求上线,PGW-C设备则可以接收到该UE的上线通知,然后可以为该UE选择对应的PGW-U设备。该UE上线后,可以访问该网络业务的业务服务器,然后PGW-U设备可以统计该UE的上网时长和数据流量等计费信息,并可以将该UE的计费信息发送给PGW-C设备,PGW-C设备将该UE的计费信息发送给计费服务器,以便计费服务器为该UE进行计费。When the user accesses a network service through the UE, the UE requests to go online, and the PGW-C device can receive the online notification of the UE, and then select the corresponding PGW-U device for the UE. After the UE is online, the service server of the network service can be accessed, and then the PGW-U device can collect charging information such as the Internet access time and data traffic of the UE, and can send the charging information of the UE to the PGW-C device. The PGW-C device sends the charging information of the UE to the charging server, so that the charging server performs charging for the UE.
在上述过程中,计费服务器和网络中的各网元可以保存该UE对应的会话,并为该UE 分配会话资源,如处理资源和内存资源等。本发明实施例主要关注于在PGW-U设备发生故障重启后,计费服务器释放该PGW-U设备对应的会话资源的处理过程。In the foregoing process, the accounting server and each network element in the network may save the session corresponding to the UE, and serve as the UE. Allocate session resources, such as processing resources and memory resources. The embodiment of the present invention is mainly concerned with the process of releasing the session resources corresponding to the PGW-U device after the PGW-U device fails and restarts.
图2是本发明一示例性实施例提供的一种释放会话资源的方法流程图,该方法可以用于如图1所示的网络系统中。如图2所示,该释放会话资源的方法可以包括:FIG. 2 is a flowchart of a method for releasing session resources according to an exemplary embodiment of the present invention. The method may be used in a network system as shown in FIG. 1. As shown in FIG. 2, the method for releasing session resources may include:
步骤201,PGW-C设备确定与本地建立连接的PDN网关用户面PGW-U设备发生重启。Step 201: The PGW-C device determines that the PDN gateway user plane PGW-U device that establishes the connection with the local device restarts.
在实施中,PGW-C设备可以与至少一个PGW-U设备建立连接,然后PGW-C设备可以实时检测至少一个PGW-U设备中,是否存在发生重启的PGW-U设备。PGW-C设备检测PGW-U设备是否发生重启的方式可以是多种多样的,本实施例提供了两种可行的处理方式,具体如下:In an implementation, the PGW-C device can establish a connection with at least one PGW-U device, and then the PGW-C device can detect in real time at least one PGW-U device whether there is a restarted PGW-U device. The manner in which the PGW-C device detects whether the PGW-U device is restarted may be various. This embodiment provides two feasible processing modes, as follows:
方式一、PGW-C设备向与本地建立连接的各PGW-U设备发送检测消息,在预设时长内未收到反馈消息的PGW-U设备被确定为发生重启的PGW-U设备。In the first mode, the PGW-C device sends a detection message to each PGW-U device that establishes a connection with the local device, and the PGW-U device that does not receive the feedback message within the preset duration is determined to be the restarted PGW-U device.
在实施中,PGW-C设备中可以预先设置检测消息的发送周期。当达到该预设的发送周期时,PGW-C设备向与本地建立连接的PGW-U设备分别发送检测消息,该检测消息可以是心跳检测消息。正常工作的PGW-U设备接收到检测消息后,可以向PGW-C设备发送反馈消息,而链路故障或PGW-U设备自身故障情况下,PGW-C设备将无法接收到反馈消息。PGW-C设备可以基于此,来确定发生重启的PGW-U设备,其中,自身故障可以为重启或内部异常等。In the implementation, the transmission period of the detection message may be preset in the PGW-C device. When the preset transmission period is reached, the PGW-C device separately sends a detection message to the PGW-U device that establishes a connection with the local, and the detection message may be a heartbeat detection message. After receiving the detection message, the normal working PGW-U device can send a feedback message to the PGW-C device, and the PGW-C device will not receive the feedback message if the link fails or the PGW-U device itself fails. Based on this, the PGW-C device can determine the PGW-U device in which the restart occurs, wherein the self failure can be a restart or an internal abnormality or the like.
PGW-C设备发送一个检测消息后,可以进行计时,并可以确定在预设时长内(可称为第一预设时长)未发送反馈消息的PGW-U设备,将该PGW-U设备作为发生故障的PGW-U设备。或者,PGW-C设备也可以在预设时长(可称为第二预设时长)内连续发送多个检测消息,PGW-C设备则可以接收到正常工作的PGW-U设备发送的多个反馈消息;PGW-C设备在发送多个检测消息后,可以确定未发送反馈消息的PGW-U设备,将该PGW-U设备作为发生故障的PGW-U设备。例如,PGW-C设备可以发送3个检测消息后,该PGW-C设备接收到PGW-U设备1发送的3个反馈消息,以及PGW-U设备2发送2个反馈消息,但是未接收到PGW-U设备3发送的反馈消息,则可以判定PGW-U设备3发生故障。其中,第一预设时长和第二预设时长可以相同也可以不同,本实施例不做限定。After the PGW-C device sends a detection message, it can perform timing, and can determine the PGW-U device that does not send the feedback message within the preset duration (which can be referred to as the first preset duration), and the PGW-U device is taken as Faulty PGW-U device. Alternatively, the PGW-C device may continuously send multiple detection messages within a preset duration (which may be referred to as a second preset duration), and the PGW-C device may receive multiple feedbacks sent by the normally working PGW-U device. The PGW-C device may determine the PGW-U device that has not sent the feedback message after transmitting the multiple detection messages, and use the PGW-U device as the failed PGW-U device. For example, after the PGW-C device can send 3 detection messages, the PGW-C device receives 3 feedback messages sent by the PGW-U device 1, and the PGW-U device 2 sends 2 feedback messages, but does not receive the PGW. The feedback message sent by the U device 3 can determine that the PGW-U device 3 has failed. The first preset duration and the second preset duration may be the same or different, and are not limited in this embodiment.
方式二、PGW-C设备接收到与本地建立连接的PGW-U设备发送的重启通知,确定该PGW-U设备发生重启。In the second mode, the PGW-C device receives a restart notification sent by the PGW-U device that establishes a connection with the local device, and determines that the PGW-U device restarts.
在实施中,PGW-U设备可以在重启后,向PGW-C设备发送重启通知,该重启通知可以是携带有重启标识的任意信令消息。该重启标识可以是用于表示PGW-U设备发生重启的标识,如重启动作的标识、PGW-U设备的重启次数等。PGW-C设备可以基于该重启标识,来判断PGW-U设备是否发生重启。In an implementation, the PGW-U device may send a restart notification to the PGW-C device after the restart, and the restart notification may be any signaling message carrying the restart identifier. The restart identifier may be an identifier for indicating that the PGW-U device is restarted, such as an identifier of a restart action, a restart number of the PGW-U device, and the like. The PGW-C device can determine whether the PGW-U device restarts based on the restart identifier.
对于重启标识为重启动作的标识的情况,PGW-U设备重启后,可以在向PGW-C设备信令消息中,添加重启标识,PGW-C设备接收到PGW-U设备发送的信令消息后,可以对该信息消息进行解析,如果该信息消息中携带有重启标识,则可以判定该PGW-U设备发生重启。In the case of restarting the identifier that is identified as the restart action, after the PGW-U device is restarted, the restart identifier may be added to the PGW-C device signaling message, and the PGW-C device receives the signaling message sent by the PGW-U device. The information message may be parsed. If the information message carries a restart identifier, it may be determined that the PGW-U device restarts.
对于重启标识为PGW-U设备的重启次数的情况,PGW-U设备可以记录预设时长内自身的重启次数,PGW-U设备重启后,可以将记录的重启次数加一,当该重启次数达到预设阈值时,PGW-U设备可以将自身的重启次数清零,然后重新进行记录。PGW-U设备可以与PGW-C设备进行信令交互,交互的信令中可以携带有PGW-U设备当前的重启次数。PGW-C设备接收到该PGW-U设备发送的重启次数后,可以将该重启次数,与接收时间离当前时间最近的该PGW-U设备的重启次数进对比,如果二者相同,则可以判断该PGW-U设备未发生重启,如果二者 不相同,则可以判断该PGW-U设备发生重启。In the case of restarting the number of restarts of the PGW-U device, the PGW-U device can record the number of restarts within the preset duration. After the PGW-U device restarts, the number of restarts can be increased by one. When the threshold is preset, the PGW-U device can clear its own restart count and then re-record. The PGW-U device can perform signaling interaction with the PGW-C device, and the interworking signaling can carry the current number of restarts of the PGW-U device. After receiving the number of restarts sent by the PGW-U device, the PGW-C device may compare the number of restarts with the number of restarts of the PGW-U device whose receiving time is closest to the current time. If the two are the same, the device may determine The PGW-U device does not restart, if both If it is not the same, it can be judged that the PGW-U device restarts.
步骤202,PGW-C设备向计费服务器发送对应该PGW-U设备的资源释放请求。Step 202: The PGW-C device sends a resource release request corresponding to the PGW-U device to the accounting server.
其中,资源释放请求中可以携带有资源释放请求中携带有该PGW-U设备的标识,该PGW-U设备的标识用于计费服务器释放该PGW-U设备对应的会话资源。The resource release request may carry the resource release request carrying the identifier of the PGW-U device, where the identifier of the PGW-U device is used by the accounting server to release the session resource corresponding to the PGW-U device.
在实施中,PGW-C设备确定PGW-U设备发生重启后,可以向计费服务器发送对应该PGW-U设备的资源释放请求。资源释放请求可以是Accounting-Request OFF消息,Accounting-Request OFF消息中可以携带有PGW-U设备的标识,如User Plane Identifier、和/或User Plane IP Address。其中,User Plane Identifier可以为PGW-U设备的ID标识,User Plane IP Address可以为PGW-U设备的IP地址。计费服务器接收到PGW-C设备发送的资源释放请求后,可以向PGW-C设备回复响应消息,如Accounting-Response。In an implementation, after determining that the PGW-U device restarts, the PGW-C device may send a resource release request corresponding to the PGW-U device to the accounting server. The resource release request may be an Accounting-Request OFF message, and the Accounting-Request OFF message may carry an identifier of the PGW-U device, such as a User Plane Identifier, and/or a User Plane IP Address. The User Plane Identifier can be the ID of the PGW-U device, and the User Plane IP Address can be the IP address of the PGW-U device. After receiving the resource release request sent by the PGW-C device, the accounting server may reply a response message, such as an Accounting-Response, to the PGW-C device.
另外,如上所述,PGW-C设备会为UE分配会话资源,并可以存储UE与PGW-U设备的对应关系。PGW-C设备确定PGW-U设备发生重启后,可以确定该PGW-U设备对应的UE。对于该PGW-U设备对应的每个UE,PGW-C设备可以逐个确定本地为UE分配的会话资源,并针对每个UE,逐个向与该PGW-C设备相邻的网元发送资源释放请求,以使这些网元可以释放这些UE的会话资源,其中,与该PGW-C设备相邻的网元中不包括计费服务器。同时,该PGW-C设备也可以逐个释放本地为这些UE分配的会话资源。例如,可以释放该UE对应的处理资源和存储资源,具体的处理过程可以参考现有技术,本实施例不再赘述。需要说明的是,本处理和步骤202的处理顺序可以不分先后。In addition, as described above, the PGW-C device allocates session resources to the UE, and can store the correspondence between the UE and the PGW-U device. After the PGW-C device determines that the PGW-U device restarts, the UE corresponding to the PGW-U device may be determined. For each UE corresponding to the PGW-U device, the PGW-C device may determine the session resources allocated locally for the UE one by one, and send a resource release request to the NEs adjacent to the PGW-C device one by one for each UE. So that the network elements can release the session resources of the UEs, wherein the network element adjacent to the PGW-C device does not include the charging server. At the same time, the PGW-C device can also release the session resources allocated locally for these UEs one by one. For example, the processing resources and the storage resources corresponding to the UE may be released. For the specific processing, reference may be made to the prior art, and details are not described in this embodiment. It should be noted that the processing sequence of the process and the step 202 may be in no particular order.
可选的,PGW-C设备还可以在资源释放请求中携带PGW-U设备的重启次数,相应的处理过程可以如下:获取PGW-U设备的重启次数。Optionally, the PGW-C device may also carry the restart times of the PGW-U device in the resource release request, and the corresponding processing may be as follows: acquiring the restart times of the PGW-U device.
在实施中,PGW-C设备可以获取PGW-U设备的重启次数,并可以将该重启次数添加在资源释放请求中,然后发送给计费服务器。资源释放请求可以是Accounting-Request OFF消息,Accounting-Request OFF消息中除了可以携带上述PGW-U设备的标识以外,还可以携带User Plane Recovery,User Plane Recovery即为PGW-U设备的重启次数。In an implementation, the PGW-C device can obtain the restart number of the PGW-U device, and can add the restart number to the resource release request, and then send the call to the charging server. The resource release request may be an Accounting-Request OFF message, and the Accounting-Request OFF message may carry the User Plane Recovery in addition to the identifier of the PGW-U device, and the User Plane Recovery is the number of restarts of the PGW-U device.
可选的,PGW-C设备还可以在资源释放请求中携带PGW-C设备的标识,PGW-C设备的标识用于计费服务器释放该PGW-U设备和该PGW-C设备对应的会话资源。Optionally, the PGW-C device may further carry the identifier of the PGW-C device in the resource release request, where the identifier of the PGW-C device is used by the charging server to release the PGW-U device and the session resource corresponding to the PGW-C device. .
步骤203,计费服务器接收PGW-C设备发送的资源释放请求。Step 203: The charging server receives the resource release request sent by the PGW-C device.
其中,资源释放请求中可以携带有PGW-U设备的标识。The resource release request may carry the identifier of the PGW-U device.
在实施中,计费服务器可以对接收到的资源释放请求进行解析,获取其中携带的PGW-U设备的标识,以便进行后续处理。In an implementation, the accounting server may parse the received resource release request and obtain the identifier of the PGW-U device carried therein for subsequent processing.
步骤204,计费服务器根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定该PGW-U设备的标识对应的会话资源。Step 204: The charging server determines the session resource corresponding to the identifier of the PGW-U device according to the correspondence between the identifier of the PGW-U device and the session resource.
在实施中,计费服务器中可以预先存储PGW-U设备的标识与会话资源的对应关系,该会话资源可以是PGW-U设备对应的全部会话资源。计费服务器接收到资源释放请求后,可以根据PGW-U设备的标识与会话资源的对应关系,确定资源释放请求中的PGW-U设备的标识对应的全部会话资源,以便释放这些会话资源。In an implementation, the corresponding relationship between the identifier of the PGW-U device and the session resource may be pre-stored in the accounting server, and the session resource may be all session resources corresponding to the PGW-U device. After receiving the resource release request, the accounting server may determine all the session resources corresponding to the identifier of the PGW-U device in the resource release request according to the correspondence between the identifier of the PGW-U device and the session resource, so as to release the session resources.
可选的,计费服务器建立PGW-U设备的标识与会话资源的对应关系的具体处理过程可以包括以下步骤:Optionally, the specific process for the charging server to establish the correspondence between the identifier of the PGW-U device and the session resource may include the following steps:
步骤一、PGW-C设备向计费服务器发送对应UE的计费请求。 Step 1: The PGW-C device sends a charging request corresponding to the UE to the charging server.
其中,UE为上述PGW-U设备对应的UE,计费请求中可以携带该PGW-U设备的标识和UE的会话标识,计费请求可以是Accounting-Request START消息和/或Accounting-Request Interim-Update消息。The UE is the UE corresponding to the PGW-U device, and the charging request may carry the identifier of the PGW-U device and the session identifier of the UE, and the charging request may be an Accounting-Request START message and/or an Accounting-Request Interim- Update message.
在实施中,当UE上线后,PGW-C设备可以接收到该UE的上线通知,然后可以为该UE选择对应的PGW-U设备。之后,PGW-C设备可以向计费服务器发送对应该UE的计费请求,以通知计费服务器对该UE进行计费。In an implementation, after the UE goes online, the PGW-C device may receive an online notification of the UE, and then may select a corresponding PGW-U device for the UE. Thereafter, the PGW-C device may send a charging request corresponding to the UE to the charging server to notify the charging server to perform charging for the UE.
步骤二、计费服务器接收PGW-C设备发送的计费请求。Step 2: The charging server receives the charging request sent by the PGW-C device.
在实施中,计费服务器接收到计费请求后,可以对计费请求进行解析,获取PGW-U设备的标识和UE的会话标识。In an implementation, after receiving the charging request, the accounting server may parse the charging request, and obtain the identifier of the PGW-U device and the session identifier of the UE.
步骤三、计费服务器为该UE分配会话资源,并建立该PGW-U设备的标识与该UE的会话资源的对应关系。Step 3: The accounting server allocates a session resource to the UE, and establishes a correspondence between the identifier of the PGW-U device and the session resource of the UE.
在实施中,计费服务器可以为该UE分配会话资源,然后可以将该PGW-U设备的标识与该UE的会话资源,对应的添加到PGW-U设备的标识与会话资源的对应关系中,从而建立该PGW-U设备的标识与该UE的会话资源的对应关系。In an implementation, the charging server may allocate a session resource to the UE, and then add the identifier of the PGW-U device and the session resource of the UE to the corresponding relationship between the identifier of the PGW-U device and the session resource. Thereby, the correspondence between the identifier of the PGW-U device and the session resource of the UE is established.
可选的,对于资源释放请求中还携带有PGW-U设备的重启次数的情况,计费服务器可以先根据该PGW-U设备的重启次数,判断是否需要进行资源释放,相应的,步骤204之前,还可以进行以下处理:计费服务器确定该PGW-U设备的重启次数是否与接收时间离当前时间最近的该PGW-U设备的重启次数相同,如果不相同,则执行根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定该PGW-U设备的标识对应的会话资源的步骤。Optionally, in the case that the resource release request further carries the number of restarts of the PGW-U device, the charging server may first determine, according to the number of restarts of the PGW-U device, whether resource release is required, and correspondingly, before step 204. The following process may also be performed: the charging server determines whether the number of restarts of the PGW-U device is the same as the number of restarts of the PGW-U device whose receiving time is closest to the current time, and if not, performs the pre-stored PGW- The step of determining the session resource corresponding to the identifier of the PGW-U device by the correspondence between the identifier of the U device and the session resource.
在实施中,计费服务器可以接收PGW-C设备发送的该PGW-U设备的重启次数,例如,PGW-C设备向计费服务器发送的资源释放请求中可以携带该PGW-U设备的重启次数,或者,PGW-C设备与计费服务器的交互信令中的Accounting-Request START、Accounting-Request Interim-Update和Accounting-Request ON中,也可以携带该PGW-U设备的重启次数。计费服务器接收到这些消息后,可以获取该PGW-U设备的重启次数,然后进行存储。计费服务器接收到该资源释放请求后,可以对资源释放请求进行解析,获取该PGW-U设备的标识,以及其中的PGW-U设备的重启次数(为了便于描述,可称为第一重启次数)。计费服务器可以获取接收时间离当前时间最近的该PGW-U设备的重启次数(为了便于描述,可称为第二重启次数)。In an implementation, the charging server may receive the number of restarts of the PGW-U device sent by the PGW-C device, for example, the number of restarts of the PGW-U device that the PGW-C device may send to the charging server. Alternatively, the number of restarts of the PGW-U device may be carried in the Accounting-Request START, the Accounting-Request Interim-Update, and the Accounting-Request ON in the interaction signaling between the PGW-C device and the accounting server. After receiving the messages, the accounting server can obtain the number of restarts of the PGW-U device and then store it. After receiving the resource release request, the accounting server may parse the resource release request, obtain the identifier of the PGW-U device, and the number of restarts of the PGW-U device (for the convenience of description, the first restart number may be referred to as ). The charging server may obtain the number of restarts of the PGW-U device whose receiving time is closest to the current time (referred to as a second restart number for convenience of description).
计费服务器可以判断该第一重启次数是否与第二重启次数相同,如果第一重启次数与第二重启次数相同,则可以不执行步骤204,并可以向PGW-C设备发送会话资源释放成功的响应消息。如果第一重启次数与第二重启次数不相同,则可以执行步骤204,当计费服务器收到其他PGW-C设备发送的对应该PGW-U设备的资源释放请求,且该资源释放请求中携带的重启次数为第一重启次数时,可以直接向其他PGW-C设备发送会话资源释放成功的响应消息。The accounting server may determine whether the first restarting number is the same as the second restarting number. If the first restarting number is the same as the second restarting number, the step 204 may not be performed, and the session resource release may be successfully sent to the PGW-C device. Response message. If the number of the first restarts is different from the number of the second restarts, step 204 may be performed, when the charging server receives the resource release request corresponding to the PGW-U device sent by the other PGW-C device, and the resource release request is carried in the resource release request. When the number of restarts is the first number of restarts, the response message that the session resource is successfully released may be directly sent to other PGW-C devices.
可选的,计费服务器也可以释放该PGW-U设备和该PGW-C设备对应的会话资源,相应的,步骤204的处理过程可以如下:根据预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及资源释放请求中的PGW-C设备的标识和PGW-U设备的标识,确定对应的会话资源。Optionally, the charging server may also release the session resource corresponding to the PGW-U device and the PGW-C device. Correspondingly, the process of step 204 may be as follows: according to the identifier of the pre-stored PGW-U device, PGW- Corresponding relationship between the identifier of the C device and the session resource, and the identifier of the PGW-C device and the identifier of the PGW-U device in the resource release request, determine the corresponding session resource.
在实施中,PGW-C设备向计费服务器发送对应UE的计费请求中,也可以携带PGW-U设 备的标识、UE的会话标识和该PGW-C设备的标识。计费服务器接收到计费请求后,可以为该UE分配会话资源,然后可以将该PGW-U设备的标识、该PGW-C设备的标识和该UE的会话资源,对应的添加到PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系中,从而建立该PGW-U设备的标识、该PGW-C设备的标识和该UE的会话资源的对应关系。In the implementation, the PGW-C device sends the corresponding UE's charging request to the charging server, and may also carry the PGW-U setting. The identifier of the backup, the session identifier of the UE, and the identifier of the PGW-C device. After receiving the charging request, the accounting server may allocate the session resource to the UE, and then add the identifier of the PGW-U device, the identifier of the PGW-C device, and the session resource of the UE to the PGW-U. The correspondence between the identifier of the device, the identifier of the PGW-C device, and the session resource, thereby establishing an identifier of the PGW-U device, an identifier of the PGW-C device, and a correspondence relationship between the session resources of the UE.
计费服务器接收到对应该PGW-U设备的资源释放请求后,可以根据预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及资源释放请求中的该PGW-C设备的标识和该PGW-U设备的标识,确定对应的会话资源,确定出的会话资源为该PGW-U设备和该PGW-C设备对应的会话资源。After receiving the resource release request corresponding to the PGW-U device, the accounting server may be based on the identifier of the pre-stored PGW-U device, the correspondence between the identifier of the PGW-C device and the session resource, and the PGW in the resource release request. The identifier of the C device and the identifier of the PGW-U device determine the corresponding session resource, and the determined session resource is the session resource corresponding to the PGW-U device and the PGW-C device.
步骤205,计费服务器释放确定出的会话资源。Step 205: The accounting server releases the determined session resource.
在实施中,计费服务器确定该PGW-U设备的标识对应的会话资源后,可以基于该会话资源中包含的每个UE的会话资源,逐个释放为UE分配的会话资源。例如,可以释放某UE对应的处理资源和存储资源,具体的处理过程可以参考现有技术,本实施例不再赘述。对于会话资源为该PGW-U设备的标识对应的全部会话资源的情况,计费服务器根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定该PGW-U设备的标识对应全部UE的会话资源后,计费服务器可以对该PGW-U设备的标识对应全部UE的会话资源进行释放。对于会话资源为该PGW-U设备和该PGW-C设备对应的会话资源的情况,计费服务器根据预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及资源释放请求中的该PGW-C设备的标识和该PGW-U设备的标识,确定对应的会话资源,然后对确定出的会话资源进行释放。In an implementation, after the charging server determines the session resource corresponding to the identifier of the PGW-U device, the session resource allocated for the UE may be released one by one based on the session resource of each UE included in the session resource. For example, the processing resources and the storage resources corresponding to a certain UE may be released. For a specific process, refer to the prior art, and details are not described in this embodiment. For the case that the session resource is all the session resources corresponding to the identifier of the PGW-U device, the charging server determines that the identifier of the PGW-U device corresponds to all UEs according to the correspondence between the identifier of the PGW-U device and the session resource. After the session resource, the charging server may release the identifier of the PGW-U device corresponding to the session resources of all UEs. For the case where the session resource is the session resource corresponding to the PGW-U device and the PGW-C device, the charging server according to the identifier of the PGW-U device stored in advance, the identifier of the PGW-C device, and the correspondence relationship of the session resources, and The identifier of the PGW-C device in the resource release request and the identifier of the PGW-U device determine the corresponding session resource, and then release the determined session resource.
如图3所示,为本发明实施例提供的一种释放会话资源的方法示例,该释放会话资源的方法示例可以包括:As shown in FIG. 3, an example of a method for releasing a session resource according to an embodiment of the present invention may be:
Step1,UE上线后,PGW-C向AAA Server发送Accounting-Request START消息。Step1: After the UE goes online, the PGW-C sends an Accounting-Request START message to the AAA Server.
其中,Accounting-Request START消息中携带User Plane Identifier、和/或User Plane IP Address、和/或User Plane Recovery;User Plane Identifier为PGW-U的ID标识,User Plane IP Address为PGW-U的IP地址,User Plane Recovery为PGW-U的重启次数。The User Plane Identifier, and/or the User Plane IP Address, and/or the User Plane Identifier are the IDs of the PGW-U, and the User Plane IP Address is the IP address of the PGW-U. User Plane Recovery is the number of restarts of PGW-U.
Step2,AAA Server回复Accounting-Response给PGW-C。Step2, AAA Server replies to Accounting-Response to PGW-C.
Step3,PGW-C向AAA Server发送Accounting-Request Interim-Update消息。Step 3: The PGW-C sends an Accounting-Request Interim-Update message to the AAA Server.
其中,Accounting-Request Interim-Update消息中携带User Plane Identifier、和/或User Plane IP Address、和/或User Plane Recovery。The Accounting-Request Interim-Update message carries a User Plane Identifier, and/or a User Plane IP Address, and/or a User Plane Recovery.
Step4,AAA Server回复Accounting-Response给PGW-C。Step4, AAA Server replies to Accounting-Response to PGW-C.
Step5,PGW-U发生重启。Step5, PGW-U restarts.
Step6,PGW-C检测到PGW-U重启。Step6, PGW-C detects the PGW-U restart.
Step7,PGW-C向AAA Server发送Accounting-Request OFF消息。Step 7, the PGW-C sends an Accounting-Request OFF message to the AAA Server.
其中,Accounting-Request OFF消息中携带User Plane Identifier、和/或User Plane IP Address、和/或User Plane Recovery,以通知AAA Server释放该PGW-U相关的会话资源。The Accounting-Request OFF message carries the User Plane Identifier, and/or User Plane IP Address, and/or User Plane Recovery, to notify the AAA Server to release the PGW-U related session resources.
Step8,AAA Server回复Accounting-Response。 Step8, AAA Server replies to Accounting-Response.
Step9,AAA Server根据Accounting-Request OFF消息,释放该PGW-U对应的会话资源。Step 9: The AAA server releases the session resource corresponding to the PGW-U according to the Accounting-Request OFF message.
Step10,当PGW-C检测到该PGW-U重启成功后,PGW-C可以向AAA Server发送Accounting-Request ON消息。Step 10: After the PGW-C detects that the PGW-U restarts successfully, the PGW-C may send an Accounting-Request ON message to the AAA Server.
其中,Accounting-Request ON消息中携带User Plane Identifier、和/或User Plane IP Address、和/或User Plane Recovery,以通知AAA Server该PGW-U恢复正常运行。The Accounting-Request ON message carries the User Plane Identifier, and/or User Plane IP Address, and/or User Plane Recovery, to notify the AAA Server that the PGW-U resumes normal operation.
Step11,AAA Server回复Accounting-Response。Step11, AAA Server replies to Accounting-Response.
本发明实施例中,当PGW-U发生重启后,PGW-C向计费服务器发送对应PGW-U的资源释放请求,以使计费服务器释放PGW-U的标识对应的全部会话资源,无需PGW-C针对每个PGW-U上的UE逐个发送资源释放请求,从而可以提高释放会话资源的效率,同时可以降低PGW-C和计费服务器之间的信令负载。In the embodiment of the present invention, after the PGW-U is restarted, the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the session resources corresponding to the identifier of the PGW-U, and does not need the PGW. -C sends a resource release request one by one for each UE on the PGW-U, so that the efficiency of releasing the session resources can be improved, and the signaling load between the PGW-C and the charging server can be reduced.
请参考图4,其示出了本发明示例性实施例涉及的一种网络设备的结构示意图。该网络设备10可以是上述PGW-C设备或者计费服务器,该网络设备10包括:处理器401、收发器402、存储器403和网络接口404。其中,存储器403和网络接口404分别与处理器401和收发器402连接;存储器403用于存储程序代码,程序代码包括计算机操作指令,处理器401和收发器402用于执行存储器403中存储的程序代码,用于实现释放会话资源的相关处理,收发器402可以通过网络接口404与其他UE或网络设备进行通信。Please refer to FIG. 4, which is a schematic structural diagram of a network device according to an exemplary embodiment of the present invention. The network device 10 may be the PGW-C device or the charging server described above, and the network device 10 includes a processor 401, a transceiver 402, a memory 403, and a network interface 404. The memory 403 and the network interface 404 are respectively connected to the processor 401 and the transceiver 402; the memory 403 is used to store program code, the program code includes computer operation instructions, and the processor 401 and the transceiver 402 are used to execute the program stored in the memory 403. The code is used to implement related processing for releasing session resources, and the transceiver 402 can communicate with other UEs or network devices through the network interface 404.
处理器401包括一个或者一个以上处理核心。处理器401通过运行软件程序以及模块,从而执行各种功能应用以及数据处理。 Processor 401 includes one or more processing cores. The processor 401 executes various functional applications and data processing by running software programs and modules.
网络接口404可以为多个,该网络接口404用于与其它存储设备或者网络设备进行通信。There may be multiple network interfaces 404 for communicating with other storage devices or network devices.
可选的,网络设备10还包括总线405等部件。其中,存储器403与网络接口404分别通过总线405与处理器402相连。Optionally, the network device 10 further includes a component such as a bus 405. The memory 403 and the network interface 404 are respectively connected to the processor 402 via the bus 405.
存储器403可用于存储软件程序以及模块。具体的,存储器403可存储操作系统162、至少一个功能所需的应用程序模块164。操作系统162可以是实时操作系统(Real Time eXecutive,RTX)、LINUX、UNIX、WINDOWS或OS X之类的操作系统。 Memory 403 can be used to store software programs as well as modules. Specifically, the memory 403 can store the operating system 162, the application module 164 required for at least one function. The operating system 162 can be an operating system such as Real Time eXecutive (RTX), LINUX, UNIX, WINDOWS, or OS X.
当网络设备10是PGW-C设备时,所述处理器401,用于确定与本地建立连接的PDN网关用户面PGW-U设备发生重启;When the network device 10 is a PGW-C device, the processor 401 is configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device restarts;
所述收发器402,用于向计费服务器发送对应所述PGW-U设备的资源释放请求,所述资源释放请求中携带有所述PGW-U设备的标识,所述PGW-U设备的标识用于所述计费服务器释放所述PGW-U设备对应的会话资源。The transceiver 402 is configured to send, to the charging server, a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device And the charging server is configured to release the session resource corresponding to the PGW-U device.
可选的,所述资源释放请求中还携带有所述PGW-C设备的标识,所述PGW-C设备的标识用于所述计费服务器释放所述PGW-U设备和所述PGW-C设备对应的会话资源。Optionally, the resource release request further carries an identifier of the PGW-C device, where the identifier of the PGW-C device is used by the charging server to release the PGW-U device and the PGW-C The session resource corresponding to the device.
可选的,所述处理器401,具体用于:Optionally, the processor 401 is specifically configured to:
向与本地建立连接的各PGW-U设备发送检测消息,在预设时长内未收到反馈消息的PGW-U设备被确定为发生重启的PGW-U设备;或者,Sending a detection message to each PGW-U device that establishes a connection with the local, and the PGW-U device that has not received the feedback message within the preset duration is determined to be the restarted PGW-U device; or
接收到与本地建立连接的PGW-U设备发送的重启通知,确定所述PGW-U设备发生重启。Receiving a restart notification sent by the PGW-U device that establishes a connection with the local, determining that the PGW-U device restarts.
可选的,所述收发器402,还用于: Optionally, the transceiver 402 is further configured to:
向所述计费服务器发送对应用户设备UE的计费请求,所述计费请求中携带所述PGW-U设备的标识和所述UE的会话标识,以使所述计费服务器建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
当网络设备10是上述计费服务器时,所述收发器402,用于接收PDN网关控制面PGW-C设备发送的资源释放请求,所述资源释放请求中携带有所述PDN网关用户面PGW-U设备的标识;When the network device 10 is the foregoing charging server, the transceiver 402 is configured to receive a resource release request sent by the PDN gateway control plane PGW-C device, where the resource release request carries the PDN gateway user plane PGW- The identifier of the U device;
所述处理器401,用于根据所述存储器403预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源;The processor 401 is configured to determine, according to the correspondence between the identifier of the PGW-U device and the session resource that is stored in the memory 403, the session resource corresponding to the identifier of the PGW-U device;
所述处理器401,还用于释放确定出的会话资源。The processor 401 is further configured to release the determined session resource.
可选的,所述资源释放请求中还携带有所述PGW-C设备的标识;Optionally, the resource release request further carries an identifier of the PGW-C device.
所述处理器401,具体用于:The processor 401 is specifically configured to:
根据所述存储器403预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及所述资源释放请求中的所述PGW-C设备的标识和所述PGW-U设备的标识,确定对应的会话资源。Corresponding relationship between the PGW-U device, the identifier of the PGW-C device, and the session resource, and the identifier of the PGW-C device in the resource release request and the PGW-U according to the memory 403 The identifier of the device determines the corresponding session resource.
可选的,所述收发器402,还用于:Optionally, the transceiver 402 is further configured to:
接收所述PGW-C设备发送的计费请求,所述计费请求中携带所述PGW-U设备的标识和用户设备UE的会话标识,所述PGW-U设备为所述UE对应的PGW-U设备;Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
所述处理器401,还用于为所述UE分配会话资源,并建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。The processor 401 is further configured to allocate a session resource to the UE, and establish a correspondence between the identifier of the PGW-U device and the session resource of the UE.
可选的,所述资源释放请求中还携带有所述PGW-U设备的重启次数;Optionally, the resource release request further carries the restart number of the PGW-U device.
所述处理器401,还用于:The processor 401 is further configured to:
确定所述PGW-U设备的重启次数是否与接收时间离当前时间最近的所述PGW-U设备的重启次数相同,如果不相同,则执行所述确定所述PGW-U设备的标识对应的会话资源的步骤。Determining whether the number of restarts of the PGW-U device is the same as the number of restarts of the PGW-U device whose receiving time is closest to the current time. If not, performing the determining the session corresponding to the identifier of the PGW-U device The steps of the resource.
本发明实施例中,当PGW-U发生重启后,PGW-C向计费服务器发送对应PGW-U的资源释放请求,以使计费服务器释放PGW-U的标识对应的全部会话资源,无需PGW-C针对每个PGW-U上的UE逐个发送资源释放请求,从而可以提高释放会话资源的效率,同时可以降低PGW-C和计费服务器之间的信令负载。In the embodiment of the present invention, after the PGW-U is restarted, the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the session resources corresponding to the identifier of the PGW-U, and does not need the PGW. -C sends a resource release request one by one for each UE on the PGW-U, so that the efficiency of releasing the session resources can be improved, and the signaling load between the PGW-C and the charging server can be reduced.
基于相同的技术构思,本发明实施例还提供了一种PGW-C设备,如图5所示,该PGW-C设备包括确定单元501和发送单元502,其中:Based on the same technical concept, an embodiment of the present invention further provides a PGW-C device. As shown in FIG. 5, the PGW-C device includes a determining unit 501 and a sending unit 502, where:
确定单元501,用于确定与本地建立连接的PDN网关用户面PGW-U设备发生重启;a determining unit 501, configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device restarts;
发送单元502,用于向计费服务器发送对应所述PGW-U设备的资源释放请求,所述资源释放请求中携带有所述PGW-U设备的标识,所述PGW-U设备的标识用于所述计费服务器释放所述PGW-U设备对应的会话资源。The sending unit 502 is configured to send, to the charging server, a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used for The charging server releases the session resources corresponding to the PGW-U device.
可选的,所述资源释放请求中还携带有所述PGW-C设备的标识,所述PGW-C设备的标识用于所述计费服务器释放所述PGW-U设备和所述PGW-C设备对应的会话资源。Optionally, the resource release request further carries an identifier of the PGW-C device, where the identifier of the PGW-C device is used by the charging server to release the PGW-U device and the PGW-C The session resource corresponding to the device.
可选的,所述确定单元501具体用于: Optionally, the determining unit 501 is specifically configured to:
向与本地建立连接的各PGW-U设备发送检测消息,在预设时长内未收到反馈消息的PGW-U设备被确定为发生重启的PGW-U设备;或者,Sending a detection message to each PGW-U device that establishes a connection with the local, and the PGW-U device that has not received the feedback message within the preset duration is determined to be the restarted PGW-U device; or
接收到与本地建立连接的PGW-U设备发送的重启通知,确定所述PGW-U设备发生重启。Receiving a restart notification sent by the PGW-U device that establishes a connection with the local, determining that the PGW-U device restarts.
可选的,所述发送单元502,还用于:Optionally, the sending unit 502 is further configured to:
向所述计费服务器发送对应用户设备UE的计费请求,所述计费请求中携带所述PGW-U设备的标识和所述UE的会话标识,以使所述计费服务器建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
基于相同的技术构思,本发明实施例还提供了一种计费服务器,如图6所示,所述计费服务器包括:Based on the same technical concept, the embodiment of the present invention further provides an accounting server. As shown in FIG. 6, the accounting server includes:
接收单元601,用于接收PDN网关控制面PGW-C设备发送的资源释放请求,所述资源释放请求中携带有所述PDN网关用户面PGW-U设备的标识;The receiving unit 601 is configured to receive a resource release request sent by the PDN gateway control plane PGW-C device, where the resource release request carries an identifier of the PDN gateway user plane PGW-U device;
确定单元602,用于根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源;a determining unit 602, configured to determine, according to a correspondence between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device;
释放单元603,用于释放确定出的会话资源。The release unit 603 is configured to release the determined session resource.
可选的,所述资源释放请求中还携带有所述PGW-C设备的标识;Optionally, the resource release request further carries an identifier of the PGW-C device.
所述确定单元602,具体用于:The determining unit 602 is specifically configured to:
根据预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及所述资源释放请求中的所述PGW-C设备的标识和所述PGW-U设备的标识,确定对应的会话资源。Corresponding relationship between the identifier of the PGW-U device, the identifier of the PGW-C device, and the session resource, and the identifier of the PGW-C device and the identifier of the PGW-U device in the resource release request, Determine the corresponding session resource.
可选的,所述接收单元601,还用于:Optionally, the receiving unit 601 is further configured to:
接收所述PGW-C设备发送的计费请求,所述计费请求中携带所述PGW-U设备的标识和用户设备UE的会话标识,所述PGW-U设备为所述UE对应的PGW-U设备;Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
所述计费服务器还可以包括建立单元,用于:The charging server may further include an establishing unit, configured to:
为所述UE分配会话资源,并建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。And allocating a session resource to the UE, and establishing a correspondence between the identifier of the PGW-U device and the session resource of the UE.
可选的,所述资源释放请求中还携带有所述PGW-U设备的重启次数;Optionally, the resource release request further carries the restart number of the PGW-U device.
所述确定单元602,还用于:The determining unit 602 is further configured to:
确定所述PGW-U设备的重启次数是否与接收时间离当前时间最近的所述PGW-U设备的重启次数相同,如果不相同,则执行所述确定所述PGW-U设备的标识对应的会话资源的步骤。Determining whether the number of restarts of the PGW-U device is the same as the number of restarts of the PGW-U device whose receiving time is closest to the current time. If not, performing the determining the session corresponding to the identifier of the PGW-U device The steps of the resource.
本发明实施例中,当PGW-U发生重启后,PGW-C向计费服务器发送对应PGW-U的资源释放请求,以使计费服务器释放PGW-U的标识对应的全部会话资源,无需PGW-C针对每个PGW-U上的UE逐个发送资源释放请求,从而可以提高释放会话资源的效率,同时可以降低PGW-C和计费服务器之间的信令负载。In the embodiment of the present invention, after the PGW-U is restarted, the PGW-C sends a resource release request corresponding to the PGW-U to the accounting server, so that the charging server releases all the session resources corresponding to the identifier of the PGW-U, and does not need the PGW. -C sends a resource release request one by one for each UE on the PGW-U, so that the efficiency of releasing the session resources can be improved, and the signaling load between the PGW-C and the charging server can be reduced.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。 A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims (17)

  1. 一种释放会话资源的方法,其特征在于,所述方法应用于PDN网关控制面PGW-C设备,所述方法包括:A method for releasing a session resource, the method being applied to a PDN gateway control plane PGW-C device, the method comprising:
    确定与本地建立连接的PDN网关用户面PGW-U设备发生重启;Determining that the PDN gateway user plane PGW-U device that establishes the connection with the local device restarts;
    向计费服务器发送对应所述PGW-U设备的资源释放请求,所述资源释放请求中携带有所述PGW-U设备的标识,所述PGW-U设备的标识用于所述计费服务器释放所述PGW-U设备对应的会话资源。And sending, to the charging server, a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used to release the charging server The session resource corresponding to the PGW-U device.
  2. 根据权利要求1所述的方法,其特征在于,所述资源释放请求中还携带有所述PGW-C设备的标识,所述PGW-C设备的标识用于所述计费服务器释放所述PGW-U设备和所述PGW-C设备对应的会话资源。The method according to claim 1, wherein the resource release request further carries an identifier of the PGW-C device, and the identifier of the PGW-C device is used by the charging server to release the PGW. a U-device and a session resource corresponding to the PGW-C device.
  3. 根据权利要求1或2所述的方法,其特征在于,所述确定与本地建立连接的PDN网关用户面PGW-U设备发生重启,具体包括:The method according to claim 1 or 2, wherein the determining that the PDN gateway user plane PGW-U device that establishes the connection with the local device is restarted includes:
    向与本地建立连接的各PGW-U设备发送检测消息,在预设时长内未收到反馈消息的PGW-U设备被确定为发生重启的PGW-U设备;或者,Sending a detection message to each PGW-U device that establishes a connection with the local, and the PGW-U device that has not received the feedback message within the preset duration is determined to be the restarted PGW-U device; or
    接收到与本地建立连接的PGW-U设备发送的重启通知,确定所述PGW-U设备发生重启。Receiving a restart notification sent by the PGW-U device that establishes a connection with the local, determining that the PGW-U device restarts.
  4. 根据权利要求1-3所述的方法,其特征在于,在所述确定与本地建立连接的PDN网关用户面PGW-U设备发生重启之前,所述方法还包括:The method of any of the preceding claims, wherein the method further comprises: before the restarting of the PDN gateway user plane PGW-U device establishing the connection with the local device, the method further comprising:
    向所述计费服务器发送对应用户设备UE的计费请求,所述计费请求中携带所述PGW-U设备的标识和所述UE的会话标识,以使所述计费服务器建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
  5. 一种释放会话资源的方法,其特征在于,所述方法应用于计费服务器,所述方法包括:A method for releasing a session resource, wherein the method is applied to an accounting server, and the method includes:
    接收PDN网关控制面PGW-C设备发送的资源释放请求,所述资源释放请求中携带有所述PDN网关用户面PGW-U设备的标识;Receiving a resource release request sent by the PDN gateway control plane PGW-C device, where the resource release request carries an identifier of the PDN gateway user plane PGW-U device;
    根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源;Determining, according to the correspondence between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device;
    释放确定出的会话资源。Release the determined session resources.
  6. 根据权利要求5所述的方法,其特征在于,所述资源释放请求中还携带有所述PGW-C设备的标识;The method according to claim 5, wherein the resource release request further carries an identifier of the PGW-C device;
    所述根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源,具体包括:Determining, according to the corresponding relationship between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device, specifically:
    根据预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及所述资源释放请求中的所述PGW-C设备的标识和所述PGW-U设备的标识,确定对应的会话资源。 Corresponding relationship between the identifier of the PGW-U device, the identifier of the PGW-C device, and the session resource, and the identifier of the PGW-C device and the identifier of the PGW-U device in the resource release request, Determine the corresponding session resource.
  7. 根据权利要求5或6所述的方法,其特征在于,在所述接收PGW-C设备发送的资源释放请求之前,所述方法还包括:The method according to claim 5 or 6, wherein before the receiving the resource release request sent by the PGW-C device, the method further includes:
    接收所述PGW-C设备发送的计费请求,所述计费请求中携带所述PGW-U设备的标识和用户设备UE的会话标识,所述PGW-U设备为所述UE对应的PGW-U设备;Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
    为所述UE分配会话资源,并建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。And allocating a session resource to the UE, and establishing a correspondence between the identifier of the PGW-U device and the session resource of the UE.
  8. 根据权利要求5-7所述的方法,其特征在于,所述资源释放请求中还携带有所述PGW-U设备的重启次数;The method according to any one of claims 5-7, wherein the resource release request further carries the number of restarts of the PGW-U device;
    在所述确定所述PGW-U设备的标识对应的会话资源之前,还包括:Before the determining the session resource corresponding to the identifier of the PGW-U device, the method further includes:
    确定所述PGW-U设备的重启次数是否与接收时间离当前时间最近的所述PGW-U设备的重启次数相同,如果不相同,则执行所述确定所述PGW-U设备的标识对应的会话资源的步骤。Determining whether the number of restarts of the PGW-U device is the same as the number of restarts of the PGW-U device whose receiving time is closest to the current time. If not, performing the determining the session corresponding to the identifier of the PGW-U device The steps of the resource.
  9. 一种PDN网关控制面PGW-C设备,所述PGW-C设备包括:A PDN gateway control plane PGW-C device, the PGW-C device includes:
    确定单元,用于确定与本地建立连接的PDN网关用户面PGW-U设备发生重启;a determining unit, configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device restarts;
    发送单元,用于向计费服务器发送对应所述PGW-U设备的资源释放请求,所述资源释放请求中携带有所述PGW-U设备的标识,所述PGW-U设备的标识用于所述计费服务器释放所述PGW-U设备对应的会话资源。a sending unit, configured to send, to the charging server, a resource release request corresponding to the PGW-U device, where the resource release request carries an identifier of the PGW-U device, and the identifier of the PGW-U device is used by the The accounting server releases the session resources corresponding to the PGW-U device.
  10. 根据权利要求9所述的PGW-C设备,其特征在于,所述资源释放请求中还携带有所述PGW-C设备的标识,所述PGW-C设备的标识用于所述计费服务器释放所述PGW-U设备和所述PGW-C设备对应的会话资源。The PGW-C device according to claim 9, wherein the resource release request further carries an identifier of the PGW-C device, and the identifier of the PGW-C device is used for releasing the charging server. a session resource corresponding to the PGW-U device and the PGW-C device.
  11. 根据权利要求9或10所述的PGW-C设备,其特征在于,所述确定单元具体用于:The PGW-C device according to claim 9 or 10, wherein the determining unit is specifically configured to:
    向与本地建立连接的各PGW-U设备发送检测消息,在预设时长内未收到反馈消息的PGW-U设备被确定为发生重启的PGW-U设备;或者,Sending a detection message to each PGW-U device that establishes a connection with the local, and the PGW-U device that has not received the feedback message within the preset duration is determined to be the restarted PGW-U device; or
    接收到与本地建立连接的PGW-U设备发送的重启通知,确定所述PGW-U设备发生重启。Receiving a restart notification sent by the PGW-U device that establishes a connection with the local, determining that the PGW-U device restarts.
  12. 根据权利要求9-11所述的PGW-C设备,其特征在于,所述发送单元,还用于:The PGW-C device according to any one of claims 9-11, wherein the sending unit is further configured to:
    向所述计费服务器发送对应用户设备UE的计费请求,所述计费请求中携带所述PGW-U设备的标识和所述UE的会话标识,以使所述计费服务器建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。Sending, to the charging server, a charging request corresponding to the user equipment UE, where the charging request carries an identifier of the PGW-U device and a session identifier of the UE, so that the charging server establishes the PGW a correspondence between the identifier of the U device and the session resource of the UE.
  13. 一种计费服务器,所述计费服务器包括:A billing server, the billing server comprising:
    接收单元,用于接收PDN网关控制面PGW-C设备发送的资源释放请求,所述资源释放请求中携带有所述PDN网关用户面PGW-U设备的标识;a receiving unit, configured to receive a resource release request sent by the PDN gateway control plane PGW-C device, where the resource release request carries an identifier of the PDN gateway user plane PGW-U device;
    确定单元,用于根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源;a determining unit, configured to determine, according to a correspondence between the identifier of the PGW-U device and the session resource, the session resource corresponding to the identifier of the PGW-U device;
    释放单元,用于释放确定出的会话资源。 a release unit for releasing the determined session resources.
  14. 根据权利要求13所述的计费服务器,其特征在于,所述资源释放请求中还携带有所述PGW-C设备的标识;The charging server according to claim 13, wherein the resource release request further carries an identifier of the PGW-C device;
    所述确定单元,具体用于:The determining unit is specifically configured to:
    根据预先存储的PGW-U设备的标识、PGW-C设备的标识和会话资源的对应关系,以及所述资源释放请求中的所述PGW-C设备的标识和所述PGW-U设备的标识,确定对应的会话资源。Corresponding relationship between the identifier of the PGW-U device, the identifier of the PGW-C device, and the session resource, and the identifier of the PGW-C device and the identifier of the PGW-U device in the resource release request, Determine the corresponding session resource.
  15. 根据权利要求13或14所述的计费服务器,其特征在于,所述接收单元,还用于:The charging server according to claim 13 or 14, wherein the receiving unit is further configured to:
    接收所述PGW-C设备发送的计费请求,所述计费请求中携带所述PGW-U设备的标识和用户设备UE的会话标识,所述PGW-U设备为所述UE对应的PGW-U设备;Receiving a charging request sent by the PGW-C device, where the charging request carries an identifier of the PGW-U device and a session identifier of the user equipment UE, where the PGW-U device is a PGW corresponding to the UE U device;
    所述计费服务器还包括建立单元,用于:The billing server further includes an establishing unit, configured to:
    为所述UE分配会话资源,并建立所述PGW-U设备的标识与所述UE的会话资源的对应关系。And allocating a session resource to the UE, and establishing a correspondence between the identifier of the PGW-U device and the session resource of the UE.
  16. 根据权利要求13-15所述的计费服务器,其特征在于,所述资源释放请求中还携带有所述PGW-U设备的重启次数;The charging server according to any one of claims 13-15, wherein the resource release request further carries the number of restarts of the PGW-U device;
    所述确定单元,还用于:The determining unit is further configured to:
    确定所述PGW-U设备的重启次数是否与接收时间离当前时间最近的所述PGW-U设备的重启次数相同,如果不相同,则执行所述确定所述PGW-U设备的标识对应的会话资源的步骤。Determining whether the number of restarts of the PGW-U device is the same as the number of restarts of the PGW-U device whose receiving time is closest to the current time. If not, performing the determining the session corresponding to the identifier of the PGW-U device The steps of the resource.
  17. 一种释放会话资源的系统,其特征在于,所述系统包括PDN网关控制面PGW-C设备和计费服务器,其中:A system for releasing session resources, characterized in that the system comprises a PDN gateway control plane PGW-C device and a charging server, wherein:
    所述PGW-C设备,用于确定与本地建立连接的PDN网关用户面PGW-U设备发生重启,向计费服务器发送对应所述PGW-U设备的资源释放请求,所述资源释放请求中携带有所述PGW-U设备的标识,所述PGW-U设备的标识用于所述计费服务器释放所述PGW-U设备对应的会话资源;The PGW-C device is configured to determine that a PDN gateway user plane PGW-U device that establishes a connection with the local device is restarted, and sends a resource release request corresponding to the PGW-U device to the accounting server, where the resource release request is carried. An identifier of the PGW-U device, where the identifier of the PGW-U device is used by the charging server to release a session resource corresponding to the PGW-U device;
    所述计费服务器,用于接收PDN网关控制面PGW-C设备发送的资源释放请求,根据预先存储的PGW-U设备的标识与会话资源的对应关系,确定所述PGW-U设备的标识对应的会话资源,释放确定出的会话资源。 The charging server is configured to receive a resource release request sent by the PDN gateway control plane PGW-C device, and determine, according to the correspondence between the identifier of the PGW-U device and the session resource, the identifier of the PGW-U device The session resource releases the determined session resources.
PCT/CN2017/093902 2016-09-26 2017-07-21 Method, apparatus and system for releasing session resource WO2018054157A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610851484.XA CN107872326B (en) 2016-09-26 2016-09-26 Method, device and system for releasing session resources
CN201610851484.X 2016-09-26

Publications (1)

Publication Number Publication Date
WO2018054157A1 true WO2018054157A1 (en) 2018-03-29

Family

ID=61690718

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/093902 WO2018054157A1 (en) 2016-09-26 2017-07-21 Method, apparatus and system for releasing session resource

Country Status (2)

Country Link
CN (1) CN107872326B (en)
WO (1) WO2018054157A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286450A (en) * 2020-09-27 2022-04-05 中国移动通信集团设计院有限公司 Bearing establishing method and device, electronic equipment and storage medium
WO2024022400A1 (en) * 2022-07-26 2024-02-01 中国电信股份有限公司 Cloud resource configuration method and related device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636552B (en) * 2018-06-22 2021-06-08 华为技术有限公司 Method, equipment and system for managing network element
CN109450965B (en) * 2018-09-07 2020-09-08 海信集团有限公司 Session resource recovery processing method and device, cloud platform and Internet of things system
CN111328123B (en) * 2018-12-14 2022-06-24 华为技术有限公司 Method and device for releasing network segment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011098155A1 (en) * 2010-02-09 2011-08-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for use with ip connectivity access network
CN102612164A (en) * 2012-01-21 2012-07-25 华为技术有限公司 Method, device and system for releasing resource after network element restart
CN103428742A (en) * 2013-08-07 2013-12-04 大唐移动通信设备有限公司 Method and device for processing SCTP (stream control transmission protocol) link failure of an S1 interface
EP2843885A1 (en) * 2013-08-29 2015-03-04 NTT DoCoMo, Inc. Apparatus and method for implementing a packet gateway user plane

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101572741B1 (en) * 2007-06-22 2015-12-01 인터디지탈 테크날러지 코포레이션 Resource management for mobility between different wireless communications architectures
CN103687070A (en) * 2012-09-17 2014-03-26 中兴通讯股份有限公司 Resource releasing method, message processing method, TWAG and terminal
CN103281801A (en) * 2013-05-27 2013-09-04 大唐移动通信设备有限公司 Resource releasing method and device
WO2015057723A1 (en) * 2013-10-14 2015-04-23 Futurewei Technologies, Inc. A method, apparatus and system for implementing pdn connections

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011098155A1 (en) * 2010-02-09 2011-08-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for use with ip connectivity access network
CN102612164A (en) * 2012-01-21 2012-07-25 华为技术有限公司 Method, device and system for releasing resource after network element restart
CN103428742A (en) * 2013-08-07 2013-12-04 大唐移动通信设备有限公司 Method and device for processing SCTP (stream control transmission protocol) link failure of an S1 interface
EP2843885A1 (en) * 2013-08-29 2015-03-04 NTT DoCoMo, Inc. Apparatus and method for implementing a packet gateway user plane

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286450A (en) * 2020-09-27 2022-04-05 中国移动通信集团设计院有限公司 Bearing establishing method and device, electronic equipment and storage medium
CN114286450B (en) * 2020-09-27 2023-09-19 中国移动通信集团设计院有限公司 Bearer establishment method and device, electronic equipment and storage medium
WO2024022400A1 (en) * 2022-07-26 2024-02-01 中国电信股份有限公司 Cloud resource configuration method and related device

Also Published As

Publication number Publication date
CN107872326B (en) 2020-09-08
CN107872326A (en) 2018-04-03

Similar Documents

Publication Publication Date Title
WO2018054157A1 (en) Method, apparatus and system for releasing session resource
US9219640B2 (en) Performing failover in a redundancy group
US9699050B2 (en) Method and apparatus for learning online state of terminal
WO2015154246A1 (en) Fault handling method, device and system based on network function virtualization
KR102167613B1 (en) Message push method and device
US11683218B2 (en) Compromised network node detection system
JP5101734B2 (en) Tunnel management method, tunnel management apparatus, and communication system
WO2014169804A1 (en) Registration method and system for common service entity
US20160337084A1 (en) Method and device for handling exception event in telecommunication cloud
WO2011026358A1 (en) Method and system for processing abnormal off-line for web authentication user
US20170039083A1 (en) Proxy response program, proxy response device and proxy response method
US10469311B2 (en) Handling network failures in networks with redundant servers
WO2018166328A1 (en) Information processing method, apparatus, computer readable storage medium and electronic device
WO2013078671A1 (en) Fault detection method, gateway, user equipment, and communication system
WO2014130412A2 (en) Signaling method for handling of desynchronized default bearer context of the last remaining pdn connection
CN111988360A (en) Session management method in cloud platform, storage medium and electronic device
WO2016180175A1 (en) Method, system and device for realizing online charging
WO2016000187A1 (en) Message processing method and device
US20160119776A1 (en) Subscriber group related control in a communication network
EP2475199A1 (en) Handover method and device for an access service network
WO2017101028A1 (en) Data transmission method, m2m server, pgw, sgw and serving network node
KR20180104639A (en) Database-based redundancy in the network
WO2016180177A1 (en) Method, system and device for realizing online charging
US20200287847A1 (en) System and control method
WO2013091248A1 (en) Method, device and system for service implementation during failure of media gateway controller

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

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

Country of ref document: EP

Kind code of ref document: A1