CN108809665A - A kind of shared method and relevant device for authorizing quota - Google Patents

A kind of shared method and relevant device for authorizing quota Download PDF

Info

Publication number
CN108809665A
CN108809665A CN201710282055.XA CN201710282055A CN108809665A CN 108809665 A CN108809665 A CN 108809665A CN 201710282055 A CN201710282055 A CN 201710282055A CN 108809665 A CN108809665 A CN 108809665A
Authority
CN
China
Prior art keywords
rate group
business
quota
mark
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710282055.XA
Other languages
Chinese (zh)
Other versions
CN108809665B (en
Inventor
罗向荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710282055.XA priority Critical patent/CN108809665B/en
Priority to PCT/CN2018/078382 priority patent/WO2018196490A1/en
Publication of CN108809665A publication Critical patent/CN108809665A/en
Application granted granted Critical
Publication of CN108809665B publication Critical patent/CN108809665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/1485Tariff-related aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • 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/64On-line charging system [OCS]
    • 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
    • H04M15/7652Linked or grouped accounts, e.g. of users or devices shared by users
    • 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/7655Linked or grouped accounts, e.g. of users or devices shared by technologies
    • 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
    • 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/8235Access based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Abstract

This application discloses a kind of shared methods for authorizing quota, including:OCS receives the first quota request of the first business that data service gateway is sent by the first session, the mark for the first rate group for including according to the first quota request determines target session from authorisation session, using the corresponding resource pool of target session as shared resource pond, include the first quota response of the mark of target session and the mark in shared resource pond to the transmission of data service gateway, the response of the first quota is used to indicate the resource that data service gateway provides shared resource pond for the first business.The application also provides a kind of terminal, OCS and the data Service Gateway of the method that above-mentioned shared mandate quota may be implemented.The application is capable of providing the flexibility for authorizing allocation of quota, can improve the utilization rate of resource.

Description

A kind of shared method and relevant device for authorizing quota
Technical field
This application involves the communications field more particularly to a kind of shared methods and relevant device for authorizing quota.
Background technology
With the development of the communication technology, data service is used widely in real life, is carried out to data service real When letter control and charging become important topic.When video is such as surfed the Internet, downloads or seen to a user terminal (using multiple data services Deng), it can be between data service gateway and online charging system (Online Charging System, OCS) to each business Create a Gy session.Gy sessions are the chargeable sessions of the conversation modes based on diameter (diameter) agreement, are mainly used for pair The flow that user's online generates carries out charging, authorizes and deduct fees.
In existing online charging flow, share authorize quota method approximately as:Terminal, which initiates the first business, asks After asking, PGW sends credit control request (Credit Control Request, CCR) initial message, OCS roots to OCS According to CCR initial message establishing first resources pond, the mark in first resource pond is then sent to PGW, is the first industry by PGW Business provides the resource in first resource pond.Next, other business of the terminal-pair access, by taking the second business as an example, OCS can sentence Whether disconnected second business and the first business share same Gy sessions, if so, judging the charging regulation of the rate group of the second business It is whether identical with the charging regulation of the rate group of the first business, if identical, the resource in first resource pond is provided for the second business. In this way, OCS can give the resource allocation in first resource pond to the first business and the second business, resource-sharing is realized.
But the above method only shares the shared quota in the same Gy sessions.For the difference of same user Quota between Gy sessions can not be shared, and the quota between the different Gy sessions of different user can not also be shared.If user's One Gy session occupies whole quotas, and the quota of other Gy sessions is insufficient, then causing other Gy sessions that can not use.It can See, this quota allotment approach is unreasonable, is unfavorable for effective use of quota.
Invention content
The application provides a kind of shared method and relevant device for authorizing quota, can improve the utilization rate of resource.
First aspect provides a kind of shared method for authorizing quota, including:OCS receives data service gateway and passes through the first meeting Talk about the first quota request of the first business sent, the mark of the first rate group for including according to the first quota request is from having authorized Target session is determined in session, using the corresponding resource pool of target session as shared resource pond, is then sent out to data service gateway The first quota is sent to respond.Wherein, the response of the first quota includes the mark of the mark and shared resource pond of target session, the first quota Response is used to indicate the resource that data service gateway provides shared resource pond for the business of the first sessions carry.
Implement according to this, it, can be total to meeting by the resource allocation of a resource pool when same user accesses multiple business The different business for enjoying quota condition improves the utilization rate of resource.
In a kind of possible realization method of first aspect, OCS is according to the mark of the first rate group from authorisation session Determine that target session is specially:OCS determines target rate according to the mark of the first rate group from the rate group of authorisation session Group determines target session according to target rate group.
In the alternatively possible realization method of first aspect, receiving what data service gateway was sent by the first session Before first quota request of the first business, OCS receives the of the second business that data service gateway is sent by the second session Two quota requests create first resource pond according to the second quota request;Then OCS according to the mark of the first rate group from having authorized meeting Target rate group is determined in the rate group of words, target session is determined according to target rate group, by the corresponding resource pool of target session It is specifically as follows as shared resource pond:When the charging regulation of the charging regulation of the first rate group and the second rate group is identical, OCS determines that the second rate group is target rate group, determines that the second session is target session according to the second rate group, by the second session As target session, using first resource pond as shared resource pond.Wherein, the second quota request includes the mark of the second rate group Know, the first business and the access service that the second business is same terminal.
Implement according to this, it, can be by the resource of a resource pool when same user accesses multiple business by different sessions The different business with identical charging regulation is distributed to, the utilization rate of resource is improved.
In the alternatively possible realization method of first aspect, the first of OCS reception data service gateway transmissions, which deducts fees, asks It asks, first, which deducts fees, asks to include the mark of the first rate group and the use portfolio of the first business;According to the mark of the first rate group Know and use the portfolio of the first business is deducted fees, deducts fees response to data service gateway transmission first.Implement according to this, in the first industry It, can be according to the mark of the first rate group and the use of the first business in the case that the use portfolio of business comes from shared resource pond Portfolio deducts fees to the first business.
In the alternatively possible realization method of first aspect, receives data service gateway in OCS and sent out by the first session Before first quota request of the first business sent, OCS receives the third business that data service gateway is sent by third session Third quota request, Secondary resource pond is created according to third quota request;Then OCS according to the mark of the first rate group from having awarded It weighs and determines target rate group in the rate group of session, target session is determined according to target rate group, by the corresponding money of target session Source pond is specifically as follows as shared resource pond:When the flow account of the first rate group and the flow account of third rate group are identical When, OCS determines that third session is target session using third rate group as target rate group, according to third rate group, by second Resource pool is as shared resource pond.Wherein, third quota request includes the mark of third rate group, the first business and third business For the access service of different terminals.
Implement according to this, it, can be to the multiple of same traffic account in the case where multiple users access multiple business Business, which provides, shares quota, realizes that quota is shared in multiple user's multiple business.
In the alternatively possible realization method of first aspect, the second of OCS reception data service gateway transmissions, which deducts fees, asks It asks, second, which deducts fees, asks to include the mark of the first rate group and the use portfolio of the first business;According to the mark of the first rate group Know and use the portfolio of the first business is deducted fees, deducts fees response to data service gateway transmission second.Implement according to this, in the first industry It, can be according to the mark of the first rate group and the use of the first business in the case that the use portfolio of business comes from shared resource pond Portfolio deducts fees to the first business.
Second aspect provides a kind of shared method for authorizing quota, including:Data service gateway receives first terminal and sends The first service request, the first business is determined according to the first service request, is taken using the corresponding rate group of the first business as first Rate group creates the first session, sends the first quota request of the first business to online charging system OCS by the first session;So Afterwards, data service gateway receives the first quota response that OCS is sent, and the response of the first quota includes the mark and target of target session The mark of resource pool;Shared resource pond is determined according to the mark of the mark of target session and objective resource pool, is carried for the first business For the resource in shared resource pond.Wherein, the first quota request includes the mark of the first rate group, and the mark of target session is corresponding Target session is different from the first session.
Implement according to this, when same user accesses multiple business, the different business for meeting shared quota condition can be carried For sharing quota, the utilization rate of resource is improved.
In a kind of possible realization method of second aspect, the first industry that first terminal is sent is received in data service gateway Before business request, data service gateway receives the second service request that first terminal is sent;Data service gateway is according to the second industry Business request determines the second business, using the corresponding rate group of the second business as the second rate group, creates the second session, passes through second Session sends the second quota request to OCS.Wherein, the second quota request includes the mark of the second rate group, the first business and Two business are the access service of same terminal.
Implement according to this, when same user accesses multiple business, the different business with identical charging regulation can be carried For sharing quota, the utilization rate of resource is improved.
In the alternatively possible realization method of second aspect, data service gateway sends first to OCS and deducts fees request, connects OCS is sent first is received to deduct fees response.Wherein, first deduct fees request include the first rate group mark and the use of the first business Portfolio.Implement according to this, it, can be according to the first rate in the case where the use portfolio of the first business comes from shared resource pond The mark of group and the use portfolio of the first business, deduct fees to the first business.
In the alternatively possible realization method of second aspect, first that first terminal is sent is received in data service gateway Before service request, data service gateway receives the third service request that second terminal is sent, and is determined according to third service request Third business creates third session using the corresponding rate group of third business as third rate group, by third session to OCS Send third quota request.Wherein, third quota request includes the mark of third rate group, and the first business and third business are not With the access service of terminal.
Implement according to this, it, can be to the multiple of same traffic account in the case where multiple users access multiple business Business, which provides, shares quota, realizes that quota is shared in multiple user's multiple business.
In the alternatively possible realization method of second aspect, data service gateway sends second to OCS and deducts fees request, connects OCS is sent second is received to deduct fees response.Wherein, second deduct fees request include the first rate group mark and the use of the first business Portfolio.Implement according to this, it, can be according to the first rate in the case where the use portfolio of the first business comes from shared resource pond The mark of group and the use portfolio of the first business, deduct fees to the first business.
The third aspect provides a kind of OCS, and the function of OCS in the shared mandate quota method of first aspect may be implemented.It should Function can also execute corresponding software realization by hardware realization by hardware.
Fourth aspect provides a kind of data service gateway, and data in the shared mandate quota method of second aspect may be implemented The function of Service Gateway.The function can also execute corresponding software realization by hardware realization by hardware.
The another aspect of the application provides a kind of computer readable storage medium, in the computer readable storage medium It is stored with instruction, when run on a computer so that computer executes the method described in above-mentioned various aspects.
The another aspect of the application provides a kind of computer program product including instruction, when it runs on computers When so that computer executes the method described in above-mentioned various aspects.
In this application, when data service gateway receives the first of the first business that first terminal is sent by the first session After service request, the first quota request of the mark for including the first rate group is sent to OCS, OCS is according to the mark of the first rate group Know and determine target session from authorisation session, using the corresponding resource pool of target session as shared resource pond;OCS is to data industry Gateway the first quota of transmission of being engaged in responds, and data service gateway responds the mark for the target session for including according to the first quota and shares The mark of resource pool determines shared resource pond, and the resource in shared resource pond is provided for the first business.It can be seen that the application can be with Business by the resource allocation of a resource pool to different sessions uses, and can improve the utilization rate of resource.
Description of the drawings
Fig. 1 is a configuration diagram of the communication system that the shared mandate quota method of the application is applied;
Fig. 2 is a shared schematic diagram of the quota of the application;
Fig. 3 is a flow diagram of the shared mandate quota method of the application;
Fig. 4 is another flow diagram of the shared mandate quota method of the application;
Fig. 5 is another flow diagram of the shared mandate quota method of the application;
Fig. 6 is another flow diagram of the shared mandate quota method of the application;
Fig. 7 is a structural schematic diagram of the OCS of the application;
Fig. 8 is a structural schematic diagram of the data service gateway of the application;
Fig. 9 is a structural schematic diagram of the OCS of the application;
Figure 10 is a structural schematic diagram of the data service gateway of the application.
Specific implementation mode
Fig. 1 is a schematic diagram of the shared communication system for authorizing quota method to apply provided by the present application.The communication system System includes application server, home signature user server (Home Subscriber Server, HSS), Call-Establish-Success rate Function (Call Session Control Function, CSCF), is drilled at core network (Evolved Packet Core, EPC) Into type base station (evolved Node B, eNB), terminal and OCS.
Wherein, OCS is the charge system for participating in communication course control, and data are used for real-time credit control, pre-payment Business and real time charging value added business etc..OCS is separately connected application server and EPC, and Ro is between application server and OCS Reference point, Gy are the reference points between PGW and OCS, and Sy is the reference point between OCS and PCRF.Work as terminal originating service request Afterwards, service request establishes service connection by SGW, PGW, CSCF and application server.After PGW receives service request, notice OCS, OCS carry out online charging by Gy sessions to the business.
Application server (Application Server, AS) between CSCF by protocol interaction, it is various to realize The triggering and execution of network service.Application server can be but not limited to converged communication (Rich Communication Suite, RCS) application server or mediaphone (Multi Media Telephony, MMtel) application server.
HSS is connect with S-CSCF/I-CSCF, application server respectively, is used for the authentication and mandate of user, is provided use The function of family physical location.
CSCF includes S-CSCF, I-CSCF and P-CSCF.
Wherein, I-CSCF is the entrance of IMS home network.In registration process, I-CSCF is user by inquiring HSS Select a S-CSCF.
S-CSCF can receive the registration request forwarded by P-CSCF from visited network, coordinate with HSS and carry out user Authentication.S-CSCF can also carry out routing management for user's caller and callee side, provide multimedia service.
P-CSCF is the entrance of IMS visited network, is responsible for using with the access relevant subscription authentication of network, network security The Roaming control etc. at family.The function of P-CSCF can also by session-orient E-Service unit (Session Border Control, SBC it) realizes.
EPC includes mobile management entity (Mobility Management Entity, MME), gateway (Serving Gateway, SGW), PDN Gateway (PDN Gateway, PGW), Policy and Charging Rules Function (Policy and Charging Rules Function, PCRF).
Wherein, MME is separately connected SGW and eNB, is responsible for the functions such as signaling processing, mobility control, bearer management.
SGW also writes S-GW, is separately connected eNB, PGW and MME.SGW is responsible for forwarding user data.
PGW also writes P-GW, is separately connected the session management and carrying control of PCRF, OCS, P-CSCF for providing user The functions such as system, data forwarding, IP address distribution.
PCRF is used for strategy and charging control to user data.PCRF is connect with application server and OCS respectively, and Rx is The reference point of application server and PCRF, reference points of the Gy between PGW and OCS.
Based on above-mentioned communication system, the application provides a kind of shared method for authorizing quota, can be between different sessions Shared quota, improves the utilization rate of resource.It introduces in detail below:
Referring to Fig. 3, one embodiment of the method for shared mandate quota provided by the present application includes:
Step 301, first terminal send the first service request to data service gateway.
In the present embodiment, terminal sends the first service request to data service gateway, to access the first business.
Data service gateway can be PGW or Gateway GPRS Support Node (Gateway GPRS support node, GGSN)。
Step 302, data service gateway determine the first business according to the first service request, by the corresponding rate of the first business Group is used as the first rate group, creates the first session.
After data service gateway receives the first service request, the first business is determined according to the first service request, for the One business, data service gateway create the first session.Data service gateway can be closed according to preset business is corresponding with rate System, determines the corresponding rate group of the first business.
Business in the application can be any one business provided by network operator or software operation quotient, such as net Page browsing, video, download, mail, Multimedia session etc..Session in the application refers to online charging session, for business Charging is carried out, such as Gy sessions.
Step 303, data service gateway send the first quota request of the first business by the first session to OCS.
Data service gateway can obtain the mark of the first rate group, and generate the mark for including the first rate group first is matched Volume is asked, and is such as included the CCR initial message or CCR update message of the mark of the first rate group, is then passed through the first meeting First quota request is sent to OCS by words.
Step 304, OCS determine target session according to the mark of the first rate group from authorisation session, by target session Corresponding resource pool is as shared resource pond.
Wherein, authorisation session refers to removing the Gy sessions that connection status is currently at except the first session.
After OCS receives the first quota request that data service gateway is sent, according to the mark of the first rate group, from having awarded The session for being searched in session and meeting and sharing quota condition is weighed, the session for sharing quota condition will be met as target session, by mesh Rotating savings talks about corresponding resource pool as shared resource pond.When target session corresponds to multiple resource pools, OCS can choose at least one A resource pool is objective resource pool, using objective resource pool as shared resource pond.
Step 305, OCS send the response of the first quota to data service gateway.
Wherein, the first quota response is used to indicate the resource that data service gateway provides shared resource pond for the first business. The response of first quota can be specifically Credit Control Answer (Credit Control Answer, CCA) message, including target meeting The mark of the mark and shared resource pond of words.The extension word in custom field or existing field can be arranged in two above mark Duan Zhong, for determining shared resource pond.
Step 306, data service gateway determine shared resource according to the mark of target session and the mark of objective resource pool Pond provides the resource in shared resource pond for the first business.
Wherein, it refers to the resource in resource pool to authorize quota.After data service gateway receives the response of the first quota, from Qi Bao The mark of session identification and objective resource pool is obtained in the specific field included, data service gateway can be according to the mark of target session Know the mark with objective resource pool, determines that the objective resource pool of target session is shared resource pond, provided for the first business shared The resource of resource pool.Can thus the resource allocation of objective resource pool be given to multiple business.
In the present embodiment, if the session authorized meets shared quota condition, OCS can be by the corresponding resource of the session Pond provides the resource in shared resource pond for the first business as shared resource pond so that the different business of different sessions carrying can To share a resource pool.Compared with prior art, the application can provide shared mandate quota for different sessions, can be to use Family provides new rate mode, and can improve the utilization rate for authorizing quota.
In one alternative embodiment of embodiment shown in Fig. 3, after step 303 and before step 304, above-mentioned side Method further includes:OCS is the first traffic assignments mandate quota according to the first quota request, when the mandate quota of the first business is less than pre- If when threshold value, triggering step 304.
In the present embodiment, OCS can be asked according to the first quota request establishing resource pond according to what the first quota request carried Portfolio is sought, mandate quota is provided for the first business.
It can be seen that when business using portfolio when exceeding the mandate quota of the business, OCS is by other sessions Quota shares to the business so that the business can continue to execute, and improve the flexibility for authorizing allocation of quota, can promote use Family uses the experience of business.
Fig. 2 is that the quota of the application shares schematic diagram.One Gy session corresponds to multiple business, such as business A, business B, business C, business D ... business Z etc..Business A and business B does not have corresponding rate group, and the quota of business A and the quota of business B are to match The rate group of volume 1 (quota of such as free account), business C and business D is rate group 1, and the mandate quota of rate group 1 is quota 2, wherein quota 1 and quota 2 are the part of the quota in credit resources pond 1 respectively.The rate group of business Z is rate group n, rate The quota of group n is quota n, and quota n is the part of the quota in credit resources pond 2.For ease of description, the application using resource pool come It describes credit resources pond (credit pool).
Based on embodiment illustrated in fig. 3, in another alternative embodiment, OCS is according to the mark of the first rate group from having awarded Determine that target session is specifically as follows in power session:OCS is according to the mark of the first rate group from the rate group of authorisation session It determines target rate group, target session is determined according to target rate group.
In the present embodiment, after OCS receives the first quota request that data service gateway is sent, according to the first rate group Mark searches the rate group for meeting and sharing quota condition from the rate group of authorisation session, shares quota condition by meeting Rate group is determined as target session as target rate group, by the session for carrying the corresponding business of target rate group.
In previous embodiment, determines that there are many realization methods for target rate group from the rate group of authorisation session, ask Refering to following embodiment:
Referring to Fig. 4, another embodiment of the method for shared mandate quota provided by the present application includes:
Step 401, first terminal send the second service request to data service gateway.
In the present embodiment, first terminal sends the second service request to data service gateway, to access the second business.
Step 402, data service gateway determine the second business according to the second service request, and the rate group of the second business is made For the second rate group, the second session is created.
Step 403, data service gateway send the second quota request of the second business to OCS by the second session.
Data service gateway can obtain the mark of the second rate group, and generate the mark for including the second rate group second is matched Volume is asked, and such as includes the CCR initial message of the mark of the second rate group, then by the second session by the second quota request It is sent to OCS.
For example, the multi-service diameter credit control in CCR initial message can be arranged in the mark of the second rate group In (Multiple services credit control, MSCC) field, such as MSCC (RSU, RG2).Wherein, RSU expressions are asked Portfolio, RG2 is asked to indicate the mark of the second rate group.
Step 404, OCS create first resource pond according to the second quota request.
Step 405, OCS send the response of the second quota to data service gateway.
After creating first resource pond, OCS can be the from first resource pond according to the RSU in the second quota request Two traffic assignments mandate portfolios (Granted service unit, GSU).When data service gateway receives the response of the second quota Afterwards, the GSU for including can be responded according to the second quota and provides mandate quota for the second business.
The response of second quota includes the mark in first resource pond, which can be arranged in MSCC fields.Second quota The MSCC fields of response can be as follows:
MSCC (GSU, RG2, G-S-U-Pool-Reference (Pool-ID 1, Multiplier 1)).
In MSCC fields,
GSU indicates to distribute to the mandate quota of the second business.RG2 is the mark of the second rate group.
In G-S-U-Pool-Reference fields,
Pool-ID indicates that resource pool mark, Pool-ID 1 indicate that resource pool is identified as 1 resource pool.
Multiplier indicates that multiple, Multiplier 1 indicate 1 times.When the value of Multiplier is 1, data service Gateway deducts according to 1 times and authorizes portfolio.When the value of Multiplier is 1/2, data service gateway detects that user uses The resource of 2M deducts 2M*1/2=1M from authorizing in portfolio.
Step 406, first terminal send the first service request to data service gateway.
Step 407, data service gateway determine the first business according to the first service request, by the corresponding rate of the first business Group is used as the first rate group, creates the first session.
Step 408, data service gateway send the first quota request of the first business by the first session to OCS.
Wherein, step 406 is to step 408, and step 301 is similar to step 303 in embodiment as shown in figure 3.
Step 409, when the charging regulation of the charging regulation of the first rate group and the second rate group is identical, OCS is by second Rate group determines that the second session is target session as target rate group, according to the second rate group, using first resource pond as altogether Enjoy resource pool.
After OCS receives the first quota request, inquiry authorisation session, judge in the rate group of authorisation session whether It is identical as the charging regulation of the first rate group that there are the charging regulations of other rate groups.If detecting the charging rule of the first rate group Then identical with the charging regulation of the second rate group, then OCS is using the second rate group as target rate group, due to the second rate group pair The business answered is by the second sessions carry, and OCS is according to the correspondence of the second rate group and the second session, it may be determined that the second meeting Words are target session.It, can be using the corresponding resource pool of target session as shared resource pond after determining target session.
It is specifically as follows using the corresponding resource pool of target session as shared resource pond:By the corresponding resource of target rate group Pond is as shared resource pond.In the present embodiment, the corresponding resource pool of the second rate group (i.e. first resource pond) is used as altogether by OCS Enjoy resource pool.
It should be noted that the first service request and the first quota request also carry user identifier (such as account).In step After rapid 408 and before step 409, OCS can be according to user account to subscription authentication.If authenticating successfully, step is triggered 409.If failed authentication, failed authentication information is returned, or is not responding to the first quota request.
Step 410, OCS send the response of the first quota to data service gateway.
OCS obtains the mark of the second session, and generation includes the first of the mark of the second session and the mark in first resource pond Quota responds.
The response of first quota includes the mark in first resource pond, identified above to be arranged in MSCC fields, such as MSCC (GSU, RG2, G-S-U-Pool-Reference (SessionID 2, Pool-ID 1, Multiplier 1)).
For example, the MSCC fields of the first quota response can be as follows:MSCC (GSU, RG1, Validity-time, G- S-U-Pool-Reference (SessionID 2, Pool-ID 1, Multiplier 1))
Wherein, GSU indicates to distribute to the mandate quota of the first business.RG1 indicates the mark of the first rate group. Validity-time indicates the term of validity of the first quota response.
In G-S-U-Pool-Reference fields,
SessionID indicates that session identification, SessionID 2 indicate that session identification is 2 session.SessionID is G- Extended field in S-U-Pool-Reference fields.
Pool-ID indicates that resource pool mark, Pool-ID 1 indicate that resource pool is identified as 1 resource pool.
Multiplier indicates that multiple, Multiplier 1 indicate 1 times.When the value of Multiplier is 1, data service Gateway deducts according to 1 times and authorizes portfolio.When the value of Multiplier is 1/2, data service gateway detects that user uses The resource of 2M deducts 2M*1/2=1M from authorizing in portfolio.
It is understood that G-S-U-Pool-Reference fields can also include other fields, such as diameter credit control Cell type CC-Unit-Type, cell attribute value Unit-Value etc..
Step 411, data service gateway determine shared resource according to the mark of the second session and the mark in first resource pond Pond provides the resource in shared resource pond for the first business.
After data service gateway receives the response of the first quota, according to the mark of its second session for including and first resource pond Mark, determine the second session first resource pond be shared resource pond, the resource in shared resource pond is provided for the first business.This The second rate group in the first rate group and the second session in the first session of sample pair carries out integral traffic control, so that it may to be provided first The resource allocation in source pond gives the first business and the second business.
When same user accesses a variety of data services, the present embodiment can be the data service with identical charging regulation It provides and shares quota, improve resource utilization.
In one alternate embodiment, after step 411, the above method further includes:Data service gateway is sent to OCS First deducts fees request, first deduct fees request include the first rate group mark and the first business use portfolio;OCS is according to The mark and use the portfolio of the first business of one rate group are deducted fees, and are deducted fees response to data service gateway transmission first.
In the present embodiment, when user's winding-up or user log in when exiting, data service gateway can obtain business Use portfolio (Used service unit, USU).When user terminates the first business, data service gateway generates first It deducts fees request, the first request of deducting fees is sent to OCS.OCS is used according to the rate of the first rate group and the business of the first business Amount, deducts fees to the first business, and after the completion of deducting fees, the first response of deducting fees is sent to data service gateway, data service net It closes to deduct fees to respond according to first and terminates the first session.
Wherein, the first request of deducting fees can be CCR terminal message comprising the mark of the first rate group and first The use portfolio of business.First response of deducting fees can be CCA terminal message.
It is understood that when the business usage amount of the first business comes from shared resource pond, OCS is detained from shared resource pond Except quota corresponding with the business usage amount of the first business.When user stops the second business, terminal is sent out to data service gateway Sending buckle takes request, and OCS can deduct fees to the second business according to the use portfolio of the second business.
For ease of understanding, the shared method for authorizing quota provided by the present application is carried out with a concrete application scene below It is discussed in detail:
OCS preserves the quota information (Session ID, RG, account with power of attorney, rate) of each RG in each online Gy sessions. The rate group of downloading service is RG2, and the corresponding rate group of web-browsing service is RG1, and the rate group of video traffic is RG3.
When user B initiates downloading service, PGW determines that the rate group of downloading service is RG2, creates Gy2.For downloading industry Business, PGW send CCR initial message to OCS, and OCS judges that rate group identical with the charging regulation of RG2, OCS is not present According to CCR initial message establishing Pool_1, the resource allocation of Pool_1 is chosen to downloading service.
When user B initiates web-browsing service, PGW determines that the corresponding rate group of web-browsing service is RG1, creates Gy1.For web-browsing service, PGW sends CCR update message to OCS, and CCR update message includes RG1.OCS compares The charging regulation of RG1 and the charging regulation of RG2, if charging regulation is identical, OCS by CCA message, by the mark of Gy2 and The mark of Pool_1 is sent to PGW, and PGW identifies that the resource pool of RG1 and RG2 is Pool_1, then monitors the downloading service of Gy2 With the web-browsing service of Gy1, the quota of Pool_1 is shared.
Below to determining that the another way of target rate group is introduced from the rate group of authorisation session, please refer to Following embodiment:
Referring to Fig. 5, another embodiment of the method for shared mandate quota provided by the present application includes:
Step 501, second terminal send third service request to data service gateway.
Step 502, data service gateway determine third business according to third service request, and the rate group of third business is made For third rate group, third session is created.
Step 503, data service gateway send the third quota request of third business to OCS by third session.Third Quota request includes the mark of third rate group, is indicated with RG3.
Step 504, OCS create Secondary resource pond according to third quota request.
Step 505, OCS send the response of third quota to data service gateway.
Specifically, the OCS that step 501 to step 505 describes, which is second terminal, executes diameter credit control flow, with step 401 The OCS described to step 405 is that first terminal execution diameter credit control flow is similar.
Step 506, first terminal send the first service request to data service gateway.
Step 507, data service gateway determine the first business according to the first service request, and the rate group of the first business is made For the first rate group, the first session is created.
Step 508, data service gateway send the first quota request of the first business to OCS by the first session.
Specifically, step 506 is to step 508, step 301 is similar to step 303 in embodiment as shown in figure 3.
Step 509, when the corresponding flow account of the first rate group flow account corresponding with third rate group is identical, OCS determines that third session is target session using third rate group as target rate group, according to third rate group, by Secondary resource Pond is as shared resource pond.
Specifically, after OCS receives the first quota request, authorisation session is inquired, judges whether deposited in authorisation session It is identical in the flow account of other rate groups and the flow account of the first rate group.If detecting third rate group and the first rate Group shares the flow account of a group, then OCS is using third rate group as target rate group, since third rate group is corresponding Business is by third sessions carry, and OCS is according to the correspondence of third rate group and third session, it may be determined that third session is mesh Rotating savings is talked about.It, can be using the corresponding resource pool of target session as shared resource pond after determining target session.
It is specifically as follows using the corresponding resource pool of target session as shared resource pond:By the corresponding resource of target rate group Pond is as shared resource pond.In the present embodiment, the corresponding resource pool of third rate group (i.e. Secondary resource pond) is used as altogether by OCS Enjoy resource pool.Wherein, the flow account of group can be but not limited to the free flow account of group.
Step 510, OCS send the response of the first quota to data service gateway.
OCS obtains the mark of third session, and generation includes the first of the mark of third session and the mark in Secondary resource pond Quota responds.
Step 511, data service gateway determine shared resource according to the mark of third session and the mark in Secondary resource pond Pond provides the resource in shared resource pond for the first business.
After data service gateway receives the response of the first quota, according to the mark of its third session for including and information resources pond Mark, determine third session Secondary resource pond be shared resource pond, the resource in shared resource pond is provided for the first business.This Third rate group in the first rate group and third session in the first session of sample pair carries out integral traffic control, so that it may to be provided second The resource allocation in source pond gives the first business and third business.
In the present embodiment, when multiple users access a variety of data services, if a variety of data services correspond to same flow account Family then can provide shared quota for multiple data services, and quota is authorized to realize that user group is shared.
It should be noted that when the use portfolio of the user A of user group is more than to authorize quota, if its of user group Quota is not run out in the resource pool of his user, then can user A be distributed to the remaining quota of other users.It can be seen that New quota sharing method is present embodiments provided, the flexibility of allocation of quota can be improved.
In one alternate embodiment, after step 511, the above method further includes:Data service gateway is sent to OCS First deducts fees request, first deduct fees request include the first rate group mark and the first business use portfolio;OCS is according to The mark and use the portfolio of the first business of one rate group are deducted fees, and are deducted fees response to data service gateway transmission first.This reality It is similar to the alternative embodiment of embodiment illustrated in fig. 4 to apply example, details are not described herein again.
For ease of understanding, the shared method for authorizing quota provided by the present application is carried out with a concrete application scene below It is discussed in detail:
OCS preserves the quota information (Session ID, RG, account with power of attorney, rate) of each RG in each online Gy sessions. The corresponding rate group of web-browsing service is RG1, and the rate group of downloading service is RG2, and the rate group of video traffic is RG3.
When user A initiates video traffic, PGW determines that the rate group of video traffic is RG3, creates Gy3.For video industry Business, PGW send CCR initial message to OCS, and OCS judges that rate group identical with the charging regulation of RG3, OCS is not present According to CCR initial message establishing Pool_2, the resource allocation of Pool_2 is chosen to video traffic.
When user B initiates web-browsing service, PGW determines that the corresponding rate group of web-browsing service is RG1, creates Gy1.For web-browsing service, PGW sends CCR update message to OCS, and CCR update message includes RG1.OCS compares The flow account of RG1 and the flow account of RG3, if flow account is identical, OCS by CCA message, by the mark of Gy3 and The mark of Pool_2 is sent to PGW, and PGW identifies that the resource pool of RG1 and RG3 is Pool_2, then monitors the video traffic of Gy3 With the web-browsing service of Gy1, the quota of Pool_2 is shared.
Below to determining that the another way of target rate group is introduced from the rate group of authorisation session, please refer to Following embodiment:
Referring to Fig. 6, one embodiment of the method for shared mandate quota provided by the present application includes:
Step 601, second terminal send third service request to data service gateway.
Step 602, data service gateway determine third business according to third service request, and the rate group of third business is made For third rate group, third session is created.
Step 603, data service gateway send the third quota request of third business to OCS by third session.
Step 604, OCS create Secondary resource pond according to third quota request.
Step 605, OCS send the response of third quota to data service gateway.
Specifically, step 601 is to step 605, it is similar to step 505 to step 501.
Step 606, first terminal send the second service request to data service gateway.
Step 607, data service gateway determine the second business according to the second service request, by the corresponding rate of the second business Group is used as the second rate group, creates the second session.
Step 608, data service gateway send the second quota request of the second business to OCS by the second session.
Step 609, when the flow account of the first rate group is identical with the flow account of third rate group, OCS is by third Rate group is as target rate group, using Secondary resource pond as shared resource pond.
Step 610, OCS send the response of the second quota to data service gateway.
Specifically, step 606 is similar to step 405 to step 401 to step 610.
Step 611, data service gateway determine shared resource according to the mark of third session and the mark in Secondary resource pond Pond provides the resource in shared resource pond for the second business.
Step 612, first terminal send the first service request to data service gateway.
Step 613, data service gateway determine the first business according to the first service request, and the rate group of the first business is made For the first rate group, the first session is created.
Step 614, data service gateway send the first quota request of the first business to OCS by the first session.
Step 615, when the flow account of the first rate group is identical with the flow account of third rate group, OCS is by third Rate group is as target rate group, using Secondary resource pond as shared resource pond.
Step 616, OCS send the response of the first quota to data service gateway.
Step 617, data service gateway determine shared resource according to the mark of third session and the mark in Secondary resource pond Pond provides the resource in shared resource pond for the first business.
Specifically, step 612 is to step 617, it is similar to step 511 to step 506.
In the case where multiple user's access services and certain customers access multiple business simultaneously, accessed as multiple users When multiple business correspond to same flow account, the present embodiment can provide shared quota for above-mentioned multiple business, to realize use The family multiple business of group are shared to authorize quota.
It should be noted that when the use portfolio of the user A of user group is more than to authorize quota, if its of user group Quota is not run out in the resource pool of his user, then can user A be distributed to the remaining quota of other users.It can be seen that New quota sharing method is present embodiments provided, the flexibility of allocation of quota can be improved.
It is understood that after OCS establishing resources pond, when OCS receives new quota request, if new quota is asked The rate group of carrying is asked to meet the condition of sharing, the resource pool that OCS can create first is follow-up industry as shared resource pond Business provides quota.
For ease of understanding, the shared method for authorizing quota provided by the present application is carried out with a concrete application scene below It is discussed in detail:
OCS preserves the quota information (Session ID, RG, account with power of attorney, rate) of each RG in each online Gy sessions. The corresponding rate group of web-browsing service is RG1, and the rate group of downloading service is RG2, and the rate group of video traffic is RG3.
When user A initiates video traffic, PGW determines that the rate group of video traffic is RG3, creates Gy3.For video industry Business, PGW send CCR initial message to OCS, and OCS judges that rate group identical with the charging regulation of RG3, OCS is not present According to CCR initial message establishing Pool_3, the resource allocation of Pool_3 is chosen to video traffic.
When user B initiates downloading service, PGW determines that the rate group of downloading service is RG2, creates Gy2.For downloading industry Business, PGW send CCR update message to OCS, and CCR update message includes RG2.OCS compares the flow account and RG3 of RG2 Flow account, if flow account is identical, the mark of the mark of Gy3 and Pool_3 is sent to by CCA message by OCS PGW, PGW identify that the resource pool of RG2 and RG3 is Pool_3, then monitor the video traffic of Gy3 and the downloading service of Gy2, altogether Enjoy the quota of Pool_3.
When user B initiates web-browsing service, PGW determines that the corresponding rate group of web-browsing service is RG1, creates Gy1.For web-browsing service, PGW sends update message to OCS, and CCR update message includes RG1.OCS compares RG1 Flow account and RG3 flow account, if flow account is identical, OCS is by CCA message, by the mark and Pool_3 of Gy3 Mark be sent to PGW, PGW identifies that the resource pool of RG1 and RG3 is Pool_3, then monitors the video traffic and Gy1 of Gy3 Web-browsing service, share Pool_3 quota.
Referring to Fig. 7, the application provides a kind of OCS700, the function of OCS in Fig. 3 to embodiment illustrated in fig. 6 can be realized. OCS700 includes:
Receiving module 701, the first quota for receiving the first business that data service gateway is sent by the first session Request, the first quota request includes the mark of the first rate group;
Processing module 702, for determining that target is taken from the rate group of authorisation session according to the mark of the first rate group Rate group, using the corresponding resource pool of target rate group as shared resource pond;
Processing module 702 is additionally operable to determine the corresponding target session of target rate group;
Sending module 703, for sending the response of the first quota to data service gateway, the response of the first quota includes target meeting The mark of the mark and shared resource pond of words, the first quota response be used to indicate data service gateway provided for the first business it is shared The resource of resource pool.
In one alternate embodiment,
Receiving module 701 is additionally operable to receive first that data service gateway is sent by the first session in receiving module 701 Before first quota request of business, the second quota request of the second business that data service gateway is sent, the second quota are received Request includes the mark of the second rate group;
Processing module 702 is additionally operable to create first resource pond according to the second quota request;
Processing module 702, for determining that target is taken from the rate group of authorisation session according to the mark of the first rate group Rate group is specially using the corresponding resource pool of target rate group as shared resource pond:Processing module 702 is specifically used for when first When the charging regulation of rate group and the identical charging regulation of the second rate group, using the second rate group as target rate group, by One resource pool is as shared resource pond.
In another alternative embodiment,
Receiving module 701 is additionally operable to receive data service gateway is sent first and deduct fees request, and the first request of deducting fees includes The mark of first rate group and the use portfolio of the first business;
Processing module 702 is additionally operable to be deducted fees according to the mark of the first rate group and the use portfolio of the first business;
Sending module 703 is additionally operable to send first to data service gateway and deduct fees response.
In another alternative embodiment,
Receiving module 701 is additionally operable to receive first matching for the first business that data service gateway is sent in receiving module 701 Before volume request, the third quota request for the third business that data service gateway is sent is received, third quota request includes third The mark of rate group;
Processing module 702 is additionally operable to create Secondary resource pond according to third quota request, by the resource in Secondary resource pond point The corresponding third rate group of mark of dispensing third rate group;
Processing module 702, for determining that target is taken from the rate group of authorisation session according to the mark of the first rate group Rate group is specially using the corresponding resource pool of target rate group as shared resource pond:Processing module 703 is specifically used for when first When the flow account of rate group is identical with the flow account of third rate group, using third rate group as target rate group, by Two resource pools are as shared resource pond.
In another alternative embodiment,
Receiving module 701 is additionally operable to receive data service gateway is sent second and deduct fees request, and the second request of deducting fees includes The mark of first rate group and the use portfolio of the first business;
Processing module 702 is additionally operable to be deducted fees according to the mark of the first rate group and the use portfolio of the first business;
Sending module 703 is additionally operable to send second to data service gateway and deduct fees response.
Referring to Fig. 8, the application also provides a kind of data service gateway 800, Fig. 3 can be realized to embodiment illustrated in fig. 6 Or in alternative embodiment data service gateway function.Data service gateway 800 includes:
Receiving module 801, the first service request for receiving first terminal transmission;
Processing module 802 makees the corresponding rate group of the first business for determining the first business according to the first service request For the first rate group, the first session is created;
Sending module 803, for sending the first quota request to OCS, the first quota request includes the mark of the first rate group Know;
Receiving module 801 is additionally operable to receive the first quota response that OCS is sent, and the response of the first quota includes target session Mark and objective resource pool mark, the corresponding target session of mark of target session is different from the first session;
Processing module 802 is additionally operable to identify determining shared resource pond according to the mark and objective resource pool of target session, is First business provides the resource in shared resource pond.
In one alternate embodiment,
Receiving module 801 is additionally operable to before the first service request that receiving module 801 receives that first terminal is sent, connects Receive the second service request that first terminal is sent;
Processing module 802 is additionally operable to determine the second business according to the second service request, by the corresponding rate group of the second business As the second rate group, the second session is created;
Sending module 802 is additionally operable to send the second quota request to OCS, and the second quota request includes the second rate group Mark.
In another alternative embodiment,
Sending module 802 is additionally operable to send first to OCS and deduct fees request, and first, which deducts fees, asks to include the first rate group The use portfolio of mark and the first business;
Receiving module 801 is additionally operable to receive OCS is sent first and deduct fees response.
In another alternative embodiment,
Receiving module 801 is additionally operable to before the first service request that receiving module 801 receives that first terminal is sent, connects Receive the third service request that second terminal is sent;
Processing module 802 is additionally operable to determine third business according to third service request, by the corresponding rate group of third business As third rate group, third session is created;
Sending module 802 is additionally operable to send third quota request to OCS, and third quota request includes third rate group Mark.
In another alternative embodiment,
Sending module 802 is additionally operable to send second to OCS and deduct fees request, and second, which deducts fees, asks to include the first rate group The use portfolio of mark and the first business;
Receiving module 801 is additionally operable to receive OCS is sent second and deduct fees response.
Fig. 9 is a kind of structural schematic diagram of server provided by the present application, and the step of being executed by OCS in above-described embodiment can Based on server architecture shown in Fig. 9.
Server 900 may include processor 910, memory 920, storage medium 930 and network interface 950.Processor 910, the quantity of memory 920, storage medium 930 and network interface 950 can be one or more.
Processor 910 can be a single core processor, can also be a multi-core processor.Here processor can be with Refer to one or more equipment, circuit, and/or the process cores for handling data (such as computer program instructions).Processor 910 It can be a processor, can also be the general designation of multiple processing elements.For example, processor 910 can be a general purpose central Processor (Central Processing Unit, CPU), can also be application-specific integrated circuit (application- Specific integrated circuit, ASIC), or one or more collection for controlling the execution of application scheme program At circuit, such as:One or more microprocessors (digital signal processor, DSP), or, one or more Field programmable gate array (Field Programmable Gate Array, FPGA).
Memory 920 can be read-only memory (read-only memory, ROM) or can store with storage medium 930 The other kinds of static storage device of static information and instruction, random access memory (random access memory, RAM) or the other kinds of dynamic memory of information and instruction can be stored, can also be the read-only storage of electric erazable programmable Device (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, swash Optical disc, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can use In carry or storage with instruction or data structure form desired program code and can by computer access it is any its His medium, but not limited to this.Storage medium 930 can be individually present, and be connected with processor 910 by bus.Storage is situated between Matter 930 can also be integrated with processor 910.
Storage medium 930 can store an operating system 941, data 942 or application program 943.Operating system 941 can be Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..Application program 943 may include with The method and step that OCS is executed in upper embodiment.
Network interface 950 can be wired network interface or radio network interface, use the dress of any transceiver one kind It sets, for being communicated with other equipment.
It is understood that server 900 can also include at least one input/output interface 960 and at least one power supply 970。
Wherein, by the operational order for calling storage medium 930 to store, processor 910 is for executing following method:
Receive the first quota request of the first business that data service gateway is sent by the first session, the first quota request Include the mark of the first rate group;
Target session is determined from authorisation session according to the mark of the first rate group, by the corresponding resource pool of target session As shared resource pond;
The response of the first quota is sent to data service gateway, the response of the first quota includes the mark of target session and shared money The mark in source pond, the response of the first quota are used to indicate the resource that data service gateway provides shared resource pond for the first business.
In one alternate embodiment, processor 910 is specifically used for determining target rate according to the mark of the first rate group Group determines target session according to target rate group.
In another alternative embodiment, the of the first business that data service gateway is sent by the first session is being received Before one quota request, processor 910 is additionally operable to receive the of the second business that data service gateway is sent by the second session Two quota requests create first resource pond according to the second quota request;When the charging regulation and the second rate group of the first rate group Charging regulation it is identical when, using the second rate group as target rate group, determine that the second session is target according to the second rate group Session, using first resource pond as shared resource pond.Wherein, the second quota request includes the mark of the second rate group.
In another alternative embodiment, processor 910, which is additionally operable to receive data service gateway is sent first, deducts fees and asks It asks, is deducted fees according to the use portfolio of the mark of the first rate group and the first business, sending first to data service gateway deducts fees Response.First, which deducts fees, asks to include the mark of the first rate group and the use portfolio of the first business.
In another alternative embodiment, receive data service gateway send the first business the first quota request it Before, processor 910 is additionally operable to receive the third quota request for the third business that data service gateway is sent by third session, root Secondary resource pond is created according to third quota request;When the flow account of the first rate group and the flow account of third rate group are identical When, using third rate group as target rate group, determine that third session is target session according to third rate group, by Secondary resource Pond is as shared resource pond.Wherein, third quota request includes the mark of third rate group.
In another alternative embodiment, processor 910, which is additionally operable to receive data service gateway is sent second, deducts fees and asks It asks, is deducted fees according to the use portfolio of the mark of the first rate group and the first business, sending second to data service gateway deducts fees Response.Wherein, second deduct fees request include the first rate group mark and the use portfolio of the first business.
Figure 10 is a kind of structural schematic diagram of data service gateway provided by the present application, by data service in above-described embodiment The step of gateway executes can be based on the data service gateway architecture shown in Fig. 10.
Data service gateway 1000 may include processor 1010, memory 1020, storage medium 1030 and network interface 1050.Processor 1010, memory 1020, storage medium 1030 and network interface 1050 quantity can be one or more.
Processor 1010 can be a single core processor, can also be a multi-core processor.Here processor can To refer to one or more equipment, circuit, and/or process cores for handling data (such as computer program instructions).Processor 1010 can be a processor, can also be the general designation of multiple processing elements.For example, processor 1010 can be a CPU, Can also be ASIC, or one or more integrated circuits for controlling the execution of application scheme program, such as:It is one or more DSP, or, one or more FPGA.
Memory 1020 and storage medium 1030 can be ROM, RAM or can store the other kinds of of information and instruction Dynamic memory can also be EEPROM, CD-ROM or other optical disc storages, optical disc storage (including compression optical disc, laser Dish, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in Carry or storage with instruction or data structure form desired program code and can by computer access any other Medium.Storage medium 1030 can be individually present, and be connected with processor 1010 by bus.Storage medium 1030 can also It is integrated with processor 1010.
Storage medium 1030 can store an operating system 1041, data 1042 or application program 1043.Operating system 1041 Can be Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..Application program 1043 can be with The method and step executed including data service gateway in above example.
Network interface 1050 can be wired network interface or radio network interface, use the dress of any transceiver one kind It sets, for being communicated with other equipment.
It is understood that server 1000 can also include at least one input/output interface 1060 and at least one electricity Source 1070.
Wherein, by the operational order for calling storage medium 1030 to store, processor 1010 is for executing following method:
Receive the first service request that first terminal is sent;
The first business is determined according to the first service request, using the corresponding rate group of the first business as the first rate group, wound Build the first session;
The first quota request is sent to online charging system OCS, the first quota request includes the mark of the first rate group;
The first quota response that OCS is sent is received, the response of the first quota includes the mark and objective resource pool of target session Mark, the corresponding target session of mark of target session is different from the first session;
Shared resource pond is determined according to the mark of the mark of target session and objective resource pool, is provided for the first business shared The resource of resource pool.
In another alternative embodiment, before receiving the first service request that first terminal is sent, processor 1022 It is additionally operable to receive the second service request that first terminal is sent, the second business is determined according to the second service request, by the second business Corresponding rate group creates the second session as the second rate group, and the second quota request is sent to OCS.Wherein, the second quota is asked Seek the mark for including the second rate group.
In another alternative embodiment, processor 1022, which is additionally operable to send first to OCS, deducts fees request, receives OCS and sends out First sent is deducted fees response.Wherein, first deduct fees request include the first rate group mark and the use portfolio of the first business.
In another alternative embodiment, before receiving the first service request that first terminal is sent, processor 1022 It is additionally operable to receive the third service request that second terminal is sent, third business is determined according to third service request, by third business Corresponding rate group creates third session as third rate group, and third quota request is sent to OCS.Wherein, third quota is asked Seek the mark for including third rate group.
In another alternative embodiment, processor 1022, which is additionally operable to send second to OCS, deducts fees request, receives OCS and sends out Second sent is deducted fees response.Wherein, second deduct fees request include the first rate group mark and the use portfolio of the first business.
Term " first ", " second ", " third " in the description and claims of this application and above-mentioned attached drawing, " Four " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so that the embodiments described herein can be in addition to illustrating or describing herein Sequence other than appearance is implemented.In addition, term " comprising " or " having " and its any deformation, it is intended that cover non-exclusive packet Contain, for example, containing what the process of series of steps or unit, method, system, product or equipment were not necessarily limited to clearly to list Those steps or unit, but may include not listing clearly or intrinsic for these processes, method, product or equipment Other steps or unit.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to the flow or function described in the embodiment of the present invention.The computer can To be all-purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line) or wireless (such as infrared, wireless, microwave) mode to another web-site, Computer, server or data center are transmitted.The computer readable storage medium, which can be computer, to be stored Any usable medium is either comprising data storage devices such as one or more usable mediums integrated server, data centers. The usable medium can be magnetic medium, and (for example, floppy disk, hard disk, tape), optical medium (such as DVD) or semiconductor are situated between Matter (such as solid state disk (Solid State Disk, SSD)) etc..
Above example is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to the foregoing embodiments The application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each implementation Technical solution recorded in example is modified or equivalent replacement of some of the technical features;And these modification or It replaces, the range of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (22)

1. a kind of shared method for authorizing quota, which is characterized in that including:
Online charging system OCS receives the first quota request of the first business that data service gateway is sent by the first session, First quota request includes the mark of the first rate group;
The OCS determines target session according to the mark of first rate group from authorisation session, by the target session Corresponding resource pool is as shared resource pond;
The OCS sends the response of the first quota to the data service gateway, and the first quota response includes the target meeting The mark of words and the mark in the shared resource pond, it is described first that the response of the first quota, which is used to indicate the data service gateway, Business provides the resource in the shared resource pond.
2. according to the method described in claim 1, it is characterized in that, the OCS according to the mark of first rate group from Determine that target session includes in authorisation session:
The OCS determines target rate group according to the mark of first rate group from the rate group of authorisation session, according to The target rate group determines target session.
3. according to the method described in claim 2, it is characterized in that, receiving data service gateway in the OCS passes through the first meeting Before the first quota request for talking about the first business sent, the method further includes:
The OCS receives the second quota request of the second business that the data service gateway is sent by the second session, described Second quota request includes the mark of the second rate group;
The OCS creates first resource pond according to second quota request;
Then the OCS determines target rate group, root according to the mark of first rate group from the rate group of authorisation session Target session is determined according to the target rate group, includes using the corresponding resource pool of the target session as shared resource pond:
When the charging regulation of first rate group is identical with the charging regulation of second rate group, the OCS will be described Second rate group determines that second session is target session as target rate group, according to second rate group, will be described First resource pond is as shared resource pond.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
The OCS receives the data service gateway is sent first and deducts fees request, and described first, which deducts fees, asks to include described the The mark of one rate group and the use portfolio of first business;
The OCS deducts fees according to the mark of first rate group and the use portfolio of first business, to the data Service Gateway sends first and deducts fees response.
5. according to the method described in claim 2, it is characterized in that, receiving data service gateway in the OCS passes through the first meeting Before the first quota request for talking about the first business sent, the method further includes:
The OCS receives the third quota request for the third business that the data service gateway is sent by third session, described Third quota request includes the mark of third rate group;
The OCS creates Secondary resource pond according to the third quota request;
Then the OCS determines target rate group, root according to the mark of first rate group from the rate group of authorisation session Target session is determined according to the target rate group, includes as shared resource pond using the corresponding resource pool of the target rate group:
When the flow account of first rate group is identical with the flow account of the third rate group, the OCS will be described Third rate group determines that the third session is target session as target rate group, according to the third rate group, will be described Secondary resource pond is as shared resource pond.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
The OCS receives the data service gateway is sent second and deducts fees request, and described second, which deducts fees, asks to include described the The mark of one rate group and the use portfolio of first business;
The OCS deducts fees according to the mark of first rate group and the use portfolio of first business, to the data Service Gateway sends second and deducts fees response.
7. a kind of shared method for authorizing quota, which is characterized in that including:
Data service gateway receives the first service request that first terminal is sent;
The data service gateway determines the first business according to first service request, by the corresponding rate of first business Group is used as the first rate group, creates the first session;
The data service gateway is matched by first that first session sends first business to online charging system OCS Volume is asked, and first quota request includes the mark of first rate group;
The data service gateway receives the first quota response that the OCS is sent, and the first quota response includes target meeting The mark of words and the mark of objective resource pool, the corresponding target session of mark of the target session and first session are not Together;
The data service gateway determines shared resource according to the mark of the target session and the mark of the objective resource pool Pond provides the resource in the shared resource pond for first business.
8. the method according to the description of claim 7 is characterized in that receiving what first terminal was sent in the data service gateway Before first service request, the method further includes:
The data service gateway receives the second service request that the first terminal is sent;
The data service gateway determines the second business according to second service request, by the corresponding rate of second business Group is used as the second rate group, creates the second session;
The data service gateway sends the second quota request by second session to the OCS, and second quota is asked Seek the mark for including second rate group.
9. according to the method described in claim 8, it is characterized in that, the method further includes:
The data service gateway sends first to the OCS and deducts fees request, and described first, which deducts fees, asks to include first expense The mark of rate group and the use portfolio of first business;
The data service gateway receives the OCS is sent first and deducts fees response.
10. being sent the method according to the description of claim 7 is characterized in that receiving first terminal in the data service gateway The first service request before, the method further includes:
The data service gateway receives the third service request that second terminal is sent;
The data service gateway determines third business according to the third service request, by the corresponding rate of the third business Group is used as third rate group, creates third session;
The data service gateway sends third quota request by the third session to the OCS, and the third quota is asked Seek the mark for including the third rate group.
11. according to the method described in claim 10, it is characterized in that, the method further includes:
The data service gateway sends second to the OCS and deducts fees request, and described second, which deducts fees, asks to include first expense The mark of rate group and the use portfolio of first business;
The data service gateway receives the OCS is sent second and deducts fees response.
12. a kind of online charging system OCS, which is characterized in that including:
Receiving module, the first quota request for receiving the first business that data service gateway is sent by the first session, institute State the mark that the first quota request includes the first rate group;
Processing module, for determining target session from authorisation session according to the mark of first rate group, by the mesh Rotating savings talks about corresponding resource pool as shared resource pond;
Sending module, for sending the response of the first quota to the data service gateway, the first quota response includes described The mark of target session and the mark in the shared resource pond, the response of the first quota are used to indicate the data service gateway as institute State the resource that the first business provides the shared resource pond.
13. OCS according to claim 12, which is characterized in that the processing module is specifically used for taking according to described first The mark of rate group determines target rate group, and target session is determined according to the target rate group.
14. OCS according to claim 13, which is characterized in that
The receiving module is additionally operable to receive the first industry that data service gateway is sent by the first session in the receiving module Before first quota request of business, the second quota of the second business that the data service gateway is sent by the second session is received Request, second quota request includes the mark of the second rate group;
The processing module is additionally operable to create first resource pond according to second quota request;
The processing module is specifically used for the charging regulation when the charging regulation and second rate group of first rate group When identical, using second rate group as target rate group, determine that second session is mesh according to second rate group Rotating savings is talked about, using the first resource pond as shared resource pond.
15. OCS according to claim 14, which is characterized in that
The receiving module is additionally operable to receive the data service gateway is sent first and deducts fees request, and described first, which deducts fees, asks Seek the use portfolio of mark and first business including first rate group;
The processing module is additionally operable to according to the mark of first rate group and the use portfolio button of first business Take;
The sending module is additionally operable to send first to the data service gateway and deduct fees response.
16. OCS according to claim 13, which is characterized in that
The receiving module is additionally operable to receive the first industry that data service gateway is sent by third session in the receiving module Before first quota request of business, the third quota request for the third business that the data service gateway is sent is received, described the Three quota requests include the mark of third rate group;
The processing module is additionally operable to create Secondary resource pond according to the third quota request;
The processing module is specifically used for the flow account when the flow account and the third rate group of first rate group When identical, using the third rate group as target rate group, determine that the third session is mesh according to the third rate group Rotating savings is talked about, using the Secondary resource pond as shared resource pond.
17. OCS according to claim 16, which is characterized in that
The receiving module is additionally operable to receive the data service gateway is sent second and deducts fees request, and described second, which deducts fees, asks Seek the use portfolio of mark and first business including first rate group;
The processing module is additionally operable to according to the mark of first rate group and the use portfolio button of first business Take;
The sending module is additionally operable to send second to the data service gateway and deduct fees response.
18. a kind of data service gateway, which is characterized in that including:
Receiving module, the first service request for receiving first terminal transmission;
Processing module, for determining the first business according to first service request, by the corresponding rate group of first business As the first rate group, the first session is created;
Sending module, for sending the first quota request to online charging system OCS, first quota request includes described the The mark of one rate group;
The receiving module is additionally operable to receive the first quota response that the OCS is sent, and the first quota response includes target The mark of session and the mark of objective resource pool, the corresponding target session of mark of the target session and first session are not Together;
The processing module is additionally operable to determine shared money according to the mark of the target session and the mark of the objective resource pool Source pond provides the resource in the shared resource pond for first business.
19. data service gateway according to claim 18, which is characterized in that
The receiving module is additionally operable to before the first service request that the receiving module receives that first terminal is sent, and is received The second service request that the first terminal is sent;
The processing module is additionally operable to determine the second business according to second service request, and second business is corresponding Rate group creates the second session as the second rate group;
The sending module is additionally operable to send the second quota request to the OCS, and second quota request includes described second The mark of rate group.
20. data service gateway according to claim 19, which is characterized in that
The sending module is additionally operable to send first to the OCS and deduct fees request, and described first, which deducts fees, asks to include described first The mark of rate group and the use portfolio of first business;
The receiving module is additionally operable to receive the OCS is sent first and deducts fees response.
21. data service gateway according to claim 18, which is characterized in that
The receiving module is additionally operable to before the first service request that the receiving module receives that first terminal is sent, and is received The third service request that second terminal is sent;
The processing module is additionally operable to determine third business according to the third service request, and the third business is corresponding Rate group creates third session as third rate group;
The sending module is additionally operable to send third quota request to the OCS, and the third quota request includes the third The mark of rate group.
22. data service gateway according to claim 21, which is characterized in that
The sending module is additionally operable to send second to the OCS and deduct fees request, and described second, which deducts fees, asks to include described first The mark of rate group and the use portfolio of first business;
The receiving module is additionally operable to receive the OCS is sent second and deducts fees response.
CN201710282055.XA 2017-04-26 2017-04-26 Method for sharing authorized quota and related equipment Active CN108809665B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710282055.XA CN108809665B (en) 2017-04-26 2017-04-26 Method for sharing authorized quota and related equipment
PCT/CN2018/078382 WO2018196490A1 (en) 2017-04-26 2018-03-08 Method for sharing authorization quota, and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710282055.XA CN108809665B (en) 2017-04-26 2017-04-26 Method for sharing authorized quota and related equipment

Publications (2)

Publication Number Publication Date
CN108809665A true CN108809665A (en) 2018-11-13
CN108809665B CN108809665B (en) 2020-11-17

Family

ID=63918814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710282055.XA Active CN108809665B (en) 2017-04-26 2017-04-26 Method for sharing authorized quota and related equipment

Country Status (2)

Country Link
CN (1) CN108809665B (en)
WO (1) WO2018196490A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109961275A (en) * 2019-01-16 2019-07-02 海上丝绸之路国际互联网技术开发有限公司 The device systems and method of teleengineering support mobile network access and mobile payment interface
CN114205765A (en) * 2021-12-29 2022-03-18 浪潮通信信息系统有限公司 Method and system for solving abnormal fee deduction of multi-session reservation of OCS (online charging system)

Citations (6)

* 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
CN102144372A (en) * 2008-09-03 2011-08-03 阿尔卡特朗讯美国公司 Online charging correlation in IMS networks
CN103797753A (en) * 2013-06-28 2014-05-14 华为技术有限公司 Credit control method, strategy and charging executive function entity and online charging system
CN103929316A (en) * 2013-01-11 2014-07-16 阿尔卡特朗讯 Communication quota distribution method and corresponding on-line billing system
CN104254061A (en) * 2013-06-28 2014-12-31 阿尔卡特朗讯公司 Method and equipment for strategy and charging control
CN104796876A (en) * 2014-01-17 2015-07-22 华为技术有限公司 OCS (Online Charging System), PCEF (Policy and Charging Enforcement Function), PCRF (Policy and Charging Rules Function) and terminal bandwidth control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8831560B2 (en) * 2010-05-03 2014-09-09 Alcatel Lucent Charging method selection for service data flows based on the data services being requested

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102144372A (en) * 2008-09-03 2011-08-03 阿尔卡特朗讯美国公司 Online charging correlation in IMS networks
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
CN103929316A (en) * 2013-01-11 2014-07-16 阿尔卡特朗讯 Communication quota distribution method and corresponding on-line billing system
CN103797753A (en) * 2013-06-28 2014-05-14 华为技术有限公司 Credit control method, strategy and charging executive function entity and online charging system
CN104254061A (en) * 2013-06-28 2014-12-31 阿尔卡特朗讯公司 Method and equipment for strategy and charging control
CN104796876A (en) * 2014-01-17 2015-07-22 华为技术有限公司 OCS (Online Charging System), PCEF (Policy and Charging Enforcement Function), PCRF (Policy and Charging Rules Function) and terminal bandwidth control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109961275A (en) * 2019-01-16 2019-07-02 海上丝绸之路国际互联网技术开发有限公司 The device systems and method of teleengineering support mobile network access and mobile payment interface
CN114205765A (en) * 2021-12-29 2022-03-18 浪潮通信信息系统有限公司 Method and system for solving abnormal fee deduction of multi-session reservation of OCS (online charging system)

Also Published As

Publication number Publication date
WO2018196490A1 (en) 2018-11-01
CN108809665B (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN103460642B (en) Method and apparatus for controlling the service business in communication network
US9820127B2 (en) Online charging architecture in LTE/EPC communication networks
CN103477587B (en) Method and apparatus for controlling the QOS and/or strategy and charging control of Guest User
EP2671344B1 (en) Method and apparatus for online charging in an ip multimedia subsystem
CN103843374B (en) Integrated strategy and charging control based on SY
JP2009541872A (en) Method, communication system, and collection controller for allowing third party influence on provision of service to user station
KR20060061251A (en) Call control with converged application server logic and gateway logic in ims networks
CN105491176B (en) A kind of method and system for PCRF addressing
EP2466787A1 (en) Dynamic policy-based charging system and method
CN105101136B (en) A kind of charging method of data service, apparatus and system
US20210084172A1 (en) Charging apparatus, method, system, and non-transitory medium
WO2013159794A1 (en) Modifying a quality of a connection between a terminal and an application server
EP3567799B1 (en) Charging methods, apparatuses and system
CN112702180B (en) Policy control method, device and system
CN108809665A (en) A kind of shared method and relevant device for authorizing quota
WO2017084394A1 (en) Roaming charging method, relevant apparatus, and online charging system
CN109547956A (en) A kind of multi-service concurrent processing method
CN109040991A (en) The method and apparatus of wireless communication
CN109417683B (en) Core network online charging control for intermediate network traffic steering
CN109039663A (en) A kind of association charging method, message accounting and system
US11363149B2 (en) Method and apparatus for providing a communication service in a communication network using preallocated usage units
WO2015142229A1 (en) Method and apparatus for control of communication services
EP2590359B1 (en) Method, system, charging equipment, and account balance management center for free resources processing
CN108271153A (en) A kind of methods, devices and systems for realizing user equipment authority identification
WO2015005840A1 (en) Method and apparatus for controlling service traffic in a communication network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant