Method and device for optimizing the metering and use of data by a mobile terminal
10587759 ยท 2020-03-10
Assignee
Inventors
Cpc classification
H04W88/06
ELECTRICITY
H04M15/85
ELECTRICITY
H04M15/46
ELECTRICITY
International classification
H04M15/00
ELECTRICITY
H04L12/14
ELECTRICITY
Abstract
One embodiment relates to a method for sharing consumption of an electronic communication service by a mobile terminal, a session for consuming the service being established initially between the terminal and a gateway between the mobile network and a packet-switched network, remaining credit for consuming the service being attributed initially to the terminal. The terminal periodically requests authorisation to consume a predetermined quota of the remaining credit. A request to track the credit of the terminal is received and a message, intended for launching a credit request for the terminal is transmitted to the gateway. A credit request message for the terminal including information relating to a portion of the predetermined quota consumed by the terminal is received from the gateway. The remaining credit is updated accordingly. A response to track the credit of the terminal for the service, including the updated value of the remaining credit is transmitted.
Claims
1. A method for sharing the consumption of an electronic communication service by a mobile terminal connected to a mobile network, a session for consuming said service being established initially between the terminal and a gateway between the mobile network and a packet-switched network, a remaining credit for consuming said service being assigned initially to the terminal, the terminal periodically requesting authorization to consume a predetermined quota of the remaining credit, the method comprising: receiving a credit request message from the gateway, relating to the terminal, the message containing information relating to a part of the predetermined quota consumed by the terminal; transmitting credit answer message to the gateway, relating to the terminal, containing an authorization for the terminal to consume the predetermined credit quota; updating the remaining credit according to the information; wherein said transmission of a credit answer message relating to the terminal is deferred until the following acts are carried out, in which the terminal is associated with at least one other terminal having its own nonallocated remaining credit: detecting a remaining credit less than the predetermined quota for the terminal; transmitting, to a gateway associated with the at least one other terminal, a message intended to trigger a credit request relating to the at least one other terminal; receiving a credit request message relating to the at least one other terminal, the message containing information relating to a part of another predetermined quota consumed by the at least one other terminal; updating the remaining credit for the at least one other terminal according to the information, and, if the remaining credit for the at least one other terminal is greater than or equal to a predetermined threshold: sharing the remaining credit for the at least one other terminal, between the terminal and the at least one other terminal.
2. The sharing method of claim 1, wherein the message to the gateway, intended to trigger a credit request relating to the terminal, is a Diameter Re-Authentication Request (RAR) message.
3. The sharing method of claim 1, wherein the credit request message from the gateway, relating to the terminal, is a Diameter Credit Control Request (CCR) message.
4. The sharing method of claim 3, wherein the transmission of a Credit Control Answer (CCA) message in response to the reception of a corresponding Credit Control Request (CCR) message is deferred at least until another CCR message is received.
5. The sharing method of claim 1, wherein the credit answer message to the gateway, relating to the terminal, is a Diameter Credit Control Answer (CCA) message.
6. The sharing method of claim 5, wherein the transmission of a Credit Control Answer (CCA) message in response to the reception of a corresponding Credit Control Request (CCR) message is deferred at least until another CCR message is received.
7. A device comprising a processor, said device being configured to share the consumption of an electronic communication service by a mobile terminal attached to a mobile network, a session for consuming said service being established initially between the terminal and a gateway between the mobile network and a packet-switched network, a remaining credit for consuming said service being assigned initially to the terminal, the terminal periodically requesting authorization to consume a predetermined quota of the remaining credit, the terminal being associated with at least one other terminal having its own nonallocated remaining credit, wherein the processor is configured to: transmit a message to the gateway, intended to trigger a credit request relating to the terminal; receive a credit request message from the gateway, relating to the terminal, the message containing information relating to a part of the predetermined quota consumed by the terminal; update the remaining credit for the terminal according to the information; verify a remaining credit, intended to verify that a remaining credit for the at least one other terminal is greater than or equal to a predetermined threshold; share a remaining credit for the at least one other terminal with the terminal, if the remaining credit for the at least one other terminal has been verified to be greater than or equal to a predetermined threshold; and transmit a credit answer message relating to the terminal, the message containing an authorization for the terminal to consume the predetermined quota, if the remaining credit for the at least one other terminal has been shared with the terminal.
8. A computer program, containing instructions for implementing the steps of the method for sharing the consumption of an electronic communication service by a mobile terminal attached to a mobile network, as claimed in claim 1, when this method is executed by a processor non-transitory computer readable medium having stored thereon instructions, which when executed by a processor, cause the computer to perform a method for sharing the consumption of an electronic communication service by a mobile terminal connected to a mobile network, a session for consuming said service being established initially between the terminal and a gateway between the mobile network and a packet-switched network, a remaining credit for consuming said service being assigned initially to the terminal, the terminal periodically requesting authorization to consume a predetermined quota of the remaining credit, the method comprising: receiving a credit request message from the gateway, relating to the terminal, the message containing information relating to a part of the predetermined quota consumed by the terminal; transmitting credit answer message to the gateway, relating to the terminal, containing an authorization for the terminal to consume the predetermined quota; updating the remaining credit according to the information; wherein said transmission of a credit answer message relating to the terminal is deferred until the following acts are carried out, in which the terminal is associated with at least one other terminal having its own nonallocated remaining credit: detecting a remaining credit less than the predetermined quota; transmitting, to a gateway associated with the at least one other terminal, a message intended to trigger a credit request relating to the at least one other terminal; receiving a credit request message relating to the at least one other terminal, the message containing information relating to a part of another predetermined quota consumed by the at least one other terminal; updating the remaining credit for the at least one other terminal according to the information, and, if the remaining credit for the at least one other terminal is greater than or equal to a predetermined threshold: sharing the remaining credit for the at least one other terminal, between the terminal and the at least one other terminal.
Description
4. DESCRIPTION OF THE DRAWINGS
(1) Other advantages and features of the invention will become clearer upon reading the following description of a particular embodiment of the invention, which embodiment is given by way of simple illustrative and nonlimiting example, and from the appended drawings in which:
(2)
(3)
(4)
(5)
5. DETAILED DESCRIPTION OF AT LEAST ONE EMBODIMENT OF THE INVENTION
(6) Hereafter in the description, examples of several embodiments of the invention are presented, based on an LTE/EPC (Long-Term Evolution/Evolved Packet Core, 3GPP standard, also known as 4G) network, but the invention applies also to previous generations (2G, 3G) and future generations (5G, etc) of the 3GPP standards.
(7)
(8) In the EPC mobile core network architecture defined by 3GPP from Release 8, several entities of the network core participate in establishing a user session US between the terminal UT and the gateway PGW: the Mobility Management Entity (MME), the Serving Gateway (SGW) and the PDN gateway (PGW).
(9) The management entity MME is an entity of the EPC control plane (signaling), the main aim of which is to manage mobility procedures (signaling between the nodes of the core network for mobility).
(10) The Serving Gateway (SGW) provides, among other aspects, the anchoring of the media when the mobile terminal changes radio access point during a session, charging functions and buffering of the media intended for the end user when radio connectivity is not yet established.
(11) The PDN gateway (PGW) provides, among other aspects, IP connectivity to the end users (IP address allocation), charging functions, and functions for enforcing advanced QoS (Quality of Service) policies by virtue of its PCEF function.
(12) The PCRF (Policy and Charging Rules Function) control entity: this is the entity controlling the mobile network, according to various data sent by the network (access type, SGW address, etc) and according to the policy of the operator for each type of subscription, the user database (offer type, etc) or information on the service such as codec and media type. The PCRF control entity defines the QoS and billing characteristics for the user session.
(13) The OCS (Online Charging System) credit/balance consumption entity controls the credit and balance available to the users. The PCEF function of the PGW gateway opens a credit control session with the OCS entity in order to allow control of the remaining credit balance to be consumed by the user.
(14) During the procedure to open a user session US (also called an IP connectivity session, or an IP CAN session), the PCEF function of the PGW gateway opens a control session to the OCS control entity and if necessary to the PCRF control entity.
(15) Since usage control functions are present in both the PCRF and in the OCS, hereafter, the term control entity denotes equally an OCS entity, a PCRF entity, or both. Likewise, the term gateway used alone denotes the PGW gateway.
(16) During a step E101, the terminal UT transmits to the management entity MME a request to attach to the mobile network, or Attach request, followed by, during a step E102, a PDN connectivity request.
(17) During a step E201, the management entity MME transmits to the gateway SGW a request USreq to open the user session US, which the gateway SGW transmits to the gateway PGW during a step E301.
(18) During a step E401, the gateway PGW receives the request to open a user session US. Before responding to this request, the gateway PGW must retrieve the control rules applicable to this session. To this end, it must open a control session with the control entity OPC.
(19) During a step E402, the gateway PGW then transmits an initial request CCRi (Credit Control Request), for example of the Diameter type, to the control entity OPC. This request CCRi opens the control session and contains the following parameters: control session identifier; IMSI and/or MSISDN of the user; access type; APN; IP address of the gateway SGW; MCC and MNC of the gateway SGW; IP address of the gateway PGW; IP address of the user; MCC and MNC of the user.
(20) After receiving the request CCRi during a step E501, the control entity OPC then determines the set of control rules applicable to the requested session US, according to received parameters, configurations of OPC entities and customer subscription information in the databases associated with the OPC entities. For example, if the MSISDN or IMSI parameters correspond to a prepaid user offer, then a credit control must be applied for the user.
(21) During a step E503, the control entity OPC transmits an initial answer CCAi (Credit Control Answer), for example of the Diameter type.
(22) This answer CCAi contains the following parameters: control session identifier; quality of service to be applied for each service; quality of service to be applied for the user session; services to block or to authorize; whether credit control is applicable for the user; and, if necessary, a usage quota allocated to the user session.
(23) After receiving the answer CCAi during a step E404, the PGW then applies during a step E405 the set of received control rules to the requested user session US. The user session US is then opened by the gateway PGW during a step E406 at which a response USres to open the user session is transmitted from the gateway PGW to the gateway SGW, which the gateway SGW transmits to the management entity MME during a step E302. At this stage, the user session US becomes alive.
(24) During a step E524, the control entity OPC updates a meter associated with the remaining total credit for the session US, by subtracting from the allocated quota.
(25) When the gateway PGW detects that the usage quota is reached for the session US, the gateway PGW then transmits to the control entity OPC, during a step E422, an update request CCRu containing information relating to the consumed quota.
(26) During a step E522, the control entity OPC receives the request CCRu, and deduces from it that a new usage quota must be allocated to the session US.
(27) During a step E523, the control entity OPC transmits to the gateway PGW an update answer CCAu containing a new usage quota allocated to the user session, after having verified that the remaining total credit for the user for this session allows it.
(28) The control entity OPC updates the meter associated with the remaining total credit, by subtracting from the allocated quota, during a new occurrence of step E524.
(29) During a step E423, the gateway PGW receives the update answer CCAu, and applies to the user session US, without interrupting it, the control rules updated by the message CCAu, in this case the new usage quota that the user is authorized to consume for the session US.
(30) Several iterations of steps E422, E522, E523, E524 and E423 can take place, or none, until the life of the session US ends.
(31) At any moment in the life of the session US, the consumption of the credit assigned to the user may need to be tracked, for various reasons. For example, the user him-/herself, or his/her mobile network operator, must know how much credit is remaining in the month, in order to adapt the consumption rate until the end of the month and avoid being overcharged.
(32) This necessity results in a consumption tracking request UCreq from the information system IS of the operator, received by the control entity OPC during a step E531.
(33) During a step E532, the control entity OPC transmits a consumption tracking response UCres containing the value of the meter associated with the remaining total credit for the session US. It is understood that between the moment when this meter was updated for the last time during a step E524 and the moment when the consumption tracking request UCreq is received during step E531, the quota allocated during the last step E523 was not necessarily entirely consumed. The value of the meter is therefore not reliable and depends on the size of the quota which is used between the OPC entities and the PCEF function of the gateway PGW.
(34)
(35) The tracking method according to the invention is implemented by the control entity OPCn, and differs from the prior art in that step E532 described with reference to
(36) Following step E531 when the control entity OPCn receives a consumption tracking request UCreq from the information system IS of the operator, the control entity transmits to the gateway PGW, during a step E542, an update request RARn (Re-Auth-Request), for example of the Diameter type, containing the following parameters: control session identifier; IMSI and/or MSISDN of the user; indication requesting the reporting of the state of the meters, or any other modification of the user session that can thereafter generate a CCRu/CCAu command.
(37) In a known way, the reception of the request RARn by the gateway PGW during a step E432 immediately triggers steps E433 and E434.
(38) During step E433, the gateway PGW transmits to the control entity OPCn an answer RAAn (Re-Auth-Answer), for example of the Diameter type, the function of which is to acknowledge receipt of the request RARn.
(39) During step E434, the gateway PGW transmits to the control entity OPCn an update request CCRn. Unlike the request CCRu transmitted during step E422 described with reference to
(40) The answer RAAn and the request CCRn are received by the control entity OPCn during steps E543 and E544 respectively.
(41) During a step E545 similar to step E523 described with reference to
(42) During a step E435 similar to step E423 described with reference to
(43) During a step E546, the control entity OPCn updates the meter associated with the remaining total credit for the session US, adding to it the quota allocated during the last step of transmission of an update answer of type CCAi, CCAu or CCAn, reduced by the part of this quota consumed, which is contained in information received in the request CCRn received during step E544.
(44) During a step D547 similar to step E532 described with reference to
(45) During a step E548 similar to step E524 described with reference to
(46)
(47) In the case of a service offer under a single contract for several members of the same household, or for several employees of the same company, a user might exhaust his/her remaining credit before the others. If no quota can be assigned to the user, the session is terminated due to a lack of credit, and the service is cut off.
(48)
(49) The user sessions US1, US2 and US3 are established in a similar manner to the session US described with reference to
(50) When the gateway PGW1 detects that the usage quota is reached for the session US1, the gateway PGW1 transmits to the control entity OPCn, during a step E622, an update request CCRu containing information relating to the consumed quota.
(51) During a step E722, the control entity OPCn receives the request CCRu, and deduces from it that a new usage quota must be allocated to the session US.
(52) During a step E730, the control entity OPCn detects that the remaining credit for the user for the session US1 is less than the usage quota that must be allocated. In other words, the session US1 has exhausted all its credit. The control entity OPCn then decides to track consumption for all the other users forming part of the same group as the user of the session US1, in order to check whether there is credit elsewhere. The answer CCAu to the request CCRu is also deferred, unlike in the prior art.
(53) During a step E732 (respectively E752) similar to step E542, the control entity OPCn transmits an update request RARn (respectively RARn) received by the gateway PGW2 (respectively PGW3) during a step E632 (respectively E642).
(54) During a step E633 (respectively E643) similar to step E433, the gateway PGW2 (respectively PGW3) transmits an answer RAAn (respectively RAAn), received by the control entity OPCn during a step E733 (respectively E753).
(55) During a step E634 (respectively E644) similar to step E434, the gateway PGW2 (respectively PGW3) transmits an update request CCRn (respectively CCRn), received by the control entity OPCn during a step E734 (respectively E754).
(56) Unlike in the prior art, the control entity OPCn defers the transmission of the answers CCAn and CCAn corresponding to the requests CCRn and CCRn.
(57) During a step E760, on the basis of received information contained in the requests CCRn and CCRn, the control entity OPCn updates the meters associated with the remaining total credit for the session US2 and the session US3 respectively. If the total of these meters is greater than or equal to a predetermined threshold, a predetermined part of this total is transferred from these meters to the meter associated with the remaining total credit for the session US1. It is only once all the meters are thus updated that the CCA answers, which have been deferred, can resume.
(58) An answer CCAu is transmitted during a step E723 similar to step E523, and is received by the gateway PGW1 during a step E623 similar to step E423.
(59) An answer CCAn (respectively CCAn) is transmitted during a step E735 (respectively E755) similar to step E523, and is received by the gateway PGW2 (respectively PGW3) during a step E635 (respectively E645) similar to step E423.
(60) The meter update steps E724, E736 and E756 are similar to step E524 described with reference to
(61) In a variant that is not illustrated, the CCA answers are not deferred except for the answer CCAu of step E723 which is transmitted from the moment when the control entity OPCn knows that there is credit elsewhere, for example as soon as an answer CCRn of step E734 or CCRn of step E754 indicates that there is sufficient credit to be redistributed from at least another of the associated sessions US2 or US3.
(62) It is to be noted that if, during step E730, some or all of the sessions US2 or US3 are not in progress, the control entity OPCn can nevertheless consult the usage meters associated with the terminals UT2 and/or UT3 and thus determine whether there is credit to be redistributed.
(63) It is understood also that, by virtue of the invention, it is possible to perform, in only one request/answer between the information system IS and the control entity OPCn, an exact tracking of consumption for a whole group of associated terminals.
(64) With reference to
(65) The device 100 implements the method for tracking the consumption of an electronic communication service by a mobile terminal attached to a mobile network, for which various embodiments have just been described.
(66) Such a device 100 can be implemented in a control entity, specialized in establishing PCC control rules (QoS and billing characteristics) for IP connectivity sessions (user sessions), for example in PCRF (Policy Control and Charging Rules Function) equipment or in OCS (Online Charging System) equipment.
(67) For example, the device 100 contains a processing unit 130 equipped for example with a microprocessor P, and driven by a computer program 110 stored in a memory 120 and implementing the method for tracking the consumption of an electronic communication service by a mobile terminal attached to a mobile network, according to the invention. Upon initialization, the code instructions of the computer program 110 are for example loaded into a RAM memory before being executed by the processor of the processing unit 130.
(68) Such a device 100 comprises: a transmit module M542, suitable for transmitting a message RAR intended to trigger a credit request for a terminal; a receive module M544, suitable for receiving a credit request message CCR relating to a terminal, the message containing information relating to a consumed part of a quota of the remaining credit for the terminal; an update module M546, suitable for updating in a usage meter UC the remaining credit for the terminal,
(69) Advantageously, the device 100 can comprise: a receive module M531, suitable for receiving a credit tracking request UCreq relating to a terminal for a service; a transmit module M547, suitable for transmitting a credit tracking response UCres relating to a terminal for a service, containing the value of the remaining credit updated according to the information.
(70) Advantageously, the device 100 can also comprise, in place of or in addition to the modules M531 and M547: a verification module M736, suitable for checking whether a remaining credit for a terminal is greater than or equal to a predetermined threshold; a sharing module M760, suitable for sharing a remaining credit for at least one terminal with another terminal; a transmit module M723, suitable for transmitting a credit answer message CCA for a terminal, the message containing an authorization for the terminal to consume a predetermined quota of credit.
(71) The modules described with reference to