Methods and devices for quota holding time updating
By dynamically updating the quota holding time (QHT) using idle counter values, the method optimizes quota allocation, ensuring subscribers can use remaining quota for other sessions and enhancing overall quota utilization.
Patent Information
- Application Number
- US19/147033
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Filing Date
- 2023-01-11
- Publication Date
- 2026-11-26
AI Technical Summary
Existing online charging systems face issues where the quota holding time (QHT) is not dynamically adjusted, leading to service sessions holding quota for longer than necessary, thereby preventing subscribers from using the remaining quota for other sessions.
A method and entities for dynamically updating the QHT by obtaining and utilizing idle counter values per idle time period to optimize the QHT value for the next interrogation, allowing the CHF entity to adjust the quota allocation based on actual service unit usage and consumption patterns.
This approach enables optimal allocation of quota, allowing subscribers to utilize remaining quota for other sessions and improves quota utilization across parallel sessions.
Smart Images

Figure US20260379689A1-D00000_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments presented herein relate to a method, a charging function entity, a computer program, and a computer program product for updating a quota holding time for interrogation of a service session. Embodiments presented herein further relate to a method, a charging trigger function entity, a computer program, and a computer program product for reporting idle counter values for interrogation of a service session.BACKGROUND
[0002] In general terms, online charging is a process where charging information for network resource usage is collected concurrently with the actual resource usage, but where authorization for the resource usage is obtained by the network as a predicate to allowing the actual resource usage to occur or continue. A subscriber, as representing the end-user, might request a communication service, whereby an online charging system (OCS) or converged charging system (CCS) initially reserves some amount of resources from the involved subscriber account. This reservation equates to some usage quota of resources for the service, which may be expressed in terms of the resource units, or service units, by which the service is metered, such as in terms of minutes, bytes, etc. The service is initiated based on the quota and, when the quota is used up, the communication session might be terminated or further resource reservations might be made against the subscriber account, assuming that a sufficient amount of resources remains available in the account to authorize additional quota of resources. Once the communication session is terminated, information about the number of resources consumed is reported to the OCS or CCS in a final charging event.
[0003] In the context of networks based on the Third Generation Partnership Project (3GPP) specifications, the OCS or CCS might comprise an Online Charging Function (OCF) that in turn might comprise distinct modules, such as a Session Based Charging Function (SBCF), and an Event Based Charging Function or (EBCF). The SBCF is responsible for online charging of network / user communication sessions, e.g. voice calls, Internet Protocol Connectivity Access Network (IP CAN) bearers, IP CAN sessions, and IP Multimedia Subsystem (IMS) sessions. The EBCF performs event-based online charging, which is also referred to as content charging, in conjunction with any application server or service network element, including Session Initiation Protocol (SIP) application servers.
[0004] The parameter quota holding time (QHT) indicates the number of seconds for which quota granted by the OCS or CCS is held by a gateway when no traffic is received for the concerned rating group. The quota holding timer should start when quota consumption ceases. The QHT value can thereby be used to avoid the reserved quota being held by an idle service session.
[0005] The service session will report the used service units (USUs) if there is no traffic for that service session or no consumption of reserved units for more that the QHT value. Once the service session has reported the USUs, due to QHT expiry, no further service units will be reserved for the service session. The remaining unused service units will be added to the account and can be used by any other service session or by the same service session for the subscriber when the traffic starts again from idle state. Even though the parameter QHT is used, there is still a possibility that due to a discrete traffic pattern or a discontinuous traffic pattern, some discrete amounts of time of the session are spent before the USU is reported. These discrete amounts of time might sum up to a value that is larger than the QHT.
[0006] This leads to the service session holding the quota for longer time than needed, thereby not allowing the subscriber to use the quota for another session.SUMMARY
[0007] An object of embodiments herein is to address the above issues.
[0008] A particular object is to enable the OCF to dynamically select the optimum QHT value.
[0009] According to a first aspect there is presented a method for updating a QHT for interrogation of a service session. The method is performed by a charging function (CHF) entity. The method comprises obtaining, from a charging trigger function (CTF) entity, reporting of idle counter values per each idle time period for the interrogation of the service session. The method comprises updating a QHT value for a next interrogation of the service session as a function of the idle counter values.
[0010] According to a second aspect there is presented a CHF entity for updating a QHT for interrogation of a service session. The CHF entity comprises processing circuitry. The processing circuitry is configured to cause the CHF entity to obtain, from a CTF entity, reporting of idle counter values per each idle time period for the interrogation of the service session. The processing circuitry is configured to cause the CHF entity to update a QHT value for a next interrogation of the service session as a function of the idle counter values.
[0011] According to a third aspect there is presented a CHF entity for updating a QHT for interrogation of a service session. The CHF entity comprises an obtain module configured to obtain, from a CTF entity, reporting of idle counter values per each idle time period for the interrogation of the service session. The CHF entity comprises an update module configured to update a QHT value for a next interrogation of the service session as a function of the idle counter values.
[0012] According to a fourth aspect there is presented a computer program for updating QHT for interrogation of a service session. The computer program comprises computer code which, when run on processing circuitry of a CHF entity, causes the CHF entity to perform actions. One action comprises the CHF entity to obtain, from a CTF entity, reporting of idle counter values per each idle time period for the interrogation of the service session. One action comprises the CHF entity 200 to update a QHT value for a next interrogation of the service session as a function of the idle counter values.
[0013] According to a fifth aspect there is presented a method for reporting idle counter values for interrogation of a service session. The method is performed by a CTF entity. The method comprises obtaining, from a user plane function (UPF) entity, idle counter values per each idle time period for the interrogation of the service session. The method comprises reporting the idle counter values to a CHF entity.
[0014] According to a sixth aspect there is presented a CTF entity for reporting idle counter values for interrogation of a service session. The CTF entity comprises processing circuitry. The processing circuitry is configured to cause the CTF entity to obtain, from a UPF entity, idle counter values per each idle time period for the interrogation of the service session. The processing circuitry is configured to cause the CTF entity to report the idle counter values to a CHF entity.
[0015] According to a seventh aspect there is presented a CTF entity for reporting idle counter values for interrogation of a service session. The CTF entity comprises an obtain module configured to obtain, from a UPF entity, idle counter values per each idle time period for the interrogation of the service session. The CTF entity comprises a report module configured to report the idle counter values to a CHF entity.
[0016] According to an eighth aspect there is presented a computer program for reporting idle counter values for interrogation of a service session. The computer program comprises computer code which, when run on processing circuitry of a CTF entity, causes the CTF entity to perform actions. One action comprises the CTF entity to obtain, from a UPF entity, idle counter values per each idle time period for the interrogation of the service session. One action comprises the CTF entity to report the idle counter values to a CHF entity.
[0017] According to a ninth aspect there is presented a computer program product comprising a computer program according to at least one of the fourth aspect and the eighth aspect and a computer readable storage medium on which the computer program is stored. The computer readable storage medium could be a non-transitory computer readable storage medium.
[0018] Advantageously, these aspects resolve the above issues regarding the service session to hold the quota for longer time than needed.
[0019] Advantageously, these aspects enable the OCF to dynamically select the optimum QHT value.
[0020] Advantageously, these aspects allow the subscriber to use remaining quota for another session.
[0021] Advantageously, these aspects enable the QHT to be dynamically changed based on the usage pattern of the subscriber in a data session.
[0022] Advantageously, these aspects enable the quota to be optimally allocated based on the actual service unit usage and the speed by which the quota is consumed by the subscriber.
[0023] Other objectives, features and advantages of the enclosed embodiments will be apparent from the following detailed disclosure, from the attached dependent claims as well as from the drawings.
[0024] Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to “a / an / the element, apparatus, component, means, module, step, etc.” are to be interpreted openly as referring to at least one instance of the element, apparatus, component, means, module, step, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The inventive concept is now described, by way of example, with reference to the accompanying drawings, in which:
[0026] FIG. 1 is a schematic diagram illustrating a communication network according to embodiments;
[0027] FIG. 2 shows a timeline of events according to embodiments;
[0028] FIGS. 3 and 4 are flowcharts of methods according to embodiments;
[0029] FIG. 5 is a signaling diagram of a method according to an embodiment;
[0030] FIG. 6 is a schematic diagram showing functional units of a CHF entity according to an embodiment;
[0031] FIG. 7 is a schematic diagram showing functional modules of a CHF entity according to an embodiment;
[0032] FIG. 8 is a schematic diagram showing functional units of a CTF entity according to an embodiment;
[0033] FIG. 9 is a schematic diagram showing functional modules of a CTF entity according to an embodiment; and
[0034] FIG. 10 shows one example of a computer program product comprising computer readable means according to an embodiment.DETAILED DESCRIPTION
[0035] The inventive concept will now be described more fully hereinafter with reference to the accompanying drawings, in which certain embodiments of the inventive concept are shown. This inventive concept may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art. Like numbers refer to like elements throughout the description. Any step or feature illustrated by dashed lines should be regarded as optional.
[0036] FIG. 1 is a schematic diagram illustrating a communications network 100 where embodiments presented herein can be applied. The communications network 100 focuses on certain aspects of online charging and comprises a CHF entity 200 and a CTF entity 300. The CHF entity 200 might be part of an OCS or CCS. The CHF entity 200 and the CTF entity 300 are configured to communicate over an interface. Examples of this interface will be disclosed below. In some examples, as in the illustration in FIG. 1, the CTF 300 is provided as part of another entity, function, or node. In FIG. 1 the CTF 300 is illustrated as being part of a session management function (SMF) entity 500. As further illustrated in FIG. 1, the CTF entity 300 comprises (possibly via the SMF entity 500) has an interface to an UPF entity 400.
[0037] Consider an example interrogation of a data session where the QHT was set to 1 minute and the granted quota was 100 megabytes (MB). FIG. 2 shows the consumption pattern of the granted quota for a subscriber. U1, U2, U3, and U4 correspond to time periods of service units usage, where the corresponding service unit usage is 2 MB for U1, 4 MB for U2, 2 MB for U3 and 1 MB for U4. The periods of service unit usage are separated by idle time periods I1, I2, I3, and I4, with values 20 seconds, 30 seconds, 20 seconds, and 60 seconds, respectively. The quota of 100 MB allocated to the interrogation of the service session is thus held by that session for a total time duration of 20+30+20+60 seconds, i.e., 2 minutes and 10 seconds whilst the total consumption is only 2+4+2+1=9 MB. Hence, whilst the total consumption of service units was much lower than the quota, the service unit traffic pattern caused the total idle time to be longer than the QHT value. Hence, a total time period of 2 minutes and 10 seconds were spent idle and holding a considerable amount of quota, even though the QHT was set to only 1 minute. This could result in that other parallel sessions (for the same subscriber) that were competing for service units might get terminated due to insufficient balance even though there is plenty of unused quota that remains allocated to the session.
[0038] According to at least some of the herein disclosed embodiments, the idle time period, where each idle time interval is less than the QHT, that is being spend by a service session in an interrogation is reported from the CTF entity 300, e.g., as counters per idle period of time to the CHF entity 200. The CHF 200 can use this information to, for example, set the optimal QHT value for the next interrogation. Optionally, the information can be used by the CHF entity 200 to dynamically set the quota for the next interrogation.
[0039] The embodiments disclosed herein in particular relate to techniques for updating QHT for interrogation of a service session. In order to obtain such techniques, there is provided a CHF entity 200, a method performed by the CHF entity 200, a computer program product comprising code, for example in the form of a computer program, that when run on processing circuitry of the CHF entity 200, causes the CHF entity 200 to perform the method. Reference is now made to FIG. 3 illustrating a method for updating QHT for interrogation of a service session as performed by the CHF entity 200 according to an embodiment.
[0040] S102: The CHF entity 200 obtains, from the CTF entity 300, reporting of idle counter values per each idle time period for the interrogation of the service session.
[0041] S106: The CHF entity 200 updates a QHT value for a next interrogation of the service session as a function of the idle counter values.
[0042] In this way, the QHT value will not be set to a static value, but can rather be set by observing the of idle counter values per each idle time period across interrogations. Thereby, instead of statically setting the QHT value, the QHT value for the next interrogation can be set by considering the idle time periods for the previous interrogation. The CHF entity 200 can thereby dynamically derive the optimal QHT for each interrogation of a service sessions.
[0043] Embodiments relating to further details of updating QHT for interrogation of a service session as performed by the CHF entity 200 will now be disclosed with continued reference to FIG. 3.
[0044] In some aspects, also the amount of used service units is used by the CHF entity 200. Therefore, in some embodiments, the CHF entity 200 is configured to perform (optional) step S104.
[0045] S104: The CHF entity 200 obtains an indication of an amount of used service units, USUs, for the interrogation.
[0046] In some aspects, when reserving the quota for the next interrogation, the CHF entity 200 can use information about the proportion of idle time period and used units for the previous interrogation to assign an optimal quota. For example, in this case the CHF entity 200 can use the idle time counter value as one of the parameters to decide the quota. Hence, in some embodiments, the CHF entity 200 is configured to perform (optional) step S110.
[0047] S110: The CHF entity 200 updates a reservation of quota for the next interrogation of the service session as a function of the idle counter values.
[0048] This can improve the quota utilization by any other parallel session for the same subscriber.
[0049] In some aspects, the proportion of idle time period and the proportion of used units in the interrogation is used to reserve the optimal quota for the next interrogation. That is, in some embodiments, the idle counter values sum to a total idle period for the interrogation of the service session, and the quota for the next interrogation of the service session is determined as a function of the total idle period for the interrogation and the amount of USUs for the interrogation.
[0050] In some examples, the average of the reported idle time values for the interrogation is used to set the QHT for the next interrogation. That is, in some embodiments, the QHT value for the next interrogation is determined as an average of the reported idle counter values. That is, with reference back to the example disclosed with reference to FIG. 2, when the QHT value will be set to (20+30+20+60) / 4=32.5 second. This is one way to avoid that the quota is held by an idle session for longer periods than needed. It is here noted that also other algorithms, such as machine learning (ML) based algorithms can be used to find the optimal QHT value based on the reported idle counter values.
[0051] With the reported idle time spent in an interrogation, it is possible to find the actual active time and the consumed service units during that active period. Assuming that the interrogation extends over a total time period, the CHF entity 200 is in some embodiments configured to perform (optional) step S108.
[0052] S108: The CHF entity 200 determines a rate of consumption of service units for the interrogation. The rate of consumption is determined as a function of active time and the amount of USUs for the interrogation. The active time equals the total time period reduced by a total idle period given by the idle counter values.
[0053] By using the exact active time and actual consumed service units it is possible to find the speed at which the consumption of service units occurred in the interrogation. This information can be used to determine if more service units or less service units need to be allocated for the next interrogation. In particular, in some embodiments, the reservation of quota for the next interrogation of the service session further is updated as a function of the rate (i.e., speed) of consumption of service units for the interrogation. The higher the speed of the consumption, the higher the quota that will be allocated is determined to be, and vice versa, for the next interrogation.
[0054] There could be different ways for the idle counter values to be represented, reported, and provided. Different embodiments relating to this will be disclosed next.
[0055] In some examples, the reporting of the idle counter values is provided in an array comprising pairs, where each pair consists of one idle time period and the counter value for this idle time period.
[0056] In some examples, the reporting is received over an Nchf interface from the CTF entity 300. There could be different such Nchf interfaces. In some examples, the Nchf interface is interface Nchf_ConvergedCharging, and the reporting is provided under an information element denoted multipleUnitUsage / usedUnitContainer. In this way the idle counter values could be represented as pairs of integer-valued idle time (idle time period specified in seconds) periods and integer-valued counter values (number of times the idle time period occurred during the interrogation).
[0057] The embodiments disclosed herein further relate to techniques for reporting idle counter values for interrogation of a service session. In order to obtain such techniques, there is provided a CTF entity 300, a method performed by the CTF entity 300, and a computer program product comprising code, for example in the form of a computer program, that when run on processing circuitry of the CTF entity 300, causes the CTF entity 300 to perform the method. Reference is now made to FIG. 4 illustrating a method for reporting idle counter values for interrogation of a service session as performed by the CTF entity 300 according to an embodiment.
[0058] S202: The CTF entity 300 obtains, from the UPF entity 400, idle counter values per each idle time period for the interrogation of the service session.
[0059] S204: The CTF entity 300 reports the idle counter values to the CHF entity 200.
[0060] Embodiments relating to further details of reporting idle counter values for interrogation of a service session as performed by the CTF entity 300 will now be disclosed.
[0061] As disclosed above, there could be different ways for the idle counter values to be represented, reported, and provided. Different embodiments relating to this will be disclosed next.
[0062] In some examples, the CTF entity 300 reports the idle counter values that are lower than the QHT value. That is, in some embodiments, the interrogation of the service session is associated with QHT value, and only idle counter values lower than the QHT value are reported.
[0063] As disclosed above, in some examples, the idle counter values are reported over an Nchf interface towards the CHF entity 200.
[0064] As disclosed above, in some examples, the reporting of the idle counter values is provided in an array comprising pairs, where each pair consists of one idle time period and the counter value for this idle time period.
[0065] As disclosed above, in some examples, the idle counter values are reported over an Nchf interface towards the CHF entity 200. As disclosed above, in some examples, the Nchf interface is interface Nchf_ConvergedCharging, and the reporting is provided under an information element denoted multipleUnitUsage / usedUnitContainer.
[0066] In some examples, the reporting is received by the CTF entity 300 over an N4 reference point from the UPF entity 400 (and the SMF entity 500).
[0067] One particular embodiment for reporting idle counter values for interrogation of a service session and for updating QHT for interrogation of a service session based on at least some of the above disclosed embodiments will now be disclosed in detail with reference to the signaling diagram of FIG. 5. For illustrative purposes, the same numerical values as used above in the examples referring to FIG. 2 will be used. As above, its assumed that the total service unit usage for the interrogation is 9 MB.
[0068] S301: The CHF entity 200 grants a quota of 100 MB and sets a QHT value of 1 minute for a data session.
[0069] S302: The CTF entity 300 obtains, from the UPF entity 400, idle counter values per each idle time period for the interrogation of the service session. The idle counter values are reported in an array comprising pairs, where each pair consists of one idle time period and the counter value for this idle time period. Hence, in the entry “[A]:[B]” the value “A” represents the idle time period and the value “B” represents the idle counter value for idle time periods with value “A”. That is,
[20] :[2] corresponds to a reporting of two occurrences of an idle time period of 20 seconds.
[0070] S303: The CTF entity 300 reports the idle counter values to the CHF entity 200. The CTF entity 300 also reports the total service unit usage, i.e., 9 MB, corresponding to the amount of used service units.
[0071] S304: The CHF entity 200 updates the QHT value for the next interrogation of the service session as a function of the idle counter values. Further, the CHF entity 200 updates a reservation of quota for the next interrogation of the service session as a function of the idle counter values and the amount of used service units. It is for illustrative purposes assumed that the quota is set to 10 MB and that the QHT value is set to 32.5 seconds for the next interrogation.
[0072] S305: The CHF entity 200 informs the CTF entity 300 of the updated grant and the updated QHT value for the next interrogation.
[0073] FIG. 6 schematically illustrates, in terms of a number of functional units, the components of a CHF entity 200 according to an embodiment. Processing circuitry 210 is provided using any combination of one or more of a suitable central processing unit (CPU), multiprocessor, microcontroller, digital signal processor (DSP), etc., capable of executing software instructions stored in a computer program product 1010a (as in FIG. 10), e.g. in the form of a storage medium 230. The processing circuitry 210 may further be provided as at least one application specific integrated circuit (ASIC), or field programmable gate array (FPGA).
[0074] Particularly, the processing circuitry 210 is configured to cause the CHF entity 200 to perform a set of operations, or steps, as disclosed above. For example, the storage medium 230 may store the set of operations, and the processing circuitry 210 may be configured to retrieve the set of operations from the storage medium 230 to cause the CHF entity 200 to perform the set of operations. The set of operations may be provided as a set of executable instructions. Thus the processing circuitry 210 is thereby arranged to execute methods as herein disclosed.
[0075] The storage medium 230 may also comprise persistent storage, which, for example, can be any single one or combination of magnetic memory, optical memory, solid state memory or even remotely mounted memory.
[0076] The CHF entity 200 may further comprise a communications (comm.) interface 220 for communications with other entities, functions, nodes, and devices, as in FIG. 1. As such the communications interface 220 may comprise one or more transmitters and receivers, comprising analogue and digital components.
[0077] The processing circuitry 210 controls the general operation of the CHF entity 200 e.g. by sending data and control signals to the communications interface 220 and the storage medium 230, by receiving data and reports from the communications interface 220, and by retrieving data and instructions from the storage medium 230. Other components, as well as the related functionality, of the CHF entity 200 are omitted in order not to obscure the concepts presented herein.
[0078] FIG. 7 schematically illustrates, in terms of a number of functional modules, the components of a CHF entity 200 according to an embodiment. The CHF entity 200 of FIG. 7 comprises a number of functional modules; an obtain module 210a configured to perform step S102, and an update module 210c configured to perform step S106. The CHF entity 200 of FIG. 7 may further comprise a number of optional functional modules, such as any of an obtain module 210b configured to perform step S104, a determine module 210d configured to perform step S108, and an update module 210e configured to perform step S110. In general terms, each functional module 210a:210e may be implemented in hardware or in software. Preferably, one or more or all functional modules 210a:210e may be implemented by the processing circuitry 210, possibly in cooperation with the communications interface 220 and / or the storage medium 230. The processing circuitry 210 may thus be arranged to from the storage medium 230 fetch instructions as provided by a functional module 210a:210e and to execute these instructions, thereby performing any steps of the CHF entity 200 as disclosed herein.
[0079] FIG. 8 schematically illustrates, in terms of a number of functional units, the components of a CTF entity 300 according to an embodiment. Processing circuitry 310 is provided using any combination of one or more of a suitable central processing unit (CPU), multiprocessor, microcontroller, digital signal processor (DSP), etc., capable of executing software instructions stored in a computer program product 1010b (as in FIG. 10), e.g. in the form of a storage medium 330. The processing circuitry 310 may further be provided as at least one application specific integrated circuit (ASIC), or field programmable gate array (FPGA).
[0080] Particularly, the processing circuitry 310 is configured to cause the CTF entity 300 to perform a set of operations, or steps, as disclosed above. For example, the storage medium 330 may store the set of operations, and the processing circuitry 310 may be configured to retrieve the set of operations from the storage medium 330 to cause the CTF entity 300 to perform the set of operations. The set of operations may be provided as a set of executable instructions. Thus the processing circuitry 310 is thereby arranged to execute methods as herein disclosed.
[0081] The storage medium 330 may also comprise persistent storage, which, for example, can be any single one or combination of magnetic memory, optical memory, solid state memory or even remotely mounted memory.
[0082] The CTF entity 300 may further comprise a communications interface 320 for communications with other entities, functions, nodes, and devices, as in FIG. 1. As such the communications interface 320 may comprise one or more transmitters and receivers, comprising analogue and digital components.
[0083] The processing circuitry 310 controls the general operation of the CTF entity 300 e.g. by sending data and control signals to the communications interface 320 and the storage medium 330, by receiving data and reports from the communications interface 320, and by retrieving data and instructions from the storage medium 330. Other components, as well as the related functionality, of the CTF entity 300 are omitted in order not to obscure the concepts presented herein.
[0084] FIG. 9 schematically illustrates, in terms of a number of functional modules, the components of a CTF entity 300 according to an embodiment. The CTF entity 300 of FIG. 9 comprises a number of functional modules; an obtain module 310a configured to perform step S202, and a report module 310b configured to perform step S204. The CTF entity 300 of FIG. 9 may further comprise a number of optional functional modules, as represented by functional module 310c. In general terms, each functional module 310a:310c may be implemented in hardware or in software. Preferably, one or more or all functional modules 310a:310c may be implemented by the processing circuitry 310, possibly in cooperation with the communications interface 320 and / or the storage medium 330. The processing circuitry 310 may thus be arranged to from the storage medium 330 fetch instructions as provided by a functional module 310a:310c and to execute these instructions, thereby performing any steps of the CTF entity 300 as disclosed herein.
[0085] The CHF entity 200 and / or the CTF entity 300 may be provided as a standalone device or as a part of at least one further device. For example, the CHF entity 200 and / or the CTF entity 300 may be provided in one or more nodes of the core network. Alternatively, functionality of the CHF entity 200 and / or the CTF entity 300 may be distributed between at least two devices, or nodes. These at least two nodes, or devices, may either be part of the same network part (such as the core network) or may be spread between at least two such network parts. Thus, a first portion of the instructions performed by the CHF entity 200 and / or the CTF entity 300 may be executed in a first device, and a second portion of the of the instructions performed by the CHF entity 200 and / or the CTF entity 300 may be executed in a second device; the herein disclosed embodiments are not limited to any particular number of devices on which the instructions performed by the CHF entity 200 and / or the CTF entity 300 may be executed. Hence, the methods according to the herein disclosed embodiments are suitable to be performed by a CHF entity 200 and / or the CTF entity 300 residing in a cloud computational environment. Therefore, although a single processing circuitry 210, 310 is illustrated in FIGS. 6 and 8 the processing circuitry 210, 310 may be distributed among a plurality of devices, or nodes. The same applies to the functional modules 210a:210e, 310a:310c of FIGS. 7 and 9 and the computer programs 1020a, 1020b of FIG. 10.
[0086] FIG. 10 shows one example of a computer program product 1010a, 1010b comprising computer readable means 1030. On this computer readable means 1030, a computer program 1020a can be stored, which computer program 1020a can cause the processing circuitry 210 and thereto operatively coupled entities and devices, such as the communications interface 220 and the storage medium 230, to execute methods according to embodiments described herein. The computer program 1020a and / or computer program product 1010a may thus provide means for performing any steps of the CHF entity 200 as herein disclosed. On this computer readable means 1030, a computer program 1020b can be stored, which computer program 1020b can cause the processing circuitry 310 and thereto operatively coupled entities and devices, such as the communications interface 320 and the storage medium 330, to execute methods according to embodiments described herein. The computer program 1020b and / or computer program product 1010b may thus provide means for performing any steps of the CTF entity 300 as herein disclosed.
[0087] In the example of FIG. 10, the computer program product 1010a, 1010b is illustrated as an optical disc, such as a CD (compact disc) or a DVD (digital versatile disc) or a Blu-Ray disc. The computer program product 1010a, 1010b could also be embodied as a memory, such as a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or an electrically erasable programmable read-only memory (EEPROM) and more particularly as a non-volatile storage medium of a device in an external memory such as a USB (Universal Serial Bus) memory or a Flash memory, such as a compact Flash memory. Thus, while the computer program 1020a, 1020b is here schematically shown as a track on the depicted optical disk, the computer program 1020a, 1020b can be stored in any way which is suitable for the computer program product 1010a, 1010b.
[0088] The inventive concept has mainly been described above with reference to a few embodiments. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the inventive concept, as defined by the appended patent claims.
Claims
1. A method for updating a quota holding time, QHT, for interrogation of a service session, the method being performed by a charging function, CHF, entity, the method comprising:obtaining, from a charging trigger function, CTF, entity, reporting of idle counter values per each idle time period for the interrogation of the service session; andupdating, a QHT value for a next interrogation of the service session as a function of the idle counter values.
2. The method according to claim 1, wherein the method further comprises:obtaining an indication of an amount of used service units, USUs, for the interrogation.
3. The method according to claim 1, wherein the method further comprises:updating a reservation of quota for the next interrogation of the service session as a function of the idle counter values.
4. The method according to claim 2, wherein the idle counter values sum to a total idle period for the interrogation of the service session, and wherein the quota for the next interrogation of the service session is determined as a function of the total idle period for the interrogation and the amount of USUs for the interrogation.
5. The method according to claim 1, wherein the QHT value for the next interrogation is determined as an average of the reported idle counter values.
6. The method according to claim 2, wherein the interrogation extends over a total time period, and wherein the method further comprises:determining a rate of consumption of service units for the interrogation as a function of active time and the amount of USUs for the interrogation, wherein the active time equals the total time period reduced by a total idle period given by the idle counter values.
7. The method according to claim 3, wherein the interrogation extends over a total time period, and wherein the method further comprises:determining a rate of consumption of service units for the interrogation as a function of active time and the amount of USUs for the interrogation, wherein the active time equals the total time period reduced by a total idle period given by the idle counter values, andwherein the reservation of quota for the next interrogation of the service session further is updated as a function of the rate of consumption of service units for the interrogation.
8. The method according to claim 1, wherein the reporting of the idle counter values is provided in an array comprising pairs, where each pair consists of one idle time period and the counter value for said one idle time period.
9. The method according to claim 1, wherein the reporting is received over an Nchf interface from the CTF entity10. The method according to claim 9, wherein the Nchf interface is interface Nchf_ConvergedCharging, and wherein the reporting is provided under an information element denoted multipleUnitUsage / usedUnitContainer.
11. A method for reporting idle counter values for interrogation of a service session, the method being performed by a charging trigger function, CTF, entity the method comprising:obtaining, from a user plane function, UPF, entity, idle counter values per each idle time period for the interrogation of the service session; andreporting the idle counter values to a charging function, CHF, entity.
12. The method according to claim 11, wherein the idle counter values are reported over an Nchf interface towards the CHF entity.
13. The method according to claim 11, wherein the interrogation of the service session is associated with a quota holding time, QHT, value, and wherein only idle counter values lower than the QHT value are reported.
14. The method according to claim 11, wherein the reporting of the idle counter values is provided in an array comprising pairs, where each pair consists of one idle time period and the counter value for said one idle time period.
15. The method according to claim 11, wherein the idle counter values are reported over an Nchf interface towards the CHF entity.
16. The method according to claim 15, wherein the Nchf interface is interface Nchf_ConvergedCharging, and wherein the reporting is provided under an information element denoted multipleUnitUsage / usedUnitContainer.
17. The method according to claim 11, wherein the reporting is received over an N4 reference point from the CTF entity18. A charging function, CHF, entity for updating a quota holding time, QHT, for interrogation of a service session, the CHF entity comprising processing circuitry, the processing circuitry being configured to cause the CHF entity to:obtain, from a charging trigger function, CTF, entity, reporting of idle counter values per each idle time period for the interrogation of the service session; andupdate a QHT value for a next interrogation of the service session as a function of the idle counter values.19-20. (canceled)21. A charging trigger function, CTF, entity for reporting idle counter values for interrogation of a service session, the CTF entity comprising processing circuitry (310), the processing circuitry being configured to cause the CTF entity to:obtain, from a user plane function, UPF, entity, idle counter values per each idle time period for the interrogation of the service session; andreport the idle counter values to a charging function, CHF, entity.
22. (canceled)
