WO2017185940A1 - 一种配额共享方法及信令路由设备 - Google Patents

一种配额共享方法及信令路由设备 Download PDF

Info

Publication number
WO2017185940A1
WO2017185940A1 PCT/CN2017/078586 CN2017078586W WO2017185940A1 WO 2017185940 A1 WO2017185940 A1 WO 2017185940A1 CN 2017078586 W CN2017078586 W CN 2017078586W WO 2017185940 A1 WO2017185940 A1 WO 2017185940A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
user
charging device
shared
quota
Prior art date
Application number
PCT/CN2017/078586
Other languages
English (en)
French (fr)
Inventor
陈伟
颜石专
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP17788593.6A priority Critical patent/EP3393154A4/en
Publication of WO2017185940A1 publication Critical patent/WO2017185940A1/zh

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
    • 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/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/765Linked or grouped accounts, e.g. of users or devices
    • H04M15/7652Linked or grouped accounts, e.g. of users or devices shared by users
    • 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
    • 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
    • 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/62Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on trigger specification
    • 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/66Policy and charging system
    • 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/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/765Linked or grouped accounts, e.g. of users or devices
    • 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/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/78Redistributing amount between accounts
    • 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/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/785Reserving amount on the account
    • 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/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/79Virtual purses
    • 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/80Rating or billing plans; Tariff determination aspects
    • H04M15/8044Least cost routing
    • 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 communications, and in particular, to a quota sharing method and a signaling routing device.
  • the quota sharing service As the communication service benefits the gradual increase of the population, the quota sharing service is derived, and the quota can be the traffic, the duration of the call, and the like.
  • the so-called quota sharing service refers to the charging scheme in which the primary user bears the quota fee and the primary user and multiple shared users use the quota together.
  • PCRF Policy and Charging Rules Function
  • OCS Online Charging System
  • the session management gateway (PDW GateWay, PGW) routes the session establishment requests of each user to different PCRFs, and each user is charged by a different PCRF. Quota sharing services between these users cannot be achieved.
  • the present invention provides a quota sharing method and a signaling routing device, which can implement quota sharing among multiple users in a scenario where multiple PCRFs cannot communicate with each other.
  • the session management gateway PGW is mainly responsible for management of session and bearer, IP address allocation, and the like.
  • the PGW receives the session establishment request of the user, and directly routes the user's session establishment request to the PCRF (accounting device) corresponding to the user, and the corresponding PCRF of the user charges the quota used by the user.
  • the present invention introduces a signaling routing device SPS in an existing network, which is intended to redirect a user's session request according to a sharing relationship between users to implement a quota sharing service. details as follows:
  • a quota sharing method including:
  • the signaling routing device receives relevant data configured by the administrator, that is, the shared information data.
  • the shared information data indicates the sharing relationship information, the correspondence between the identity of the primary user and the corresponding first charging device, and the correspondence between the identifier of the shared user and the corresponding second charging device, where the sharing relationship information indicates the primary user.
  • the shared information data can be "Primary user A: PCRF1; shared user B: PCRF2; sharing relationship information: user A is the primary user, user B is the shared user, and both share 2G traffic.”
  • the session management gateway receives the session establishment request of the shared user, and forwards the session establishment request of the shared user to the signaling routing device.
  • the session establishment request carries the identity of the shared user.
  • the session management gateway receives the session establishment request of other users (such as the primary user or other shared users), and also forwards the session establishment request of the user to the signaling routing device.
  • the signaling routing device queries the pre-stored shared information data, and determines that the user is a shared user, and needs to share the same quota with the primary user. Therefore, the PCRF of the primary user needs to be adopted, that is, the first charging device is used as the first charging device.
  • the charging device of the shared user Specifically, the shared information data may be queried according to the identifier of the user, and the user is determined to be a shared user. For example, the signaling information device first queries the shared information data, determines that the user B is configured with the quota sharing service, and the primary user is A, and then determines that the charging device corresponding to the user B is the primary user. A billing device.
  • the signaling routing device routes the session establishment request to the first charging device, so that the first charging device establishes a first session with the signaling routing device, so that the primary The user shares a shared quota with the shared user.
  • the PGW will route the session establishment request of each user to different PCRFs, and each user is charged by a different PCRF. Therefore, it is impossible to implement the charging by the same charging device for different users to use the quota, and thus the charging scheme in which the primary user and the multiple shared users use the quota jointly, that is, the quota sharing, cannot be realized.
  • the present invention introduces the SPS in the existing networking, and stores related data of the record sharing service in the SPS in advance.
  • the SPS may query the pre-recorded data to determine whether the user is If the user is configured with the quota sharing service, the user is further configured to determine the charging device of the current session of the user as the charging device corresponding to the primary user, and then the session establishment request of the user is routed to the primary user.
  • the charging device is configured to enable the charging device corresponding to the primary user to charge the quota used by the user, so that the user and the primary user share the same quota.
  • the second charging device is used as the charging device of the shared user.
  • the fee device is a charging device corresponding to the shared user.
  • the method further includes:
  • the signaling routing device sends a session deletion message to the first charging device, so that the first charging deletes a current session with the shared user, that is, the first session.
  • a session establishment request is also sent to the second charging device, so that the second charging device establishes a second session with the signaling routing device, and the session identifier of the second session is The session ID of the first session is the same.
  • the session management gateway determines whether the current session of the shared user or the original session is based on the session identifier, and no service interruption occurs.
  • the signaling routing device sends session change information to the session management gateway and to the second The server sends a session establishment request, and after receiving the session, the session management gateway sends a session deletion message to the first charging device, and the first charging device deletes the first session.
  • the second charging device receives the session establishment request sent by the session management gateway, the second charging device establishes a second session with the signaling routing device; the session identifier of the second session and the The session ID of the first session is the same.
  • the session management gateway PGW it is judged whether the original session is based on the session identifier, and no service interruption occurs.
  • the method further includes:
  • the signaling routing device receives a session establishment request from the shared user forwarded by the session management gateway, and routes the session establishment request to the second charging device. That is, after the shared service is revoked, the signaling routing device forwards the session request of the shared user to the charging device corresponding to the user.
  • the revocation condition is: the primary user and the shared user The sharing relationship is released, or the remaining amount of the sharing quota is zero, that is, the sharing quota has been used up.
  • a signaling routing device including:
  • the shared information data indicates the sharing relationship information, the correspondence between the identity of the primary user and the corresponding first charging device, and the correspondence between the identifier of the shared user and the corresponding second charging device Relationship, the sharing relationship information indicates that the primary user shares the same quota with the shared user;
  • the receiving unit is further configured to receive a session establishment request from the shared user that is forwarded by the session management gateway, where the session establishment request carries an identifier of the shared user;
  • a query unit configured to query the shared information data, and determine, according to the identifier of the shared user, that the charging device corresponding to the shared user is the first charging device;
  • a sending unit configured to route the session establishment request to the first charging device, so that the first charging device establishes a first session with the signaling routing device, so that the primary user and the user The shared user shares the shared quota.
  • the PGW will route the session establishment request of each user to different PCRFs, and each user is charged by a different PCRF. Therefore, it is impossible to implement the charging by the same charging device for different users to use the quota, and thus the charging scheme in which the primary user and the multiple shared users use the quota jointly, that is, the quota sharing, cannot be realized.
  • the present invention introduces the SPS in the existing networking, and stores related data of the record sharing service in the SPS in advance.
  • the SPS may query the pre-recorded data to determine whether the user is If the user is configured with the quota sharing service, the user is further configured to determine the charging device of the current session of the user as the charging device corresponding to the primary user, and then the session establishment request of the user is routed to the primary user.
  • the charging device is configured to enable the charging device corresponding to the primary user to charge the quota used by the user, so that the user and the primary user share the same quota.
  • the determining unit is configured to: if it is determined that the quota sharing service between the primary user and the shared user meets the revocation condition, the second charging device is used as the charging device of the shared user.
  • the sending unit is further configured to send a session deletion message to the first charging device, so that the first charging device deletes the first session;
  • the sending unit is further configured to send session change information to the session management gateway, and send a session establishment request to the second meter, so that the first charging device deletes the first session, where the The second charging device establishes a second session with the signaling routing device; the session identifier of the second session is the same as the session identifier of the first session.
  • the receiving unit is further configured to receive a session establishment request from the shared user forwarded by the session management gateway;
  • the sending unit is further configured to route the session establishment request to the second charging device.
  • the revocation condition is that the sharing relationship between the primary user and the shared user is released, or the remaining amount of the shared quota is zero.
  • FIG. 1 is a schematic diagram of an existing session route
  • FIG. 2 is a schematic diagram of a communication networking provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a quota sharing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a quota sharing method according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic flowchart of a method for implementing a session without interruption when a shared service is revoked according to Embodiment 1 of the present invention
  • FIG. 6 is a schematic flowchart of another method for implementing a session without interruption when a shared service is revoked according to Embodiment 1 of the present invention
  • FIG. 7 is a structural block diagram of a signaling routing device according to Embodiment 2 of the present invention.
  • FIG. 8 is another structural block diagram of a signaling routing device according to Embodiment 2 of the present invention.
  • the PGW in the network routes the session requests of different users to different PCRFs, so the quota sharing service cannot be implemented.
  • the existing session routing process is as shown in FIG. 1.
  • the user A itself corresponds to the PCRF1
  • the user B itself corresponds to the PCRF2.
  • the PGW routes the session request of the user A to the PCRF1, and routes the session request of the user B.
  • PCRF1 and PCRF2 cannot communicate with each other (for example, PCRF1 and PCRF2 are different vendors), users A and B cannot perform charging through one PCRF, and services sharing the same quota cannot be realized.
  • the present invention provides a communication network, as shown in FIG. 2, including: a session management gateway, a signaling routing device, and at least two different charging devices.
  • the session management gateway may be a PGW (PDN Gate Management Gateway) for forwarding the user's request to the signaling routing device.
  • the signaling routing device may be an SPS (Signaling Service Processing System) device, and the related data of the shared service, that is, the shared information data according to the present invention, is pre-recorded.
  • the billing device can be a PCRF.
  • the signaling routing device SPS is introduced in the communication network provided by the present invention, which is intended to redirect the user's session request according to the sharing relationship between the users, so as to implement the quota sharing service.
  • the signaling routing device can redirect the user's session establishment request to the charging device that is not the user's own.
  • user A itself corresponds to PCRF1
  • the signaling routing device receives the session establishment request route of user A forwarded by the session management gateway to PCRF2.
  • the embodiment of the present invention provides a signaling routing device, which is configured to redirect a session establishment request of a user, so as to implement quota sharing among multiple users in a scenario in which multiple PCRFs cannot communicate with each other.
  • the signaling routing device includes: a receiver 101, a transmitter 102, a processor 103, and a memory 104. Further, referring to FIG. 3, the quota sharing method provided by the embodiment of the present invention includes the following steps:
  • the receiver 101 receives relevant data configured by the administrator, that is, the shared information data.
  • the shared information data is stored in the memory 104.
  • the shared information data indicates the sharing relationship information, the correspondence between the identity of the primary user and the corresponding first charging device, and the correspondence between the identifier of the shared user and the corresponding second charging device, where the sharing relationship information indicates the primary user.
  • the shared information data may be “primary user A: PCRF1; shared user B: PCRF2; sharing relationship information: user A is a primary user, and user B is a shared user, and both share 2G traffic”.
  • the receiver 101 receives a session establishment request of a shared user forwarded by a Session Management Gateway (PGW).
  • PGW Session Management Gateway
  • the session management gateway receives the session establishment request of the shared user, and forwards the session establishment request of the shared user to the signaling routing device.
  • the session establishment request carries the identity of the shared user.
  • the session management gateway receives the session establishment request of other users (such as the primary user or other shared users), and also forwards the session establishment request of the user to the signaling routing device.
  • the processor 103 queries the shared information data stored in the memory 104, and determines that the first charging device is used as the charging device of the shared user.
  • the shared information data is queried, and the user can be determined to be the shared user, and the same quota needs to be shared with the primary user. Therefore, the charging device corresponding to the shared user needs to be determined as the primary user.
  • PCRF that is, the first charging device.
  • the shared information data may be queried according to the identifier of the user, and the user is determined to be a shared user. For example, the signaling information device first queries the shared information data, determines that the user B is configured with the quota sharing service, and the primary user is A, and then determines that the charging device corresponding to the user B is the primary user.
  • a billing device is accessed from the shared information data.
  • the transmitter 102 routes the session establishment request to the first charging device, so that the first charging device establishes a first session with the signaling routing device, so that the primary user and the The shared user shares the shared quota.
  • the processor 103 may be a central processing unit (English name: central processing unit, abbreviation: CPU).
  • Transmitter 102 can be implemented by a light emitter, an electrical transmitter, a wireless transmitter, or any combination thereof.
  • the light emitter can be a small package pluggable (English name: small form-factor pluggable transceiver, abbreviation: SFP) transmitter (English full name: transceiver), enhanced small package pluggable (English full name: enhanced small form- Factor pluggable, abbreviation: SFP+) Transmitter or 10 Gigabit small package pluggable (English full name: 10Gigabit small form-factor pluggable, abbreviation: XFP) transmitter.
  • the electric transmitter can be an Ethernet (English full name: Ethernet) network interface controller (English full name: network interface controller, abbreviation: NIC).
  • the wireless transmitter can be a wireless network interface controller (English name: wireless network interface controller, abbreviation: WNIC).
  • Receiver 101 can be implemented by an optical receiver, an electrical receiver, a wireless receiver, or any combination thereof.
  • the optical receiver can be a small package pluggable receiver, an enhanced small package pluggable receiver or a 10 gigabit small package pluggable receiver.
  • the electrical receiver can be an Ethernet network interface controller.
  • the wireless receiver can be a wireless network interface controller.
  • the memory 104 is configured to store the program code and transmit the program code to the processor 101.
  • the processor 101 executes the following instructions according to the program code.
  • the memory 104 may include a volatile memory (English full name: volatile memory), such as a random access memory (English name: random-access memory, abbreviation: RAM); the memory 104 may also Including non-volatile memory (English name: non-volatile memory), such as read-only memory (English full name: read-only memory, abbreviation: ROM), flash memory (English full name: flash memory), hard disk (English full name :hard disk drive, abbreviation: HDD) or solid state drive (English full name: solid-state drive, abbreviation: SSD).
  • the memory 104 may also include a combination of the above types of memories.
  • the quota sharing method stores the related data of the record sharing service in the SPS in advance.
  • the SPS may query the pre-recorded data to determine whether the user has the quota set. If the user of the shared service is configured with the quota sharing service, the user is further determined that the charging device of the current session of the user is the charging device corresponding to the primary user, and then the session establishment request of the user is routed to the charging device corresponding to the primary user. Therefore, the charging device corresponding to the primary user charges the quota used by the user, and implements an accounting scheme in which the user shares the same quota with the primary user.
  • the signaling routing device determines that the quota sharing service between the primary user and the shared user meets the revocation condition, determining the charging corresponding to the shared user.
  • the device is the first charging device.
  • the revocation condition here is that the sharing relationship between the primary user and the shared user is released, or the remaining amount of the shared quota is zero, that is, the shared quota has been used up.
  • the shared service when the shared service is revoked, the shared user cannot continue to use the quota paid by the primary user, and the quota used by the own charging device needs to be charged, so the corresponding user of the shared user is used.
  • the fee device acts as a billing device for the current session of the shared user.
  • the shared service is revoked, for the SPS, the updated shared information data configured by the administrator is received, and the updated shared information data indicates that the shared user no longer shares the same quota with the primary user.
  • SPS monitors that the shared quota is used up, and SPS spontaneously determines that the shared user no longer shares the same quota with the primary user.
  • the signaling routing device in order to ensure that the session is not interrupted when the shared service is revoked (handover), sends a session deletion message to the first charging device, so that the first charging is performed.
  • the current session between the shared user and the shared user is deleted.
  • a session establishment request is also sent to the second charging device, so that the second charging device establishes a second session with the signaling routing device, a session identifier of the second session, and the The session ID of the first session is the same.
  • the signaling routing device sends session change information to the session management gateway and sends a session establishment request to the second meter, the session management gateway After receiving, the session deletion message is sent to the first charging device, and the first charging device deletes the first session.
  • the second charging device receives the session establishment request sent by the session management gateway, establishing a second session between the second charging device and the signaling routing device; the session identifier of the second session and the The session ID of the first session is the same.
  • the session management gateway PGW it is judged whether the original session is based on the session identifier, and no service interruption occurs.
  • the signaling routing device receives a session establishment request from the shared user forwarded by the session management gateway, and routes the session establishment request to the second charging device. That is, sharing business After the revocation, the signaling routing device forwards the session request of the shared user to the charging device corresponding to the user.
  • the embodiment of the present invention provides a quota sharing method, where the session management gateway can be a PGW, the signaling routing device can be an SPS, the user A is a PCRF1, the user B is a PCRF2, and the user A is a primary user.
  • the method includes the following steps:
  • the PGW receives the session establishment request of the user B, and forwards the session establishment request of the user B to the SPS.
  • the session establishment request may be a Gx-CCRi message.
  • the session establishment request carries the identifier of the user B, such as: B.
  • the PGW receives any user's session establishment request and forwards its session establishment request to the SPS.
  • SPS will receive relevant data, that is, share information data.
  • the shared information data indicates the sharing relationship information, the correspondence between the identity of the primary user and its corresponding charging device, and the correspondence between the identity of the shared user and its corresponding charging device, and the sharing relationship information indicates that the primary user shares with the shared user. The same quota.
  • the shared information data may be “primary user A: PCRF1; shared user B: PCRF2; user A is the primary user, and user B is the shared user, and both share 2G traffic”.
  • the SPS receives the session establishment request of the user B, and determines, according to the identifier of the user B, that the PCRF1 is used as the charging device of the user B.
  • the user A is the primary user, and the PCRF1 is the first charging device according to the present invention.
  • the charging device PCRF2 corresponding to the user B itself is the second charging device according to the present invention.
  • the SPS queries the shared information data according to the identifier of the user B, determines that the shared user is configured with a quota sharing service, and needs to share the same quota with the primary user, and therefore needs to determine the accounting for the shared user.
  • the fee device that is, the PCRF of the corresponding primary user.
  • the primary charging device may be a charging device corresponding to the primary user.
  • the SPS first queries the shared information data, and the SPS first determines that the user B is configured with the quota sharing service, and then determines that the charging device PCRF1 of the primary user A is the current session of the shared user B. Billing equipment.
  • the SPS routes the session establishment request to PCRF1.
  • the PCRF1 establishes a first session with the SPS, so that the user B shares the shared quota with the user A.
  • the PCRF1 established in response to the session request of the user B establishes the first session with the SPS, so that the PCRF1 can perform the charging management for the session of the user B, and realize the quota sharing between the user B and the primary user.
  • the PGW will route the session establishment request of each user to different PCRFs, and each user is charged by a different PCRF. Therefore, it is impossible to implement the charging by the same charging device for different users to use the quota, and thus the charging scheme in which the primary user and the multiple shared users use the quota jointly, that is, the quota sharing, cannot be realized.
  • the present invention introduces the SPS in the existing networking, and stores related data of the record sharing service in the SPS in advance.
  • the SPS may query the pre-recorded data to determine whether the user is If the user is configured with the quota sharing service, the user is further configured to determine the charging device of the current session of the user as the charging device corresponding to the primary user, and then the session establishment request of the user is routed to the primary user.
  • the charging device is configured to enable the charging device corresponding to the primary user to charge the quota used by the user, so that the user and the primary user share the same quota.
  • the signaling routing device determines that the quota sharing service between the primary user and the shared user meets the revocation condition, determining the charging device corresponding to the sharing It is a second charging device, that is, a charging device corresponding to the shared user itself.
  • the revocation condition is: the sharing relationship between the primary user and the shared user is released, or the remaining amount of the shared quota is zero, that is, the shared quota has been used up.
  • the SPS determines that the charging device corresponding to the user B is its own charging device PCRF2.
  • the fee device acts as a billing device for the current session of the shared user.
  • the signaling routing device receives a session establishment request from the shared user that is forwarded by the session management gateway, and routes the session establishment request to a charging device corresponding to the shared user. That is to say, after the shared service is revoked, the signaling routing device forwards the user's session request to its own charging device.
  • the method further includes:
  • the SPS sends a session deletion message to the PCRF1.
  • the session deletion message may be a Gx-CCRt message. Certainly, the session deletion message carries the session identifier of the first session, so that the PCRF1 can delete the session corresponding to the session identifier.
  • the shared user establishes a session connection with the primary user's charging device (PCRF1) and shares the same quota with the primary user
  • PCRF1 primary user's charging device
  • the shared service between the shared user and the primary user is revoked, the shared user cannot continue to share the same with the primary user.
  • the quota therefore, first needs to send a session deletion message to the primary user's charging device, indicating that the primary user's charging device deletes the session with the shared user.
  • the PCRF1 deletes the first session.
  • the first session is a current session between the PCRF1 and the shared user (User B).
  • the SPS sends a session establishment request to the PCRF2 corresponding to the user B.
  • the session establishment request may be a Gx-CCRi message. It should be noted that the session establishment request needs to carry the session identifier of the first session, so that after the shared service is revoked, the sharing user's own charging device (PCRF2) can establish the same session as the first session, so that the shared user's service is shared. Will not be interrupted.
  • PCRF2 sharing user's own charging device
  • the shared user When the shared service is revoked, the shared user cannot continue to use the quota paid by the primary user, which needs to be owned by itself.
  • the charging device charges the quota used by the charging device. Therefore, the charging device corresponding to the current session of the shared user needs to be the charging device corresponding to the shared user.
  • the PCRF2 corresponding to the user B establishes a second session with the SPS, and the session identifier of the second session is the same as the session identifier of the first session.
  • the method further includes:
  • the SPS sends session change information to the PGW.
  • the session change message here can be a special notification message, such as: RAR.
  • the session deletion message carries the session identifier of the first session, so that PCRF1 can delete the session corresponding to the session identifier.
  • the PCRF1 deletes the first session.
  • the PGW sends a session establishment request to the meter PCRF2 corresponding to the user B.
  • the session establishment request needs to carry the session identifier of the first session, so that after the shared service is revoked, the sharing user's own charging device (PCRF2) can establish the same session as the first session, so that the shared user's service is shared. Will not be interrupted.
  • PCRF2 sharing user's own charging device
  • the PCRF2 establishes a second session between the charging device corresponding to the shared user and the signaling routing device, and the session identifier of the second session is the same as the session identifier of the first session.
  • the quota sharing method stores the related data of the record sharing service in the SPS in advance.
  • the SPS may query the pre-recorded data to determine whether the user has the quota set. If the user of the shared service is configured with the quota sharing service, the user is further determined that the charging device of the current session of the user is the charging device corresponding to the primary user, and then the session establishment request of the user is routed to the charging device corresponding to the primary user. Therefore, the charging device corresponding to the primary user charges the quota used by the user, and implements an accounting scheme in which the user shares the same quota with the primary user.
  • signaling interaction can also be performed, the session between the shared user and the charging device of the primary user is deleted, the session between the shared user and its own charging device is established, and the same session identifier is used, so that The session is not interrupted.
  • the embodiment of the present invention provides a signaling routing device.
  • the signaling routing device includes: a receiving unit 401, a query unit 402, and a sending unit 403.
  • the receiving unit 401 is configured to receive a session establishment request from the shared user forwarded by the session management gateway, where the session establishment request carries the identifier of the shared user.
  • the receiving unit 401 is further configured to receive the shared information data, where the shared information data indicates the sharing relationship information, the correspondence between the identifier of the primary user and the corresponding first charging device, and the identifier of the shared user and the second meter corresponding thereto.
  • the correspondence relationship of the fee devices, the sharing relationship information indicating that the primary user shares the same quota with the shared user.
  • the querying unit 402 is configured to query the pre-stored shared information data, and determine, according to the identifier of the shared user, that the first charging device is used as the charging device of the shared user.
  • a sending unit 403 configured to route the session establishment request to the first charging device, so that the first charging device establishes a first session with the signaling routing device, so that the primary user and the The shared user shares a shared quota.
  • the signaling routing device further includes a determining unit 404.
  • the determining unit 404 is configured to: if it is determined that the quota sharing service between the primary user and the shared user meets the revocation condition, the second charging device is used as the charging device of the shared user.
  • the sending unit 403 is further configured to send a session deletion message to the first charging device, so that the first charging device deletes the first session;
  • the sending unit 403 is further configured to: send session change information to the session management gateway, and send a session establishment request to the second meter, so that the first charging device deletes the first session,
  • the second charging device establishes a second session with the signaling routing device; the session identifier of the second session is the same as the session identifier of the first session.
  • the receiving unit 401 is further configured to receive a session establishment request from the shared user forwarded by the session management gateway.
  • the sending unit 403 is further configured to route the session establishment request to the second charging device.
  • the revocation condition is that the sharing relationship between the primary user and the shared user is released, or the remaining amount of the shared quota is zero.
  • the signaling routing device records the related data of the shared service in advance.
  • the pre-recorded data may be queried to determine whether the user is set to have a quota sharing service. If the user sets the quota sharing service, the user further determines that the charging device of the current session of the user is the charging device corresponding to the primary user, and then the session establishment request of the user is routed to the charging device corresponding to the primary user, so that the user The charging device corresponding to the user charges the quota used by the user, and implements the charging scheme in which the user shares the same quota with the primary user.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a device (which may be a microcontroller, chip, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种配额共享方法及信令路由设备,涉及通信领域,能够在多个PCRF无法互相通信的场景下,实现多个用户之间的配额共享。包括:信令路由设备接收共享信息数据(指示共享关系信息、主用户的标识与其对应的第一计费设备的对应关系、共享用户的标识与其对应的第二计费设备的对应关系,共享关系信息指示主用户与共享用户共享同一配额);接收会话管理网关转发的来自共享用户的会话建立请求;查询共享信息数据,根据共享用户的标识确定共享用户对应的计费设备为第一计费设备;将会话建立请求路由至所述第一计费设备,以便第一计费设备建立与所述信令路由设备间的第一会话,使得主用户与共享用户共用共享配额。

Description

一种配额共享方法及信令路由设备
本申请要求于2016年4月25日提交中国专利局、申请号为201610263752.6、发明名称为“一种配额共享方法及信令路由设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,尤其涉及一种配额共享方法及信令路由设备。
背景技术
随着通信业务惠及人群的逐渐增加,衍生出了配额共享业务,其中配额可以是流量、通话时长等。所谓配额共享业务是指由主用户承担配额费用,由主用户和多个共享用户共同使用配额的计费方案。
目前,要实现不同用户间的配额共享业务,必须保证各个用户均对应同一计费设备,如:策略与计费规则功能单元(英文全称:Policy and Charging Rules Function,缩写:PCRF)或在线计费系统(英文全称:Online Charging System,缩写:OCS)。
可能存在多个用户对应有多个PCRF(或OCS),会话管理网关(PDN GateWay,PGW)将各个用户的会话建立请求路由到不同的PCRF上,进而各个用户由不同的PCRF进行计费,便无法实现这些用户间的配额共享业务。
发明内容
本发明实施提供一种配额共享方法及信令路由设备,能够在多个PCRF无法互相通信的场景下,实现多个用户之间的配额共享。
为达到上述目的,本发明的实施例采用如下技术方案:
现有技术中,会话管理网关PGW主要负责会话和承载的管理以及IP地址分配等。PGW接收用户的会话建立请求,并将用户的会话建立请求直接路由至用户对应的PCRF(计费设备),由用户各自对应的PCRF对用户使用的配额进行计费。本申请在现有组网中引入信令路由设备SPS,意在根据用户之间的共享关系,将用户的会话请求进行重定向,以实现配额共享业务。具体如下:
第一方面,公开了一种配额共享方法,包括:
首先,在用户间的配额共享业务设置后,信令路由设备会接收到管理员配置的相关数据,即所述共享信息数据。这里的共享信息数据指示共享关系信息、主用户的标识与其对应的第一计费设备的对应关系、共享用户的标识与其对应的第二计费设备的对应关系,所述共享关系信息指示主用户与共享用户共享同一配额。举例而言,该共享信息数据可以是 “主用户A:PCRF1;共享用户B:PCRF2;共享关系信息:用户A为主用户,用户B为共享用户,二者共享2G流量”。
其次,当共享用户发起会话请求时,会话管理网关(PGW)接收共享用户的会话建立请求,并将该共享用户的会话建立请求转发至所述信令路由设备。在此,会话建立请求会携带该共享用户的标识。当然,会话管理网关接收其他用户(如:主用户或其他共享用户)的会话建立请求,也会将该用户的会话建立请求转发至所述信令路由设备。
接着,所述信令路由设备会查询预存储的共享信息数据,确定所述用户为共享用户,需要与主用户共享同一配额,因此需要采用主用户的PCRF,即所述第一计费设备作为所述共享用户的计费设备。具体地,可以根据所述用户的标识查询所述共享信息数据,确定所述用户为共享用户。示例的,承上所述的共享信息数据,信令路由设备首先查询所述共享信息数据,确定用户B设置有配额共享业务且主用户为A,进而确定用户B对应的计费设备为主用户A的计费设备。
最后,所述信令路由设备将所述会话建立请求路由至所述第一计费设备,以便所述第一计费设备建立与所述信令路由设备间的第一会话,使得所述主用户与所述共享用户共用共享配额。
现有技术中,存在多个用户对应有多个不同的计费设备,PGW会将各个用户的会话建立请求路由到不同的PCRF上,进而各个用户由不同的PCRF进行计费。这就无法实现由同一计费设备为不同的用户使用配额进行计费,进而也就无法实现主用户和多个共享用户共同使用配额的计费方案,即配额共享。
本发明在现有组网中引入SPS,预先将记录共享业务的相关数据存储在SPS,当SPS接收到PGW转发的某个用户的会话建立请求时,可以查询预先记录的数据确定该用户是否为设置有配额共享业务的用户,若用户设置有配额共享业务,则进一步确定该用户当前会话的计费设备为主用户对应的计费设备,随即将该用户的会话建立请求路由至主用户对应的计费设备,以便主用户对应的计费设备对该用户使用的配额进行计费,实现该用户与主用户共享同一配额的计费方案。
结合第一方面,在第一方面的第一种可能的实现方式中,
若共享业务取消,即所述信令路由设备确定所述主用户与所述共享用户间的配额共享业务满足撤销条件,则采用所述第二计费设备作为所述共享用户的计费设备。
也就是说,当共享业务撤销,共享用户则不能继续使用由主用户付费的配额,需要由自己本身的计费设备对其使用的配额进行计费,因此需要将共享用户的当前会话对应的计费设备为所述共享用户对应的计费设备。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述方法还包括:
所述信令路由设备向所述第一计费设备发送会话删除消息,使得所述第一计费删除与共享用户之间的当前会话,即所述第一会话。
另外,还会向所述第二计费设备发送会话建立请求,使得所述第二计费设备建立与所述信令路由设备间的第二会话,所述第二会话的会话标识与所述第一会话的会话标识相同。
这样,对于会话管理网关PGW来说,根据会话标识判断该共享用户当前会话还是原来的会话,不会产生业务中断的现象。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述信令路由设备向所述会话管理网关发送会话变更信息并向所述第二计费器发送会话建立请求,所述会话管理网关接收后向所述第一计费设备发送会话删除消息,第一计费设备器删除所述第一会话。之后,第二计费设备接收会话管理网关发送的会话建立请求,建立所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识与所述第一会话的会话标识相同。
同样,相对于会话管理网关PGW来说,根据会话标识判断还是原来的会话,不会产生业务中断的现象。
结合第一方面的第一种可能的实现方式,在第一方面的第四种可能的实现方式中,所述方法还包括:
所述信令路由设备接收所述会话管理网关转发的来自所述共享用户的会话建立请求,将所述会话建立请求路由至所述第二计费设备。也就是说,共享业务撤销以后,所述信令路由设备会将共享用户的会话请求转发给该用户本身对应的计费设备。
结合第一方面的第一至第四种可能的实现方式中的任一项,在第一方面的第五种可能的实现方式中,所述撤销条件为:所述主用户与所述共享用户的共享关系解除,或,所述共享配额的剩余量为零,即共享配额已被用完。
第二方面,公开了一种信令路由设备,包括:
接收单元,用于接收共享信息数据;所述共享信息数据指示共享关系信息、主用户的标识与其对应的第一计费设备的对应关系、共享用户的标识与其对应的第二计费设备的对应关系,所述共享关系信息指示主用户与共享用户共享同一配额;
所述接收单元还用于,接收会话管理网关转发的来自所述共享用户的会话建立请求,所述会话建立请求携带所述共享用户的标识;
查询单元,用于查询所述共享信息数据,根据所述共享用户的标识确定所述共享用户对应的计费设备为所述第一计费设备;
发送单元,用于将所述会话建立请求路由至所述第一计费设备,以便所述第一计费设备建立与所述信令路由设备间的第一会话,使得所述主用户与所述共享用户共用共享配额。
现有技术中,存在多个用户对应有多个不同的计费设备,PGW会将各个用户的会话建立请求路由到不同的PCRF上,进而各个用户由不同的PCRF进行计费。这就无法实现由同一计费设备为不同的用户使用配额进行计费,进而也就无法实现主用户和多个共享用户共同使用配额的计费方案,即配额共享。
本发明在现有组网中引入SPS,预先将记录共享业务的相关数据存储在SPS,当SPS接收到PGW转发的某个用户的会话建立请求时,可以查询预先记录的数据确定该用户是否为设置有配额共享业务的用户,若用户设置有配额共享业务,则进一步确定该用户当前会话的计费设备为主用户对应的计费设备,随即将该用户的会话建立请求路由至主用户对应的计费设备,以便主用户对应的计费设备对该用户使用的配额进行计费,实现该用户与主用户共享同一配额的计费方案。
结合第二方面,在第二方面的第一种可能的实现方式中,还包括确定单元,
所述确定单元用于,若确定所述主用户与所述共享用户间的配额共享业务满足撤销条件,则采用所述第二计费设备作为所述共享用户的计费设备。
结合二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,
所述发送单元还用于,向所述第一计费设备发送会话删除消息,使得所述第一计费设备删除所述第一会话;
向所述第二计费设备发送会话建立请求,使得所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识和所述第一会话的会话标识相同。
结合二方面的第一种可能的实现方式,在第二方面的第三种可能的实现方式中,
所述发送单元还用于,向所述会话管理网关发送会话变更信息并向所述第二计费器发送会话建立请求,以便所述第一计费设备删除所述第一会话,所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识和所述第一会话的会话标识相同。
结合二方面的第一种可能的实现方式,在第二方面的第四种可能的实现方式中,
所述接收单元还用于,接收所述会话管理网关转发的来自所述共享用户的会话建立请求;
所述发送单元还用于,将所述会话建立请求路由至所述第二计费设备。
结合二方面的第一至第四种可能的实现方式中的任一种,在第二方面的第五种可能的实现方式中,
所述撤销条件为:所述主用户与所述共享用户的共享关系解除,或,共享配额的剩余量为零。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为现有的会话路由示意图;
图2为本发明实施例提供的通信组网的示意图;
图3为本发明实施例提供的配额共享方法的示意图;
图4为本发明实施例1提供的配额共享方法的流程示意图;
图5为本发明实施例1提供的共享业务撤销时实现会话不中断的方法的流程示意图;
图6为本发明实施例1提供的共享业务撤销时实现会话不中断的另一方法的流程示意图;
图7为本发明实施例2提供的信令路由设备的结构框图;
图8为本发明实施例2提供的信令路由设备的另一结构框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
现有技术当出现不同用户对应不同的PCRF(或OCS)时,组网中的PGW会将不同用户的会话请求路由至不同的PCRF,因此无法实现配额共享业务。具体地,现有的会话路由流程如图1所示,用户A本身对应的是PCRF1,用户B本身对应的是PCRF2,PGW会将用户A的会话请求路由至PCRF1,将用户B的会话请求路由至PCRF2,由于PCRF1、PCRF2之间无法进行通信(如:PCRF1、PCRF2是异厂家),用户A、B就不能通过一个PCRF进行计费,也就无法实现共享同一配额的业务。
本发明提供一种通信组网,如图2所示,包括:会话管理网关、信令路由设备、至少两个不同的计费设备。其中,会话管理网关可以是PGW(PDN GateWay,PDN会话管理网关),用于将用户的请求转发至信令路由设备。信令路由设备可以是SPS(信令业务处理系统(Signaling service Processing System))设备,预先记录有共享业务的相关数据,即本发明所述的共享信息数据。计费设备可以是PCRF。不同于现有技术,本发明提供的通信组网中引入信令路由设备SPS,意在根据用户之间的共享关系,将用户的会话请求进行重定向,以实现配额共享业务。在图2所示的通信组网中,信令路由设备可以将用户的会话建立请求重定向至不是该用户本身对应的计费设备上。示例的,用户A本身对应的是PCRF1,信令路由设备接收会话管理网关转发的用户A的会话建立请求路由至PCRF2。
基于此,本发明实施例提供一种信令路由设备,旨在对用户的会话建立请求进行重定向,以在多个PCRF无法互相通信的场景下,实现多个用户之间的配额共享。
如图3所示,本发明实施例提供的信令路由设备包括:接收器101、发射器102、处理器103以及存储器104。进一步地,参考图3,本发明实施例提供的配额共享方法包括以下步骤:
首先,在用户间的配额共享业务设置后,接收器101会接收到管理员配置的相关数据,即所述共享信息数据。并将所述共享信息数据存储在存储器104中。
这里的共享信息数据指示共享关系信息、主用户的标识与其对应的第一计费设备的对应关系、共享用户的标识与其对应的第二计费设备的对应关系,所述共享关系信息指示主用户与共享用户共享同一配额。举例而言,该共享信息数据可以是“主用户A:PCRF1;共享用户B:PCRF2;共享关系信息:用户A为主用户,用户B为共享用户,二者共享2G流量”。
S1.接收器101接收由会话管理网关(PGW)转发的共享用户的会话建立请求。
具体实现中,会话管理网关(PGW)接收共享用户的会话建立请求,并将该共享用户的会话建立请求转发至所述信令路由设备。在此,会话建立请求会携带该共享用户的标识。当然,会话管理网关接收其他用户(如:主用户或其他共享用户)的会话建立请求,也会将该用户的会话建立请求转发至所述信令路由设备。
S2.处理器103会查询存储器104存储的所述共享信息数据,确定采用所述第一计费设备作为所述共享用户的计费设备。
需要说明的是,根据用户(共享用户)的标识查询共享信息数据,可以确定该用户为共享用户,需要与主用户共享同一配额,因此需要确定所述共享用户对应的计费设备为主用户的PCRF,即所述第一计费设备。具体地,可以根据所述用户的标识查询所述共享信息数据,确定所述用户为共享用户。示例的,承上所述的共享信息数据,信令路由设备首先查询所述共享信息数据,确定用户B设置有配额共享业务且主用户为A,进而确定用户B对应的计费设备为主用户A的计费设备。
S3.发射器102将所述会话建立请求路由至所述第一计费设备,以便所述第一计费设备建立与所述信令路由设备间的第一会话,使得所述主用户与所述共享用户共用共享配额。
在本实施例中,处理器103可以为中央处理器(英文全称:central processing unit,缩写:CPU)。
发射器102可以由光发射器,电发射器,无线发射器或其任意组合实现。例如,光发射器可以是小封装可插拔(英文全称:small form-factor pluggable transceiver,缩写:SFP)发射器(英文全称:transceiver),增强小封装可插拔(英文全称:enhanced small form-factor pluggable,缩写:SFP+)发射器或10吉比特小封装可插拔(英文全称:10Gigabit small form-factor pluggable,缩写:XFP)发射器。电发射器可以是以太网(英文全称:Ethernet)网络接口控制器(英文全称:network interface controller,缩写:NIC)。无线发射器可以是无线网络接口控制器(英文全称:wireless network interface controller,缩写:WNIC)。
接收器101可以由光接收器,电接收器,无线接收器或其任意组合实现。例如,光接收器可以是小封装可插拔接收器,增强小封装可插拔接收器或10吉比特小封装可插拔接收器。电接收器可以是以太网网络接口控制器。无线接收器可以是无线网络接口控制器。
存储器104,用于存储程序代码,并将该程序代码传输给该处理器101,处理器101根据程序代码执行下述指令。存储器104可以包括易失性存储器(英文全称:volatile memory),例如随机存取存储器(英文全称:random-access memory,缩写:RAM);存储器104也可 以包括非易失性存储器(英文全称:non-volatile memory),例如只读存储器(英文全称:read-only memory,缩写:ROM),快闪存储器(英文全称:flash memory),硬盘(英文全称:hard disk drive,缩写:HDD)或固态硬盘(英文全称:solid-state drive,缩写:SSD)。存储器104还可以包括上述种类的存储器的组合。
本发明提供的配额共享方法,预先将记录共享业务的相关数据存储在SPS,当SPS接收到PGW转发的某个用户的会话建立请求时,可以查询预先记录的数据确定该用户是否为设置有配额共享业务的用户,若用户设置有配额共享业务,则进一步确定该用户当前会话的计费设备为主用户对应的计费设备,随即将该用户的会话建立请求路由至主用户对应的计费设备,以便主用户对应的计费设备对该用户使用的配额进行计费,实现该用户与主用户共享同一配额的计费方案。
在本发明的优选实施例中,若共享业务取消,即所述信令路由设备确定所述主用户与所述共享用户间的配额共享业务满足撤销条件,则确定所述共享用户对应的计费设备为所述第一计费设备。这里的撤销条件为:所述主用户与所述共享用户的共享关系解除,或,所述共享配额的剩余量为零,即共享配额已被用完。
也就是说,当共享业务撤销,共享用户则不能继续使用由主用户付费的配额,需要由自己本身的计费设备对其使用的配额进行计费,因此采用该所述共享用户本身对应的计费设备作为共享用户的当前会话的计费设备。需要说明的是,当共享业务撤销,对于SPS来说,会接收到管理员配置的更新共享信息数据,该更新共享信息数据指示共享用户不再与主用户共享同一配额。或者是,SPS监测到共享配额被用完,SPS则自发确定共享用户不再与主用户共享同一配额。
在本发明的另一优选实施例中,为了保证共享业务撤销(切换)时会话不中断,所述信令路由设备向所述第一计费设备发送会话删除消息,使得所述第一计费删除与共享用户之间的当前会话,即所述第一会话。
另外,还会向所述第二计费设备发送会话建立请求,使得所述第二计费设备建立与所述信令路由设备间的第二会话,所述第二会话的会话标识和所述第一会话的会话标识相同。
这样,对于会话管理网关PGW来说,根据会话标识判断还是原来的会话,不会产生业务中断的现象。
或者,为保证共享业务撤销(切换)时会话不中断,所述信令路由设备向所述会话管理网关发送会话变更信息并向所述第二计费器发送会话建立请求,所述会话管理网关接收后向所述第一计费设备发送会话删除消息,第一计费设备器删除所述第一会话。之后,第二计费设备接收会话管理网关发送的会话建立请求,建立所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识和所述第一会话的会话标识相同。
同样,相对于会话管理网关PGW来说,根据会话标识判断还是原来的会话,不会产生业务中断的现象。
另外需要说明的是,所述信令路由设备接收所述会话管理网关转发的来自所述共享用户的会话建立请求,将所述会话建立请求路由至所述第二计费设备。也就是说,共享业务 撤销以后,所述信令路由设备会将共享用户的会话请求转发给该用户本身对应的计费设备。
实施例1:
本发明实施例提供一种配额共享方法,以会话管理网关可为PGW、信令路由设备可以为SPS、用户A对应的是PCRF1、用户B对应的是PCRF2,用户A为主用户为例,参考图4,所述方法包括以下步骤:
101、PGW接收用户B的会话建立请求,并将用户B的会话建立请求转发至所述SPS。
其中,所述会话建立请求可以是Gx-CCRi消息。该会话建立请求携带该用户B的标识,如:B。
当然,PGW接收到任何用户的会话建立请求,都是会将其会话建立请求转发至SPS的。
在此之前,在用户间的配额共享业务设置后,SPS会接收相关数据,即共享信息数据。这里的共享信息数据指示共享关系信息、主用户的标识与其对应的计费设备的对应关系、共享用户的标识与其对应的计费设备的对应关系,所述共享关系信息指示主用户与共享用户共享同一配额。
举例而言,该共享信息数据可以是“主用户A:PCRF1;共享用户B:PCRF2;用户A为主用户,用户B为共享用户,二者共享2G流量”。
102、所述SPS接收用户B的会话建立请求,根据用户B的标识确定采用PCRF1作为用户B的计费设备。
其中,用户A为主用户,那么PCRF1即本发明所述的第一计费设备。用户B本身对应的计费设备PCRF2,即为本发明所述的第二计费设备。
具体实现中,所述SPS会根据用户B的标识查询所述共享信息数据,确定所述共享用户配置有配额共享业务,需要与主用户共享同一配额,因此需要确定为该共享用户计费的计费设备,即对应的主用户的PCRF。具体地,可以所述主计费设备为所述主用户对应的计费设备。
示例的,承上所述的共享信息数据,SPS首先查询所述共享信息数据,确定用户B设置有配额共享业务,进而确定主用户A的计费设备PCRF1为所述共享用户B的当前会话对应的计费设备。
103、所述SPS将所述会话建立请求路由至PCRF1。
104、PCRF1建立与所述SPS间的第一会话,使得所述用户B与用户A共用共享配额。
这样,响应用户B的会话请求建立的PCRF1建立与所述SPS间的第一会话,能够使得PCRF1为用户B的会话进行计费管理,实现用户B与主用户间的配额共享。
现有技术中,存在多个用户对应有多个不同的计费设备,PGW会将各个用户的会话建立请求路由到不同的PCRF上,进而各个用户由不同的PCRF进行计费。这就无法实现由同一计费设备为不同的用户使用配额进行计费,进而也就无法实现主用户和多个共享用户共同使用配额的计费方案,即配额共享。
本发明在现有组网中引入SPS,预先将记录共享业务的相关数据存储在SPS,当SPS接收到PGW转发的某个用户的会话建立请求时,可以查询预先记录的数据确定该用户是否为设置有配额共享业务的用户,若用户设置有配额共享业务,则进一步确定该用户当前会话的计费设备为主用户对应的计费设备,随即将该用户的会话建立请求路由至主用户对应的计费设备,以便主用户对应的计费设备对该用户使用的配额进行计费,实现该用户与主用户共享同一配额的计费方案。
在本发明的优选实施例中,若共享业务取消,即所述信令路由设备确定所述主用户与所述共享用户间的配额共享业务满足撤销条件,则确定所述共享对应的计费设备为第二计费设备,即所述共享用户本身对应的计费设备。
其中,所述撤销条件为:所述主用户与所述共享用户的共享关系解除,或,所述共享配额的剩余量为零,即共享配额已被用完。
示例的,当主用户A、共享用户B的共享关系解除,或共享配额被用完,SPS则确定用户B对应的计费设备为其本身的计费设备PCRF2。
也就是说,当共享业务撤销,共享用户则不能继续使用由主用户付费的配额,需要由自己本身的计费设备对其使用的配额进行计费,因此需要采用所述共享用户本身对应的计费设备作为该共享用户的当前会话的计费设备。
进一步地,所述信令路由设备接收所述会话管理网关转发的来自所述共享用户的会话建立请求,将所述会话建立请求路由至所述共享用户对应的计费设备。也就是说,共享业务撤销以后,所述信令路由设备会将该用户的会话请求转发给其本身的计费设备。
另外,当共享业务撤销时,为保证业务不中断,参考图5,所述方法还包括:
201、所述SPS向所述PCRF1发送会话删除消息。
其中,所述会话删除消息可以是Gx-CCRt消息。当然,该会话删除消息携带第一会话的会话标识,使得PCRF1可以将该会话标识对应的会话删除。
也就是说,若共享用户与主用户的计费设备(PCRF1)建立会话连接,与主用户共享同一配额,当共享用户与主用户间的共享业务撤销时,共享用户不能继续与主用户共享同一配额,因此,首先需要向主用户的计费设备发送会话删除消息,指示主用户的计费设备删除与共享用户之间的会话。
202、所述PCRF1删除所述第一会话。
其中,所述第一会话即所述PCRF1与共享用户(用户B)之间的当前会话。
203、SPS向所述用户B对应的PCRF2发送会话建立请求。
其中,会话建立请求可以是Gx-CCRi消息。需要说明的是,该会话建立请求需要携带第一会话的会话标识,以便在共享业务撤消后,共享用户本身的计费设备(PCRF2)能够建立与第一会话相同的会话,使得共享用户的业务不会中断。
当共享业务撤销,共享用户则不能继续使用由主用户付费的配额,需要由自己本身的 计费设备对其使用的配额进行计费,因此需要将共享用户的当前会话对应的计费设备为所述共享用户对应的计费设备。
204、所述用户B对应的PCRF2建立与所述SPS间的第二会话,所述第二会话的会话标识和所述第一会话的会话标识相同。
这样,相对于PGW来说,根据会话标识判断还是原来的会话,不会产生业务中断的现象。
或者,当共享业务撤销时,为保证业务不中断,参考图6,所述方法还包括:
301、SPS向PGW发送会话变更信息。
这里的会话变更消息可以是特殊的通知消息,如:RAR。
302、PGW接收后向PCRF1发送会话删除消息。
同样,当然,该会话删除消息携带第一会话的会话标识,使得PCRF1可以将该会话标识对应的会话删除。
303、PCRF1删除所述第一会话。
304、PGW向所述用户B对应的计费器PCRF2发送会话建立请求。
需要说明的是,该会话建立请求需要携带第一会话的会话标识,以便在共享业务撤消后,共享用户本身的计费设备(PCRF2)能够建立与第一会话相同的会话,使得共享用户的业务不会中断。
305、PCRF2建立所述共享用户对应的计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识和所述第一会话的会话标识相同。
同样,相对于PGW来说,根据会话标识判断还是原来的会话,不会产生业务中断的现象。
本发明提供的配额共享方法,预先将记录共享业务的相关数据存储在SPS,当SPS接收到PGW转发的某个用户的会话建立请求时,可以查询预先记录的数据确定该用户是否为设置有配额共享业务的用户,若用户设置有配额共享业务,则进一步确定该用户当前会话的计费设备为主用户对应的计费设备,随即将该用户的会话建立请求路由至主用户对应的计费设备,以便主用户对应的计费设备对该用户使用的配额进行计费,实现该用户与主用户共享同一配额的计费方案。
另外,在共享关系撤销时,还可以进行信令交互,删除共享用户与主用户的计费设备间的会话,建立共享用户与其本身的计费设备间的会话,且使用相同的会话标识,使得会话不中断。
实施例2:
本发明实施例提供一种信令路由设备,如图7所示,所述信令路由设备包括:接收单元401、查询单元402以及发送单元403。
所述接收单元401,用于接收会话管理网关转发的来自所述共享用户的会话建立请求,所述会话建立请求携带所述共享用户的标识。
当然,接收单元401还用于,接收共享信息数据;所述共享信息数据指示共享关系信息、主用户的标识与其对应的第一计费设备的对应关系、共享用户的标识与其对应的第二计费设备的对应关系,所述共享关系信息指示主用户与共享用户共享同一配额。
查询单元402,用于查询预存储的共享信息数据,根据所述共享用户的标识确定采用所述第一计费设备作为所述共享用户的计费设备。
发送单元403,用于将所述会话建立请求路由至所述第一计费设备,以便所述第一计费设备建立与所述信令路由设备间的第一会话,使得所述主用户与所述共享用户共用共享配额。
如图8所示,所述信令路由设备还包括确定单元404。
所述确定单元404用于,若确定所述主用户与所述共享用户间的配额共享业务满足撤销条件,则采用所述第二计费设备作为所述共享用户的计费设备为。
所述发送单元403还用于,向所述第一计费设备发送会话删除消息,使得所述第一计费设备删除所述第一会话;
向所述第二计费设备发送会话建立请求,使得所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识和所述第一会话的会话标识相同。
所述发送单元403还用于,向所述会话管理网关发送会话变更信息并向所述第二计费器发送会话建立请求,以便所述第一计费设备删除所述第一会话,所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识和所述第一会话的会话标识相同。
所述接收单元401还用于,接收所述会话管理网关转发的来自所述共享用户的会话建立请求。
所述发送单元403还用于,将所述会话建立请求路由至所述第二计费设备。
需要说明的是,所述撤销条件为:所述主用户与所述共享用户的共享关系解除,或,共享配额的剩余量为零。
本发明提供的信令路由设备,预先记录了共享业务的相关数据,当接收到PGW转发的某个用户的会话建立请求时,可以查询预先记录的数据确定该用户是否为设置有配额共享业务的用户,若用户设置有配额共享业务,则进一步确定该用户当前会话的计费设备为主用户对应的计费设备,随即将该用户的会话建立请求路由至主用户对应的计费设备,以便主用户对应的计费设备对该用户使用的配额进行计费,实现该用户与主用户共享同一配额的计费方案。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述 功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (12)

  1. 一种配额共享方法,其特征在于,包括:
    信令路由设备接收会话管理网关转发的来自所述共享用户的会话建立请求,所述会话建立请求携带所述共享用户的标识;
    所述信令路由设备根据所述共享用户的标识查询预存储的共享信息数据,确定采用第一计费设备作为所述共享用户的计费设备;所述共享信息数据指示共享关系信息、主用户的标识与其对应的第一计费设备的对应关系、共享用户的标识与其对应的第二计费设备的对应关系,所述共享关系信息指示主用户与共享用户共享同一配额;
    所述信令路由设备将所述会话建立请求路由至所述第一计费设备,以便所述第一计费设备建立与所述信令路由设备间的第一会话,使得所述主用户与所述共享用户共用共享配额。
  2. 根据权利要求1所述的方法,其特征在于,
    若所述信令路由设备确定所述主用户与所述共享用户间的配额共享业务满足撤销条件,则采用第二计费设备作为所述共享用户的计费设备。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    所述信令路由设备向所述第一计费设备发送会话删除消息,使得所述第一计费设备删除所述第一会话;
    向所述第二计费设备发送会话建立请求,使得所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话和第一会话的会话标识相同。
  4. 根据权利要求2所述的方法,其特征在于,
    所述信令路由设备向所述会话管理网关发送会话变更信息并向所述第二计费器发送会话建立请求,以便所述第一计费设备删除所述第一会话,所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识和所述第一会话的会话标识相同。
  5. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    所述信令路由设备接收所述会话管理网关转发的来自所述共享用户的会话建立请求,将所述会话建立请求路由至所述第二计费设备。
  6. 根据权利要求2-5任一项所述的方法,其特征在于,所述撤销条件为:所述主用户与所述共享用户的共享关系解除,或,共享配额的剩余量为零。
  7. 一种信令路由设备,其特征在于,包括:
    接收单元,用于接收会话管理网关转发的来自所述共享用户的会话建立请求,所述会话建立请求携带所述共享用户的标识;
    查询单元,用于根据所述共享用户的标识查询预存储的共享信息数据,确定采用所述第一计费设备作为所述共享用户的计费设备;所述共享信息数据指示共享关系信息、主用户的标识与其对应的第一计费设备的对应关系、共享用户的标识与其对应的第二计费设备的对应 关系,所述共享关系信息指示主用户与共享用户共享同一配额;
    发送单元,用于将所述会话建立请求路由至所述第一计费设备,以便所述第一计费设备建立与所述信令路由设备间的第一会话,使得所述主用户与所述共享用户共用共享配额。
  8. 根据权利要求7所述的信令路由设备,其特征在于,还包括确定单元,
    所述确定单元用于,若确定所述主用户与所述共享用户间的配额共享业务满足撤销条件,则采用所述第二计费设备作为所述共享用户的计费设备。
  9. 根据权利要求8所述的信令路由设备,其特征在于,
    所述发送单元还用于,向所述第一计费设备发送会话删除消息,使得所述第一计费设备删除所述第一会话;
    向所述第二计费设备发送会话建立请求,使得所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识和所述第一会话的会话标识相同。
  10. 根据权利要求8所述的信令路由设备,其特征在于,所述发送单元还用于,向所述会话管理网关发送会话变更信息并向所述第二计费器发送会话建立请求,以便所述第一计费设备删除所述第一会话,所述第二计费设备建立与所述信令路由设备间的第二会话;所述第二会话的会话标识和所述第一会话的会话标识相同。
  11. 根据权利要求8所述的信令路由设备,其特征在于,
    所述接收单元还用于,接收所述会话管理网关转发的来自所述共享用户的会话建立请求;
    所述发送单元还用于,将所述会话建立请求路由至所述第二计费设备。
  12. 根据权利要求8-11任一项所述的信令路由设备,其特征在于,所述撤销条件为:所述主用户与所述共享用户的共享关系解除,或,共享配额的剩余量为零。
PCT/CN2017/078586 2016-04-25 2017-03-29 一种配额共享方法及信令路由设备 WO2017185940A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP17788593.6A EP3393154A4 (en) 2016-04-25 2017-03-29 Quota sharing method and signaling route device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610263752.6A CN107306316A (zh) 2016-04-25 2016-04-25 一种配额共享方法及信令路由设备
CN201610263752.6 2016-04-25

Publications (1)

Publication Number Publication Date
WO2017185940A1 true WO2017185940A1 (zh) 2017-11-02

Family

ID=60150580

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078586 WO2017185940A1 (zh) 2016-04-25 2017-03-29 一种配额共享方法及信令路由设备

Country Status (3)

Country Link
EP (1) EP3393154A4 (zh)
CN (1) CN107306316A (zh)
WO (1) WO2017185940A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075894A (zh) * 2009-11-25 2011-05-25 中兴通讯股份有限公司 策略和计费规则功能实体的选择方法及系统
CN102148689A (zh) * 2010-02-09 2011-08-10 中兴通讯股份有限公司 策略和计费规则功能实体的选择方法、装置及系统
CN102843668A (zh) * 2012-06-28 2012-12-26 北京得实达康系统集成有限公司 一种实现多个移动终端卡共享流量的方法和系统
US8897747B2 (en) * 2008-06-05 2014-11-25 Bridgewater Systems Corp. Long-term evolution (LTE) policy control and charging rules function (PCRF) selection

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011020498A1 (en) * 2009-08-18 2011-02-24 Telefonaktiebolaget Lm Ericsson (Publ) Method, apparatus and computer program for enforcing policy across associated sessions taking into account a total usage quota for associated user
CN103945356B (zh) * 2013-01-22 2018-03-27 华为技术有限公司 一种进行策略决策的方法、计费设备和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8897747B2 (en) * 2008-06-05 2014-11-25 Bridgewater Systems Corp. Long-term evolution (LTE) policy control and charging rules function (PCRF) selection
CN102075894A (zh) * 2009-11-25 2011-05-25 中兴通讯股份有限公司 策略和计费规则功能实体的选择方法及系统
CN102148689A (zh) * 2010-02-09 2011-08-10 中兴通讯股份有限公司 策略和计费规则功能实体的选择方法、装置及系统
CN102843668A (zh) * 2012-06-28 2012-12-26 北京得实达康系统集成有限公司 一种实现多个移动终端卡共享流量的方法和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3393154A4 *

Also Published As

Publication number Publication date
EP3393154A4 (en) 2019-01-02
EP3393154A1 (en) 2018-10-24
CN107306316A (zh) 2017-10-31

Similar Documents

Publication Publication Date Title
EP3890240B1 (en) User plane function method, user plane function entity, computer program and system
US8799440B2 (en) Policy and charging control method and system for multi-PDN connections of single APN
US8326263B2 (en) Method for selecting policy and charging rules function
EP2522102B1 (en) Method, system, and computer readable medium for policy charging and rules function (pcrf) node selection
US9019890B2 (en) Method for selecting a policy and charging rules function server on a non-roaming scene
WO2011097911A1 (zh) 策略和计费规则功能实体的选择方法、装置及系统
WO2013097193A1 (zh) 确定策略和计费规则功能实体的方法、装置和系统
JP5412695B2 (ja) モバイル仮想プライベートネットワーク通信のための方法、装置およびシステム
US20100281170A1 (en) Method for selecting a policy and charging rules function entity in the non-roaming scenario
JP7128340B2 (ja) 課金方法、装置およびシステム
WO2010015133A1 (zh) Dra中的会话信息的删除方法
WO2012126423A2 (zh) 控制业务传输的方法和装置
WO2013104234A1 (zh) 一种融合网络中策略控制方法及系统
WO2015033580A1 (ja) 通信装置、制御装置、通信方法、制御方法およびプログラム
US9521077B2 (en) Network connection via a proxy device using a generic access point name
WO2010034195A1 (zh) 用户设备ip地址提供方法、diameter 路由代理
WO2012003760A1 (zh) 信息传递方法和系统
WO2015169044A1 (zh) 一种漫游场景下的会话绑定方法、裝置和系统
WO2011134327A1 (zh) 确定策略和计费规则功能的方法及系统
US20120290713A1 (en) Mid-session change support in usage monitoring
WO2016062025A1 (zh) 一种策略和计费规则功能的选择方法及装置
KR102367707B1 (ko) 다중 경로 구축 방법 및 장치
WO2012010036A1 (zh) 一种策略控制方法及系统
WO2017185940A1 (zh) 一种配额共享方法及信令路由设备
WO2011020419A1 (zh) 控制pcrf实体负载均衡的实现方法、系统及dra

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2017788593

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017788593

Country of ref document: EP

Effective date: 20180720

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

Ref document number: 17788593

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE